package iot

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

Package iot provides the client and types for making API requests to AWS IoT.

AWS IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.

For more information about how AWS IoT works, see the Developer Guide (https://docs.aws.amazon.com/iot/latest/developerguide/aws-iot-how-it-works.html).

For information about how to use the credentials provider for AWS IoT, see Authorizing Direct Calls to AWS Services (https://docs.aws.amazon.com/iot/latest/developerguide/authorizing-direct-aws.html).

See iot package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/iot/

Using the Client

To use AWS IoT with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS IoT client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/iot/#New

Index

Constants

const (
	ServiceName = "AWS IoT" // Service's name
	ServiceID   = "IoT"     // Service's identifier
	EndpointsID = "iot"     // Service's Endpoint identifier
)
const (

	// ErrCodeCertificateConflictException for service response error code
	// "CertificateConflictException".
	//
	// Unable to verify the CA certificate used to sign the device certificate you
	// are attempting to register. This is happens when you have registered more
	// than one CA certificate that has the same subject field and public key.
	ErrCodeCertificateConflictException = "CertificateConflictException"

	// ErrCodeCertificateStateException for service response error code
	// "CertificateStateException".
	//
	// The certificate operation is not allowed.
	ErrCodeCertificateStateException = "CertificateStateException"

	// ErrCodeCertificateValidationException for service response error code
	// "CertificateValidationException".
	//
	// The certificate is invalid.
	ErrCodeCertificateValidationException = "CertificateValidationException"

	// ErrCodeConflictingResourceUpdateException for service response error code
	// "ConflictingResourceUpdateException".
	//
	// A conflicting resource update exception. This exception is thrown when two
	// pending updates cause a conflict.
	ErrCodeConflictingResourceUpdateException = "ConflictingResourceUpdateException"

	// ErrCodeDeleteConflictException for service response error code
	// "DeleteConflictException".
	//
	// You can't delete the resource because it is attached to one or more resources.
	ErrCodeDeleteConflictException = "DeleteConflictException"

	// ErrCodeIndexNotReadyException for service response error code
	// "IndexNotReadyException".
	//
	// The index is not ready.
	ErrCodeIndexNotReadyException = "IndexNotReadyException"

	// ErrCodeInternalException for service response error code
	// "InternalException".
	//
	// An unexpected error has occurred.
	ErrCodeInternalException = "InternalException"

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// An unexpected error has occurred.
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeInvalidAggregationException for service response error code
	// "InvalidAggregationException".
	//
	// The aggregation is invalid.
	ErrCodeInvalidAggregationException = "InvalidAggregationException"

	// ErrCodeInvalidQueryException for service response error code
	// "InvalidQueryException".
	//
	// The query is invalid.
	ErrCodeInvalidQueryException = "InvalidQueryException"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	//
	// The request is not valid.
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodeInvalidResponseException for service response error code
	// "InvalidResponseException".
	//
	// The response is invalid.
	ErrCodeInvalidResponseException = "InvalidResponseException"

	// ErrCodeInvalidStateTransitionException for service response error code
	// "InvalidStateTransitionException".
	//
	// An attempt was made to change to an invalid state, for example by deleting
	// a job or a job execution which is "IN_PROGRESS" without setting the force
	// parameter.
	ErrCodeInvalidStateTransitionException = "InvalidStateTransitionException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// A limit has been exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeMalformedPolicyException for service response error code
	// "MalformedPolicyException".
	//
	// The policy documentation is not valid.
	ErrCodeMalformedPolicyException = "MalformedPolicyException"

	// ErrCodeNotConfiguredException for service response error code
	// "NotConfiguredException".
	//
	// The resource is not configured.
	ErrCodeNotConfiguredException = "NotConfiguredException"

	// ErrCodeRegistrationCodeValidationException for service response error code
	// "RegistrationCodeValidationException".
	//
	// The registration code is invalid.
	ErrCodeRegistrationCodeValidationException = "RegistrationCodeValidationException"

	// ErrCodeResourceAlreadyExistsException for service response error code
	// "ResourceAlreadyExistsException".
	//
	// The resource already exists.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource does not exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeResourceRegistrationFailureException for service response error code
	// "ResourceRegistrationFailureException".
	//
	// The resource registration failed.
	ErrCodeResourceRegistrationFailureException = "ResourceRegistrationFailureException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The service is temporarily unavailable.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeSqlParseException for service response error code
	// "SqlParseException".
	//
	// The Rule-SQL expression can't be parsed correctly.
	ErrCodeSqlParseException = "SqlParseException"

	// ErrCodeTaskAlreadyExistsException for service response error code
	// "TaskAlreadyExistsException".
	//
	// This exception occurs if you attempt to start a task with the same task-id
	// as an existing task but with a different clientRequestToken.
	ErrCodeTaskAlreadyExistsException = "TaskAlreadyExistsException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The rate exceeds the limit.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeTransferAlreadyCompletedException for service response error code
	// "TransferAlreadyCompletedException".
	//
	// You can't revert the certificate transfer because the transfer is already
	// complete.
	ErrCodeTransferAlreadyCompletedException = "TransferAlreadyCompletedException"

	// ErrCodeTransferConflictException for service response error code
	// "TransferConflictException".
	//
	// You can't transfer the certificate because authorization policies are still
	// attached.
	ErrCodeTransferConflictException = "TransferConflictException"

	// ErrCodeUnauthorizedException for service response error code
	// "UnauthorizedException".
	//
	// You are not authorized to perform this operation.
	ErrCodeUnauthorizedException = "UnauthorizedException"

	// ErrCodeVersionConflictException for service response error code
	// "VersionConflictException".
	//
	// An exception thrown when the version of an entity specified with the expectedVersion
	// parameter does not match the latest version in the system.
	ErrCodeVersionConflictException = "VersionConflictException"

	// ErrCodeVersionsLimitExceededException for service response error code
	// "VersionsLimitExceededException".
	//
	// The number of policy versions exceeds the limit.
	ErrCodeVersionsLimitExceededException = "VersionsLimitExceededException"
)

Types

type AbortAction

type AbortAction string
const (
	AbortActionCancel AbortAction = "CANCEL"
)

Enum values for AbortAction

func (AbortAction) MarshalValue

func (enum AbortAction) MarshalValue() (string, error)

func (AbortAction) MarshalValueBuf

func (enum AbortAction) MarshalValueBuf(b []byte) ([]byte, error)

type AbortConfig

type AbortConfig struct {

	// The list of abort criteria to define rules to abort the job.
	//
	// CriteriaList is a required field
	CriteriaList []AbortCriteria `locationName:"criteriaList" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Details of abort criteria to abort the job.

func (AbortConfig) MarshalFields

func (s AbortConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AbortConfig) String

func (s AbortConfig) String() string

String returns the string representation

func (*AbortConfig) Validate

func (s *AbortConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AbortCriteria

type AbortCriteria struct {

	// The type of abort action to initiate a job abort.
	//
	// Action is a required field
	Action AbortAction `locationName:"action" type:"string" required:"true" enum:"true"`

	// The type of job execution failure to define a rule to initiate a job abort.
	//
	// FailureType is a required field
	FailureType JobExecutionFailureType `locationName:"failureType" type:"string" required:"true" enum:"true"`

	// Minimum number of executed things before evaluating an abort rule.
	//
	// MinNumberOfExecutedThings is a required field
	MinNumberOfExecutedThings *int64 `locationName:"minNumberOfExecutedThings" min:"1" type:"integer" required:"true"`

	// The threshold as a percentage of the total number of executed things that
	// will initiate a job abort.
	//
	// AWS IoT supports up to two digits after the decimal (for example, 10.9 and
	// 10.99, but not 10.999).
	//
	// ThresholdPercentage is a required field
	ThresholdPercentage *float64 `locationName:"thresholdPercentage" type:"double" required:"true"`
	// contains filtered or unexported fields
}

Details of abort criteria to define rules to abort the job.

func (AbortCriteria) MarshalFields

func (s AbortCriteria) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AbortCriteria) String

func (s AbortCriteria) String() string

String returns the string representation

func (*AbortCriteria) Validate

func (s *AbortCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AcceptCertificateTransferInput

type AcceptCertificateTransferInput struct {

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"`

	// Specifies whether the certificate is active.
	SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"`
	// contains filtered or unexported fields
}

The input for the AcceptCertificateTransfer operation.

func (AcceptCertificateTransferInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceptCertificateTransferInput) String

String returns the string representation

func (*AcceptCertificateTransferInput) Validate

func (s *AcceptCertificateTransferInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AcceptCertificateTransferOutput

type AcceptCertificateTransferOutput struct {
	// contains filtered or unexported fields
}

func (AcceptCertificateTransferOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceptCertificateTransferOutput) String

String returns the string representation

type AcceptCertificateTransferRequest

type AcceptCertificateTransferRequest struct {
	*aws.Request
	Input *AcceptCertificateTransferInput
	Copy  func(*AcceptCertificateTransferInput) AcceptCertificateTransferRequest
}

AcceptCertificateTransferRequest is the request type for the AcceptCertificateTransfer API operation.

func (AcceptCertificateTransferRequest) Send

Send marshals and sends the AcceptCertificateTransfer API request.

type AcceptCertificateTransferResponse

type AcceptCertificateTransferResponse struct {
	*AcceptCertificateTransferOutput
	// contains filtered or unexported fields
}

AcceptCertificateTransferResponse is the response type for the AcceptCertificateTransfer API operation.

func (*AcceptCertificateTransferResponse) SDKResponseMetdata

func (r *AcceptCertificateTransferResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AcceptCertificateTransfer request.

type Action

type Action struct {

	// Change the state of a CloudWatch alarm.
	CloudwatchAlarm *CloudwatchAlarmAction `locationName:"cloudwatchAlarm" type:"structure"`

	// Capture a CloudWatch metric.
	CloudwatchMetric *CloudwatchMetricAction `locationName:"cloudwatchMetric" type:"structure"`

	// Write to a DynamoDB table.
	DynamoDB *DynamoDBAction `locationName:"dynamoDB" type:"structure"`

	// Write to a DynamoDB table. This is a new version of the DynamoDB action.
	// It allows you to write each attribute in an MQTT message payload into a separate
	// DynamoDB column.
	DynamoDBv2 *DynamoDBv2Action `locationName:"dynamoDBv2" type:"structure"`

	// Write data to an Amazon Elasticsearch Service domain.
	Elasticsearch *ElasticsearchAction `locationName:"elasticsearch" type:"structure"`

	// Write to an Amazon Kinesis Firehose stream.
	Firehose *FirehoseAction `locationName:"firehose" type:"structure"`

	// Sends message data to an AWS IoT Analytics channel.
	IotAnalytics *IotAnalyticsAction `locationName:"iotAnalytics" type:"structure"`

	// Sends an input to an AWS IoT Events detector.
	IotEvents *IotEventsAction `locationName:"iotEvents" type:"structure"`

	// Write data to an Amazon Kinesis stream.
	Kinesis *KinesisAction `locationName:"kinesis" type:"structure"`

	// Invoke a Lambda function.
	Lambda *LambdaAction `locationName:"lambda" type:"structure"`

	// Publish to another MQTT topic.
	Republish *RepublishAction `locationName:"republish" type:"structure"`

	// Write to an Amazon S3 bucket.
	S3 *S3Action `locationName:"s3" type:"structure"`

	// Send a message to a Salesforce IoT Cloud Input Stream.
	Salesforce *SalesforceAction `locationName:"salesforce" type:"structure"`

	// Publish to an Amazon SNS topic.
	Sns *SnsAction `locationName:"sns" type:"structure"`

	// Publish to an Amazon SQS queue.
	Sqs *SqsAction `locationName:"sqs" type:"structure"`

	// Starts execution of a Step Functions state machine.
	StepFunctions *StepFunctionsAction `locationName:"stepFunctions" type:"structure"`
	// contains filtered or unexported fields
}

Describes the actions associated with a rule.

func (Action) MarshalFields

func (s Action) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Action) String

func (s Action) String() string

String returns the string representation

func (*Action) Validate

func (s *Action) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ActionType

type ActionType string
const (
	ActionTypePublish   ActionType = "PUBLISH"
	ActionTypeSubscribe ActionType = "SUBSCRIBE"
	ActionTypeReceive   ActionType = "RECEIVE"
	ActionTypeConnect   ActionType = "CONNECT"
)

Enum values for ActionType

func (ActionType) MarshalValue

func (enum ActionType) MarshalValue() (string, error)

func (ActionType) MarshalValueBuf

func (enum ActionType) MarshalValueBuf(b []byte) ([]byte, error)

type ActiveViolation

type ActiveViolation struct {

	// The behavior which is being violated.
	Behavior *Behavior `locationName:"behavior" type:"structure"`

	// The time the most recent violation occurred.
	LastViolationTime *time.Time `locationName:"lastViolationTime" type:"timestamp"`

	// The value of the metric (the measurement) which caused the most recent violation.
	LastViolationValue *MetricValue `locationName:"lastViolationValue" type:"structure"`

	// The security profile whose behavior is in violation.
	SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"`

	// The name of the thing responsible for the active violation.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`

	// The ID of the active violation.
	ViolationId *string `locationName:"violationId" min:"1" type:"string"`

	// The time the violation started.
	ViolationStartTime *time.Time `locationName:"violationStartTime" type:"timestamp"`
	// contains filtered or unexported fields
}

Information about an active Device Defender security profile behavior violation.

func (ActiveViolation) MarshalFields

func (s ActiveViolation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ActiveViolation) String

func (s ActiveViolation) String() string

String returns the string representation

type AddThingToBillingGroupInput

type AddThingToBillingGroupInput struct {

	// The ARN of the billing group.
	BillingGroupArn *string `locationName:"billingGroupArn" type:"string"`

	// The name of the billing group.
	BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"`

	// The ARN of the thing to be added to the billing group.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The name of the thing to be added to the billing group.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (AddThingToBillingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AddThingToBillingGroupInput) String

String returns the string representation

func (*AddThingToBillingGroupInput) Validate

func (s *AddThingToBillingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddThingToBillingGroupOutput

type AddThingToBillingGroupOutput struct {
	// contains filtered or unexported fields
}

func (AddThingToBillingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AddThingToBillingGroupOutput) String

String returns the string representation

type AddThingToBillingGroupRequest

type AddThingToBillingGroupRequest struct {
	*aws.Request
	Input *AddThingToBillingGroupInput
	Copy  func(*AddThingToBillingGroupInput) AddThingToBillingGroupRequest
}

AddThingToBillingGroupRequest is the request type for the AddThingToBillingGroup API operation.

func (AddThingToBillingGroupRequest) Send

Send marshals and sends the AddThingToBillingGroup API request.

type AddThingToBillingGroupResponse

type AddThingToBillingGroupResponse struct {
	*AddThingToBillingGroupOutput
	// contains filtered or unexported fields
}

AddThingToBillingGroupResponse is the response type for the AddThingToBillingGroup API operation.

func (*AddThingToBillingGroupResponse) SDKResponseMetdata

func (r *AddThingToBillingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AddThingToBillingGroup request.

type AddThingToThingGroupInput

type AddThingToThingGroupInput struct {

	// Override dynamic thing groups with static thing groups when 10-group limit
	// is reached. If a thing belongs to 10 thing groups, and one or more of those
	// groups are dynamic thing groups, adding a thing to a static group removes
	// the thing from the last dynamic group.
	OverrideDynamicGroups *bool `locationName:"overrideDynamicGroups" type:"boolean"`

	// The ARN of the thing to add to a group.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The ARN of the group to which you are adding a thing.
	ThingGroupArn *string `locationName:"thingGroupArn" type:"string"`

	// The name of the group to which you are adding a thing.
	ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"`

	// The name of the thing to add to a group.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (AddThingToThingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AddThingToThingGroupInput) String

func (s AddThingToThingGroupInput) String() string

String returns the string representation

func (*AddThingToThingGroupInput) Validate

func (s *AddThingToThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddThingToThingGroupOutput

type AddThingToThingGroupOutput struct {
	// contains filtered or unexported fields
}

func (AddThingToThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AddThingToThingGroupOutput) String

String returns the string representation

type AddThingToThingGroupRequest

type AddThingToThingGroupRequest struct {
	*aws.Request
	Input *AddThingToThingGroupInput
	Copy  func(*AddThingToThingGroupInput) AddThingToThingGroupRequest
}

AddThingToThingGroupRequest is the request type for the AddThingToThingGroup API operation.

func (AddThingToThingGroupRequest) Send

Send marshals and sends the AddThingToThingGroup API request.

type AddThingToThingGroupResponse

type AddThingToThingGroupResponse struct {
	*AddThingToThingGroupOutput
	// contains filtered or unexported fields
}

AddThingToThingGroupResponse is the response type for the AddThingToThingGroup API operation.

func (*AddThingToThingGroupResponse) SDKResponseMetdata

func (r *AddThingToThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AddThingToThingGroup request.

type AddThingsToThingGroupParams

type AddThingsToThingGroupParams struct {

	// Specifies if this mitigation action can move the things that triggered the
	// mitigation action even if they are part of one or more dynamic things groups.
	OverrideDynamicGroups *bool `locationName:"overrideDynamicGroups" type:"boolean"`

	// The list of groups to which you want to add the things that triggered the
	// mitigation action. You can add a thing to a maximum of 10 groups, but you
	// cannot add a thing to more than one group in the same hierarchy.
	//
	// ThingGroupNames is a required field
	ThingGroupNames []string `locationName:"thingGroupNames" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Parameters used when defining a mitigation action that move a set of things to a thing group.

func (AddThingsToThingGroupParams) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AddThingsToThingGroupParams) String

String returns the string representation

func (*AddThingsToThingGroupParams) Validate

func (s *AddThingsToThingGroupParams) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AlertTarget

type AlertTarget struct {

	// The ARN of the notification target to which alerts are sent.
	//
	// AlertTargetArn is a required field
	AlertTargetArn *string `locationName:"alertTargetArn" type:"string" required:"true"`

	// The ARN of the role that grants permission to send alerts to the notification
	// target.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A structure containing the alert target ARN and the role ARN.

func (AlertTarget) MarshalFields

func (s AlertTarget) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AlertTarget) String

func (s AlertTarget) String() string

String returns the string representation

func (*AlertTarget) Validate

func (s *AlertTarget) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AlertTargetType

type AlertTargetType string

The type of alert target: one of "SNS".

const (
	AlertTargetTypeSns AlertTargetType = "SNS"
)

Enum values for AlertTargetType

func (AlertTargetType) MarshalValue

func (enum AlertTargetType) MarshalValue() (string, error)

func (AlertTargetType) MarshalValueBuf

func (enum AlertTargetType) MarshalValueBuf(b []byte) ([]byte, error)

type Allowed

type Allowed struct {

	// A list of policies that allowed the authentication.
	Policies []Policy `locationName:"policies" type:"list"`
	// contains filtered or unexported fields
}

Contains information that allowed the authorization.

func (Allowed) MarshalFields

func (s Allowed) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Allowed) String

func (s Allowed) String() string

String returns the string representation

type AssociateTargetsWithJobInput

type AssociateTargetsWithJobInput struct {

	// An optional comment string describing why the job was associated with the
	// targets.
	Comment *string `locationName:"comment" type:"string"`

	// The unique identifier you assigned to this job when it was created.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// A list of thing group ARNs that define the targets of the job.
	//
	// Targets is a required field
	Targets []string `locationName:"targets" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateTargetsWithJobInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AssociateTargetsWithJobInput) String

String returns the string representation

func (*AssociateTargetsWithJobInput) Validate

func (s *AssociateTargetsWithJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateTargetsWithJobOutput

type AssociateTargetsWithJobOutput struct {

	// A short text description of the job.
	Description *string `locationName:"description" type:"string"`

	// An ARN identifying the job.
	JobArn *string `locationName:"jobArn" type:"string"`

	// The unique identifier you assigned to this job when it was created.
	JobId *string `locationName:"jobId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (AssociateTargetsWithJobOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AssociateTargetsWithJobOutput) String

String returns the string representation

type AssociateTargetsWithJobRequest

type AssociateTargetsWithJobRequest struct {
	*aws.Request
	Input *AssociateTargetsWithJobInput
	Copy  func(*AssociateTargetsWithJobInput) AssociateTargetsWithJobRequest
}

AssociateTargetsWithJobRequest is the request type for the AssociateTargetsWithJob API operation.

func (AssociateTargetsWithJobRequest) Send

Send marshals and sends the AssociateTargetsWithJob API request.

type AssociateTargetsWithJobResponse

type AssociateTargetsWithJobResponse struct {
	*AssociateTargetsWithJobOutput
	// contains filtered or unexported fields
}

AssociateTargetsWithJobResponse is the response type for the AssociateTargetsWithJob API operation.

func (*AssociateTargetsWithJobResponse) SDKResponseMetdata

func (r *AssociateTargetsWithJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateTargetsWithJob request.

type AttachPolicyInput

type AttachPolicyInput struct {

	// The name of the policy to attach.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// The identity (https://docs.aws.amazon.com/iot/latest/developerguide/iot-security-identity.html)
	// to which the policy is attached.
	//
	// Target is a required field
	Target *string `locationName:"target" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AttachPolicyInput) MarshalFields

func (s AttachPolicyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachPolicyInput) String

func (s AttachPolicyInput) String() string

String returns the string representation

func (*AttachPolicyInput) Validate

func (s *AttachPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachPolicyOutput

type AttachPolicyOutput struct {
	// contains filtered or unexported fields
}

func (AttachPolicyOutput) MarshalFields

func (s AttachPolicyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachPolicyOutput) String

func (s AttachPolicyOutput) String() string

String returns the string representation

type AttachPolicyRequest

type AttachPolicyRequest struct {
	*aws.Request
	Input *AttachPolicyInput
	Copy  func(*AttachPolicyInput) AttachPolicyRequest
}

AttachPolicyRequest is the request type for the AttachPolicy API operation.

func (AttachPolicyRequest) Send

Send marshals and sends the AttachPolicy API request.

type AttachPolicyResponse

type AttachPolicyResponse struct {
	*AttachPolicyOutput
	// contains filtered or unexported fields
}

AttachPolicyResponse is the response type for the AttachPolicy API operation.

func (*AttachPolicyResponse) SDKResponseMetdata

func (r *AttachPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AttachPolicy request.

type AttachPrincipalPolicyInput

type AttachPrincipalPolicyInput struct {

	// The policy name.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// The principal, which can be a certificate ARN (as returned from the CreateCertificate
	// operation) or an Amazon Cognito ID.
	//
	// Principal is a required field
	Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the AttachPrincipalPolicy operation.

func (AttachPrincipalPolicyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachPrincipalPolicyInput) String

String returns the string representation

func (*AttachPrincipalPolicyInput) Validate

func (s *AttachPrincipalPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachPrincipalPolicyOutput

type AttachPrincipalPolicyOutput struct {
	// contains filtered or unexported fields
}

func (AttachPrincipalPolicyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachPrincipalPolicyOutput) String

String returns the string representation

type AttachPrincipalPolicyRequest

type AttachPrincipalPolicyRequest struct {
	*aws.Request
	Input *AttachPrincipalPolicyInput
	Copy  func(*AttachPrincipalPolicyInput) AttachPrincipalPolicyRequest
}

AttachPrincipalPolicyRequest is the request type for the AttachPrincipalPolicy API operation.

func (AttachPrincipalPolicyRequest) Send

Send marshals and sends the AttachPrincipalPolicy API request.

type AttachPrincipalPolicyResponse

type AttachPrincipalPolicyResponse struct {
	*AttachPrincipalPolicyOutput
	// contains filtered or unexported fields
}

AttachPrincipalPolicyResponse is the response type for the AttachPrincipalPolicy API operation.

func (*AttachPrincipalPolicyResponse) SDKResponseMetdata

func (r *AttachPrincipalPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AttachPrincipalPolicy request.

type AttachSecurityProfileInput

type AttachSecurityProfileInput struct {

	// The security profile that is attached.
	//
	// SecurityProfileName is a required field
	SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"`

	// The ARN of the target (thing group) to which the security profile is attached.
	//
	// SecurityProfileTargetArn is a required field
	SecurityProfileTargetArn *string `location:"querystring" locationName:"securityProfileTargetArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AttachSecurityProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachSecurityProfileInput) String

String returns the string representation

func (*AttachSecurityProfileInput) Validate

func (s *AttachSecurityProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachSecurityProfileOutput

type AttachSecurityProfileOutput struct {
	// contains filtered or unexported fields
}

func (AttachSecurityProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachSecurityProfileOutput) String

String returns the string representation

type AttachSecurityProfileRequest

type AttachSecurityProfileRequest struct {
	*aws.Request
	Input *AttachSecurityProfileInput
	Copy  func(*AttachSecurityProfileInput) AttachSecurityProfileRequest
}

AttachSecurityProfileRequest is the request type for the AttachSecurityProfile API operation.

func (AttachSecurityProfileRequest) Send

Send marshals and sends the AttachSecurityProfile API request.

type AttachSecurityProfileResponse

type AttachSecurityProfileResponse struct {
	*AttachSecurityProfileOutput
	// contains filtered or unexported fields
}

AttachSecurityProfileResponse is the response type for the AttachSecurityProfile API operation.

func (*AttachSecurityProfileResponse) SDKResponseMetdata

func (r *AttachSecurityProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AttachSecurityProfile request.

type AttachThingPrincipalInput

type AttachThingPrincipalInput struct {

	// The principal, such as a certificate or other credential.
	//
	// Principal is a required field
	Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"`

	// The name of the thing.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the AttachThingPrincipal operation.

func (AttachThingPrincipalInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachThingPrincipalInput) String

func (s AttachThingPrincipalInput) String() string

String returns the string representation

func (*AttachThingPrincipalInput) Validate

func (s *AttachThingPrincipalInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachThingPrincipalOutput

type AttachThingPrincipalOutput struct {
	// contains filtered or unexported fields
}

The output from the AttachThingPrincipal operation.

func (AttachThingPrincipalOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttachThingPrincipalOutput) String

String returns the string representation

type AttachThingPrincipalRequest

type AttachThingPrincipalRequest struct {
	*aws.Request
	Input *AttachThingPrincipalInput
	Copy  func(*AttachThingPrincipalInput) AttachThingPrincipalRequest
}

AttachThingPrincipalRequest is the request type for the AttachThingPrincipal API operation.

func (AttachThingPrincipalRequest) Send

Send marshals and sends the AttachThingPrincipal API request.

type AttachThingPrincipalResponse

type AttachThingPrincipalResponse struct {
	*AttachThingPrincipalOutput
	// contains filtered or unexported fields
}

AttachThingPrincipalResponse is the response type for the AttachThingPrincipal API operation.

func (*AttachThingPrincipalResponse) SDKResponseMetdata

func (r *AttachThingPrincipalResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AttachThingPrincipal request.

type AttributePayload

type AttributePayload struct {

	// A JSON string containing up to three key-value pair in JSON format. For example:
	//
	// {\"attributes\":{\"string1\":\"string2\"}}
	Attributes map[string]string `locationName:"attributes" type:"map"`

	// Specifies whether the list of attributes provided in the AttributePayload
	// is merged with the attributes stored in the registry, instead of overwriting
	// them.
	//
	// To remove an attribute, call UpdateThing with an empty attribute value.
	//
	// The merge attribute is only valid when calling UpdateThing or UpdateThingGroup.
	Merge *bool `locationName:"merge" type:"boolean"`
	// contains filtered or unexported fields
}

The attribute payload.

func (AttributePayload) MarshalFields

func (s AttributePayload) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AttributePayload) String

func (s AttributePayload) String() string

String returns the string representation

type AuditCheckConfiguration

type AuditCheckConfiguration struct {

	// True if this audit check is enabled for this account.
	Enabled *bool `locationName:"enabled" type:"boolean"`
	// contains filtered or unexported fields
}

Which audit checks are enabled and disabled for this account.

func (AuditCheckConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditCheckConfiguration) String

func (s AuditCheckConfiguration) String() string

String returns the string representation

type AuditCheckDetails

type AuditCheckDetails struct {

	// True if the check is complete and found all resources compliant.
	CheckCompliant *bool `locationName:"checkCompliant" type:"boolean"`

	// The completion status of this check. One of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION",
	// "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".
	CheckRunStatus AuditCheckRunStatus `locationName:"checkRunStatus" type:"string" enum:"true"`

	// The code of any error encountered when this check is performed during this
	// audit. One of "INSUFFICIENT_PERMISSIONS" or "AUDIT_CHECK_DISABLED".
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// The message associated with any error encountered when this check is performed
	// during this audit.
	Message *string `locationName:"message" type:"string"`

	// The number of resources that were found noncompliant during the check.
	NonCompliantResourcesCount *int64 `locationName:"nonCompliantResourcesCount" type:"long"`

	// The number of resources on which the check was performed.
	TotalResourcesCount *int64 `locationName:"totalResourcesCount" type:"long"`
	// contains filtered or unexported fields
}

Information about the audit check.

func (AuditCheckDetails) MarshalFields

func (s AuditCheckDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditCheckDetails) String

func (s AuditCheckDetails) String() string

String returns the string representation

type AuditCheckRunStatus

type AuditCheckRunStatus string
const (
	AuditCheckRunStatusInProgress               AuditCheckRunStatus = "IN_PROGRESS"
	AuditCheckRunStatusWaitingForDataCollection AuditCheckRunStatus = "WAITING_FOR_DATA_COLLECTION"
	AuditCheckRunStatusCanceled                 AuditCheckRunStatus = "CANCELED"
	AuditCheckRunStatusCompletedCompliant       AuditCheckRunStatus = "COMPLETED_COMPLIANT"
	AuditCheckRunStatusCompletedNonCompliant    AuditCheckRunStatus = "COMPLETED_NON_COMPLIANT"
	AuditCheckRunStatusFailed                   AuditCheckRunStatus = "FAILED"
)

Enum values for AuditCheckRunStatus

func (AuditCheckRunStatus) MarshalValue

func (enum AuditCheckRunStatus) MarshalValue() (string, error)

func (AuditCheckRunStatus) MarshalValueBuf

func (enum AuditCheckRunStatus) MarshalValueBuf(b []byte) ([]byte, error)

type AuditFinding

type AuditFinding struct {

	// The audit check that generated this result.
	CheckName *string `locationName:"checkName" type:"string"`

	// A unique identifier for this set of audit findings. This identifier is used
	// to apply mitigation tasks to one or more sets of findings.
	FindingId *string `locationName:"findingId" min:"1" type:"string"`

	// The time the result (finding) was discovered.
	FindingTime *time.Time `locationName:"findingTime" type:"timestamp"`

	// The resource that was found to be noncompliant with the audit check.
	NonCompliantResource *NonCompliantResource `locationName:"nonCompliantResource" type:"structure"`

	// The reason the resource was noncompliant.
	ReasonForNonCompliance *string `locationName:"reasonForNonCompliance" type:"string"`

	// A code that indicates the reason that the resource was noncompliant.
	ReasonForNonComplianceCode *string `locationName:"reasonForNonComplianceCode" type:"string"`

	// The list of related resources.
	RelatedResources []RelatedResource `locationName:"relatedResources" type:"list"`

	// The severity of the result (finding).
	Severity AuditFindingSeverity `locationName:"severity" type:"string" enum:"true"`

	// The ID of the audit that generated this result (finding).
	TaskId *string `locationName:"taskId" min:"1" type:"string"`

	// The time the audit started.
	TaskStartTime *time.Time `locationName:"taskStartTime" type:"timestamp"`
	// contains filtered or unexported fields
}

The findings (results) of the audit.

func (AuditFinding) MarshalFields

func (s AuditFinding) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditFinding) String

func (s AuditFinding) String() string

String returns the string representation

type AuditFindingSeverity

type AuditFindingSeverity string
const (
	AuditFindingSeverityCritical AuditFindingSeverity = "CRITICAL"
	AuditFindingSeverityHigh     AuditFindingSeverity = "HIGH"
	AuditFindingSeverityMedium   AuditFindingSeverity = "MEDIUM"
	AuditFindingSeverityLow      AuditFindingSeverity = "LOW"
)

Enum values for AuditFindingSeverity

func (AuditFindingSeverity) MarshalValue

func (enum AuditFindingSeverity) MarshalValue() (string, error)

func (AuditFindingSeverity) MarshalValueBuf

func (enum AuditFindingSeverity) MarshalValueBuf(b []byte) ([]byte, error)

type AuditFrequency

type AuditFrequency string
const (
	AuditFrequencyDaily    AuditFrequency = "DAILY"
	AuditFrequencyWeekly   AuditFrequency = "WEEKLY"
	AuditFrequencyBiweekly AuditFrequency = "BIWEEKLY"
	AuditFrequencyMonthly  AuditFrequency = "MONTHLY"
)

Enum values for AuditFrequency

func (AuditFrequency) MarshalValue

func (enum AuditFrequency) MarshalValue() (string, error)

func (AuditFrequency) MarshalValueBuf

func (enum AuditFrequency) MarshalValueBuf(b []byte) ([]byte, error)

type AuditMitigationActionExecutionMetadata

type AuditMitigationActionExecutionMetadata struct {

	// The unique identifier for the mitigation action being applied by the task.
	ActionId *string `locationName:"actionId" type:"string"`

	// The friendly name of the mitigation action being applied by the task.
	ActionName *string `locationName:"actionName" type:"string"`

	// The date and time when the task was completed or canceled. Blank if the task
	// is still running.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// If an error occurred, the code that indicates which type of error occurred.
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// The unique identifier for the findings to which the task and associated mitigation
	// action are applied.
	FindingId *string `locationName:"findingId" min:"1" type:"string"`

	// If an error occurred, a message that describes the error.
	Message *string `locationName:"message" type:"string"`

	// The date and time when the task was started.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// The current status of the task being executed.
	Status AuditMitigationActionsExecutionStatus `locationName:"status" type:"string" enum:"true"`

	// The unique identifier for the task that applies the mitigation action.
	TaskId *string `locationName:"taskId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Returned by ListAuditMitigationActionsTask, this object contains information that describes a mitigation action that has been started.

func (AuditMitigationActionExecutionMetadata) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditMitigationActionExecutionMetadata) String

String returns the string representation

type AuditMitigationActionsExecutionStatus

type AuditMitigationActionsExecutionStatus string
const (
	AuditMitigationActionsExecutionStatusInProgress AuditMitigationActionsExecutionStatus = "IN_PROGRESS"
	AuditMitigationActionsExecutionStatusCompleted  AuditMitigationActionsExecutionStatus = "COMPLETED"
	AuditMitigationActionsExecutionStatusFailed     AuditMitigationActionsExecutionStatus = "FAILED"
	AuditMitigationActionsExecutionStatusCanceled   AuditMitigationActionsExecutionStatus = "CANCELED"
	AuditMitigationActionsExecutionStatusSkipped    AuditMitigationActionsExecutionStatus = "SKIPPED"
	AuditMitigationActionsExecutionStatusPending    AuditMitigationActionsExecutionStatus = "PENDING"
)

Enum values for AuditMitigationActionsExecutionStatus

func (AuditMitigationActionsExecutionStatus) MarshalValue

func (enum AuditMitigationActionsExecutionStatus) MarshalValue() (string, error)

func (AuditMitigationActionsExecutionStatus) MarshalValueBuf

func (enum AuditMitigationActionsExecutionStatus) MarshalValueBuf(b []byte) ([]byte, error)

type AuditMitigationActionsTaskMetadata

type AuditMitigationActionsTaskMetadata struct {

	// The time at which the audit mitigation actions task was started.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// The unique identifier for the task.
	TaskId *string `locationName:"taskId" min:"1" type:"string"`

	// The current state of the audit mitigation actions task.
	TaskStatus AuditMitigationActionsTaskStatus `locationName:"taskStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about an audit mitigation actions task that is returned by ListAuditMitigationActionsTasks.

func (AuditMitigationActionsTaskMetadata) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditMitigationActionsTaskMetadata) String

String returns the string representation

type AuditMitigationActionsTaskStatus

type AuditMitigationActionsTaskStatus string
const (
	AuditMitigationActionsTaskStatusInProgress AuditMitigationActionsTaskStatus = "IN_PROGRESS"
	AuditMitigationActionsTaskStatusCompleted  AuditMitigationActionsTaskStatus = "COMPLETED"
	AuditMitigationActionsTaskStatusFailed     AuditMitigationActionsTaskStatus = "FAILED"
	AuditMitigationActionsTaskStatusCanceled   AuditMitigationActionsTaskStatus = "CANCELED"
)

Enum values for AuditMitigationActionsTaskStatus

func (AuditMitigationActionsTaskStatus) MarshalValue

func (enum AuditMitigationActionsTaskStatus) MarshalValue() (string, error)

func (AuditMitigationActionsTaskStatus) MarshalValueBuf

func (enum AuditMitigationActionsTaskStatus) MarshalValueBuf(b []byte) ([]byte, error)

type AuditMitigationActionsTaskTarget

type AuditMitigationActionsTaskTarget struct {

	// Specifies a filter in the form of an audit check and set of reason codes
	// that identify the findings from the audit to which the audit mitigation actions
	// task apply.
	AuditCheckToReasonCodeFilter map[string][]string `locationName:"auditCheckToReasonCodeFilter" type:"map"`

	// If the task will apply a mitigation action to findings from a specific audit,
	// this value uniquely identifies the audit.
	AuditTaskId *string `locationName:"auditTaskId" min:"1" type:"string"`

	// If the task will apply a mitigation action to one or more listed findings,
	// this value uniquely identifies those findings.
	FindingIds []string `locationName:"findingIds" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Used in MitigationActionParams, this information identifies the target findings to which the mitigation actions are applied. Only one entry appears.

func (AuditMitigationActionsTaskTarget) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditMitigationActionsTaskTarget) String

String returns the string representation

func (*AuditMitigationActionsTaskTarget) Validate

Validate inspects the fields of the type to determine if they are valid.

type AuditNotificationTarget

type AuditNotificationTarget struct {

	// True if notifications to the target are enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// The ARN of the role that grants permission to send notifications to the target.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The ARN of the target (SNS topic) to which audit notifications are sent.
	TargetArn *string `locationName:"targetArn" type:"string"`
	// contains filtered or unexported fields
}

Information about the targets to which audit notifications are sent.

func (AuditNotificationTarget) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditNotificationTarget) String

func (s AuditNotificationTarget) String() string

String returns the string representation

func (*AuditNotificationTarget) Validate

func (s *AuditNotificationTarget) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AuditNotificationType

type AuditNotificationType string
const (
	AuditNotificationTypeSns AuditNotificationType = "SNS"
)

Enum values for AuditNotificationType

func (AuditNotificationType) MarshalValue

func (enum AuditNotificationType) MarshalValue() (string, error)

func (AuditNotificationType) MarshalValueBuf

func (enum AuditNotificationType) MarshalValueBuf(b []byte) ([]byte, error)

type AuditTaskMetadata

type AuditTaskMetadata struct {

	// The ID of this audit.
	TaskId *string `locationName:"taskId" min:"1" type:"string"`

	// The status of this audit. One of "IN_PROGRESS", "COMPLETED", "FAILED", or
	// "CANCELED".
	TaskStatus AuditTaskStatus `locationName:"taskStatus" type:"string" enum:"true"`

	// The type of this audit. One of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
	TaskType AuditTaskType `locationName:"taskType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The audits that were performed.

func (AuditTaskMetadata) MarshalFields

func (s AuditTaskMetadata) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuditTaskMetadata) String

func (s AuditTaskMetadata) String() string

String returns the string representation

type AuditTaskStatus

type AuditTaskStatus string
const (
	AuditTaskStatusInProgress AuditTaskStatus = "IN_PROGRESS"
	AuditTaskStatusCompleted  AuditTaskStatus = "COMPLETED"
	AuditTaskStatusFailed     AuditTaskStatus = "FAILED"
	AuditTaskStatusCanceled   AuditTaskStatus = "CANCELED"
)

Enum values for AuditTaskStatus

func (AuditTaskStatus) MarshalValue

func (enum AuditTaskStatus) MarshalValue() (string, error)

func (AuditTaskStatus) MarshalValueBuf

func (enum AuditTaskStatus) MarshalValueBuf(b []byte) ([]byte, error)

type AuditTaskType

type AuditTaskType string
const (
	AuditTaskTypeOnDemandAuditTask  AuditTaskType = "ON_DEMAND_AUDIT_TASK"
	AuditTaskTypeScheduledAuditTask AuditTaskType = "SCHEDULED_AUDIT_TASK"
)

Enum values for AuditTaskType

func (AuditTaskType) MarshalValue

func (enum AuditTaskType) MarshalValue() (string, error)

func (AuditTaskType) MarshalValueBuf

func (enum AuditTaskType) MarshalValueBuf(b []byte) ([]byte, error)

type AuthDecision

type AuthDecision string
const (
	AuthDecisionAllowed      AuthDecision = "ALLOWED"
	AuthDecisionExplicitDeny AuthDecision = "EXPLICIT_DENY"
	AuthDecisionImplicitDeny AuthDecision = "IMPLICIT_DENY"
)

Enum values for AuthDecision

func (AuthDecision) MarshalValue

func (enum AuthDecision) MarshalValue() (string, error)

func (AuthDecision) MarshalValueBuf

func (enum AuthDecision) MarshalValueBuf(b []byte) ([]byte, error)

type AuthInfo

type AuthInfo struct {

	// The type of action for which the principal is being authorized.
	ActionType ActionType `locationName:"actionType" type:"string" enum:"true"`

	// The resources for which the principal is being authorized to perform the
	// specified action.
	Resources []string `locationName:"resources" type:"list"`
	// contains filtered or unexported fields
}

A collection of authorization information.

func (AuthInfo) MarshalFields

func (s AuthInfo) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuthInfo) String

func (s AuthInfo) String() string

String returns the string representation

type AuthResult

type AuthResult struct {

	// The policies and statements that allowed the specified action.
	Allowed *Allowed `locationName:"allowed" type:"structure"`

	// The final authorization decision of this scenario. Multiple statements are
	// taken into account when determining the authorization decision. An explicit
	// deny statement can override multiple allow statements.
	AuthDecision AuthDecision `locationName:"authDecision" type:"string" enum:"true"`

	// Authorization information.
	AuthInfo *AuthInfo `locationName:"authInfo" type:"structure"`

	// The policies and statements that denied the specified action.
	Denied *Denied `locationName:"denied" type:"structure"`

	// Contains any missing context values found while evaluating policy.
	MissingContextValues []string `locationName:"missingContextValues" type:"list"`
	// contains filtered or unexported fields
}

The authorizer result.

func (AuthResult) MarshalFields

func (s AuthResult) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuthResult) String

func (s AuthResult) String() string

String returns the string representation

type AuthorizerDescription

type AuthorizerDescription struct {

	// The authorizer ARN.
	AuthorizerArn *string `locationName:"authorizerArn" type:"string"`

	// The authorizer's Lambda function ARN.
	AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"`

	// The authorizer name.
	AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"`

	// The UNIX timestamp of when the authorizer was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The UNIX timestamp of when the authorizer was last updated.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The status of the authorizer.
	Status AuthorizerStatus `locationName:"status" type:"string" enum:"true"`

	// The key used to extract the token from the HTTP headers.
	TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"`

	// The public keys used to validate the token signature returned by your custom
	// authentication service.
	TokenSigningPublicKeys map[string]string `locationName:"tokenSigningPublicKeys" type:"map"`
	// contains filtered or unexported fields
}

The authorizer description.

func (AuthorizerDescription) MarshalFields

func (s AuthorizerDescription) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuthorizerDescription) String

func (s AuthorizerDescription) String() string

String returns the string representation

type AuthorizerStatus

type AuthorizerStatus string
const (
	AuthorizerStatusActive   AuthorizerStatus = "ACTIVE"
	AuthorizerStatusInactive AuthorizerStatus = "INACTIVE"
)

Enum values for AuthorizerStatus

func (AuthorizerStatus) MarshalValue

func (enum AuthorizerStatus) MarshalValue() (string, error)

func (AuthorizerStatus) MarshalValueBuf

func (enum AuthorizerStatus) MarshalValueBuf(b []byte) ([]byte, error)

type AuthorizerSummary

type AuthorizerSummary struct {

	// The authorizer ARN.
	AuthorizerArn *string `locationName:"authorizerArn" type:"string"`

	// The authorizer name.
	AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The authorizer summary.

func (AuthorizerSummary) MarshalFields

func (s AuthorizerSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AuthorizerSummary) String

func (s AuthorizerSummary) String() string

String returns the string representation

type AutoRegistrationStatus

type AutoRegistrationStatus string
const (
	AutoRegistrationStatusEnable  AutoRegistrationStatus = "ENABLE"
	AutoRegistrationStatusDisable AutoRegistrationStatus = "DISABLE"
)

Enum values for AutoRegistrationStatus

func (AutoRegistrationStatus) MarshalValue

func (enum AutoRegistrationStatus) MarshalValue() (string, error)

func (AutoRegistrationStatus) MarshalValueBuf

func (enum AutoRegistrationStatus) MarshalValueBuf(b []byte) ([]byte, error)

type AwsJobExecutionsRolloutConfig

type AwsJobExecutionsRolloutConfig struct {

	// The maximum number of OTA update job executions started per minute.
	MaximumPerMinute *int64 `locationName:"maximumPerMinute" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Configuration for the rollout of OTA updates.

func (AwsJobExecutionsRolloutConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AwsJobExecutionsRolloutConfig) String

String returns the string representation

func (*AwsJobExecutionsRolloutConfig) Validate

func (s *AwsJobExecutionsRolloutConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Behavior

type Behavior struct {

	// The criteria that determine if a device is behaving normally in regard to
	// the metric.
	Criteria *BehaviorCriteria `locationName:"criteria" type:"structure"`

	// What is measured by the behavior.
	Metric *string `locationName:"metric" type:"string"`

	// The name you have given to the behavior.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A Device Defender security profile behavior.

func (Behavior) MarshalFields

func (s Behavior) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Behavior) String

func (s Behavior) String() string

String returns the string representation

func (*Behavior) Validate

func (s *Behavior) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BehaviorCriteria

type BehaviorCriteria struct {

	// The operator that relates the thing measured (metric) to the criteria (containing
	// a value or statisticalThreshold).
	ComparisonOperator ComparisonOperator `locationName:"comparisonOperator" type:"string" enum:"true"`

	// If a device is in violation of the behavior for the specified number of consecutive
	// datapoints, an alarm occurs. If not specified, the default is 1.
	ConsecutiveDatapointsToAlarm *int64 `locationName:"consecutiveDatapointsToAlarm" min:"1" type:"integer"`

	// If an alarm has occurred and the offending device is no longer in violation
	// of the behavior for the specified number of consecutive datapoints, the alarm
	// is cleared. If not specified, the default is 1.
	ConsecutiveDatapointsToClear *int64 `locationName:"consecutiveDatapointsToClear" min:"1" type:"integer"`

	// Use this to specify the time duration over which the behavior is evaluated,
	// for those criteria which have a time dimension (for example, NUM_MESSAGES_SENT).
	// For a statisticalThreshhold metric comparison, measurements from all devices
	// are accumulated over this time duration before being used to calculate percentiles,
	// and later, measurements from an individual device are also accumulated over
	// this time duration before being given a percentile rank.
	DurationSeconds *int64 `locationName:"durationSeconds" type:"integer"`

	// A statistical ranking (percentile) which indicates a threshold value by which
	// a behavior is determined to be in compliance or in violation of the behavior.
	StatisticalThreshold *StatisticalThreshold `locationName:"statisticalThreshold" type:"structure"`

	// The value to be compared with the metric.
	Value *MetricValue `locationName:"value" type:"structure"`
	// contains filtered or unexported fields
}

The criteria by which the behavior is determined to be normal.

func (BehaviorCriteria) MarshalFields

func (s BehaviorCriteria) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BehaviorCriteria) String

func (s BehaviorCriteria) String() string

String returns the string representation

func (*BehaviorCriteria) Validate

func (s *BehaviorCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BillingGroupMetadata

type BillingGroupMetadata struct {

	// The date the billing group was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`
	// contains filtered or unexported fields
}

Additional information about the billing group.

func (BillingGroupMetadata) MarshalFields

func (s BillingGroupMetadata) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BillingGroupMetadata) String

func (s BillingGroupMetadata) String() string

String returns the string representation

type BillingGroupProperties

type BillingGroupProperties struct {

	// The description of the billing group.
	BillingGroupDescription *string `locationName:"billingGroupDescription" type:"string"`
	// contains filtered or unexported fields
}

The properties of a billing group.

func (BillingGroupProperties) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (BillingGroupProperties) String

func (s BillingGroupProperties) String() string

String returns the string representation

type CACertificate

type CACertificate struct {

	// The ARN of the CA certificate.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The ID of the CA certificate.
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`

	// The date the CA certificate was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The status of the CA certificate.
	//
	// The status value REGISTER_INACTIVE is deprecated and should not be used.
	Status CACertificateStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A CA certificate.

func (CACertificate) MarshalFields

func (s CACertificate) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CACertificate) String

func (s CACertificate) String() string

String returns the string representation

type CACertificateDescription

type CACertificateDescription struct {

	// Whether the CA certificate configured for auto registration of device certificates.
	// Valid values are "ENABLE" and "DISABLE"
	AutoRegistrationStatus AutoRegistrationStatus `locationName:"autoRegistrationStatus" type:"string" enum:"true"`

	// The CA certificate ARN.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The CA certificate ID.
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`

	// The CA certificate data, in PEM format.
	CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"`

	// The date the CA certificate was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The customer version of the CA certificate.
	CustomerVersion *int64 `locationName:"customerVersion" min:"1" type:"integer"`

	// The generation ID of the CA certificate.
	GenerationId *string `locationName:"generationId" type:"string"`

	// The date the CA certificate was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The owner of the CA certificate.
	OwnedBy *string `locationName:"ownedBy" min:"12" type:"string"`

	// The status of a CA certificate.
	Status CACertificateStatus `locationName:"status" type:"string" enum:"true"`

	// When the CA certificate is valid.
	Validity *CertificateValidity `locationName:"validity" type:"structure"`
	// contains filtered or unexported fields
}

Describes a CA certificate.

func (CACertificateDescription) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CACertificateDescription) String

func (s CACertificateDescription) String() string

String returns the string representation

type CACertificateStatus

type CACertificateStatus string
const (
	CACertificateStatusActive   CACertificateStatus = "ACTIVE"
	CACertificateStatusInactive CACertificateStatus = "INACTIVE"
)

Enum values for CACertificateStatus

func (CACertificateStatus) MarshalValue

func (enum CACertificateStatus) MarshalValue() (string, error)

func (CACertificateStatus) MarshalValueBuf

func (enum CACertificateStatus) MarshalValueBuf(b []byte) ([]byte, error)

type CACertificateUpdateAction

type CACertificateUpdateAction string
const (
	CACertificateUpdateActionDeactivate CACertificateUpdateAction = "DEACTIVATE"
)

Enum values for CACertificateUpdateAction

func (CACertificateUpdateAction) MarshalValue

func (enum CACertificateUpdateAction) MarshalValue() (string, error)

func (CACertificateUpdateAction) MarshalValueBuf

func (enum CACertificateUpdateAction) MarshalValueBuf(b []byte) ([]byte, error)

type CancelAuditMitigationActionsTaskInput

type CancelAuditMitigationActionsTaskInput struct {

	// The unique identifier for the task that you want to cancel.
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelAuditMitigationActionsTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelAuditMitigationActionsTaskInput) String

String returns the string representation

func (*CancelAuditMitigationActionsTaskInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CancelAuditMitigationActionsTaskOutput

type CancelAuditMitigationActionsTaskOutput struct {
	// contains filtered or unexported fields
}

func (CancelAuditMitigationActionsTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelAuditMitigationActionsTaskOutput) String

String returns the string representation

type CancelAuditMitigationActionsTaskRequest

type CancelAuditMitigationActionsTaskRequest struct {
	*aws.Request
	Input *CancelAuditMitigationActionsTaskInput
	Copy  func(*CancelAuditMitigationActionsTaskInput) CancelAuditMitigationActionsTaskRequest
}

CancelAuditMitigationActionsTaskRequest is the request type for the CancelAuditMitigationActionsTask API operation.

func (CancelAuditMitigationActionsTaskRequest) Send

Send marshals and sends the CancelAuditMitigationActionsTask API request.

type CancelAuditMitigationActionsTaskResponse

type CancelAuditMitigationActionsTaskResponse struct {
	*CancelAuditMitigationActionsTaskOutput
	// contains filtered or unexported fields
}

CancelAuditMitigationActionsTaskResponse is the response type for the CancelAuditMitigationActionsTask API operation.

func (*CancelAuditMitigationActionsTaskResponse) SDKResponseMetdata

func (r *CancelAuditMitigationActionsTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CancelAuditMitigationActionsTask request.

type CancelAuditTaskInput

type CancelAuditTaskInput struct {

	// The ID of the audit you want to cancel. You can only cancel an audit that
	// is "IN_PROGRESS".
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelAuditTaskInput) MarshalFields

func (s CancelAuditTaskInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelAuditTaskInput) String

func (s CancelAuditTaskInput) String() string

String returns the string representation

func (*CancelAuditTaskInput) Validate

func (s *CancelAuditTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelAuditTaskOutput

type CancelAuditTaskOutput struct {
	// contains filtered or unexported fields
}

func (CancelAuditTaskOutput) MarshalFields

func (s CancelAuditTaskOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelAuditTaskOutput) String

func (s CancelAuditTaskOutput) String() string

String returns the string representation

type CancelAuditTaskRequest

type CancelAuditTaskRequest struct {
	*aws.Request
	Input *CancelAuditTaskInput
	Copy  func(*CancelAuditTaskInput) CancelAuditTaskRequest
}

CancelAuditTaskRequest is the request type for the CancelAuditTask API operation.

func (CancelAuditTaskRequest) Send

Send marshals and sends the CancelAuditTask API request.

type CancelAuditTaskResponse

type CancelAuditTaskResponse struct {
	*CancelAuditTaskOutput
	// contains filtered or unexported fields
}

CancelAuditTaskResponse is the response type for the CancelAuditTask API operation.

func (*CancelAuditTaskResponse) SDKResponseMetdata

func (r *CancelAuditTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CancelAuditTask request.

type CancelCertificateTransferInput

type CancelCertificateTransferInput struct {

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the CancelCertificateTransfer operation.

func (CancelCertificateTransferInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelCertificateTransferInput) String

String returns the string representation

func (*CancelCertificateTransferInput) Validate

func (s *CancelCertificateTransferInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelCertificateTransferOutput

type CancelCertificateTransferOutput struct {
	// contains filtered or unexported fields
}

func (CancelCertificateTransferOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelCertificateTransferOutput) String

String returns the string representation

type CancelCertificateTransferRequest

type CancelCertificateTransferRequest struct {
	*aws.Request
	Input *CancelCertificateTransferInput
	Copy  func(*CancelCertificateTransferInput) CancelCertificateTransferRequest
}

CancelCertificateTransferRequest is the request type for the CancelCertificateTransfer API operation.

func (CancelCertificateTransferRequest) Send

Send marshals and sends the CancelCertificateTransfer API request.

type CancelCertificateTransferResponse

type CancelCertificateTransferResponse struct {
	*CancelCertificateTransferOutput
	// contains filtered or unexported fields
}

CancelCertificateTransferResponse is the response type for the CancelCertificateTransfer API operation.

func (*CancelCertificateTransferResponse) SDKResponseMetdata

func (r *CancelCertificateTransferResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CancelCertificateTransfer request.

type CancelJobExecutionInput

type CancelJobExecutionInput struct {

	// (Optional) The expected current version of the job execution. Each time you
	// update the job execution, its version is incremented. If the version of the
	// job execution stored in Jobs does not match, the update is rejected with
	// a VersionMismatch error, and an ErrorResponse that contains the current job
	// execution status data is returned. (This makes it unnecessary to perform
	// a separate DescribeJobExecution request in order to obtain the job execution
	// status data.)
	ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"`

	// (Optional) If true the job execution will be canceled if it has status IN_PROGRESS
	// or QUEUED, otherwise the job execution will be canceled only if it has status
	// QUEUED. If you attempt to cancel a job execution that is IN_PROGRESS, and
	// you do not set force to true, then an InvalidStateTransitionException will
	// be thrown. The default is false.
	//
	// Canceling a job execution which is "IN_PROGRESS", will cause the device to
	// be unable to update the job execution status. Use caution and ensure that
	// the device is able to recover to a valid state.
	Force *bool `location:"querystring" locationName:"force" type:"boolean"`

	// The ID of the job to be canceled.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// A collection of name/value pairs that describe the status of the job execution.
	// If not specified, the statusDetails are unchanged. You can specify at most
	// 10 name/value pairs.
	StatusDetails map[string]string `locationName:"statusDetails" type:"map"`

	// The name of the thing whose execution of the job will be canceled.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelJobExecutionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelJobExecutionInput) String

func (s CancelJobExecutionInput) String() string

String returns the string representation

func (*CancelJobExecutionInput) Validate

func (s *CancelJobExecutionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelJobExecutionOutput

type CancelJobExecutionOutput struct {
	// contains filtered or unexported fields
}

func (CancelJobExecutionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelJobExecutionOutput) String

func (s CancelJobExecutionOutput) String() string

String returns the string representation

type CancelJobExecutionRequest

type CancelJobExecutionRequest struct {
	*aws.Request
	Input *CancelJobExecutionInput
	Copy  func(*CancelJobExecutionInput) CancelJobExecutionRequest
}

CancelJobExecutionRequest is the request type for the CancelJobExecution API operation.

func (CancelJobExecutionRequest) Send

Send marshals and sends the CancelJobExecution API request.

type CancelJobExecutionResponse

type CancelJobExecutionResponse struct {
	*CancelJobExecutionOutput
	// contains filtered or unexported fields
}

CancelJobExecutionResponse is the response type for the CancelJobExecution API operation.

func (*CancelJobExecutionResponse) SDKResponseMetdata

func (r *CancelJobExecutionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CancelJobExecution request.

type CancelJobInput

type CancelJobInput struct {

	// An optional comment string describing why the job was canceled.
	Comment *string `locationName:"comment" type:"string"`

	// (Optional) If true job executions with status "IN_PROGRESS" and "QUEUED"
	// are canceled, otherwise only job executions with status "QUEUED" are canceled.
	// The default is false.
	//
	// Canceling a job which is "IN_PROGRESS", will cause a device which is executing
	// the job to be unable to update the job execution status. Use caution and
	// ensure that each device executing a job which is canceled is able to recover
	// to a valid state.
	Force *bool `location:"querystring" locationName:"force" type:"boolean"`

	// The unique identifier you assigned to this job when it was created.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// (Optional)A reason code string that explains why the job was canceled.
	ReasonCode *string `locationName:"reasonCode" type:"string"`
	// contains filtered or unexported fields
}

func (CancelJobInput) MarshalFields

func (s CancelJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelJobInput) String

func (s CancelJobInput) String() string

String returns the string representation

func (*CancelJobInput) Validate

func (s *CancelJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelJobOutput

type CancelJobOutput struct {

	// A short text description of the job.
	Description *string `locationName:"description" type:"string"`

	// The job ARN.
	JobArn *string `locationName:"jobArn" type:"string"`

	// The unique identifier you assigned to this job when it was created.
	JobId *string `locationName:"jobId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CancelJobOutput) MarshalFields

func (s CancelJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CancelJobOutput) String

func (s CancelJobOutput) String() string

String returns the string representation

type CancelJobRequest

type CancelJobRequest struct {
	*aws.Request
	Input *CancelJobInput
	Copy  func(*CancelJobInput) CancelJobRequest
}

CancelJobRequest is the request type for the CancelJob API operation.

func (CancelJobRequest) Send

Send marshals and sends the CancelJob API request.

type CancelJobResponse

type CancelJobResponse struct {
	*CancelJobOutput
	// contains filtered or unexported fields
}

CancelJobResponse is the response type for the CancelJob API operation.

func (*CancelJobResponse) SDKResponseMetdata

func (r *CancelJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CancelJob request.

type CannedAccessControlList

type CannedAccessControlList string
const (
	CannedAccessControlListPrivate                CannedAccessControlList = "private"
	CannedAccessControlListPublicRead             CannedAccessControlList = "public-read"
	CannedAccessControlListPublicReadWrite        CannedAccessControlList = "public-read-write"
	CannedAccessControlListAwsExecRead            CannedAccessControlList = "aws-exec-read"
	CannedAccessControlListAuthenticatedRead      CannedAccessControlList = "authenticated-read"
	CannedAccessControlListBucketOwnerRead        CannedAccessControlList = "bucket-owner-read"
	CannedAccessControlListBucketOwnerFullControl CannedAccessControlList = "bucket-owner-full-control"
	CannedAccessControlListLogDeliveryWrite       CannedAccessControlList = "log-delivery-write"
)

Enum values for CannedAccessControlList

func (CannedAccessControlList) MarshalValue

func (enum CannedAccessControlList) MarshalValue() (string, error)

func (CannedAccessControlList) MarshalValueBuf

func (enum CannedAccessControlList) MarshalValueBuf(b []byte) ([]byte, error)

type Certificate

type Certificate struct {

	// The ARN of the certificate.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`

	// The date and time the certificate was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The status of the certificate.
	//
	// The status value REGISTER_INACTIVE is deprecated and should not be used.
	Status CertificateStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about a certificate.

func (Certificate) MarshalFields

func (s Certificate) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Certificate) String

func (s Certificate) String() string

String returns the string representation

type CertificateDescription

type CertificateDescription struct {

	// The certificate ID of the CA certificate used to sign this certificate.
	CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"`

	// The ARN of the certificate.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The ID of the certificate.
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`

	// The certificate data, in PEM format.
	CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"`

	// The date and time the certificate was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The customer version of the certificate.
	CustomerVersion *int64 `locationName:"customerVersion" min:"1" type:"integer"`

	// The generation ID of the certificate.
	GenerationId *string `locationName:"generationId" type:"string"`

	// The date and time the certificate was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The ID of the AWS account that owns the certificate.
	OwnedBy *string `locationName:"ownedBy" min:"12" type:"string"`

	// The ID of the AWS account of the previous owner of the certificate.
	PreviousOwnedBy *string `locationName:"previousOwnedBy" min:"12" type:"string"`

	// The status of the certificate.
	Status CertificateStatus `locationName:"status" type:"string" enum:"true"`

	// The transfer data.
	TransferData *TransferData `locationName:"transferData" type:"structure"`

	// When the certificate is valid.
	Validity *CertificateValidity `locationName:"validity" type:"structure"`
	// contains filtered or unexported fields
}

Describes a certificate.

func (CertificateDescription) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CertificateDescription) String

func (s CertificateDescription) String() string

String returns the string representation

type CertificateStatus

type CertificateStatus string
const (
	CertificateStatusActive            CertificateStatus = "ACTIVE"
	CertificateStatusInactive          CertificateStatus = "INACTIVE"
	CertificateStatusRevoked           CertificateStatus = "REVOKED"
	CertificateStatusPendingTransfer   CertificateStatus = "PENDING_TRANSFER"
	CertificateStatusRegisterInactive  CertificateStatus = "REGISTER_INACTIVE"
	CertificateStatusPendingActivation CertificateStatus = "PENDING_ACTIVATION"
)

Enum values for CertificateStatus

func (CertificateStatus) MarshalValue

func (enum CertificateStatus) MarshalValue() (string, error)

func (CertificateStatus) MarshalValueBuf

func (enum CertificateStatus) MarshalValueBuf(b []byte) ([]byte, error)

type CertificateValidity

type CertificateValidity struct {

	// The certificate is not valid after this date.
	NotAfter *time.Time `locationName:"notAfter" type:"timestamp"`

	// The certificate is not valid before this date.
	NotBefore *time.Time `locationName:"notBefore" type:"timestamp"`
	// contains filtered or unexported fields
}

When the certificate is valid.

func (CertificateValidity) MarshalFields

func (s CertificateValidity) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CertificateValidity) String

func (s CertificateValidity) String() string

String returns the string representation

type ClearDefaultAuthorizerInput

type ClearDefaultAuthorizerInput struct {
	// contains filtered or unexported fields
}

func (ClearDefaultAuthorizerInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ClearDefaultAuthorizerInput) String

String returns the string representation

type ClearDefaultAuthorizerOutput

type ClearDefaultAuthorizerOutput struct {
	// contains filtered or unexported fields
}

func (ClearDefaultAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ClearDefaultAuthorizerOutput) String

String returns the string representation

type ClearDefaultAuthorizerRequest

type ClearDefaultAuthorizerRequest struct {
	*aws.Request
	Input *ClearDefaultAuthorizerInput
	Copy  func(*ClearDefaultAuthorizerInput) ClearDefaultAuthorizerRequest
}

ClearDefaultAuthorizerRequest is the request type for the ClearDefaultAuthorizer API operation.

func (ClearDefaultAuthorizerRequest) Send

Send marshals and sends the ClearDefaultAuthorizer API request.

type ClearDefaultAuthorizerResponse

type ClearDefaultAuthorizerResponse struct {
	*ClearDefaultAuthorizerOutput
	// contains filtered or unexported fields
}

ClearDefaultAuthorizerResponse is the response type for the ClearDefaultAuthorizer API operation.

func (*ClearDefaultAuthorizerResponse) SDKResponseMetdata

func (r *ClearDefaultAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ClearDefaultAuthorizer request.

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AWS IoT. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := iot.New(myConfig)

func (*Client) AcceptCertificateTransferRequest

func (c *Client) AcceptCertificateTransferRequest(input *AcceptCertificateTransferInput) AcceptCertificateTransferRequest

AcceptCertificateTransferRequest returns a request value for making API operation for AWS IoT.

Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.

To check for pending certificate transfers, call ListCertificates to enumerate your certificates.

// Example sending a request using AcceptCertificateTransferRequest.
req := client.AcceptCertificateTransferRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) AddThingToBillingGroupRequest

func (c *Client) AddThingToBillingGroupRequest(input *AddThingToBillingGroupInput) AddThingToBillingGroupRequest

AddThingToBillingGroupRequest returns a request value for making API operation for AWS IoT.

Adds a thing to a billing group.

// Example sending a request using AddThingToBillingGroupRequest.
req := client.AddThingToBillingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) AddThingToThingGroupRequest

func (c *Client) AddThingToThingGroupRequest(input *AddThingToThingGroupInput) AddThingToThingGroupRequest

AddThingToThingGroupRequest returns a request value for making API operation for AWS IoT.

Adds a thing to a thing group.

// Example sending a request using AddThingToThingGroupRequest.
req := client.AddThingToThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) AssociateTargetsWithJobRequest

func (c *Client) AssociateTargetsWithJobRequest(input *AssociateTargetsWithJobInput) AssociateTargetsWithJobRequest

AssociateTargetsWithJobRequest returns a request value for making API operation for AWS IoT.

Associates a group with a continuous job. The following criteria must be met:

func (*Client) AttachPolicyRequest

func (c *Client) AttachPolicyRequest(input *AttachPolicyInput) AttachPolicyRequest

AttachPolicyRequest returns a request value for making API operation for AWS IoT.

Attaches a policy to the specified target.

// Example sending a request using AttachPolicyRequest.
req := client.AttachPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) AttachPrincipalPolicyRequest

func (c *Client) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) AttachPrincipalPolicyRequest

AttachPrincipalPolicyRequest returns a request value for making API operation for AWS IoT.

Attaches the specified policy to the specified principal (certificate or other credential).

Note: This API is deprecated. Please use AttachPolicy instead.

// Example sending a request using AttachPrincipalPolicyRequest.
req := client.AttachPrincipalPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) AttachSecurityProfileRequest

func (c *Client) AttachSecurityProfileRequest(input *AttachSecurityProfileInput) AttachSecurityProfileRequest

AttachSecurityProfileRequest returns a request value for making API operation for AWS IoT.

Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.

// Example sending a request using AttachSecurityProfileRequest.
req := client.AttachSecurityProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) AttachThingPrincipalRequest

func (c *Client) AttachThingPrincipalRequest(input *AttachThingPrincipalInput) AttachThingPrincipalRequest

AttachThingPrincipalRequest returns a request value for making API operation for AWS IoT.

Attaches the specified principal to the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

// Example sending a request using AttachThingPrincipalRequest.
req := client.AttachThingPrincipalRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CancelAuditMitigationActionsTaskRequest

func (c *Client) CancelAuditMitigationActionsTaskRequest(input *CancelAuditMitigationActionsTaskInput) CancelAuditMitigationActionsTaskRequest

CancelAuditMitigationActionsTaskRequest returns a request value for making API operation for AWS IoT.

Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.

// Example sending a request using CancelAuditMitigationActionsTaskRequest.
req := client.CancelAuditMitigationActionsTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CancelAuditTaskRequest

func (c *Client) CancelAuditTaskRequest(input *CancelAuditTaskInput) CancelAuditTaskRequest

CancelAuditTaskRequest returns a request value for making API operation for AWS IoT.

Cancels an audit that is in progress. The audit can be either scheduled or on-demand. If the audit is not in progress, an "InvalidRequestException" occurs.

// Example sending a request using CancelAuditTaskRequest.
req := client.CancelAuditTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CancelCertificateTransferRequest

func (c *Client) CancelCertificateTransferRequest(input *CancelCertificateTransferInput) CancelCertificateTransferRequest

CancelCertificateTransferRequest returns a request value for making API operation for AWS IoT.

Cancels a pending transfer for the specified certificate.

Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.

After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.

// Example sending a request using CancelCertificateTransferRequest.
req := client.CancelCertificateTransferRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CancelJobExecutionRequest

func (c *Client) CancelJobExecutionRequest(input *CancelJobExecutionInput) CancelJobExecutionRequest

CancelJobExecutionRequest returns a request value for making API operation for AWS IoT.

Cancels the execution of a job for a given thing.

// Example sending a request using CancelJobExecutionRequest.
req := client.CancelJobExecutionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CancelJobRequest

func (c *Client) CancelJobRequest(input *CancelJobInput) CancelJobRequest

CancelJobRequest returns a request value for making API operation for AWS IoT.

Cancels a job.

// Example sending a request using CancelJobRequest.
req := client.CancelJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ClearDefaultAuthorizerRequest

func (c *Client) ClearDefaultAuthorizerRequest(input *ClearDefaultAuthorizerInput) ClearDefaultAuthorizerRequest

ClearDefaultAuthorizerRequest returns a request value for making API operation for AWS IoT.

Clears the default authorizer.

// Example sending a request using ClearDefaultAuthorizerRequest.
req := client.ClearDefaultAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateAuthorizerRequest

func (c *Client) CreateAuthorizerRequest(input *CreateAuthorizerInput) CreateAuthorizerRequest

CreateAuthorizerRequest returns a request value for making API operation for AWS IoT.

Creates an authorizer.

// Example sending a request using CreateAuthorizerRequest.
req := client.CreateAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateBillingGroupRequest

func (c *Client) CreateBillingGroupRequest(input *CreateBillingGroupInput) CreateBillingGroupRequest

CreateBillingGroupRequest returns a request value for making API operation for AWS IoT.

Creates a billing group.

// Example sending a request using CreateBillingGroupRequest.
req := client.CreateBillingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateCertificateFromCsrRequest

func (c *Client) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInput) CreateCertificateFromCsrRequest

CreateCertificateFromCsrRequest returns a request value for making API operation for AWS IoT.

Creates an X.509 certificate using the specified certificate signing request.

Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.

Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.

You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.

Assuming a set of CSRs are located inside of the directory my-csr-directory:

On Linux and OS X, the command is:

$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}

This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.

The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:

$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}

On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:

> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}

On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:

> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"

// Example sending a request using CreateCertificateFromCsrRequest.
req := client.CreateCertificateFromCsrRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateDynamicThingGroupRequest

func (c *Client) CreateDynamicThingGroupRequest(input *CreateDynamicThingGroupInput) CreateDynamicThingGroupRequest

CreateDynamicThingGroupRequest returns a request value for making API operation for AWS IoT.

Creates a dynamic thing group.

// Example sending a request using CreateDynamicThingGroupRequest.
req := client.CreateDynamicThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateJobRequest

func (c *Client) CreateJobRequest(input *CreateJobInput) CreateJobRequest

CreateJobRequest returns a request value for making API operation for AWS IoT.

Creates a job.

// Example sending a request using CreateJobRequest.
req := client.CreateJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateKeysAndCertificateRequest

func (c *Client) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInput) CreateKeysAndCertificateRequest

CreateKeysAndCertificateRequest returns a request value for making API operation for AWS IoT.

Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.

Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.

// Example sending a request using CreateKeysAndCertificateRequest.
req := client.CreateKeysAndCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateMitigationActionRequest

func (c *Client) CreateMitigationActionRequest(input *CreateMitigationActionInput) CreateMitigationActionRequest

CreateMitigationActionRequest returns a request value for making API operation for AWS IoT.

Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Each mitigation action can apply only one type of change.

// Example sending a request using CreateMitigationActionRequest.
req := client.CreateMitigationActionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateOTAUpdateRequest

func (c *Client) CreateOTAUpdateRequest(input *CreateOTAUpdateInput) CreateOTAUpdateRequest

CreateOTAUpdateRequest returns a request value for making API operation for AWS IoT.

Creates an AWS IoT OTAUpdate on a target group of things or groups.

// Example sending a request using CreateOTAUpdateRequest.
req := client.CreateOTAUpdateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreatePolicyRequest

func (c *Client) CreatePolicyRequest(input *CreatePolicyInput) CreatePolicyRequest

CreatePolicyRequest returns a request value for making API operation for AWS IoT.

Creates an AWS IoT policy.

The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.

// Example sending a request using CreatePolicyRequest.
req := client.CreatePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreatePolicyVersionRequest

func (c *Client) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) CreatePolicyVersionRequest

CreatePolicyVersionRequest returns a request value for making API operation for AWS IoT.

Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.

Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).

// Example sending a request using CreatePolicyVersionRequest.
req := client.CreatePolicyVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateRoleAliasRequest

func (c *Client) CreateRoleAliasRequest(input *CreateRoleAliasInput) CreateRoleAliasRequest

CreateRoleAliasRequest returns a request value for making API operation for AWS IoT.

Creates a role alias.

// Example sending a request using CreateRoleAliasRequest.
req := client.CreateRoleAliasRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateScheduledAuditRequest

func (c *Client) CreateScheduledAuditRequest(input *CreateScheduledAuditInput) CreateScheduledAuditRequest

CreateScheduledAuditRequest returns a request value for making API operation for AWS IoT.

Creates a scheduled audit that is run at a specified time interval.

// Example sending a request using CreateScheduledAuditRequest.
req := client.CreateScheduledAuditRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateSecurityProfileRequest

func (c *Client) CreateSecurityProfileRequest(input *CreateSecurityProfileInput) CreateSecurityProfileRequest

CreateSecurityProfileRequest returns a request value for making API operation for AWS IoT.

Creates a Device Defender security profile.

// Example sending a request using CreateSecurityProfileRequest.
req := client.CreateSecurityProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateStreamRequest

func (c *Client) CreateStreamRequest(input *CreateStreamInput) CreateStreamRequest

CreateStreamRequest returns a request value for making API operation for AWS IoT.

Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream. The total size of a file associated with the stream cannot exceed more than 2 MB. The stream will be created with version 0. If a stream is created with the same streamID as a stream that existed and was deleted within last 90 days, we will resurrect that old stream by incrementing the version by 1.

// Example sending a request using CreateStreamRequest.
req := client.CreateStreamRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateThingGroupRequest

func (c *Client) CreateThingGroupRequest(input *CreateThingGroupInput) CreateThingGroupRequest

CreateThingGroupRequest returns a request value for making API operation for AWS IoT.

Create a thing group.

This is a control plane operation. See Authorization (https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html) for information about authorizing control plane actions.

// Example sending a request using CreateThingGroupRequest.
req := client.CreateThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateThingRequest

func (c *Client) CreateThingRequest(input *CreateThingInput) CreateThingRequest

CreateThingRequest returns a request value for making API operation for AWS IoT.

Creates a thing record in the registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a ResourceAlreadyExistsException is thrown.

This is a control plane operation. See Authorization (https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html) for information about authorizing control plane actions.

// Example sending a request using CreateThingRequest.
req := client.CreateThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateThingTypeRequest

func (c *Client) CreateThingTypeRequest(input *CreateThingTypeInput) CreateThingTypeRequest

CreateThingTypeRequest returns a request value for making API operation for AWS IoT.

Creates a new thing type.

// Example sending a request using CreateThingTypeRequest.
req := client.CreateThingTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) CreateTopicRuleRequest

func (c *Client) CreateTopicRuleRequest(input *CreateTopicRuleInput) CreateTopicRuleRequest

CreateTopicRuleRequest returns a request value for making API operation for AWS IoT.

Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.

// Example sending a request using CreateTopicRuleRequest.
req := client.CreateTopicRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteAccountAuditConfigurationRequest

func (c *Client) DeleteAccountAuditConfigurationRequest(input *DeleteAccountAuditConfigurationInput) DeleteAccountAuditConfigurationRequest

DeleteAccountAuditConfigurationRequest returns a request value for making API operation for AWS IoT.

Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.

// Example sending a request using DeleteAccountAuditConfigurationRequest.
req := client.DeleteAccountAuditConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteAuthorizerRequest

func (c *Client) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) DeleteAuthorizerRequest

DeleteAuthorizerRequest returns a request value for making API operation for AWS IoT.

Deletes an authorizer.

// Example sending a request using DeleteAuthorizerRequest.
req := client.DeleteAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteBillingGroupRequest

func (c *Client) DeleteBillingGroupRequest(input *DeleteBillingGroupInput) DeleteBillingGroupRequest

DeleteBillingGroupRequest returns a request value for making API operation for AWS IoT.

Deletes the billing group.

// Example sending a request using DeleteBillingGroupRequest.
req := client.DeleteBillingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteCACertificateRequest

func (c *Client) DeleteCACertificateRequest(input *DeleteCACertificateInput) DeleteCACertificateRequest

DeleteCACertificateRequest returns a request value for making API operation for AWS IoT.

Deletes a registered CA certificate.

// Example sending a request using DeleteCACertificateRequest.
req := client.DeleteCACertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteCertificateRequest

func (c *Client) DeleteCertificateRequest(input *DeleteCertificateInput) DeleteCertificateRequest

DeleteCertificateRequest returns a request value for making API operation for AWS IoT.

Deletes the specified certificate.

A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.

// Example sending a request using DeleteCertificateRequest.
req := client.DeleteCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteDynamicThingGroupRequest

func (c *Client) DeleteDynamicThingGroupRequest(input *DeleteDynamicThingGroupInput) DeleteDynamicThingGroupRequest

DeleteDynamicThingGroupRequest returns a request value for making API operation for AWS IoT.

Deletes a dynamic thing group.

// Example sending a request using DeleteDynamicThingGroupRequest.
req := client.DeleteDynamicThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteJobExecutionRequest

func (c *Client) DeleteJobExecutionRequest(input *DeleteJobExecutionInput) DeleteJobExecutionRequest

DeleteJobExecutionRequest returns a request value for making API operation for AWS IoT.

Deletes a job execution.

// Example sending a request using DeleteJobExecutionRequest.
req := client.DeleteJobExecutionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteJobRequest

func (c *Client) DeleteJobRequest(input *DeleteJobInput) DeleteJobRequest

DeleteJobRequest returns a request value for making API operation for AWS IoT.

Deletes a job and its related job executions.

Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.

Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.

// Example sending a request using DeleteJobRequest.
req := client.DeleteJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteMitigationActionRequest

func (c *Client) DeleteMitigationActionRequest(input *DeleteMitigationActionInput) DeleteMitigationActionRequest

DeleteMitigationActionRequest returns a request value for making API operation for AWS IoT.

Deletes a defined mitigation action from your AWS account.

// Example sending a request using DeleteMitigationActionRequest.
req := client.DeleteMitigationActionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteOTAUpdateRequest

func (c *Client) DeleteOTAUpdateRequest(input *DeleteOTAUpdateInput) DeleteOTAUpdateRequest

DeleteOTAUpdateRequest returns a request value for making API operation for AWS IoT.

Delete an OTA update.

// Example sending a request using DeleteOTAUpdateRequest.
req := client.DeleteOTAUpdateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeletePolicyRequest

func (c *Client) DeletePolicyRequest(input *DeletePolicyInput) DeletePolicyRequest

DeletePolicyRequest returns a request value for making API operation for AWS IoT.

Deletes the specified policy.

A policy cannot be deleted if it has non-default versions or it is attached to any certificate.

To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.

When a policy is deleted using DeletePolicy, its default version is deleted with it.

// Example sending a request using DeletePolicyRequest.
req := client.DeletePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeletePolicyVersionRequest

func (c *Client) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) DeletePolicyVersionRequest

DeletePolicyVersionRequest returns a request value for making API operation for AWS IoT.

Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.

// Example sending a request using DeletePolicyVersionRequest.
req := client.DeletePolicyVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteRegistrationCodeRequest

func (c *Client) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) DeleteRegistrationCodeRequest

DeleteRegistrationCodeRequest returns a request value for making API operation for AWS IoT.

Deletes a CA certificate registration code.

// Example sending a request using DeleteRegistrationCodeRequest.
req := client.DeleteRegistrationCodeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteRoleAliasRequest

func (c *Client) DeleteRoleAliasRequest(input *DeleteRoleAliasInput) DeleteRoleAliasRequest

DeleteRoleAliasRequest returns a request value for making API operation for AWS IoT.

Deletes a role alias

// Example sending a request using DeleteRoleAliasRequest.
req := client.DeleteRoleAliasRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteScheduledAuditRequest

func (c *Client) DeleteScheduledAuditRequest(input *DeleteScheduledAuditInput) DeleteScheduledAuditRequest

DeleteScheduledAuditRequest returns a request value for making API operation for AWS IoT.

Deletes a scheduled audit.

// Example sending a request using DeleteScheduledAuditRequest.
req := client.DeleteScheduledAuditRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteSecurityProfileRequest

func (c *Client) DeleteSecurityProfileRequest(input *DeleteSecurityProfileInput) DeleteSecurityProfileRequest

DeleteSecurityProfileRequest returns a request value for making API operation for AWS IoT.

Deletes a Device Defender security profile.

// Example sending a request using DeleteSecurityProfileRequest.
req := client.DeleteSecurityProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteStreamRequest

func (c *Client) DeleteStreamRequest(input *DeleteStreamInput) DeleteStreamRequest

DeleteStreamRequest returns a request value for making API operation for AWS IoT.

Deletes a stream.

// Example sending a request using DeleteStreamRequest.
req := client.DeleteStreamRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteThingGroupRequest

func (c *Client) DeleteThingGroupRequest(input *DeleteThingGroupInput) DeleteThingGroupRequest

DeleteThingGroupRequest returns a request value for making API operation for AWS IoT.

Deletes a thing group.

// Example sending a request using DeleteThingGroupRequest.
req := client.DeleteThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteThingRequest

func (c *Client) DeleteThingRequest(input *DeleteThingInput) DeleteThingRequest

DeleteThingRequest returns a request value for making API operation for AWS IoT.

Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.

// Example sending a request using DeleteThingRequest.
req := client.DeleteThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteThingTypeRequest

func (c *Client) DeleteThingTypeRequest(input *DeleteThingTypeInput) DeleteThingTypeRequest

DeleteThingTypeRequest returns a request value for making API operation for AWS IoT.

Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.

// Example sending a request using DeleteThingTypeRequest.
req := client.DeleteThingTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteTopicRuleRequest

func (c *Client) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) DeleteTopicRuleRequest

DeleteTopicRuleRequest returns a request value for making API operation for AWS IoT.

Deletes the rule.

// Example sending a request using DeleteTopicRuleRequest.
req := client.DeleteTopicRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeleteV2LoggingLevelRequest

func (c *Client) DeleteV2LoggingLevelRequest(input *DeleteV2LoggingLevelInput) DeleteV2LoggingLevelRequest

DeleteV2LoggingLevelRequest returns a request value for making API operation for AWS IoT.

Deletes a logging level.

// Example sending a request using DeleteV2LoggingLevelRequest.
req := client.DeleteV2LoggingLevelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DeprecateThingTypeRequest

func (c *Client) DeprecateThingTypeRequest(input *DeprecateThingTypeInput) DeprecateThingTypeRequest

DeprecateThingTypeRequest returns a request value for making API operation for AWS IoT.

Deprecates a thing type. You can not associate new things with deprecated thing type.

// Example sending a request using DeprecateThingTypeRequest.
req := client.DeprecateThingTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeAccountAuditConfigurationRequest

func (c *Client) DescribeAccountAuditConfigurationRequest(input *DescribeAccountAuditConfigurationInput) DescribeAccountAuditConfigurationRequest

DescribeAccountAuditConfigurationRequest returns a request value for making API operation for AWS IoT.

Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.

// Example sending a request using DescribeAccountAuditConfigurationRequest.
req := client.DescribeAccountAuditConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeAuditFindingRequest

func (c *Client) DescribeAuditFindingRequest(input *DescribeAuditFindingInput) DescribeAuditFindingRequest

DescribeAuditFindingRequest returns a request value for making API operation for AWS IoT.

Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and when the audit that returned the finding was started.

// Example sending a request using DescribeAuditFindingRequest.
req := client.DescribeAuditFindingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeAuditMitigationActionsTaskRequest

func (c *Client) DescribeAuditMitigationActionsTaskRequest(input *DescribeAuditMitigationActionsTaskInput) DescribeAuditMitigationActionsTaskRequest

DescribeAuditMitigationActionsTaskRequest returns a request value for making API operation for AWS IoT.

Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.

// Example sending a request using DescribeAuditMitigationActionsTaskRequest.
req := client.DescribeAuditMitigationActionsTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeAuditTaskRequest

func (c *Client) DescribeAuditTaskRequest(input *DescribeAuditTaskInput) DescribeAuditTaskRequest

DescribeAuditTaskRequest returns a request value for making API operation for AWS IoT.

Gets information about a Device Defender audit.

// Example sending a request using DescribeAuditTaskRequest.
req := client.DescribeAuditTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeAuthorizerRequest

func (c *Client) DescribeAuthorizerRequest(input *DescribeAuthorizerInput) DescribeAuthorizerRequest

DescribeAuthorizerRequest returns a request value for making API operation for AWS IoT.

Describes an authorizer.

// Example sending a request using DescribeAuthorizerRequest.
req := client.DescribeAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeBillingGroupRequest

func (c *Client) DescribeBillingGroupRequest(input *DescribeBillingGroupInput) DescribeBillingGroupRequest

DescribeBillingGroupRequest returns a request value for making API operation for AWS IoT.

Returns information about a billing group.

// Example sending a request using DescribeBillingGroupRequest.
req := client.DescribeBillingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeCACertificateRequest

func (c *Client) DescribeCACertificateRequest(input *DescribeCACertificateInput) DescribeCACertificateRequest

DescribeCACertificateRequest returns a request value for making API operation for AWS IoT.

Describes a registered CA certificate.

// Example sending a request using DescribeCACertificateRequest.
req := client.DescribeCACertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeCertificateRequest

func (c *Client) DescribeCertificateRequest(input *DescribeCertificateInput) DescribeCertificateRequest

DescribeCertificateRequest returns a request value for making API operation for AWS IoT.

Gets information about the specified certificate.

// Example sending a request using DescribeCertificateRequest.
req := client.DescribeCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeDefaultAuthorizerRequest

func (c *Client) DescribeDefaultAuthorizerRequest(input *DescribeDefaultAuthorizerInput) DescribeDefaultAuthorizerRequest

DescribeDefaultAuthorizerRequest returns a request value for making API operation for AWS IoT.

Describes the default authorizer.

// Example sending a request using DescribeDefaultAuthorizerRequest.
req := client.DescribeDefaultAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeEndpointRequest

func (c *Client) DescribeEndpointRequest(input *DescribeEndpointInput) DescribeEndpointRequest

DescribeEndpointRequest returns a request value for making API operation for AWS IoT.

Returns a unique endpoint specific to the AWS account making the call.

// Example sending a request using DescribeEndpointRequest.
req := client.DescribeEndpointRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeEventConfigurationsRequest

func (c *Client) DescribeEventConfigurationsRequest(input *DescribeEventConfigurationsInput) DescribeEventConfigurationsRequest

DescribeEventConfigurationsRequest returns a request value for making API operation for AWS IoT.

Describes event configurations.

// Example sending a request using DescribeEventConfigurationsRequest.
req := client.DescribeEventConfigurationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeIndexRequest

func (c *Client) DescribeIndexRequest(input *DescribeIndexInput) DescribeIndexRequest

DescribeIndexRequest returns a request value for making API operation for AWS IoT.

Describes a search index.

// Example sending a request using DescribeIndexRequest.
req := client.DescribeIndexRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeJobExecutionRequest

func (c *Client) DescribeJobExecutionRequest(input *DescribeJobExecutionInput) DescribeJobExecutionRequest

DescribeJobExecutionRequest returns a request value for making API operation for AWS IoT.

Describes a job execution.

// Example sending a request using DescribeJobExecutionRequest.
req := client.DescribeJobExecutionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeJobRequest

func (c *Client) DescribeJobRequest(input *DescribeJobInput) DescribeJobRequest

DescribeJobRequest returns a request value for making API operation for AWS IoT.

Describes a job.

// Example sending a request using DescribeJobRequest.
req := client.DescribeJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeMitigationActionRequest

func (c *Client) DescribeMitigationActionRequest(input *DescribeMitigationActionInput) DescribeMitigationActionRequest

DescribeMitigationActionRequest returns a request value for making API operation for AWS IoT.

Gets information about a mitigation action.

// Example sending a request using DescribeMitigationActionRequest.
req := client.DescribeMitigationActionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeRoleAliasRequest

func (c *Client) DescribeRoleAliasRequest(input *DescribeRoleAliasInput) DescribeRoleAliasRequest

DescribeRoleAliasRequest returns a request value for making API operation for AWS IoT.

Describes a role alias.

// Example sending a request using DescribeRoleAliasRequest.
req := client.DescribeRoleAliasRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeScheduledAuditRequest

func (c *Client) DescribeScheduledAuditRequest(input *DescribeScheduledAuditInput) DescribeScheduledAuditRequest

DescribeScheduledAuditRequest returns a request value for making API operation for AWS IoT.

Gets information about a scheduled audit.

// Example sending a request using DescribeScheduledAuditRequest.
req := client.DescribeScheduledAuditRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeSecurityProfileRequest

func (c *Client) DescribeSecurityProfileRequest(input *DescribeSecurityProfileInput) DescribeSecurityProfileRequest

DescribeSecurityProfileRequest returns a request value for making API operation for AWS IoT.

Gets information about a Device Defender security profile.

// Example sending a request using DescribeSecurityProfileRequest.
req := client.DescribeSecurityProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeStreamRequest

func (c *Client) DescribeStreamRequest(input *DescribeStreamInput) DescribeStreamRequest

DescribeStreamRequest returns a request value for making API operation for AWS IoT.

Gets information about a stream.

// Example sending a request using DescribeStreamRequest.
req := client.DescribeStreamRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeThingGroupRequest

func (c *Client) DescribeThingGroupRequest(input *DescribeThingGroupInput) DescribeThingGroupRequest

DescribeThingGroupRequest returns a request value for making API operation for AWS IoT.

Describe a thing group.

// Example sending a request using DescribeThingGroupRequest.
req := client.DescribeThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeThingRegistrationTaskRequest

func (c *Client) DescribeThingRegistrationTaskRequest(input *DescribeThingRegistrationTaskInput) DescribeThingRegistrationTaskRequest

DescribeThingRegistrationTaskRequest returns a request value for making API operation for AWS IoT.

Describes a bulk thing provisioning task.

// Example sending a request using DescribeThingRegistrationTaskRequest.
req := client.DescribeThingRegistrationTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeThingRequest

func (c *Client) DescribeThingRequest(input *DescribeThingInput) DescribeThingRequest

DescribeThingRequest returns a request value for making API operation for AWS IoT.

Gets information about the specified thing.

// Example sending a request using DescribeThingRequest.
req := client.DescribeThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DescribeThingTypeRequest

func (c *Client) DescribeThingTypeRequest(input *DescribeThingTypeInput) DescribeThingTypeRequest

DescribeThingTypeRequest returns a request value for making API operation for AWS IoT.

Gets information about the specified thing type.

// Example sending a request using DescribeThingTypeRequest.
req := client.DescribeThingTypeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DetachPolicyRequest

func (c *Client) DetachPolicyRequest(input *DetachPolicyInput) DetachPolicyRequest

DetachPolicyRequest returns a request value for making API operation for AWS IoT.

Detaches a policy from the specified target.

// Example sending a request using DetachPolicyRequest.
req := client.DetachPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DetachPrincipalPolicyRequest

func (c *Client) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) DetachPrincipalPolicyRequest

DetachPrincipalPolicyRequest returns a request value for making API operation for AWS IoT.

Removes the specified policy from the specified certificate.

Note: This API is deprecated. Please use DetachPolicy instead.

// Example sending a request using DetachPrincipalPolicyRequest.
req := client.DetachPrincipalPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DetachSecurityProfileRequest

func (c *Client) DetachSecurityProfileRequest(input *DetachSecurityProfileInput) DetachSecurityProfileRequest

DetachSecurityProfileRequest returns a request value for making API operation for AWS IoT.

Disassociates a Device Defender security profile from a thing group or from this account.

// Example sending a request using DetachSecurityProfileRequest.
req := client.DetachSecurityProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DetachThingPrincipalRequest

func (c *Client) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) DetachThingPrincipalRequest

DetachThingPrincipalRequest returns a request value for making API operation for AWS IoT.

Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

This call is asynchronous. It might take several seconds for the detachment to propagate.

// Example sending a request using DetachThingPrincipalRequest.
req := client.DetachThingPrincipalRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) DisableTopicRuleRequest

func (c *Client) DisableTopicRuleRequest(input *DisableTopicRuleInput) DisableTopicRuleRequest

DisableTopicRuleRequest returns a request value for making API operation for AWS IoT.

Disables the rule.

// Example sending a request using DisableTopicRuleRequest.
req := client.DisableTopicRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) EnableTopicRuleRequest

func (c *Client) EnableTopicRuleRequest(input *EnableTopicRuleInput) EnableTopicRuleRequest

EnableTopicRuleRequest returns a request value for making API operation for AWS IoT.

Enables the rule.

// Example sending a request using EnableTopicRuleRequest.
req := client.EnableTopicRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetEffectivePoliciesRequest

func (c *Client) GetEffectivePoliciesRequest(input *GetEffectivePoliciesInput) GetEffectivePoliciesRequest

GetEffectivePoliciesRequest returns a request value for making API operation for AWS IoT.

Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway.

// Example sending a request using GetEffectivePoliciesRequest.
req := client.GetEffectivePoliciesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetIndexingConfigurationRequest

func (c *Client) GetIndexingConfigurationRequest(input *GetIndexingConfigurationInput) GetIndexingConfigurationRequest

GetIndexingConfigurationRequest returns a request value for making API operation for AWS IoT.

Gets the search configuration.

// Example sending a request using GetIndexingConfigurationRequest.
req := client.GetIndexingConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetJobDocumentRequest

func (c *Client) GetJobDocumentRequest(input *GetJobDocumentInput) GetJobDocumentRequest

GetJobDocumentRequest returns a request value for making API operation for AWS IoT.

Gets a job document.

// Example sending a request using GetJobDocumentRequest.
req := client.GetJobDocumentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetLoggingOptionsRequest

func (c *Client) GetLoggingOptionsRequest(input *GetLoggingOptionsInput) GetLoggingOptionsRequest

GetLoggingOptionsRequest returns a request value for making API operation for AWS IoT.

Gets the logging options.

NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.

// Example sending a request using GetLoggingOptionsRequest.
req := client.GetLoggingOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetOTAUpdateRequest

func (c *Client) GetOTAUpdateRequest(input *GetOTAUpdateInput) GetOTAUpdateRequest

GetOTAUpdateRequest returns a request value for making API operation for AWS IoT.

Gets an OTA update.

// Example sending a request using GetOTAUpdateRequest.
req := client.GetOTAUpdateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetPolicyRequest

func (c *Client) GetPolicyRequest(input *GetPolicyInput) GetPolicyRequest

GetPolicyRequest returns a request value for making API operation for AWS IoT.

Gets information about the specified policy with the policy document of the default version.

// Example sending a request using GetPolicyRequest.
req := client.GetPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetPolicyVersionRequest

func (c *Client) GetPolicyVersionRequest(input *GetPolicyVersionInput) GetPolicyVersionRequest

GetPolicyVersionRequest returns a request value for making API operation for AWS IoT.

Gets information about the specified policy version.

// Example sending a request using GetPolicyVersionRequest.
req := client.GetPolicyVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetRegistrationCodeRequest

func (c *Client) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) GetRegistrationCodeRequest

GetRegistrationCodeRequest returns a request value for making API operation for AWS IoT.

Gets a registration code used to register a CA certificate with AWS IoT.

// Example sending a request using GetRegistrationCodeRequest.
req := client.GetRegistrationCodeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetStatisticsRequest

func (c *Client) GetStatisticsRequest(input *GetStatisticsInput) GetStatisticsRequest

GetStatisticsRequest returns a request value for making API operation for AWS IoT.

Gets statistics about things that match the specified query.

// Example sending a request using GetStatisticsRequest.
req := client.GetStatisticsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetTopicRuleRequest

func (c *Client) GetTopicRuleRequest(input *GetTopicRuleInput) GetTopicRuleRequest

GetTopicRuleRequest returns a request value for making API operation for AWS IoT.

Gets information about the rule.

// Example sending a request using GetTopicRuleRequest.
req := client.GetTopicRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) GetV2LoggingOptionsRequest

func (c *Client) GetV2LoggingOptionsRequest(input *GetV2LoggingOptionsInput) GetV2LoggingOptionsRequest

GetV2LoggingOptionsRequest returns a request value for making API operation for AWS IoT.

Gets the fine grained logging options.

// Example sending a request using GetV2LoggingOptionsRequest.
req := client.GetV2LoggingOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListActiveViolationsRequest

func (c *Client) ListActiveViolationsRequest(input *ListActiveViolationsInput) ListActiveViolationsRequest

ListActiveViolationsRequest returns a request value for making API operation for AWS IoT.

Lists the active violations for a given Device Defender security profile.

// Example sending a request using ListActiveViolationsRequest.
req := client.ListActiveViolationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListAttachedPoliciesRequest

func (c *Client) ListAttachedPoliciesRequest(input *ListAttachedPoliciesInput) ListAttachedPoliciesRequest

ListAttachedPoliciesRequest returns a request value for making API operation for AWS IoT.

Lists the policies attached to the specified thing group.

// Example sending a request using ListAttachedPoliciesRequest.
req := client.ListAttachedPoliciesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListAuditFindingsRequest

func (c *Client) ListAuditFindingsRequest(input *ListAuditFindingsInput) ListAuditFindingsRequest

ListAuditFindingsRequest returns a request value for making API operation for AWS IoT.

Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 180 days.)

// Example sending a request using ListAuditFindingsRequest.
req := client.ListAuditFindingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListAuditMitigationActionsExecutionsRequest

func (c *Client) ListAuditMitigationActionsExecutionsRequest(input *ListAuditMitigationActionsExecutionsInput) ListAuditMitigationActionsExecutionsRequest

ListAuditMitigationActionsExecutionsRequest returns a request value for making API operation for AWS IoT.

Gets the status of audit mitigation action tasks that were executed.

// Example sending a request using ListAuditMitigationActionsExecutionsRequest.
req := client.ListAuditMitigationActionsExecutionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListAuditMitigationActionsTasksRequest

func (c *Client) ListAuditMitigationActionsTasksRequest(input *ListAuditMitigationActionsTasksInput) ListAuditMitigationActionsTasksRequest

ListAuditMitigationActionsTasksRequest returns a request value for making API operation for AWS IoT.

Gets a list of audit mitigation action tasks that match the specified filters.

// Example sending a request using ListAuditMitigationActionsTasksRequest.
req := client.ListAuditMitigationActionsTasksRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListAuditTasksRequest

func (c *Client) ListAuditTasksRequest(input *ListAuditTasksInput) ListAuditTasksRequest

ListAuditTasksRequest returns a request value for making API operation for AWS IoT.

Lists the Device Defender audits that have been performed during a given time period.

// Example sending a request using ListAuditTasksRequest.
req := client.ListAuditTasksRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListAuthorizersRequest

func (c *Client) ListAuthorizersRequest(input *ListAuthorizersInput) ListAuthorizersRequest

ListAuthorizersRequest returns a request value for making API operation for AWS IoT.

Lists the authorizers registered in your account.

// Example sending a request using ListAuthorizersRequest.
req := client.ListAuthorizersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListBillingGroupsRequest

func (c *Client) ListBillingGroupsRequest(input *ListBillingGroupsInput) ListBillingGroupsRequest

ListBillingGroupsRequest returns a request value for making API operation for AWS IoT.

Lists the billing groups you have created.

// Example sending a request using ListBillingGroupsRequest.
req := client.ListBillingGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListCACertificatesRequest

func (c *Client) ListCACertificatesRequest(input *ListCACertificatesInput) ListCACertificatesRequest

ListCACertificatesRequest returns a request value for making API operation for AWS IoT.

Lists the CA certificates registered for your AWS account.

The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.

// Example sending a request using ListCACertificatesRequest.
req := client.ListCACertificatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListCertificatesByCARequest

func (c *Client) ListCertificatesByCARequest(input *ListCertificatesByCAInput) ListCertificatesByCARequest

ListCertificatesByCARequest returns a request value for making API operation for AWS IoT.

List the device certificates signed by the specified CA certificate.

// Example sending a request using ListCertificatesByCARequest.
req := client.ListCertificatesByCARequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListCertificatesRequest

func (c *Client) ListCertificatesRequest(input *ListCertificatesInput) ListCertificatesRequest

ListCertificatesRequest returns a request value for making API operation for AWS IoT.

Lists the certificates registered in your AWS account.

The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.

// Example sending a request using ListCertificatesRequest.
req := client.ListCertificatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListIndicesRequest

func (c *Client) ListIndicesRequest(input *ListIndicesInput) ListIndicesRequest

ListIndicesRequest returns a request value for making API operation for AWS IoT.

Lists the search indices.

// Example sending a request using ListIndicesRequest.
req := client.ListIndicesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListJobExecutionsForJobRequest

func (c *Client) ListJobExecutionsForJobRequest(input *ListJobExecutionsForJobInput) ListJobExecutionsForJobRequest

ListJobExecutionsForJobRequest returns a request value for making API operation for AWS IoT.

Lists the job executions for a job.

// Example sending a request using ListJobExecutionsForJobRequest.
req := client.ListJobExecutionsForJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListJobExecutionsForThingRequest

func (c *Client) ListJobExecutionsForThingRequest(input *ListJobExecutionsForThingInput) ListJobExecutionsForThingRequest

ListJobExecutionsForThingRequest returns a request value for making API operation for AWS IoT.

Lists the job executions for the specified thing.

// Example sending a request using ListJobExecutionsForThingRequest.
req := client.ListJobExecutionsForThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListJobsRequest

func (c *Client) ListJobsRequest(input *ListJobsInput) ListJobsRequest

ListJobsRequest returns a request value for making API operation for AWS IoT.

Lists jobs.

// Example sending a request using ListJobsRequest.
req := client.ListJobsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListMitigationActionsRequest

func (c *Client) ListMitigationActionsRequest(input *ListMitigationActionsInput) ListMitigationActionsRequest

ListMitigationActionsRequest returns a request value for making API operation for AWS IoT.

Gets a list of all mitigation actions that match the specified filter criteria.

// Example sending a request using ListMitigationActionsRequest.
req := client.ListMitigationActionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListOTAUpdatesRequest

func (c *Client) ListOTAUpdatesRequest(input *ListOTAUpdatesInput) ListOTAUpdatesRequest

ListOTAUpdatesRequest returns a request value for making API operation for AWS IoT.

Lists OTA updates.

// Example sending a request using ListOTAUpdatesRequest.
req := client.ListOTAUpdatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListOutgoingCertificatesRequest

func (c *Client) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInput) ListOutgoingCertificatesRequest

ListOutgoingCertificatesRequest returns a request value for making API operation for AWS IoT.

Lists certificates that are being transferred but not yet accepted.

// Example sending a request using ListOutgoingCertificatesRequest.
req := client.ListOutgoingCertificatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListPoliciesRequest

func (c *Client) ListPoliciesRequest(input *ListPoliciesInput) ListPoliciesRequest

ListPoliciesRequest returns a request value for making API operation for AWS IoT.

Lists your policies.

// Example sending a request using ListPoliciesRequest.
req := client.ListPoliciesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListPolicyPrincipalsRequest

func (c *Client) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) ListPolicyPrincipalsRequest

ListPolicyPrincipalsRequest returns a request value for making API operation for AWS IoT.

Lists the principals associated with the specified policy.

Note: This API is deprecated. Please use ListTargetsForPolicy instead.

// Example sending a request using ListPolicyPrincipalsRequest.
req := client.ListPolicyPrincipalsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListPolicyVersionsRequest

func (c *Client) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) ListPolicyVersionsRequest

ListPolicyVersionsRequest returns a request value for making API operation for AWS IoT.

Lists the versions of the specified policy and identifies the default version.

// Example sending a request using ListPolicyVersionsRequest.
req := client.ListPolicyVersionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListPrincipalPoliciesRequest

func (c *Client) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) ListPrincipalPoliciesRequest

ListPrincipalPoliciesRequest returns a request value for making API operation for AWS IoT.

Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format (https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax).

Note: This API is deprecated. Please use ListAttachedPolicies instead.

// Example sending a request using ListPrincipalPoliciesRequest.
req := client.ListPrincipalPoliciesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListPrincipalThingsRequest

func (c *Client) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) ListPrincipalThingsRequest

ListPrincipalThingsRequest returns a request value for making API operation for AWS IoT.

Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

// Example sending a request using ListPrincipalThingsRequest.
req := client.ListPrincipalThingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListRoleAliasesRequest

func (c *Client) ListRoleAliasesRequest(input *ListRoleAliasesInput) ListRoleAliasesRequest

ListRoleAliasesRequest returns a request value for making API operation for AWS IoT.

Lists the role aliases registered in your account.

// Example sending a request using ListRoleAliasesRequest.
req := client.ListRoleAliasesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListScheduledAuditsRequest

func (c *Client) ListScheduledAuditsRequest(input *ListScheduledAuditsInput) ListScheduledAuditsRequest

ListScheduledAuditsRequest returns a request value for making API operation for AWS IoT.

Lists all of your scheduled audits.

// Example sending a request using ListScheduledAuditsRequest.
req := client.ListScheduledAuditsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListSecurityProfilesForTargetRequest

func (c *Client) ListSecurityProfilesForTargetRequest(input *ListSecurityProfilesForTargetInput) ListSecurityProfilesForTargetRequest

ListSecurityProfilesForTargetRequest returns a request value for making API operation for AWS IoT.

Lists the Device Defender security profiles attached to a target (thing group).

// Example sending a request using ListSecurityProfilesForTargetRequest.
req := client.ListSecurityProfilesForTargetRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListSecurityProfilesRequest

func (c *Client) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) ListSecurityProfilesRequest

ListSecurityProfilesRequest returns a request value for making API operation for AWS IoT.

Lists the Device Defender security profiles you have created. You can use filters to list only those security profiles associated with a thing group or only those associated with your account.

// Example sending a request using ListSecurityProfilesRequest.
req := client.ListSecurityProfilesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListStreamsRequest

func (c *Client) ListStreamsRequest(input *ListStreamsInput) ListStreamsRequest

ListStreamsRequest returns a request value for making API operation for AWS IoT.

Lists all of the streams in your AWS account.

// Example sending a request using ListStreamsRequest.
req := client.ListStreamsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS IoT.

Lists the tags (metadata) you have assigned to the resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListTargetsForPolicyRequest

func (c *Client) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) ListTargetsForPolicyRequest

ListTargetsForPolicyRequest returns a request value for making API operation for AWS IoT.

List targets for the specified policy.

// Example sending a request using ListTargetsForPolicyRequest.
req := client.ListTargetsForPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListTargetsForSecurityProfileRequest

func (c *Client) ListTargetsForSecurityProfileRequest(input *ListTargetsForSecurityProfileInput) ListTargetsForSecurityProfileRequest

ListTargetsForSecurityProfileRequest returns a request value for making API operation for AWS IoT.

Lists the targets (thing groups) associated with a given Device Defender security profile.

// Example sending a request using ListTargetsForSecurityProfileRequest.
req := client.ListTargetsForSecurityProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingGroupsForThingRequest

func (c *Client) ListThingGroupsForThingRequest(input *ListThingGroupsForThingInput) ListThingGroupsForThingRequest

ListThingGroupsForThingRequest returns a request value for making API operation for AWS IoT.

List the thing groups to which the specified thing belongs.

// Example sending a request using ListThingGroupsForThingRequest.
req := client.ListThingGroupsForThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingGroupsRequest

func (c *Client) ListThingGroupsRequest(input *ListThingGroupsInput) ListThingGroupsRequest

ListThingGroupsRequest returns a request value for making API operation for AWS IoT.

List the thing groups in your account.

// Example sending a request using ListThingGroupsRequest.
req := client.ListThingGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingPrincipalsRequest

func (c *Client) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) ListThingPrincipalsRequest

ListThingPrincipalsRequest returns a request value for making API operation for AWS IoT.

Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

// Example sending a request using ListThingPrincipalsRequest.
req := client.ListThingPrincipalsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingRegistrationTaskReportsRequest

func (c *Client) ListThingRegistrationTaskReportsRequest(input *ListThingRegistrationTaskReportsInput) ListThingRegistrationTaskReportsRequest

ListThingRegistrationTaskReportsRequest returns a request value for making API operation for AWS IoT.

Information about the thing registration tasks.

// Example sending a request using ListThingRegistrationTaskReportsRequest.
req := client.ListThingRegistrationTaskReportsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingRegistrationTasksRequest

func (c *Client) ListThingRegistrationTasksRequest(input *ListThingRegistrationTasksInput) ListThingRegistrationTasksRequest

ListThingRegistrationTasksRequest returns a request value for making API operation for AWS IoT.

List bulk thing provisioning tasks.

// Example sending a request using ListThingRegistrationTasksRequest.
req := client.ListThingRegistrationTasksRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingTypesRequest

func (c *Client) ListThingTypesRequest(input *ListThingTypesInput) ListThingTypesRequest

ListThingTypesRequest returns a request value for making API operation for AWS IoT.

Lists the existing thing types.

// Example sending a request using ListThingTypesRequest.
req := client.ListThingTypesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingsInBillingGroupRequest

func (c *Client) ListThingsInBillingGroupRequest(input *ListThingsInBillingGroupInput) ListThingsInBillingGroupRequest

ListThingsInBillingGroupRequest returns a request value for making API operation for AWS IoT.

Lists the things you have added to the given billing group.

// Example sending a request using ListThingsInBillingGroupRequest.
req := client.ListThingsInBillingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingsInThingGroupRequest

func (c *Client) ListThingsInThingGroupRequest(input *ListThingsInThingGroupInput) ListThingsInThingGroupRequest

ListThingsInThingGroupRequest returns a request value for making API operation for AWS IoT.

Lists the things in the specified group.

// Example sending a request using ListThingsInThingGroupRequest.
req := client.ListThingsInThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListThingsRequest

func (c *Client) ListThingsRequest(input *ListThingsInput) ListThingsRequest

ListThingsRequest returns a request value for making API operation for AWS IoT.

Lists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red.

// Example sending a request using ListThingsRequest.
req := client.ListThingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListTopicRulesRequest

func (c *Client) ListTopicRulesRequest(input *ListTopicRulesInput) ListTopicRulesRequest

ListTopicRulesRequest returns a request value for making API operation for AWS IoT.

Lists the rules for the specific topic.

// Example sending a request using ListTopicRulesRequest.
req := client.ListTopicRulesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListV2LoggingLevelsRequest

func (c *Client) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) ListV2LoggingLevelsRequest

ListV2LoggingLevelsRequest returns a request value for making API operation for AWS IoT.

Lists logging levels.

// Example sending a request using ListV2LoggingLevelsRequest.
req := client.ListV2LoggingLevelsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ListViolationEventsRequest

func (c *Client) ListViolationEventsRequest(input *ListViolationEventsInput) ListViolationEventsRequest

ListViolationEventsRequest returns a request value for making API operation for AWS IoT.

Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).

// Example sending a request using ListViolationEventsRequest.
req := client.ListViolationEventsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) RegisterCACertificateRequest

func (c *Client) RegisterCACertificateRequest(input *RegisterCACertificateInput) RegisterCACertificateRequest

RegisterCACertificateRequest returns a request value for making API operation for AWS IoT.

Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.

// Example sending a request using RegisterCACertificateRequest.
req := client.RegisterCACertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) RegisterCertificateRequest

func (c *Client) RegisterCertificateRequest(input *RegisterCertificateInput) RegisterCertificateRequest

RegisterCertificateRequest returns a request value for making API operation for AWS IoT.

Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.

// Example sending a request using RegisterCertificateRequest.
req := client.RegisterCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) RegisterThingRequest

func (c *Client) RegisterThingRequest(input *RegisterThingInput) RegisterThingRequest

RegisterThingRequest returns a request value for making API operation for AWS IoT.

Provisions a thing.

// Example sending a request using RegisterThingRequest.
req := client.RegisterThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) RejectCertificateTransferRequest

func (c *Client) RejectCertificateTransferRequest(input *RejectCertificateTransferInput) RejectCertificateTransferRequest

RejectCertificateTransferRequest returns a request value for making API operation for AWS IoT.

Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.

To check for pending certificate transfers, call ListCertificates to enumerate your certificates.

This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.

// Example sending a request using RejectCertificateTransferRequest.
req := client.RejectCertificateTransferRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) RemoveThingFromBillingGroupRequest

func (c *Client) RemoveThingFromBillingGroupRequest(input *RemoveThingFromBillingGroupInput) RemoveThingFromBillingGroupRequest

RemoveThingFromBillingGroupRequest returns a request value for making API operation for AWS IoT.

Removes the given thing from the billing group.

// Example sending a request using RemoveThingFromBillingGroupRequest.
req := client.RemoveThingFromBillingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) RemoveThingFromThingGroupRequest

func (c *Client) RemoveThingFromThingGroupRequest(input *RemoveThingFromThingGroupInput) RemoveThingFromThingGroupRequest

RemoveThingFromThingGroupRequest returns a request value for making API operation for AWS IoT.

Remove the specified thing from the specified group.

// Example sending a request using RemoveThingFromThingGroupRequest.
req := client.RemoveThingFromThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ReplaceTopicRuleRequest

func (c *Client) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) ReplaceTopicRuleRequest

ReplaceTopicRuleRequest returns a request value for making API operation for AWS IoT.

Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.

// Example sending a request using ReplaceTopicRuleRequest.
req := client.ReplaceTopicRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) SearchIndexRequest

func (c *Client) SearchIndexRequest(input *SearchIndexInput) SearchIndexRequest

SearchIndexRequest returns a request value for making API operation for AWS IoT.

The query search index.

// Example sending a request using SearchIndexRequest.
req := client.SearchIndexRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) SetDefaultAuthorizerRequest

func (c *Client) SetDefaultAuthorizerRequest(input *SetDefaultAuthorizerInput) SetDefaultAuthorizerRequest

SetDefaultAuthorizerRequest returns a request value for making API operation for AWS IoT.

Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.

// Example sending a request using SetDefaultAuthorizerRequest.
req := client.SetDefaultAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) SetDefaultPolicyVersionRequest

func (c *Client) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) SetDefaultPolicyVersionRequest

SetDefaultPolicyVersionRequest returns a request value for making API operation for AWS IoT.

Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.

// Example sending a request using SetDefaultPolicyVersionRequest.
req := client.SetDefaultPolicyVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) SetLoggingOptionsRequest

func (c *Client) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) SetLoggingOptionsRequest

SetLoggingOptionsRequest returns a request value for making API operation for AWS IoT.

Sets the logging options.

NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.

// Example sending a request using SetLoggingOptionsRequest.
req := client.SetLoggingOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) SetV2LoggingLevelRequest

func (c *Client) SetV2LoggingLevelRequest(input *SetV2LoggingLevelInput) SetV2LoggingLevelRequest

SetV2LoggingLevelRequest returns a request value for making API operation for AWS IoT.

Sets the logging level.

// Example sending a request using SetV2LoggingLevelRequest.
req := client.SetV2LoggingLevelRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) SetV2LoggingOptionsRequest

func (c *Client) SetV2LoggingOptionsRequest(input *SetV2LoggingOptionsInput) SetV2LoggingOptionsRequest

SetV2LoggingOptionsRequest returns a request value for making API operation for AWS IoT.

Sets the logging options for the V2 logging service.

// Example sending a request using SetV2LoggingOptionsRequest.
req := client.SetV2LoggingOptionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) StartAuditMitigationActionsTaskRequest

func (c *Client) StartAuditMitigationActionsTaskRequest(input *StartAuditMitigationActionsTaskInput) StartAuditMitigationActionsTaskRequest

StartAuditMitigationActionsTaskRequest returns a request value for making API operation for AWS IoT.

Starts a task that applies a set of mitigation actions to the specified target.

// Example sending a request using StartAuditMitigationActionsTaskRequest.
req := client.StartAuditMitigationActionsTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) StartOnDemandAuditTaskRequest

func (c *Client) StartOnDemandAuditTaskRequest(input *StartOnDemandAuditTaskInput) StartOnDemandAuditTaskRequest

StartOnDemandAuditTaskRequest returns a request value for making API operation for AWS IoT.

Starts an on-demand Device Defender audit.

// Example sending a request using StartOnDemandAuditTaskRequest.
req := client.StartOnDemandAuditTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) StartThingRegistrationTaskRequest

func (c *Client) StartThingRegistrationTaskRequest(input *StartThingRegistrationTaskInput) StartThingRegistrationTaskRequest

StartThingRegistrationTaskRequest returns a request value for making API operation for AWS IoT.

Creates a bulk thing provisioning task.

// Example sending a request using StartThingRegistrationTaskRequest.
req := client.StartThingRegistrationTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) StopThingRegistrationTaskRequest

func (c *Client) StopThingRegistrationTaskRequest(input *StopThingRegistrationTaskInput) StopThingRegistrationTaskRequest

StopThingRegistrationTaskRequest returns a request value for making API operation for AWS IoT.

Cancels a bulk thing provisioning task.

// Example sending a request using StopThingRegistrationTaskRequest.
req := client.StopThingRegistrationTaskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS IoT.

Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) TestAuthorizationRequest

func (c *Client) TestAuthorizationRequest(input *TestAuthorizationInput) TestAuthorizationRequest

TestAuthorizationRequest returns a request value for making API operation for AWS IoT.

Tests if a specified principal is authorized to perform an AWS IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the AWS IoT device gateway.

// Example sending a request using TestAuthorizationRequest.
req := client.TestAuthorizationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) TestInvokeAuthorizerRequest

func (c *Client) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) TestInvokeAuthorizerRequest

TestInvokeAuthorizerRequest returns a request value for making API operation for AWS IoT.

Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the AWS IoT device gateway.

// Example sending a request using TestInvokeAuthorizerRequest.
req := client.TestInvokeAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) TransferCertificateRequest

func (c *Client) TransferCertificateRequest(input *TransferCertificateInput) TransferCertificateRequest

TransferCertificateRequest returns a request value for making API operation for AWS IoT.

Transfers the specified certificate to the specified AWS account.

You can cancel the transfer until it is acknowledged by the recipient.

No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.

The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.

The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.

// Example sending a request using TransferCertificateRequest.
req := client.TransferCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS IoT.

Removes the given tags (metadata) from the resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateAccountAuditConfigurationRequest

func (c *Client) UpdateAccountAuditConfigurationRequest(input *UpdateAccountAuditConfigurationInput) UpdateAccountAuditConfigurationRequest

UpdateAccountAuditConfigurationRequest returns a request value for making API operation for AWS IoT.

Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.

// Example sending a request using UpdateAccountAuditConfigurationRequest.
req := client.UpdateAccountAuditConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateAuthorizerRequest

func (c *Client) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) UpdateAuthorizerRequest

UpdateAuthorizerRequest returns a request value for making API operation for AWS IoT.

Updates an authorizer.

// Example sending a request using UpdateAuthorizerRequest.
req := client.UpdateAuthorizerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateBillingGroupRequest

func (c *Client) UpdateBillingGroupRequest(input *UpdateBillingGroupInput) UpdateBillingGroupRequest

UpdateBillingGroupRequest returns a request value for making API operation for AWS IoT.

Updates information about the billing group.

// Example sending a request using UpdateBillingGroupRequest.
req := client.UpdateBillingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateCACertificateRequest

func (c *Client) UpdateCACertificateRequest(input *UpdateCACertificateInput) UpdateCACertificateRequest

UpdateCACertificateRequest returns a request value for making API operation for AWS IoT.

Updates a registered CA certificate.

// Example sending a request using UpdateCACertificateRequest.
req := client.UpdateCACertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateCertificateRequest

func (c *Client) UpdateCertificateRequest(input *UpdateCertificateInput) UpdateCertificateRequest

UpdateCertificateRequest returns a request value for making API operation for AWS IoT.

Updates the status of the specified certificate. This operation is idempotent.

Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect currently connected devices, but these devices will be unable to reconnect.

The ACTIVE state is required to authenticate devices connecting to AWS IoT using a certificate.

// Example sending a request using UpdateCertificateRequest.
req := client.UpdateCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateDynamicThingGroupRequest

func (c *Client) UpdateDynamicThingGroupRequest(input *UpdateDynamicThingGroupInput) UpdateDynamicThingGroupRequest

UpdateDynamicThingGroupRequest returns a request value for making API operation for AWS IoT.

Updates a dynamic thing group.

// Example sending a request using UpdateDynamicThingGroupRequest.
req := client.UpdateDynamicThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateEventConfigurationsRequest

func (c *Client) UpdateEventConfigurationsRequest(input *UpdateEventConfigurationsInput) UpdateEventConfigurationsRequest

UpdateEventConfigurationsRequest returns a request value for making API operation for AWS IoT.

Updates the event configurations.

// Example sending a request using UpdateEventConfigurationsRequest.
req := client.UpdateEventConfigurationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateIndexingConfigurationRequest

func (c *Client) UpdateIndexingConfigurationRequest(input *UpdateIndexingConfigurationInput) UpdateIndexingConfigurationRequest

UpdateIndexingConfigurationRequest returns a request value for making API operation for AWS IoT.

Updates the search configuration.

// Example sending a request using UpdateIndexingConfigurationRequest.
req := client.UpdateIndexingConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateJobRequest

func (c *Client) UpdateJobRequest(input *UpdateJobInput) UpdateJobRequest

UpdateJobRequest returns a request value for making API operation for AWS IoT.

Updates supported fields of the specified job.

// Example sending a request using UpdateJobRequest.
req := client.UpdateJobRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateMitigationActionRequest

func (c *Client) UpdateMitigationActionRequest(input *UpdateMitigationActionInput) UpdateMitigationActionRequest

UpdateMitigationActionRequest returns a request value for making API operation for AWS IoT.

Updates the definition for the specified mitigation action.

// Example sending a request using UpdateMitigationActionRequest.
req := client.UpdateMitigationActionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateRoleAliasRequest

func (c *Client) UpdateRoleAliasRequest(input *UpdateRoleAliasInput) UpdateRoleAliasRequest

UpdateRoleAliasRequest returns a request value for making API operation for AWS IoT.

Updates a role alias.

// Example sending a request using UpdateRoleAliasRequest.
req := client.UpdateRoleAliasRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateScheduledAuditRequest

func (c *Client) UpdateScheduledAuditRequest(input *UpdateScheduledAuditInput) UpdateScheduledAuditRequest

UpdateScheduledAuditRequest returns a request value for making API operation for AWS IoT.

Updates a scheduled audit, including which checks are performed and how often the audit takes place.

// Example sending a request using UpdateScheduledAuditRequest.
req := client.UpdateScheduledAuditRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateSecurityProfileRequest

func (c *Client) UpdateSecurityProfileRequest(input *UpdateSecurityProfileInput) UpdateSecurityProfileRequest

UpdateSecurityProfileRequest returns a request value for making API operation for AWS IoT.

Updates a Device Defender security profile.

// Example sending a request using UpdateSecurityProfileRequest.
req := client.UpdateSecurityProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateStreamRequest

func (c *Client) UpdateStreamRequest(input *UpdateStreamInput) UpdateStreamRequest

UpdateStreamRequest returns a request value for making API operation for AWS IoT.

Updates an existing stream. The stream version will be incremented by one.

// Example sending a request using UpdateStreamRequest.
req := client.UpdateStreamRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateThingGroupRequest

func (c *Client) UpdateThingGroupRequest(input *UpdateThingGroupInput) UpdateThingGroupRequest

UpdateThingGroupRequest returns a request value for making API operation for AWS IoT.

Update a thing group.

// Example sending a request using UpdateThingGroupRequest.
req := client.UpdateThingGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateThingGroupsForThingRequest

func (c *Client) UpdateThingGroupsForThingRequest(input *UpdateThingGroupsForThingInput) UpdateThingGroupsForThingRequest

UpdateThingGroupsForThingRequest returns a request value for making API operation for AWS IoT.

Updates the groups to which the thing belongs.

// Example sending a request using UpdateThingGroupsForThingRequest.
req := client.UpdateThingGroupsForThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) UpdateThingRequest

func (c *Client) UpdateThingRequest(input *UpdateThingInput) UpdateThingRequest

UpdateThingRequest returns a request value for making API operation for AWS IoT.

Updates the data for a thing.

// Example sending a request using UpdateThingRequest.
req := client.UpdateThingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

func (*Client) ValidateSecurityProfileBehaviorsRequest

func (c *Client) ValidateSecurityProfileBehaviorsRequest(input *ValidateSecurityProfileBehaviorsInput) ValidateSecurityProfileBehaviorsRequest

ValidateSecurityProfileBehaviorsRequest returns a request value for making API operation for AWS IoT.

Validates a Device Defender security profile behaviors specification.

// Example sending a request using ValidateSecurityProfileBehaviorsRequest.
req := client.ValidateSecurityProfileBehaviorsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

type CloudwatchAlarmAction

type CloudwatchAlarmAction struct {

	// The CloudWatch alarm name.
	//
	// AlarmName is a required field
	AlarmName *string `locationName:"alarmName" type:"string" required:"true"`

	// The IAM role that allows access to the CloudWatch alarm.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The reason for the alarm change.
	//
	// StateReason is a required field
	StateReason *string `locationName:"stateReason" type:"string" required:"true"`

	// The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
	//
	// StateValue is a required field
	StateValue *string `locationName:"stateValue" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action that updates a CloudWatch alarm.

func (CloudwatchAlarmAction) MarshalFields

func (s CloudwatchAlarmAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CloudwatchAlarmAction) String

func (s CloudwatchAlarmAction) String() string

String returns the string representation

func (*CloudwatchAlarmAction) Validate

func (s *CloudwatchAlarmAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CloudwatchMetricAction

type CloudwatchMetricAction struct {

	// The CloudWatch metric name.
	//
	// MetricName is a required field
	MetricName *string `locationName:"metricName" type:"string" required:"true"`

	// The CloudWatch metric namespace name.
	//
	// MetricNamespace is a required field
	MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"`

	// An optional Unix timestamp (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
	MetricTimestamp *string `locationName:"metricTimestamp" type:"string"`

	// The metric unit (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
	// supported by CloudWatch.
	//
	// MetricUnit is a required field
	MetricUnit *string `locationName:"metricUnit" type:"string" required:"true"`

	// The CloudWatch metric value.
	//
	// MetricValue is a required field
	MetricValue *string `locationName:"metricValue" type:"string" required:"true"`

	// The IAM role that allows access to the CloudWatch metric.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action that captures a CloudWatch metric.

func (CloudwatchMetricAction) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CloudwatchMetricAction) String

func (s CloudwatchMetricAction) String() string

String returns the string representation

func (*CloudwatchMetricAction) Validate

func (s *CloudwatchMetricAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CodeSigning

type CodeSigning struct {

	// The ID of the AWSSignerJob which was created to sign the file.
	AwsSignerJobId *string `locationName:"awsSignerJobId" type:"string"`

	// A custom method for code signing a file.
	CustomCodeSigning *CustomCodeSigning `locationName:"customCodeSigning" type:"structure"`

	// Describes the code-signing job.
	StartSigningJobParameter *StartSigningJobParameter `locationName:"startSigningJobParameter" type:"structure"`
	// contains filtered or unexported fields
}

Describes the method to use when code signing a file.

func (CodeSigning) MarshalFields

func (s CodeSigning) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CodeSigning) String

func (s CodeSigning) String() string

String returns the string representation

func (*CodeSigning) Validate

func (s *CodeSigning) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CodeSigningCertificateChain

type CodeSigningCertificateChain struct {

	// The name of the certificate.
	CertificateName *string `locationName:"certificateName" type:"string"`

	// A base64 encoded binary representation of the code signing certificate chain.
	InlineDocument *string `locationName:"inlineDocument" type:"string"`
	// contains filtered or unexported fields
}

Describes the certificate chain being used when code signing a file.

func (CodeSigningCertificateChain) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CodeSigningCertificateChain) String

String returns the string representation

type CodeSigningSignature

type CodeSigningSignature struct {

	// A base64 encoded binary representation of the code signing signature.
	//
	// InlineDocument is automatically base64 encoded/decoded by the SDK.
	InlineDocument []byte `locationName:"inlineDocument" type:"blob"`
	// contains filtered or unexported fields
}

Describes the signature for a file.

func (CodeSigningSignature) MarshalFields

func (s CodeSigningSignature) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CodeSigningSignature) String

func (s CodeSigningSignature) String() string

String returns the string representation

type ComparisonOperator

type ComparisonOperator string
const (
	ComparisonOperatorLessThan          ComparisonOperator = "less-than"
	ComparisonOperatorLessThanEquals    ComparisonOperator = "less-than-equals"
	ComparisonOperatorGreaterThan       ComparisonOperator = "greater-than"
	ComparisonOperatorGreaterThanEquals ComparisonOperator = "greater-than-equals"
	ComparisonOperatorInCidrSet         ComparisonOperator = "in-cidr-set"
	ComparisonOperatorNotInCidrSet      ComparisonOperator = "not-in-cidr-set"
	ComparisonOperatorInPortSet         ComparisonOperator = "in-port-set"
	ComparisonOperatorNotInPortSet      ComparisonOperator = "not-in-port-set"
)

Enum values for ComparisonOperator

func (ComparisonOperator) MarshalValue

func (enum ComparisonOperator) MarshalValue() (string, error)

func (ComparisonOperator) MarshalValueBuf

func (enum ComparisonOperator) MarshalValueBuf(b []byte) ([]byte, error)

type Configuration

type Configuration struct {

	// True to enable the configuration.
	Enabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Configuration.

func (Configuration) MarshalFields

func (s Configuration) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Configuration) String

func (s Configuration) String() string

String returns the string representation

type CreateAuthorizerInput

type CreateAuthorizerInput struct {

	// The ARN of the authorizer's Lambda function.
	//
	// AuthorizerFunctionArn is a required field
	AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string" required:"true"`

	// The authorizer name.
	//
	// AuthorizerName is a required field
	AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"`

	// The status of the create authorizer request.
	Status AuthorizerStatus `locationName:"status" type:"string" enum:"true"`

	// The name of the token key used to extract the token from the HTTP headers.
	//
	// TokenKeyName is a required field
	TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string" required:"true"`

	// The public keys used to verify the digital signature returned by your custom
	// authentication service.
	//
	// TokenSigningPublicKeys is a required field
	TokenSigningPublicKeys map[string]string `locationName:"tokenSigningPublicKeys" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAuthorizerInput) MarshalFields

func (s CreateAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAuthorizerInput) String

func (s CreateAuthorizerInput) String() string

String returns the string representation

func (*CreateAuthorizerInput) Validate

func (s *CreateAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAuthorizerOutput

type CreateAuthorizerOutput struct {

	// The authorizer ARN.
	AuthorizerArn *string `locationName:"authorizerArn" type:"string"`

	// The authorizer's name.
	AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateAuthorizerOutput) String

func (s CreateAuthorizerOutput) String() string

String returns the string representation

type CreateAuthorizerRequest

type CreateAuthorizerRequest struct {
	*aws.Request
	Input *CreateAuthorizerInput
	Copy  func(*CreateAuthorizerInput) CreateAuthorizerRequest
}

CreateAuthorizerRequest is the request type for the CreateAuthorizer API operation.

func (CreateAuthorizerRequest) Send

Send marshals and sends the CreateAuthorizer API request.

type CreateAuthorizerResponse

type CreateAuthorizerResponse struct {
	*CreateAuthorizerOutput
	// contains filtered or unexported fields
}

CreateAuthorizerResponse is the response type for the CreateAuthorizer API operation.

func (*CreateAuthorizerResponse) SDKResponseMetdata

func (r *CreateAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateAuthorizer request.

type CreateBillingGroupInput

type CreateBillingGroupInput struct {

	// The name you wish to give to the billing group.
	//
	// BillingGroupName is a required field
	BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"`

	// The properties of the billing group.
	BillingGroupProperties *BillingGroupProperties `locationName:"billingGroupProperties" type:"structure"`

	// Metadata which can be used to manage the billing group.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateBillingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBillingGroupInput) String

func (s CreateBillingGroupInput) String() string

String returns the string representation

func (*CreateBillingGroupInput) Validate

func (s *CreateBillingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateBillingGroupOutput

type CreateBillingGroupOutput struct {

	// The ARN of the billing group.
	BillingGroupArn *string `locationName:"billingGroupArn" type:"string"`

	// The ID of the billing group.
	BillingGroupId *string `locationName:"billingGroupId" min:"1" type:"string"`

	// The name you gave to the billing group.
	BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateBillingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateBillingGroupOutput) String

func (s CreateBillingGroupOutput) String() string

String returns the string representation

type CreateBillingGroupRequest

type CreateBillingGroupRequest struct {
	*aws.Request
	Input *CreateBillingGroupInput
	Copy  func(*CreateBillingGroupInput) CreateBillingGroupRequest
}

CreateBillingGroupRequest is the request type for the CreateBillingGroup API operation.

func (CreateBillingGroupRequest) Send

Send marshals and sends the CreateBillingGroup API request.

type CreateBillingGroupResponse

type CreateBillingGroupResponse struct {
	*CreateBillingGroupOutput
	// contains filtered or unexported fields
}

CreateBillingGroupResponse is the response type for the CreateBillingGroup API operation.

func (*CreateBillingGroupResponse) SDKResponseMetdata

func (r *CreateBillingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateBillingGroup request.

type CreateCertificateFromCsrInput

type CreateCertificateFromCsrInput struct {

	// The certificate signing request (CSR).
	//
	// CertificateSigningRequest is a required field
	CertificateSigningRequest *string `locationName:"certificateSigningRequest" min:"1" type:"string" required:"true"`

	// Specifies whether the certificate is active.
	SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"`
	// contains filtered or unexported fields
}

The input for the CreateCertificateFromCsr operation.

func (CreateCertificateFromCsrInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCertificateFromCsrInput) String

String returns the string representation

func (*CreateCertificateFromCsrInput) Validate

func (s *CreateCertificateFromCsrInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateCertificateFromCsrOutput

type CreateCertificateFromCsrOutput struct {

	// The Amazon Resource Name (ARN) of the certificate. You can use the ARN as
	// a principal for policy operations.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The ID of the certificate. Certificate management operations only take a
	// certificateId.
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`

	// The certificate data, in PEM format.
	CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The output from the CreateCertificateFromCsr operation.

func (CreateCertificateFromCsrOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateCertificateFromCsrOutput) String

String returns the string representation

type CreateCertificateFromCsrRequest

type CreateCertificateFromCsrRequest struct {
	*aws.Request
	Input *CreateCertificateFromCsrInput
	Copy  func(*CreateCertificateFromCsrInput) CreateCertificateFromCsrRequest
}

CreateCertificateFromCsrRequest is the request type for the CreateCertificateFromCsr API operation.

func (CreateCertificateFromCsrRequest) Send

Send marshals and sends the CreateCertificateFromCsr API request.

type CreateCertificateFromCsrResponse

type CreateCertificateFromCsrResponse struct {
	*CreateCertificateFromCsrOutput
	// contains filtered or unexported fields
}

CreateCertificateFromCsrResponse is the response type for the CreateCertificateFromCsr API operation.

func (*CreateCertificateFromCsrResponse) SDKResponseMetdata

func (r *CreateCertificateFromCsrResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateCertificateFromCsr request.

type CreateDynamicThingGroupInput

type CreateDynamicThingGroupInput struct {

	// The dynamic thing group index name.
	//
	// Currently one index is supported: "AWS_Things".
	IndexName *string `locationName:"indexName" min:"1" type:"string"`

	// The dynamic thing group search query string.
	//
	// See Query Syntax (https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html)
	// for information about query string syntax.
	//
	// QueryString is a required field
	QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"`

	// The dynamic thing group query version.
	//
	// Currently one query version is supported: "2017-09-30". If not specified,
	// the query version defaults to this value.
	QueryVersion *string `locationName:"queryVersion" type:"string"`

	// Metadata which can be used to manage the dynamic thing group.
	Tags []Tag `locationName:"tags" type:"list"`

	// The dynamic thing group name to create.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`

	// The dynamic thing group properties.
	ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDynamicThingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDynamicThingGroupInput) String

String returns the string representation

func (*CreateDynamicThingGroupInput) Validate

func (s *CreateDynamicThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDynamicThingGroupOutput

type CreateDynamicThingGroupOutput struct {

	// The dynamic thing group index name.
	IndexName *string `locationName:"indexName" min:"1" type:"string"`

	// The dynamic thing group search query string.
	QueryString *string `locationName:"queryString" min:"1" type:"string"`

	// The dynamic thing group query version.
	QueryVersion *string `locationName:"queryVersion" type:"string"`

	// The dynamic thing group ARN.
	ThingGroupArn *string `locationName:"thingGroupArn" type:"string"`

	// The dynamic thing group ID.
	ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"`

	// The dynamic thing group name.
	ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateDynamicThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDynamicThingGroupOutput) String

String returns the string representation

type CreateDynamicThingGroupRequest

type CreateDynamicThingGroupRequest struct {
	*aws.Request
	Input *CreateDynamicThingGroupInput
	Copy  func(*CreateDynamicThingGroupInput) CreateDynamicThingGroupRequest
}

CreateDynamicThingGroupRequest is the request type for the CreateDynamicThingGroup API operation.

func (CreateDynamicThingGroupRequest) Send

Send marshals and sends the CreateDynamicThingGroup API request.

type CreateDynamicThingGroupResponse

type CreateDynamicThingGroupResponse struct {
	*CreateDynamicThingGroupOutput
	// contains filtered or unexported fields
}

CreateDynamicThingGroupResponse is the response type for the CreateDynamicThingGroup API operation.

func (*CreateDynamicThingGroupResponse) SDKResponseMetdata

func (r *CreateDynamicThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDynamicThingGroup request.

type CreateJobInput

type CreateJobInput struct {

	// Allows you to create criteria to abort a job.
	AbortConfig *AbortConfig `locationName:"abortConfig" type:"structure"`

	// A short text description of the job.
	Description *string `locationName:"description" type:"string"`

	// The job document.
	//
	// If the job document resides in an S3 bucket, you must use a placeholder link
	// when specifying the document.
	//
	// The placeholder link is of the following form:
	//
	// ${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
	//
	// where bucket is your bucket name and key is the object in the bucket to which
	// you are linking.
	Document *string `locationName:"document" type:"string"`

	// An S3 link to the job document.
	DocumentSource *string `locationName:"documentSource" min:"1" type:"string"`

	// Allows you to create a staged rollout of the job.
	JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"`

	// A job identifier which must be unique for your AWS account. We recommend
	// using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// Configuration information for pre-signed S3 URLs.
	PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"`

	// Metadata which can be used to manage the job.
	Tags []Tag `locationName:"tags" type:"list"`

	// Specifies whether the job will continue to run (CONTINUOUS), or will be complete
	// after all those things specified as targets have completed the job (SNAPSHOT).
	// If continuous, the job may also be run on a thing when a change is detected
	// in a target. For example, a job will run on a thing when the thing is added
	// to a target group, even after the job was completed by all things originally
	// in the group.
	TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"`

	// A list of things and thing groups to which the job should be sent.
	//
	// Targets is a required field
	Targets []string `locationName:"targets" min:"1" type:"list" required:"true"`

	// Specifies the amount of time each device has to finish its execution of the
	// job. The timer is started when the job execution status is set to IN_PROGRESS.
	// If the job execution status is not set to another terminal state before the
	// time expires, it will be automatically set to TIMED_OUT.
	TimeoutConfig *TimeoutConfig `locationName:"timeoutConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateJobInput) MarshalFields

func (s CreateJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateJobInput) String

func (s CreateJobInput) String() string

String returns the string representation

func (*CreateJobInput) Validate

func (s *CreateJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateJobOutput

type CreateJobOutput struct {

	// The job description.
	Description *string `locationName:"description" type:"string"`

	// The job ARN.
	JobArn *string `locationName:"jobArn" type:"string"`

	// The unique identifier you assigned to this job.
	JobId *string `locationName:"jobId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateJobOutput) MarshalFields

func (s CreateJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateJobOutput) String

func (s CreateJobOutput) String() string

String returns the string representation

type CreateJobRequest

type CreateJobRequest struct {
	*aws.Request
	Input *CreateJobInput
	Copy  func(*CreateJobInput) CreateJobRequest
}

CreateJobRequest is the request type for the CreateJob API operation.

func (CreateJobRequest) Send

Send marshals and sends the CreateJob API request.

type CreateJobResponse

type CreateJobResponse struct {
	*CreateJobOutput
	// contains filtered or unexported fields
}

CreateJobResponse is the response type for the CreateJob API operation.

func (*CreateJobResponse) SDKResponseMetdata

func (r *CreateJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateJob request.

type CreateKeysAndCertificateInput

type CreateKeysAndCertificateInput struct {

	// Specifies whether the certificate is active.
	SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"`
	// contains filtered or unexported fields
}

The input for the CreateKeysAndCertificate operation.

func (CreateKeysAndCertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateKeysAndCertificateInput) String

String returns the string representation

type CreateKeysAndCertificateOutput

type CreateKeysAndCertificateOutput struct {

	// The ARN of the certificate.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The ID of the certificate. AWS IoT issues a default subject name for the
	// certificate (for example, AWS IoT Certificate).
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`

	// The certificate data, in PEM format.
	CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"`

	// The generated key pair.
	KeyPair *KeyPair `locationName:"keyPair" type:"structure"`
	// contains filtered or unexported fields
}

The output of the CreateKeysAndCertificate operation.

func (CreateKeysAndCertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateKeysAndCertificateOutput) String

String returns the string representation

type CreateKeysAndCertificateRequest

type CreateKeysAndCertificateRequest struct {
	*aws.Request
	Input *CreateKeysAndCertificateInput
	Copy  func(*CreateKeysAndCertificateInput) CreateKeysAndCertificateRequest
}

CreateKeysAndCertificateRequest is the request type for the CreateKeysAndCertificate API operation.

func (CreateKeysAndCertificateRequest) Send

Send marshals and sends the CreateKeysAndCertificate API request.

type CreateKeysAndCertificateResponse

type CreateKeysAndCertificateResponse struct {
	*CreateKeysAndCertificateOutput
	// contains filtered or unexported fields
}

CreateKeysAndCertificateResponse is the response type for the CreateKeysAndCertificate API operation.

func (*CreateKeysAndCertificateResponse) SDKResponseMetdata

func (r *CreateKeysAndCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateKeysAndCertificate request.

type CreateMitigationActionInput

type CreateMitigationActionInput struct {

	// A friendly name for the action. Choose a friendly name that accurately describes
	// the action (for example, EnableLoggingAction).
	//
	// ActionName is a required field
	ActionName *string `location:"uri" locationName:"actionName" type:"string" required:"true"`

	// Defines the type of action and the parameters for that action.
	//
	// ActionParams is a required field
	ActionParams *MitigationActionParams `locationName:"actionParams" type:"structure" required:"true"`

	// The ARN of the IAM role that is used to apply the mitigation action.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"`

	// Metadata that can be used to manage the mitigation action.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateMitigationActionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMitigationActionInput) String

String returns the string representation

func (*CreateMitigationActionInput) Validate

func (s *CreateMitigationActionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateMitigationActionOutput

type CreateMitigationActionOutput struct {

	// The ARN for the new mitigation action.
	ActionArn *string `locationName:"actionArn" type:"string"`

	// A unique identifier for the new mitigation action.
	ActionId *string `locationName:"actionId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateMitigationActionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateMitigationActionOutput) String

String returns the string representation

type CreateMitigationActionRequest

type CreateMitigationActionRequest struct {
	*aws.Request
	Input *CreateMitigationActionInput
	Copy  func(*CreateMitigationActionInput) CreateMitigationActionRequest
}

CreateMitigationActionRequest is the request type for the CreateMitigationAction API operation.

func (CreateMitigationActionRequest) Send

Send marshals and sends the CreateMitigationAction API request.

type CreateMitigationActionResponse

type CreateMitigationActionResponse struct {
	*CreateMitigationActionOutput
	// contains filtered or unexported fields
}

CreateMitigationActionResponse is the response type for the CreateMitigationAction API operation.

func (*CreateMitigationActionResponse) SDKResponseMetdata

func (r *CreateMitigationActionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateMitigationAction request.

type CreateOTAUpdateInput

type CreateOTAUpdateInput struct {

	// A list of additional OTA update parameters which are name-value pairs.
	AdditionalParameters map[string]string `locationName:"additionalParameters" type:"map"`

	// Configuration for the rollout of OTA updates.
	AwsJobExecutionsRolloutConfig *AwsJobExecutionsRolloutConfig `locationName:"awsJobExecutionsRolloutConfig" type:"structure"`

	// The description of the OTA update.
	Description *string `locationName:"description" type:"string"`

	// The files to be streamed by the OTA update.
	//
	// Files is a required field
	Files []OTAUpdateFile `locationName:"files" min:"1" type:"list" required:"true"`

	// The ID of the OTA update to be created.
	//
	// OtaUpdateId is a required field
	OtaUpdateId *string `location:"uri" locationName:"otaUpdateId" min:"1" type:"string" required:"true"`

	// The IAM role that allows access to the AWS IoT Jobs service.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"`

	// Metadata which can be used to manage updates.
	Tags []Tag `locationName:"tags" type:"list"`

	// Specifies whether the update will continue to run (CONTINUOUS), or will be
	// complete after all the things specified as targets have completed the update
	// (SNAPSHOT). If continuous, the update may also be run on a thing when a change
	// is detected in a target. For example, an update will run on a thing when
	// the thing is added to a target group, even after the update was completed
	// by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
	TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"`

	// The targeted devices to receive OTA updates.
	//
	// Targets is a required field
	Targets []string `locationName:"targets" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateOTAUpdateInput) MarshalFields

func (s CreateOTAUpdateInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateOTAUpdateInput) String

func (s CreateOTAUpdateInput) String() string

String returns the string representation

func (*CreateOTAUpdateInput) Validate

func (s *CreateOTAUpdateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateOTAUpdateOutput

type CreateOTAUpdateOutput struct {

	// The AWS IoT job ARN associated with the OTA update.
	AwsIotJobArn *string `locationName:"awsIotJobArn" type:"string"`

	// The AWS IoT job ID associated with the OTA update.
	AwsIotJobId *string `locationName:"awsIotJobId" type:"string"`

	// The OTA update ARN.
	OtaUpdateArn *string `locationName:"otaUpdateArn" type:"string"`

	// The OTA update ID.
	OtaUpdateId *string `locationName:"otaUpdateId" min:"1" type:"string"`

	// The OTA update status.
	OtaUpdateStatus OTAUpdateStatus `locationName:"otaUpdateStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateOTAUpdateOutput) MarshalFields

func (s CreateOTAUpdateOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateOTAUpdateOutput) String

func (s CreateOTAUpdateOutput) String() string

String returns the string representation

type CreateOTAUpdateRequest

type CreateOTAUpdateRequest struct {
	*aws.Request
	Input *CreateOTAUpdateInput
	Copy  func(*CreateOTAUpdateInput) CreateOTAUpdateRequest
}

CreateOTAUpdateRequest is the request type for the CreateOTAUpdate API operation.

func (CreateOTAUpdateRequest) Send

Send marshals and sends the CreateOTAUpdate API request.

type CreateOTAUpdateResponse

type CreateOTAUpdateResponse struct {
	*CreateOTAUpdateOutput
	// contains filtered or unexported fields
}

CreateOTAUpdateResponse is the response type for the CreateOTAUpdate API operation.

func (*CreateOTAUpdateResponse) SDKResponseMetdata

func (r *CreateOTAUpdateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateOTAUpdate request.

type CreatePolicyInput

type CreatePolicyInput struct {

	// The JSON document that describes the policy. policyDocument must have a minimum
	// length of 1, with a maximum length of 2048, excluding whitespace.
	//
	// PolicyDocument is a required field
	PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"`

	// The policy name.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the CreatePolicy operation.

func (CreatePolicyInput) MarshalFields

func (s CreatePolicyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePolicyInput) String

func (s CreatePolicyInput) String() string

String returns the string representation

func (*CreatePolicyInput) Validate

func (s *CreatePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePolicyOutput

type CreatePolicyOutput struct {

	// The policy ARN.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The JSON document that describes the policy.
	PolicyDocument *string `locationName:"policyDocument" type:"string"`

	// The policy name.
	PolicyName *string `locationName:"policyName" min:"1" type:"string"`

	// The policy version ID.
	PolicyVersionId *string `locationName:"policyVersionId" type:"string"`
	// contains filtered or unexported fields
}

The output from the CreatePolicy operation.

func (CreatePolicyOutput) MarshalFields

func (s CreatePolicyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePolicyOutput) String

func (s CreatePolicyOutput) String() string

String returns the string representation

type CreatePolicyRequest

type CreatePolicyRequest struct {
	*aws.Request
	Input *CreatePolicyInput
	Copy  func(*CreatePolicyInput) CreatePolicyRequest
}

CreatePolicyRequest is the request type for the CreatePolicy API operation.

func (CreatePolicyRequest) Send

Send marshals and sends the CreatePolicy API request.

type CreatePolicyResponse

type CreatePolicyResponse struct {
	*CreatePolicyOutput
	// contains filtered or unexported fields
}

CreatePolicyResponse is the response type for the CreatePolicy API operation.

func (*CreatePolicyResponse) SDKResponseMetdata

func (r *CreatePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreatePolicy request.

type CreatePolicyVersionInput

type CreatePolicyVersionInput struct {

	// The JSON document that describes the policy. Minimum length of 1. Maximum
	// length of 2048, excluding whitespace.
	//
	// PolicyDocument is a required field
	PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"`

	// The policy name.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// Specifies whether the policy version is set as the default. When this parameter
	// is true, the new policy version becomes the operative version (that is, the
	// version that is in effect for the certificates to which the policy is attached).
	SetAsDefault *bool `location:"querystring" locationName:"setAsDefault" type:"boolean"`
	// contains filtered or unexported fields
}

The input for the CreatePolicyVersion operation.

func (CreatePolicyVersionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePolicyVersionInput) String

func (s CreatePolicyVersionInput) String() string

String returns the string representation

func (*CreatePolicyVersionInput) Validate

func (s *CreatePolicyVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePolicyVersionOutput

type CreatePolicyVersionOutput struct {

	// Specifies whether the policy version is the default.
	IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"`

	// The policy ARN.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The JSON document that describes the policy.
	PolicyDocument *string `locationName:"policyDocument" type:"string"`

	// The policy version ID.
	PolicyVersionId *string `locationName:"policyVersionId" type:"string"`
	// contains filtered or unexported fields
}

The output of the CreatePolicyVersion operation.

func (CreatePolicyVersionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreatePolicyVersionOutput) String

func (s CreatePolicyVersionOutput) String() string

String returns the string representation

type CreatePolicyVersionRequest

type CreatePolicyVersionRequest struct {
	*aws.Request
	Input *CreatePolicyVersionInput
	Copy  func(*CreatePolicyVersionInput) CreatePolicyVersionRequest
}

CreatePolicyVersionRequest is the request type for the CreatePolicyVersion API operation.

func (CreatePolicyVersionRequest) Send

Send marshals and sends the CreatePolicyVersion API request.

type CreatePolicyVersionResponse

type CreatePolicyVersionResponse struct {
	*CreatePolicyVersionOutput
	// contains filtered or unexported fields
}

CreatePolicyVersionResponse is the response type for the CreatePolicyVersion API operation.

func (*CreatePolicyVersionResponse) SDKResponseMetdata

func (r *CreatePolicyVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreatePolicyVersion request.

type CreateRoleAliasInput

type CreateRoleAliasInput struct {

	// How long (in seconds) the credentials will be valid.
	CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"`

	// The role alias that points to a role ARN. This allows you to change the role
	// without having to update the device.
	//
	// RoleAlias is a required field
	RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"`

	// The role ARN.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRoleAliasInput) MarshalFields

func (s CreateRoleAliasInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateRoleAliasInput) String

func (s CreateRoleAliasInput) String() string

String returns the string representation

func (*CreateRoleAliasInput) Validate

func (s *CreateRoleAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRoleAliasOutput

type CreateRoleAliasOutput struct {

	// The role alias.
	RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"`

	// The role alias ARN.
	RoleAliasArn *string `locationName:"roleAliasArn" type:"string"`
	// contains filtered or unexported fields
}

func (CreateRoleAliasOutput) MarshalFields

func (s CreateRoleAliasOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateRoleAliasOutput) String

func (s CreateRoleAliasOutput) String() string

String returns the string representation

type CreateRoleAliasRequest

type CreateRoleAliasRequest struct {
	*aws.Request
	Input *CreateRoleAliasInput
	Copy  func(*CreateRoleAliasInput) CreateRoleAliasRequest
}

CreateRoleAliasRequest is the request type for the CreateRoleAlias API operation.

func (CreateRoleAliasRequest) Send

Send marshals and sends the CreateRoleAlias API request.

type CreateRoleAliasResponse

type CreateRoleAliasResponse struct {
	*CreateRoleAliasOutput
	// contains filtered or unexported fields
}

CreateRoleAliasResponse is the response type for the CreateRoleAlias API operation.

func (*CreateRoleAliasResponse) SDKResponseMetdata

func (r *CreateRoleAliasResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateRoleAlias request.

type CreateScheduledAuditInput

type CreateScheduledAuditInput struct {

	// The day of the month on which the scheduled audit takes place. Can be "1"
	// through "31" or "LAST". This field is required if the "frequency" parameter
	// is set to "MONTHLY". If days 29-31 are specified, and the month does not
	// have that many days, the audit takes place on the "LAST" day of the month.
	DayOfMonth *string `locationName:"dayOfMonth" type:"string"`

	// The day of the week on which the scheduled audit takes place. Can be one
	// of "SUN", "MON", "TUE", "WED", "THU", "FRI", or "SAT". This field is required
	// if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
	DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"`

	// How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY",
	// "BIWEEKLY" or "MONTHLY". The start time of each audit is determined by the
	// system.
	//
	// Frequency is a required field
	Frequency AuditFrequency `locationName:"frequency" type:"string" required:"true" enum:"true"`

	// The name you want to give to the scheduled audit. (Max. 128 chars)
	//
	// ScheduledAuditName is a required field
	ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"`

	// Metadata that can be used to manage the scheduled audit.
	Tags []Tag `locationName:"tags" type:"list"`

	// Which checks are performed during the scheduled audit. Checks must be enabled
	// for your account. (Use DescribeAccountAuditConfiguration to see the list
	// of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
	// to select which checks are enabled.)
	//
	// TargetCheckNames is a required field
	TargetCheckNames []string `locationName:"targetCheckNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateScheduledAuditInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateScheduledAuditInput) String

func (s CreateScheduledAuditInput) String() string

String returns the string representation

func (*CreateScheduledAuditInput) Validate

func (s *CreateScheduledAuditInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateScheduledAuditOutput

type CreateScheduledAuditOutput struct {

	// The ARN of the scheduled audit.
	ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"`
	// contains filtered or unexported fields
}

func (CreateScheduledAuditOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateScheduledAuditOutput) String

String returns the string representation

type CreateScheduledAuditRequest

type CreateScheduledAuditRequest struct {
	*aws.Request
	Input *CreateScheduledAuditInput
	Copy  func(*CreateScheduledAuditInput) CreateScheduledAuditRequest
}

CreateScheduledAuditRequest is the request type for the CreateScheduledAudit API operation.

func (CreateScheduledAuditRequest) Send

Send marshals and sends the CreateScheduledAudit API request.

type CreateScheduledAuditResponse

type CreateScheduledAuditResponse struct {
	*CreateScheduledAuditOutput
	// contains filtered or unexported fields
}

CreateScheduledAuditResponse is the response type for the CreateScheduledAudit API operation.

func (*CreateScheduledAuditResponse) SDKResponseMetdata

func (r *CreateScheduledAuditResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateScheduledAudit request.

type CreateSecurityProfileInput

type CreateSecurityProfileInput struct {

	// 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.
	AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"`

	// Specifies the destinations to which alerts are sent. (Alerts are always sent
	// to the console.) Alerts are generated when a device (thing) violates a behavior.
	AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"`

	// Specifies the behaviors that, when violated by a device (thing), cause an
	// alert.
	Behaviors []Behavior `locationName:"behaviors" type:"list"`

	// A description of the security profile.
	SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"`

	// The name you are giving to the security profile.
	//
	// SecurityProfileName is a required field
	SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"`

	// Metadata that can be used to manage the security profile.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateSecurityProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSecurityProfileInput) String

String returns the string representation

func (*CreateSecurityProfileInput) Validate

func (s *CreateSecurityProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSecurityProfileOutput

type CreateSecurityProfileOutput struct {

	// The ARN of the security profile.
	SecurityProfileArn *string `locationName:"securityProfileArn" type:"string"`

	// The name you gave to the security profile.
	SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateSecurityProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSecurityProfileOutput) String

String returns the string representation

type CreateSecurityProfileRequest

type CreateSecurityProfileRequest struct {
	*aws.Request
	Input *CreateSecurityProfileInput
	Copy  func(*CreateSecurityProfileInput) CreateSecurityProfileRequest
}

CreateSecurityProfileRequest is the request type for the CreateSecurityProfile API operation.

func (CreateSecurityProfileRequest) Send

Send marshals and sends the CreateSecurityProfile API request.

type CreateSecurityProfileResponse

type CreateSecurityProfileResponse struct {
	*CreateSecurityProfileOutput
	// contains filtered or unexported fields
}

CreateSecurityProfileResponse is the response type for the CreateSecurityProfile API operation.

func (*CreateSecurityProfileResponse) SDKResponseMetdata

func (r *CreateSecurityProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateSecurityProfile request.

type CreateStreamInput

type CreateStreamInput struct {

	// A description of the stream.
	Description *string `locationName:"description" type:"string"`

	// The files to stream.
	//
	// Files is a required field
	Files []StreamFile `locationName:"files" min:"1" type:"list" required:"true"`

	// An IAM role that allows the IoT service principal assumes to access your
	// S3 files.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"`

	// The stream ID.
	//
	// StreamId is a required field
	StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"`

	// Metadata which can be used to manage streams.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateStreamInput) MarshalFields

func (s CreateStreamInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateStreamInput) String

func (s CreateStreamInput) String() string

String returns the string representation

func (*CreateStreamInput) Validate

func (s *CreateStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStreamOutput

type CreateStreamOutput struct {

	// A description of the stream.
	Description *string `locationName:"description" type:"string"`

	// The stream ARN.
	StreamArn *string `locationName:"streamArn" type:"string"`

	// The stream ID.
	StreamId *string `locationName:"streamId" min:"1" type:"string"`

	// The version of the stream.
	StreamVersion *int64 `locationName:"streamVersion" type:"integer"`
	// contains filtered or unexported fields
}

func (CreateStreamOutput) MarshalFields

func (s CreateStreamOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateStreamOutput) String

func (s CreateStreamOutput) String() string

String returns the string representation

type CreateStreamRequest

type CreateStreamRequest struct {
	*aws.Request
	Input *CreateStreamInput
	Copy  func(*CreateStreamInput) CreateStreamRequest
}

CreateStreamRequest is the request type for the CreateStream API operation.

func (CreateStreamRequest) Send

Send marshals and sends the CreateStream API request.

type CreateStreamResponse

type CreateStreamResponse struct {
	*CreateStreamOutput
	// contains filtered or unexported fields
}

CreateStreamResponse is the response type for the CreateStream API operation.

func (*CreateStreamResponse) SDKResponseMetdata

func (r *CreateStreamResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateStream request.

type CreateThingGroupInput

type CreateThingGroupInput struct {

	// The name of the parent thing group.
	ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"`

	// Metadata which can be used to manage the thing group.
	Tags []Tag `locationName:"tags" type:"list"`

	// The thing group name to create.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`

	// The thing group properties.
	ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateThingGroupInput) MarshalFields

func (s CreateThingGroupInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateThingGroupInput) String

func (s CreateThingGroupInput) String() string

String returns the string representation

func (*CreateThingGroupInput) Validate

func (s *CreateThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateThingGroupOutput

type CreateThingGroupOutput struct {

	// The thing group ARN.
	ThingGroupArn *string `locationName:"thingGroupArn" type:"string"`

	// The thing group ID.
	ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"`

	// The thing group name.
	ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateThingGroupOutput) String

func (s CreateThingGroupOutput) String() string

String returns the string representation

type CreateThingGroupRequest

type CreateThingGroupRequest struct {
	*aws.Request
	Input *CreateThingGroupInput
	Copy  func(*CreateThingGroupInput) CreateThingGroupRequest
}

CreateThingGroupRequest is the request type for the CreateThingGroup API operation.

func (CreateThingGroupRequest) Send

Send marshals and sends the CreateThingGroup API request.

type CreateThingGroupResponse

type CreateThingGroupResponse struct {
	*CreateThingGroupOutput
	// contains filtered or unexported fields
}

CreateThingGroupResponse is the response type for the CreateThingGroup API operation.

func (*CreateThingGroupResponse) SDKResponseMetdata

func (r *CreateThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateThingGroup request.

type CreateThingInput

type CreateThingInput struct {

	// The attribute payload, which consists of up to three name/value pairs in
	// a JSON document. For example:
	//
	// {\"attributes\":{\"string1\":\"string2\"}}
	AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"`

	// The name of the billing group the thing will be added to.
	BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"`

	// The name of the thing to create.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`

	// The name of the thing type associated with the new thing.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input for the CreateThing operation.

func (CreateThingInput) MarshalFields

func (s CreateThingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateThingInput) String

func (s CreateThingInput) String() string

String returns the string representation

func (*CreateThingInput) Validate

func (s *CreateThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateThingOutput

type CreateThingOutput struct {

	// The ARN of the new thing.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The thing ID.
	ThingId *string `locationName:"thingId" type:"string"`

	// The name of the new thing.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The output of the CreateThing operation.

func (CreateThingOutput) MarshalFields

func (s CreateThingOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateThingOutput) String

func (s CreateThingOutput) String() string

String returns the string representation

type CreateThingRequest

type CreateThingRequest struct {
	*aws.Request
	Input *CreateThingInput
	Copy  func(*CreateThingInput) CreateThingRequest
}

CreateThingRequest is the request type for the CreateThing API operation.

func (CreateThingRequest) Send

Send marshals and sends the CreateThing API request.

type CreateThingResponse

type CreateThingResponse struct {
	*CreateThingOutput
	// contains filtered or unexported fields
}

CreateThingResponse is the response type for the CreateThing API operation.

func (*CreateThingResponse) SDKResponseMetdata

func (r *CreateThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateThing request.

type CreateThingTypeInput

type CreateThingTypeInput struct {

	// Metadata which can be used to manage the thing type.
	Tags []Tag `locationName:"tags" type:"list"`

	// The name of the thing type.
	//
	// ThingTypeName is a required field
	ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"`

	// The ThingTypeProperties for the thing type to create. It contains information
	// about the new thing type including a description, and a list of searchable
	// thing attribute names.
	ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"`
	// contains filtered or unexported fields
}

The input for the CreateThingType operation.

func (CreateThingTypeInput) MarshalFields

func (s CreateThingTypeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateThingTypeInput) String

func (s CreateThingTypeInput) String() string

String returns the string representation

func (*CreateThingTypeInput) Validate

func (s *CreateThingTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateThingTypeOutput

type CreateThingTypeOutput struct {

	// The Amazon Resource Name (ARN) of the thing type.
	ThingTypeArn *string `locationName:"thingTypeArn" type:"string"`

	// The thing type ID.
	ThingTypeId *string `locationName:"thingTypeId" type:"string"`

	// The name of the thing type.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The output of the CreateThingType operation.

func (CreateThingTypeOutput) MarshalFields

func (s CreateThingTypeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateThingTypeOutput) String

func (s CreateThingTypeOutput) String() string

String returns the string representation

type CreateThingTypeRequest

type CreateThingTypeRequest struct {
	*aws.Request
	Input *CreateThingTypeInput
	Copy  func(*CreateThingTypeInput) CreateThingTypeRequest
}

CreateThingTypeRequest is the request type for the CreateThingType API operation.

func (CreateThingTypeRequest) Send

Send marshals and sends the CreateThingType API request.

type CreateThingTypeResponse

type CreateThingTypeResponse struct {
	*CreateThingTypeOutput
	// contains filtered or unexported fields
}

CreateThingTypeResponse is the response type for the CreateThingType API operation.

func (*CreateThingTypeResponse) SDKResponseMetdata

func (r *CreateThingTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateThingType request.

type CreateTopicRuleInput

type CreateTopicRuleInput struct {

	// The name of the rule.
	//
	// RuleName is a required field
	RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`

	// Metadata which can be used to manage the topic rule.
	//
	// For URI Request parameters use format: ...key1=value1&key2=value2...
	//
	// For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..."
	//
	// For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
	Tags *string `location:"header" locationName:"x-amz-tagging" type:"string"`

	// The rule payload.
	//
	// TopicRulePayload is a required field
	TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The input for the CreateTopicRule operation.

func (CreateTopicRuleInput) MarshalFields

func (s CreateTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateTopicRuleInput) String

func (s CreateTopicRuleInput) String() string

String returns the string representation

func (*CreateTopicRuleInput) Validate

func (s *CreateTopicRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTopicRuleOutput

type CreateTopicRuleOutput struct {
	// contains filtered or unexported fields
}

func (CreateTopicRuleOutput) MarshalFields

func (s CreateTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateTopicRuleOutput) String

func (s CreateTopicRuleOutput) String() string

String returns the string representation

type CreateTopicRuleRequest

type CreateTopicRuleRequest struct {
	*aws.Request
	Input *CreateTopicRuleInput
	Copy  func(*CreateTopicRuleInput) CreateTopicRuleRequest
}

CreateTopicRuleRequest is the request type for the CreateTopicRule API operation.

func (CreateTopicRuleRequest) Send

Send marshals and sends the CreateTopicRule API request.

type CreateTopicRuleResponse

type CreateTopicRuleResponse struct {
	*CreateTopicRuleOutput
	// contains filtered or unexported fields
}

CreateTopicRuleResponse is the response type for the CreateTopicRule API operation.

func (*CreateTopicRuleResponse) SDKResponseMetdata

func (r *CreateTopicRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateTopicRule request.

type CustomCodeSigning

type CustomCodeSigning struct {

	// The certificate chain.
	CertificateChain *CodeSigningCertificateChain `locationName:"certificateChain" type:"structure"`

	// The hash algorithm used to code sign the file.
	HashAlgorithm *string `locationName:"hashAlgorithm" type:"string"`

	// The signature for the file.
	Signature *CodeSigningSignature `locationName:"signature" type:"structure"`

	// The signature algorithm used to code sign the file.
	SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"`
	// contains filtered or unexported fields
}

Describes a custom method used to code sign a file.

func (CustomCodeSigning) MarshalFields

func (s CustomCodeSigning) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CustomCodeSigning) String

func (s CustomCodeSigning) String() string

String returns the string representation

type DayOfWeek

type DayOfWeek string
const (
	DayOfWeekSun DayOfWeek = "SUN"
	DayOfWeekMon DayOfWeek = "MON"
	DayOfWeekTue DayOfWeek = "TUE"
	DayOfWeekWed DayOfWeek = "WED"
	DayOfWeekThu DayOfWeek = "THU"
	DayOfWeekFri DayOfWeek = "FRI"
	DayOfWeekSat DayOfWeek = "SAT"
)

Enum values for DayOfWeek

func (DayOfWeek) MarshalValue

func (enum DayOfWeek) MarshalValue() (string, error)

func (DayOfWeek) MarshalValueBuf

func (enum DayOfWeek) MarshalValueBuf(b []byte) ([]byte, error)

type DeleteAccountAuditConfigurationInput

type DeleteAccountAuditConfigurationInput struct {

	// If true, all scheduled audits are deleted.
	DeleteScheduledAudits *bool `location:"querystring" locationName:"deleteScheduledAudits" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeleteAccountAuditConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAccountAuditConfigurationInput) String

String returns the string representation

type DeleteAccountAuditConfigurationOutput

type DeleteAccountAuditConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccountAuditConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAccountAuditConfigurationOutput) String

String returns the string representation

type DeleteAccountAuditConfigurationRequest

type DeleteAccountAuditConfigurationRequest struct {
	*aws.Request
	Input *DeleteAccountAuditConfigurationInput
	Copy  func(*DeleteAccountAuditConfigurationInput) DeleteAccountAuditConfigurationRequest
}

DeleteAccountAuditConfigurationRequest is the request type for the DeleteAccountAuditConfiguration API operation.

func (DeleteAccountAuditConfigurationRequest) Send

Send marshals and sends the DeleteAccountAuditConfiguration API request.

type DeleteAccountAuditConfigurationResponse

type DeleteAccountAuditConfigurationResponse struct {
	*DeleteAccountAuditConfigurationOutput
	// contains filtered or unexported fields
}

DeleteAccountAuditConfigurationResponse is the response type for the DeleteAccountAuditConfiguration API operation.

func (*DeleteAccountAuditConfigurationResponse) SDKResponseMetdata

func (r *DeleteAccountAuditConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteAccountAuditConfiguration request.

type DeleteAuthorizerInput

type DeleteAuthorizerInput struct {

	// The name of the authorizer to delete.
	//
	// AuthorizerName is a required field
	AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAuthorizerInput) MarshalFields

func (s DeleteAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAuthorizerInput) String

func (s DeleteAuthorizerInput) String() string

String returns the string representation

func (*DeleteAuthorizerInput) Validate

func (s *DeleteAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAuthorizerOutput

type DeleteAuthorizerOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteAuthorizerOutput) String

func (s DeleteAuthorizerOutput) String() string

String returns the string representation

type DeleteAuthorizerRequest

type DeleteAuthorizerRequest struct {
	*aws.Request
	Input *DeleteAuthorizerInput
	Copy  func(*DeleteAuthorizerInput) DeleteAuthorizerRequest
}

DeleteAuthorizerRequest is the request type for the DeleteAuthorizer API operation.

func (DeleteAuthorizerRequest) Send

Send marshals and sends the DeleteAuthorizer API request.

type DeleteAuthorizerResponse

type DeleteAuthorizerResponse struct {
	*DeleteAuthorizerOutput
	// contains filtered or unexported fields
}

DeleteAuthorizerResponse is the response type for the DeleteAuthorizer API operation.

func (*DeleteAuthorizerResponse) SDKResponseMetdata

func (r *DeleteAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteAuthorizer request.

type DeleteBillingGroupInput

type DeleteBillingGroupInput struct {

	// The name of the billing group.
	//
	// BillingGroupName is a required field
	BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"`

	// The expected version of the billing group. If the version of the billing
	// group does not match the expected version specified in the request, the DeleteBillingGroup
	// request is rejected with a VersionConflictException.
	ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"`
	// contains filtered or unexported fields
}

func (DeleteBillingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBillingGroupInput) String

func (s DeleteBillingGroupInput) String() string

String returns the string representation

func (*DeleteBillingGroupInput) Validate

func (s *DeleteBillingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteBillingGroupOutput

type DeleteBillingGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteBillingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteBillingGroupOutput) String

func (s DeleteBillingGroupOutput) String() string

String returns the string representation

type DeleteBillingGroupRequest

type DeleteBillingGroupRequest struct {
	*aws.Request
	Input *DeleteBillingGroupInput
	Copy  func(*DeleteBillingGroupInput) DeleteBillingGroupRequest
}

DeleteBillingGroupRequest is the request type for the DeleteBillingGroup API operation.

func (DeleteBillingGroupRequest) Send

Send marshals and sends the DeleteBillingGroup API request.

type DeleteBillingGroupResponse

type DeleteBillingGroupResponse struct {
	*DeleteBillingGroupOutput
	// contains filtered or unexported fields
}

DeleteBillingGroupResponse is the response type for the DeleteBillingGroup API operation.

func (*DeleteBillingGroupResponse) SDKResponseMetdata

func (r *DeleteBillingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteBillingGroup request.

type DeleteCACertificateInput

type DeleteCACertificateInput struct {

	// The ID of the certificate to delete. (The last part of the certificate ARN
	// contains the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Input for the DeleteCACertificate operation.

func (DeleteCACertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCACertificateInput) String

func (s DeleteCACertificateInput) String() string

String returns the string representation

func (*DeleteCACertificateInput) Validate

func (s *DeleteCACertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCACertificateOutput

type DeleteCACertificateOutput struct {
	// contains filtered or unexported fields
}

The output for the DeleteCACertificate operation.

func (DeleteCACertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCACertificateOutput) String

func (s DeleteCACertificateOutput) String() string

String returns the string representation

type DeleteCACertificateRequest

type DeleteCACertificateRequest struct {
	*aws.Request
	Input *DeleteCACertificateInput
	Copy  func(*DeleteCACertificateInput) DeleteCACertificateRequest
}

DeleteCACertificateRequest is the request type for the DeleteCACertificate API operation.

func (DeleteCACertificateRequest) Send

Send marshals and sends the DeleteCACertificate API request.

type DeleteCACertificateResponse

type DeleteCACertificateResponse struct {
	*DeleteCACertificateOutput
	// contains filtered or unexported fields
}

DeleteCACertificateResponse is the response type for the DeleteCACertificate API operation.

func (*DeleteCACertificateResponse) SDKResponseMetdata

func (r *DeleteCACertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteCACertificate request.

type DeleteCertificateInput

type DeleteCertificateInput struct {

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"`

	// Forces the deletion of a certificate if it is inactive and is not attached
	// to an IoT thing.
	ForceDelete *bool `location:"querystring" locationName:"forceDelete" type:"boolean"`
	// contains filtered or unexported fields
}

The input for the DeleteCertificate operation.

func (DeleteCertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCertificateInput) String

func (s DeleteCertificateInput) String() string

String returns the string representation

func (*DeleteCertificateInput) Validate

func (s *DeleteCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteCertificateOutput

type DeleteCertificateOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteCertificateOutput) String

func (s DeleteCertificateOutput) String() string

String returns the string representation

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	*aws.Request
	Input *DeleteCertificateInput
	Copy  func(*DeleteCertificateInput) DeleteCertificateRequest
}

DeleteCertificateRequest is the request type for the DeleteCertificate API operation.

func (DeleteCertificateRequest) Send

Send marshals and sends the DeleteCertificate API request.

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	*DeleteCertificateOutput
	// contains filtered or unexported fields
}

DeleteCertificateResponse is the response type for the DeleteCertificate API operation.

func (*DeleteCertificateResponse) SDKResponseMetdata

func (r *DeleteCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteCertificate request.

type DeleteDynamicThingGroupInput

type DeleteDynamicThingGroupInput struct {

	// The expected version of the dynamic thing group to delete.
	ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"`

	// The name of the dynamic thing group to delete.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDynamicThingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDynamicThingGroupInput) String

String returns the string representation

func (*DeleteDynamicThingGroupInput) Validate

func (s *DeleteDynamicThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDynamicThingGroupOutput

type DeleteDynamicThingGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDynamicThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDynamicThingGroupOutput) String

String returns the string representation

type DeleteDynamicThingGroupRequest

type DeleteDynamicThingGroupRequest struct {
	*aws.Request
	Input *DeleteDynamicThingGroupInput
	Copy  func(*DeleteDynamicThingGroupInput) DeleteDynamicThingGroupRequest
}

DeleteDynamicThingGroupRequest is the request type for the DeleteDynamicThingGroup API operation.

func (DeleteDynamicThingGroupRequest) Send

Send marshals and sends the DeleteDynamicThingGroup API request.

type DeleteDynamicThingGroupResponse

type DeleteDynamicThingGroupResponse struct {
	*DeleteDynamicThingGroupOutput
	// contains filtered or unexported fields
}

DeleteDynamicThingGroupResponse is the response type for the DeleteDynamicThingGroup API operation.

func (*DeleteDynamicThingGroupResponse) SDKResponseMetdata

func (r *DeleteDynamicThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDynamicThingGroup request.

type DeleteJobExecutionInput

type DeleteJobExecutionInput struct {

	// The ID of the job execution to be deleted. The executionNumber refers to
	// the execution of a particular job on a particular device.
	//
	// Note that once a job execution is deleted, the executionNumber may be reused
	// by IoT, so be sure you get and use the correct value here.
	//
	// ExecutionNumber is a required field
	ExecutionNumber *int64 `location:"uri" locationName:"executionNumber" type:"long" required:"true"`

	// (Optional) When true, you can delete a job execution which is "IN_PROGRESS".
	// Otherwise, you can only delete a job execution which is in a terminal state
	// ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception
	// will occur. The default is false.
	//
	// Deleting a job execution which is "IN_PROGRESS", will cause the device to
	// be unable to access job information or update the job execution status. Use
	// caution and ensure that the device is able to recover to a valid state.
	Force *bool `location:"querystring" locationName:"force" type:"boolean"`

	// The ID of the job whose execution on a particular device will be deleted.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// The name of the thing whose job execution will be deleted.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteJobExecutionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteJobExecutionInput) String

func (s DeleteJobExecutionInput) String() string

String returns the string representation

func (*DeleteJobExecutionInput) Validate

func (s *DeleteJobExecutionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteJobExecutionOutput

type DeleteJobExecutionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteJobExecutionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteJobExecutionOutput) String

func (s DeleteJobExecutionOutput) String() string

String returns the string representation

type DeleteJobExecutionRequest

type DeleteJobExecutionRequest struct {
	*aws.Request
	Input *DeleteJobExecutionInput
	Copy  func(*DeleteJobExecutionInput) DeleteJobExecutionRequest
}

DeleteJobExecutionRequest is the request type for the DeleteJobExecution API operation.

func (DeleteJobExecutionRequest) Send

Send marshals and sends the DeleteJobExecution API request.

type DeleteJobExecutionResponse

type DeleteJobExecutionResponse struct {
	*DeleteJobExecutionOutput
	// contains filtered or unexported fields
}

DeleteJobExecutionResponse is the response type for the DeleteJobExecution API operation.

func (*DeleteJobExecutionResponse) SDKResponseMetdata

func (r *DeleteJobExecutionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteJobExecution request.

type DeleteJobInput

type DeleteJobInput struct {

	// (Optional) When true, you can delete a job which is "IN_PROGRESS". Otherwise,
	// you can only delete a job which is in a terminal state ("COMPLETED" or "CANCELED")
	// or an exception will occur. The default is false.
	//
	// Deleting a job which is "IN_PROGRESS", will cause a device which is executing
	// the job to be unable to access job information or update the job execution
	// status. Use caution and ensure that each device executing a job which is
	// deleted is able to recover to a valid state.
	Force *bool `location:"querystring" locationName:"force" type:"boolean"`

	// The ID of the job to be deleted.
	//
	// After a job deletion is completed, you may reuse this jobId when you create
	// a new job. However, this is not recommended, and you must ensure that your
	// devices are not using the jobId to refer to the deleted job.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteJobInput) MarshalFields

func (s DeleteJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteJobInput) String

func (s DeleteJobInput) String() string

String returns the string representation

func (*DeleteJobInput) Validate

func (s *DeleteJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteJobOutput

type DeleteJobOutput struct {
	// contains filtered or unexported fields
}

func (DeleteJobOutput) MarshalFields

func (s DeleteJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteJobOutput) String

func (s DeleteJobOutput) String() string

String returns the string representation

type DeleteJobRequest

type DeleteJobRequest struct {
	*aws.Request
	Input *DeleteJobInput
	Copy  func(*DeleteJobInput) DeleteJobRequest
}

DeleteJobRequest is the request type for the DeleteJob API operation.

func (DeleteJobRequest) Send

Send marshals and sends the DeleteJob API request.

type DeleteJobResponse

type DeleteJobResponse struct {
	*DeleteJobOutput
	// contains filtered or unexported fields
}

DeleteJobResponse is the response type for the DeleteJob API operation.

func (*DeleteJobResponse) SDKResponseMetdata

func (r *DeleteJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteJob request.

type DeleteMitigationActionInput

type DeleteMitigationActionInput struct {

	// The name of the mitigation action that you want to delete.
	//
	// ActionName is a required field
	ActionName *string `location:"uri" locationName:"actionName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMitigationActionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMitigationActionInput) String

String returns the string representation

func (*DeleteMitigationActionInput) Validate

func (s *DeleteMitigationActionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteMitigationActionOutput

type DeleteMitigationActionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteMitigationActionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteMitigationActionOutput) String

String returns the string representation

type DeleteMitigationActionRequest

type DeleteMitigationActionRequest struct {
	*aws.Request
	Input *DeleteMitigationActionInput
	Copy  func(*DeleteMitigationActionInput) DeleteMitigationActionRequest
}

DeleteMitigationActionRequest is the request type for the DeleteMitigationAction API operation.

func (DeleteMitigationActionRequest) Send

Send marshals and sends the DeleteMitigationAction API request.

type DeleteMitigationActionResponse

type DeleteMitigationActionResponse struct {
	*DeleteMitigationActionOutput
	// contains filtered or unexported fields
}

DeleteMitigationActionResponse is the response type for the DeleteMitigationAction API operation.

func (*DeleteMitigationActionResponse) SDKResponseMetdata

func (r *DeleteMitigationActionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteMitigationAction request.

type DeleteOTAUpdateInput

type DeleteOTAUpdateInput struct {

	// Specifies if the stream associated with an OTA update should be deleted when
	// the OTA update is deleted.
	DeleteStream *bool `location:"querystring" locationName:"deleteStream" type:"boolean"`

	// Specifies if the AWS Job associated with the OTA update should be deleted
	// with the OTA update is deleted.
	ForceDeleteAWSJob *bool `location:"querystring" locationName:"forceDeleteAWSJob" type:"boolean"`

	// The OTA update ID to delete.
	//
	// OtaUpdateId is a required field
	OtaUpdateId *string `location:"uri" locationName:"otaUpdateId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteOTAUpdateInput) MarshalFields

func (s DeleteOTAUpdateInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteOTAUpdateInput) String

func (s DeleteOTAUpdateInput) String() string

String returns the string representation

func (*DeleteOTAUpdateInput) Validate

func (s *DeleteOTAUpdateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteOTAUpdateOutput

type DeleteOTAUpdateOutput struct {
	// contains filtered or unexported fields
}

func (DeleteOTAUpdateOutput) MarshalFields

func (s DeleteOTAUpdateOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteOTAUpdateOutput) String

func (s DeleteOTAUpdateOutput) String() string

String returns the string representation

type DeleteOTAUpdateRequest

type DeleteOTAUpdateRequest struct {
	*aws.Request
	Input *DeleteOTAUpdateInput
	Copy  func(*DeleteOTAUpdateInput) DeleteOTAUpdateRequest
}

DeleteOTAUpdateRequest is the request type for the DeleteOTAUpdate API operation.

func (DeleteOTAUpdateRequest) Send

Send marshals and sends the DeleteOTAUpdate API request.

type DeleteOTAUpdateResponse

type DeleteOTAUpdateResponse struct {
	*DeleteOTAUpdateOutput
	// contains filtered or unexported fields
}

DeleteOTAUpdateResponse is the response type for the DeleteOTAUpdate API operation.

func (*DeleteOTAUpdateResponse) SDKResponseMetdata

func (r *DeleteOTAUpdateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteOTAUpdate request.

type DeletePolicyInput

type DeletePolicyInput struct {

	// The name of the policy to delete.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DeletePolicy operation.

func (DeletePolicyInput) MarshalFields

func (s DeletePolicyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePolicyInput) String

func (s DeletePolicyInput) String() string

String returns the string representation

func (*DeletePolicyInput) Validate

func (s *DeletePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePolicyOutput

type DeletePolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeletePolicyOutput) MarshalFields

func (s DeletePolicyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePolicyOutput) String

func (s DeletePolicyOutput) String() string

String returns the string representation

type DeletePolicyRequest

type DeletePolicyRequest struct {
	*aws.Request
	Input *DeletePolicyInput
	Copy  func(*DeletePolicyInput) DeletePolicyRequest
}

DeletePolicyRequest is the request type for the DeletePolicy API operation.

func (DeletePolicyRequest) Send

Send marshals and sends the DeletePolicy API request.

type DeletePolicyResponse

type DeletePolicyResponse struct {
	*DeletePolicyOutput
	// contains filtered or unexported fields
}

DeletePolicyResponse is the response type for the DeletePolicy API operation.

func (*DeletePolicyResponse) SDKResponseMetdata

func (r *DeletePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeletePolicy request.

type DeletePolicyVersionInput

type DeletePolicyVersionInput struct {

	// The name of the policy.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// The policy version ID.
	//
	// PolicyVersionId is a required field
	PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DeletePolicyVersion operation.

func (DeletePolicyVersionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePolicyVersionInput) String

func (s DeletePolicyVersionInput) String() string

String returns the string representation

func (*DeletePolicyVersionInput) Validate

func (s *DeletePolicyVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePolicyVersionOutput

type DeletePolicyVersionOutput struct {
	// contains filtered or unexported fields
}

func (DeletePolicyVersionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeletePolicyVersionOutput) String

func (s DeletePolicyVersionOutput) String() string

String returns the string representation

type DeletePolicyVersionRequest

type DeletePolicyVersionRequest struct {
	*aws.Request
	Input *DeletePolicyVersionInput
	Copy  func(*DeletePolicyVersionInput) DeletePolicyVersionRequest
}

DeletePolicyVersionRequest is the request type for the DeletePolicyVersion API operation.

func (DeletePolicyVersionRequest) Send

Send marshals and sends the DeletePolicyVersion API request.

type DeletePolicyVersionResponse

type DeletePolicyVersionResponse struct {
	*DeletePolicyVersionOutput
	// contains filtered or unexported fields
}

DeletePolicyVersionResponse is the response type for the DeletePolicyVersion API operation.

func (*DeletePolicyVersionResponse) SDKResponseMetdata

func (r *DeletePolicyVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeletePolicyVersion request.

type DeleteRegistrationCodeInput

type DeleteRegistrationCodeInput struct {
	// contains filtered or unexported fields
}

The input for the DeleteRegistrationCode operation.

func (DeleteRegistrationCodeInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRegistrationCodeInput) String

String returns the string representation

type DeleteRegistrationCodeOutput

type DeleteRegistrationCodeOutput struct {
	// contains filtered or unexported fields
}

The output for the DeleteRegistrationCode operation.

func (DeleteRegistrationCodeOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRegistrationCodeOutput) String

String returns the string representation

type DeleteRegistrationCodeRequest

type DeleteRegistrationCodeRequest struct {
	*aws.Request
	Input *DeleteRegistrationCodeInput
	Copy  func(*DeleteRegistrationCodeInput) DeleteRegistrationCodeRequest
}

DeleteRegistrationCodeRequest is the request type for the DeleteRegistrationCode API operation.

func (DeleteRegistrationCodeRequest) Send

Send marshals and sends the DeleteRegistrationCode API request.

type DeleteRegistrationCodeResponse

type DeleteRegistrationCodeResponse struct {
	*DeleteRegistrationCodeOutput
	// contains filtered or unexported fields
}

DeleteRegistrationCodeResponse is the response type for the DeleteRegistrationCode API operation.

func (*DeleteRegistrationCodeResponse) SDKResponseMetdata

func (r *DeleteRegistrationCodeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteRegistrationCode request.

type DeleteRoleAliasInput

type DeleteRoleAliasInput struct {

	// The role alias to delete.
	//
	// RoleAlias is a required field
	RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRoleAliasInput) MarshalFields

func (s DeleteRoleAliasInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRoleAliasInput) String

func (s DeleteRoleAliasInput) String() string

String returns the string representation

func (*DeleteRoleAliasInput) Validate

func (s *DeleteRoleAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRoleAliasOutput

type DeleteRoleAliasOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRoleAliasOutput) MarshalFields

func (s DeleteRoleAliasOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteRoleAliasOutput) String

func (s DeleteRoleAliasOutput) String() string

String returns the string representation

type DeleteRoleAliasRequest

type DeleteRoleAliasRequest struct {
	*aws.Request
	Input *DeleteRoleAliasInput
	Copy  func(*DeleteRoleAliasInput) DeleteRoleAliasRequest
}

DeleteRoleAliasRequest is the request type for the DeleteRoleAlias API operation.

func (DeleteRoleAliasRequest) Send

Send marshals and sends the DeleteRoleAlias API request.

type DeleteRoleAliasResponse

type DeleteRoleAliasResponse struct {
	*DeleteRoleAliasOutput
	// contains filtered or unexported fields
}

DeleteRoleAliasResponse is the response type for the DeleteRoleAlias API operation.

func (*DeleteRoleAliasResponse) SDKResponseMetdata

func (r *DeleteRoleAliasResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteRoleAlias request.

type DeleteScheduledAuditInput

type DeleteScheduledAuditInput struct {

	// The name of the scheduled audit you want to delete.
	//
	// ScheduledAuditName is a required field
	ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteScheduledAuditInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteScheduledAuditInput) String

func (s DeleteScheduledAuditInput) String() string

String returns the string representation

func (*DeleteScheduledAuditInput) Validate

func (s *DeleteScheduledAuditInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteScheduledAuditOutput

type DeleteScheduledAuditOutput struct {
	// contains filtered or unexported fields
}

func (DeleteScheduledAuditOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteScheduledAuditOutput) String

String returns the string representation

type DeleteScheduledAuditRequest

type DeleteScheduledAuditRequest struct {
	*aws.Request
	Input *DeleteScheduledAuditInput
	Copy  func(*DeleteScheduledAuditInput) DeleteScheduledAuditRequest
}

DeleteScheduledAuditRequest is the request type for the DeleteScheduledAudit API operation.

func (DeleteScheduledAuditRequest) Send

Send marshals and sends the DeleteScheduledAudit API request.

type DeleteScheduledAuditResponse

type DeleteScheduledAuditResponse struct {
	*DeleteScheduledAuditOutput
	// contains filtered or unexported fields
}

DeleteScheduledAuditResponse is the response type for the DeleteScheduledAudit API operation.

func (*DeleteScheduledAuditResponse) SDKResponseMetdata

func (r *DeleteScheduledAuditResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteScheduledAudit request.

type DeleteSecurityProfileInput

type DeleteSecurityProfileInput struct {

	// The expected version of the security profile. A new version is generated
	// whenever the security profile is updated. If you specify a value that is
	// different from the actual version, a VersionConflictException is thrown.
	ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"`

	// The name of the security profile to be deleted.
	//
	// SecurityProfileName is a required field
	SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSecurityProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteSecurityProfileInput) String

String returns the string representation

func (*DeleteSecurityProfileInput) Validate

func (s *DeleteSecurityProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSecurityProfileOutput

type DeleteSecurityProfileOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSecurityProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteSecurityProfileOutput) String

String returns the string representation

type DeleteSecurityProfileRequest

type DeleteSecurityProfileRequest struct {
	*aws.Request
	Input *DeleteSecurityProfileInput
	Copy  func(*DeleteSecurityProfileInput) DeleteSecurityProfileRequest
}

DeleteSecurityProfileRequest is the request type for the DeleteSecurityProfile API operation.

func (DeleteSecurityProfileRequest) Send

Send marshals and sends the DeleteSecurityProfile API request.

type DeleteSecurityProfileResponse

type DeleteSecurityProfileResponse struct {
	*DeleteSecurityProfileOutput
	// contains filtered or unexported fields
}

DeleteSecurityProfileResponse is the response type for the DeleteSecurityProfile API operation.

func (*DeleteSecurityProfileResponse) SDKResponseMetdata

func (r *DeleteSecurityProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteSecurityProfile request.

type DeleteStreamInput

type DeleteStreamInput struct {

	// The stream ID.
	//
	// StreamId is a required field
	StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStreamInput) MarshalFields

func (s DeleteStreamInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteStreamInput) String

func (s DeleteStreamInput) String() string

String returns the string representation

func (*DeleteStreamInput) Validate

func (s *DeleteStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStreamOutput

type DeleteStreamOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStreamOutput) MarshalFields

func (s DeleteStreamOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteStreamOutput) String

func (s DeleteStreamOutput) String() string

String returns the string representation

type DeleteStreamRequest

type DeleteStreamRequest struct {
	*aws.Request
	Input *DeleteStreamInput
	Copy  func(*DeleteStreamInput) DeleteStreamRequest
}

DeleteStreamRequest is the request type for the DeleteStream API operation.

func (DeleteStreamRequest) Send

Send marshals and sends the DeleteStream API request.

type DeleteStreamResponse

type DeleteStreamResponse struct {
	*DeleteStreamOutput
	// contains filtered or unexported fields
}

DeleteStreamResponse is the response type for the DeleteStream API operation.

func (*DeleteStreamResponse) SDKResponseMetdata

func (r *DeleteStreamResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteStream request.

type DeleteThingGroupInput

type DeleteThingGroupInput struct {

	// The expected version of the thing group to delete.
	ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"`

	// The name of the thing group to delete.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteThingGroupInput) MarshalFields

func (s DeleteThingGroupInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteThingGroupInput) String

func (s DeleteThingGroupInput) String() string

String returns the string representation

func (*DeleteThingGroupInput) Validate

func (s *DeleteThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteThingGroupOutput

type DeleteThingGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteThingGroupOutput) String

func (s DeleteThingGroupOutput) String() string

String returns the string representation

type DeleteThingGroupRequest

type DeleteThingGroupRequest struct {
	*aws.Request
	Input *DeleteThingGroupInput
	Copy  func(*DeleteThingGroupInput) DeleteThingGroupRequest
}

DeleteThingGroupRequest is the request type for the DeleteThingGroup API operation.

func (DeleteThingGroupRequest) Send

Send marshals and sends the DeleteThingGroup API request.

type DeleteThingGroupResponse

type DeleteThingGroupResponse struct {
	*DeleteThingGroupOutput
	// contains filtered or unexported fields
}

DeleteThingGroupResponse is the response type for the DeleteThingGroup API operation.

func (*DeleteThingGroupResponse) SDKResponseMetdata

func (r *DeleteThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteThingGroup request.

type DeleteThingInput

type DeleteThingInput struct {

	// The expected version of the thing record in the registry. If the version
	// of the record in the registry does not match the expected version specified
	// in the request, the DeleteThing request is rejected with a VersionConflictException.
	ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"`

	// The name of the thing to delete.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DeleteThing operation.

func (DeleteThingInput) MarshalFields

func (s DeleteThingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteThingInput) String

func (s DeleteThingInput) String() string

String returns the string representation

func (*DeleteThingInput) Validate

func (s *DeleteThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteThingOutput

type DeleteThingOutput struct {
	// contains filtered or unexported fields
}

The output of the DeleteThing operation.

func (DeleteThingOutput) MarshalFields

func (s DeleteThingOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteThingOutput) String

func (s DeleteThingOutput) String() string

String returns the string representation

type DeleteThingRequest

type DeleteThingRequest struct {
	*aws.Request
	Input *DeleteThingInput
	Copy  func(*DeleteThingInput) DeleteThingRequest
}

DeleteThingRequest is the request type for the DeleteThing API operation.

func (DeleteThingRequest) Send

Send marshals and sends the DeleteThing API request.

type DeleteThingResponse

type DeleteThingResponse struct {
	*DeleteThingOutput
	// contains filtered or unexported fields
}

DeleteThingResponse is the response type for the DeleteThing API operation.

func (*DeleteThingResponse) SDKResponseMetdata

func (r *DeleteThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteThing request.

type DeleteThingTypeInput

type DeleteThingTypeInput struct {

	// The name of the thing type.
	//
	// ThingTypeName is a required field
	ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DeleteThingType operation.

func (DeleteThingTypeInput) MarshalFields

func (s DeleteThingTypeInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteThingTypeInput) String

func (s DeleteThingTypeInput) String() string

String returns the string representation

func (*DeleteThingTypeInput) Validate

func (s *DeleteThingTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteThingTypeOutput

type DeleteThingTypeOutput struct {
	// contains filtered or unexported fields
}

The output for the DeleteThingType operation.

func (DeleteThingTypeOutput) MarshalFields

func (s DeleteThingTypeOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteThingTypeOutput) String

func (s DeleteThingTypeOutput) String() string

String returns the string representation

type DeleteThingTypeRequest

type DeleteThingTypeRequest struct {
	*aws.Request
	Input *DeleteThingTypeInput
	Copy  func(*DeleteThingTypeInput) DeleteThingTypeRequest
}

DeleteThingTypeRequest is the request type for the DeleteThingType API operation.

func (DeleteThingTypeRequest) Send

Send marshals and sends the DeleteThingType API request.

type DeleteThingTypeResponse

type DeleteThingTypeResponse struct {
	*DeleteThingTypeOutput
	// contains filtered or unexported fields
}

DeleteThingTypeResponse is the response type for the DeleteThingType API operation.

func (*DeleteThingTypeResponse) SDKResponseMetdata

func (r *DeleteThingTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteThingType request.

type DeleteTopicRuleInput

type DeleteTopicRuleInput struct {

	// The name of the rule.
	//
	// RuleName is a required field
	RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DeleteTopicRule operation.

func (DeleteTopicRuleInput) MarshalFields

func (s DeleteTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteTopicRuleInput) String

func (s DeleteTopicRuleInput) String() string

String returns the string representation

func (*DeleteTopicRuleInput) Validate

func (s *DeleteTopicRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTopicRuleOutput

type DeleteTopicRuleOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTopicRuleOutput) MarshalFields

func (s DeleteTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteTopicRuleOutput) String

func (s DeleteTopicRuleOutput) String() string

String returns the string representation

type DeleteTopicRuleRequest

type DeleteTopicRuleRequest struct {
	*aws.Request
	Input *DeleteTopicRuleInput
	Copy  func(*DeleteTopicRuleInput) DeleteTopicRuleRequest
}

DeleteTopicRuleRequest is the request type for the DeleteTopicRule API operation.

func (DeleteTopicRuleRequest) Send

Send marshals and sends the DeleteTopicRule API request.

type DeleteTopicRuleResponse

type DeleteTopicRuleResponse struct {
	*DeleteTopicRuleOutput
	// contains filtered or unexported fields
}

DeleteTopicRuleResponse is the response type for the DeleteTopicRule API operation.

func (*DeleteTopicRuleResponse) SDKResponseMetdata

func (r *DeleteTopicRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteTopicRule request.

type DeleteV2LoggingLevelInput

type DeleteV2LoggingLevelInput struct {

	// The name of the resource for which you are configuring logging.
	//
	// TargetName is a required field
	TargetName *string `location:"querystring" locationName:"targetName" type:"string" required:"true"`

	// The type of resource for which you are configuring logging. Must be THING_Group.
	//
	// TargetType is a required field
	TargetType LogTargetType `location:"querystring" locationName:"targetType" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (DeleteV2LoggingLevelInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteV2LoggingLevelInput) String

func (s DeleteV2LoggingLevelInput) String() string

String returns the string representation

func (*DeleteV2LoggingLevelInput) Validate

func (s *DeleteV2LoggingLevelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteV2LoggingLevelOutput

type DeleteV2LoggingLevelOutput struct {
	// contains filtered or unexported fields
}

func (DeleteV2LoggingLevelOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteV2LoggingLevelOutput) String

String returns the string representation

type DeleteV2LoggingLevelRequest

type DeleteV2LoggingLevelRequest struct {
	*aws.Request
	Input *DeleteV2LoggingLevelInput
	Copy  func(*DeleteV2LoggingLevelInput) DeleteV2LoggingLevelRequest
}

DeleteV2LoggingLevelRequest is the request type for the DeleteV2LoggingLevel API operation.

func (DeleteV2LoggingLevelRequest) Send

Send marshals and sends the DeleteV2LoggingLevel API request.

type DeleteV2LoggingLevelResponse

type DeleteV2LoggingLevelResponse struct {
	*DeleteV2LoggingLevelOutput
	// contains filtered or unexported fields
}

DeleteV2LoggingLevelResponse is the response type for the DeleteV2LoggingLevel API operation.

func (*DeleteV2LoggingLevelResponse) SDKResponseMetdata

func (r *DeleteV2LoggingLevelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteV2LoggingLevel request.

type Denied

type Denied struct {

	// Information that explicitly denies the authorization.
	ExplicitDeny *ExplicitDeny `locationName:"explicitDeny" type:"structure"`

	// Information that implicitly denies the authorization. When a policy doesn't
	// explicitly deny or allow an action on a resource it is considered an implicit
	// deny.
	ImplicitDeny *ImplicitDeny `locationName:"implicitDeny" type:"structure"`
	// contains filtered or unexported fields
}

Contains information that denied the authorization.

func (Denied) MarshalFields

func (s Denied) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Denied) String

func (s Denied) String() string

String returns the string representation

type DeprecateThingTypeInput

type DeprecateThingTypeInput struct {

	// The name of the thing type to deprecate.
	//
	// ThingTypeName is a required field
	ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"`

	// Whether to undeprecate a deprecated thing type. If true, the thing type will
	// not be deprecated anymore and you can associate it with things.
	UndoDeprecate *bool `locationName:"undoDeprecate" type:"boolean"`
	// contains filtered or unexported fields
}

The input for the DeprecateThingType operation.

func (DeprecateThingTypeInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeprecateThingTypeInput) String

func (s DeprecateThingTypeInput) String() string

String returns the string representation

func (*DeprecateThingTypeInput) Validate

func (s *DeprecateThingTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeprecateThingTypeOutput

type DeprecateThingTypeOutput struct {
	// contains filtered or unexported fields
}

The output for the DeprecateThingType operation.

func (DeprecateThingTypeOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeprecateThingTypeOutput) String

func (s DeprecateThingTypeOutput) String() string

String returns the string representation

type DeprecateThingTypeRequest

type DeprecateThingTypeRequest struct {
	*aws.Request
	Input *DeprecateThingTypeInput
	Copy  func(*DeprecateThingTypeInput) DeprecateThingTypeRequest
}

DeprecateThingTypeRequest is the request type for the DeprecateThingType API operation.

func (DeprecateThingTypeRequest) Send

Send marshals and sends the DeprecateThingType API request.

type DeprecateThingTypeResponse

type DeprecateThingTypeResponse struct {
	*DeprecateThingTypeOutput
	// contains filtered or unexported fields
}

DeprecateThingTypeResponse is the response type for the DeprecateThingType API operation.

func (*DeprecateThingTypeResponse) SDKResponseMetdata

func (r *DeprecateThingTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeprecateThingType request.

type DescribeAccountAuditConfigurationInput

type DescribeAccountAuditConfigurationInput struct {
	// contains filtered or unexported fields
}

func (DescribeAccountAuditConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAccountAuditConfigurationInput) String

String returns the string representation

type DescribeAccountAuditConfigurationOutput

type DescribeAccountAuditConfigurationOutput struct {

	// Which audit checks are enabled and disabled for this account.
	AuditCheckConfigurations map[string]AuditCheckConfiguration `locationName:"auditCheckConfigurations" type:"map"`

	// Information about the targets to which audit notifications are sent for this
	// account.
	AuditNotificationTargetConfigurations map[string]AuditNotificationTarget `locationName:"auditNotificationTargetConfigurations" type:"map"`

	// The ARN of the role that grants permission to AWS IoT to access information
	// about your devices, policies, certificates, and other items as required when
	// performing an audit.
	//
	// On the first call to UpdateAccountAuditConfiguration, this parameter is required.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountAuditConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAccountAuditConfigurationOutput) String

String returns the string representation

type DescribeAccountAuditConfigurationRequest

DescribeAccountAuditConfigurationRequest is the request type for the DescribeAccountAuditConfiguration API operation.

func (DescribeAccountAuditConfigurationRequest) Send

Send marshals and sends the DescribeAccountAuditConfiguration API request.

type DescribeAccountAuditConfigurationResponse

type DescribeAccountAuditConfigurationResponse struct {
	*DescribeAccountAuditConfigurationOutput
	// contains filtered or unexported fields
}

DescribeAccountAuditConfigurationResponse is the response type for the DescribeAccountAuditConfiguration API operation.

func (*DescribeAccountAuditConfigurationResponse) SDKResponseMetdata

func (r *DescribeAccountAuditConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAccountAuditConfiguration request.

type DescribeAuditFindingInput

type DescribeAuditFindingInput struct {

	// A unique identifier for a single audit finding. You can use this identifier
	// to apply mitigation actions to the finding.
	//
	// FindingId is a required field
	FindingId *string `location:"uri" locationName:"findingId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAuditFindingInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuditFindingInput) String

func (s DescribeAuditFindingInput) String() string

String returns the string representation

func (*DescribeAuditFindingInput) Validate

func (s *DescribeAuditFindingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAuditFindingOutput

type DescribeAuditFindingOutput struct {

	// The findings (results) of the audit.
	Finding *AuditFinding `locationName:"finding" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeAuditFindingOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuditFindingOutput) String

String returns the string representation

type DescribeAuditFindingRequest

type DescribeAuditFindingRequest struct {
	*aws.Request
	Input *DescribeAuditFindingInput
	Copy  func(*DescribeAuditFindingInput) DescribeAuditFindingRequest
}

DescribeAuditFindingRequest is the request type for the DescribeAuditFinding API operation.

func (DescribeAuditFindingRequest) Send

Send marshals and sends the DescribeAuditFinding API request.

type DescribeAuditFindingResponse

type DescribeAuditFindingResponse struct {
	*DescribeAuditFindingOutput
	// contains filtered or unexported fields
}

DescribeAuditFindingResponse is the response type for the DescribeAuditFinding API operation.

func (*DescribeAuditFindingResponse) SDKResponseMetdata

func (r *DescribeAuditFindingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAuditFinding request.

type DescribeAuditMitigationActionsTaskInput

type DescribeAuditMitigationActionsTaskInput struct {

	// The unique identifier for the audit mitigation task.
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAuditMitigationActionsTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuditMitigationActionsTaskInput) String

String returns the string representation

func (*DescribeAuditMitigationActionsTaskInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeAuditMitigationActionsTaskOutput

type DescribeAuditMitigationActionsTaskOutput struct {

	// Specifies the mitigation actions and their parameters that are applied as
	// part of this task.
	ActionsDefinition []MitigationAction `locationName:"actionsDefinition" type:"list"`

	// Specifies the mitigation actions that should be applied to specific audit
	// checks.
	AuditCheckToActionsMapping map[string][]string `locationName:"auditCheckToActionsMapping" type:"map"`

	// The date and time when the task was completed or canceled.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The date and time when the task was started.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// Identifies the findings to which the mitigation actions are applied. This
	// can be by audit checks, by audit task, or a set of findings.
	Target *AuditMitigationActionsTaskTarget `locationName:"target" type:"structure"`

	// Aggregate counts of the results when the mitigation tasks were applied to
	// the findings for this audit mitigation actions task.
	TaskStatistics map[string]TaskStatisticsForAuditCheck `locationName:"taskStatistics" type:"map"`

	// The current status of the task.
	TaskStatus AuditMitigationActionsTaskStatus `locationName:"taskStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DescribeAuditMitigationActionsTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuditMitigationActionsTaskOutput) String

String returns the string representation

type DescribeAuditMitigationActionsTaskRequest

DescribeAuditMitigationActionsTaskRequest is the request type for the DescribeAuditMitigationActionsTask API operation.

func (DescribeAuditMitigationActionsTaskRequest) Send

Send marshals and sends the DescribeAuditMitigationActionsTask API request.

type DescribeAuditMitigationActionsTaskResponse

type DescribeAuditMitigationActionsTaskResponse struct {
	*DescribeAuditMitigationActionsTaskOutput
	// contains filtered or unexported fields
}

DescribeAuditMitigationActionsTaskResponse is the response type for the DescribeAuditMitigationActionsTask API operation.

func (*DescribeAuditMitigationActionsTaskResponse) SDKResponseMetdata

func (r *DescribeAuditMitigationActionsTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAuditMitigationActionsTask request.

type DescribeAuditTaskInput

type DescribeAuditTaskInput struct {

	// The ID of the audit whose information you want to get.
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAuditTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuditTaskInput) String

func (s DescribeAuditTaskInput) String() string

String returns the string representation

func (*DescribeAuditTaskInput) Validate

func (s *DescribeAuditTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAuditTaskOutput

type DescribeAuditTaskOutput struct {

	// Detailed information about each check performed during this audit.
	AuditDetails map[string]AuditCheckDetails `locationName:"auditDetails" type:"map"`

	// The name of the scheduled audit (only if the audit was a scheduled audit).
	ScheduledAuditName *string `locationName:"scheduledAuditName" min:"1" type:"string"`

	// The time the audit started.
	TaskStartTime *time.Time `locationName:"taskStartTime" type:"timestamp"`

	// Statistical information about the audit.
	TaskStatistics *TaskStatistics `locationName:"taskStatistics" type:"structure"`

	// The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or
	// "CANCELED".
	TaskStatus AuditTaskStatus `locationName:"taskStatus" type:"string" enum:"true"`

	// The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".
	TaskType AuditTaskType `locationName:"taskType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DescribeAuditTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuditTaskOutput) String

func (s DescribeAuditTaskOutput) String() string

String returns the string representation

type DescribeAuditTaskRequest

type DescribeAuditTaskRequest struct {
	*aws.Request
	Input *DescribeAuditTaskInput
	Copy  func(*DescribeAuditTaskInput) DescribeAuditTaskRequest
}

DescribeAuditTaskRequest is the request type for the DescribeAuditTask API operation.

func (DescribeAuditTaskRequest) Send

Send marshals and sends the DescribeAuditTask API request.

type DescribeAuditTaskResponse

type DescribeAuditTaskResponse struct {
	*DescribeAuditTaskOutput
	// contains filtered or unexported fields
}

DescribeAuditTaskResponse is the response type for the DescribeAuditTask API operation.

func (*DescribeAuditTaskResponse) SDKResponseMetdata

func (r *DescribeAuditTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAuditTask request.

type DescribeAuthorizerInput

type DescribeAuthorizerInput struct {

	// The name of the authorizer to describe.
	//
	// AuthorizerName is a required field
	AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAuthorizerInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuthorizerInput) String

func (s DescribeAuthorizerInput) String() string

String returns the string representation

func (*DescribeAuthorizerInput) Validate

func (s *DescribeAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAuthorizerOutput

type DescribeAuthorizerOutput struct {

	// The authorizer description.
	AuthorizerDescription *AuthorizerDescription `locationName:"authorizerDescription" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAuthorizerOutput) String

func (s DescribeAuthorizerOutput) String() string

String returns the string representation

type DescribeAuthorizerRequest

type DescribeAuthorizerRequest struct {
	*aws.Request
	Input *DescribeAuthorizerInput
	Copy  func(*DescribeAuthorizerInput) DescribeAuthorizerRequest
}

DescribeAuthorizerRequest is the request type for the DescribeAuthorizer API operation.

func (DescribeAuthorizerRequest) Send

Send marshals and sends the DescribeAuthorizer API request.

type DescribeAuthorizerResponse

type DescribeAuthorizerResponse struct {
	*DescribeAuthorizerOutput
	// contains filtered or unexported fields
}

DescribeAuthorizerResponse is the response type for the DescribeAuthorizer API operation.

func (*DescribeAuthorizerResponse) SDKResponseMetdata

func (r *DescribeAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAuthorizer request.

type DescribeBillingGroupInput

type DescribeBillingGroupInput struct {

	// The name of the billing group.
	//
	// BillingGroupName is a required field
	BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeBillingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBillingGroupInput) String

func (s DescribeBillingGroupInput) String() string

String returns the string representation

func (*DescribeBillingGroupInput) Validate

func (s *DescribeBillingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeBillingGroupOutput

type DescribeBillingGroupOutput struct {

	// The ARN of the billing group.
	BillingGroupArn *string `locationName:"billingGroupArn" type:"string"`

	// The ID of the billing group.
	BillingGroupId *string `locationName:"billingGroupId" min:"1" type:"string"`

	// Additional information about the billing group.
	BillingGroupMetadata *BillingGroupMetadata `locationName:"billingGroupMetadata" type:"structure"`

	// The name of the billing group.
	BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"`

	// The properties of the billing group.
	BillingGroupProperties *BillingGroupProperties `locationName:"billingGroupProperties" type:"structure"`

	// The version of the billing group.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

func (DescribeBillingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeBillingGroupOutput) String

String returns the string representation

type DescribeBillingGroupRequest

type DescribeBillingGroupRequest struct {
	*aws.Request
	Input *DescribeBillingGroupInput
	Copy  func(*DescribeBillingGroupInput) DescribeBillingGroupRequest
}

DescribeBillingGroupRequest is the request type for the DescribeBillingGroup API operation.

func (DescribeBillingGroupRequest) Send

Send marshals and sends the DescribeBillingGroup API request.

type DescribeBillingGroupResponse

type DescribeBillingGroupResponse struct {
	*DescribeBillingGroupOutput
	// contains filtered or unexported fields
}

DescribeBillingGroupResponse is the response type for the DescribeBillingGroup API operation.

func (*DescribeBillingGroupResponse) SDKResponseMetdata

func (r *DescribeBillingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeBillingGroup request.

type DescribeCACertificateInput

type DescribeCACertificateInput struct {

	// The CA certificate identifier.
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DescribeCACertificate operation.

func (DescribeCACertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeCACertificateInput) String

String returns the string representation

func (*DescribeCACertificateInput) Validate

func (s *DescribeCACertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCACertificateOutput

type DescribeCACertificateOutput struct {

	// The CA certificate description.
	CertificateDescription *CACertificateDescription `locationName:"certificateDescription" type:"structure"`

	// Information about the registration configuration.
	RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"`
	// contains filtered or unexported fields
}

The output from the DescribeCACertificate operation.

func (DescribeCACertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeCACertificateOutput) String

String returns the string representation

type DescribeCACertificateRequest

type DescribeCACertificateRequest struct {
	*aws.Request
	Input *DescribeCACertificateInput
	Copy  func(*DescribeCACertificateInput) DescribeCACertificateRequest
}

DescribeCACertificateRequest is the request type for the DescribeCACertificate API operation.

func (DescribeCACertificateRequest) Send

Send marshals and sends the DescribeCACertificate API request.

type DescribeCACertificateResponse

type DescribeCACertificateResponse struct {
	*DescribeCACertificateOutput
	// contains filtered or unexported fields
}

DescribeCACertificateResponse is the response type for the DescribeCACertificate API operation.

func (*DescribeCACertificateResponse) SDKResponseMetdata

func (r *DescribeCACertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeCACertificate request.

type DescribeCertificateInput

type DescribeCertificateInput struct {

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DescribeCertificate operation.

func (DescribeCertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeCertificateInput) String

func (s DescribeCertificateInput) String() string

String returns the string representation

func (*DescribeCertificateInput) Validate

func (s *DescribeCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeCertificateOutput

type DescribeCertificateOutput struct {

	// The description of the certificate.
	CertificateDescription *CertificateDescription `locationName:"certificateDescription" type:"structure"`
	// contains filtered or unexported fields
}

The output of the DescribeCertificate operation.

func (DescribeCertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeCertificateOutput) String

func (s DescribeCertificateOutput) String() string

String returns the string representation

type DescribeCertificateRequest

type DescribeCertificateRequest struct {
	*aws.Request
	Input *DescribeCertificateInput
	Copy  func(*DescribeCertificateInput) DescribeCertificateRequest
}

DescribeCertificateRequest is the request type for the DescribeCertificate API operation.

func (DescribeCertificateRequest) Send

Send marshals and sends the DescribeCertificate API request.

type DescribeCertificateResponse

type DescribeCertificateResponse struct {
	*DescribeCertificateOutput
	// contains filtered or unexported fields
}

DescribeCertificateResponse is the response type for the DescribeCertificate API operation.

func (*DescribeCertificateResponse) SDKResponseMetdata

func (r *DescribeCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeCertificate request.

type DescribeDefaultAuthorizerInput

type DescribeDefaultAuthorizerInput struct {
	// contains filtered or unexported fields
}

func (DescribeDefaultAuthorizerInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeDefaultAuthorizerInput) String

String returns the string representation

type DescribeDefaultAuthorizerOutput

type DescribeDefaultAuthorizerOutput struct {

	// The default authorizer's description.
	AuthorizerDescription *AuthorizerDescription `locationName:"authorizerDescription" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeDefaultAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeDefaultAuthorizerOutput) String

String returns the string representation

type DescribeDefaultAuthorizerRequest

type DescribeDefaultAuthorizerRequest struct {
	*aws.Request
	Input *DescribeDefaultAuthorizerInput
	Copy  func(*DescribeDefaultAuthorizerInput) DescribeDefaultAuthorizerRequest
}

DescribeDefaultAuthorizerRequest is the request type for the DescribeDefaultAuthorizer API operation.

func (DescribeDefaultAuthorizerRequest) Send

Send marshals and sends the DescribeDefaultAuthorizer API request.

type DescribeDefaultAuthorizerResponse

type DescribeDefaultAuthorizerResponse struct {
	*DescribeDefaultAuthorizerOutput
	// contains filtered or unexported fields
}

DescribeDefaultAuthorizerResponse is the response type for the DescribeDefaultAuthorizer API operation.

func (*DescribeDefaultAuthorizerResponse) SDKResponseMetdata

func (r *DescribeDefaultAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeDefaultAuthorizer request.

type DescribeEndpointInput

type DescribeEndpointInput struct {

	// The endpoint type. Valid endpoint types include:
	//
	//    * iot:Data - Returns a VeriSign signed data endpoint.
	//
	//    * iot:Data-ATS - Returns an ATS signed data endpoint.
	//
	//    * iot:CredentialProvider - Returns an AWS IoT credentials provider API
	//    endpoint.
	//
	//    * iot:Jobs - Returns an AWS IoT device management Jobs API endpoint.
	EndpointType *string `location:"querystring" locationName:"endpointType" type:"string"`
	// contains filtered or unexported fields
}

The input for the DescribeEndpoint operation.

func (DescribeEndpointInput) MarshalFields

func (s DescribeEndpointInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeEndpointInput) String

func (s DescribeEndpointInput) String() string

String returns the string representation

type DescribeEndpointOutput

type DescribeEndpointOutput struct {

	// The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com.
	EndpointAddress *string `locationName:"endpointAddress" type:"string"`
	// contains filtered or unexported fields
}

The output from the DescribeEndpoint operation.

func (DescribeEndpointOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeEndpointOutput) String

func (s DescribeEndpointOutput) String() string

String returns the string representation

type DescribeEndpointRequest

type DescribeEndpointRequest struct {
	*aws.Request
	Input *DescribeEndpointInput
	Copy  func(*DescribeEndpointInput) DescribeEndpointRequest
}

DescribeEndpointRequest is the request type for the DescribeEndpoint API operation.

func (DescribeEndpointRequest) Send

Send marshals and sends the DescribeEndpoint API request.

type DescribeEndpointResponse

type DescribeEndpointResponse struct {
	*DescribeEndpointOutput
	// contains filtered or unexported fields
}

DescribeEndpointResponse is the response type for the DescribeEndpoint API operation.

func (*DescribeEndpointResponse) SDKResponseMetdata

func (r *DescribeEndpointResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeEndpoint request.

type DescribeEventConfigurationsInput

type DescribeEventConfigurationsInput struct {
	// contains filtered or unexported fields
}

func (DescribeEventConfigurationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeEventConfigurationsInput) String

String returns the string representation

type DescribeEventConfigurationsOutput

type DescribeEventConfigurationsOutput struct {

	// The creation date of the event configuration.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The event configurations.
	EventConfigurations map[string]Configuration `locationName:"eventConfigurations" type:"map"`

	// The date the event configurations were last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`
	// contains filtered or unexported fields
}

func (DescribeEventConfigurationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeEventConfigurationsOutput) String

String returns the string representation

type DescribeEventConfigurationsRequest

type DescribeEventConfigurationsRequest struct {
	*aws.Request
	Input *DescribeEventConfigurationsInput
	Copy  func(*DescribeEventConfigurationsInput) DescribeEventConfigurationsRequest
}

DescribeEventConfigurationsRequest is the request type for the DescribeEventConfigurations API operation.

func (DescribeEventConfigurationsRequest) Send

Send marshals and sends the DescribeEventConfigurations API request.

type DescribeEventConfigurationsResponse

type DescribeEventConfigurationsResponse struct {
	*DescribeEventConfigurationsOutput
	// contains filtered or unexported fields
}

DescribeEventConfigurationsResponse is the response type for the DescribeEventConfigurations API operation.

func (*DescribeEventConfigurationsResponse) SDKResponseMetdata

func (r *DescribeEventConfigurationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeEventConfigurations request.

type DescribeIndexInput

type DescribeIndexInput struct {

	// The index name.
	//
	// IndexName is a required field
	IndexName *string `location:"uri" locationName:"indexName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeIndexInput) MarshalFields

func (s DescribeIndexInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeIndexInput) String

func (s DescribeIndexInput) String() string

String returns the string representation

func (*DescribeIndexInput) Validate

func (s *DescribeIndexInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeIndexOutput

type DescribeIndexOutput struct {

	// The index name.
	IndexName *string `locationName:"indexName" min:"1" type:"string"`

	// The index status.
	IndexStatus IndexStatus `locationName:"indexStatus" type:"string" enum:"true"`

	// Contains a value that specifies the type of indexing performed. Valid values
	// are:
	//
	//    * REGISTRY – Your thing index contains only registry data.
	//
	//    * REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow
	//    data.
	//
	//    * REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry
	//    data and thing connectivity status data.
	//
	//    * REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains
	//    registry data, shadow data, and thing connectivity status data.
	Schema *string `locationName:"schema" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeIndexOutput) MarshalFields

func (s DescribeIndexOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeIndexOutput) String

func (s DescribeIndexOutput) String() string

String returns the string representation

type DescribeIndexRequest

type DescribeIndexRequest struct {
	*aws.Request
	Input *DescribeIndexInput
	Copy  func(*DescribeIndexInput) DescribeIndexRequest
}

DescribeIndexRequest is the request type for the DescribeIndex API operation.

func (DescribeIndexRequest) Send

Send marshals and sends the DescribeIndex API request.

type DescribeIndexResponse

type DescribeIndexResponse struct {
	*DescribeIndexOutput
	// contains filtered or unexported fields
}

DescribeIndexResponse is the response type for the DescribeIndex API operation.

func (*DescribeIndexResponse) SDKResponseMetdata

func (r *DescribeIndexResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeIndex request.

type DescribeJobExecutionInput

type DescribeJobExecutionInput struct {

	// A string (consisting of the digits "0" through "9" which is used to specify
	// a particular job execution on a particular device.
	ExecutionNumber *int64 `location:"querystring" locationName:"executionNumber" type:"long"`

	// The unique identifier you assigned to this job when it was created.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// The name of the thing on which the job execution is running.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeJobExecutionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeJobExecutionInput) String

func (s DescribeJobExecutionInput) String() string

String returns the string representation

func (*DescribeJobExecutionInput) Validate

func (s *DescribeJobExecutionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeJobExecutionOutput

type DescribeJobExecutionOutput struct {

	// Information about the job execution.
	Execution *JobExecution `locationName:"execution" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeJobExecutionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeJobExecutionOutput) String

String returns the string representation

type DescribeJobExecutionRequest

type DescribeJobExecutionRequest struct {
	*aws.Request
	Input *DescribeJobExecutionInput
	Copy  func(*DescribeJobExecutionInput) DescribeJobExecutionRequest
}

DescribeJobExecutionRequest is the request type for the DescribeJobExecution API operation.

func (DescribeJobExecutionRequest) Send

Send marshals and sends the DescribeJobExecution API request.

type DescribeJobExecutionResponse

type DescribeJobExecutionResponse struct {
	*DescribeJobExecutionOutput
	// contains filtered or unexported fields
}

DescribeJobExecutionResponse is the response type for the DescribeJobExecution API operation.

func (*DescribeJobExecutionResponse) SDKResponseMetdata

func (r *DescribeJobExecutionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeJobExecution request.

type DescribeJobInput

type DescribeJobInput struct {

	// The unique identifier you assigned to this job when it was created.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeJobInput) MarshalFields

func (s DescribeJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeJobInput) String

func (s DescribeJobInput) String() string

String returns the string representation

func (*DescribeJobInput) Validate

func (s *DescribeJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeJobOutput

type DescribeJobOutput struct {

	// An S3 link to the job document.
	DocumentSource *string `locationName:"documentSource" min:"1" type:"string"`

	// Information about the job.
	Job *Job `locationName:"job" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeJobOutput) MarshalFields

func (s DescribeJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeJobOutput) String

func (s DescribeJobOutput) String() string

String returns the string representation

type DescribeJobRequest

type DescribeJobRequest struct {
	*aws.Request
	Input *DescribeJobInput
	Copy  func(*DescribeJobInput) DescribeJobRequest
}

DescribeJobRequest is the request type for the DescribeJob API operation.

func (DescribeJobRequest) Send

Send marshals and sends the DescribeJob API request.

type DescribeJobResponse

type DescribeJobResponse struct {
	*DescribeJobOutput
	// contains filtered or unexported fields
}

DescribeJobResponse is the response type for the DescribeJob API operation.

func (*DescribeJobResponse) SDKResponseMetdata

func (r *DescribeJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeJob request.

type DescribeMitigationActionInput

type DescribeMitigationActionInput struct {

	// The friendly name that uniquely identifies the mitigation action.
	//
	// ActionName is a required field
	ActionName *string `location:"uri" locationName:"actionName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMitigationActionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeMitigationActionInput) String

String returns the string representation

func (*DescribeMitigationActionInput) Validate

func (s *DescribeMitigationActionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeMitigationActionOutput

type DescribeMitigationActionOutput struct {

	// The ARN that identifies this migration action.
	ActionArn *string `locationName:"actionArn" type:"string"`

	// A unique identifier for this action.
	ActionId *string `locationName:"actionId" type:"string"`

	// The friendly name that uniquely identifies the mitigation action.
	ActionName *string `locationName:"actionName" type:"string"`

	// Parameters that control how the mitigation action is applied, specific to
	// the type of mitigation action.
	ActionParams *MitigationActionParams `locationName:"actionParams" type:"structure"`

	// The type of mitigation action.
	ActionType MitigationActionType `locationName:"actionType" type:"string" enum:"true"`

	// The date and time when the mitigation action was added to your AWS account.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The date and time when the mitigation action was last changed.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The ARN of the IAM role used to apply this action.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeMitigationActionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeMitigationActionOutput) String

String returns the string representation

type DescribeMitigationActionRequest

type DescribeMitigationActionRequest struct {
	*aws.Request
	Input *DescribeMitigationActionInput
	Copy  func(*DescribeMitigationActionInput) DescribeMitigationActionRequest
}

DescribeMitigationActionRequest is the request type for the DescribeMitigationAction API operation.

func (DescribeMitigationActionRequest) Send

Send marshals and sends the DescribeMitigationAction API request.

type DescribeMitigationActionResponse

type DescribeMitigationActionResponse struct {
	*DescribeMitigationActionOutput
	// contains filtered or unexported fields
}

DescribeMitigationActionResponse is the response type for the DescribeMitigationAction API operation.

func (*DescribeMitigationActionResponse) SDKResponseMetdata

func (r *DescribeMitigationActionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeMitigationAction request.

type DescribeRoleAliasInput

type DescribeRoleAliasInput struct {

	// The role alias to describe.
	//
	// RoleAlias is a required field
	RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRoleAliasInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeRoleAliasInput) String

func (s DescribeRoleAliasInput) String() string

String returns the string representation

func (*DescribeRoleAliasInput) Validate

func (s *DescribeRoleAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRoleAliasOutput

type DescribeRoleAliasOutput struct {

	// The role alias description.
	RoleAliasDescription *RoleAliasDescription `locationName:"roleAliasDescription" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeRoleAliasOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeRoleAliasOutput) String

func (s DescribeRoleAliasOutput) String() string

String returns the string representation

type DescribeRoleAliasRequest

type DescribeRoleAliasRequest struct {
	*aws.Request
	Input *DescribeRoleAliasInput
	Copy  func(*DescribeRoleAliasInput) DescribeRoleAliasRequest
}

DescribeRoleAliasRequest is the request type for the DescribeRoleAlias API operation.

func (DescribeRoleAliasRequest) Send

Send marshals and sends the DescribeRoleAlias API request.

type DescribeRoleAliasResponse

type DescribeRoleAliasResponse struct {
	*DescribeRoleAliasOutput
	// contains filtered or unexported fields
}

DescribeRoleAliasResponse is the response type for the DescribeRoleAlias API operation.

func (*DescribeRoleAliasResponse) SDKResponseMetdata

func (r *DescribeRoleAliasResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeRoleAlias request.

type DescribeScheduledAuditInput

type DescribeScheduledAuditInput struct {

	// The name of the scheduled audit whose information you want to get.
	//
	// ScheduledAuditName is a required field
	ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeScheduledAuditInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeScheduledAuditInput) String

String returns the string representation

func (*DescribeScheduledAuditInput) Validate

func (s *DescribeScheduledAuditInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeScheduledAuditOutput

type DescribeScheduledAuditOutput struct {

	// The day of the month on which the scheduled audit takes place. Will be "1"
	// through "31" or "LAST". If days 29-31 are specified, and the month does not
	// have that many days, the audit takes place on the "LAST" day of the month.
	DayOfMonth *string `locationName:"dayOfMonth" type:"string"`

	// The day of the week on which the scheduled audit takes place. One of "SUN",
	// "MON", "TUE", "WED", "THU", "FRI", or "SAT".
	DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"`

	// How often the scheduled audit takes place. One of "DAILY", "WEEKLY", "BIWEEKLY",
	// or "MONTHLY". The start time of each audit is determined by the system.
	Frequency AuditFrequency `locationName:"frequency" type:"string" enum:"true"`

	// The ARN of the scheduled audit.
	ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"`

	// The name of the scheduled audit.
	ScheduledAuditName *string `locationName:"scheduledAuditName" min:"1" type:"string"`

	// Which checks are performed during the scheduled audit. Checks must be enabled
	// for your account. (Use DescribeAccountAuditConfiguration to see the list
	// of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
	// to select which checks are enabled.)
	TargetCheckNames []string `locationName:"targetCheckNames" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeScheduledAuditOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeScheduledAuditOutput) String

String returns the string representation

type DescribeScheduledAuditRequest

type DescribeScheduledAuditRequest struct {
	*aws.Request
	Input *DescribeScheduledAuditInput
	Copy  func(*DescribeScheduledAuditInput) DescribeScheduledAuditRequest
}

DescribeScheduledAuditRequest is the request type for the DescribeScheduledAudit API operation.

func (DescribeScheduledAuditRequest) Send

Send marshals and sends the DescribeScheduledAudit API request.

type DescribeScheduledAuditResponse

type DescribeScheduledAuditResponse struct {
	*DescribeScheduledAuditOutput
	// contains filtered or unexported fields
}

DescribeScheduledAuditResponse is the response type for the DescribeScheduledAudit API operation.

func (*DescribeScheduledAuditResponse) SDKResponseMetdata

func (r *DescribeScheduledAuditResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeScheduledAudit request.

type DescribeSecurityProfileInput

type DescribeSecurityProfileInput struct {

	// The name of the security profile whose information you want to get.
	//
	// SecurityProfileName is a required field
	SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSecurityProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSecurityProfileInput) String

String returns the string representation

func (*DescribeSecurityProfileInput) Validate

func (s *DescribeSecurityProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSecurityProfileOutput

type DescribeSecurityProfileOutput struct {

	// 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.
	AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"`

	// Where the alerts are sent. (Alerts are always sent to the console.)
	AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"`

	// Specifies the behaviors that, when violated by a device (thing), cause an
	// alert.
	Behaviors []Behavior `locationName:"behaviors" type:"list"`

	// The time the security profile was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The time the security profile was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The ARN of the security profile.
	SecurityProfileArn *string `locationName:"securityProfileArn" type:"string"`

	// A description of the security profile (associated with the security profile
	// when it was created or updated).
	SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"`

	// The name of the security profile.
	SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"`

	// The version of the security profile. A new version is generated whenever
	// the security profile is updated.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

func (DescribeSecurityProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSecurityProfileOutput) String

String returns the string representation

type DescribeSecurityProfileRequest

type DescribeSecurityProfileRequest struct {
	*aws.Request
	Input *DescribeSecurityProfileInput
	Copy  func(*DescribeSecurityProfileInput) DescribeSecurityProfileRequest
}

DescribeSecurityProfileRequest is the request type for the DescribeSecurityProfile API operation.

func (DescribeSecurityProfileRequest) Send

Send marshals and sends the DescribeSecurityProfile API request.

type DescribeSecurityProfileResponse

type DescribeSecurityProfileResponse struct {
	*DescribeSecurityProfileOutput
	// contains filtered or unexported fields
}

DescribeSecurityProfileResponse is the response type for the DescribeSecurityProfile API operation.

func (*DescribeSecurityProfileResponse) SDKResponseMetdata

func (r *DescribeSecurityProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeSecurityProfile request.

type DescribeStreamInput

type DescribeStreamInput struct {

	// The stream ID.
	//
	// StreamId is a required field
	StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeStreamInput) MarshalFields

func (s DescribeStreamInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeStreamInput) String

func (s DescribeStreamInput) String() string

String returns the string representation

func (*DescribeStreamInput) Validate

func (s *DescribeStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeStreamOutput

type DescribeStreamOutput struct {

	// Information about the stream.
	StreamInfo *StreamInfo `locationName:"streamInfo" type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeStreamOutput) MarshalFields

func (s DescribeStreamOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeStreamOutput) String

func (s DescribeStreamOutput) String() string

String returns the string representation

type DescribeStreamRequest

type DescribeStreamRequest struct {
	*aws.Request
	Input *DescribeStreamInput
	Copy  func(*DescribeStreamInput) DescribeStreamRequest
}

DescribeStreamRequest is the request type for the DescribeStream API operation.

func (DescribeStreamRequest) Send

Send marshals and sends the DescribeStream API request.

type DescribeStreamResponse

type DescribeStreamResponse struct {
	*DescribeStreamOutput
	// contains filtered or unexported fields
}

DescribeStreamResponse is the response type for the DescribeStream API operation.

func (*DescribeStreamResponse) SDKResponseMetdata

func (r *DescribeStreamResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeStream request.

type DescribeThingGroupInput

type DescribeThingGroupInput struct {

	// The name of the thing group.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeThingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingGroupInput) String

func (s DescribeThingGroupInput) String() string

String returns the string representation

func (*DescribeThingGroupInput) Validate

func (s *DescribeThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeThingGroupOutput

type DescribeThingGroupOutput struct {

	// The dynamic thing group index name.
	IndexName *string `locationName:"indexName" min:"1" type:"string"`

	// The dynamic thing group search query string.
	QueryString *string `locationName:"queryString" min:"1" type:"string"`

	// The dynamic thing group query version.
	QueryVersion *string `locationName:"queryVersion" type:"string"`

	// The dynamic thing group status.
	Status DynamicGroupStatus `locationName:"status" type:"string" enum:"true"`

	// The thing group ARN.
	ThingGroupArn *string `locationName:"thingGroupArn" type:"string"`

	// The thing group ID.
	ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"`

	// Thing group metadata.
	ThingGroupMetadata *ThingGroupMetadata `locationName:"thingGroupMetadata" type:"structure"`

	// The name of the thing group.
	ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"`

	// The thing group properties.
	ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"`

	// The version of the thing group.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

func (DescribeThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingGroupOutput) String

func (s DescribeThingGroupOutput) String() string

String returns the string representation

type DescribeThingGroupRequest

type DescribeThingGroupRequest struct {
	*aws.Request
	Input *DescribeThingGroupInput
	Copy  func(*DescribeThingGroupInput) DescribeThingGroupRequest
}

DescribeThingGroupRequest is the request type for the DescribeThingGroup API operation.

func (DescribeThingGroupRequest) Send

Send marshals and sends the DescribeThingGroup API request.

type DescribeThingGroupResponse

type DescribeThingGroupResponse struct {
	*DescribeThingGroupOutput
	// contains filtered or unexported fields
}

DescribeThingGroupResponse is the response type for the DescribeThingGroup API operation.

func (*DescribeThingGroupResponse) SDKResponseMetdata

func (r *DescribeThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeThingGroup request.

type DescribeThingInput

type DescribeThingInput struct {

	// The name of the thing.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DescribeThing operation.

func (DescribeThingInput) MarshalFields

func (s DescribeThingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingInput) String

func (s DescribeThingInput) String() string

String returns the string representation

func (*DescribeThingInput) Validate

func (s *DescribeThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeThingOutput

type DescribeThingOutput struct {

	// The thing attributes.
	Attributes map[string]string `locationName:"attributes" type:"map"`

	// The name of the billing group the thing belongs to.
	BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"`

	// The default client ID.
	DefaultClientId *string `locationName:"defaultClientId" type:"string"`

	// The ARN of the thing to describe.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The ID of the thing to describe.
	ThingId *string `locationName:"thingId" type:"string"`

	// The name of the thing.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`

	// The thing type name.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`

	// The current version of the thing record in the registry.
	//
	// To avoid unintentional changes to the information in the registry, you can
	// pass the version information in the expectedVersion parameter of the UpdateThing
	// and DeleteThing calls.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

The output from the DescribeThing operation.

func (DescribeThingOutput) MarshalFields

func (s DescribeThingOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingOutput) String

func (s DescribeThingOutput) String() string

String returns the string representation

type DescribeThingRegistrationTaskInput

type DescribeThingRegistrationTaskInput struct {

	// The task ID.
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeThingRegistrationTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingRegistrationTaskInput) String

String returns the string representation

func (*DescribeThingRegistrationTaskInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeThingRegistrationTaskOutput

type DescribeThingRegistrationTaskOutput struct {

	// The task creation date.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The number of things that failed to be provisioned.
	FailureCount *int64 `locationName:"failureCount" type:"integer"`

	// The S3 bucket that contains the input file.
	InputFileBucket *string `locationName:"inputFileBucket" min:"3" type:"string"`

	// The input file key.
	InputFileKey *string `locationName:"inputFileKey" min:"1" type:"string"`

	// The date when the task was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The message.
	Message *string `locationName:"message" type:"string"`

	// The progress of the bulk provisioning task expressed as a percentage.
	PercentageProgress *int64 `locationName:"percentageProgress" type:"integer"`

	// The role ARN that grants access to the input file bucket.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The status of the bulk thing provisioning task.
	Status Status `locationName:"status" type:"string" enum:"true"`

	// The number of things successfully provisioned.
	SuccessCount *int64 `locationName:"successCount" type:"integer"`

	// The task ID.
	TaskId *string `locationName:"taskId" type:"string"`

	// The task's template.
	TemplateBody *string `locationName:"templateBody" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeThingRegistrationTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingRegistrationTaskOutput) String

String returns the string representation

type DescribeThingRegistrationTaskRequest

type DescribeThingRegistrationTaskRequest struct {
	*aws.Request
	Input *DescribeThingRegistrationTaskInput
	Copy  func(*DescribeThingRegistrationTaskInput) DescribeThingRegistrationTaskRequest
}

DescribeThingRegistrationTaskRequest is the request type for the DescribeThingRegistrationTask API operation.

func (DescribeThingRegistrationTaskRequest) Send

Send marshals and sends the DescribeThingRegistrationTask API request.

type DescribeThingRegistrationTaskResponse

type DescribeThingRegistrationTaskResponse struct {
	*DescribeThingRegistrationTaskOutput
	// contains filtered or unexported fields
}

DescribeThingRegistrationTaskResponse is the response type for the DescribeThingRegistrationTask API operation.

func (*DescribeThingRegistrationTaskResponse) SDKResponseMetdata

func (r *DescribeThingRegistrationTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeThingRegistrationTask request.

type DescribeThingRequest

type DescribeThingRequest struct {
	*aws.Request
	Input *DescribeThingInput
	Copy  func(*DescribeThingInput) DescribeThingRequest
}

DescribeThingRequest is the request type for the DescribeThing API operation.

func (DescribeThingRequest) Send

Send marshals and sends the DescribeThing API request.

type DescribeThingResponse

type DescribeThingResponse struct {
	*DescribeThingOutput
	// contains filtered or unexported fields
}

DescribeThingResponse is the response type for the DescribeThing API operation.

func (*DescribeThingResponse) SDKResponseMetdata

func (r *DescribeThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeThing request.

type DescribeThingTypeInput

type DescribeThingTypeInput struct {

	// The name of the thing type.
	//
	// ThingTypeName is a required field
	ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DescribeThingType operation.

func (DescribeThingTypeInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingTypeInput) String

func (s DescribeThingTypeInput) String() string

String returns the string representation

func (*DescribeThingTypeInput) Validate

func (s *DescribeThingTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeThingTypeOutput

type DescribeThingTypeOutput struct {

	// The thing type ARN.
	ThingTypeArn *string `locationName:"thingTypeArn" type:"string"`

	// The thing type ID.
	ThingTypeId *string `locationName:"thingTypeId" type:"string"`

	// The ThingTypeMetadata contains additional information about the thing type
	// including: creation date and time, a value indicating whether the thing type
	// is deprecated, and a date and time when it was deprecated.
	ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"`

	// The name of the thing type.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`

	// The ThingTypeProperties contains information about the thing type including
	// description, and a list of searchable thing attribute names.
	ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"`
	// contains filtered or unexported fields
}

The output for the DescribeThingType operation.

func (DescribeThingTypeOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeThingTypeOutput) String

func (s DescribeThingTypeOutput) String() string

String returns the string representation

type DescribeThingTypeRequest

type DescribeThingTypeRequest struct {
	*aws.Request
	Input *DescribeThingTypeInput
	Copy  func(*DescribeThingTypeInput) DescribeThingTypeRequest
}

DescribeThingTypeRequest is the request type for the DescribeThingType API operation.

func (DescribeThingTypeRequest) Send

Send marshals and sends the DescribeThingType API request.

type DescribeThingTypeResponse

type DescribeThingTypeResponse struct {
	*DescribeThingTypeOutput
	// contains filtered or unexported fields
}

DescribeThingTypeResponse is the response type for the DescribeThingType API operation.

func (*DescribeThingTypeResponse) SDKResponseMetdata

func (r *DescribeThingTypeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeThingType request.

type Destination

type Destination struct {

	// Describes the location in S3 of the updated firmware.
	S3Destination *S3Destination `locationName:"s3Destination" type:"structure"`
	// contains filtered or unexported fields
}

Describes the location of the updated firmware.

func (Destination) MarshalFields

func (s Destination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Destination) String

func (s Destination) String() string

String returns the string representation

func (*Destination) Validate

func (s *Destination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachPolicyInput

type DetachPolicyInput struct {

	// The policy to detach.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// The target from which the policy will be detached.
	//
	// Target is a required field
	Target *string `locationName:"target" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DetachPolicyInput) MarshalFields

func (s DetachPolicyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachPolicyInput) String

func (s DetachPolicyInput) String() string

String returns the string representation

func (*DetachPolicyInput) Validate

func (s *DetachPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachPolicyOutput

type DetachPolicyOutput struct {
	// contains filtered or unexported fields
}

func (DetachPolicyOutput) MarshalFields

func (s DetachPolicyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachPolicyOutput) String

func (s DetachPolicyOutput) String() string

String returns the string representation

type DetachPolicyRequest

type DetachPolicyRequest struct {
	*aws.Request
	Input *DetachPolicyInput
	Copy  func(*DetachPolicyInput) DetachPolicyRequest
}

DetachPolicyRequest is the request type for the DetachPolicy API operation.

func (DetachPolicyRequest) Send

Send marshals and sends the DetachPolicy API request.

type DetachPolicyResponse

type DetachPolicyResponse struct {
	*DetachPolicyOutput
	// contains filtered or unexported fields
}

DetachPolicyResponse is the response type for the DetachPolicy API operation.

func (*DetachPolicyResponse) SDKResponseMetdata

func (r *DetachPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DetachPolicy request.

type DetachPrincipalPolicyInput

type DetachPrincipalPolicyInput struct {

	// The name of the policy to detach.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// The principal.
	//
	// If the principal is a certificate, specify the certificate ARN. If the principal
	// is an Amazon Cognito identity, specify the identity ID.
	//
	// Principal is a required field
	Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DetachPrincipalPolicy operation.

func (DetachPrincipalPolicyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachPrincipalPolicyInput) String

String returns the string representation

func (*DetachPrincipalPolicyInput) Validate

func (s *DetachPrincipalPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachPrincipalPolicyOutput

type DetachPrincipalPolicyOutput struct {
	// contains filtered or unexported fields
}

func (DetachPrincipalPolicyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachPrincipalPolicyOutput) String

String returns the string representation

type DetachPrincipalPolicyRequest

type DetachPrincipalPolicyRequest struct {
	*aws.Request
	Input *DetachPrincipalPolicyInput
	Copy  func(*DetachPrincipalPolicyInput) DetachPrincipalPolicyRequest
}

DetachPrincipalPolicyRequest is the request type for the DetachPrincipalPolicy API operation.

func (DetachPrincipalPolicyRequest) Send

Send marshals and sends the DetachPrincipalPolicy API request.

type DetachPrincipalPolicyResponse

type DetachPrincipalPolicyResponse struct {
	*DetachPrincipalPolicyOutput
	// contains filtered or unexported fields
}

DetachPrincipalPolicyResponse is the response type for the DetachPrincipalPolicy API operation.

func (*DetachPrincipalPolicyResponse) SDKResponseMetdata

func (r *DetachPrincipalPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DetachPrincipalPolicy request.

type DetachSecurityProfileInput

type DetachSecurityProfileInput struct {

	// The security profile that is detached.
	//
	// SecurityProfileName is a required field
	SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"`

	// The ARN of the thing group from which the security profile is detached.
	//
	// SecurityProfileTargetArn is a required field
	SecurityProfileTargetArn *string `location:"querystring" locationName:"securityProfileTargetArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DetachSecurityProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachSecurityProfileInput) String

String returns the string representation

func (*DetachSecurityProfileInput) Validate

func (s *DetachSecurityProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachSecurityProfileOutput

type DetachSecurityProfileOutput struct {
	// contains filtered or unexported fields
}

func (DetachSecurityProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachSecurityProfileOutput) String

String returns the string representation

type DetachSecurityProfileRequest

type DetachSecurityProfileRequest struct {
	*aws.Request
	Input *DetachSecurityProfileInput
	Copy  func(*DetachSecurityProfileInput) DetachSecurityProfileRequest
}

DetachSecurityProfileRequest is the request type for the DetachSecurityProfile API operation.

func (DetachSecurityProfileRequest) Send

Send marshals and sends the DetachSecurityProfile API request.

type DetachSecurityProfileResponse

type DetachSecurityProfileResponse struct {
	*DetachSecurityProfileOutput
	// contains filtered or unexported fields
}

DetachSecurityProfileResponse is the response type for the DetachSecurityProfile API operation.

func (*DetachSecurityProfileResponse) SDKResponseMetdata

func (r *DetachSecurityProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DetachSecurityProfile request.

type DetachThingPrincipalInput

type DetachThingPrincipalInput struct {

	// If the principal is a certificate, this value must be ARN of the certificate.
	// If the principal is an Amazon Cognito identity, this value must be the ID
	// of the Amazon Cognito identity.
	//
	// Principal is a required field
	Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"`

	// The name of the thing.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DetachThingPrincipal operation.

func (DetachThingPrincipalInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachThingPrincipalInput) String

func (s DetachThingPrincipalInput) String() string

String returns the string representation

func (*DetachThingPrincipalInput) Validate

func (s *DetachThingPrincipalInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachThingPrincipalOutput

type DetachThingPrincipalOutput struct {
	// contains filtered or unexported fields
}

The output from the DetachThingPrincipal operation.

func (DetachThingPrincipalOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DetachThingPrincipalOutput) String

String returns the string representation

type DetachThingPrincipalRequest

type DetachThingPrincipalRequest struct {
	*aws.Request
	Input *DetachThingPrincipalInput
	Copy  func(*DetachThingPrincipalInput) DetachThingPrincipalRequest
}

DetachThingPrincipalRequest is the request type for the DetachThingPrincipal API operation.

func (DetachThingPrincipalRequest) Send

Send marshals and sends the DetachThingPrincipal API request.

type DetachThingPrincipalResponse

type DetachThingPrincipalResponse struct {
	*DetachThingPrincipalOutput
	// contains filtered or unexported fields
}

DetachThingPrincipalResponse is the response type for the DetachThingPrincipal API operation.

func (*DetachThingPrincipalResponse) SDKResponseMetdata

func (r *DetachThingPrincipalResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DetachThingPrincipal request.

type DeviceCertificateUpdateAction

type DeviceCertificateUpdateAction string
const (
	DeviceCertificateUpdateActionDeactivate DeviceCertificateUpdateAction = "DEACTIVATE"
)

Enum values for DeviceCertificateUpdateAction

func (DeviceCertificateUpdateAction) MarshalValue

func (enum DeviceCertificateUpdateAction) MarshalValue() (string, error)

func (DeviceCertificateUpdateAction) MarshalValueBuf

func (enum DeviceCertificateUpdateAction) MarshalValueBuf(b []byte) ([]byte, error)

type DisableTopicRuleInput

type DisableTopicRuleInput struct {

	// The name of the rule to disable.
	//
	// RuleName is a required field
	RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DisableTopicRuleRequest operation.

func (DisableTopicRuleInput) MarshalFields

func (s DisableTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableTopicRuleInput) String

func (s DisableTopicRuleInput) String() string

String returns the string representation

func (*DisableTopicRuleInput) Validate

func (s *DisableTopicRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisableTopicRuleOutput

type DisableTopicRuleOutput struct {
	// contains filtered or unexported fields
}

func (DisableTopicRuleOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DisableTopicRuleOutput) String

func (s DisableTopicRuleOutput) String() string

String returns the string representation

type DisableTopicRuleRequest

type DisableTopicRuleRequest struct {
	*aws.Request
	Input *DisableTopicRuleInput
	Copy  func(*DisableTopicRuleInput) DisableTopicRuleRequest
}

DisableTopicRuleRequest is the request type for the DisableTopicRule API operation.

func (DisableTopicRuleRequest) Send

Send marshals and sends the DisableTopicRule API request.

type DisableTopicRuleResponse

type DisableTopicRuleResponse struct {
	*DisableTopicRuleOutput
	// contains filtered or unexported fields
}

DisableTopicRuleResponse is the response type for the DisableTopicRule API operation.

func (*DisableTopicRuleResponse) SDKResponseMetdata

func (r *DisableTopicRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisableTopicRule request.

type DynamicGroupStatus

type DynamicGroupStatus string
const (
	DynamicGroupStatusActive     DynamicGroupStatus = "ACTIVE"
	DynamicGroupStatusBuilding   DynamicGroupStatus = "BUILDING"
	DynamicGroupStatusRebuilding DynamicGroupStatus = "REBUILDING"
)

Enum values for DynamicGroupStatus

func (DynamicGroupStatus) MarshalValue

func (enum DynamicGroupStatus) MarshalValue() (string, error)

func (DynamicGroupStatus) MarshalValueBuf

func (enum DynamicGroupStatus) MarshalValueBuf(b []byte) ([]byte, error)

type DynamoDBAction

type DynamoDBAction struct {

	// The hash key name.
	//
	// HashKeyField is a required field
	HashKeyField *string `locationName:"hashKeyField" type:"string" required:"true"`

	// The hash key type. Valid values are "STRING" or "NUMBER"
	HashKeyType DynamoKeyType `locationName:"hashKeyType" type:"string" enum:"true"`

	// The hash key value.
	//
	// HashKeyValue is a required field
	HashKeyValue *string `locationName:"hashKeyValue" type:"string" required:"true"`

	// The type of operation to be performed. This follows the substitution template,
	// so it can be ${operation}, but the substitution must result in one of the
	// following: INSERT, UPDATE, or DELETE.
	Operation *string `locationName:"operation" type:"string"`

	// The action payload. This name can be customized.
	PayloadField *string `locationName:"payloadField" type:"string"`

	// The range key name.
	RangeKeyField *string `locationName:"rangeKeyField" type:"string"`

	// The range key type. Valid values are "STRING" or "NUMBER"
	RangeKeyType DynamoKeyType `locationName:"rangeKeyType" type:"string" enum:"true"`

	// The range key value.
	RangeKeyValue *string `locationName:"rangeKeyValue" type:"string"`

	// The ARN of the IAM role that grants access to the DynamoDB table.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The name of the DynamoDB table.
	//
	// TableName is a required field
	TableName *string `locationName:"tableName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to write to a DynamoDB table.

The tableName, hashKeyField, and rangeKeyField values must match the values used when you created the table.

The hashKeyValue and rangeKeyvalue fields use a substitution template syntax. These templates provide data at runtime. The syntax is as follows: ${sql-expression}.

You can specify any valid expression in a WHERE or SELECT clause, including JSON properties, comparisons, calculations, and functions. For example, the following field uses the third level of the topic:

"hashKeyValue": "${topic(3)}"

The following field uses the timestamp:

"rangeKeyValue": "${timestamp()}"

func (DynamoDBAction) MarshalFields

func (s DynamoDBAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DynamoDBAction) String

func (s DynamoDBAction) String() string

String returns the string representation

func (*DynamoDBAction) Validate

func (s *DynamoDBAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DynamoDBv2Action

type DynamoDBv2Action struct {

	// Specifies the DynamoDB table to which the message data will be written. For
	// example:
	//
	// { "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName":
	// "my-table" } } }
	//
	// Each attribute in the message payload will be written to a separate column
	// in the DynamoDB database.
	//
	// PutItem is a required field
	PutItem *PutItemInput `locationName:"putItem" type:"structure" required:"true"`

	// The ARN of the IAM role that grants access to the DynamoDB table.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to write to a DynamoDB table.

This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.

func (DynamoDBv2Action) MarshalFields

func (s DynamoDBv2Action) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DynamoDBv2Action) String

func (s DynamoDBv2Action) String() string

String returns the string representation

func (*DynamoDBv2Action) Validate

func (s *DynamoDBv2Action) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DynamoKeyType

type DynamoKeyType string
const (
	DynamoKeyTypeString DynamoKeyType = "STRING"
	DynamoKeyTypeNumber DynamoKeyType = "NUMBER"
)

Enum values for DynamoKeyType

func (DynamoKeyType) MarshalValue

func (enum DynamoKeyType) MarshalValue() (string, error)

func (DynamoKeyType) MarshalValueBuf

func (enum DynamoKeyType) MarshalValueBuf(b []byte) ([]byte, error)

type EffectivePolicy

type EffectivePolicy struct {

	// The policy ARN.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The IAM policy document.
	PolicyDocument *string `locationName:"policyDocument" type:"string"`

	// The policy name.
	PolicyName *string `locationName:"policyName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The policy that has the effect on the authorization results.

func (EffectivePolicy) MarshalFields

func (s EffectivePolicy) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EffectivePolicy) String

func (s EffectivePolicy) String() string

String returns the string representation

type ElasticsearchAction

type ElasticsearchAction struct {

	// The endpoint of your Elasticsearch domain.
	//
	// Endpoint is a required field
	Endpoint *string `locationName:"endpoint" type:"string" required:"true"`

	// The unique identifier for the document you are storing.
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// The Elasticsearch index where you want to store your data.
	//
	// Index is a required field
	Index *string `locationName:"index" type:"string" required:"true"`

	// The IAM role ARN that has access to Elasticsearch.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The type of document you are storing.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action that writes data to an Amazon Elasticsearch Service domain.

func (ElasticsearchAction) MarshalFields

func (s ElasticsearchAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ElasticsearchAction) String

func (s ElasticsearchAction) String() string

String returns the string representation

func (*ElasticsearchAction) Validate

func (s *ElasticsearchAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableIoTLoggingParams

type EnableIoTLoggingParams struct {

	// Specifies the types of information to be logged.
	//
	// LogLevel is a required field
	LogLevel LogLevel `locationName:"logLevel" type:"string" required:"true" enum:"true"`

	// The ARN of the IAM role used for logging.
	//
	// RoleArnForLogging is a required field
	RoleArnForLogging *string `locationName:"roleArnForLogging" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Parameters used when defining a mitigation action that enable AWS IoT logging.

func (EnableIoTLoggingParams) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableIoTLoggingParams) String

func (s EnableIoTLoggingParams) String() string

String returns the string representation

func (*EnableIoTLoggingParams) Validate

func (s *EnableIoTLoggingParams) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableTopicRuleInput

type EnableTopicRuleInput struct {

	// The name of the topic rule to enable.
	//
	// RuleName is a required field
	RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the EnableTopicRuleRequest operation.

func (EnableTopicRuleInput) MarshalFields

func (s EnableTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableTopicRuleInput) String

func (s EnableTopicRuleInput) String() string

String returns the string representation

func (*EnableTopicRuleInput) Validate

func (s *EnableTopicRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableTopicRuleOutput

type EnableTopicRuleOutput struct {
	// contains filtered or unexported fields
}

func (EnableTopicRuleOutput) MarshalFields

func (s EnableTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (EnableTopicRuleOutput) String

func (s EnableTopicRuleOutput) String() string

String returns the string representation

type EnableTopicRuleRequest

type EnableTopicRuleRequest struct {
	*aws.Request
	Input *EnableTopicRuleInput
	Copy  func(*EnableTopicRuleInput) EnableTopicRuleRequest
}

EnableTopicRuleRequest is the request type for the EnableTopicRule API operation.

func (EnableTopicRuleRequest) Send

Send marshals and sends the EnableTopicRule API request.

type EnableTopicRuleResponse

type EnableTopicRuleResponse struct {
	*EnableTopicRuleOutput
	// contains filtered or unexported fields
}

EnableTopicRuleResponse is the response type for the EnableTopicRule API operation.

func (*EnableTopicRuleResponse) SDKResponseMetdata

func (r *EnableTopicRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the EnableTopicRule request.

type ErrorInfo

type ErrorInfo struct {

	// The error code.
	Code *string `locationName:"code" type:"string"`

	// The error message.
	Message *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Error information.

func (ErrorInfo) MarshalFields

func (s ErrorInfo) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ErrorInfo) String

func (s ErrorInfo) String() string

String returns the string representation

type EventType

type EventType string
const (
	EventTypeThing                EventType = "THING"
	EventTypeThingGroup           EventType = "THING_GROUP"
	EventTypeThingType            EventType = "THING_TYPE"
	EventTypeThingGroupMembership EventType = "THING_GROUP_MEMBERSHIP"
	EventTypeThingGroupHierarchy  EventType = "THING_GROUP_HIERARCHY"
	EventTypeThingTypeAssociation EventType = "THING_TYPE_ASSOCIATION"
	EventTypeJob                  EventType = "JOB"
	EventTypeJobExecution         EventType = "JOB_EXECUTION"
	EventTypePolicy               EventType = "POLICY"
	EventTypeCertificate          EventType = "CERTIFICATE"
	EventTypeCaCertificate        EventType = "CA_CERTIFICATE"
)

Enum values for EventType

func (EventType) MarshalValue

func (enum EventType) MarshalValue() (string, error)

func (EventType) MarshalValueBuf

func (enum EventType) MarshalValueBuf(b []byte) ([]byte, error)

type ExplicitDeny

type ExplicitDeny struct {

	// The policies that denied the authorization.
	Policies []Policy `locationName:"policies" type:"list"`
	// contains filtered or unexported fields
}

Information that explicitly denies authorization.

func (ExplicitDeny) MarshalFields

func (s ExplicitDeny) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExplicitDeny) String

func (s ExplicitDeny) String() string

String returns the string representation

type ExponentialRolloutRate

type ExponentialRolloutRate struct {

	// The minimum number of things that will be notified of a pending job, per
	// minute at the start of job rollout. This parameter allows you to define the
	// initial rate of rollout.
	//
	// BaseRatePerMinute is a required field
	BaseRatePerMinute *int64 `locationName:"baseRatePerMinute" min:"1" type:"integer" required:"true"`

	// The exponential factor to increase the rate of rollout for a job.
	//
	// IncrementFactor is a required field
	IncrementFactor *float64 `locationName:"incrementFactor" min:"1" type:"double" required:"true"`

	// The criteria to initiate the increase in rate of rollout for a job.
	//
	// AWS IoT supports up to one digit after the decimal (for example, 1.5, but
	// not 1.55).
	//
	// RateIncreaseCriteria is a required field
	RateIncreaseCriteria *RateIncreaseCriteria `locationName:"rateIncreaseCriteria" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Allows you to create an exponential rate of rollout for a job.

func (ExponentialRolloutRate) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ExponentialRolloutRate) String

func (s ExponentialRolloutRate) String() string

String returns the string representation

func (*ExponentialRolloutRate) Validate

func (s *ExponentialRolloutRate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type FileLocation

type FileLocation struct {

	// The location of the updated firmware in S3.
	S3Location *S3Location `locationName:"s3Location" type:"structure"`

	// The stream that contains the OTA update.
	Stream *Stream `locationName:"stream" type:"structure"`
	// contains filtered or unexported fields
}

The location of the OTA update.

func (FileLocation) MarshalFields

func (s FileLocation) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FileLocation) String

func (s FileLocation) String() string

String returns the string representation

func (*FileLocation) Validate

func (s *FileLocation) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type FirehoseAction

type FirehoseAction struct {

	// The delivery stream name.
	//
	// DeliveryStreamName is a required field
	DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"`

	// The IAM role that grants access to the Amazon Kinesis Firehose stream.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// A character separator that will be used to separate records written to the
	// Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows
	// newline), ',' (comma).
	Separator *string `locationName:"separator" type:"string"`
	// contains filtered or unexported fields
}

Describes an action that writes data to an Amazon Kinesis Firehose stream.

func (FirehoseAction) MarshalFields

func (s FirehoseAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (FirehoseAction) String

func (s FirehoseAction) String() string

String returns the string representation

func (*FirehoseAction) Validate

func (s *FirehoseAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEffectivePoliciesInput

type GetEffectivePoliciesInput struct {

	// The Cognito identity pool ID.
	CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"`

	// The principal.
	Principal *string `locationName:"principal" type:"string"`

	// The thing name.
	ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetEffectivePoliciesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEffectivePoliciesInput) String

func (s GetEffectivePoliciesInput) String() string

String returns the string representation

func (*GetEffectivePoliciesInput) Validate

func (s *GetEffectivePoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEffectivePoliciesOutput

type GetEffectivePoliciesOutput struct {

	// The effective policies.
	EffectivePolicies []EffectivePolicy `locationName:"effectivePolicies" type:"list"`
	// contains filtered or unexported fields
}

func (GetEffectivePoliciesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEffectivePoliciesOutput) String

String returns the string representation

type GetEffectivePoliciesRequest

type GetEffectivePoliciesRequest struct {
	*aws.Request
	Input *GetEffectivePoliciesInput
	Copy  func(*GetEffectivePoliciesInput) GetEffectivePoliciesRequest
}

GetEffectivePoliciesRequest is the request type for the GetEffectivePolicies API operation.

func (GetEffectivePoliciesRequest) Send

Send marshals and sends the GetEffectivePolicies API request.

type GetEffectivePoliciesResponse

type GetEffectivePoliciesResponse struct {
	*GetEffectivePoliciesOutput
	// contains filtered or unexported fields
}

GetEffectivePoliciesResponse is the response type for the GetEffectivePolicies API operation.

func (*GetEffectivePoliciesResponse) SDKResponseMetdata

func (r *GetEffectivePoliciesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetEffectivePolicies request.

type GetIndexingConfigurationInput

type GetIndexingConfigurationInput struct {
	// contains filtered or unexported fields
}

func (GetIndexingConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIndexingConfigurationInput) String

String returns the string representation

type GetIndexingConfigurationOutput

type GetIndexingConfigurationOutput struct {

	// The index configuration.
	ThingGroupIndexingConfiguration *ThingGroupIndexingConfiguration `locationName:"thingGroupIndexingConfiguration" type:"structure"`

	// Thing indexing configuration.
	ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (GetIndexingConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetIndexingConfigurationOutput) String

String returns the string representation

type GetIndexingConfigurationRequest

type GetIndexingConfigurationRequest struct {
	*aws.Request
	Input *GetIndexingConfigurationInput
	Copy  func(*GetIndexingConfigurationInput) GetIndexingConfigurationRequest
}

GetIndexingConfigurationRequest is the request type for the GetIndexingConfiguration API operation.

func (GetIndexingConfigurationRequest) Send

Send marshals and sends the GetIndexingConfiguration API request.

type GetIndexingConfigurationResponse

type GetIndexingConfigurationResponse struct {
	*GetIndexingConfigurationOutput
	// contains filtered or unexported fields
}

GetIndexingConfigurationResponse is the response type for the GetIndexingConfiguration API operation.

func (*GetIndexingConfigurationResponse) SDKResponseMetdata

func (r *GetIndexingConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetIndexingConfiguration request.

type GetJobDocumentInput

type GetJobDocumentInput struct {

	// The unique identifier you assigned to this job when it was created.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetJobDocumentInput) MarshalFields

func (s GetJobDocumentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetJobDocumentInput) String

func (s GetJobDocumentInput) String() string

String returns the string representation

func (*GetJobDocumentInput) Validate

func (s *GetJobDocumentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetJobDocumentOutput

type GetJobDocumentOutput struct {

	// The job document content.
	Document *string `locationName:"document" type:"string"`
	// contains filtered or unexported fields
}

func (GetJobDocumentOutput) MarshalFields

func (s GetJobDocumentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetJobDocumentOutput) String

func (s GetJobDocumentOutput) String() string

String returns the string representation

type GetJobDocumentRequest

type GetJobDocumentRequest struct {
	*aws.Request
	Input *GetJobDocumentInput
	Copy  func(*GetJobDocumentInput) GetJobDocumentRequest
}

GetJobDocumentRequest is the request type for the GetJobDocument API operation.

func (GetJobDocumentRequest) Send

Send marshals and sends the GetJobDocument API request.

type GetJobDocumentResponse

type GetJobDocumentResponse struct {
	*GetJobDocumentOutput
	// contains filtered or unexported fields
}

GetJobDocumentResponse is the response type for the GetJobDocument API operation.

func (*GetJobDocumentResponse) SDKResponseMetdata

func (r *GetJobDocumentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetJobDocument request.

type GetLoggingOptionsInput

type GetLoggingOptionsInput struct {
	// contains filtered or unexported fields
}

The input for the GetLoggingOptions operation.

func (GetLoggingOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetLoggingOptionsInput) String

func (s GetLoggingOptionsInput) String() string

String returns the string representation

type GetLoggingOptionsOutput

type GetLoggingOptionsOutput struct {

	// The logging level.
	LogLevel LogLevel `locationName:"logLevel" type:"string" enum:"true"`

	// The ARN of the IAM role that grants access.
	RoleArn *string `locationName:"roleArn" type:"string"`
	// contains filtered or unexported fields
}

The output from the GetLoggingOptions operation.

func (GetLoggingOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetLoggingOptionsOutput) String

func (s GetLoggingOptionsOutput) String() string

String returns the string representation

type GetLoggingOptionsRequest

type GetLoggingOptionsRequest struct {
	*aws.Request
	Input *GetLoggingOptionsInput
	Copy  func(*GetLoggingOptionsInput) GetLoggingOptionsRequest
}

GetLoggingOptionsRequest is the request type for the GetLoggingOptions API operation.

func (GetLoggingOptionsRequest) Send

Send marshals and sends the GetLoggingOptions API request.

type GetLoggingOptionsResponse

type GetLoggingOptionsResponse struct {
	*GetLoggingOptionsOutput
	// contains filtered or unexported fields
}

GetLoggingOptionsResponse is the response type for the GetLoggingOptions API operation.

func (*GetLoggingOptionsResponse) SDKResponseMetdata

func (r *GetLoggingOptionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLoggingOptions request.

type GetOTAUpdateInput

type GetOTAUpdateInput struct {

	// The OTA update ID.
	//
	// OtaUpdateId is a required field
	OtaUpdateId *string `location:"uri" locationName:"otaUpdateId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetOTAUpdateInput) MarshalFields

func (s GetOTAUpdateInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetOTAUpdateInput) String

func (s GetOTAUpdateInput) String() string

String returns the string representation

func (*GetOTAUpdateInput) Validate

func (s *GetOTAUpdateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetOTAUpdateOutput

type GetOTAUpdateOutput struct {

	// The OTA update info.
	OtaUpdateInfo *OTAUpdateInfo `locationName:"otaUpdateInfo" type:"structure"`
	// contains filtered or unexported fields
}

func (GetOTAUpdateOutput) MarshalFields

func (s GetOTAUpdateOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetOTAUpdateOutput) String

func (s GetOTAUpdateOutput) String() string

String returns the string representation

type GetOTAUpdateRequest

type GetOTAUpdateRequest struct {
	*aws.Request
	Input *GetOTAUpdateInput
	Copy  func(*GetOTAUpdateInput) GetOTAUpdateRequest
}

GetOTAUpdateRequest is the request type for the GetOTAUpdate API operation.

func (GetOTAUpdateRequest) Send

Send marshals and sends the GetOTAUpdate API request.

type GetOTAUpdateResponse

type GetOTAUpdateResponse struct {
	*GetOTAUpdateOutput
	// contains filtered or unexported fields
}

GetOTAUpdateResponse is the response type for the GetOTAUpdate API operation.

func (*GetOTAUpdateResponse) SDKResponseMetdata

func (r *GetOTAUpdateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetOTAUpdate request.

type GetPolicyInput

type GetPolicyInput struct {

	// The name of the policy.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the GetPolicy operation.

func (GetPolicyInput) MarshalFields

func (s GetPolicyInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetPolicyInput) String

func (s GetPolicyInput) String() string

String returns the string representation

func (*GetPolicyInput) Validate

func (s *GetPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPolicyOutput

type GetPolicyOutput struct {

	// The date the policy was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The default policy version ID.
	DefaultVersionId *string `locationName:"defaultVersionId" type:"string"`

	// The generation ID of the policy.
	GenerationId *string `locationName:"generationId" type:"string"`

	// The date the policy was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The policy ARN.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The JSON document that describes the policy.
	PolicyDocument *string `locationName:"policyDocument" type:"string"`

	// The policy name.
	PolicyName *string `locationName:"policyName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The output from the GetPolicy operation.

func (GetPolicyOutput) MarshalFields

func (s GetPolicyOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetPolicyOutput) String

func (s GetPolicyOutput) String() string

String returns the string representation

type GetPolicyRequest

type GetPolicyRequest struct {
	*aws.Request
	Input *GetPolicyInput
	Copy  func(*GetPolicyInput) GetPolicyRequest
}

GetPolicyRequest is the request type for the GetPolicy API operation.

func (GetPolicyRequest) Send

Send marshals and sends the GetPolicy API request.

type GetPolicyResponse

type GetPolicyResponse struct {
	*GetPolicyOutput
	// contains filtered or unexported fields
}

GetPolicyResponse is the response type for the GetPolicy API operation.

func (*GetPolicyResponse) SDKResponseMetdata

func (r *GetPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetPolicy request.

type GetPolicyVersionInput

type GetPolicyVersionInput struct {

	// The name of the policy.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// The policy version ID.
	//
	// PolicyVersionId is a required field
	PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the GetPolicyVersion operation.

func (GetPolicyVersionInput) MarshalFields

func (s GetPolicyVersionInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetPolicyVersionInput) String

func (s GetPolicyVersionInput) String() string

String returns the string representation

func (*GetPolicyVersionInput) Validate

func (s *GetPolicyVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetPolicyVersionOutput

type GetPolicyVersionOutput struct {

	// The date the policy version was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The generation ID of the policy version.
	GenerationId *string `locationName:"generationId" type:"string"`

	// Specifies whether the policy version is the default.
	IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"`

	// The date the policy version was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The policy ARN.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The JSON document that describes the policy.
	PolicyDocument *string `locationName:"policyDocument" type:"string"`

	// The policy name.
	PolicyName *string `locationName:"policyName" min:"1" type:"string"`

	// The policy version ID.
	PolicyVersionId *string `locationName:"policyVersionId" type:"string"`
	// contains filtered or unexported fields
}

The output from the GetPolicyVersion operation.

func (GetPolicyVersionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetPolicyVersionOutput) String

func (s GetPolicyVersionOutput) String() string

String returns the string representation

type GetPolicyVersionRequest

type GetPolicyVersionRequest struct {
	*aws.Request
	Input *GetPolicyVersionInput
	Copy  func(*GetPolicyVersionInput) GetPolicyVersionRequest
}

GetPolicyVersionRequest is the request type for the GetPolicyVersion API operation.

func (GetPolicyVersionRequest) Send

Send marshals and sends the GetPolicyVersion API request.

type GetPolicyVersionResponse

type GetPolicyVersionResponse struct {
	*GetPolicyVersionOutput
	// contains filtered or unexported fields
}

GetPolicyVersionResponse is the response type for the GetPolicyVersion API operation.

func (*GetPolicyVersionResponse) SDKResponseMetdata

func (r *GetPolicyVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetPolicyVersion request.

type GetRegistrationCodeInput

type GetRegistrationCodeInput struct {
	// contains filtered or unexported fields
}

The input to the GetRegistrationCode operation.

func (GetRegistrationCodeInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRegistrationCodeInput) String

func (s GetRegistrationCodeInput) String() string

String returns the string representation

type GetRegistrationCodeOutput

type GetRegistrationCodeOutput struct {

	// The CA certificate registration code.
	RegistrationCode *string `locationName:"registrationCode" min:"64" type:"string"`
	// contains filtered or unexported fields
}

The output from the GetRegistrationCode operation.

func (GetRegistrationCodeOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetRegistrationCodeOutput) String

func (s GetRegistrationCodeOutput) String() string

String returns the string representation

type GetRegistrationCodeRequest

type GetRegistrationCodeRequest struct {
	*aws.Request
	Input *GetRegistrationCodeInput
	Copy  func(*GetRegistrationCodeInput) GetRegistrationCodeRequest
}

GetRegistrationCodeRequest is the request type for the GetRegistrationCode API operation.

func (GetRegistrationCodeRequest) Send

Send marshals and sends the GetRegistrationCode API request.

type GetRegistrationCodeResponse

type GetRegistrationCodeResponse struct {
	*GetRegistrationCodeOutput
	// contains filtered or unexported fields
}

GetRegistrationCodeResponse is the response type for the GetRegistrationCode API operation.

func (*GetRegistrationCodeResponse) SDKResponseMetdata

func (r *GetRegistrationCodeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRegistrationCode request.

type GetStatisticsInput

type GetStatisticsInput struct {

	// The aggregation field name. Currently not supported.
	AggregationField *string `locationName:"aggregationField" min:"1" type:"string"`

	// The name of the index to search. The default value is AWS_Things.
	IndexName *string `locationName:"indexName" min:"1" type:"string"`

	// The query used to search. You can specify "*" for the query string to get
	// the count of all indexed things in your AWS account.
	//
	// QueryString is a required field
	QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"`

	// The version of the query used to search.
	QueryVersion *string `locationName:"queryVersion" type:"string"`
	// contains filtered or unexported fields
}

func (GetStatisticsInput) MarshalFields

func (s GetStatisticsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetStatisticsInput) String

func (s GetStatisticsInput) String() string

String returns the string representation

func (*GetStatisticsInput) Validate

func (s *GetStatisticsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetStatisticsOutput

type GetStatisticsOutput struct {

	// The statistics returned by the Fleet Indexing service based on the query
	// and aggregation field.
	Statistics *Statistics `locationName:"statistics" type:"structure"`
	// contains filtered or unexported fields
}

func (GetStatisticsOutput) MarshalFields

func (s GetStatisticsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetStatisticsOutput) String

func (s GetStatisticsOutput) String() string

String returns the string representation

type GetStatisticsRequest

type GetStatisticsRequest struct {
	*aws.Request
	Input *GetStatisticsInput
	Copy  func(*GetStatisticsInput) GetStatisticsRequest
}

GetStatisticsRequest is the request type for the GetStatistics API operation.

func (GetStatisticsRequest) Send

Send marshals and sends the GetStatistics API request.

type GetStatisticsResponse

type GetStatisticsResponse struct {
	*GetStatisticsOutput
	// contains filtered or unexported fields
}

GetStatisticsResponse is the response type for the GetStatistics API operation.

func (*GetStatisticsResponse) SDKResponseMetdata

func (r *GetStatisticsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetStatistics request.

type GetTopicRuleInput

type GetTopicRuleInput struct {

	// The name of the rule.
	//
	// RuleName is a required field
	RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the GetTopicRule operation.

func (GetTopicRuleInput) MarshalFields

func (s GetTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetTopicRuleInput) String

func (s GetTopicRuleInput) String() string

String returns the string representation

func (*GetTopicRuleInput) Validate

func (s *GetTopicRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTopicRuleOutput

type GetTopicRuleOutput struct {

	// The rule.
	Rule *TopicRule `locationName:"rule" type:"structure"`

	// The rule ARN.
	RuleArn *string `locationName:"ruleArn" type:"string"`
	// contains filtered or unexported fields
}

The output from the GetTopicRule operation.

func (GetTopicRuleOutput) MarshalFields

func (s GetTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetTopicRuleOutput) String

func (s GetTopicRuleOutput) String() string

String returns the string representation

type GetTopicRuleRequest

type GetTopicRuleRequest struct {
	*aws.Request
	Input *GetTopicRuleInput
	Copy  func(*GetTopicRuleInput) GetTopicRuleRequest
}

GetTopicRuleRequest is the request type for the GetTopicRule API operation.

func (GetTopicRuleRequest) Send

Send marshals and sends the GetTopicRule API request.

type GetTopicRuleResponse

type GetTopicRuleResponse struct {
	*GetTopicRuleOutput
	// contains filtered or unexported fields
}

GetTopicRuleResponse is the response type for the GetTopicRule API operation.

func (*GetTopicRuleResponse) SDKResponseMetdata

func (r *GetTopicRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetTopicRule request.

type GetV2LoggingOptionsInput

type GetV2LoggingOptionsInput struct {
	// contains filtered or unexported fields
}

func (GetV2LoggingOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetV2LoggingOptionsInput) String

func (s GetV2LoggingOptionsInput) String() string

String returns the string representation

type GetV2LoggingOptionsOutput

type GetV2LoggingOptionsOutput struct {

	// The default log level.
	DefaultLogLevel LogLevel `locationName:"defaultLogLevel" type:"string" enum:"true"`

	// Disables all logs.
	DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"`

	// The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
	RoleArn *string `locationName:"roleArn" type:"string"`
	// contains filtered or unexported fields
}

func (GetV2LoggingOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetV2LoggingOptionsOutput) String

func (s GetV2LoggingOptionsOutput) String() string

String returns the string representation

type GetV2LoggingOptionsRequest

type GetV2LoggingOptionsRequest struct {
	*aws.Request
	Input *GetV2LoggingOptionsInput
	Copy  func(*GetV2LoggingOptionsInput) GetV2LoggingOptionsRequest
}

GetV2LoggingOptionsRequest is the request type for the GetV2LoggingOptions API operation.

func (GetV2LoggingOptionsRequest) Send

Send marshals and sends the GetV2LoggingOptions API request.

type GetV2LoggingOptionsResponse

type GetV2LoggingOptionsResponse struct {
	*GetV2LoggingOptionsOutput
	// contains filtered or unexported fields
}

GetV2LoggingOptionsResponse is the response type for the GetV2LoggingOptions API operation.

func (*GetV2LoggingOptionsResponse) SDKResponseMetdata

func (r *GetV2LoggingOptionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetV2LoggingOptions request.

type GroupNameAndArn

type GroupNameAndArn struct {

	// The group ARN.
	GroupArn *string `locationName:"groupArn" type:"string"`

	// The group name.
	GroupName *string `locationName:"groupName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The name and ARN of a group.

func (GroupNameAndArn) MarshalFields

func (s GroupNameAndArn) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GroupNameAndArn) String

func (s GroupNameAndArn) String() string

String returns the string representation

type ImplicitDeny

type ImplicitDeny struct {

	// Policies that don't contain a matching allow or deny statement for the specified
	// action on the specified resource.
	Policies []Policy `locationName:"policies" type:"list"`
	// contains filtered or unexported fields
}

Information that implicitly denies authorization. When policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.

func (ImplicitDeny) MarshalFields

func (s ImplicitDeny) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ImplicitDeny) String

func (s ImplicitDeny) String() string

String returns the string representation

type IndexStatus

type IndexStatus string
const (
	IndexStatusActive     IndexStatus = "ACTIVE"
	IndexStatusBuilding   IndexStatus = "BUILDING"
	IndexStatusRebuilding IndexStatus = "REBUILDING"
)

Enum values for IndexStatus

func (IndexStatus) MarshalValue

func (enum IndexStatus) MarshalValue() (string, error)

func (IndexStatus) MarshalValueBuf

func (enum IndexStatus) MarshalValueBuf(b []byte) ([]byte, error)

type IotAnalyticsAction

type IotAnalyticsAction struct {

	// (deprecated) The ARN of the IoT Analytics channel to which message data will
	// be sent.
	ChannelArn *string `locationName:"channelArn" type:"string"`

	// The name of the IoT Analytics channel to which message data will be sent.
	ChannelName *string `locationName:"channelName" type:"string"`

	// The ARN of the role which has a policy that grants IoT Analytics permission
	// to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
	RoleArn *string `locationName:"roleArn" type:"string"`
	// contains filtered or unexported fields
}

Sends message data to an AWS IoT Analytics channel.

func (IotAnalyticsAction) MarshalFields

func (s IotAnalyticsAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IotAnalyticsAction) String

func (s IotAnalyticsAction) String() string

String returns the string representation

type IotEventsAction

type IotEventsAction struct {

	// The name of the AWS IoT Events input.
	//
	// InputName is a required field
	InputName *string `locationName:"inputName" min:"1" type:"string" required:"true"`

	// [Optional] Use this to ensure that only one input (message) with a given
	// messageId will be processed by an AWS IoT Events detector.
	MessageId *string `locationName:"messageId" type:"string"`

	// The ARN of the role that grants AWS IoT permission to send an input to an
	// AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Sends an input to an AWS IoT Events detector.

func (IotEventsAction) MarshalFields

func (s IotEventsAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (IotEventsAction) String

func (s IotEventsAction) String() string

String returns the string representation

func (*IotEventsAction) Validate

func (s *IotEventsAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Job

type Job struct {

	// Configuration for criteria to abort the job.
	AbortConfig *AbortConfig `locationName:"abortConfig" type:"structure"`

	// If the job was updated, describes the reason for the update.
	Comment *string `locationName:"comment" type:"string"`

	// The time, in seconds since the epoch, when the job was completed.
	CompletedAt *time.Time `locationName:"completedAt" type:"timestamp"`

	// The time, in seconds since the epoch, when the job was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// A short text description of the job.
	Description *string `locationName:"description" type:"string"`

	// Will be true if the job was canceled with the optional force parameter set
	// to true.
	ForceCanceled *bool `locationName:"forceCanceled" type:"boolean"`

	// An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".
	JobArn *string `locationName:"jobArn" type:"string"`

	// Allows you to create a staged rollout of a job.
	JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"`

	// The unique identifier you assigned to this job when it was created.
	JobId *string `locationName:"jobId" min:"1" type:"string"`

	// Details about the job process.
	JobProcessDetails *JobProcessDetails `locationName:"jobProcessDetails" type:"structure"`

	// The time, in seconds since the epoch, when the job was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`

	// Configuration for pre-signed S3 URLs.
	PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"`

	// If the job was updated, provides the reason code for the update.
	ReasonCode *string `locationName:"reasonCode" type:"string"`

	// The status of the job, one of IN_PROGRESS, CANCELED, DELETION_IN_PROGRESS
	// or COMPLETED.
	Status JobStatus `locationName:"status" type:"string" enum:"true"`

	// Specifies whether the job will continue to run (CONTINUOUS), or will be complete
	// after all those things specified as targets have completed the job (SNAPSHOT).
	// If continuous, the job may also be run on a thing when a change is detected
	// in a target. For example, a job will run on a device when the thing representing
	// the device is added to a target group, even after the job was completed by
	// all things originally in the group.
	TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"`

	// A list of IoT things and thing groups to which the job should be sent.
	Targets []string `locationName:"targets" min:"1" type:"list"`

	// Specifies the amount of time each device has to finish its execution of the
	// job. A timer is started when the job execution status is set to IN_PROGRESS.
	// If the job execution status is not set to another terminal state before the
	// timer expires, it will be automatically set to TIMED_OUT.
	TimeoutConfig *TimeoutConfig `locationName:"timeoutConfig" type:"structure"`
	// contains filtered or unexported fields
}

The Job object contains details about a job.

func (Job) MarshalFields

func (s Job) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Job) String

func (s Job) String() string

String returns the string representation

type JobExecution

type JobExecution struct {

	// The estimated number of seconds that remain before the job execution status
	// will be changed to TIMED_OUT. The timeout interval can be anywhere between
	// 1 minute and 7 days (1 to 10080 minutes). The actual job execution timeout
	// can occur up to 60 seconds later than the estimated duration. This value
	// will not be included if the job execution has reached a terminal status.
	ApproximateSecondsBeforeTimedOut *int64 `locationName:"approximateSecondsBeforeTimedOut" type:"long"`

	// A string (consisting of the digits "0" through "9") which identifies this
	// particular job execution on this particular device. It can be used in commands
	// which return or update job execution information.
	ExecutionNumber *int64 `locationName:"executionNumber" type:"long"`

	// Will be true if the job execution was canceled with the optional force parameter
	// set to true.
	ForceCanceled *bool `locationName:"forceCanceled" type:"boolean"`

	// The unique identifier you assigned to the job when it was created.
	JobId *string `locationName:"jobId" min:"1" type:"string"`

	// The time, in seconds since the epoch, when the job execution was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`

	// The time, in seconds since the epoch, when the job execution was queued.
	QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp"`

	// The time, in seconds since the epoch, when the job execution started.
	StartedAt *time.Time `locationName:"startedAt" type:"timestamp"`

	// The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED,
	// TIMED_OUT, CANCELED, or REJECTED).
	Status JobExecutionStatus `locationName:"status" type:"string" enum:"true"`

	// A collection of name/value pairs that describe the status of the job execution.
	StatusDetails *JobExecutionStatusDetails `locationName:"statusDetails" type:"structure"`

	// The ARN of the thing on which the job execution is running.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The version of the job execution. Job execution versions are incremented
	// each time they are updated by a device.
	VersionNumber *int64 `locationName:"versionNumber" type:"long"`
	// contains filtered or unexported fields
}

The job execution object represents the execution of a job on a particular device.

func (JobExecution) MarshalFields

func (s JobExecution) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobExecution) String

func (s JobExecution) String() string

String returns the string representation

type JobExecutionFailureType

type JobExecutionFailureType string
const (
	JobExecutionFailureTypeFailed   JobExecutionFailureType = "FAILED"
	JobExecutionFailureTypeRejected JobExecutionFailureType = "REJECTED"
	JobExecutionFailureTypeTimedOut JobExecutionFailureType = "TIMED_OUT"
	JobExecutionFailureTypeAll      JobExecutionFailureType = "ALL"
)

Enum values for JobExecutionFailureType

func (JobExecutionFailureType) MarshalValue

func (enum JobExecutionFailureType) MarshalValue() (string, error)

func (JobExecutionFailureType) MarshalValueBuf

func (enum JobExecutionFailureType) MarshalValueBuf(b []byte) ([]byte, error)

type JobExecutionStatus

type JobExecutionStatus string
const (
	JobExecutionStatusQueued     JobExecutionStatus = "QUEUED"
	JobExecutionStatusInProgress JobExecutionStatus = "IN_PROGRESS"
	JobExecutionStatusSucceeded  JobExecutionStatus = "SUCCEEDED"
	JobExecutionStatusFailed     JobExecutionStatus = "FAILED"
	JobExecutionStatusTimedOut   JobExecutionStatus = "TIMED_OUT"
	JobExecutionStatusRejected   JobExecutionStatus = "REJECTED"
	JobExecutionStatusRemoved    JobExecutionStatus = "REMOVED"
	JobExecutionStatusCanceled   JobExecutionStatus = "CANCELED"
)

Enum values for JobExecutionStatus

func (JobExecutionStatus) MarshalValue

func (enum JobExecutionStatus) MarshalValue() (string, error)

func (JobExecutionStatus) MarshalValueBuf

func (enum JobExecutionStatus) MarshalValueBuf(b []byte) ([]byte, error)

type JobExecutionStatusDetails

type JobExecutionStatusDetails struct {

	// The job execution status.
	DetailsMap map[string]string `locationName:"detailsMap" type:"map"`
	// contains filtered or unexported fields
}

Details of the job execution status.

func (JobExecutionStatusDetails) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobExecutionStatusDetails) String

func (s JobExecutionStatusDetails) String() string

String returns the string representation

type JobExecutionSummary

type JobExecutionSummary struct {

	// A string (consisting of the digits "0" through "9") which identifies this
	// particular job execution on this particular device. It can be used later
	// in commands which return or update job execution information.
	ExecutionNumber *int64 `locationName:"executionNumber" type:"long"`

	// The time, in seconds since the epoch, when the job execution was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`

	// The time, in seconds since the epoch, when the job execution was queued.
	QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp"`

	// The time, in seconds since the epoch, when the job execution started.
	StartedAt *time.Time `locationName:"startedAt" type:"timestamp"`

	// The status of the job execution.
	Status JobExecutionStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The job execution summary.

func (JobExecutionSummary) MarshalFields

func (s JobExecutionSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobExecutionSummary) String

func (s JobExecutionSummary) String() string

String returns the string representation

type JobExecutionSummaryForJob

type JobExecutionSummaryForJob struct {

	// Contains a subset of information about a job execution.
	JobExecutionSummary *JobExecutionSummary `locationName:"jobExecutionSummary" type:"structure"`

	// The ARN of the thing on which the job execution is running.
	ThingArn *string `locationName:"thingArn" type:"string"`
	// contains filtered or unexported fields
}

Contains a summary of information about job executions for a specific job.

func (JobExecutionSummaryForJob) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobExecutionSummaryForJob) String

func (s JobExecutionSummaryForJob) String() string

String returns the string representation

type JobExecutionSummaryForThing

type JobExecutionSummaryForThing struct {

	// Contains a subset of information about a job execution.
	JobExecutionSummary *JobExecutionSummary `locationName:"jobExecutionSummary" type:"structure"`

	// The unique identifier you assigned to this job when it was created.
	JobId *string `locationName:"jobId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The job execution summary for a thing.

func (JobExecutionSummaryForThing) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobExecutionSummaryForThing) String

String returns the string representation

type JobExecutionsRolloutConfig

type JobExecutionsRolloutConfig struct {

	// The rate of increase for a job rollout. This parameter allows you to define
	// an exponential rate for a job rollout.
	ExponentialRate *ExponentialRolloutRate `locationName:"exponentialRate" type:"structure"`

	// The maximum number of things that will be notified of a pending job, per
	// minute. This parameter allows you to create a staged rollout.
	MaximumPerMinute *int64 `locationName:"maximumPerMinute" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Allows you to create a staged rollout of a job.

func (JobExecutionsRolloutConfig) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobExecutionsRolloutConfig) String

String returns the string representation

func (*JobExecutionsRolloutConfig) Validate

func (s *JobExecutionsRolloutConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type JobProcessDetails

type JobProcessDetails struct {

	// The number of things that cancelled the job.
	NumberOfCanceledThings *int64 `locationName:"numberOfCanceledThings" type:"integer"`

	// The number of things that failed executing the job.
	NumberOfFailedThings *int64 `locationName:"numberOfFailedThings" type:"integer"`

	// The number of things currently executing the job.
	NumberOfInProgressThings *int64 `locationName:"numberOfInProgressThings" type:"integer"`

	// The number of things that are awaiting execution of the job.
	NumberOfQueuedThings *int64 `locationName:"numberOfQueuedThings" type:"integer"`

	// The number of things that rejected the job.
	NumberOfRejectedThings *int64 `locationName:"numberOfRejectedThings" type:"integer"`

	// The number of things that are no longer scheduled to execute the job because
	// they have been deleted or have been removed from the group that was a target
	// of the job.
	NumberOfRemovedThings *int64 `locationName:"numberOfRemovedThings" type:"integer"`

	// The number of things which successfully completed the job.
	NumberOfSucceededThings *int64 `locationName:"numberOfSucceededThings" type:"integer"`

	// The number of things whose job execution status is TIMED_OUT.
	NumberOfTimedOutThings *int64 `locationName:"numberOfTimedOutThings" type:"integer"`

	// The target devices to which the job execution is being rolled out. This value
	// will be null after the job execution has finished rolling out to all the
	// target devices.
	ProcessingTargets []string `locationName:"processingTargets" type:"list"`
	// contains filtered or unexported fields
}

The job process details.

func (JobProcessDetails) MarshalFields

func (s JobProcessDetails) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobProcessDetails) String

func (s JobProcessDetails) String() string

String returns the string representation

type JobStatus

type JobStatus string
const (
	JobStatusInProgress         JobStatus = "IN_PROGRESS"
	JobStatusCanceled           JobStatus = "CANCELED"
	JobStatusCompleted          JobStatus = "COMPLETED"
	JobStatusDeletionInProgress JobStatus = "DELETION_IN_PROGRESS"
)

Enum values for JobStatus

func (JobStatus) MarshalValue

func (enum JobStatus) MarshalValue() (string, error)

func (JobStatus) MarshalValueBuf

func (enum JobStatus) MarshalValueBuf(b []byte) ([]byte, error)

type JobSummary

type JobSummary struct {

	// The time, in seconds since the epoch, when the job completed.
	CompletedAt *time.Time `locationName:"completedAt" type:"timestamp"`

	// The time, in seconds since the epoch, when the job was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The job ARN.
	JobArn *string `locationName:"jobArn" type:"string"`

	// The unique identifier you assigned to this job when it was created.
	JobId *string `locationName:"jobId" min:"1" type:"string"`

	// The time, in seconds since the epoch, when the job was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`

	// The job summary status.
	Status JobStatus `locationName:"status" type:"string" enum:"true"`

	// Specifies whether the job will continue to run (CONTINUOUS), or will be complete
	// after all those things specified as targets have completed the job (SNAPSHOT).
	// If continuous, the job may also be run on a thing when a change is detected
	// in a target. For example, a job will run on a thing when the thing is added
	// to a target group, even after the job was completed by all things originally
	// in the group.
	TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"`

	// The ID of the thing group.
	ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The job summary.

func (JobSummary) MarshalFields

func (s JobSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (JobSummary) String

func (s JobSummary) String() string

String returns the string representation

type KeyPair

type KeyPair struct {

	// The private key.
	PrivateKey *string `min:"1" type:"string"`

	// The public key.
	PublicKey *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes a key pair.

func (KeyPair) MarshalFields

func (s KeyPair) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (KeyPair) String

func (s KeyPair) String() string

String returns the string representation

type KinesisAction

type KinesisAction struct {

	// The partition key.
	PartitionKey *string `locationName:"partitionKey" type:"string"`

	// The ARN of the IAM role that grants access to the Amazon Kinesis stream.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The name of the Amazon Kinesis stream.
	//
	// StreamName is a required field
	StreamName *string `locationName:"streamName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to write data to an Amazon Kinesis stream.

func (KinesisAction) MarshalFields

func (s KinesisAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (KinesisAction) String

func (s KinesisAction) String() string

String returns the string representation

func (*KinesisAction) Validate

func (s *KinesisAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LambdaAction

type LambdaAction struct {

	// The ARN of the Lambda function.
	//
	// FunctionArn is a required field
	FunctionArn *string `locationName:"functionArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to invoke a Lambda function.

func (LambdaAction) MarshalFields

func (s LambdaAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LambdaAction) String

func (s LambdaAction) String() string

String returns the string representation

func (*LambdaAction) Validate

func (s *LambdaAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListActiveViolationsInput

type ListActiveViolationsInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The name of the Device Defender security profile for which violations are
	// listed.
	SecurityProfileName *string `location:"querystring" locationName:"securityProfileName" min:"1" type:"string"`

	// The name of the thing whose active violations are listed.
	ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListActiveViolationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListActiveViolationsInput) String

func (s ListActiveViolationsInput) String() string

String returns the string representation

func (*ListActiveViolationsInput) Validate

func (s *ListActiveViolationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListActiveViolationsOutput

type ListActiveViolationsOutput struct {

	// The list of active violations.
	ActiveViolations []ActiveViolation `locationName:"activeViolations" type:"list"`

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListActiveViolationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListActiveViolationsOutput) String

String returns the string representation

type ListActiveViolationsRequest

type ListActiveViolationsRequest struct {
	*aws.Request
	Input *ListActiveViolationsInput
	Copy  func(*ListActiveViolationsInput) ListActiveViolationsRequest
}

ListActiveViolationsRequest is the request type for the ListActiveViolations API operation.

func (ListActiveViolationsRequest) Send

Send marshals and sends the ListActiveViolations API request.

type ListActiveViolationsResponse

type ListActiveViolationsResponse struct {
	*ListActiveViolationsOutput
	// contains filtered or unexported fields
}

ListActiveViolationsResponse is the response type for the ListActiveViolations API operation.

func (*ListActiveViolationsResponse) SDKResponseMetdata

func (r *ListActiveViolationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListActiveViolations request.

type ListAttachedPoliciesInput

type ListAttachedPoliciesInput struct {

	// The token to retrieve the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The maximum number of results to be returned per request.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`

	// When true, recursively list attached policies.
	Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"`

	// The group or principal for which the policies will be listed.
	//
	// Target is a required field
	Target *string `location:"uri" locationName:"target" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAttachedPoliciesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAttachedPoliciesInput) String

func (s ListAttachedPoliciesInput) String() string

String returns the string representation

func (*ListAttachedPoliciesInput) Validate

func (s *ListAttachedPoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAttachedPoliciesOutput

type ListAttachedPoliciesOutput struct {

	// The token to retrieve the next set of results, or ``null`` if there are no
	// more results.
	NextMarker *string `locationName:"nextMarker" type:"string"`

	// The policies.
	Policies []Policy `locationName:"policies" type:"list"`
	// contains filtered or unexported fields
}

func (ListAttachedPoliciesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAttachedPoliciesOutput) String

String returns the string representation

type ListAttachedPoliciesRequest

type ListAttachedPoliciesRequest struct {
	*aws.Request
	Input *ListAttachedPoliciesInput
	Copy  func(*ListAttachedPoliciesInput) ListAttachedPoliciesRequest
}

ListAttachedPoliciesRequest is the request type for the ListAttachedPolicies API operation.

func (ListAttachedPoliciesRequest) Send

Send marshals and sends the ListAttachedPolicies API request.

type ListAttachedPoliciesResponse

type ListAttachedPoliciesResponse struct {
	*ListAttachedPoliciesOutput
	// contains filtered or unexported fields
}

ListAttachedPoliciesResponse is the response type for the ListAttachedPolicies API operation.

func (*ListAttachedPoliciesResponse) SDKResponseMetdata

func (r *ListAttachedPoliciesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAttachedPolicies request.

type ListAuditFindingsInput

type ListAuditFindingsInput struct {

	// A filter to limit results to the findings for the specified audit check.
	CheckName *string `locationName:"checkName" type:"string"`

	// A filter to limit results to those found before the specified time. You must
	// specify either the startTime and endTime or the taskId, but not both.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The maximum number of results to return at one time. The default is 25.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information identifying the noncompliant resource.
	ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"`

	// A filter to limit results to those found after the specified time. You must
	// specify either the startTime and endTime or the taskId, but not both.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// A filter to limit results to the audit with the specified ID. You must specify
	// either the taskId or the startTime and endTime, but not both.
	TaskId *string `locationName:"taskId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAuditFindingsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditFindingsInput) String

func (s ListAuditFindingsInput) String() string

String returns the string representation

func (*ListAuditFindingsInput) Validate

func (s *ListAuditFindingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAuditFindingsOutput

type ListAuditFindingsOutput struct {

	// The findings (results) of the audit.
	Findings []AuditFinding `locationName:"findings" type:"list"`

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAuditFindingsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditFindingsOutput) String

func (s ListAuditFindingsOutput) String() string

String returns the string representation

type ListAuditFindingsRequest

type ListAuditFindingsRequest struct {
	*aws.Request
	Input *ListAuditFindingsInput
	Copy  func(*ListAuditFindingsInput) ListAuditFindingsRequest
}

ListAuditFindingsRequest is the request type for the ListAuditFindings API operation.

func (ListAuditFindingsRequest) Send

Send marshals and sends the ListAuditFindings API request.

type ListAuditFindingsResponse

type ListAuditFindingsResponse struct {
	*ListAuditFindingsOutput
	// contains filtered or unexported fields
}

ListAuditFindingsResponse is the response type for the ListAuditFindings API operation.

func (*ListAuditFindingsResponse) SDKResponseMetdata

func (r *ListAuditFindingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAuditFindings request.

type ListAuditMitigationActionsExecutionsInput

type ListAuditMitigationActionsExecutionsInput struct {

	// Specify this filter to limit results to those with a specific status.
	ActionStatus AuditMitigationActionsExecutionStatus `location:"querystring" locationName:"actionStatus" type:"string" enum:"true"`

	// Specify this filter to limit results to those that were applied to a specific
	// audit finding.
	//
	// FindingId is a required field
	FindingId *string `location:"querystring" locationName:"findingId" min:"1" type:"string" required:"true"`

	// The maximum number of results to return at one time. The default is 25.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// Specify this filter to limit results to actions for a specific audit mitigation
	// actions task.
	//
	// TaskId is a required field
	TaskId *string `location:"querystring" locationName:"taskId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAuditMitigationActionsExecutionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditMitigationActionsExecutionsInput) String

String returns the string representation

func (*ListAuditMitigationActionsExecutionsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListAuditMitigationActionsExecutionsOutput

type ListAuditMitigationActionsExecutionsOutput struct {

	// A set of task execution results based on the input parameters. Details include
	// the mitigation action applied, start time, and task status.
	ActionsExecutions []AuditMitigationActionExecutionMetadata `locationName:"actionsExecutions" type:"list"`

	// The token for the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAuditMitigationActionsExecutionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditMitigationActionsExecutionsOutput) String

String returns the string representation

type ListAuditMitigationActionsExecutionsRequest

ListAuditMitigationActionsExecutionsRequest is the request type for the ListAuditMitigationActionsExecutions API operation.

func (ListAuditMitigationActionsExecutionsRequest) Send

Send marshals and sends the ListAuditMitigationActionsExecutions API request.

type ListAuditMitigationActionsExecutionsResponse

type ListAuditMitigationActionsExecutionsResponse struct {
	*ListAuditMitigationActionsExecutionsOutput
	// contains filtered or unexported fields
}

ListAuditMitigationActionsExecutionsResponse is the response type for the ListAuditMitigationActionsExecutions API operation.

func (*ListAuditMitigationActionsExecutionsResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the ListAuditMitigationActionsExecutions request.

type ListAuditMitigationActionsTasksInput

type ListAuditMitigationActionsTasksInput struct {

	// Specify this filter to limit results to tasks that were applied to results
	// for a specific audit.
	AuditTaskId *string `location:"querystring" locationName:"auditTaskId" min:"1" type:"string"`

	// Specify this filter to limit results to tasks that were completed or canceled
	// on or before a specific date and time.
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" required:"true"`

	// Specify this filter to limit results to tasks that were applied to a specific
	// audit finding.
	FindingId *string `location:"querystring" locationName:"findingId" min:"1" type:"string"`

	// The maximum number of results to return at one time. The default is 25.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// Specify this filter to limit results to tasks that began on or after a specific
	// date and time.
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" required:"true"`

	// Specify this filter to limit results to tasks that are in a specific state.
	TaskStatus AuditMitigationActionsTaskStatus `location:"querystring" locationName:"taskStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListAuditMitigationActionsTasksInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditMitigationActionsTasksInput) String

String returns the string representation

func (*ListAuditMitigationActionsTasksInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListAuditMitigationActionsTasksOutput

type ListAuditMitigationActionsTasksOutput struct {

	// The token for the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The collection of audit mitigation tasks that matched the filter criteria.
	Tasks []AuditMitigationActionsTaskMetadata `locationName:"tasks" type:"list"`
	// contains filtered or unexported fields
}

func (ListAuditMitigationActionsTasksOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditMitigationActionsTasksOutput) String

String returns the string representation

type ListAuditMitigationActionsTasksRequest

type ListAuditMitigationActionsTasksRequest struct {
	*aws.Request
	Input *ListAuditMitigationActionsTasksInput
	Copy  func(*ListAuditMitigationActionsTasksInput) ListAuditMitigationActionsTasksRequest
}

ListAuditMitigationActionsTasksRequest is the request type for the ListAuditMitigationActionsTasks API operation.

func (ListAuditMitigationActionsTasksRequest) Send

Send marshals and sends the ListAuditMitigationActionsTasks API request.

type ListAuditMitigationActionsTasksResponse

type ListAuditMitigationActionsTasksResponse struct {
	*ListAuditMitigationActionsTasksOutput
	// contains filtered or unexported fields
}

ListAuditMitigationActionsTasksResponse is the response type for the ListAuditMitigationActionsTasks API operation.

func (*ListAuditMitigationActionsTasksResponse) SDKResponseMetdata

func (r *ListAuditMitigationActionsTasksResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAuditMitigationActionsTasks request.

type ListAuditTasksInput

type ListAuditTasksInput struct {

	// The end of the time period.
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" required:"true"`

	// The maximum number of results to return at one time. The default is 25.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The beginning of the time period. Audit information is retained for a limited
	// time (180 days). Requesting a start time prior to what is retained results
	// in an "InvalidRequestException".
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" required:"true"`

	// A filter to limit the output to audits with the specified completion status:
	// can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
	TaskStatus AuditTaskStatus `location:"querystring" locationName:"taskStatus" type:"string" enum:"true"`

	// A filter to limit the output to the specified type of audit: can be one of
	// "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
	TaskType AuditTaskType `location:"querystring" locationName:"taskType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListAuditTasksInput) MarshalFields

func (s ListAuditTasksInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditTasksInput) String

func (s ListAuditTasksInput) String() string

String returns the string representation

func (*ListAuditTasksInput) Validate

func (s *ListAuditTasksInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAuditTasksOutput

type ListAuditTasksOutput struct {

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The audits that were performed during the specified time period.
	Tasks []AuditTaskMetadata `locationName:"tasks" type:"list"`
	// contains filtered or unexported fields
}

func (ListAuditTasksOutput) MarshalFields

func (s ListAuditTasksOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuditTasksOutput) String

func (s ListAuditTasksOutput) String() string

String returns the string representation

type ListAuditTasksRequest

type ListAuditTasksRequest struct {
	*aws.Request
	Input *ListAuditTasksInput
	Copy  func(*ListAuditTasksInput) ListAuditTasksRequest
}

ListAuditTasksRequest is the request type for the ListAuditTasks API operation.

func (ListAuditTasksRequest) Send

Send marshals and sends the ListAuditTasks API request.

type ListAuditTasksResponse

type ListAuditTasksResponse struct {
	*ListAuditTasksOutput
	// contains filtered or unexported fields
}

ListAuditTasksResponse is the response type for the ListAuditTasks API operation.

func (*ListAuditTasksResponse) SDKResponseMetdata

func (r *ListAuditTasksResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAuditTasks request.

type ListAuthorizersInput

type ListAuthorizersInput struct {

	// Return the list of authorizers in ascending alphabetical order.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// A marker used to get the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The maximum number of results to return at one time.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`

	// The status of the list authorizers request.
	Status AuthorizerStatus `location:"querystring" locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListAuthorizersInput) MarshalFields

func (s ListAuthorizersInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuthorizersInput) String

func (s ListAuthorizersInput) String() string

String returns the string representation

func (*ListAuthorizersInput) Validate

func (s *ListAuthorizersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListAuthorizersOutput

type ListAuthorizersOutput struct {

	// The authorizers.
	Authorizers []AuthorizerSummary `locationName:"authorizers" type:"list"`

	// A marker used to get the next set of results.
	NextMarker *string `locationName:"nextMarker" type:"string"`
	// contains filtered or unexported fields
}

func (ListAuthorizersOutput) MarshalFields

func (s ListAuthorizersOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListAuthorizersOutput) String

func (s ListAuthorizersOutput) String() string

String returns the string representation

type ListAuthorizersRequest

type ListAuthorizersRequest struct {
	*aws.Request
	Input *ListAuthorizersInput
	Copy  func(*ListAuthorizersInput) ListAuthorizersRequest
}

ListAuthorizersRequest is the request type for the ListAuthorizers API operation.

func (ListAuthorizersRequest) Send

Send marshals and sends the ListAuthorizers API request.

type ListAuthorizersResponse

type ListAuthorizersResponse struct {
	*ListAuthorizersOutput
	// contains filtered or unexported fields
}

ListAuthorizersResponse is the response type for the ListAuthorizers API operation.

func (*ListAuthorizersResponse) SDKResponseMetdata

func (r *ListAuthorizersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAuthorizers request.

type ListBillingGroupsInput

type ListBillingGroupsInput struct {

	// The maximum number of results to return per request.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Limit the results to billing groups whose names have the given prefix.
	NamePrefixFilter *string `location:"querystring" locationName:"namePrefixFilter" min:"1" type:"string"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBillingGroupsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBillingGroupsInput) String

func (s ListBillingGroupsInput) String() string

String returns the string representation

func (*ListBillingGroupsInput) Validate

func (s *ListBillingGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListBillingGroupsOutput

type ListBillingGroupsOutput struct {

	// The list of billing groups.
	BillingGroups []GroupNameAndArn `locationName:"billingGroups" type:"list"`

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListBillingGroupsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListBillingGroupsOutput) String

func (s ListBillingGroupsOutput) String() string

String returns the string representation

type ListBillingGroupsRequest

type ListBillingGroupsRequest struct {
	*aws.Request
	Input *ListBillingGroupsInput
	Copy  func(*ListBillingGroupsInput) ListBillingGroupsRequest
}

ListBillingGroupsRequest is the request type for the ListBillingGroups API operation.

func (ListBillingGroupsRequest) Send

Send marshals and sends the ListBillingGroups API request.

type ListBillingGroupsResponse

type ListBillingGroupsResponse struct {
	*ListBillingGroupsOutput
	// contains filtered or unexported fields
}

ListBillingGroupsResponse is the response type for the ListBillingGroups API operation.

func (*ListBillingGroupsResponse) SDKResponseMetdata

func (r *ListBillingGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListBillingGroups request.

type ListCACertificatesInput

type ListCACertificatesInput struct {

	// Determines the order of the results.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The marker for the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The result page size.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Input for the ListCACertificates operation.

func (ListCACertificatesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCACertificatesInput) String

func (s ListCACertificatesInput) String() string

String returns the string representation

func (*ListCACertificatesInput) Validate

func (s *ListCACertificatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCACertificatesOutput

type ListCACertificatesOutput struct {

	// The CA certificates registered in your AWS account.
	Certificates []CACertificate `locationName:"certificates" type:"list"`

	// The current position within the list of CA certificates.
	NextMarker *string `locationName:"nextMarker" type:"string"`
	// contains filtered or unexported fields
}

The output from the ListCACertificates operation.

func (ListCACertificatesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCACertificatesOutput) String

func (s ListCACertificatesOutput) String() string

String returns the string representation

type ListCACertificatesRequest

type ListCACertificatesRequest struct {
	*aws.Request
	Input *ListCACertificatesInput
	Copy  func(*ListCACertificatesInput) ListCACertificatesRequest
}

ListCACertificatesRequest is the request type for the ListCACertificates API operation.

func (ListCACertificatesRequest) Send

Send marshals and sends the ListCACertificates API request.

type ListCACertificatesResponse

type ListCACertificatesResponse struct {
	*ListCACertificatesOutput
	// contains filtered or unexported fields
}

ListCACertificatesResponse is the response type for the ListCACertificates API operation.

func (*ListCACertificatesResponse) SDKResponseMetdata

func (r *ListCACertificatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListCACertificates request.

type ListCertificatesByCAInput

type ListCertificatesByCAInput struct {

	// Specifies the order for results. If True, the results are returned in ascending
	// order, based on the creation date.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The ID of the CA certificate. This operation will list all registered device
	// certificate that were signed by this CA certificate.
	//
	// CaCertificateId is a required field
	CaCertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"`

	// The marker for the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The result page size.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The input to the ListCertificatesByCA operation.

func (ListCertificatesByCAInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCertificatesByCAInput) String

func (s ListCertificatesByCAInput) String() string

String returns the string representation

func (*ListCertificatesByCAInput) Validate

func (s *ListCertificatesByCAInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCertificatesByCAOutput

type ListCertificatesByCAOutput struct {

	// The device certificates signed by the specified CA certificate.
	Certificates []Certificate `locationName:"certificates" type:"list"`

	// The marker for the next set of results, or null if there are no additional
	// results.
	NextMarker *string `locationName:"nextMarker" type:"string"`
	// contains filtered or unexported fields
}

The output of the ListCertificatesByCA operation.

func (ListCertificatesByCAOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCertificatesByCAOutput) String

String returns the string representation

type ListCertificatesByCARequest

type ListCertificatesByCARequest struct {
	*aws.Request
	Input *ListCertificatesByCAInput
	Copy  func(*ListCertificatesByCAInput) ListCertificatesByCARequest
}

ListCertificatesByCARequest is the request type for the ListCertificatesByCA API operation.

func (ListCertificatesByCARequest) Send

Send marshals and sends the ListCertificatesByCA API request.

type ListCertificatesByCAResponse

type ListCertificatesByCAResponse struct {
	*ListCertificatesByCAOutput
	// contains filtered or unexported fields
}

ListCertificatesByCAResponse is the response type for the ListCertificatesByCA API operation.

func (*ListCertificatesByCAResponse) SDKResponseMetdata

func (r *ListCertificatesByCAResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListCertificatesByCA request.

type ListCertificatesInput

type ListCertificatesInput struct {

	// Specifies the order for results. If True, the results are returned in ascending
	// order, based on the creation date.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The marker for the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The result page size.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The input for the ListCertificates operation.

func (ListCertificatesInput) MarshalFields

func (s ListCertificatesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCertificatesInput) String

func (s ListCertificatesInput) String() string

String returns the string representation

func (*ListCertificatesInput) Validate

func (s *ListCertificatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListCertificatesOutput

type ListCertificatesOutput struct {

	// The descriptions of the certificates.
	Certificates []Certificate `locationName:"certificates" type:"list"`

	// The marker for the next set of results, or null if there are no additional
	// results.
	NextMarker *string `locationName:"nextMarker" type:"string"`
	// contains filtered or unexported fields
}

The output of the ListCertificates operation.

func (ListCertificatesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListCertificatesOutput) String

func (s ListCertificatesOutput) String() string

String returns the string representation

type ListCertificatesRequest

type ListCertificatesRequest struct {
	*aws.Request
	Input *ListCertificatesInput
	Copy  func(*ListCertificatesInput) ListCertificatesRequest
}

ListCertificatesRequest is the request type for the ListCertificates API operation.

func (ListCertificatesRequest) Send

Send marshals and sends the ListCertificates API request.

type ListCertificatesResponse

type ListCertificatesResponse struct {
	*ListCertificatesOutput
	// contains filtered or unexported fields
}

ListCertificatesResponse is the response type for the ListCertificates API operation.

func (*ListCertificatesResponse) SDKResponseMetdata

func (r *ListCertificatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListCertificates request.

type ListIndicesInput

type ListIndicesInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListIndicesInput) MarshalFields

func (s ListIndicesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListIndicesInput) String

func (s ListIndicesInput) String() string

String returns the string representation

func (*ListIndicesInput) Validate

func (s *ListIndicesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListIndicesOutput

type ListIndicesOutput struct {

	// The index names.
	IndexNames []string `locationName:"indexNames" type:"list"`

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListIndicesOutput) MarshalFields

func (s ListIndicesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListIndicesOutput) String

func (s ListIndicesOutput) String() string

String returns the string representation

type ListIndicesRequest

type ListIndicesRequest struct {
	*aws.Request
	Input *ListIndicesInput
	Copy  func(*ListIndicesInput) ListIndicesRequest
}

ListIndicesRequest is the request type for the ListIndices API operation.

func (ListIndicesRequest) Send

Send marshals and sends the ListIndices API request.

type ListIndicesResponse

type ListIndicesResponse struct {
	*ListIndicesOutput
	// contains filtered or unexported fields
}

ListIndicesResponse is the response type for the ListIndices API operation.

func (*ListIndicesResponse) SDKResponseMetdata

func (r *ListIndicesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListIndices request.

type ListJobExecutionsForJobInput

type ListJobExecutionsForJobInput struct {

	// The unique identifier you assigned to this job when it was created.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// The maximum number of results to be returned per request.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The status of the job.
	Status JobExecutionStatus `location:"querystring" locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListJobExecutionsForJobInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobExecutionsForJobInput) String

String returns the string representation

func (*ListJobExecutionsForJobInput) Validate

func (s *ListJobExecutionsForJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobExecutionsForJobOutput

type ListJobExecutionsForJobOutput struct {

	// A list of job execution summaries.
	ExecutionSummaries []JobExecutionSummaryForJob `locationName:"executionSummaries" type:"list"`

	// The token for the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListJobExecutionsForJobOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobExecutionsForJobOutput) String

String returns the string representation

type ListJobExecutionsForJobRequest

type ListJobExecutionsForJobRequest struct {
	*aws.Request
	Input *ListJobExecutionsForJobInput
	Copy  func(*ListJobExecutionsForJobInput) ListJobExecutionsForJobRequest
}

ListJobExecutionsForJobRequest is the request type for the ListJobExecutionsForJob API operation.

func (ListJobExecutionsForJobRequest) Send

Send marshals and sends the ListJobExecutionsForJob API request.

type ListJobExecutionsForJobResponse

type ListJobExecutionsForJobResponse struct {
	*ListJobExecutionsForJobOutput
	// contains filtered or unexported fields
}

ListJobExecutionsForJobResponse is the response type for the ListJobExecutionsForJob API operation.

func (*ListJobExecutionsForJobResponse) SDKResponseMetdata

func (r *ListJobExecutionsForJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListJobExecutionsForJob request.

type ListJobExecutionsForThingInput

type ListJobExecutionsForThingInput struct {

	// The maximum number of results to be returned per request.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// An optional filter that lets you search for jobs that have the specified
	// status.
	Status JobExecutionStatus `location:"querystring" locationName:"status" type:"string" enum:"true"`

	// The thing name.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListJobExecutionsForThingInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobExecutionsForThingInput) String

String returns the string representation

func (*ListJobExecutionsForThingInput) Validate

func (s *ListJobExecutionsForThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobExecutionsForThingOutput

type ListJobExecutionsForThingOutput struct {

	// A list of job execution summaries.
	ExecutionSummaries []JobExecutionSummaryForThing `locationName:"executionSummaries" type:"list"`

	// The token for the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListJobExecutionsForThingOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobExecutionsForThingOutput) String

String returns the string representation

type ListJobExecutionsForThingRequest

type ListJobExecutionsForThingRequest struct {
	*aws.Request
	Input *ListJobExecutionsForThingInput
	Copy  func(*ListJobExecutionsForThingInput) ListJobExecutionsForThingRequest
}

ListJobExecutionsForThingRequest is the request type for the ListJobExecutionsForThing API operation.

func (ListJobExecutionsForThingRequest) Send

Send marshals and sends the ListJobExecutionsForThing API request.

type ListJobExecutionsForThingResponse

type ListJobExecutionsForThingResponse struct {
	*ListJobExecutionsForThingOutput
	// contains filtered or unexported fields
}

ListJobExecutionsForThingResponse is the response type for the ListJobExecutionsForThing API operation.

func (*ListJobExecutionsForThingResponse) SDKResponseMetdata

func (r *ListJobExecutionsForThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListJobExecutionsForThing request.

type ListJobsInput

type ListJobsInput struct {

	// The maximum number of results to return per request.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// An optional filter that lets you search for jobs that have the specified
	// status.
	Status JobStatus `location:"querystring" locationName:"status" type:"string" enum:"true"`

	// Specifies whether the job will continue to run (CONTINUOUS), or will be complete
	// after all those things specified as targets have completed the job (SNAPSHOT).
	// If continuous, the job may also be run on a thing when a change is detected
	// in a target. For example, a job will run on a thing when the thing is added
	// to a target group, even after the job was completed by all things originally
	// in the group.
	TargetSelection TargetSelection `location:"querystring" locationName:"targetSelection" type:"string" enum:"true"`

	// A filter that limits the returned jobs to those for the specified group.
	ThingGroupId *string `location:"querystring" locationName:"thingGroupId" min:"1" type:"string"`

	// A filter that limits the returned jobs to those for the specified group.
	ThingGroupName *string `location:"querystring" locationName:"thingGroupName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListJobsInput) MarshalFields

func (s ListJobsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsInput) String

func (s ListJobsInput) String() string

String returns the string representation

func (*ListJobsInput) Validate

func (s *ListJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobsOutput

type ListJobsOutput struct {

	// A list of jobs.
	Jobs []JobSummary `locationName:"jobs" type:"list"`

	// The token for the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListJobsOutput) MarshalFields

func (s ListJobsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListJobsOutput) String

func (s ListJobsOutput) String() string

String returns the string representation

type ListJobsRequest

type ListJobsRequest struct {
	*aws.Request
	Input *ListJobsInput
	Copy  func(*ListJobsInput) ListJobsRequest
}

ListJobsRequest is the request type for the ListJobs API operation.

func (ListJobsRequest) Send

Send marshals and sends the ListJobs API request.

type ListJobsResponse

type ListJobsResponse struct {
	*ListJobsOutput
	// contains filtered or unexported fields
}

ListJobsResponse is the response type for the ListJobs API operation.

func (*ListJobsResponse) SDKResponseMetdata

func (r *ListJobsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListJobs request.

type ListMitigationActionsInput

type ListMitigationActionsInput struct {

	// Specify a value to limit the result to mitigation actions with a specific
	// action type.
	ActionType MitigationActionType `location:"querystring" locationName:"actionType" type:"string" enum:"true"`

	// The maximum number of results to return at one time. The default is 25.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListMitigationActionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMitigationActionsInput) String

String returns the string representation

func (*ListMitigationActionsInput) Validate

func (s *ListMitigationActionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListMitigationActionsOutput

type ListMitigationActionsOutput struct {

	// A set of actions that matched the specified filter criteria.
	ActionIdentifiers []MitigationActionIdentifier `locationName:"actionIdentifiers" type:"list"`

	// The token for the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListMitigationActionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListMitigationActionsOutput) String

String returns the string representation

type ListMitigationActionsRequest

type ListMitigationActionsRequest struct {
	*aws.Request
	Input *ListMitigationActionsInput
	Copy  func(*ListMitigationActionsInput) ListMitigationActionsRequest
}

ListMitigationActionsRequest is the request type for the ListMitigationActions API operation.

func (ListMitigationActionsRequest) Send

Send marshals and sends the ListMitigationActions API request.

type ListMitigationActionsResponse

type ListMitigationActionsResponse struct {
	*ListMitigationActionsOutput
	// contains filtered or unexported fields
}

ListMitigationActionsResponse is the response type for the ListMitigationActions API operation.

func (*ListMitigationActionsResponse) SDKResponseMetdata

func (r *ListMitigationActionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListMitigationActions request.

type ListOTAUpdatesInput

type ListOTAUpdatesInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A token used to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The OTA update job status.
	OtaUpdateStatus OTAUpdateStatus `location:"querystring" locationName:"otaUpdateStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListOTAUpdatesInput) MarshalFields

func (s ListOTAUpdatesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListOTAUpdatesInput) String

func (s ListOTAUpdatesInput) String() string

String returns the string representation

func (*ListOTAUpdatesInput) Validate

func (s *ListOTAUpdatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListOTAUpdatesOutput

type ListOTAUpdatesOutput struct {

	// A token to use to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of OTA update jobs.
	OtaUpdates []OTAUpdateSummary `locationName:"otaUpdates" type:"list"`
	// contains filtered or unexported fields
}

func (ListOTAUpdatesOutput) MarshalFields

func (s ListOTAUpdatesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListOTAUpdatesOutput) String

func (s ListOTAUpdatesOutput) String() string

String returns the string representation

type ListOTAUpdatesRequest

type ListOTAUpdatesRequest struct {
	*aws.Request
	Input *ListOTAUpdatesInput
	Copy  func(*ListOTAUpdatesInput) ListOTAUpdatesRequest
}

ListOTAUpdatesRequest is the request type for the ListOTAUpdates API operation.

func (ListOTAUpdatesRequest) Send

Send marshals and sends the ListOTAUpdates API request.

type ListOTAUpdatesResponse

type ListOTAUpdatesResponse struct {
	*ListOTAUpdatesOutput
	// contains filtered or unexported fields
}

ListOTAUpdatesResponse is the response type for the ListOTAUpdates API operation.

func (*ListOTAUpdatesResponse) SDKResponseMetdata

func (r *ListOTAUpdatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListOTAUpdates request.

type ListOutgoingCertificatesInput

type ListOutgoingCertificatesInput struct {

	// Specifies the order for results. If True, the results are returned in ascending
	// order, based on the creation date.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The marker for the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The result page size.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The input to the ListOutgoingCertificates operation.

func (ListOutgoingCertificatesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListOutgoingCertificatesInput) String

String returns the string representation

func (*ListOutgoingCertificatesInput) Validate

func (s *ListOutgoingCertificatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListOutgoingCertificatesOutput

type ListOutgoingCertificatesOutput struct {

	// The marker for the next set of results.
	NextMarker *string `locationName:"nextMarker" type:"string"`

	// The certificates that are being transferred but not yet accepted.
	OutgoingCertificates []OutgoingCertificate `locationName:"outgoingCertificates" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListOutgoingCertificates operation.

func (ListOutgoingCertificatesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListOutgoingCertificatesOutput) String

String returns the string representation

type ListOutgoingCertificatesRequest

type ListOutgoingCertificatesRequest struct {
	*aws.Request
	Input *ListOutgoingCertificatesInput
	Copy  func(*ListOutgoingCertificatesInput) ListOutgoingCertificatesRequest
}

ListOutgoingCertificatesRequest is the request type for the ListOutgoingCertificates API operation.

func (ListOutgoingCertificatesRequest) Send

Send marshals and sends the ListOutgoingCertificates API request.

type ListOutgoingCertificatesResponse

type ListOutgoingCertificatesResponse struct {
	*ListOutgoingCertificatesOutput
	// contains filtered or unexported fields
}

ListOutgoingCertificatesResponse is the response type for the ListOutgoingCertificates API operation.

func (*ListOutgoingCertificatesResponse) SDKResponseMetdata

func (r *ListOutgoingCertificatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListOutgoingCertificates request.

type ListPoliciesInput

type ListPoliciesInput struct {

	// Specifies the order for results. If true, the results are returned in ascending
	// creation order.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The marker for the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The result page size.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The input for the ListPolicies operation.

func (ListPoliciesInput) MarshalFields

func (s ListPoliciesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPoliciesInput) String

func (s ListPoliciesInput) String() string

String returns the string representation

func (*ListPoliciesInput) Validate

func (s *ListPoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPoliciesOutput

type ListPoliciesOutput struct {

	// The marker for the next set of results, or null if there are no additional
	// results.
	NextMarker *string `locationName:"nextMarker" type:"string"`

	// The descriptions of the policies.
	Policies []Policy `locationName:"policies" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListPolicies operation.

func (ListPoliciesOutput) MarshalFields

func (s ListPoliciesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPoliciesOutput) String

func (s ListPoliciesOutput) String() string

String returns the string representation

type ListPoliciesRequest

type ListPoliciesRequest struct {
	*aws.Request
	Input *ListPoliciesInput
	Copy  func(*ListPoliciesInput) ListPoliciesRequest
}

ListPoliciesRequest is the request type for the ListPolicies API operation.

func (ListPoliciesRequest) Send

Send marshals and sends the ListPolicies API request.

type ListPoliciesResponse

type ListPoliciesResponse struct {
	*ListPoliciesOutput
	// contains filtered or unexported fields
}

ListPoliciesResponse is the response type for the ListPolicies API operation.

func (*ListPoliciesResponse) SDKResponseMetdata

func (r *ListPoliciesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPolicies request.

type ListPolicyPrincipalsInput

type ListPolicyPrincipalsInput struct {

	// Specifies the order for results. If true, the results are returned in ascending
	// creation order.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The marker for the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The result page size.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`

	// The policy name.
	//
	// PolicyName is a required field
	PolicyName *string `location:"header" locationName:"x-amzn-iot-policy" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the ListPolicyPrincipals operation.

func (ListPolicyPrincipalsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPolicyPrincipalsInput) String

func (s ListPolicyPrincipalsInput) String() string

String returns the string representation

func (*ListPolicyPrincipalsInput) Validate

func (s *ListPolicyPrincipalsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPolicyPrincipalsOutput

type ListPolicyPrincipalsOutput struct {

	// The marker for the next set of results, or null if there are no additional
	// results.
	NextMarker *string `locationName:"nextMarker" type:"string"`

	// The descriptions of the principals.
	Principals []string `locationName:"principals" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListPolicyPrincipals operation.

func (ListPolicyPrincipalsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPolicyPrincipalsOutput) String

String returns the string representation

type ListPolicyPrincipalsRequest

type ListPolicyPrincipalsRequest struct {
	*aws.Request
	Input *ListPolicyPrincipalsInput
	Copy  func(*ListPolicyPrincipalsInput) ListPolicyPrincipalsRequest
}

ListPolicyPrincipalsRequest is the request type for the ListPolicyPrincipals API operation.

func (ListPolicyPrincipalsRequest) Send

Send marshals and sends the ListPolicyPrincipals API request.

type ListPolicyPrincipalsResponse

type ListPolicyPrincipalsResponse struct {
	*ListPolicyPrincipalsOutput
	// contains filtered or unexported fields
}

ListPolicyPrincipalsResponse is the response type for the ListPolicyPrincipals API operation.

func (*ListPolicyPrincipalsResponse) SDKResponseMetdata

func (r *ListPolicyPrincipalsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPolicyPrincipals request.

type ListPolicyVersionsInput

type ListPolicyVersionsInput struct {

	// The policy name.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the ListPolicyVersions operation.

func (ListPolicyVersionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPolicyVersionsInput) String

func (s ListPolicyVersionsInput) String() string

String returns the string representation

func (*ListPolicyVersionsInput) Validate

func (s *ListPolicyVersionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPolicyVersionsOutput

type ListPolicyVersionsOutput struct {

	// The policy versions.
	PolicyVersions []PolicyVersion `locationName:"policyVersions" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListPolicyVersions operation.

func (ListPolicyVersionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPolicyVersionsOutput) String

func (s ListPolicyVersionsOutput) String() string

String returns the string representation

type ListPolicyVersionsRequest

type ListPolicyVersionsRequest struct {
	*aws.Request
	Input *ListPolicyVersionsInput
	Copy  func(*ListPolicyVersionsInput) ListPolicyVersionsRequest
}

ListPolicyVersionsRequest is the request type for the ListPolicyVersions API operation.

func (ListPolicyVersionsRequest) Send

Send marshals and sends the ListPolicyVersions API request.

type ListPolicyVersionsResponse

type ListPolicyVersionsResponse struct {
	*ListPolicyVersionsOutput
	// contains filtered or unexported fields
}

ListPolicyVersionsResponse is the response type for the ListPolicyVersions API operation.

func (*ListPolicyVersionsResponse) SDKResponseMetdata

func (r *ListPolicyVersionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPolicyVersions request.

type ListPrincipalPoliciesInput

type ListPrincipalPoliciesInput struct {

	// Specifies the order for results. If true, results are returned in ascending
	// creation order.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The marker for the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The result page size.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`

	// The principal.
	//
	// Principal is a required field
	Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the ListPrincipalPolicies operation.

func (ListPrincipalPoliciesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPrincipalPoliciesInput) String

String returns the string representation

func (*ListPrincipalPoliciesInput) Validate

func (s *ListPrincipalPoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPrincipalPoliciesOutput

type ListPrincipalPoliciesOutput struct {

	// The marker for the next set of results, or null if there are no additional
	// results.
	NextMarker *string `locationName:"nextMarker" type:"string"`

	// The policies.
	Policies []Policy `locationName:"policies" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListPrincipalPolicies operation.

func (ListPrincipalPoliciesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPrincipalPoliciesOutput) String

String returns the string representation

type ListPrincipalPoliciesRequest

type ListPrincipalPoliciesRequest struct {
	*aws.Request
	Input *ListPrincipalPoliciesInput
	Copy  func(*ListPrincipalPoliciesInput) ListPrincipalPoliciesRequest
}

ListPrincipalPoliciesRequest is the request type for the ListPrincipalPolicies API operation.

func (ListPrincipalPoliciesRequest) Send

Send marshals and sends the ListPrincipalPolicies API request.

type ListPrincipalPoliciesResponse

type ListPrincipalPoliciesResponse struct {
	*ListPrincipalPoliciesOutput
	// contains filtered or unexported fields
}

ListPrincipalPoliciesResponse is the response type for the ListPrincipalPolicies API operation.

func (*ListPrincipalPoliciesResponse) SDKResponseMetdata

func (r *ListPrincipalPoliciesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPrincipalPolicies request.

type ListPrincipalThingsInput

type ListPrincipalThingsInput struct {

	// The maximum number of results to return in this operation.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The principal.
	//
	// Principal is a required field
	Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the ListPrincipalThings operation.

func (ListPrincipalThingsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPrincipalThingsInput) String

func (s ListPrincipalThingsInput) String() string

String returns the string representation

func (*ListPrincipalThingsInput) Validate

func (s *ListPrincipalThingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListPrincipalThingsOutput

type ListPrincipalThingsOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The things.
	Things []string `locationName:"things" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListPrincipalThings operation.

func (ListPrincipalThingsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListPrincipalThingsOutput) String

func (s ListPrincipalThingsOutput) String() string

String returns the string representation

type ListPrincipalThingsRequest

type ListPrincipalThingsRequest struct {
	*aws.Request
	Input *ListPrincipalThingsInput
	Copy  func(*ListPrincipalThingsInput) ListPrincipalThingsRequest
}

ListPrincipalThingsRequest is the request type for the ListPrincipalThings API operation.

func (ListPrincipalThingsRequest) Send

Send marshals and sends the ListPrincipalThings API request.

type ListPrincipalThingsResponse

type ListPrincipalThingsResponse struct {
	*ListPrincipalThingsOutput
	// contains filtered or unexported fields
}

ListPrincipalThingsResponse is the response type for the ListPrincipalThings API operation.

func (*ListPrincipalThingsResponse) SDKResponseMetdata

func (r *ListPrincipalThingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListPrincipalThings request.

type ListRoleAliasesInput

type ListRoleAliasesInput struct {

	// Return the list of role aliases in ascending alphabetical order.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// A marker used to get the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The maximum number of results to return at one time.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

func (ListRoleAliasesInput) MarshalFields

func (s ListRoleAliasesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRoleAliasesInput) String

func (s ListRoleAliasesInput) String() string

String returns the string representation

func (*ListRoleAliasesInput) Validate

func (s *ListRoleAliasesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListRoleAliasesOutput

type ListRoleAliasesOutput struct {

	// A marker used to get the next set of results.
	NextMarker *string `locationName:"nextMarker" type:"string"`

	// The role aliases.
	RoleAliases []string `locationName:"roleAliases" type:"list"`
	// contains filtered or unexported fields
}

func (ListRoleAliasesOutput) MarshalFields

func (s ListRoleAliasesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListRoleAliasesOutput) String

func (s ListRoleAliasesOutput) String() string

String returns the string representation

type ListRoleAliasesRequest

type ListRoleAliasesRequest struct {
	*aws.Request
	Input *ListRoleAliasesInput
	Copy  func(*ListRoleAliasesInput) ListRoleAliasesRequest
}

ListRoleAliasesRequest is the request type for the ListRoleAliases API operation.

func (ListRoleAliasesRequest) Send

Send marshals and sends the ListRoleAliases API request.

type ListRoleAliasesResponse

type ListRoleAliasesResponse struct {
	*ListRoleAliasesOutput
	// contains filtered or unexported fields
}

ListRoleAliasesResponse is the response type for the ListRoleAliases API operation.

func (*ListRoleAliasesResponse) SDKResponseMetdata

func (r *ListRoleAliasesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListRoleAliases request.

type ListScheduledAuditsInput

type ListScheduledAuditsInput struct {

	// The maximum number of results to return at one time. The default is 25.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListScheduledAuditsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListScheduledAuditsInput) String

func (s ListScheduledAuditsInput) String() string

String returns the string representation

func (*ListScheduledAuditsInput) Validate

func (s *ListScheduledAuditsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListScheduledAuditsOutput

type ListScheduledAuditsOutput struct {

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of scheduled audits.
	ScheduledAudits []ScheduledAuditMetadata `locationName:"scheduledAudits" type:"list"`
	// contains filtered or unexported fields
}

func (ListScheduledAuditsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListScheduledAuditsOutput) String

func (s ListScheduledAuditsOutput) String() string

String returns the string representation

type ListScheduledAuditsRequest

type ListScheduledAuditsRequest struct {
	*aws.Request
	Input *ListScheduledAuditsInput
	Copy  func(*ListScheduledAuditsInput) ListScheduledAuditsRequest
}

ListScheduledAuditsRequest is the request type for the ListScheduledAudits API operation.

func (ListScheduledAuditsRequest) Send

Send marshals and sends the ListScheduledAudits API request.

type ListScheduledAuditsResponse

type ListScheduledAuditsResponse struct {
	*ListScheduledAuditsOutput
	// contains filtered or unexported fields
}

ListScheduledAuditsResponse is the response type for the ListScheduledAudits API operation.

func (*ListScheduledAuditsResponse) SDKResponseMetdata

func (r *ListScheduledAuditsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListScheduledAudits request.

type ListSecurityProfilesForTargetInput

type ListSecurityProfilesForTargetInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// If true, return child groups too.
	Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"`

	// The ARN of the target (thing group) whose attached security profiles you
	// want to get.
	//
	// SecurityProfileTargetArn is a required field
	SecurityProfileTargetArn *string `location:"querystring" locationName:"securityProfileTargetArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListSecurityProfilesForTargetInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListSecurityProfilesForTargetInput) String

String returns the string representation

func (*ListSecurityProfilesForTargetInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListSecurityProfilesForTargetOutput

type ListSecurityProfilesForTargetOutput struct {

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of security profiles and their associated targets.
	SecurityProfileTargetMappings []SecurityProfileTargetMapping `locationName:"securityProfileTargetMappings" type:"list"`
	// contains filtered or unexported fields
}

func (ListSecurityProfilesForTargetOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListSecurityProfilesForTargetOutput) String

String returns the string representation

type ListSecurityProfilesForTargetRequest

type ListSecurityProfilesForTargetRequest struct {
	*aws.Request
	Input *ListSecurityProfilesForTargetInput
	Copy  func(*ListSecurityProfilesForTargetInput) ListSecurityProfilesForTargetRequest
}

ListSecurityProfilesForTargetRequest is the request type for the ListSecurityProfilesForTarget API operation.

func (ListSecurityProfilesForTargetRequest) Send

Send marshals and sends the ListSecurityProfilesForTarget API request.

type ListSecurityProfilesForTargetResponse

type ListSecurityProfilesForTargetResponse struct {
	*ListSecurityProfilesForTargetOutput
	// contains filtered or unexported fields
}

ListSecurityProfilesForTargetResponse is the response type for the ListSecurityProfilesForTarget API operation.

func (*ListSecurityProfilesForTargetResponse) SDKResponseMetdata

func (r *ListSecurityProfilesForTargetResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListSecurityProfilesForTarget request.

type ListSecurityProfilesInput

type ListSecurityProfilesInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSecurityProfilesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListSecurityProfilesInput) String

func (s ListSecurityProfilesInput) String() string

String returns the string representation

func (*ListSecurityProfilesInput) Validate

func (s *ListSecurityProfilesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSecurityProfilesOutput

type ListSecurityProfilesOutput struct {

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of security profile identifiers (names and ARNs).
	SecurityProfileIdentifiers []SecurityProfileIdentifier `locationName:"securityProfileIdentifiers" type:"list"`
	// contains filtered or unexported fields
}

func (ListSecurityProfilesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListSecurityProfilesOutput) String

String returns the string representation

type ListSecurityProfilesRequest

type ListSecurityProfilesRequest struct {
	*aws.Request
	Input *ListSecurityProfilesInput
	Copy  func(*ListSecurityProfilesInput) ListSecurityProfilesRequest
}

ListSecurityProfilesRequest is the request type for the ListSecurityProfiles API operation.

func (ListSecurityProfilesRequest) Send

Send marshals and sends the ListSecurityProfiles API request.

type ListSecurityProfilesResponse

type ListSecurityProfilesResponse struct {
	*ListSecurityProfilesOutput
	// contains filtered or unexported fields
}

ListSecurityProfilesResponse is the response type for the ListSecurityProfiles API operation.

func (*ListSecurityProfilesResponse) SDKResponseMetdata

func (r *ListSecurityProfilesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListSecurityProfiles request.

type ListStreamsInput

type ListStreamsInput struct {

	// Set to true to return the list of streams in ascending order.
	AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"`

	// The maximum number of results to return at a time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A token used to get the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListStreamsInput) MarshalFields

func (s ListStreamsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListStreamsInput) String

func (s ListStreamsInput) String() string

String returns the string representation

func (*ListStreamsInput) Validate

func (s *ListStreamsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListStreamsOutput

type ListStreamsOutput struct {

	// A token used to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of streams.
	Streams []StreamSummary `locationName:"streams" type:"list"`
	// contains filtered or unexported fields
}

func (ListStreamsOutput) MarshalFields

func (s ListStreamsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListStreamsOutput) String

func (s ListStreamsOutput) String() string

String returns the string representation

type ListStreamsRequest

type ListStreamsRequest struct {
	*aws.Request
	Input *ListStreamsInput
	Copy  func(*ListStreamsInput) ListStreamsRequest
}

ListStreamsRequest is the request type for the ListStreams API operation.

func (ListStreamsRequest) Send

Send marshals and sends the ListStreams API request.

type ListStreamsResponse

type ListStreamsResponse struct {
	*ListStreamsOutput
	// contains filtered or unexported fields
}

ListStreamsResponse is the response type for the ListStreams API operation.

func (*ListStreamsResponse) SDKResponseMetdata

func (r *ListStreamsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListStreams request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The list of tags assigned to the resource.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type ListTargetsForPolicyInput

type ListTargetsForPolicyInput struct {

	// A marker used to get the next set of results.
	Marker *string `location:"querystring" locationName:"marker" type:"string"`

	// The maximum number of results to return at one time.
	PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"`

	// The policy name.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTargetsForPolicyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTargetsForPolicyInput) String

func (s ListTargetsForPolicyInput) String() string

String returns the string representation

func (*ListTargetsForPolicyInput) Validate

func (s *ListTargetsForPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTargetsForPolicyOutput

type ListTargetsForPolicyOutput struct {

	// A marker used to get the next set of results.
	NextMarker *string `locationName:"nextMarker" type:"string"`

	// The policy targets.
	Targets []string `locationName:"targets" type:"list"`
	// contains filtered or unexported fields
}

func (ListTargetsForPolicyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTargetsForPolicyOutput) String

String returns the string representation

type ListTargetsForPolicyRequest

type ListTargetsForPolicyRequest struct {
	*aws.Request
	Input *ListTargetsForPolicyInput
	Copy  func(*ListTargetsForPolicyInput) ListTargetsForPolicyRequest
}

ListTargetsForPolicyRequest is the request type for the ListTargetsForPolicy API operation.

func (ListTargetsForPolicyRequest) Send

Send marshals and sends the ListTargetsForPolicy API request.

type ListTargetsForPolicyResponse

type ListTargetsForPolicyResponse struct {
	*ListTargetsForPolicyOutput
	// contains filtered or unexported fields
}

ListTargetsForPolicyResponse is the response type for the ListTargetsForPolicy API operation.

func (*ListTargetsForPolicyResponse) SDKResponseMetdata

func (r *ListTargetsForPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTargetsForPolicy request.

type ListTargetsForSecurityProfileInput

type ListTargetsForSecurityProfileInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The security profile.
	//
	// SecurityProfileName is a required field
	SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTargetsForSecurityProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTargetsForSecurityProfileInput) String

String returns the string representation

func (*ListTargetsForSecurityProfileInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListTargetsForSecurityProfileOutput

type ListTargetsForSecurityProfileOutput struct {

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The thing groups to which the security profile is attached.
	SecurityProfileTargets []SecurityProfileTarget `locationName:"securityProfileTargets" type:"list"`
	// contains filtered or unexported fields
}

func (ListTargetsForSecurityProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTargetsForSecurityProfileOutput) String

String returns the string representation

type ListTargetsForSecurityProfileRequest

type ListTargetsForSecurityProfileRequest struct {
	*aws.Request
	Input *ListTargetsForSecurityProfileInput
	Copy  func(*ListTargetsForSecurityProfileInput) ListTargetsForSecurityProfileRequest
}

ListTargetsForSecurityProfileRequest is the request type for the ListTargetsForSecurityProfile API operation.

func (ListTargetsForSecurityProfileRequest) Send

Send marshals and sends the ListTargetsForSecurityProfile API request.

type ListTargetsForSecurityProfileResponse

type ListTargetsForSecurityProfileResponse struct {
	*ListTargetsForSecurityProfileOutput
	// contains filtered or unexported fields
}

ListTargetsForSecurityProfileResponse is the response type for the ListTargetsForSecurityProfile API operation.

func (*ListTargetsForSecurityProfileResponse) SDKResponseMetdata

func (r *ListTargetsForSecurityProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTargetsForSecurityProfile request.

type ListThingGroupsForThingInput

type ListThingGroupsForThingInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The thing name.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListThingGroupsForThingInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingGroupsForThingInput) String

String returns the string representation

func (*ListThingGroupsForThingInput) Validate

func (s *ListThingGroupsForThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingGroupsForThingOutput

type ListThingGroupsForThingOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The thing groups.
	ThingGroups []GroupNameAndArn `locationName:"thingGroups" type:"list"`
	// contains filtered or unexported fields
}

func (ListThingGroupsForThingOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingGroupsForThingOutput) String

String returns the string representation

type ListThingGroupsForThingRequest

type ListThingGroupsForThingRequest struct {
	*aws.Request
	Input *ListThingGroupsForThingInput
	Copy  func(*ListThingGroupsForThingInput) ListThingGroupsForThingRequest
}

ListThingGroupsForThingRequest is the request type for the ListThingGroupsForThing API operation.

func (ListThingGroupsForThingRequest) Send

Send marshals and sends the ListThingGroupsForThing API request.

type ListThingGroupsForThingResponse

type ListThingGroupsForThingResponse struct {
	*ListThingGroupsForThingOutput
	// contains filtered or unexported fields
}

ListThingGroupsForThingResponse is the response type for the ListThingGroupsForThing API operation.

func (*ListThingGroupsForThingResponse) SDKResponseMetdata

func (r *ListThingGroupsForThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingGroupsForThing request.

type ListThingGroupsInput

type ListThingGroupsInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A filter that limits the results to those with the specified name prefix.
	NamePrefixFilter *string `location:"querystring" locationName:"namePrefixFilter" min:"1" type:"string"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// A filter that limits the results to those with the specified parent group.
	ParentGroup *string `location:"querystring" locationName:"parentGroup" min:"1" type:"string"`

	// If true, return child groups as well.
	Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"`
	// contains filtered or unexported fields
}

func (ListThingGroupsInput) MarshalFields

func (s ListThingGroupsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingGroupsInput) String

func (s ListThingGroupsInput) String() string

String returns the string representation

func (*ListThingGroupsInput) Validate

func (s *ListThingGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingGroupsOutput

type ListThingGroupsOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The thing groups.
	ThingGroups []GroupNameAndArn `locationName:"thingGroups" type:"list"`
	// contains filtered or unexported fields
}

func (ListThingGroupsOutput) MarshalFields

func (s ListThingGroupsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingGroupsOutput) String

func (s ListThingGroupsOutput) String() string

String returns the string representation

type ListThingGroupsRequest

type ListThingGroupsRequest struct {
	*aws.Request
	Input *ListThingGroupsInput
	Copy  func(*ListThingGroupsInput) ListThingGroupsRequest
}

ListThingGroupsRequest is the request type for the ListThingGroups API operation.

func (ListThingGroupsRequest) Send

Send marshals and sends the ListThingGroups API request.

type ListThingGroupsResponse

type ListThingGroupsResponse struct {
	*ListThingGroupsOutput
	// contains filtered or unexported fields
}

ListThingGroupsResponse is the response type for the ListThingGroups API operation.

func (*ListThingGroupsResponse) SDKResponseMetdata

func (r *ListThingGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingGroups request.

type ListThingPrincipalsInput

type ListThingPrincipalsInput struct {

	// The name of the thing.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the ListThingPrincipal operation.

func (ListThingPrincipalsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingPrincipalsInput) String

func (s ListThingPrincipalsInput) String() string

String returns the string representation

func (*ListThingPrincipalsInput) Validate

func (s *ListThingPrincipalsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingPrincipalsOutput

type ListThingPrincipalsOutput struct {

	// The principals associated with the thing.
	Principals []string `locationName:"principals" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListThingPrincipals operation.

func (ListThingPrincipalsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingPrincipalsOutput) String

func (s ListThingPrincipalsOutput) String() string

String returns the string representation

type ListThingPrincipalsRequest

type ListThingPrincipalsRequest struct {
	*aws.Request
	Input *ListThingPrincipalsInput
	Copy  func(*ListThingPrincipalsInput) ListThingPrincipalsRequest
}

ListThingPrincipalsRequest is the request type for the ListThingPrincipals API operation.

func (ListThingPrincipalsRequest) Send

Send marshals and sends the ListThingPrincipals API request.

type ListThingPrincipalsResponse

type ListThingPrincipalsResponse struct {
	*ListThingPrincipalsOutput
	// contains filtered or unexported fields
}

ListThingPrincipalsResponse is the response type for the ListThingPrincipals API operation.

func (*ListThingPrincipalsResponse) SDKResponseMetdata

func (r *ListThingPrincipalsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingPrincipals request.

type ListThingRegistrationTaskReportsInput

type ListThingRegistrationTaskReportsInput struct {

	// The maximum number of results to return per request.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The type of task report.
	//
	// ReportType is a required field
	ReportType ReportType `location:"querystring" locationName:"reportType" type:"string" required:"true" enum:"true"`

	// The id of the task.
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListThingRegistrationTaskReportsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingRegistrationTaskReportsInput) String

String returns the string representation

func (*ListThingRegistrationTaskReportsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListThingRegistrationTaskReportsOutput

type ListThingRegistrationTaskReportsOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The type of task report.
	ReportType ReportType `locationName:"reportType" type:"string" enum:"true"`

	// Links to the task resources.
	ResourceLinks []string `locationName:"resourceLinks" type:"list"`
	// contains filtered or unexported fields
}

func (ListThingRegistrationTaskReportsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingRegistrationTaskReportsOutput) String

String returns the string representation

type ListThingRegistrationTaskReportsRequest

type ListThingRegistrationTaskReportsRequest struct {
	*aws.Request
	Input *ListThingRegistrationTaskReportsInput
	Copy  func(*ListThingRegistrationTaskReportsInput) ListThingRegistrationTaskReportsRequest
}

ListThingRegistrationTaskReportsRequest is the request type for the ListThingRegistrationTaskReports API operation.

func (ListThingRegistrationTaskReportsRequest) Send

Send marshals and sends the ListThingRegistrationTaskReports API request.

type ListThingRegistrationTaskReportsResponse

type ListThingRegistrationTaskReportsResponse struct {
	*ListThingRegistrationTaskReportsOutput
	// contains filtered or unexported fields
}

ListThingRegistrationTaskReportsResponse is the response type for the ListThingRegistrationTaskReports API operation.

func (*ListThingRegistrationTaskReportsResponse) SDKResponseMetdata

func (r *ListThingRegistrationTaskReportsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingRegistrationTaskReports request.

type ListThingRegistrationTasksInput

type ListThingRegistrationTasksInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The status of the bulk thing provisioning task.
	Status Status `location:"querystring" locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListThingRegistrationTasksInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingRegistrationTasksInput) String

String returns the string representation

func (*ListThingRegistrationTasksInput) Validate

func (s *ListThingRegistrationTasksInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingRegistrationTasksOutput

type ListThingRegistrationTasksOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of bulk thing provisioning task IDs.
	TaskIds []string `locationName:"taskIds" type:"list"`
	// contains filtered or unexported fields
}

func (ListThingRegistrationTasksOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingRegistrationTasksOutput) String

String returns the string representation

type ListThingRegistrationTasksRequest

type ListThingRegistrationTasksRequest struct {
	*aws.Request
	Input *ListThingRegistrationTasksInput
	Copy  func(*ListThingRegistrationTasksInput) ListThingRegistrationTasksRequest
}

ListThingRegistrationTasksRequest is the request type for the ListThingRegistrationTasks API operation.

func (ListThingRegistrationTasksRequest) Send

Send marshals and sends the ListThingRegistrationTasks API request.

type ListThingRegistrationTasksResponse

type ListThingRegistrationTasksResponse struct {
	*ListThingRegistrationTasksOutput
	// contains filtered or unexported fields
}

ListThingRegistrationTasksResponse is the response type for the ListThingRegistrationTasks API operation.

func (*ListThingRegistrationTasksResponse) SDKResponseMetdata

func (r *ListThingRegistrationTasksResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingRegistrationTasks request.

type ListThingTypesInput

type ListThingTypesInput struct {

	// The maximum number of results to return in this operation.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The name of the thing type.
	ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input for the ListThingTypes operation.

func (ListThingTypesInput) MarshalFields

func (s ListThingTypesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingTypesInput) String

func (s ListThingTypesInput) String() string

String returns the string representation

func (*ListThingTypesInput) Validate

func (s *ListThingTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingTypesOutput

type ListThingTypesOutput struct {

	// The token for the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The thing types.
	ThingTypes []ThingTypeDefinition `locationName:"thingTypes" type:"list"`
	// contains filtered or unexported fields
}

The output for the ListThingTypes operation.

func (ListThingTypesOutput) MarshalFields

func (s ListThingTypesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingTypesOutput) String

func (s ListThingTypesOutput) String() string

String returns the string representation

type ListThingTypesRequest

type ListThingTypesRequest struct {
	*aws.Request
	Input *ListThingTypesInput
	Copy  func(*ListThingTypesInput) ListThingTypesRequest
}

ListThingTypesRequest is the request type for the ListThingTypes API operation.

func (ListThingTypesRequest) Send

Send marshals and sends the ListThingTypes API request.

type ListThingTypesResponse

type ListThingTypesResponse struct {
	*ListThingTypesOutput
	// contains filtered or unexported fields
}

ListThingTypesResponse is the response type for the ListThingTypes API operation.

func (*ListThingTypesResponse) SDKResponseMetdata

func (r *ListThingTypesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingTypes request.

type ListThingsInBillingGroupInput

type ListThingsInBillingGroupInput struct {

	// The name of the billing group.
	//
	// BillingGroupName is a required field
	BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"`

	// The maximum number of results to return per request.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListThingsInBillingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingsInBillingGroupInput) String

String returns the string representation

func (*ListThingsInBillingGroupInput) Validate

func (s *ListThingsInBillingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingsInBillingGroupOutput

type ListThingsInBillingGroupOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of things in the billing group.
	Things []string `locationName:"things" type:"list"`
	// contains filtered or unexported fields
}

func (ListThingsInBillingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingsInBillingGroupOutput) String

String returns the string representation

type ListThingsInBillingGroupRequest

type ListThingsInBillingGroupRequest struct {
	*aws.Request
	Input *ListThingsInBillingGroupInput
	Copy  func(*ListThingsInBillingGroupInput) ListThingsInBillingGroupRequest
}

ListThingsInBillingGroupRequest is the request type for the ListThingsInBillingGroup API operation.

func (ListThingsInBillingGroupRequest) Send

Send marshals and sends the ListThingsInBillingGroup API request.

type ListThingsInBillingGroupResponse

type ListThingsInBillingGroupResponse struct {
	*ListThingsInBillingGroupOutput
	// contains filtered or unexported fields
}

ListThingsInBillingGroupResponse is the response type for the ListThingsInBillingGroup API operation.

func (*ListThingsInBillingGroupResponse) SDKResponseMetdata

func (r *ListThingsInBillingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingsInBillingGroup request.

type ListThingsInThingGroupInput

type ListThingsInThingGroupInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// When true, list things in this thing group and in all child groups as well.
	Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"`

	// The thing group name.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListThingsInThingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingsInThingGroupInput) String

String returns the string representation

func (*ListThingsInThingGroupInput) Validate

func (s *ListThingsInThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingsInThingGroupOutput

type ListThingsInThingGroupOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The things in the specified thing group.
	Things []string `locationName:"things" type:"list"`
	// contains filtered or unexported fields
}

func (ListThingsInThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingsInThingGroupOutput) String

String returns the string representation

type ListThingsInThingGroupRequest

type ListThingsInThingGroupRequest struct {
	*aws.Request
	Input *ListThingsInThingGroupInput
	Copy  func(*ListThingsInThingGroupInput) ListThingsInThingGroupRequest
}

ListThingsInThingGroupRequest is the request type for the ListThingsInThingGroup API operation.

func (ListThingsInThingGroupRequest) Send

Send marshals and sends the ListThingsInThingGroup API request.

type ListThingsInThingGroupResponse

type ListThingsInThingGroupResponse struct {
	*ListThingsInThingGroupOutput
	// contains filtered or unexported fields
}

ListThingsInThingGroupResponse is the response type for the ListThingsInThingGroup API operation.

func (*ListThingsInThingGroupResponse) SDKResponseMetdata

func (r *ListThingsInThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThingsInThingGroup request.

type ListThingsInput

type ListThingsInput struct {

	// The attribute name used to search for things.
	AttributeName *string `location:"querystring" locationName:"attributeName" type:"string"`

	// The attribute value used to search for things.
	AttributeValue *string `location:"querystring" locationName:"attributeValue" type:"string"`

	// The maximum number of results to return in this operation.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The name of the thing type used to search for things.
	ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input for the ListThings operation.

func (ListThingsInput) MarshalFields

func (s ListThingsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingsInput) String

func (s ListThingsInput) String() string

String returns the string representation

func (*ListThingsInput) Validate

func (s *ListThingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListThingsOutput

type ListThingsOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The things.
	Things []ThingAttribute `locationName:"things" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListThings operation.

func (ListThingsOutput) MarshalFields

func (s ListThingsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListThingsOutput) String

func (s ListThingsOutput) String() string

String returns the string representation

type ListThingsRequest

type ListThingsRequest struct {
	*aws.Request
	Input *ListThingsInput
	Copy  func(*ListThingsInput) ListThingsRequest
}

ListThingsRequest is the request type for the ListThings API operation.

func (ListThingsRequest) Send

Send marshals and sends the ListThings API request.

type ListThingsResponse

type ListThingsResponse struct {
	*ListThingsOutput
	// contains filtered or unexported fields
}

ListThingsResponse is the response type for the ListThings API operation.

func (*ListThingsResponse) SDKResponseMetdata

func (r *ListThingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListThings request.

type ListTopicRulesInput

type ListTopicRulesInput struct {

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// A token used to retrieve the next value.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// Specifies whether the rule is disabled.
	RuleDisabled *bool `location:"querystring" locationName:"ruleDisabled" type:"boolean"`

	// The topic.
	Topic *string `location:"querystring" locationName:"topic" type:"string"`
	// contains filtered or unexported fields
}

The input for the ListTopicRules operation.

func (ListTopicRulesInput) MarshalFields

func (s ListTopicRulesInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTopicRulesInput) String

func (s ListTopicRulesInput) String() string

String returns the string representation

func (*ListTopicRulesInput) Validate

func (s *ListTopicRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTopicRulesOutput

type ListTopicRulesOutput struct {

	// A token used to retrieve the next value.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The rules.
	Rules []TopicRuleListItem `locationName:"rules" type:"list"`
	// contains filtered or unexported fields
}

The output from the ListTopicRules operation.

func (ListTopicRulesOutput) MarshalFields

func (s ListTopicRulesOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTopicRulesOutput) String

func (s ListTopicRulesOutput) String() string

String returns the string representation

type ListTopicRulesRequest

type ListTopicRulesRequest struct {
	*aws.Request
	Input *ListTopicRulesInput
	Copy  func(*ListTopicRulesInput) ListTopicRulesRequest
}

ListTopicRulesRequest is the request type for the ListTopicRules API operation.

func (ListTopicRulesRequest) Send

Send marshals and sends the ListTopicRules API request.

type ListTopicRulesResponse

type ListTopicRulesResponse struct {
	*ListTopicRulesOutput
	// contains filtered or unexported fields
}

ListTopicRulesResponse is the response type for the ListTopicRules API operation.

func (*ListTopicRulesResponse) SDKResponseMetdata

func (r *ListTopicRulesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTopicRules request.

type ListV2LoggingLevelsInput

type ListV2LoggingLevelsInput struct {

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The type of resource for which you are configuring logging. Must be THING_Group.
	TargetType LogTargetType `location:"querystring" locationName:"targetType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListV2LoggingLevelsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListV2LoggingLevelsInput) String

func (s ListV2LoggingLevelsInput) String() string

String returns the string representation

func (*ListV2LoggingLevelsInput) Validate

func (s *ListV2LoggingLevelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListV2LoggingLevelsOutput

type ListV2LoggingLevelsOutput struct {

	// The logging configuration for a target.
	LogTargetConfigurations []LogTargetConfiguration `locationName:"logTargetConfigurations" type:"list"`

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListV2LoggingLevelsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListV2LoggingLevelsOutput) String

func (s ListV2LoggingLevelsOutput) String() string

String returns the string representation

type ListV2LoggingLevelsRequest

type ListV2LoggingLevelsRequest struct {
	*aws.Request
	Input *ListV2LoggingLevelsInput
	Copy  func(*ListV2LoggingLevelsInput) ListV2LoggingLevelsRequest
}

ListV2LoggingLevelsRequest is the request type for the ListV2LoggingLevels API operation.

func (ListV2LoggingLevelsRequest) Send

Send marshals and sends the ListV2LoggingLevels API request.

type ListV2LoggingLevelsResponse

type ListV2LoggingLevelsResponse struct {
	*ListV2LoggingLevelsOutput
	// contains filtered or unexported fields
}

ListV2LoggingLevelsResponse is the response type for the ListV2LoggingLevels API operation.

func (*ListV2LoggingLevelsResponse) SDKResponseMetdata

func (r *ListV2LoggingLevelsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListV2LoggingLevels request.

type ListViolationEventsInput

type ListViolationEventsInput struct {

	// The end time for the alerts to be listed.
	//
	// EndTime is a required field
	EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" required:"true"`

	// The maximum number of results to return at one time.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// A filter to limit results to those alerts generated by the specified security
	// profile.
	SecurityProfileName *string `location:"querystring" locationName:"securityProfileName" min:"1" type:"string"`

	// The start time for the alerts to be listed.
	//
	// StartTime is a required field
	StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" required:"true"`

	// A filter to limit results to those alerts caused by the specified thing.
	ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListViolationEventsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListViolationEventsInput) String

func (s ListViolationEventsInput) String() string

String returns the string representation

func (*ListViolationEventsInput) Validate

func (s *ListViolationEventsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListViolationEventsOutput

type ListViolationEventsOutput struct {

	// A token that can be used to retrieve the next set of results, or null if
	// there are no additional results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The security profile violation alerts issued for this account during the
	// given time period, potentially filtered by security profile, behavior violated,
	// or thing (device) violating.
	ViolationEvents []ViolationEvent `locationName:"violationEvents" type:"list"`
	// contains filtered or unexported fields
}

func (ListViolationEventsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListViolationEventsOutput) String

func (s ListViolationEventsOutput) String() string

String returns the string representation

type ListViolationEventsRequest

type ListViolationEventsRequest struct {
	*aws.Request
	Input *ListViolationEventsInput
	Copy  func(*ListViolationEventsInput) ListViolationEventsRequest
}

ListViolationEventsRequest is the request type for the ListViolationEvents API operation.

func (ListViolationEventsRequest) Send

Send marshals and sends the ListViolationEvents API request.

type ListViolationEventsResponse

type ListViolationEventsResponse struct {
	*ListViolationEventsOutput
	// contains filtered or unexported fields
}

ListViolationEventsResponse is the response type for the ListViolationEvents API operation.

func (*ListViolationEventsResponse) SDKResponseMetdata

func (r *ListViolationEventsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListViolationEvents request.

type LogLevel

type LogLevel string
const (
	LogLevelDebug    LogLevel = "DEBUG"
	LogLevelInfo     LogLevel = "INFO"
	LogLevelError    LogLevel = "ERROR"
	LogLevelWarn     LogLevel = "WARN"
	LogLevelDisabled LogLevel = "DISABLED"
)

Enum values for LogLevel

func (LogLevel) MarshalValue

func (enum LogLevel) MarshalValue() (string, error)

func (LogLevel) MarshalValueBuf

func (enum LogLevel) MarshalValueBuf(b []byte) ([]byte, error)

type LogTarget

type LogTarget struct {

	// The target name.
	TargetName *string `locationName:"targetName" type:"string"`

	// The target type.
	//
	// TargetType is a required field
	TargetType LogTargetType `locationName:"targetType" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

A log target.

func (LogTarget) MarshalFields

func (s LogTarget) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LogTarget) String

func (s LogTarget) String() string

String returns the string representation

func (*LogTarget) Validate

func (s *LogTarget) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type LogTargetConfiguration

type LogTargetConfiguration struct {

	// The logging level.
	LogLevel LogLevel `locationName:"logLevel" type:"string" enum:"true"`

	// A log target
	LogTarget *LogTarget `locationName:"logTarget" type:"structure"`
	// contains filtered or unexported fields
}

The target configuration.

func (LogTargetConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LogTargetConfiguration) String

func (s LogTargetConfiguration) String() string

String returns the string representation

type LogTargetType

type LogTargetType string
const (
	LogTargetTypeDefault    LogTargetType = "DEFAULT"
	LogTargetTypeThingGroup LogTargetType = "THING_GROUP"
)

Enum values for LogTargetType

func (LogTargetType) MarshalValue

func (enum LogTargetType) MarshalValue() (string, error)

func (LogTargetType) MarshalValueBuf

func (enum LogTargetType) MarshalValueBuf(b []byte) ([]byte, error)

type LoggingOptionsPayload

type LoggingOptionsPayload struct {

	// The log level.
	LogLevel LogLevel `locationName:"logLevel" type:"string" enum:"true"`

	// The ARN of the IAM role that grants access.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes the logging options payload.

func (LoggingOptionsPayload) MarshalFields

func (s LoggingOptionsPayload) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (LoggingOptionsPayload) String

func (s LoggingOptionsPayload) String() string

String returns the string representation

func (*LoggingOptionsPayload) Validate

func (s *LoggingOptionsPayload) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MessageFormat

type MessageFormat string
const (
	MessageFormatRaw  MessageFormat = "RAW"
	MessageFormatJson MessageFormat = "JSON"
)

Enum values for MessageFormat

func (MessageFormat) MarshalValue

func (enum MessageFormat) MarshalValue() (string, error)

func (MessageFormat) MarshalValueBuf

func (enum MessageFormat) MarshalValueBuf(b []byte) ([]byte, error)

type MetricValue

type MetricValue struct {

	// If the comparisonOperator calls for a set of CIDRs, use this to specify that
	// set to be compared with the metric.
	Cidrs []string `locationName:"cidrs" type:"list"`

	// If the comparisonOperator calls for a numeric value, use this to specify
	// that numeric value to be compared with the metric.
	Count *int64 `locationName:"count" type:"long"`

	// If the comparisonOperator calls for a set of ports, use this to specify that
	// set to be compared with the metric.
	Ports []int64 `locationName:"ports" type:"list"`
	// contains filtered or unexported fields
}

The value to be compared with the metric.

func (MetricValue) MarshalFields

func (s MetricValue) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MetricValue) String

func (s MetricValue) String() string

String returns the string representation

type MitigationAction

type MitigationAction struct {

	// The set of parameters for this mitigation action. The parameters vary, depending
	// on the kind of action you apply.
	ActionParams *MitigationActionParams `locationName:"actionParams" type:"structure"`

	// A unique identifier for the mitigation action.
	Id *string `locationName:"id" type:"string"`

	// A user-friendly name for the mitigation action.
	Name *string `locationName:"name" type:"string"`

	// The IAM role ARN used to apply this mitigation action.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Describes which changes should be applied as part of a mitigation action.

func (MitigationAction) MarshalFields

func (s MitigationAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MitigationAction) String

func (s MitigationAction) String() string

String returns the string representation

type MitigationActionIdentifier

type MitigationActionIdentifier struct {

	// The IAM role ARN used to apply this mitigation action.
	ActionArn *string `locationName:"actionArn" type:"string"`

	// The friendly name of the mitigation action.
	ActionName *string `locationName:"actionName" type:"string"`

	// The date when this mitigation action was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`
	// contains filtered or unexported fields
}

Information that identifies a mitigation action. This information is returned by ListMitigationActions.

func (MitigationActionIdentifier) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MitigationActionIdentifier) String

String returns the string representation

type MitigationActionParams

type MitigationActionParams struct {

	// Parameters to define a mitigation action that moves devices associated with
	// a certificate to one or more specified thing groups, typically for quarantine.
	AddThingsToThingGroupParams *AddThingsToThingGroupParams `locationName:"addThingsToThingGroupParams" type:"structure"`

	// Parameters to define a mitigation action that enables AWS IoT logging at
	// a specified level of detail.
	EnableIoTLoggingParams *EnableIoTLoggingParams `locationName:"enableIoTLoggingParams" type:"structure"`

	// Parameters to define a mitigation action that publishes findings to Amazon
	// SNS. You can implement your own custom actions in response to the Amazon
	// SNS messages.
	PublishFindingToSnsParams *PublishFindingToSnsParams `locationName:"publishFindingToSnsParams" type:"structure"`

	// Parameters to define a mitigation action that adds a blank policy to restrict
	// permissions.
	ReplaceDefaultPolicyVersionParams *ReplaceDefaultPolicyVersionParams `locationName:"replaceDefaultPolicyVersionParams" type:"structure"`

	// Parameters to define a mitigation action that changes the state of the CA
	// certificate to inactive.
	UpdateCACertificateParams *UpdateCACertificateParams `locationName:"updateCACertificateParams" type:"structure"`

	// Parameters to define a mitigation action that changes the state of the device
	// certificate to inactive.
	UpdateDeviceCertificateParams *UpdateDeviceCertificateParams `locationName:"updateDeviceCertificateParams" type:"structure"`
	// contains filtered or unexported fields
}

The set of parameters for this mitigation action. You can specify only one type of parameter (in other words, you can apply only one action for each defined mitigation action).

func (MitigationActionParams) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MitigationActionParams) String

func (s MitigationActionParams) String() string

String returns the string representation

func (*MitigationActionParams) Validate

func (s *MitigationActionParams) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MitigationActionType

type MitigationActionType string
const (
	MitigationActionTypeUpdateDeviceCertificate     MitigationActionType = "UPDATE_DEVICE_CERTIFICATE"
	MitigationActionTypeUpdateCaCertificate         MitigationActionType = "UPDATE_CA_CERTIFICATE"
	MitigationActionTypeAddThingsToThingGroup       MitigationActionType = "ADD_THINGS_TO_THING_GROUP"
	MitigationActionTypeReplaceDefaultPolicyVersion MitigationActionType = "REPLACE_DEFAULT_POLICY_VERSION"
	MitigationActionTypeEnableIotLogging            MitigationActionType = "ENABLE_IOT_LOGGING"
	MitigationActionTypePublishFindingToSns         MitigationActionType = "PUBLISH_FINDING_TO_SNS"
)

Enum values for MitigationActionType

func (MitigationActionType) MarshalValue

func (enum MitigationActionType) MarshalValue() (string, error)

func (MitigationActionType) MarshalValueBuf

func (enum MitigationActionType) MarshalValueBuf(b []byte) ([]byte, error)

type NonCompliantResource

type NonCompliantResource struct {

	// Other information about the noncompliant resource.
	AdditionalInfo map[string]string `locationName:"additionalInfo" type:"map"`

	// Information that identifies the noncompliant resource.
	ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"`

	// The type of the noncompliant resource.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about the resource that was noncompliant with the audit check.

func (NonCompliantResource) MarshalFields

func (s NonCompliantResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (NonCompliantResource) String

func (s NonCompliantResource) String() string

String returns the string representation

type OTAUpdateFile

type OTAUpdateFile struct {

	// A list of name/attribute pairs.
	Attributes map[string]string `locationName:"attributes" type:"map"`

	// The code signing method of the file.
	CodeSigning *CodeSigning `locationName:"codeSigning" type:"structure"`

	// The location of the updated firmware.
	FileLocation *FileLocation `locationName:"fileLocation" type:"structure"`

	// The name of the file.
	FileName *string `locationName:"fileName" type:"string"`

	// The file version.
	FileVersion *string `locationName:"fileVersion" type:"string"`
	// contains filtered or unexported fields
}

Describes a file to be associated with an OTA update.

func (OTAUpdateFile) MarshalFields

func (s OTAUpdateFile) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (OTAUpdateFile) String

func (s OTAUpdateFile) String() string

String returns the string representation

func (*OTAUpdateFile) Validate

func (s *OTAUpdateFile) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type OTAUpdateInfo

type OTAUpdateInfo struct {

	// A collection of name/value pairs
	AdditionalParameters map[string]string `locationName:"additionalParameters" type:"map"`

	// The AWS IoT job ARN associated with the OTA update.
	AwsIotJobArn *string `locationName:"awsIotJobArn" type:"string"`

	// The AWS IoT job ID associated with the OTA update.
	AwsIotJobId *string `locationName:"awsIotJobId" type:"string"`

	// Configuration for the rollout of OTA updates.
	AwsJobExecutionsRolloutConfig *AwsJobExecutionsRolloutConfig `locationName:"awsJobExecutionsRolloutConfig" type:"structure"`

	// The date when the OTA update was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// A description of the OTA update.
	Description *string `locationName:"description" type:"string"`

	// Error information associated with the OTA update.
	ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"`

	// The date when the OTA update was last updated.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The OTA update ARN.
	OtaUpdateArn *string `locationName:"otaUpdateArn" type:"string"`

	// A list of files associated with the OTA update.
	OtaUpdateFiles []OTAUpdateFile `locationName:"otaUpdateFiles" min:"1" type:"list"`

	// The OTA update ID.
	OtaUpdateId *string `locationName:"otaUpdateId" min:"1" type:"string"`

	// The status of the OTA update.
	OtaUpdateStatus OTAUpdateStatus `locationName:"otaUpdateStatus" type:"string" enum:"true"`

	// Specifies whether the OTA update will continue to run (CONTINUOUS), or will
	// be complete after all those things specified as targets have completed the
	// OTA update (SNAPSHOT). If continuous, the OTA update may also be run on a
	// thing when a change is detected in a target. For example, an OTA update will
	// run on a thing when the thing is added to a target group, even after the
	// OTA update was completed by all things originally in the group.
	TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"`

	// The targets of the OTA update.
	Targets []string `locationName:"targets" min:"1" type:"list"`
	// contains filtered or unexported fields
}

Information about an OTA update.

func (OTAUpdateInfo) MarshalFields

func (s OTAUpdateInfo) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (OTAUpdateInfo) String

func (s OTAUpdateInfo) String() string

String returns the string representation

type OTAUpdateStatus

type OTAUpdateStatus string
const (
	OTAUpdateStatusCreatePending    OTAUpdateStatus = "CREATE_PENDING"
	OTAUpdateStatusCreateInProgress OTAUpdateStatus = "CREATE_IN_PROGRESS"
	OTAUpdateStatusCreateComplete   OTAUpdateStatus = "CREATE_COMPLETE"
	OTAUpdateStatusCreateFailed     OTAUpdateStatus = "CREATE_FAILED"
)

Enum values for OTAUpdateStatus

func (OTAUpdateStatus) MarshalValue

func (enum OTAUpdateStatus) MarshalValue() (string, error)

func (OTAUpdateStatus) MarshalValueBuf

func (enum OTAUpdateStatus) MarshalValueBuf(b []byte) ([]byte, error)

type OTAUpdateSummary

type OTAUpdateSummary struct {

	// The date when the OTA update was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The OTA update ARN.
	OtaUpdateArn *string `locationName:"otaUpdateArn" type:"string"`

	// The OTA update ID.
	OtaUpdateId *string `locationName:"otaUpdateId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

An OTA update summary.

func (OTAUpdateSummary) MarshalFields

func (s OTAUpdateSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (OTAUpdateSummary) String

func (s OTAUpdateSummary) String() string

String returns the string representation

type OutgoingCertificate

type OutgoingCertificate struct {

	// The certificate ARN.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The certificate ID.
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`

	// The certificate creation date.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The date the transfer was initiated.
	TransferDate *time.Time `locationName:"transferDate" type:"timestamp"`

	// The transfer message.
	TransferMessage *string `locationName:"transferMessage" type:"string"`

	// The AWS account to which the transfer was made.
	TransferredTo *string `locationName:"transferredTo" min:"12" type:"string"`
	// contains filtered or unexported fields
}

A certificate that has been transferred but not yet accepted.

func (OutgoingCertificate) MarshalFields

func (s OutgoingCertificate) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (OutgoingCertificate) String

func (s OutgoingCertificate) String() string

String returns the string representation

type Policy

type Policy struct {

	// The policy ARN.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The policy name.
	PolicyName *string `locationName:"policyName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes an AWS IoT policy.

func (Policy) MarshalFields

func (s Policy) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Policy) String

func (s Policy) String() string

String returns the string representation

type PolicyTemplateName

type PolicyTemplateName string
const (
	PolicyTemplateNameBlankPolicy PolicyTemplateName = "BLANK_POLICY"
)

Enum values for PolicyTemplateName

func (PolicyTemplateName) MarshalValue

func (enum PolicyTemplateName) MarshalValue() (string, error)

func (PolicyTemplateName) MarshalValueBuf

func (enum PolicyTemplateName) MarshalValueBuf(b []byte) ([]byte, error)

type PolicyVersion

type PolicyVersion struct {

	// The date and time the policy was created.
	CreateDate *time.Time `locationName:"createDate" type:"timestamp"`

	// Specifies whether the policy version is the default.
	IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"`

	// The policy version ID.
	VersionId *string `locationName:"versionId" type:"string"`
	// contains filtered or unexported fields
}

Describes a policy version.

func (PolicyVersion) MarshalFields

func (s PolicyVersion) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PolicyVersion) String

func (s PolicyVersion) String() string

String returns the string representation

type PolicyVersionIdentifier

type PolicyVersionIdentifier struct {

	// The name of the policy.
	PolicyName *string `locationName:"policyName" min:"1" type:"string"`

	// The ID of the version of the policy associated with the resource.
	PolicyVersionId *string `locationName:"policyVersionId" type:"string"`
	// contains filtered or unexported fields
}

Information about the version of the policy associated with the resource.

func (PolicyVersionIdentifier) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PolicyVersionIdentifier) String

func (s PolicyVersionIdentifier) String() string

String returns the string representation

func (*PolicyVersionIdentifier) Validate

func (s *PolicyVersionIdentifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PresignedUrlConfig

type PresignedUrlConfig struct {

	// How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600,
	// the default value is 3600 seconds. Pre-signed URLs are generated when Jobs
	// receives an MQTT request for the job document.
	ExpiresInSec *int64 `locationName:"expiresInSec" min:"60" type:"long"`

	// The ARN of an IAM role that grants grants permission to download files from
	// the S3 bucket where the job data/updates are stored. The role must also grant
	// permission for IoT to download the files.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Configuration for pre-signed S3 URLs.

func (PresignedUrlConfig) MarshalFields

func (s PresignedUrlConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PresignedUrlConfig) String

func (s PresignedUrlConfig) String() string

String returns the string representation

func (*PresignedUrlConfig) Validate

func (s *PresignedUrlConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PublishFindingToSnsParams

type PublishFindingToSnsParams struct {

	// The ARN of the topic to which you want to publish the findings.
	//
	// TopicArn is a required field
	TopicArn *string `locationName:"topicArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Parameters to define a mitigation action that publishes findings to Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages.

func (PublishFindingToSnsParams) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PublishFindingToSnsParams) String

func (s PublishFindingToSnsParams) String() string

String returns the string representation

func (*PublishFindingToSnsParams) Validate

func (s *PublishFindingToSnsParams) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutItemInput

type PutItemInput struct {

	// The table where the message data will be written.
	//
	// TableName is a required field
	TableName *string `locationName:"tableName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the DynamoActionVS action that specifies the DynamoDB table to which the message data will be written.

func (PutItemInput) MarshalFields

func (s PutItemInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (PutItemInput) String

func (s PutItemInput) String() string

String returns the string representation

func (*PutItemInput) Validate

func (s *PutItemInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RateIncreaseCriteria

type RateIncreaseCriteria struct {

	// The threshold for number of notified things that will initiate the increase
	// in rate of rollout.
	NumberOfNotifiedThings *int64 `locationName:"numberOfNotifiedThings" min:"1" type:"integer"`

	// The threshold for number of succeeded things that will initiate the increase
	// in rate of rollout.
	NumberOfSucceededThings *int64 `locationName:"numberOfSucceededThings" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Allows you to define a criteria to initiate the increase in rate of rollout for a job.

func (RateIncreaseCriteria) MarshalFields

func (s RateIncreaseCriteria) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RateIncreaseCriteria) String

func (s RateIncreaseCriteria) String() string

String returns the string representation

func (*RateIncreaseCriteria) Validate

func (s *RateIncreaseCriteria) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterCACertificateInput

type RegisterCACertificateInput struct {

	// Allows this CA certificate to be used for auto registration of device certificates.
	AllowAutoRegistration *bool `location:"querystring" locationName:"allowAutoRegistration" type:"boolean"`

	// The CA certificate.
	//
	// CaCertificate is a required field
	CaCertificate *string `locationName:"caCertificate" min:"1" type:"string" required:"true"`

	// Information about the registration configuration.
	RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"`

	// A boolean value that specifies if the CA certificate is set to active.
	SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"`

	// The private key verification certificate.
	//
	// VerificationCertificate is a required field
	VerificationCertificate *string `locationName:"verificationCertificate" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input to the RegisterCACertificate operation.

func (RegisterCACertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RegisterCACertificateInput) String

String returns the string representation

func (*RegisterCACertificateInput) Validate

func (s *RegisterCACertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterCACertificateOutput

type RegisterCACertificateOutput struct {

	// The CA certificate ARN.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The CA certificate identifier.
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`
	// contains filtered or unexported fields
}

The output from the RegisterCACertificateResponse operation.

func (RegisterCACertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RegisterCACertificateOutput) String

String returns the string representation

type RegisterCACertificateRequest

type RegisterCACertificateRequest struct {
	*aws.Request
	Input *RegisterCACertificateInput
	Copy  func(*RegisterCACertificateInput) RegisterCACertificateRequest
}

RegisterCACertificateRequest is the request type for the RegisterCACertificate API operation.

func (RegisterCACertificateRequest) Send

Send marshals and sends the RegisterCACertificate API request.

type RegisterCACertificateResponse

type RegisterCACertificateResponse struct {
	*RegisterCACertificateOutput
	// contains filtered or unexported fields
}

RegisterCACertificateResponse is the response type for the RegisterCACertificate API operation.

func (*RegisterCACertificateResponse) SDKResponseMetdata

func (r *RegisterCACertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterCACertificate request.

type RegisterCertificateInput

type RegisterCertificateInput struct {

	// The CA certificate used to sign the device certificate being registered.
	CaCertificatePem *string `locationName:"caCertificatePem" min:"1" type:"string"`

	// The certificate data, in PEM format.
	//
	// CertificatePem is a required field
	CertificatePem *string `locationName:"certificatePem" min:"1" type:"string" required:"true"`

	// A boolean value that specifies if the certificate is set to active.
	SetAsActive *bool `location:"querystring" locationName:"setAsActive" deprecated:"true" type:"boolean"`

	// The status of the register certificate request.
	Status CertificateStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The input to the RegisterCertificate operation.

func (RegisterCertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RegisterCertificateInput) String

func (s RegisterCertificateInput) String() string

String returns the string representation

func (*RegisterCertificateInput) Validate

func (s *RegisterCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterCertificateOutput

type RegisterCertificateOutput struct {

	// The certificate ARN.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The certificate identifier.
	CertificateId *string `locationName:"certificateId" min:"64" type:"string"`
	// contains filtered or unexported fields
}

The output from the RegisterCertificate operation.

func (RegisterCertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RegisterCertificateOutput) String

func (s RegisterCertificateOutput) String() string

String returns the string representation

type RegisterCertificateRequest

type RegisterCertificateRequest struct {
	*aws.Request
	Input *RegisterCertificateInput
	Copy  func(*RegisterCertificateInput) RegisterCertificateRequest
}

RegisterCertificateRequest is the request type for the RegisterCertificate API operation.

func (RegisterCertificateRequest) Send

Send marshals and sends the RegisterCertificate API request.

type RegisterCertificateResponse

type RegisterCertificateResponse struct {
	*RegisterCertificateOutput
	// contains filtered or unexported fields
}

RegisterCertificateResponse is the response type for the RegisterCertificate API operation.

func (*RegisterCertificateResponse) SDKResponseMetdata

func (r *RegisterCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterCertificate request.

type RegisterThingInput

type RegisterThingInput struct {

	// The parameters for provisioning a thing. See Programmatic Provisioning (https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html)
	// for more information.
	Parameters map[string]string `locationName:"parameters" type:"map"`

	// The provisioning template. See Programmatic Provisioning (https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html)
	// for more information.
	//
	// TemplateBody is a required field
	TemplateBody *string `locationName:"templateBody" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterThingInput) MarshalFields

func (s RegisterThingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RegisterThingInput) String

func (s RegisterThingInput) String() string

String returns the string representation

func (*RegisterThingInput) Validate

func (s *RegisterThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterThingOutput

type RegisterThingOutput struct {

	// .
	CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"`

	// ARNs for the generated resources.
	ResourceArns map[string]string `locationName:"resourceArns" type:"map"`
	// contains filtered or unexported fields
}

func (RegisterThingOutput) MarshalFields

func (s RegisterThingOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RegisterThingOutput) String

func (s RegisterThingOutput) String() string

String returns the string representation

type RegisterThingRequest

type RegisterThingRequest struct {
	*aws.Request
	Input *RegisterThingInput
	Copy  func(*RegisterThingInput) RegisterThingRequest
}

RegisterThingRequest is the request type for the RegisterThing API operation.

func (RegisterThingRequest) Send

Send marshals and sends the RegisterThing API request.

type RegisterThingResponse

type RegisterThingResponse struct {
	*RegisterThingOutput
	// contains filtered or unexported fields
}

RegisterThingResponse is the response type for the RegisterThing API operation.

func (*RegisterThingResponse) SDKResponseMetdata

func (r *RegisterThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterThing request.

type RegistrationConfig

type RegistrationConfig struct {

	// The ARN of the role.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The template body.
	TemplateBody *string `locationName:"templateBody" type:"string"`
	// contains filtered or unexported fields
}

The registration configuration.

func (RegistrationConfig) MarshalFields

func (s RegistrationConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RegistrationConfig) String

func (s RegistrationConfig) String() string

String returns the string representation

func (*RegistrationConfig) Validate

func (s *RegistrationConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RejectCertificateTransferInput

type RejectCertificateTransferInput struct {

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"`

	// The reason the certificate transfer was rejected.
	RejectReason *string `locationName:"rejectReason" type:"string"`
	// contains filtered or unexported fields
}

The input for the RejectCertificateTransfer operation.

func (RejectCertificateTransferInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RejectCertificateTransferInput) String

String returns the string representation

func (*RejectCertificateTransferInput) Validate

func (s *RejectCertificateTransferInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RejectCertificateTransferOutput

type RejectCertificateTransferOutput struct {
	// contains filtered or unexported fields
}

func (RejectCertificateTransferOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RejectCertificateTransferOutput) String

String returns the string representation

type RejectCertificateTransferRequest

type RejectCertificateTransferRequest struct {
	*aws.Request
	Input *RejectCertificateTransferInput
	Copy  func(*RejectCertificateTransferInput) RejectCertificateTransferRequest
}

RejectCertificateTransferRequest is the request type for the RejectCertificateTransfer API operation.

func (RejectCertificateTransferRequest) Send

Send marshals and sends the RejectCertificateTransfer API request.

type RejectCertificateTransferResponse

type RejectCertificateTransferResponse struct {
	*RejectCertificateTransferOutput
	// contains filtered or unexported fields
}

RejectCertificateTransferResponse is the response type for the RejectCertificateTransfer API operation.

func (*RejectCertificateTransferResponse) SDKResponseMetdata

func (r *RejectCertificateTransferResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RejectCertificateTransfer request.

type RelatedResource

type RelatedResource struct {

	// Other information about the resource.
	AdditionalInfo map[string]string `locationName:"additionalInfo" type:"map"`

	// Information that identifies the resource.
	ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"`

	// The type of resource.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about a related resource.

func (RelatedResource) MarshalFields

func (s RelatedResource) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RelatedResource) String

func (s RelatedResource) String() string

String returns the string representation

type RemoveThingFromBillingGroupInput

type RemoveThingFromBillingGroupInput struct {

	// The ARN of the billing group.
	BillingGroupArn *string `locationName:"billingGroupArn" type:"string"`

	// The name of the billing group.
	BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"`

	// The ARN of the thing to be removed from the billing group.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The name of the thing to be removed from the billing group.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (RemoveThingFromBillingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RemoveThingFromBillingGroupInput) String

String returns the string representation

func (*RemoveThingFromBillingGroupInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type RemoveThingFromBillingGroupOutput

type RemoveThingFromBillingGroupOutput struct {
	// contains filtered or unexported fields
}

func (RemoveThingFromBillingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RemoveThingFromBillingGroupOutput) String

String returns the string representation

type RemoveThingFromBillingGroupRequest

type RemoveThingFromBillingGroupRequest struct {
	*aws.Request
	Input *RemoveThingFromBillingGroupInput
	Copy  func(*RemoveThingFromBillingGroupInput) RemoveThingFromBillingGroupRequest
}

RemoveThingFromBillingGroupRequest is the request type for the RemoveThingFromBillingGroup API operation.

func (RemoveThingFromBillingGroupRequest) Send

Send marshals and sends the RemoveThingFromBillingGroup API request.

type RemoveThingFromBillingGroupResponse

type RemoveThingFromBillingGroupResponse struct {
	*RemoveThingFromBillingGroupOutput
	// contains filtered or unexported fields
}

RemoveThingFromBillingGroupResponse is the response type for the RemoveThingFromBillingGroup API operation.

func (*RemoveThingFromBillingGroupResponse) SDKResponseMetdata

func (r *RemoveThingFromBillingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RemoveThingFromBillingGroup request.

type RemoveThingFromThingGroupInput

type RemoveThingFromThingGroupInput struct {

	// The ARN of the thing to remove from the group.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The group ARN.
	ThingGroupArn *string `locationName:"thingGroupArn" type:"string"`

	// The group name.
	ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"`

	// The name of the thing to remove from the group.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (RemoveThingFromThingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RemoveThingFromThingGroupInput) String

String returns the string representation

func (*RemoveThingFromThingGroupInput) Validate

func (s *RemoveThingFromThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RemoveThingFromThingGroupOutput

type RemoveThingFromThingGroupOutput struct {
	// contains filtered or unexported fields
}

func (RemoveThingFromThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RemoveThingFromThingGroupOutput) String

String returns the string representation

type RemoveThingFromThingGroupRequest

type RemoveThingFromThingGroupRequest struct {
	*aws.Request
	Input *RemoveThingFromThingGroupInput
	Copy  func(*RemoveThingFromThingGroupInput) RemoveThingFromThingGroupRequest
}

RemoveThingFromThingGroupRequest is the request type for the RemoveThingFromThingGroup API operation.

func (RemoveThingFromThingGroupRequest) Send

Send marshals and sends the RemoveThingFromThingGroup API request.

type RemoveThingFromThingGroupResponse

type RemoveThingFromThingGroupResponse struct {
	*RemoveThingFromThingGroupOutput
	// contains filtered or unexported fields
}

RemoveThingFromThingGroupResponse is the response type for the RemoveThingFromThingGroup API operation.

func (*RemoveThingFromThingGroupResponse) SDKResponseMetdata

func (r *RemoveThingFromThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RemoveThingFromThingGroup request.

type ReplaceDefaultPolicyVersionParams

type ReplaceDefaultPolicyVersionParams struct {

	// The name of the template to be applied. The only supported value is BLANK_POLICY.
	//
	// TemplateName is a required field
	TemplateName PolicyTemplateName `locationName:"templateName" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Parameters to define a mitigation action that adds a blank policy to restrict permissions.

func (ReplaceDefaultPolicyVersionParams) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ReplaceDefaultPolicyVersionParams) String

String returns the string representation

func (*ReplaceDefaultPolicyVersionParams) Validate

Validate inspects the fields of the type to determine if they are valid.

type ReplaceTopicRuleInput

type ReplaceTopicRuleInput struct {

	// The name of the rule.
	//
	// RuleName is a required field
	RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"`

	// The rule payload.
	//
	// TopicRulePayload is a required field
	TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The input for the ReplaceTopicRule operation.

func (ReplaceTopicRuleInput) MarshalFields

func (s ReplaceTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ReplaceTopicRuleInput) String

func (s ReplaceTopicRuleInput) String() string

String returns the string representation

func (*ReplaceTopicRuleInput) Validate

func (s *ReplaceTopicRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplaceTopicRuleOutput

type ReplaceTopicRuleOutput struct {
	// contains filtered or unexported fields
}

func (ReplaceTopicRuleOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ReplaceTopicRuleOutput) String

func (s ReplaceTopicRuleOutput) String() string

String returns the string representation

type ReplaceTopicRuleRequest

type ReplaceTopicRuleRequest struct {
	*aws.Request
	Input *ReplaceTopicRuleInput
	Copy  func(*ReplaceTopicRuleInput) ReplaceTopicRuleRequest
}

ReplaceTopicRuleRequest is the request type for the ReplaceTopicRule API operation.

func (ReplaceTopicRuleRequest) Send

Send marshals and sends the ReplaceTopicRule API request.

type ReplaceTopicRuleResponse

type ReplaceTopicRuleResponse struct {
	*ReplaceTopicRuleOutput
	// contains filtered or unexported fields
}

ReplaceTopicRuleResponse is the response type for the ReplaceTopicRule API operation.

func (*ReplaceTopicRuleResponse) SDKResponseMetdata

func (r *ReplaceTopicRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ReplaceTopicRule request.

type ReportType

type ReportType string
const (
	ReportTypeErrors  ReportType = "ERRORS"
	ReportTypeResults ReportType = "RESULTS"
)

Enum values for ReportType

func (ReportType) MarshalValue

func (enum ReportType) MarshalValue() (string, error)

func (ReportType) MarshalValueBuf

func (enum ReportType) MarshalValueBuf(b []byte) ([]byte, error)

type RepublishAction

type RepublishAction struct {

	// The Quality of Service (QoS) level to use when republishing messages.
	Qos *int64 `locationName:"qos" type:"integer"`

	// The ARN of the IAM role that grants access.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The name of the MQTT topic.
	//
	// Topic is a required field
	Topic *string `locationName:"topic" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to republish to another topic.

func (RepublishAction) MarshalFields

func (s RepublishAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RepublishAction) String

func (s RepublishAction) String() string

String returns the string representation

func (*RepublishAction) Validate

func (s *RepublishAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceIdentifier

type ResourceIdentifier struct {

	// The account with which the resource is associated.
	Account *string `locationName:"account" min:"12" type:"string"`

	// The ID of the CA certificate used to authorize the certificate.
	CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"`

	// The client ID.
	ClientId *string `locationName:"clientId" type:"string"`

	// The ID of the Amazon Cognito identity pool.
	CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"`

	// The ID of the certificate attached to the resource.
	DeviceCertificateId *string `locationName:"deviceCertificateId" min:"64" type:"string"`

	// The version of the policy associated with the resource.
	PolicyVersionIdentifier *PolicyVersionIdentifier `locationName:"policyVersionIdentifier" type:"structure"`
	// contains filtered or unexported fields
}

Information that identifies the noncompliant resource.

func (ResourceIdentifier) MarshalFields

func (s ResourceIdentifier) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ResourceIdentifier) String

func (s ResourceIdentifier) String() string

String returns the string representation

func (*ResourceIdentifier) Validate

func (s *ResourceIdentifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceType

type ResourceType string
const (
	ResourceTypeDeviceCertificate   ResourceType = "DEVICE_CERTIFICATE"
	ResourceTypeCaCertificate       ResourceType = "CA_CERTIFICATE"
	ResourceTypeIotPolicy           ResourceType = "IOT_POLICY"
	ResourceTypeCognitoIdentityPool ResourceType = "COGNITO_IDENTITY_POOL"
	ResourceTypeClientId            ResourceType = "CLIENT_ID"
	ResourceTypeAccountSettings     ResourceType = "ACCOUNT_SETTINGS"
)

Enum values for ResourceType

func (ResourceType) MarshalValue

func (enum ResourceType) MarshalValue() (string, error)

func (ResourceType) MarshalValueBuf

func (enum ResourceType) MarshalValueBuf(b []byte) ([]byte, error)

type RoleAliasDescription

type RoleAliasDescription struct {

	// The UNIX timestamp of when the role alias was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The number of seconds for which the credential is valid.
	CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"`

	// The UNIX timestamp of when the role alias was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The role alias owner.
	Owner *string `locationName:"owner" min:"12" type:"string"`

	// The role alias.
	RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"`

	// The ARN of the role alias.
	RoleAliasArn *string `locationName:"roleAliasArn" type:"string"`

	// The role ARN.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Role alias description.

func (RoleAliasDescription) MarshalFields

func (s RoleAliasDescription) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (RoleAliasDescription) String

func (s RoleAliasDescription) String() string

String returns the string representation

type S3Action

type S3Action struct {

	// The Amazon S3 bucket.
	//
	// BucketName is a required field
	BucketName *string `locationName:"bucketName" type:"string" required:"true"`

	// The Amazon S3 canned ACL that controls access to the object identified by
	// the object key. For more information, see S3 canned ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl).
	CannedAcl CannedAccessControlList `locationName:"cannedAcl" type:"string" enum:"true"`

	// The object key.
	//
	// Key is a required field
	Key *string `locationName:"key" type:"string" required:"true"`

	// The ARN of the IAM role that grants access.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to write data to an Amazon S3 bucket.

func (S3Action) MarshalFields

func (s S3Action) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3Action) String

func (s S3Action) String() string

String returns the string representation

func (*S3Action) Validate

func (s *S3Action) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3Destination

type S3Destination struct {

	// The S3 bucket that contains the updated firmware.
	Bucket *string `locationName:"bucket" min:"1" type:"string"`

	// The S3 prefix.
	Prefix *string `locationName:"prefix" type:"string"`
	// contains filtered or unexported fields
}

Describes the location of updated firmware in S3.

func (S3Destination) MarshalFields

func (s S3Destination) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3Destination) String

func (s S3Destination) String() string

String returns the string representation

func (*S3Destination) Validate

func (s *S3Destination) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type S3Location

type S3Location struct {

	// The S3 bucket.
	Bucket *string `locationName:"bucket" min:"1" type:"string"`

	// The S3 key.
	Key *string `locationName:"key" min:"1" type:"string"`

	// The S3 bucket version.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

The S3 location.

func (S3Location) MarshalFields

func (s S3Location) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (S3Location) String

func (s S3Location) String() string

String returns the string representation

func (*S3Location) Validate

func (s *S3Location) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SalesforceAction

type SalesforceAction struct {

	// The token used to authenticate access to the Salesforce IoT Cloud Input Stream.
	// The token is available from the Salesforce IoT Cloud platform after creation
	// of the Input Stream.
	//
	// Token is a required field
	Token *string `locationName:"token" min:"40" type:"string" required:"true"`

	// The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available
	// from the Salesforce IoT Cloud platform after creation of the Input Stream.
	//
	// Url is a required field
	Url *string `locationName:"url" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to write a message to a Salesforce IoT Cloud Input Stream.

func (SalesforceAction) MarshalFields

func (s SalesforceAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SalesforceAction) String

func (s SalesforceAction) String() string

String returns the string representation

func (*SalesforceAction) Validate

func (s *SalesforceAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ScheduledAuditMetadata

type ScheduledAuditMetadata struct {

	// The day of the month on which the scheduled audit is run (if the frequency
	// is "MONTHLY"). If days 29-31 are specified, and the month does not have that
	// many days, the audit takes place on the "LAST" day of the month.
	DayOfMonth *string `locationName:"dayOfMonth" type:"string"`

	// The day of the week on which the scheduled audit is run (if the frequency
	// is "WEEKLY" or "BIWEEKLY").
	DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"`

	// How often the scheduled audit occurs.
	Frequency AuditFrequency `locationName:"frequency" type:"string" enum:"true"`

	// The ARN of the scheduled audit.
	ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"`

	// The name of the scheduled audit.
	ScheduledAuditName *string `locationName:"scheduledAuditName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about the scheduled audit.

func (ScheduledAuditMetadata) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ScheduledAuditMetadata) String

func (s ScheduledAuditMetadata) String() string

String returns the string representation

type SearchIndexInput

type SearchIndexInput struct {

	// The search index name.
	IndexName *string `locationName:"indexName" min:"1" type:"string"`

	// The maximum number of results to return at one time.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The search query string.
	//
	// QueryString is a required field
	QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"`

	// The query version.
	QueryVersion *string `locationName:"queryVersion" type:"string"`
	// contains filtered or unexported fields
}

func (SearchIndexInput) MarshalFields

func (s SearchIndexInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SearchIndexInput) String

func (s SearchIndexInput) String() string

String returns the string representation

func (*SearchIndexInput) Validate

func (s *SearchIndexInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SearchIndexOutput

type SearchIndexOutput struct {

	// The token used to get the next set of results, or null if there are no additional
	// results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The thing groups that match the search query.
	ThingGroups []ThingGroupDocument `locationName:"thingGroups" type:"list"`

	// The things that match the search query.
	Things []ThingDocument `locationName:"things" type:"list"`
	// contains filtered or unexported fields
}

func (SearchIndexOutput) MarshalFields

func (s SearchIndexOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SearchIndexOutput) String

func (s SearchIndexOutput) String() string

String returns the string representation

type SearchIndexRequest

type SearchIndexRequest struct {
	*aws.Request
	Input *SearchIndexInput
	Copy  func(*SearchIndexInput) SearchIndexRequest
}

SearchIndexRequest is the request type for the SearchIndex API operation.

func (SearchIndexRequest) Send

Send marshals and sends the SearchIndex API request.

type SearchIndexResponse

type SearchIndexResponse struct {
	*SearchIndexOutput
	// contains filtered or unexported fields
}

SearchIndexResponse is the response type for the SearchIndex API operation.

func (*SearchIndexResponse) SDKResponseMetdata

func (r *SearchIndexResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SearchIndex request.

type SecurityProfileIdentifier

type SecurityProfileIdentifier struct {

	// The ARN of the security profile.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`

	// The name you have given to the security profile.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Identifying information for a Device Defender security profile.

func (SecurityProfileIdentifier) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SecurityProfileIdentifier) String

func (s SecurityProfileIdentifier) String() string

String returns the string representation

type SecurityProfileTarget

type SecurityProfileTarget struct {

	// The ARN of the security profile.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A target to which an alert is sent when a security profile behavior is violated.

func (SecurityProfileTarget) MarshalFields

func (s SecurityProfileTarget) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SecurityProfileTarget) String

func (s SecurityProfileTarget) String() string

String returns the string representation

type SecurityProfileTargetMapping

type SecurityProfileTargetMapping struct {

	// Information that identifies the security profile.
	SecurityProfileIdentifier *SecurityProfileIdentifier `locationName:"securityProfileIdentifier" type:"structure"`

	// Information about the target (thing group) associated with the security profile.
	Target *SecurityProfileTarget `locationName:"target" type:"structure"`
	// contains filtered or unexported fields
}

Information about a security profile and the target associated with it.

func (SecurityProfileTargetMapping) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SecurityProfileTargetMapping) String

String returns the string representation

type SetDefaultAuthorizerInput

type SetDefaultAuthorizerInput struct {

	// The authorizer name.
	//
	// AuthorizerName is a required field
	AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetDefaultAuthorizerInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetDefaultAuthorizerInput) String

func (s SetDefaultAuthorizerInput) String() string

String returns the string representation

func (*SetDefaultAuthorizerInput) Validate

func (s *SetDefaultAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetDefaultAuthorizerOutput

type SetDefaultAuthorizerOutput struct {

	// The authorizer ARN.
	AuthorizerArn *string `locationName:"authorizerArn" type:"string"`

	// The authorizer name.
	AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (SetDefaultAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetDefaultAuthorizerOutput) String

String returns the string representation

type SetDefaultAuthorizerRequest

type SetDefaultAuthorizerRequest struct {
	*aws.Request
	Input *SetDefaultAuthorizerInput
	Copy  func(*SetDefaultAuthorizerInput) SetDefaultAuthorizerRequest
}

SetDefaultAuthorizerRequest is the request type for the SetDefaultAuthorizer API operation.

func (SetDefaultAuthorizerRequest) Send

Send marshals and sends the SetDefaultAuthorizer API request.

type SetDefaultAuthorizerResponse

type SetDefaultAuthorizerResponse struct {
	*SetDefaultAuthorizerOutput
	// contains filtered or unexported fields
}

SetDefaultAuthorizerResponse is the response type for the SetDefaultAuthorizer API operation.

func (*SetDefaultAuthorizerResponse) SDKResponseMetdata

func (r *SetDefaultAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetDefaultAuthorizer request.

type SetDefaultPolicyVersionInput

type SetDefaultPolicyVersionInput struct {

	// The policy name.
	//
	// PolicyName is a required field
	PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"`

	// The policy version ID.
	//
	// PolicyVersionId is a required field
	PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the SetDefaultPolicyVersion operation.

func (SetDefaultPolicyVersionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetDefaultPolicyVersionInput) String

String returns the string representation

func (*SetDefaultPolicyVersionInput) Validate

func (s *SetDefaultPolicyVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetDefaultPolicyVersionOutput

type SetDefaultPolicyVersionOutput struct {
	// contains filtered or unexported fields
}

func (SetDefaultPolicyVersionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetDefaultPolicyVersionOutput) String

String returns the string representation

type SetDefaultPolicyVersionRequest

type SetDefaultPolicyVersionRequest struct {
	*aws.Request
	Input *SetDefaultPolicyVersionInput
	Copy  func(*SetDefaultPolicyVersionInput) SetDefaultPolicyVersionRequest
}

SetDefaultPolicyVersionRequest is the request type for the SetDefaultPolicyVersion API operation.

func (SetDefaultPolicyVersionRequest) Send

Send marshals and sends the SetDefaultPolicyVersion API request.

type SetDefaultPolicyVersionResponse

type SetDefaultPolicyVersionResponse struct {
	*SetDefaultPolicyVersionOutput
	// contains filtered or unexported fields
}

SetDefaultPolicyVersionResponse is the response type for the SetDefaultPolicyVersion API operation.

func (*SetDefaultPolicyVersionResponse) SDKResponseMetdata

func (r *SetDefaultPolicyVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetDefaultPolicyVersion request.

type SetLoggingOptionsInput

type SetLoggingOptionsInput struct {

	// The logging options payload.
	//
	// LoggingOptionsPayload is a required field
	LoggingOptionsPayload *LoggingOptionsPayload `locationName:"loggingOptionsPayload" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The input for the SetLoggingOptions operation.

func (SetLoggingOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetLoggingOptionsInput) String

func (s SetLoggingOptionsInput) String() string

String returns the string representation

func (*SetLoggingOptionsInput) Validate

func (s *SetLoggingOptionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetLoggingOptionsOutput

type SetLoggingOptionsOutput struct {
	// contains filtered or unexported fields
}

func (SetLoggingOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetLoggingOptionsOutput) String

func (s SetLoggingOptionsOutput) String() string

String returns the string representation

type SetLoggingOptionsRequest

type SetLoggingOptionsRequest struct {
	*aws.Request
	Input *SetLoggingOptionsInput
	Copy  func(*SetLoggingOptionsInput) SetLoggingOptionsRequest
}

SetLoggingOptionsRequest is the request type for the SetLoggingOptions API operation.

func (SetLoggingOptionsRequest) Send

Send marshals and sends the SetLoggingOptions API request.

type SetLoggingOptionsResponse

type SetLoggingOptionsResponse struct {
	*SetLoggingOptionsOutput
	// contains filtered or unexported fields
}

SetLoggingOptionsResponse is the response type for the SetLoggingOptions API operation.

func (*SetLoggingOptionsResponse) SDKResponseMetdata

func (r *SetLoggingOptionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetLoggingOptions request.

type SetV2LoggingLevelInput

type SetV2LoggingLevelInput struct {

	// The log level.
	//
	// LogLevel is a required field
	LogLevel LogLevel `locationName:"logLevel" type:"string" required:"true" enum:"true"`

	// The log target.
	//
	// LogTarget is a required field
	LogTarget *LogTarget `locationName:"logTarget" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (SetV2LoggingLevelInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetV2LoggingLevelInput) String

func (s SetV2LoggingLevelInput) String() string

String returns the string representation

func (*SetV2LoggingLevelInput) Validate

func (s *SetV2LoggingLevelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetV2LoggingLevelOutput

type SetV2LoggingLevelOutput struct {
	// contains filtered or unexported fields
}

func (SetV2LoggingLevelOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetV2LoggingLevelOutput) String

func (s SetV2LoggingLevelOutput) String() string

String returns the string representation

type SetV2LoggingLevelRequest

type SetV2LoggingLevelRequest struct {
	*aws.Request
	Input *SetV2LoggingLevelInput
	Copy  func(*SetV2LoggingLevelInput) SetV2LoggingLevelRequest
}

SetV2LoggingLevelRequest is the request type for the SetV2LoggingLevel API operation.

func (SetV2LoggingLevelRequest) Send

Send marshals and sends the SetV2LoggingLevel API request.

type SetV2LoggingLevelResponse

type SetV2LoggingLevelResponse struct {
	*SetV2LoggingLevelOutput
	// contains filtered or unexported fields
}

SetV2LoggingLevelResponse is the response type for the SetV2LoggingLevel API operation.

func (*SetV2LoggingLevelResponse) SDKResponseMetdata

func (r *SetV2LoggingLevelResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetV2LoggingLevel request.

type SetV2LoggingOptionsInput

type SetV2LoggingOptionsInput struct {

	// The default logging level.
	DefaultLogLevel LogLevel `locationName:"defaultLogLevel" type:"string" enum:"true"`

	// If true all logs are disabled. The default is false.
	DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"`

	// The ARN of the role that allows IoT to write to Cloudwatch logs.
	RoleArn *string `locationName:"roleArn" type:"string"`
	// contains filtered or unexported fields
}

func (SetV2LoggingOptionsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetV2LoggingOptionsInput) String

func (s SetV2LoggingOptionsInput) String() string

String returns the string representation

type SetV2LoggingOptionsOutput

type SetV2LoggingOptionsOutput struct {
	// contains filtered or unexported fields
}

func (SetV2LoggingOptionsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SetV2LoggingOptionsOutput) String

func (s SetV2LoggingOptionsOutput) String() string

String returns the string representation

type SetV2LoggingOptionsRequest

type SetV2LoggingOptionsRequest struct {
	*aws.Request
	Input *SetV2LoggingOptionsInput
	Copy  func(*SetV2LoggingOptionsInput) SetV2LoggingOptionsRequest
}

SetV2LoggingOptionsRequest is the request type for the SetV2LoggingOptions API operation.

func (SetV2LoggingOptionsRequest) Send

Send marshals and sends the SetV2LoggingOptions API request.

type SetV2LoggingOptionsResponse

type SetV2LoggingOptionsResponse struct {
	*SetV2LoggingOptionsOutput
	// contains filtered or unexported fields
}

SetV2LoggingOptionsResponse is the response type for the SetV2LoggingOptions API operation.

func (*SetV2LoggingOptionsResponse) SDKResponseMetdata

func (r *SetV2LoggingOptionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetV2LoggingOptions request.

type SigningProfileParameter

type SigningProfileParameter struct {

	// Certificate ARN.
	CertificateArn *string `locationName:"certificateArn" type:"string"`

	// The location of the code-signing certificate on your device.
	CertificatePathOnDevice *string `locationName:"certificatePathOnDevice" type:"string"`

	// The hardware platform of your device.
	Platform *string `locationName:"platform" type:"string"`
	// contains filtered or unexported fields
}

Describes the code-signing profile.

func (SigningProfileParameter) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SigningProfileParameter) String

func (s SigningProfileParameter) String() string

String returns the string representation

type SnsAction

type SnsAction struct {

	// (Optional) The message format of the message to publish. Accepted values
	// are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses
	// this setting to determine if the payload should be parsed and relevant platform-specific
	// bits of the payload should be extracted. To read more about SNS message formats,
	// see https://docs.aws.amazon.com/sns/latest/dg/json-formats.html (https://docs.aws.amazon.com/sns/latest/dg/json-formats.html)
	// refer to their official documentation.
	MessageFormat MessageFormat `locationName:"messageFormat" type:"string" enum:"true"`

	// The ARN of the IAM role that grants access.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The ARN of the SNS topic.
	//
	// TargetArn is a required field
	TargetArn *string `locationName:"targetArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an action to publish to an Amazon SNS topic.

func (SnsAction) MarshalFields

func (s SnsAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SnsAction) String

func (s SnsAction) String() string

String returns the string representation

func (*SnsAction) Validate

func (s *SnsAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SqsAction

type SqsAction struct {

	// The URL of the Amazon SQS queue.
	//
	// QueueUrl is a required field
	QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"`

	// The ARN of the IAM role that grants access.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// Specifies whether to use Base64 encoding.
	UseBase64 *bool `locationName:"useBase64" type:"boolean"`
	// contains filtered or unexported fields
}

Describes an action to publish data to an Amazon SQS queue.

func (SqsAction) MarshalFields

func (s SqsAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SqsAction) String

func (s SqsAction) String() string

String returns the string representation

func (*SqsAction) Validate

func (s *SqsAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartAuditMitigationActionsTaskInput

type StartAuditMitigationActionsTaskInput struct {

	// For an audit check, specifies which mitigation actions to apply. Those actions
	// must be defined in your AWS account.
	//
	// AuditCheckToActionsMapping is a required field
	AuditCheckToActionsMapping map[string][]string `locationName:"auditCheckToActionsMapping" type:"map" required:"true"`

	// Each audit mitigation task must have a unique client request token. If you
	// try to start a new task with the same token as a task that already exists,
	// an exception occurs. If you omit this value, a unique client request token
	// is generated automatically.
	//
	// ClientRequestToken is a required field
	ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" required:"true" idempotencyToken:"true"`

	// Specifies the audit findings to which the mitigation actions are applied.
	// You can apply them to a type of audit check, to all findings from an audit,
	// or to a speecific set of findings.
	//
	// Target is a required field
	Target *AuditMitigationActionsTaskTarget `locationName:"target" type:"structure" required:"true"`

	// A unique identifier for the task. You can use this identifier to check the
	// status of the task or to cancel it.
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartAuditMitigationActionsTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartAuditMitigationActionsTaskInput) String

String returns the string representation

func (*StartAuditMitigationActionsTaskInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type StartAuditMitigationActionsTaskOutput

type StartAuditMitigationActionsTaskOutput struct {

	// The unique identifier for the audit mitigation task. This matches the taskId
	// that you specified in the request.
	TaskId *string `locationName:"taskId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (StartAuditMitigationActionsTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartAuditMitigationActionsTaskOutput) String

String returns the string representation

type StartAuditMitigationActionsTaskRequest

type StartAuditMitigationActionsTaskRequest struct {
	*aws.Request
	Input *StartAuditMitigationActionsTaskInput
	Copy  func(*StartAuditMitigationActionsTaskInput) StartAuditMitigationActionsTaskRequest
}

StartAuditMitigationActionsTaskRequest is the request type for the StartAuditMitigationActionsTask API operation.

func (StartAuditMitigationActionsTaskRequest) Send

Send marshals and sends the StartAuditMitigationActionsTask API request.

type StartAuditMitigationActionsTaskResponse

type StartAuditMitigationActionsTaskResponse struct {
	*StartAuditMitigationActionsTaskOutput
	// contains filtered or unexported fields
}

StartAuditMitigationActionsTaskResponse is the response type for the StartAuditMitigationActionsTask API operation.

func (*StartAuditMitigationActionsTaskResponse) SDKResponseMetdata

func (r *StartAuditMitigationActionsTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartAuditMitigationActionsTask request.

type StartOnDemandAuditTaskInput

type StartOnDemandAuditTaskInput struct {

	// Which checks are performed during the audit. The checks you specify must
	// be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration
	// to see the list of all checks, including those that are enabled or UpdateAccountAuditConfiguration
	// to select which checks are enabled.
	//
	// TargetCheckNames is a required field
	TargetCheckNames []string `locationName:"targetCheckNames" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (StartOnDemandAuditTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartOnDemandAuditTaskInput) String

String returns the string representation

func (*StartOnDemandAuditTaskInput) Validate

func (s *StartOnDemandAuditTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartOnDemandAuditTaskOutput

type StartOnDemandAuditTaskOutput struct {

	// The ID of the on-demand audit you started.
	TaskId *string `locationName:"taskId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (StartOnDemandAuditTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartOnDemandAuditTaskOutput) String

String returns the string representation

type StartOnDemandAuditTaskRequest

type StartOnDemandAuditTaskRequest struct {
	*aws.Request
	Input *StartOnDemandAuditTaskInput
	Copy  func(*StartOnDemandAuditTaskInput) StartOnDemandAuditTaskRequest
}

StartOnDemandAuditTaskRequest is the request type for the StartOnDemandAuditTask API operation.

func (StartOnDemandAuditTaskRequest) Send

Send marshals and sends the StartOnDemandAuditTask API request.

type StartOnDemandAuditTaskResponse

type StartOnDemandAuditTaskResponse struct {
	*StartOnDemandAuditTaskOutput
	// contains filtered or unexported fields
}

StartOnDemandAuditTaskResponse is the response type for the StartOnDemandAuditTask API operation.

func (*StartOnDemandAuditTaskResponse) SDKResponseMetdata

func (r *StartOnDemandAuditTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartOnDemandAuditTask request.

type StartSigningJobParameter

type StartSigningJobParameter struct {

	// The location to write the code-signed file.
	Destination *Destination `locationName:"destination" type:"structure"`

	// The code-signing profile name.
	SigningProfileName *string `locationName:"signingProfileName" type:"string"`

	// Describes the code-signing profile.
	SigningProfileParameter *SigningProfileParameter `locationName:"signingProfileParameter" type:"structure"`
	// contains filtered or unexported fields
}

Information required to start a signing job.

func (StartSigningJobParameter) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartSigningJobParameter) String

func (s StartSigningJobParameter) String() string

String returns the string representation

func (*StartSigningJobParameter) Validate

func (s *StartSigningJobParameter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartThingRegistrationTaskInput

type StartThingRegistrationTaskInput struct {

	// The S3 bucket that contains the input file.
	//
	// InputFileBucket is a required field
	InputFileBucket *string `locationName:"inputFileBucket" min:"3" type:"string" required:"true"`

	// The name of input file within the S3 bucket. This file contains a newline
	// delimited JSON file. Each line contains the parameter values to provision
	// one device (thing).
	//
	// InputFileKey is a required field
	InputFileKey *string `locationName:"inputFileKey" min:"1" type:"string" required:"true"`

	// The IAM role ARN that grants permission the input file.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"`

	// The provisioning template.
	//
	// TemplateBody is a required field
	TemplateBody *string `locationName:"templateBody" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartThingRegistrationTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartThingRegistrationTaskInput) String

String returns the string representation

func (*StartThingRegistrationTaskInput) Validate

func (s *StartThingRegistrationTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartThingRegistrationTaskOutput

type StartThingRegistrationTaskOutput struct {

	// The bulk thing provisioning task ID.
	TaskId *string `locationName:"taskId" type:"string"`
	// contains filtered or unexported fields
}

func (StartThingRegistrationTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartThingRegistrationTaskOutput) String

String returns the string representation

type StartThingRegistrationTaskRequest

type StartThingRegistrationTaskRequest struct {
	*aws.Request
	Input *StartThingRegistrationTaskInput
	Copy  func(*StartThingRegistrationTaskInput) StartThingRegistrationTaskRequest
}

StartThingRegistrationTaskRequest is the request type for the StartThingRegistrationTask API operation.

func (StartThingRegistrationTaskRequest) Send

Send marshals and sends the StartThingRegistrationTask API request.

type StartThingRegistrationTaskResponse

type StartThingRegistrationTaskResponse struct {
	*StartThingRegistrationTaskOutput
	// contains filtered or unexported fields
}

StartThingRegistrationTaskResponse is the response type for the StartThingRegistrationTask API operation.

func (*StartThingRegistrationTaskResponse) SDKResponseMetdata

func (r *StartThingRegistrationTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartThingRegistrationTask request.

type StatisticalThreshold

type StatisticalThreshold struct {

	// The percentile which resolves to a threshold value by which compliance with
	// a behavior is determined. Metrics are collected over the specified period
	// (durationSeconds) from all reporting devices in your account and statistical
	// ranks are calculated. Then, the measurements from a device are collected
	// over the same period. If the accumulated measurements from the device fall
	// above or below (comparisonOperator) the value associated with the percentile
	// specified, then the device is considered to be in compliance with the behavior,
	// otherwise a violation occurs.
	Statistic *string `locationName:"statistic" type:"string"`
	// contains filtered or unexported fields
}

A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.

func (StatisticalThreshold) MarshalFields

func (s StatisticalThreshold) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StatisticalThreshold) String

func (s StatisticalThreshold) String() string

String returns the string representation

type Statistics

type Statistics struct {

	// The count of things that match the query.
	Count *int64 `locationName:"count" type:"integer"`
	// contains filtered or unexported fields
}

A map of key-value pairs for all supported statistics. Currently, only count is supported.

func (Statistics) MarshalFields

func (s Statistics) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Statistics) String

func (s Statistics) String() string

String returns the string representation

type Status

type Status string
const (
	StatusInProgress Status = "InProgress"
	StatusCompleted  Status = "Completed"
	StatusFailed     Status = "Failed"
	StatusCancelled  Status = "Cancelled"
	StatusCancelling Status = "Cancelling"
)

Enum values for Status

func (Status) MarshalValue

func (enum Status) MarshalValue() (string, error)

func (Status) MarshalValueBuf

func (enum Status) MarshalValueBuf(b []byte) ([]byte, error)

type StepFunctionsAction

type StepFunctionsAction struct {

	// (Optional) A name will be given to the state machine execution consisting
	// of this prefix followed by a UUID. Step Functions automatically creates a
	// unique name for each state machine execution if one is not provided.
	ExecutionNamePrefix *string `locationName:"executionNamePrefix" type:"string"`

	// The ARN of the role that grants IoT permission to start execution of a state
	// machine ("Action":"states:StartExecution").
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`

	// The name of the Step Functions state machine whose execution will be started.
	//
	// StateMachineName is a required field
	StateMachineName *string `locationName:"stateMachineName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Starts execution of a Step Functions state machine.

func (StepFunctionsAction) MarshalFields

func (s StepFunctionsAction) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StepFunctionsAction) String

func (s StepFunctionsAction) String() string

String returns the string representation

func (*StepFunctionsAction) Validate

func (s *StepFunctionsAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopThingRegistrationTaskInput

type StopThingRegistrationTaskInput struct {

	// The bulk thing provisioning task ID.
	//
	// TaskId is a required field
	TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopThingRegistrationTaskInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopThingRegistrationTaskInput) String

String returns the string representation

func (*StopThingRegistrationTaskInput) Validate

func (s *StopThingRegistrationTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopThingRegistrationTaskOutput

type StopThingRegistrationTaskOutput struct {
	// contains filtered or unexported fields
}

func (StopThingRegistrationTaskOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopThingRegistrationTaskOutput) String

String returns the string representation

type StopThingRegistrationTaskRequest

type StopThingRegistrationTaskRequest struct {
	*aws.Request
	Input *StopThingRegistrationTaskInput
	Copy  func(*StopThingRegistrationTaskInput) StopThingRegistrationTaskRequest
}

StopThingRegistrationTaskRequest is the request type for the StopThingRegistrationTask API operation.

func (StopThingRegistrationTaskRequest) Send

Send marshals and sends the StopThingRegistrationTask API request.

type StopThingRegistrationTaskResponse

type StopThingRegistrationTaskResponse struct {
	*StopThingRegistrationTaskOutput
	// contains filtered or unexported fields
}

StopThingRegistrationTaskResponse is the response type for the StopThingRegistrationTask API operation.

func (*StopThingRegistrationTaskResponse) SDKResponseMetdata

func (r *StopThingRegistrationTaskResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopThingRegistrationTask request.

type Stream

type Stream struct {

	// The ID of a file associated with a stream.
	FileId *int64 `locationName:"fileId" type:"integer"`

	// The stream ID.
	StreamId *string `locationName:"streamId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes a group of files that can be streamed.

func (Stream) MarshalFields

func (s Stream) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Stream) String

func (s Stream) String() string

String returns the string representation

func (*Stream) Validate

func (s *Stream) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StreamFile

type StreamFile struct {

	// The file ID.
	FileId *int64 `locationName:"fileId" type:"integer"`

	// The location of the file in S3.
	S3Location *S3Location `locationName:"s3Location" type:"structure"`
	// contains filtered or unexported fields
}

Represents a file to stream.

func (StreamFile) MarshalFields

func (s StreamFile) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StreamFile) String

func (s StreamFile) String() string

String returns the string representation

func (*StreamFile) Validate

func (s *StreamFile) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StreamInfo

type StreamInfo struct {

	// The date when the stream was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The description of the stream.
	Description *string `locationName:"description" type:"string"`

	// The files to stream.
	Files []StreamFile `locationName:"files" min:"1" type:"list"`

	// The date when the stream was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`

	// An IAM role AWS IoT assumes to access your S3 files.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The stream ARN.
	StreamArn *string `locationName:"streamArn" type:"string"`

	// The stream ID.
	StreamId *string `locationName:"streamId" min:"1" type:"string"`

	// The stream version.
	StreamVersion *int64 `locationName:"streamVersion" type:"integer"`
	// contains filtered or unexported fields
}

Information about a stream.

func (StreamInfo) MarshalFields

func (s StreamInfo) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StreamInfo) String

func (s StreamInfo) String() string

String returns the string representation

type StreamSummary

type StreamSummary struct {

	// A description of the stream.
	Description *string `locationName:"description" type:"string"`

	// The stream ARN.
	StreamArn *string `locationName:"streamArn" type:"string"`

	// The stream ID.
	StreamId *string `locationName:"streamId" min:"1" type:"string"`

	// The stream version.
	StreamVersion *int64 `locationName:"streamVersion" type:"integer"`
	// contains filtered or unexported fields
}

A summary of a stream.

func (StreamSummary) MarshalFields

func (s StreamSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StreamSummary) String

func (s StreamSummary) String() string

String returns the string representation

type Tag

type Tag struct {

	// The tag's key.
	Key *string `type:"string"`

	// The tag's value.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A set of key/value pairs that are used to manage the resource.

func (Tag) MarshalFields

func (s Tag) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// The new or modified tags for the resource.
	//
	// Tags is a required field
	Tags []Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type TargetSelection

type TargetSelection string
const (
	TargetSelectionContinuous TargetSelection = "CONTINUOUS"
	TargetSelectionSnapshot   TargetSelection = "SNAPSHOT"
)

Enum values for TargetSelection

func (TargetSelection) MarshalValue

func (enum TargetSelection) MarshalValue() (string, error)

func (TargetSelection) MarshalValueBuf

func (enum TargetSelection) MarshalValueBuf(b []byte) ([]byte, error)

type TaskStatistics

type TaskStatistics struct {

	// The number of checks that did not run because the audit was canceled.
	CanceledChecks *int64 `locationName:"canceledChecks" type:"integer"`

	// The number of checks that found compliant resources.
	CompliantChecks *int64 `locationName:"compliantChecks" type:"integer"`

	// The number of checks.
	FailedChecks *int64 `locationName:"failedChecks" type:"integer"`

	// The number of checks in progress.
	InProgressChecks *int64 `locationName:"inProgressChecks" type:"integer"`

	// The number of checks that found noncompliant resources.
	NonCompliantChecks *int64 `locationName:"nonCompliantChecks" type:"integer"`

	// The number of checks in this audit.
	TotalChecks *int64 `locationName:"totalChecks" type:"integer"`

	// The number of checks waiting for data collection.
	WaitingForDataCollectionChecks *int64 `locationName:"waitingForDataCollectionChecks" type:"integer"`
	// contains filtered or unexported fields
}

Statistics for the checks performed during the audit.

func (TaskStatistics) MarshalFields

func (s TaskStatistics) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TaskStatistics) String

func (s TaskStatistics) String() string

String returns the string representation

type TaskStatisticsForAuditCheck

type TaskStatisticsForAuditCheck struct {

	// The number of findings to which the mitigation action task was canceled when
	// applied.
	CanceledFindingsCount *int64 `locationName:"canceledFindingsCount" type:"long"`

	// The number of findings for which at least one of the actions failed when
	// applied.
	FailedFindingsCount *int64 `locationName:"failedFindingsCount" type:"long"`

	// The number of findings skipped because of filter conditions provided in the
	// parameters to the command.
	SkippedFindingsCount *int64 `locationName:"skippedFindingsCount" type:"long"`

	// The number of findings for which all mitigation actions succeeded when applied.
	SucceededFindingsCount *int64 `locationName:"succeededFindingsCount" type:"long"`

	// The total number of findings to which a task is being applied.
	TotalFindingsCount *int64 `locationName:"totalFindingsCount" type:"long"`
	// contains filtered or unexported fields
}

Provides summary counts of how many tasks for findings are in a particular state. This information is included in the response from DescribeAuditMitigationActionsTask.

func (TaskStatisticsForAuditCheck) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TaskStatisticsForAuditCheck) String

String returns the string representation

type TestAuthorizationInput

type TestAuthorizationInput struct {

	// A list of authorization info objects. Simulating authorization will create
	// a response for each authInfo object in the list.
	//
	// AuthInfos is a required field
	AuthInfos []AuthInfo `locationName:"authInfos" min:"1" type:"list" required:"true"`

	// The MQTT client ID.
	ClientId *string `location:"querystring" locationName:"clientId" type:"string"`

	// The Cognito identity pool ID.
	CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"`

	// When testing custom authorization, the policies specified here are treated
	// as if they are attached to the principal being authorized.
	PolicyNamesToAdd []string `locationName:"policyNamesToAdd" type:"list"`

	// When testing custom authorization, the policies specified here are treated
	// as if they are not attached to the principal being authorized.
	PolicyNamesToSkip []string `locationName:"policyNamesToSkip" type:"list"`

	// The principal.
	Principal *string `locationName:"principal" type:"string"`
	// contains filtered or unexported fields
}

func (TestAuthorizationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TestAuthorizationInput) String

func (s TestAuthorizationInput) String() string

String returns the string representation

func (*TestAuthorizationInput) Validate

func (s *TestAuthorizationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TestAuthorizationOutput

type TestAuthorizationOutput struct {

	// The authentication results.
	AuthResults []AuthResult `locationName:"authResults" type:"list"`
	// contains filtered or unexported fields
}

func (TestAuthorizationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TestAuthorizationOutput) String

func (s TestAuthorizationOutput) String() string

String returns the string representation

type TestAuthorizationRequest

type TestAuthorizationRequest struct {
	*aws.Request
	Input *TestAuthorizationInput
	Copy  func(*TestAuthorizationInput) TestAuthorizationRequest
}

TestAuthorizationRequest is the request type for the TestAuthorization API operation.

func (TestAuthorizationRequest) Send

Send marshals and sends the TestAuthorization API request.

type TestAuthorizationResponse

type TestAuthorizationResponse struct {
	*TestAuthorizationOutput
	// contains filtered or unexported fields
}

TestAuthorizationResponse is the response type for the TestAuthorization API operation.

func (*TestAuthorizationResponse) SDKResponseMetdata

func (r *TestAuthorizationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TestAuthorization request.

type TestInvokeAuthorizerInput

type TestInvokeAuthorizerInput struct {

	// The custom authorizer name.
	//
	// AuthorizerName is a required field
	AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"`

	// The token returned by your custom authentication service.
	//
	// Token is a required field
	Token *string `locationName:"token" min:"1" type:"string" required:"true"`

	// The signature made with the token and your custom authentication service's
	// private key.
	//
	// TokenSignature is a required field
	TokenSignature *string `locationName:"tokenSignature" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (TestInvokeAuthorizerInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TestInvokeAuthorizerInput) String

func (s TestInvokeAuthorizerInput) String() string

String returns the string representation

func (*TestInvokeAuthorizerInput) Validate

func (s *TestInvokeAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TestInvokeAuthorizerOutput

type TestInvokeAuthorizerOutput struct {

	// The number of seconds after which the connection is terminated.
	DisconnectAfterInSeconds *int64 `locationName:"disconnectAfterInSeconds" type:"integer"`

	// True if the token is authenticated, otherwise false.
	IsAuthenticated *bool `locationName:"isAuthenticated" type:"boolean"`

	// IAM policy documents.
	PolicyDocuments []string `locationName:"policyDocuments" type:"list"`

	// The principal ID.
	PrincipalId *string `locationName:"principalId" min:"1" type:"string"`

	// The number of seconds after which the temporary credentials are refreshed.
	RefreshAfterInSeconds *int64 `locationName:"refreshAfterInSeconds" type:"integer"`
	// contains filtered or unexported fields
}

func (TestInvokeAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TestInvokeAuthorizerOutput) String

String returns the string representation

type TestInvokeAuthorizerRequest

type TestInvokeAuthorizerRequest struct {
	*aws.Request
	Input *TestInvokeAuthorizerInput
	Copy  func(*TestInvokeAuthorizerInput) TestInvokeAuthorizerRequest
}

TestInvokeAuthorizerRequest is the request type for the TestInvokeAuthorizer API operation.

func (TestInvokeAuthorizerRequest) Send

Send marshals and sends the TestInvokeAuthorizer API request.

type TestInvokeAuthorizerResponse

type TestInvokeAuthorizerResponse struct {
	*TestInvokeAuthorizerOutput
	// contains filtered or unexported fields
}

TestInvokeAuthorizerResponse is the response type for the TestInvokeAuthorizer API operation.

func (*TestInvokeAuthorizerResponse) SDKResponseMetdata

func (r *TestInvokeAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TestInvokeAuthorizer request.

type ThingAttribute

type ThingAttribute struct {

	// A list of thing attributes which are name-value pairs.
	Attributes map[string]string `locationName:"attributes" type:"map"`

	// The thing ARN.
	ThingArn *string `locationName:"thingArn" type:"string"`

	// The name of the thing.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`

	// The name of the thing type, if the thing has been associated with a type.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`

	// The version of the thing record in the registry.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

The properties of the thing, including thing name, thing type name, and a list of thing attributes.

func (ThingAttribute) MarshalFields

func (s ThingAttribute) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingAttribute) String

func (s ThingAttribute) String() string

String returns the string representation

type ThingConnectivity

type ThingConnectivity struct {

	// True if the thing is connected to the AWS IoT service; false if it is not
	// connected.
	Connected *bool `locationName:"connected" type:"boolean"`

	// The epoch time (in milliseconds) when the thing last connected or disconnected.
	// If the thing has been disconnected for more than a few weeks, the time value
	// might be missing.
	Timestamp *int64 `locationName:"timestamp" type:"long"`
	// contains filtered or unexported fields
}

The connectivity status of the thing.

func (ThingConnectivity) MarshalFields

func (s ThingConnectivity) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingConnectivity) String

func (s ThingConnectivity) String() string

String returns the string representation

type ThingConnectivityIndexingMode

type ThingConnectivityIndexingMode string
const (
	ThingConnectivityIndexingModeOff    ThingConnectivityIndexingMode = "OFF"
	ThingConnectivityIndexingModeStatus ThingConnectivityIndexingMode = "STATUS"
)

Enum values for ThingConnectivityIndexingMode

func (ThingConnectivityIndexingMode) MarshalValue

func (enum ThingConnectivityIndexingMode) MarshalValue() (string, error)

func (ThingConnectivityIndexingMode) MarshalValueBuf

func (enum ThingConnectivityIndexingMode) MarshalValueBuf(b []byte) ([]byte, error)

type ThingDocument

type ThingDocument struct {

	// The attributes.
	Attributes map[string]string `locationName:"attributes" type:"map"`

	// Indicates whether the thing is connected to the AWS IoT service.
	Connectivity *ThingConnectivity `locationName:"connectivity" type:"structure"`

	// The shadow.
	Shadow *string `locationName:"shadow" type:"string"`

	// Thing group names.
	ThingGroupNames []string `locationName:"thingGroupNames" type:"list"`

	// The thing ID.
	ThingId *string `locationName:"thingId" type:"string"`

	// The thing name.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`

	// The thing type name.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The thing search index document.

func (ThingDocument) MarshalFields

func (s ThingDocument) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingDocument) String

func (s ThingDocument) String() string

String returns the string representation

type ThingGroupDocument

type ThingGroupDocument struct {

	// The thing group attributes.
	Attributes map[string]string `locationName:"attributes" type:"map"`

	// Parent group names.
	ParentGroupNames []string `locationName:"parentGroupNames" type:"list"`

	// The thing group description.
	ThingGroupDescription *string `locationName:"thingGroupDescription" type:"string"`

	// The thing group ID.
	ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"`

	// The thing group name.
	ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The thing group search index document.

func (ThingGroupDocument) MarshalFields

func (s ThingGroupDocument) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingGroupDocument) String

func (s ThingGroupDocument) String() string

String returns the string representation

type ThingGroupIndexingConfiguration

type ThingGroupIndexingConfiguration struct {

	// Thing group indexing mode.
	//
	// ThingGroupIndexingMode is a required field
	ThingGroupIndexingMode ThingGroupIndexingMode `locationName:"thingGroupIndexingMode" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Thing group indexing configuration.

func (ThingGroupIndexingConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingGroupIndexingConfiguration) String

String returns the string representation

func (*ThingGroupIndexingConfiguration) Validate

func (s *ThingGroupIndexingConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ThingGroupIndexingMode

type ThingGroupIndexingMode string
const (
	ThingGroupIndexingModeOff ThingGroupIndexingMode = "OFF"
	ThingGroupIndexingModeOn  ThingGroupIndexingMode = "ON"
)

Enum values for ThingGroupIndexingMode

func (ThingGroupIndexingMode) MarshalValue

func (enum ThingGroupIndexingMode) MarshalValue() (string, error)

func (ThingGroupIndexingMode) MarshalValueBuf

func (enum ThingGroupIndexingMode) MarshalValueBuf(b []byte) ([]byte, error)

type ThingGroupMetadata

type ThingGroupMetadata struct {

	// The UNIX timestamp of when the thing group was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The parent thing group name.
	ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"`

	// The root parent thing group.
	RootToParentThingGroups []GroupNameAndArn `locationName:"rootToParentThingGroups" type:"list"`
	// contains filtered or unexported fields
}

Thing group metadata.

func (ThingGroupMetadata) MarshalFields

func (s ThingGroupMetadata) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingGroupMetadata) String

func (s ThingGroupMetadata) String() string

String returns the string representation

type ThingGroupProperties

type ThingGroupProperties struct {

	// The thing group attributes in JSON format.
	AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"`

	// The thing group description.
	ThingGroupDescription *string `locationName:"thingGroupDescription" type:"string"`
	// contains filtered or unexported fields
}

Thing group properties.

func (ThingGroupProperties) MarshalFields

func (s ThingGroupProperties) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingGroupProperties) String

func (s ThingGroupProperties) String() string

String returns the string representation

type ThingIndexingConfiguration

type ThingIndexingConfiguration struct {

	// Thing connectivity indexing mode. Valid values are:
	//
	//    * STATUS – Your thing index contains connectivity status. To enable
	//    thing connectivity indexing, thingIndexMode must not be set to OFF.
	//
	//    * OFF - Thing connectivity status indexing is disabled.
	ThingConnectivityIndexingMode ThingConnectivityIndexingMode `locationName:"thingConnectivityIndexingMode" type:"string" enum:"true"`

	// Thing indexing mode. Valid values are:
	//
	//    * REGISTRY – Your thing index contains registry data only.
	//
	//    * REGISTRY_AND_SHADOW - Your thing index contains registry and shadow
	//    data.
	//
	//    * OFF - Thing indexing is disabled.
	//
	// ThingIndexingMode is a required field
	ThingIndexingMode ThingIndexingMode `locationName:"thingIndexingMode" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

The thing indexing configuration. For more information, see Managing Thing Indexing (https://docs.aws.amazon.com/iot/latest/developerguide/managing-index.html).

func (ThingIndexingConfiguration) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingIndexingConfiguration) String

String returns the string representation

func (*ThingIndexingConfiguration) Validate

func (s *ThingIndexingConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ThingIndexingMode

type ThingIndexingMode string
const (
	ThingIndexingModeOff               ThingIndexingMode = "OFF"
	ThingIndexingModeRegistry          ThingIndexingMode = "REGISTRY"
	ThingIndexingModeRegistryAndShadow ThingIndexingMode = "REGISTRY_AND_SHADOW"
)

Enum values for ThingIndexingMode

func (ThingIndexingMode) MarshalValue

func (enum ThingIndexingMode) MarshalValue() (string, error)

func (ThingIndexingMode) MarshalValueBuf

func (enum ThingIndexingMode) MarshalValueBuf(b []byte) ([]byte, error)

type ThingTypeDefinition

type ThingTypeDefinition struct {

	// The thing type ARN.
	ThingTypeArn *string `locationName:"thingTypeArn" type:"string"`

	// The ThingTypeMetadata contains additional information about the thing type
	// including: creation date and time, a value indicating whether the thing type
	// is deprecated, and a date and time when it was deprecated.
	ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"`

	// The name of the thing type.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`

	// The ThingTypeProperties for the thing type.
	ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"`
	// contains filtered or unexported fields
}

The definition of the thing type, including thing type name and description.

func (ThingTypeDefinition) MarshalFields

func (s ThingTypeDefinition) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingTypeDefinition) String

func (s ThingTypeDefinition) String() string

String returns the string representation

type ThingTypeMetadata

type ThingTypeMetadata struct {

	// The date and time when the thing type was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// Whether the thing type is deprecated. If true, no new things could be associated
	// with this type.
	Deprecated *bool `locationName:"deprecated" type:"boolean"`

	// The date and time when the thing type was deprecated.
	DeprecationDate *time.Time `locationName:"deprecationDate" type:"timestamp"`
	// contains filtered or unexported fields
}

The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.

func (ThingTypeMetadata) MarshalFields

func (s ThingTypeMetadata) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingTypeMetadata) String

func (s ThingTypeMetadata) String() string

String returns the string representation

type ThingTypeProperties

type ThingTypeProperties struct {

	// A list of searchable thing attribute names.
	SearchableAttributes []string `locationName:"searchableAttributes" type:"list"`

	// The description of the thing type.
	ThingTypeDescription *string `locationName:"thingTypeDescription" type:"string"`
	// contains filtered or unexported fields
}

The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.

func (ThingTypeProperties) MarshalFields

func (s ThingTypeProperties) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ThingTypeProperties) String

func (s ThingTypeProperties) String() string

String returns the string representation

type TimeoutConfig

type TimeoutConfig struct {

	// Specifies the amount of time, in minutes, this device has to finish execution
	// of this job. The timeout interval can be anywhere between 1 minute and 7
	// days (1 to 10080 minutes). The in progress timer can't be updated and will
	// apply to all job executions for the job. Whenever a job execution remains
	// in the IN_PROGRESS status for longer than this interval, the job execution
	// will fail and switch to the terminal TIMED_OUT status.
	InProgressTimeoutInMinutes *int64 `locationName:"inProgressTimeoutInMinutes" type:"long"`
	// contains filtered or unexported fields
}

Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.

func (TimeoutConfig) MarshalFields

func (s TimeoutConfig) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TimeoutConfig) String

func (s TimeoutConfig) String() string

String returns the string representation

type TopicRule

type TopicRule struct {

	// The actions associated with the rule.
	Actions []Action `locationName:"actions" type:"list"`

	// The version of the SQL rules engine to use when evaluating the rule.
	AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"`

	// The date and time the rule was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The description of the rule.
	Description *string `locationName:"description" type:"string"`

	// The action to perform when an error occurs.
	ErrorAction *Action `locationName:"errorAction" type:"structure"`

	// Specifies whether the rule is disabled.
	RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"`

	// The name of the rule.
	RuleName *string `locationName:"ruleName" min:"1" type:"string"`

	// The SQL statement used to query the topic. When using a SQL query with multiple
	// lines, be sure to escape the newline characters.
	Sql *string `locationName:"sql" type:"string"`
	// contains filtered or unexported fields
}

Describes a rule.

func (TopicRule) MarshalFields

func (s TopicRule) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TopicRule) String

func (s TopicRule) String() string

String returns the string representation

type TopicRuleListItem

type TopicRuleListItem struct {

	// The date and time the rule was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The rule ARN.
	RuleArn *string `locationName:"ruleArn" type:"string"`

	// Specifies whether the rule is disabled.
	RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"`

	// The name of the rule.
	RuleName *string `locationName:"ruleName" min:"1" type:"string"`

	// The pattern for the topic names that apply.
	TopicPattern *string `locationName:"topicPattern" type:"string"`
	// contains filtered or unexported fields
}

Describes a rule.

func (TopicRuleListItem) MarshalFields

func (s TopicRuleListItem) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TopicRuleListItem) String

func (s TopicRuleListItem) String() string

String returns the string representation

type TopicRulePayload

type TopicRulePayload struct {

	// The actions associated with the rule.
	//
	// Actions is a required field
	Actions []Action `locationName:"actions" type:"list" required:"true"`

	// The version of the SQL rules engine to use when evaluating the rule.
	AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"`

	// The description of the rule.
	Description *string `locationName:"description" type:"string"`

	// The action to take when an error occurs.
	ErrorAction *Action `locationName:"errorAction" type:"structure"`

	// Specifies whether the rule is disabled.
	RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"`

	// The SQL statement used to query the topic. For more information, see AWS
	// IoT SQL Reference (https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference)
	// in the AWS IoT Developer Guide.
	//
	// Sql is a required field
	Sql *string `locationName:"sql" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes a rule.

func (TopicRulePayload) MarshalFields

func (s TopicRulePayload) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TopicRulePayload) String

func (s TopicRulePayload) String() string

String returns the string representation

func (*TopicRulePayload) Validate

func (s *TopicRulePayload) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TransferCertificateInput

type TransferCertificateInput struct {

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"`

	// The AWS account.
	//
	// TargetAwsAccount is a required field
	TargetAwsAccount *string `location:"querystring" locationName:"targetAwsAccount" min:"12" type:"string" required:"true"`

	// The transfer message.
	TransferMessage *string `locationName:"transferMessage" type:"string"`
	// contains filtered or unexported fields
}

The input for the TransferCertificate operation.

func (TransferCertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TransferCertificateInput) String

func (s TransferCertificateInput) String() string

String returns the string representation

func (*TransferCertificateInput) Validate

func (s *TransferCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TransferCertificateOutput

type TransferCertificateOutput struct {

	// The ARN of the certificate.
	TransferredCertificateArn *string `locationName:"transferredCertificateArn" type:"string"`
	// contains filtered or unexported fields
}

The output from the TransferCertificate operation.

func (TransferCertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TransferCertificateOutput) String

func (s TransferCertificateOutput) String() string

String returns the string representation

type TransferCertificateRequest

type TransferCertificateRequest struct {
	*aws.Request
	Input *TransferCertificateInput
	Copy  func(*TransferCertificateInput) TransferCertificateRequest
}

TransferCertificateRequest is the request type for the TransferCertificate API operation.

func (TransferCertificateRequest) Send

Send marshals and sends the TransferCertificate API request.

type TransferCertificateResponse

type TransferCertificateResponse struct {
	*TransferCertificateOutput
	// contains filtered or unexported fields
}

TransferCertificateResponse is the response type for the TransferCertificate API operation.

func (*TransferCertificateResponse) SDKResponseMetdata

func (r *TransferCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TransferCertificate request.

type TransferData

type TransferData struct {

	// The date the transfer was accepted.
	AcceptDate *time.Time `locationName:"acceptDate" type:"timestamp"`

	// The date the transfer was rejected.
	RejectDate *time.Time `locationName:"rejectDate" type:"timestamp"`

	// The reason why the transfer was rejected.
	RejectReason *string `locationName:"rejectReason" type:"string"`

	// The date the transfer took place.
	TransferDate *time.Time `locationName:"transferDate" type:"timestamp"`

	// The transfer message.
	TransferMessage *string `locationName:"transferMessage" type:"string"`
	// contains filtered or unexported fields
}

Data used to transfer a certificate to an AWS account.

func (TransferData) MarshalFields

func (s TransferData) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TransferData) String

func (s TransferData) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// A list of the keys of the tags to be removed from the resource.
	//
	// TagKeys is a required field
	TagKeys []string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateAccountAuditConfigurationInput

type UpdateAccountAuditConfigurationInput struct {

	// Specifies which audit checks are enabled and disabled for this account. Use
	// DescribeAccountAuditConfiguration to see the list of all checks, including
	// those that are currently enabled.
	//
	// Some data collection might start immediately when certain checks are enabled.
	// When a check is disabled, any data collected so far in relation to the check
	// is deleted.
	//
	// You cannot disable a check if it is used by any scheduled audit. You must
	// first delete the check from the scheduled audit or delete the scheduled audit
	// itself.
	//
	// On the first call to UpdateAccountAuditConfiguration, this parameter is required
	// and must specify at least one enabled check.
	AuditCheckConfigurations map[string]AuditCheckConfiguration `locationName:"auditCheckConfigurations" type:"map"`

	// Information about the targets to which audit notifications are sent.
	AuditNotificationTargetConfigurations map[string]AuditNotificationTarget `locationName:"auditNotificationTargetConfigurations" type:"map"`

	// The ARN of the role that grants permission to AWS IoT to access information
	// about your devices, policies, certificates and other items as required when
	// performing an audit.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateAccountAuditConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAccountAuditConfigurationInput) String

String returns the string representation

func (*UpdateAccountAuditConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateAccountAuditConfigurationOutput

type UpdateAccountAuditConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (UpdateAccountAuditConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAccountAuditConfigurationOutput) String

String returns the string representation

type UpdateAccountAuditConfigurationRequest

type UpdateAccountAuditConfigurationRequest struct {
	*aws.Request
	Input *UpdateAccountAuditConfigurationInput
	Copy  func(*UpdateAccountAuditConfigurationInput) UpdateAccountAuditConfigurationRequest
}

UpdateAccountAuditConfigurationRequest is the request type for the UpdateAccountAuditConfiguration API operation.

func (UpdateAccountAuditConfigurationRequest) Send

Send marshals and sends the UpdateAccountAuditConfiguration API request.

type UpdateAccountAuditConfigurationResponse

type UpdateAccountAuditConfigurationResponse struct {
	*UpdateAccountAuditConfigurationOutput
	// contains filtered or unexported fields
}

UpdateAccountAuditConfigurationResponse is the response type for the UpdateAccountAuditConfiguration API operation.

func (*UpdateAccountAuditConfigurationResponse) SDKResponseMetdata

func (r *UpdateAccountAuditConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateAccountAuditConfiguration request.

type UpdateAuthorizerInput

type UpdateAuthorizerInput struct {

	// The ARN of the authorizer's Lambda function.
	AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"`

	// The authorizer name.
	//
	// AuthorizerName is a required field
	AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"`

	// The status of the update authorizer request.
	Status AuthorizerStatus `locationName:"status" type:"string" enum:"true"`

	// The key used to extract the token from the HTTP headers.
	TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"`

	// The public keys used to verify the token signature.
	TokenSigningPublicKeys map[string]string `locationName:"tokenSigningPublicKeys" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateAuthorizerInput) MarshalFields

func (s UpdateAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAuthorizerInput) String

func (s UpdateAuthorizerInput) String() string

String returns the string representation

func (*UpdateAuthorizerInput) Validate

func (s *UpdateAuthorizerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAuthorizerOutput

type UpdateAuthorizerOutput struct {

	// The authorizer ARN.
	AuthorizerArn *string `locationName:"authorizerArn" type:"string"`

	// The authorizer name.
	AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateAuthorizerOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateAuthorizerOutput) String

func (s UpdateAuthorizerOutput) String() string

String returns the string representation

type UpdateAuthorizerRequest

type UpdateAuthorizerRequest struct {
	*aws.Request
	Input *UpdateAuthorizerInput
	Copy  func(*UpdateAuthorizerInput) UpdateAuthorizerRequest
}

UpdateAuthorizerRequest is the request type for the UpdateAuthorizer API operation.

func (UpdateAuthorizerRequest) Send

Send marshals and sends the UpdateAuthorizer API request.

type UpdateAuthorizerResponse

type UpdateAuthorizerResponse struct {
	*UpdateAuthorizerOutput
	// contains filtered or unexported fields
}

UpdateAuthorizerResponse is the response type for the UpdateAuthorizer API operation.

func (*UpdateAuthorizerResponse) SDKResponseMetdata

func (r *UpdateAuthorizerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateAuthorizer request.

type UpdateBillingGroupInput

type UpdateBillingGroupInput struct {

	// The name of the billing group.
	//
	// BillingGroupName is a required field
	BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"`

	// The properties of the billing group.
	//
	// BillingGroupProperties is a required field
	BillingGroupProperties *BillingGroupProperties `locationName:"billingGroupProperties" type:"structure" required:"true"`

	// The expected version of the billing group. If the version of the billing
	// group does not match the expected version specified in the request, the UpdateBillingGroup
	// request is rejected with a VersionConflictException.
	ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"`
	// contains filtered or unexported fields
}

func (UpdateBillingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBillingGroupInput) String

func (s UpdateBillingGroupInput) String() string

String returns the string representation

func (*UpdateBillingGroupInput) Validate

func (s *UpdateBillingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateBillingGroupOutput

type UpdateBillingGroupOutput struct {

	// The latest version of the billing group.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

func (UpdateBillingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateBillingGroupOutput) String

func (s UpdateBillingGroupOutput) String() string

String returns the string representation

type UpdateBillingGroupRequest

type UpdateBillingGroupRequest struct {
	*aws.Request
	Input *UpdateBillingGroupInput
	Copy  func(*UpdateBillingGroupInput) UpdateBillingGroupRequest
}

UpdateBillingGroupRequest is the request type for the UpdateBillingGroup API operation.

func (UpdateBillingGroupRequest) Send

Send marshals and sends the UpdateBillingGroup API request.

type UpdateBillingGroupResponse

type UpdateBillingGroupResponse struct {
	*UpdateBillingGroupOutput
	// contains filtered or unexported fields
}

UpdateBillingGroupResponse is the response type for the UpdateBillingGroup API operation.

func (*UpdateBillingGroupResponse) SDKResponseMetdata

func (r *UpdateBillingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateBillingGroup request.

type UpdateCACertificateInput

type UpdateCACertificateInput struct {

	// The CA certificate identifier.
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"`

	// The new value for the auto registration status. Valid values are: "ENABLE"
	// or "DISABLE".
	NewAutoRegistrationStatus AutoRegistrationStatus `location:"querystring" locationName:"newAutoRegistrationStatus" type:"string" enum:"true"`

	// The updated status of the CA certificate.
	//
	// Note: The status value REGISTER_INACTIVE is deprecated and should not be
	// used.
	NewStatus CACertificateStatus `location:"querystring" locationName:"newStatus" type:"string" enum:"true"`

	// Information about the registration configuration.
	RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"`

	// If true, removes auto registration.
	RemoveAutoRegistration *bool `locationName:"removeAutoRegistration" type:"boolean"`
	// contains filtered or unexported fields
}

The input to the UpdateCACertificate operation.

func (UpdateCACertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateCACertificateInput) String

func (s UpdateCACertificateInput) String() string

String returns the string representation

func (*UpdateCACertificateInput) Validate

func (s *UpdateCACertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateCACertificateOutput

type UpdateCACertificateOutput struct {
	// contains filtered or unexported fields
}

func (UpdateCACertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateCACertificateOutput) String

func (s UpdateCACertificateOutput) String() string

String returns the string representation

type UpdateCACertificateParams

type UpdateCACertificateParams struct {

	// The action that you want to apply to the CA cerrtificate. The only supported
	// value is DEACTIVATE.
	//
	// Action is a required field
	Action CACertificateUpdateAction `locationName:"action" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Parameters to define a mitigation action that changes the state of the CA certificate to inactive.

func (UpdateCACertificateParams) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateCACertificateParams) String

func (s UpdateCACertificateParams) String() string

String returns the string representation

func (*UpdateCACertificateParams) Validate

func (s *UpdateCACertificateParams) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateCACertificateRequest

type UpdateCACertificateRequest struct {
	*aws.Request
	Input *UpdateCACertificateInput
	Copy  func(*UpdateCACertificateInput) UpdateCACertificateRequest
}

UpdateCACertificateRequest is the request type for the UpdateCACertificate API operation.

func (UpdateCACertificateRequest) Send

Send marshals and sends the UpdateCACertificate API request.

type UpdateCACertificateResponse

type UpdateCACertificateResponse struct {
	*UpdateCACertificateOutput
	// contains filtered or unexported fields
}

UpdateCACertificateResponse is the response type for the UpdateCACertificate API operation.

func (*UpdateCACertificateResponse) SDKResponseMetdata

func (r *UpdateCACertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateCACertificate request.

type UpdateCertificateInput

type UpdateCertificateInput struct {

	// The ID of the certificate. (The last part of the certificate ARN contains
	// the certificate ID.)
	//
	// CertificateId is a required field
	CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"`

	// The new status.
	//
	// Note: Setting the status to PENDING_TRANSFER will result in an exception
	// being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It
	// is not intended for developer use.
	//
	// Note: The status value REGISTER_INACTIVE is deprecated and should not be
	// used.
	//
	// NewStatus is a required field
	NewStatus CertificateStatus `location:"querystring" locationName:"newStatus" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

The input for the UpdateCertificate operation.

func (UpdateCertificateInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateCertificateInput) String

func (s UpdateCertificateInput) String() string

String returns the string representation

func (*UpdateCertificateInput) Validate

func (s *UpdateCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateCertificateOutput

type UpdateCertificateOutput struct {
	// contains filtered or unexported fields
}

func (UpdateCertificateOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateCertificateOutput) String

func (s UpdateCertificateOutput) String() string

String returns the string representation

type UpdateCertificateRequest

type UpdateCertificateRequest struct {
	*aws.Request
	Input *UpdateCertificateInput
	Copy  func(*UpdateCertificateInput) UpdateCertificateRequest
}

UpdateCertificateRequest is the request type for the UpdateCertificate API operation.

func (UpdateCertificateRequest) Send

Send marshals and sends the UpdateCertificate API request.

type UpdateCertificateResponse

type UpdateCertificateResponse struct {
	*UpdateCertificateOutput
	// contains filtered or unexported fields
}

UpdateCertificateResponse is the response type for the UpdateCertificate API operation.

func (*UpdateCertificateResponse) SDKResponseMetdata

func (r *UpdateCertificateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateCertificate request.

type UpdateDeviceCertificateParams

type UpdateDeviceCertificateParams struct {

	// The action that you want to apply to the device cerrtificate. The only supported
	// value is DEACTIVATE.
	//
	// Action is a required field
	Action DeviceCertificateUpdateAction `locationName:"action" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Parameters to define a mitigation action that changes the state of the device certificate to inactive.

func (UpdateDeviceCertificateParams) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDeviceCertificateParams) String

String returns the string representation

func (*UpdateDeviceCertificateParams) Validate

func (s *UpdateDeviceCertificateParams) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDynamicThingGroupInput

type UpdateDynamicThingGroupInput struct {

	// The expected version of the dynamic thing group to update.
	ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"`

	// The dynamic thing group index to update.
	//
	// Currently one index is supported: 'AWS_Things'.
	IndexName *string `locationName:"indexName" min:"1" type:"string"`

	// The dynamic thing group search query string to update.
	QueryString *string `locationName:"queryString" min:"1" type:"string"`

	// The dynamic thing group query version to update.
	//
	// Currently one query version is supported: "2017-09-30". If not specified,
	// the query version defaults to this value.
	QueryVersion *string `locationName:"queryVersion" type:"string"`

	// The name of the dynamic thing group to update.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`

	// The dynamic thing group properties to update.
	//
	// ThingGroupProperties is a required field
	ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateDynamicThingGroupInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDynamicThingGroupInput) String

String returns the string representation

func (*UpdateDynamicThingGroupInput) Validate

func (s *UpdateDynamicThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDynamicThingGroupOutput

type UpdateDynamicThingGroupOutput struct {

	// The dynamic thing group version.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

func (UpdateDynamicThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDynamicThingGroupOutput) String

String returns the string representation

type UpdateDynamicThingGroupRequest

type UpdateDynamicThingGroupRequest struct {
	*aws.Request
	Input *UpdateDynamicThingGroupInput
	Copy  func(*UpdateDynamicThingGroupInput) UpdateDynamicThingGroupRequest
}

UpdateDynamicThingGroupRequest is the request type for the UpdateDynamicThingGroup API operation.

func (UpdateDynamicThingGroupRequest) Send

Send marshals and sends the UpdateDynamicThingGroup API request.

type UpdateDynamicThingGroupResponse

type UpdateDynamicThingGroupResponse struct {
	*UpdateDynamicThingGroupOutput
	// contains filtered or unexported fields
}

UpdateDynamicThingGroupResponse is the response type for the UpdateDynamicThingGroup API operation.

func (*UpdateDynamicThingGroupResponse) SDKResponseMetdata

func (r *UpdateDynamicThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDynamicThingGroup request.

type UpdateEventConfigurationsInput

type UpdateEventConfigurationsInput struct {

	// The new event configuration values.
	EventConfigurations map[string]Configuration `locationName:"eventConfigurations" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateEventConfigurationsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEventConfigurationsInput) String

String returns the string representation

type UpdateEventConfigurationsOutput

type UpdateEventConfigurationsOutput struct {
	// contains filtered or unexported fields
}

func (UpdateEventConfigurationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEventConfigurationsOutput) String

String returns the string representation

type UpdateEventConfigurationsRequest

type UpdateEventConfigurationsRequest struct {
	*aws.Request
	Input *UpdateEventConfigurationsInput
	Copy  func(*UpdateEventConfigurationsInput) UpdateEventConfigurationsRequest
}

UpdateEventConfigurationsRequest is the request type for the UpdateEventConfigurations API operation.

func (UpdateEventConfigurationsRequest) Send

Send marshals and sends the UpdateEventConfigurations API request.

type UpdateEventConfigurationsResponse

type UpdateEventConfigurationsResponse struct {
	*UpdateEventConfigurationsOutput
	// contains filtered or unexported fields
}

UpdateEventConfigurationsResponse is the response type for the UpdateEventConfigurations API operation.

func (*UpdateEventConfigurationsResponse) SDKResponseMetdata

func (r *UpdateEventConfigurationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateEventConfigurations request.

type UpdateIndexingConfigurationInput

type UpdateIndexingConfigurationInput struct {

	// Thing group indexing configuration.
	ThingGroupIndexingConfiguration *ThingGroupIndexingConfiguration `locationName:"thingGroupIndexingConfiguration" type:"structure"`

	// Thing indexing configuration.
	ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateIndexingConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateIndexingConfigurationInput) String

String returns the string representation

func (*UpdateIndexingConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateIndexingConfigurationOutput

type UpdateIndexingConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (UpdateIndexingConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateIndexingConfigurationOutput) String

String returns the string representation

type UpdateIndexingConfigurationRequest

type UpdateIndexingConfigurationRequest struct {
	*aws.Request
	Input *UpdateIndexingConfigurationInput
	Copy  func(*UpdateIndexingConfigurationInput) UpdateIndexingConfigurationRequest
}

UpdateIndexingConfigurationRequest is the request type for the UpdateIndexingConfiguration API operation.

func (UpdateIndexingConfigurationRequest) Send

Send marshals and sends the UpdateIndexingConfiguration API request.

type UpdateIndexingConfigurationResponse

type UpdateIndexingConfigurationResponse struct {
	*UpdateIndexingConfigurationOutput
	// contains filtered or unexported fields
}

UpdateIndexingConfigurationResponse is the response type for the UpdateIndexingConfiguration API operation.

func (*UpdateIndexingConfigurationResponse) SDKResponseMetdata

func (r *UpdateIndexingConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateIndexingConfiguration request.

type UpdateJobInput

type UpdateJobInput struct {

	// Allows you to create criteria to abort a job.
	AbortConfig *AbortConfig `locationName:"abortConfig" type:"structure"`

	// A short text description of the job.
	Description *string `locationName:"description" type:"string"`

	// Allows you to create a staged rollout of the job.
	JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"`

	// The ID of the job to be updated.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`

	// Configuration information for pre-signed S3 URLs.
	PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"`

	// Specifies the amount of time each device has to finish its execution of the
	// job. The timer is started when the job execution status is set to IN_PROGRESS.
	// If the job execution status is not set to another terminal state before the
	// time expires, it will be automatically set to TIMED_OUT.
	TimeoutConfig *TimeoutConfig `locationName:"timeoutConfig" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateJobInput) MarshalFields

func (s UpdateJobInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateJobInput) String

func (s UpdateJobInput) String() string

String returns the string representation

func (*UpdateJobInput) Validate

func (s *UpdateJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateJobOutput

type UpdateJobOutput struct {
	// contains filtered or unexported fields
}

func (UpdateJobOutput) MarshalFields

func (s UpdateJobOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateJobOutput) String

func (s UpdateJobOutput) String() string

String returns the string representation

type UpdateJobRequest

type UpdateJobRequest struct {
	*aws.Request
	Input *UpdateJobInput
	Copy  func(*UpdateJobInput) UpdateJobRequest
}

UpdateJobRequest is the request type for the UpdateJob API operation.

func (UpdateJobRequest) Send

Send marshals and sends the UpdateJob API request.

type UpdateJobResponse

type UpdateJobResponse struct {
	*UpdateJobOutput
	// contains filtered or unexported fields
}

UpdateJobResponse is the response type for the UpdateJob API operation.

func (*UpdateJobResponse) SDKResponseMetdata

func (r *UpdateJobResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateJob request.

type UpdateMitigationActionInput

type UpdateMitigationActionInput struct {

	// The friendly name for the mitigation action. You can't change the name by
	// using UpdateMitigationAction. Instead, you must delete and re-create the
	// mitigation action with the new name.
	//
	// ActionName is a required field
	ActionName *string `location:"uri" locationName:"actionName" type:"string" required:"true"`

	// Defines the type of action and the parameters for that action.
	ActionParams *MitigationActionParams `locationName:"actionParams" type:"structure"`

	// The ARN of the IAM role that is used to apply the mitigation action.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateMitigationActionInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMitigationActionInput) String

String returns the string representation

func (*UpdateMitigationActionInput) Validate

func (s *UpdateMitigationActionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateMitigationActionOutput

type UpdateMitigationActionOutput struct {

	// The ARN for the new mitigation action.
	ActionArn *string `locationName:"actionArn" type:"string"`

	// A unique identifier for the mitigation action.
	ActionId *string `locationName:"actionId" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateMitigationActionOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateMitigationActionOutput) String

String returns the string representation

type UpdateMitigationActionRequest

type UpdateMitigationActionRequest struct {
	*aws.Request
	Input *UpdateMitigationActionInput
	Copy  func(*UpdateMitigationActionInput) UpdateMitigationActionRequest
}

UpdateMitigationActionRequest is the request type for the UpdateMitigationAction API operation.

func (UpdateMitigationActionRequest) Send

Send marshals and sends the UpdateMitigationAction API request.

type UpdateMitigationActionResponse

type UpdateMitigationActionResponse struct {
	*UpdateMitigationActionOutput
	// contains filtered or unexported fields
}

UpdateMitigationActionResponse is the response type for the UpdateMitigationAction API operation.

func (*UpdateMitigationActionResponse) SDKResponseMetdata

func (r *UpdateMitigationActionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateMitigationAction request.

type UpdateRoleAliasInput

type UpdateRoleAliasInput struct {

	// The number of seconds the credential will be valid.
	CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"`

	// The role alias to update.
	//
	// RoleAlias is a required field
	RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"`

	// The role ARN.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateRoleAliasInput) MarshalFields

func (s UpdateRoleAliasInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRoleAliasInput) String

func (s UpdateRoleAliasInput) String() string

String returns the string representation

func (*UpdateRoleAliasInput) Validate

func (s *UpdateRoleAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRoleAliasOutput

type UpdateRoleAliasOutput struct {

	// The role alias.
	RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"`

	// The role alias ARN.
	RoleAliasArn *string `locationName:"roleAliasArn" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateRoleAliasOutput) MarshalFields

func (s UpdateRoleAliasOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateRoleAliasOutput) String

func (s UpdateRoleAliasOutput) String() string

String returns the string representation

type UpdateRoleAliasRequest

type UpdateRoleAliasRequest struct {
	*aws.Request
	Input *UpdateRoleAliasInput
	Copy  func(*UpdateRoleAliasInput) UpdateRoleAliasRequest
}

UpdateRoleAliasRequest is the request type for the UpdateRoleAlias API operation.

func (UpdateRoleAliasRequest) Send

Send marshals and sends the UpdateRoleAlias API request.

type UpdateRoleAliasResponse

type UpdateRoleAliasResponse struct {
	*UpdateRoleAliasOutput
	// contains filtered or unexported fields
}

UpdateRoleAliasResponse is the response type for the UpdateRoleAlias API operation.

func (*UpdateRoleAliasResponse) SDKResponseMetdata

func (r *UpdateRoleAliasResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRoleAlias request.

type UpdateScheduledAuditInput

type UpdateScheduledAuditInput struct {

	// The day of the month on which the scheduled audit takes place. Can be "1"
	// through "31" or "LAST". This field is required if the "frequency" parameter
	// is set to "MONTHLY". If days 29-31 are specified, and the month does not
	// have that many days, the audit takes place on the "LAST" day of the month.
	DayOfMonth *string `locationName:"dayOfMonth" type:"string"`

	// The day of the week on which the scheduled audit takes place. Can be one
	// of "SUN", "MON", "TUE", "WED", "THU", "FRI", or "SAT". This field is required
	// if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
	DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"`

	// How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY",
	// "BIWEEKLY", or "MONTHLY". The start time of each audit is determined by the
	// system.
	Frequency AuditFrequency `locationName:"frequency" type:"string" enum:"true"`

	// The name of the scheduled audit. (Max. 128 chars)
	//
	// ScheduledAuditName is a required field
	ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"`

	// Which checks are performed during the scheduled audit. Checks must be enabled
	// for your account. (Use DescribeAccountAuditConfiguration to see the list
	// of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
	// to select which checks are enabled.)
	TargetCheckNames []string `locationName:"targetCheckNames" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateScheduledAuditInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateScheduledAuditInput) String

func (s UpdateScheduledAuditInput) String() string

String returns the string representation

func (*UpdateScheduledAuditInput) Validate

func (s *UpdateScheduledAuditInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateScheduledAuditOutput

type UpdateScheduledAuditOutput struct {

	// The ARN of the scheduled audit.
	ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateScheduledAuditOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateScheduledAuditOutput) String

String returns the string representation

type UpdateScheduledAuditRequest

type UpdateScheduledAuditRequest struct {
	*aws.Request
	Input *UpdateScheduledAuditInput
	Copy  func(*UpdateScheduledAuditInput) UpdateScheduledAuditRequest
}

UpdateScheduledAuditRequest is the request type for the UpdateScheduledAudit API operation.

func (UpdateScheduledAuditRequest) Send

Send marshals and sends the UpdateScheduledAudit API request.

type UpdateScheduledAuditResponse

type UpdateScheduledAuditResponse struct {
	*UpdateScheduledAuditOutput
	// contains filtered or unexported fields
}

UpdateScheduledAuditResponse is the response type for the UpdateScheduledAudit API operation.

func (*UpdateScheduledAuditResponse) SDKResponseMetdata

func (r *UpdateScheduledAuditResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateScheduledAudit request.

type UpdateSecurityProfileInput

type UpdateSecurityProfileInput struct {

	// 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.
	AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"`

	// Where the alerts are sent. (Alerts are always sent to the console.)
	AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"`

	// Specifies the behaviors that, when violated by a device (thing), cause an
	// alert.
	Behaviors []Behavior `locationName:"behaviors" type:"list"`

	// If true, delete all additionalMetricsToRetain defined for this security profile.
	// If any additionalMetricsToRetain are defined in the current invocation, an
	// exception occurs.
	DeleteAdditionalMetricsToRetain *bool `locationName:"deleteAdditionalMetricsToRetain" type:"boolean"`

	// If true, delete all alertTargets defined for this security profile. If any
	// alertTargets are defined in the current invocation, an exception occurs.
	DeleteAlertTargets *bool `locationName:"deleteAlertTargets" type:"boolean"`

	// If true, delete all behaviors defined for this security profile. If any behaviors
	// are defined in the current invocation, an exception occurs.
	DeleteBehaviors *bool `locationName:"deleteBehaviors" type:"boolean"`

	// The expected version of the security profile. A new version is generated
	// whenever the security profile is updated. If you specify a value that is
	// different from the actual version, a VersionConflictException is thrown.
	ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"`

	// A description of the security profile.
	SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"`

	// The name of the security profile you want to update.
	//
	// SecurityProfileName is a required field
	SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateSecurityProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateSecurityProfileInput) String

String returns the string representation

func (*UpdateSecurityProfileInput) Validate

func (s *UpdateSecurityProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSecurityProfileOutput

type UpdateSecurityProfileOutput struct {

	// 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.
	AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"`

	// Where the alerts are sent. (Alerts are always sent to the console.)
	AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"`

	// Specifies the behaviors that, when violated by a device (thing), cause an
	// alert.
	Behaviors []Behavior `locationName:"behaviors" type:"list"`

	// The time the security profile was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp"`

	// The time the security profile was last modified.
	LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"`

	// The ARN of the security profile that was updated.
	SecurityProfileArn *string `locationName:"securityProfileArn" type:"string"`

	// The description of the security profile.
	SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"`

	// The name of the security profile that was updated.
	SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"`

	// The updated version of the security profile.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

func (UpdateSecurityProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateSecurityProfileOutput) String

String returns the string representation

type UpdateSecurityProfileRequest

type UpdateSecurityProfileRequest struct {
	*aws.Request
	Input *UpdateSecurityProfileInput
	Copy  func(*UpdateSecurityProfileInput) UpdateSecurityProfileRequest
}

UpdateSecurityProfileRequest is the request type for the UpdateSecurityProfile API operation.

func (UpdateSecurityProfileRequest) Send

Send marshals and sends the UpdateSecurityProfile API request.

type UpdateSecurityProfileResponse

type UpdateSecurityProfileResponse struct {
	*UpdateSecurityProfileOutput
	// contains filtered or unexported fields
}

UpdateSecurityProfileResponse is the response type for the UpdateSecurityProfile API operation.

func (*UpdateSecurityProfileResponse) SDKResponseMetdata

func (r *UpdateSecurityProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateSecurityProfile request.

type UpdateStreamInput

type UpdateStreamInput struct {

	// The description of the stream.
	Description *string `locationName:"description" type:"string"`

	// The files associated with the stream.
	Files []StreamFile `locationName:"files" min:"1" type:"list"`

	// An IAM role that allows the IoT service principal assumes to access your
	// S3 files.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The stream ID.
	//
	// StreamId is a required field
	StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateStreamInput) MarshalFields

func (s UpdateStreamInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateStreamInput) String

func (s UpdateStreamInput) String() string

String returns the string representation

func (*UpdateStreamInput) Validate

func (s *UpdateStreamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateStreamOutput

type UpdateStreamOutput struct {

	// A description of the stream.
	Description *string `locationName:"description" type:"string"`

	// The stream ARN.
	StreamArn *string `locationName:"streamArn" type:"string"`

	// The stream ID.
	StreamId *string `locationName:"streamId" min:"1" type:"string"`

	// The stream version.
	StreamVersion *int64 `locationName:"streamVersion" type:"integer"`
	// contains filtered or unexported fields
}

func (UpdateStreamOutput) MarshalFields

func (s UpdateStreamOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateStreamOutput) String

func (s UpdateStreamOutput) String() string

String returns the string representation

type UpdateStreamRequest

type UpdateStreamRequest struct {
	*aws.Request
	Input *UpdateStreamInput
	Copy  func(*UpdateStreamInput) UpdateStreamRequest
}

UpdateStreamRequest is the request type for the UpdateStream API operation.

func (UpdateStreamRequest) Send

Send marshals and sends the UpdateStream API request.

type UpdateStreamResponse

type UpdateStreamResponse struct {
	*UpdateStreamOutput
	// contains filtered or unexported fields
}

UpdateStreamResponse is the response type for the UpdateStream API operation.

func (*UpdateStreamResponse) SDKResponseMetdata

func (r *UpdateStreamResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateStream request.

type UpdateThingGroupInput

type UpdateThingGroupInput struct {

	// The expected version of the thing group. If this does not match the version
	// of the thing group being updated, the update will fail.
	ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"`

	// The thing group to update.
	//
	// ThingGroupName is a required field
	ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"`

	// The thing group properties.
	//
	// ThingGroupProperties is a required field
	ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateThingGroupInput) MarshalFields

func (s UpdateThingGroupInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateThingGroupInput) String

func (s UpdateThingGroupInput) String() string

String returns the string representation

func (*UpdateThingGroupInput) Validate

func (s *UpdateThingGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateThingGroupOutput

type UpdateThingGroupOutput struct {

	// The version of the updated thing group.
	Version *int64 `locationName:"version" type:"long"`
	// contains filtered or unexported fields
}

func (UpdateThingGroupOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateThingGroupOutput) String

func (s UpdateThingGroupOutput) String() string

String returns the string representation

type UpdateThingGroupRequest

type UpdateThingGroupRequest struct {
	*aws.Request
	Input *UpdateThingGroupInput
	Copy  func(*UpdateThingGroupInput) UpdateThingGroupRequest
}

UpdateThingGroupRequest is the request type for the UpdateThingGroup API operation.

func (UpdateThingGroupRequest) Send

Send marshals and sends the UpdateThingGroup API request.

type UpdateThingGroupResponse

type UpdateThingGroupResponse struct {
	*UpdateThingGroupOutput
	// contains filtered or unexported fields
}

UpdateThingGroupResponse is the response type for the UpdateThingGroup API operation.

func (*UpdateThingGroupResponse) SDKResponseMetdata

func (r *UpdateThingGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateThingGroup request.

type UpdateThingGroupsForThingInput

type UpdateThingGroupsForThingInput struct {

	// Override dynamic thing groups with static thing groups when 10-group limit
	// is reached. If a thing belongs to 10 thing groups, and one or more of those
	// groups are dynamic thing groups, adding a thing to a static group removes
	// the thing from the last dynamic group.
	OverrideDynamicGroups *bool `locationName:"overrideDynamicGroups" type:"boolean"`

	// The groups to which the thing will be added.
	ThingGroupsToAdd []string `locationName:"thingGroupsToAdd" type:"list"`

	// The groups from which the thing will be removed.
	ThingGroupsToRemove []string `locationName:"thingGroupsToRemove" type:"list"`

	// The thing whose group memberships will be updated.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateThingGroupsForThingInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateThingGroupsForThingInput) String

String returns the string representation

func (*UpdateThingGroupsForThingInput) Validate

func (s *UpdateThingGroupsForThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateThingGroupsForThingOutput

type UpdateThingGroupsForThingOutput struct {
	// contains filtered or unexported fields
}

func (UpdateThingGroupsForThingOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateThingGroupsForThingOutput) String

String returns the string representation

type UpdateThingGroupsForThingRequest

type UpdateThingGroupsForThingRequest struct {
	*aws.Request
	Input *UpdateThingGroupsForThingInput
	Copy  func(*UpdateThingGroupsForThingInput) UpdateThingGroupsForThingRequest
}

UpdateThingGroupsForThingRequest is the request type for the UpdateThingGroupsForThing API operation.

func (UpdateThingGroupsForThingRequest) Send

Send marshals and sends the UpdateThingGroupsForThing API request.

type UpdateThingGroupsForThingResponse

type UpdateThingGroupsForThingResponse struct {
	*UpdateThingGroupsForThingOutput
	// contains filtered or unexported fields
}

UpdateThingGroupsForThingResponse is the response type for the UpdateThingGroupsForThing API operation.

func (*UpdateThingGroupsForThingResponse) SDKResponseMetdata

func (r *UpdateThingGroupsForThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateThingGroupsForThing request.

type UpdateThingInput

type UpdateThingInput struct {

	// A list of thing attributes, a JSON string containing name-value pairs. For
	// example:
	//
	// {\"attributes\":{\"name1\":\"value2\"}}
	//
	// This data is used to add new attributes or update existing attributes.
	AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"`

	// The expected version of the thing record in the registry. If the version
	// of the record in the registry does not match the expected version specified
	// in the request, the UpdateThing request is rejected with a VersionConflictException.
	ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"`

	// Remove a thing type association. If true, the association is removed.
	RemoveThingType *bool `locationName:"removeThingType" type:"boolean"`

	// The name of the thing to update.
	//
	// ThingName is a required field
	ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"`

	// The name of the thing type.
	ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input for the UpdateThing operation.

func (UpdateThingInput) MarshalFields

func (s UpdateThingInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateThingInput) String

func (s UpdateThingInput) String() string

String returns the string representation

func (*UpdateThingInput) Validate

func (s *UpdateThingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateThingOutput

type UpdateThingOutput struct {
	// contains filtered or unexported fields
}

The output from the UpdateThing operation.

func (UpdateThingOutput) MarshalFields

func (s UpdateThingOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateThingOutput) String

func (s UpdateThingOutput) String() string

String returns the string representation

type UpdateThingRequest

type UpdateThingRequest struct {
	*aws.Request
	Input *UpdateThingInput
	Copy  func(*UpdateThingInput) UpdateThingRequest
}

UpdateThingRequest is the request type for the UpdateThing API operation.

func (UpdateThingRequest) Send

Send marshals and sends the UpdateThing API request.

type UpdateThingResponse

type UpdateThingResponse struct {
	*UpdateThingOutput
	// contains filtered or unexported fields
}

UpdateThingResponse is the response type for the UpdateThing API operation.

func (*UpdateThingResponse) SDKResponseMetdata

func (r *UpdateThingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateThing request.

type ValidateSecurityProfileBehaviorsInput

type ValidateSecurityProfileBehaviorsInput struct {

	// Specifies the behaviors that, when violated by a device (thing), cause an
	// alert.
	//
	// Behaviors is a required field
	Behaviors []Behavior `locationName:"behaviors" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ValidateSecurityProfileBehaviorsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ValidateSecurityProfileBehaviorsInput) String

String returns the string representation

func (*ValidateSecurityProfileBehaviorsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ValidateSecurityProfileBehaviorsOutput

type ValidateSecurityProfileBehaviorsOutput struct {

	// True if the behaviors were valid.
	Valid *bool `locationName:"valid" type:"boolean"`

	// The list of any errors found in the behaviors.
	ValidationErrors []ValidationError `locationName:"validationErrors" type:"list"`
	// contains filtered or unexported fields
}

func (ValidateSecurityProfileBehaviorsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ValidateSecurityProfileBehaviorsOutput) String

String returns the string representation

type ValidateSecurityProfileBehaviorsRequest

type ValidateSecurityProfileBehaviorsRequest struct {
	*aws.Request
	Input *ValidateSecurityProfileBehaviorsInput
	Copy  func(*ValidateSecurityProfileBehaviorsInput) ValidateSecurityProfileBehaviorsRequest
}

ValidateSecurityProfileBehaviorsRequest is the request type for the ValidateSecurityProfileBehaviors API operation.

func (ValidateSecurityProfileBehaviorsRequest) Send

Send marshals and sends the ValidateSecurityProfileBehaviors API request.

type ValidateSecurityProfileBehaviorsResponse

type ValidateSecurityProfileBehaviorsResponse struct {
	*ValidateSecurityProfileBehaviorsOutput
	// contains filtered or unexported fields
}

ValidateSecurityProfileBehaviorsResponse is the response type for the ValidateSecurityProfileBehaviors API operation.

func (*ValidateSecurityProfileBehaviorsResponse) SDKResponseMetdata

func (r *ValidateSecurityProfileBehaviorsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ValidateSecurityProfileBehaviors request.

type ValidationError

type ValidationError struct {

	// The description of an error found in the behaviors.
	ErrorMessage *string `locationName:"errorMessage" type:"string"`
	// contains filtered or unexported fields
}

Information about an error found in a behavior specification.

func (ValidationError) MarshalFields

func (s ValidationError) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ValidationError) String

func (s ValidationError) String() string

String returns the string representation

type ViolationEvent

type ViolationEvent struct {

	// The behavior which was violated.
	Behavior *Behavior `locationName:"behavior" type:"structure"`

	// The value of the metric (the measurement).
	MetricValue *MetricValue `locationName:"metricValue" type:"structure"`

	// The name of the security profile whose behavior was violated.
	SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"`

	// The name of the thing responsible for the violation event.
	ThingName *string `locationName:"thingName" min:"1" type:"string"`

	// The time the violation event occurred.
	ViolationEventTime *time.Time `locationName:"violationEventTime" type:"timestamp"`

	// The type of violation event.
	ViolationEventType ViolationEventType `locationName:"violationEventType" type:"string" enum:"true"`

	// The ID of the violation event.
	ViolationId *string `locationName:"violationId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about a Device Defender security profile behavior violation.

func (ViolationEvent) MarshalFields

func (s ViolationEvent) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ViolationEvent) String

func (s ViolationEvent) String() string

String returns the string representation

type ViolationEventType

type ViolationEventType string
const (
	ViolationEventTypeInAlarm          ViolationEventType = "in-alarm"
	ViolationEventTypeAlarmCleared     ViolationEventType = "alarm-cleared"
	ViolationEventTypeAlarmInvalidated ViolationEventType = "alarm-invalidated"
)

Enum values for ViolationEventType

func (ViolationEventType) MarshalValue

func (enum ViolationEventType) MarshalValue() (string, error)

func (ViolationEventType) MarshalValueBuf

func (enum ViolationEventType) MarshalValueBuf(b []byte) ([]byte, error)

Source Files

api_client.go api_doc.go api_enums.go api_errors.go api_op_AcceptCertificateTransfer.go api_op_AddThingToBillingGroup.go api_op_AddThingToThingGroup.go api_op_AssociateTargetsWithJob.go api_op_AttachPolicy.go api_op_AttachPrincipalPolicy.go api_op_AttachSecurityProfile.go api_op_AttachThingPrincipal.go api_op_CancelAuditMitigationActionsTask.go api_op_CancelAuditTask.go api_op_CancelCertificateTransfer.go api_op_CancelJob.go api_op_CancelJobExecution.go api_op_ClearDefaultAuthorizer.go api_op_CreateAuthorizer.go api_op_CreateBillingGroup.go api_op_CreateCertificateFromCsr.go api_op_CreateDynamicThingGroup.go api_op_CreateJob.go api_op_CreateKeysAndCertificate.go api_op_CreateMitigationAction.go api_op_CreateOTAUpdate.go api_op_CreatePolicy.go api_op_CreatePolicyVersion.go api_op_CreateRoleAlias.go api_op_CreateScheduledAudit.go api_op_CreateSecurityProfile.go api_op_CreateStream.go api_op_CreateThing.go api_op_CreateThingGroup.go api_op_CreateThingType.go api_op_CreateTopicRule.go api_op_DeleteAccountAuditConfiguration.go api_op_DeleteAuthorizer.go api_op_DeleteBillingGroup.go api_op_DeleteCACertificate.go api_op_DeleteCertificate.go api_op_DeleteDynamicThingGroup.go api_op_DeleteJob.go api_op_DeleteJobExecution.go api_op_DeleteMitigationAction.go api_op_DeleteOTAUpdate.go api_op_DeletePolicy.go api_op_DeletePolicyVersion.go api_op_DeleteRegistrationCode.go api_op_DeleteRoleAlias.go api_op_DeleteScheduledAudit.go api_op_DeleteSecurityProfile.go api_op_DeleteStream.go api_op_DeleteThing.go api_op_DeleteThingGroup.go api_op_DeleteThingType.go api_op_DeleteTopicRule.go api_op_DeleteV2LoggingLevel.go api_op_DeprecateThingType.go api_op_DescribeAccountAuditConfiguration.go api_op_DescribeAuditFinding.go api_op_DescribeAuditMitigationActionsTask.go api_op_DescribeAuditTask.go api_op_DescribeAuthorizer.go api_op_DescribeBillingGroup.go api_op_DescribeCACertificate.go api_op_DescribeCertificate.go api_op_DescribeDefaultAuthorizer.go api_op_DescribeEndpoint.go api_op_DescribeEventConfigurations.go api_op_DescribeIndex.go api_op_DescribeJob.go api_op_DescribeJobExecution.go api_op_DescribeMitigationAction.go api_op_DescribeRoleAlias.go api_op_DescribeScheduledAudit.go api_op_DescribeSecurityProfile.go api_op_DescribeStream.go api_op_DescribeThing.go api_op_DescribeThingGroup.go api_op_DescribeThingRegistrationTask.go api_op_DescribeThingType.go api_op_DetachPolicy.go api_op_DetachPrincipalPolicy.go api_op_DetachSecurityProfile.go api_op_DetachThingPrincipal.go api_op_DisableTopicRule.go api_op_EnableTopicRule.go api_op_GetEffectivePolicies.go api_op_GetIndexingConfiguration.go api_op_GetJobDocument.go api_op_GetLoggingOptions.go api_op_GetOTAUpdate.go api_op_GetPolicy.go api_op_GetPolicyVersion.go api_op_GetRegistrationCode.go api_op_GetStatistics.go api_op_GetTopicRule.go api_op_GetV2LoggingOptions.go api_op_ListActiveViolations.go api_op_ListAttachedPolicies.go api_op_ListAuditFindings.go api_op_ListAuditMitigationActionsExecutions.go api_op_ListAuditMitigationActionsTasks.go api_op_ListAuditTasks.go api_op_ListAuthorizers.go api_op_ListBillingGroups.go api_op_ListCACertificates.go api_op_ListCertificates.go api_op_ListCertificatesByCA.go api_op_ListIndices.go api_op_ListJobExecutionsForJob.go api_op_ListJobExecutionsForThing.go api_op_ListJobs.go api_op_ListMitigationActions.go api_op_ListOTAUpdates.go api_op_ListOutgoingCertificates.go api_op_ListPolicies.go api_op_ListPolicyPrincipals.go api_op_ListPolicyVersions.go api_op_ListPrincipalPolicies.go api_op_ListPrincipalThings.go api_op_ListRoleAliases.go api_op_ListScheduledAudits.go api_op_ListSecurityProfiles.go api_op_ListSecurityProfilesForTarget.go api_op_ListStreams.go api_op_ListTagsForResource.go api_op_ListTargetsForPolicy.go api_op_ListTargetsForSecurityProfile.go api_op_ListThingGroups.go api_op_ListThingGroupsForThing.go api_op_ListThingPrincipals.go api_op_ListThingRegistrationTaskReports.go api_op_ListThingRegistrationTasks.go api_op_ListThingTypes.go api_op_ListThings.go api_op_ListThingsInBillingGroup.go api_op_ListThingsInThingGroup.go api_op_ListTopicRules.go api_op_ListV2LoggingLevels.go api_op_ListViolationEvents.go api_op_RegisterCACertificate.go api_op_RegisterCertificate.go api_op_RegisterThing.go api_op_RejectCertificateTransfer.go api_op_RemoveThingFromBillingGroup.go api_op_RemoveThingFromThingGroup.go api_op_ReplaceTopicRule.go api_op_SearchIndex.go api_op_SetDefaultAuthorizer.go api_op_SetDefaultPolicyVersion.go api_op_SetLoggingOptions.go api_op_SetV2LoggingLevel.go api_op_SetV2LoggingOptions.go api_op_StartAuditMitigationActionsTask.go api_op_StartOnDemandAuditTask.go api_op_StartThingRegistrationTask.go api_op_StopThingRegistrationTask.go api_op_TagResource.go api_op_TestAuthorization.go api_op_TestInvokeAuthorizer.go api_op_TransferCertificate.go api_op_UntagResource.go api_op_UpdateAccountAuditConfiguration.go api_op_UpdateAuthorizer.go api_op_UpdateBillingGroup.go api_op_UpdateCACertificate.go api_op_UpdateCertificate.go api_op_UpdateDynamicThingGroup.go api_op_UpdateEventConfigurations.go api_op_UpdateIndexingConfiguration.go api_op_UpdateJob.go api_op_UpdateMitigationAction.go api_op_UpdateRoleAlias.go api_op_UpdateScheduledAudit.go api_op_UpdateSecurityProfile.go api_op_UpdateStream.go api_op_UpdateThing.go api_op_UpdateThingGroup.go api_op_UpdateThingGroupsForThing.go api_op_ValidateSecurityProfileBehaviors.go api_types.go

Directories

PathSynopsis
service/iot/iotifacePackage iotiface provides an interface to enable mocking the AWS IoT service client for testing your code.
Version
v0.12.0
Published
Sep 17, 2019
Platform
linux/amd64
Imports
8 packages
Last checked
10 minutes ago

Tools for package owners.