iot

package
v2.0.0-preview.2+incom... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

AWS IoT provides secure, bi-directional communication between Internet-connected things (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 thing (Thing Registry), configure logging, and create and manage policies and credentials to authenticate things.

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

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

Using the Client

To 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 IoT for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/iot/#New

Index

Constants

View Source
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"

	// 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"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The number of attached entities exceeds the limit.
	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"

	// 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 a thing passed to a command is different
	// than the version specified with the --version parameter.
	ErrCodeVersionConflictException = "VersionConflictException"

	// ErrCodeVersionsLimitExceededException for service response error code
	// "VersionsLimitExceededException".
	//
	// The number of policy versions exceeds the limit.
	ErrCodeVersionsLimitExceededException = "VersionsLimitExceededException"
)
View Source
const (
	ServiceName = "iot"       // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptCertificateTransferInput

type AcceptCertificateTransferInput struct {

	// The ID of the certificate.
	//
	// 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) GoString

GoString returns the string representation

func (*AcceptCertificateTransferInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (*AcceptCertificateTransferInput) SetSetAsActive

SetSetAsActive sets the SetAsActive field's value.

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) GoString

GoString returns the string representation

func (AcceptCertificateTransferOutput) SDKResponseMetadata

func (s AcceptCertificateTransferOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AcceptCertificateTransferOutput) String

String returns the string representation

type AcceptCertificateTransferRequest

type AcceptCertificateTransferRequest struct {
	*aws.Request
	Input *AcceptCertificateTransferInput
}

AcceptCertificateTransferRequest is a API request type for the AcceptCertificateTransfer API operation.

func (AcceptCertificateTransferRequest) Send

Send marshals and sends the AcceptCertificateTransfer API 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"`

	// 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"`
	// contains filtered or unexported fields
}

Describes the actions associated with a rule.

func (Action) GoString

func (s Action) GoString() string

GoString returns the string representation

func (*Action) SetCloudwatchAlarm

func (s *Action) SetCloudwatchAlarm(v *CloudwatchAlarmAction) *Action

SetCloudwatchAlarm sets the CloudwatchAlarm field's value.

func (*Action) SetCloudwatchMetric

func (s *Action) SetCloudwatchMetric(v *CloudwatchMetricAction) *Action

SetCloudwatchMetric sets the CloudwatchMetric field's value.

func (*Action) SetDynamoDB

func (s *Action) SetDynamoDB(v *DynamoDBAction) *Action

SetDynamoDB sets the DynamoDB field's value.

func (*Action) SetDynamoDBv2

func (s *Action) SetDynamoDBv2(v *DynamoDBv2Action) *Action

SetDynamoDBv2 sets the DynamoDBv2 field's value.

func (*Action) SetElasticsearch

func (s *Action) SetElasticsearch(v *ElasticsearchAction) *Action

SetElasticsearch sets the Elasticsearch field's value.

func (*Action) SetFirehose

func (s *Action) SetFirehose(v *FirehoseAction) *Action

SetFirehose sets the Firehose field's value.

func (*Action) SetKinesis

func (s *Action) SetKinesis(v *KinesisAction) *Action

SetKinesis sets the Kinesis field's value.

func (*Action) SetLambda

func (s *Action) SetLambda(v *LambdaAction) *Action

SetLambda sets the Lambda field's value.

func (*Action) SetRepublish

func (s *Action) SetRepublish(v *RepublishAction) *Action

SetRepublish sets the Republish field's value.

func (*Action) SetS3

func (s *Action) SetS3(v *S3Action) *Action

SetS3 sets the S3 field's value.

func (*Action) SetSalesforce

func (s *Action) SetSalesforce(v *SalesforceAction) *Action

SetSalesforce sets the Salesforce field's value.

func (*Action) SetSns

func (s *Action) SetSns(v *SnsAction) *Action

SetSns sets the Sns field's value.

func (*Action) SetSqs

func (s *Action) SetSqs(v *SqsAction) *Action

SetSqs sets the Sqs field's value.

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

type AddThingToThingGroupInput

type AddThingToThingGroupInput struct {

	// 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) GoString

func (s AddThingToThingGroupInput) GoString() string

GoString returns the string representation

func (*AddThingToThingGroupInput) SetThingArn

SetThingArn sets the ThingArn field's value.

func (*AddThingToThingGroupInput) SetThingGroupArn

SetThingGroupArn sets the ThingGroupArn field's value.

func (*AddThingToThingGroupInput) SetThingGroupName

SetThingGroupName sets the ThingGroupName field's value.

func (*AddThingToThingGroupInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

func (s AddThingToThingGroupOutput) GoString() string

GoString returns the string representation

func (AddThingToThingGroupOutput) SDKResponseMetadata

func (s AddThingToThingGroupOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AddThingToThingGroupOutput) String

String returns the string representation

type AddThingToThingGroupRequest

type AddThingToThingGroupRequest struct {
	*aws.Request
	Input *AddThingToThingGroupInput
}

AddThingToThingGroupRequest is a API request type for the AddThingToThingGroup API operation.

func (AddThingToThingGroupRequest) Send

Send marshals and sends the AddThingToThingGroup API request.

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) GoString

func (s Allowed) GoString() string

GoString returns the string representation

func (*Allowed) SetPolicies

func (s *Allowed) SetPolicies(v []Policy) *Allowed

SetPolicies sets the Policies field's value.

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) GoString

func (s AssociateTargetsWithJobInput) GoString() string

GoString returns the string representation

func (*AssociateTargetsWithJobInput) SetComment

SetComment sets the Comment field's value.

func (*AssociateTargetsWithJobInput) SetJobId

SetJobId sets the JobId field's value.

func (*AssociateTargetsWithJobInput) SetTargets

SetTargets sets the Targets field's value.

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) GoString

GoString returns the string representation

func (AssociateTargetsWithJobOutput) SDKResponseMetadata

func (s AssociateTargetsWithJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*AssociateTargetsWithJobOutput) SetDescription

SetDescription sets the Description field's value.

func (*AssociateTargetsWithJobOutput) SetJobArn

SetJobArn sets the JobArn field's value.

func (*AssociateTargetsWithJobOutput) SetJobId

SetJobId sets the JobId field's value.

func (AssociateTargetsWithJobOutput) String

String returns the string representation

type AssociateTargetsWithJobRequest

type AssociateTargetsWithJobRequest struct {
	*aws.Request
	Input *AssociateTargetsWithJobInput
}

AssociateTargetsWithJobRequest is a API request type for the AssociateTargetsWithJob API operation.

func (AssociateTargetsWithJobRequest) Send

Send marshals and sends the AssociateTargetsWithJob API 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 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) GoString

func (s AttachPolicyInput) GoString() string

GoString returns the string representation

func (*AttachPolicyInput) SetPolicyName

func (s *AttachPolicyInput) SetPolicyName(v string) *AttachPolicyInput

SetPolicyName sets the PolicyName field's value.

func (*AttachPolicyInput) SetTarget

func (s *AttachPolicyInput) SetTarget(v string) *AttachPolicyInput

SetTarget sets the Target field's value.

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) GoString

func (s AttachPolicyOutput) GoString() string

GoString returns the string representation

func (AttachPolicyOutput) SDKResponseMetadata

func (s AttachPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachPolicyOutput) String

func (s AttachPolicyOutput) String() string

String returns the string representation

type AttachPolicyRequest

type AttachPolicyRequest struct {
	*aws.Request
	Input *AttachPolicyInput
}

AttachPolicyRequest is a API request type for the AttachPolicy API operation.

func (AttachPolicyRequest) Send

Send marshals and sends the AttachPolicy API 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) GoString

func (s AttachPrincipalPolicyInput) GoString() string

GoString returns the string representation

func (*AttachPrincipalPolicyInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*AttachPrincipalPolicyInput) SetPrincipal

SetPrincipal sets the Principal field's value.

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) GoString

func (s AttachPrincipalPolicyOutput) GoString() string

GoString returns the string representation

func (AttachPrincipalPolicyOutput) SDKResponseMetadata

func (s AttachPrincipalPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachPrincipalPolicyOutput) String

String returns the string representation

type AttachPrincipalPolicyRequest

type AttachPrincipalPolicyRequest struct {
	*aws.Request
	Input *AttachPrincipalPolicyInput
}

AttachPrincipalPolicyRequest is a API request type for the AttachPrincipalPolicy API operation.

func (AttachPrincipalPolicyRequest) Send

Send marshals and sends the AttachPrincipalPolicy API 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) GoString

func (s AttachThingPrincipalInput) GoString() string

GoString returns the string representation

func (*AttachThingPrincipalInput) SetPrincipal

SetPrincipal sets the Principal field's value.

func (*AttachThingPrincipalInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

func (s AttachThingPrincipalOutput) GoString() string

GoString returns the string representation

func (AttachThingPrincipalOutput) SDKResponseMetadata

func (s AttachThingPrincipalOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachThingPrincipalOutput) String

String returns the string representation

type AttachThingPrincipalRequest

type AttachThingPrincipalRequest struct {
	*aws.Request
	Input *AttachThingPrincipalInput
}

AttachThingPrincipalRequest is a API request type for the AttachThingPrincipal API operation.

func (AttachThingPrincipalRequest) Send

Send marshals and sends the AttachThingPrincipal API 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.
	Merge *bool `locationName:"merge" type:"boolean"`
	// contains filtered or unexported fields
}

The attribute payload.

func (AttributePayload) GoString

func (s AttributePayload) GoString() string

GoString returns the string representation

func (*AttributePayload) SetAttributes

func (s *AttributePayload) SetAttributes(v map[string]string) *AttributePayload

SetAttributes sets the Attributes field's value.

func (*AttributePayload) SetMerge

func (s *AttributePayload) SetMerge(v bool) *AttributePayload

SetMerge sets the Merge field's value.

func (AttributePayload) String

func (s AttributePayload) String() string

String returns the string representation

type AuthDecision

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

Enum values for AuthDecision

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) GoString

func (s AuthInfo) GoString() string

GoString returns the string representation

func (*AuthInfo) SetActionType

func (s *AuthInfo) SetActionType(v ActionType) *AuthInfo

SetActionType sets the ActionType field's value.

func (*AuthInfo) SetResources

func (s *AuthInfo) SetResources(v []string) *AuthInfo

SetResources sets the Resources field's value.

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) GoString

func (s AuthResult) GoString() string

GoString returns the string representation

func (*AuthResult) SetAllowed

func (s *AuthResult) SetAllowed(v *Allowed) *AuthResult

SetAllowed sets the Allowed field's value.

func (*AuthResult) SetAuthDecision

func (s *AuthResult) SetAuthDecision(v AuthDecision) *AuthResult

SetAuthDecision sets the AuthDecision field's value.

func (*AuthResult) SetAuthInfo

func (s *AuthResult) SetAuthInfo(v *AuthInfo) *AuthResult

SetAuthInfo sets the AuthInfo field's value.

func (*AuthResult) SetDenied

func (s *AuthResult) SetDenied(v *Denied) *AuthResult

SetDenied sets the Denied field's value.

func (*AuthResult) SetMissingContextValues

func (s *AuthResult) SetMissingContextValues(v []string) *AuthResult

SetMissingContextValues sets the MissingContextValues field's value.

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" timestampFormat:"unix"`

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

	// 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) GoString

func (s AuthorizerDescription) GoString() string

GoString returns the string representation

func (*AuthorizerDescription) SetAuthorizerArn

func (s *AuthorizerDescription) SetAuthorizerArn(v string) *AuthorizerDescription

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*AuthorizerDescription) SetAuthorizerFunctionArn

func (s *AuthorizerDescription) SetAuthorizerFunctionArn(v string) *AuthorizerDescription

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

func (*AuthorizerDescription) SetAuthorizerName

func (s *AuthorizerDescription) SetAuthorizerName(v string) *AuthorizerDescription

SetAuthorizerName sets the AuthorizerName field's value.

func (*AuthorizerDescription) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*AuthorizerDescription) SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*AuthorizerDescription) SetStatus

SetStatus sets the Status field's value.

func (*AuthorizerDescription) SetTokenKeyName

func (s *AuthorizerDescription) SetTokenKeyName(v string) *AuthorizerDescription

SetTokenKeyName sets the TokenKeyName field's value.

func (*AuthorizerDescription) SetTokenSigningPublicKeys

func (s *AuthorizerDescription) SetTokenSigningPublicKeys(v map[string]string) *AuthorizerDescription

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

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

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) GoString

func (s AuthorizerSummary) GoString() string

GoString returns the string representation

func (*AuthorizerSummary) SetAuthorizerArn

func (s *AuthorizerSummary) SetAuthorizerArn(v string) *AuthorizerSummary

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*AuthorizerSummary) SetAuthorizerName

func (s *AuthorizerSummary) SetAuthorizerName(v string) *AuthorizerSummary

SetAuthorizerName sets the AuthorizerName field's value.

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

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" timestampFormat:"unix"`

	// 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) GoString

func (s CACertificate) GoString() string

GoString returns the string representation

func (*CACertificate) SetCertificateArn

func (s *CACertificate) SetCertificateArn(v string) *CACertificate

SetCertificateArn sets the CertificateArn field's value.

func (*CACertificate) SetCertificateId

func (s *CACertificate) SetCertificateId(v string) *CACertificate

SetCertificateId sets the CertificateId field's value.

func (*CACertificate) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*CACertificate) SetStatus

SetStatus sets the Status field's value.

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" timestampFormat:"unix"`

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

	// The status of a CA certificate.
	Status CACertificateStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes a CA certificate.

func (CACertificateDescription) GoString

func (s CACertificateDescription) GoString() string

GoString returns the string representation

func (*CACertificateDescription) SetAutoRegistrationStatus

SetAutoRegistrationStatus sets the AutoRegistrationStatus field's value.

func (*CACertificateDescription) SetCertificateArn

func (s *CACertificateDescription) SetCertificateArn(v string) *CACertificateDescription

SetCertificateArn sets the CertificateArn field's value.

func (*CACertificateDescription) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (*CACertificateDescription) SetCertificatePem

func (s *CACertificateDescription) SetCertificatePem(v string) *CACertificateDescription

SetCertificatePem sets the CertificatePem field's value.

func (*CACertificateDescription) SetCreationDate

SetCreationDate sets the CreationDate field's value.

func (*CACertificateDescription) SetOwnedBy

SetOwnedBy sets the OwnedBy field's value.

func (*CACertificateDescription) SetStatus

SetStatus sets the Status field's value.

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

type CancelCertificateTransferInput

type CancelCertificateTransferInput struct {

	// The ID of the certificate.
	//
	// 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) GoString

GoString returns the string representation

func (*CancelCertificateTransferInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

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) GoString

GoString returns the string representation

func (CancelCertificateTransferOutput) SDKResponseMetadata

func (s CancelCertificateTransferOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CancelCertificateTransferOutput) String

String returns the string representation

type CancelCertificateTransferRequest

type CancelCertificateTransferRequest struct {
	*aws.Request
	Input *CancelCertificateTransferInput
}

CancelCertificateTransferRequest is a API request type for the CancelCertificateTransfer API operation.

func (CancelCertificateTransferRequest) Send

Send marshals and sends the CancelCertificateTransfer API request.

type CancelJobInput

type CancelJobInput struct {

	// An optional comment string describing why the job was canceled.
	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"`
	// contains filtered or unexported fields
}

func (CancelJobInput) GoString

func (s CancelJobInput) GoString() string

GoString returns the string representation

func (*CancelJobInput) SetComment

func (s *CancelJobInput) SetComment(v string) *CancelJobInput

SetComment sets the Comment field's value.

func (*CancelJobInput) SetJobId

func (s *CancelJobInput) SetJobId(v string) *CancelJobInput

SetJobId sets the JobId field's value.

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) GoString

func (s CancelJobOutput) GoString() string

GoString returns the string representation

func (CancelJobOutput) SDKResponseMetadata

func (s CancelJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CancelJobOutput) SetDescription

func (s *CancelJobOutput) SetDescription(v string) *CancelJobOutput

SetDescription sets the Description field's value.

func (*CancelJobOutput) SetJobArn

func (s *CancelJobOutput) SetJobArn(v string) *CancelJobOutput

SetJobArn sets the JobArn field's value.

func (*CancelJobOutput) SetJobId

func (s *CancelJobOutput) SetJobId(v string) *CancelJobOutput

SetJobId sets the JobId field's value.

func (CancelJobOutput) String

func (s CancelJobOutput) String() string

String returns the string representation

type CancelJobRequest

type CancelJobRequest struct {
	*aws.Request
	Input *CancelJobInput
}

CancelJobRequest is a API request type for the CancelJob API operation.

func (CancelJobRequest) Send

func (r CancelJobRequest) Send() (*CancelJobOutput, error)

Send marshals and sends the CancelJob API 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

type Certificate

type Certificate struct {

	// 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 date and time the certificate was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"`

	// 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) GoString

func (s Certificate) GoString() string

GoString returns the string representation

func (*Certificate) SetCertificateArn

func (s *Certificate) SetCertificateArn(v string) *Certificate

SetCertificateArn sets the CertificateArn field's value.

func (*Certificate) SetCertificateId

func (s *Certificate) SetCertificateId(v string) *Certificate

SetCertificateId sets the CertificateId field's value.

func (*Certificate) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*Certificate) SetStatus

func (s *Certificate) SetStatus(v CertificateStatus) *Certificate

SetStatus sets the Status field's value.

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" timestampFormat:"unix"`

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

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

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

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

	// The transfer data.
	TransferData *TransferData `locationName:"transferData" type:"structure"`
	// contains filtered or unexported fields
}

Describes a certificate.

func (CertificateDescription) GoString

func (s CertificateDescription) GoString() string

GoString returns the string representation

func (*CertificateDescription) SetCaCertificateId

func (s *CertificateDescription) SetCaCertificateId(v string) *CertificateDescription

SetCaCertificateId sets the CaCertificateId field's value.

func (*CertificateDescription) SetCertificateArn

func (s *CertificateDescription) SetCertificateArn(v string) *CertificateDescription

SetCertificateArn sets the CertificateArn field's value.

func (*CertificateDescription) SetCertificateId

func (s *CertificateDescription) SetCertificateId(v string) *CertificateDescription

SetCertificateId sets the CertificateId field's value.

func (*CertificateDescription) SetCertificatePem

func (s *CertificateDescription) SetCertificatePem(v string) *CertificateDescription

SetCertificatePem sets the CertificatePem field's value.

func (*CertificateDescription) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*CertificateDescription) SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*CertificateDescription) SetOwnedBy

SetOwnedBy sets the OwnedBy field's value.

func (*CertificateDescription) SetPreviousOwnedBy

func (s *CertificateDescription) SetPreviousOwnedBy(v string) *CertificateDescription

SetPreviousOwnedBy sets the PreviousOwnedBy field's value.

func (*CertificateDescription) SetStatus

SetStatus sets the Status field's value.

func (*CertificateDescription) SetTransferData

SetTransferData sets the TransferData field's value.

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

type ClearDefaultAuthorizerInput

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

func (ClearDefaultAuthorizerInput) GoString

func (s ClearDefaultAuthorizerInput) GoString() string

GoString returns the string representation

func (ClearDefaultAuthorizerInput) String

String returns the string representation

type ClearDefaultAuthorizerOutput

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

func (ClearDefaultAuthorizerOutput) GoString

func (s ClearDefaultAuthorizerOutput) GoString() string

GoString returns the string representation

func (ClearDefaultAuthorizerOutput) SDKResponseMetadata

func (s ClearDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ClearDefaultAuthorizerOutput) String

String returns the string representation

type ClearDefaultAuthorizerRequest

type ClearDefaultAuthorizerRequest struct {
	*aws.Request
	Input *ClearDefaultAuthorizerInput
}

ClearDefaultAuthorizerRequest is a API request type for the ClearDefaultAuthorizer API operation.

func (ClearDefaultAuthorizerRequest) Send

Send marshals and sends the ClearDefaultAuthorizer API request.

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) GoString

func (s CloudwatchAlarmAction) GoString() string

GoString returns the string representation

func (*CloudwatchAlarmAction) SetAlarmName

SetAlarmName sets the AlarmName field's value.

func (*CloudwatchAlarmAction) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*CloudwatchAlarmAction) SetStateReason

func (s *CloudwatchAlarmAction) SetStateReason(v string) *CloudwatchAlarmAction

SetStateReason sets the StateReason field's value.

func (*CloudwatchAlarmAction) SetStateValue

func (s *CloudwatchAlarmAction) SetStateValue(v string) *CloudwatchAlarmAction

SetStateValue sets the StateValue field's value.

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 (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
	MetricTimestamp *string `locationName:"metricTimestamp" type:"string"`

	// The metric unit (http://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) GoString

func (s CloudwatchMetricAction) GoString() string

GoString returns the string representation

func (*CloudwatchMetricAction) SetMetricName

SetMetricName sets the MetricName field's value.

func (*CloudwatchMetricAction) SetMetricNamespace

func (s *CloudwatchMetricAction) SetMetricNamespace(v string) *CloudwatchMetricAction

SetMetricNamespace sets the MetricNamespace field's value.

func (*CloudwatchMetricAction) SetMetricTimestamp

func (s *CloudwatchMetricAction) SetMetricTimestamp(v string) *CloudwatchMetricAction

SetMetricTimestamp sets the MetricTimestamp field's value.

func (*CloudwatchMetricAction) SetMetricUnit

SetMetricUnit sets the MetricUnit field's value.

func (*CloudwatchMetricAction) SetMetricValue

SetMetricValue sets the MetricValue field's value.

func (*CloudwatchMetricAction) SetRoleArn

SetRoleArn sets the RoleArn field's value.

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"`
	// contains filtered or unexported fields
}

Describes the method to use when code signing a file.

func (CodeSigning) GoString

func (s CodeSigning) GoString() string

GoString returns the string representation

func (*CodeSigning) SetAwsSignerJobId

func (s *CodeSigning) SetAwsSignerJobId(v string) *CodeSigning

SetAwsSignerJobId sets the AwsSignerJobId field's value.

func (*CodeSigning) SetCustomCodeSigning

func (s *CodeSigning) SetCustomCodeSigning(v *CustomCodeSigning) *CodeSigning

SetCustomCodeSigning sets the CustomCodeSigning field's value.

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"`

	// A stream of the certificate chain files.
	Stream *Stream `locationName:"stream" type:"structure"`
	// contains filtered or unexported fields
}

Describes the certificate chain being used when code signing a file.

func (CodeSigningCertificateChain) GoString

func (s CodeSigningCertificateChain) GoString() string

GoString returns the string representation

func (*CodeSigningCertificateChain) SetCertificateName

SetCertificateName sets the CertificateName field's value.

func (*CodeSigningCertificateChain) SetInlineDocument

SetInlineDocument sets the InlineDocument field's value.

func (*CodeSigningCertificateChain) SetStream

SetStream sets the Stream field's value.

func (CodeSigningCertificateChain) String

String returns the string representation

func (*CodeSigningCertificateChain) Validate

func (s *CodeSigningCertificateChain) Validate() error

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

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"`

	// A stream of the code signing signature.
	Stream *Stream `locationName:"stream" type:"structure"`
	// contains filtered or unexported fields
}

Describes the signature for a file.

func (CodeSigningSignature) GoString

func (s CodeSigningSignature) GoString() string

GoString returns the string representation

func (*CodeSigningSignature) SetInlineDocument

func (s *CodeSigningSignature) SetInlineDocument(v []byte) *CodeSigningSignature

SetInlineDocument sets the InlineDocument field's value.

func (*CodeSigningSignature) SetStream

SetStream sets the Stream field's value.

func (CodeSigningSignature) String

func (s CodeSigningSignature) String() string

String returns the string representation

func (*CodeSigningSignature) Validate

func (s *CodeSigningSignature) Validate() error

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

type Configuration

type Configuration struct {

	// True to enable the configuration.
	Enabled *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Configuration.

func (Configuration) GoString

func (s Configuration) GoString() string

GoString returns the string representation

func (*Configuration) SetEnabled

func (s *Configuration) SetEnabled(v bool) *Configuration

SetEnabled sets the Enabled field's value.

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) GoString

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerInput) SetAuthorizerFunctionArn

func (s *CreateAuthorizerInput) SetAuthorizerFunctionArn(v string) *CreateAuthorizerInput

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

func (*CreateAuthorizerInput) SetAuthorizerName

func (s *CreateAuthorizerInput) SetAuthorizerName(v string) *CreateAuthorizerInput

SetAuthorizerName sets the AuthorizerName field's value.

func (*CreateAuthorizerInput) SetStatus

SetStatus sets the Status field's value.

func (*CreateAuthorizerInput) SetTokenKeyName

func (s *CreateAuthorizerInput) SetTokenKeyName(v string) *CreateAuthorizerInput

SetTokenKeyName sets the TokenKeyName field's value.

func (*CreateAuthorizerInput) SetTokenSigningPublicKeys

func (s *CreateAuthorizerInput) SetTokenSigningPublicKeys(v map[string]string) *CreateAuthorizerInput

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

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) GoString

func (s CreateAuthorizerOutput) GoString() string

GoString returns the string representation

func (CreateAuthorizerOutput) SDKResponseMetadata

func (s CreateAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateAuthorizerOutput) SetAuthorizerArn

func (s *CreateAuthorizerOutput) SetAuthorizerArn(v string) *CreateAuthorizerOutput

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*CreateAuthorizerOutput) SetAuthorizerName

func (s *CreateAuthorizerOutput) SetAuthorizerName(v string) *CreateAuthorizerOutput

SetAuthorizerName sets the AuthorizerName field's value.

func (CreateAuthorizerOutput) String

func (s CreateAuthorizerOutput) String() string

String returns the string representation

type CreateAuthorizerRequest

type CreateAuthorizerRequest struct {
	*aws.Request
	Input *CreateAuthorizerInput
}

CreateAuthorizerRequest is a API request type for the CreateAuthorizer API operation.

func (CreateAuthorizerRequest) Send

Send marshals and sends the CreateAuthorizer API 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) GoString

GoString returns the string representation

func (*CreateCertificateFromCsrInput) SetCertificateSigningRequest

func (s *CreateCertificateFromCsrInput) SetCertificateSigningRequest(v string) *CreateCertificateFromCsrInput

SetCertificateSigningRequest sets the CertificateSigningRequest field's value.

func (*CreateCertificateFromCsrInput) SetSetAsActive

SetSetAsActive sets the SetAsActive field's value.

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) GoString

GoString returns the string representation

func (CreateCertificateFromCsrOutput) SDKResponseMetadata

func (s CreateCertificateFromCsrOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateCertificateFromCsrOutput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*CreateCertificateFromCsrOutput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (*CreateCertificateFromCsrOutput) SetCertificatePem

SetCertificatePem sets the CertificatePem field's value.

func (CreateCertificateFromCsrOutput) String

String returns the string representation

type CreateCertificateFromCsrRequest

type CreateCertificateFromCsrRequest struct {
	*aws.Request
	Input *CreateCertificateFromCsrInput
}

CreateCertificateFromCsrRequest is a API request type for the CreateCertificateFromCsr API operation.

func (CreateCertificateFromCsrRequest) Send

Send marshals and sends the CreateCertificateFromCsr API request.

type CreateJobInput

type CreateJobInput struct {

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

	// The job document.
	Document *string `locationName:"document" type:"string"`

	// Parameters for the job document.
	DocumentParameters map[string]string `locationName:"documentParameters" type:"map"`

	// 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"`

	// 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"`
	// contains filtered or unexported fields
}

func (CreateJobInput) GoString

func (s CreateJobInput) GoString() string

GoString returns the string representation

func (*CreateJobInput) SetDescription

func (s *CreateJobInput) SetDescription(v string) *CreateJobInput

SetDescription sets the Description field's value.

func (*CreateJobInput) SetDocument

func (s *CreateJobInput) SetDocument(v string) *CreateJobInput

SetDocument sets the Document field's value.

func (*CreateJobInput) SetDocumentParameters

func (s *CreateJobInput) SetDocumentParameters(v map[string]string) *CreateJobInput

SetDocumentParameters sets the DocumentParameters field's value.

func (*CreateJobInput) SetDocumentSource

func (s *CreateJobInput) SetDocumentSource(v string) *CreateJobInput

SetDocumentSource sets the DocumentSource field's value.

func (*CreateJobInput) SetJobExecutionsRolloutConfig

func (s *CreateJobInput) SetJobExecutionsRolloutConfig(v *JobExecutionsRolloutConfig) *CreateJobInput

SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value.

func (*CreateJobInput) SetJobId

func (s *CreateJobInput) SetJobId(v string) *CreateJobInput

SetJobId sets the JobId field's value.

func (*CreateJobInput) SetPresignedUrlConfig

func (s *CreateJobInput) SetPresignedUrlConfig(v *PresignedUrlConfig) *CreateJobInput

SetPresignedUrlConfig sets the PresignedUrlConfig field's value.

func (*CreateJobInput) SetTargetSelection

func (s *CreateJobInput) SetTargetSelection(v TargetSelection) *CreateJobInput

SetTargetSelection sets the TargetSelection field's value.

func (*CreateJobInput) SetTargets

func (s *CreateJobInput) SetTargets(v []string) *CreateJobInput

SetTargets sets the Targets field's value.

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) GoString

func (s CreateJobOutput) GoString() string

GoString returns the string representation

func (CreateJobOutput) SDKResponseMetadata

func (s CreateJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateJobOutput) SetDescription

func (s *CreateJobOutput) SetDescription(v string) *CreateJobOutput

SetDescription sets the Description field's value.

func (*CreateJobOutput) SetJobArn

func (s *CreateJobOutput) SetJobArn(v string) *CreateJobOutput

SetJobArn sets the JobArn field's value.

func (*CreateJobOutput) SetJobId

func (s *CreateJobOutput) SetJobId(v string) *CreateJobOutput

SetJobId sets the JobId field's value.

func (CreateJobOutput) String

func (s CreateJobOutput) String() string

String returns the string representation

type CreateJobRequest

type CreateJobRequest struct {
	*aws.Request
	Input *CreateJobInput
}

CreateJobRequest is a API request type for the CreateJob API operation.

func (CreateJobRequest) Send

func (r CreateJobRequest) Send() (*CreateJobOutput, error)

Send marshals and sends the CreateJob API 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) GoString

GoString returns the string representation

func (*CreateKeysAndCertificateInput) SetSetAsActive

SetSetAsActive sets the SetAsActive field's value.

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) GoString

GoString returns the string representation

func (CreateKeysAndCertificateOutput) SDKResponseMetadata

func (s CreateKeysAndCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateKeysAndCertificateOutput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*CreateKeysAndCertificateOutput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (*CreateKeysAndCertificateOutput) SetCertificatePem

SetCertificatePem sets the CertificatePem field's value.

func (*CreateKeysAndCertificateOutput) SetKeyPair

SetKeyPair sets the KeyPair field's value.

func (CreateKeysAndCertificateOutput) String

String returns the string representation

type CreateKeysAndCertificateRequest

type CreateKeysAndCertificateRequest struct {
	*aws.Request
	Input *CreateKeysAndCertificateInput
}

CreateKeysAndCertificateRequest is a API request type for the CreateKeysAndCertificate API operation.

func (CreateKeysAndCertificateRequest) Send

Send marshals and sends the CreateKeysAndCertificate API 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"`

	// 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"`

	// 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) GoString

func (s CreateOTAUpdateInput) GoString() string

GoString returns the string representation

func (*CreateOTAUpdateInput) SetAdditionalParameters

func (s *CreateOTAUpdateInput) SetAdditionalParameters(v map[string]string) *CreateOTAUpdateInput

SetAdditionalParameters sets the AdditionalParameters field's value.

func (*CreateOTAUpdateInput) SetDescription

func (s *CreateOTAUpdateInput) SetDescription(v string) *CreateOTAUpdateInput

SetDescription sets the Description field's value.

func (*CreateOTAUpdateInput) SetFiles

SetFiles sets the Files field's value.

func (*CreateOTAUpdateInput) SetOtaUpdateId

func (s *CreateOTAUpdateInput) SetOtaUpdateId(v string) *CreateOTAUpdateInput

SetOtaUpdateId sets the OtaUpdateId field's value.

func (*CreateOTAUpdateInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*CreateOTAUpdateInput) SetTargetSelection

func (s *CreateOTAUpdateInput) SetTargetSelection(v TargetSelection) *CreateOTAUpdateInput

SetTargetSelection sets the TargetSelection field's value.

func (*CreateOTAUpdateInput) SetTargets

func (s *CreateOTAUpdateInput) SetTargets(v []string) *CreateOTAUpdateInput

SetTargets sets the Targets field's value.

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) GoString

func (s CreateOTAUpdateOutput) GoString() string

GoString returns the string representation

func (CreateOTAUpdateOutput) SDKResponseMetadata

func (s CreateOTAUpdateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateOTAUpdateOutput) SetAwsIotJobArn

func (s *CreateOTAUpdateOutput) SetAwsIotJobArn(v string) *CreateOTAUpdateOutput

SetAwsIotJobArn sets the AwsIotJobArn field's value.

func (*CreateOTAUpdateOutput) SetAwsIotJobId

func (s *CreateOTAUpdateOutput) SetAwsIotJobId(v string) *CreateOTAUpdateOutput

SetAwsIotJobId sets the AwsIotJobId field's value.

func (*CreateOTAUpdateOutput) SetOtaUpdateArn

func (s *CreateOTAUpdateOutput) SetOtaUpdateArn(v string) *CreateOTAUpdateOutput

SetOtaUpdateArn sets the OtaUpdateArn field's value.

func (*CreateOTAUpdateOutput) SetOtaUpdateId

func (s *CreateOTAUpdateOutput) SetOtaUpdateId(v string) *CreateOTAUpdateOutput

SetOtaUpdateId sets the OtaUpdateId field's value.

func (*CreateOTAUpdateOutput) SetOtaUpdateStatus

SetOtaUpdateStatus sets the OtaUpdateStatus field's value.

func (CreateOTAUpdateOutput) String

func (s CreateOTAUpdateOutput) String() string

String returns the string representation

type CreateOTAUpdateRequest

type CreateOTAUpdateRequest struct {
	*aws.Request
	Input *CreateOTAUpdateInput
}

CreateOTAUpdateRequest is a API request type for the CreateOTAUpdate API operation.

func (CreateOTAUpdateRequest) Send

Send marshals and sends the CreateOTAUpdate API 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) GoString

func (s CreatePolicyInput) GoString() string

GoString returns the string representation

func (*CreatePolicyInput) SetPolicyDocument

func (s *CreatePolicyInput) SetPolicyDocument(v string) *CreatePolicyInput

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyInput) SetPolicyName

func (s *CreatePolicyInput) SetPolicyName(v string) *CreatePolicyInput

SetPolicyName sets the PolicyName field's value.

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) GoString

func (s CreatePolicyOutput) GoString() string

GoString returns the string representation

func (CreatePolicyOutput) SDKResponseMetadata

func (s CreatePolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreatePolicyOutput) SetPolicyArn

func (s *CreatePolicyOutput) SetPolicyArn(v string) *CreatePolicyOutput

SetPolicyArn sets the PolicyArn field's value.

func (*CreatePolicyOutput) SetPolicyDocument

func (s *CreatePolicyOutput) SetPolicyDocument(v string) *CreatePolicyOutput

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyOutput) SetPolicyName

func (s *CreatePolicyOutput) SetPolicyName(v string) *CreatePolicyOutput

SetPolicyName sets the PolicyName field's value.

func (*CreatePolicyOutput) SetPolicyVersionId

func (s *CreatePolicyOutput) SetPolicyVersionId(v string) *CreatePolicyOutput

SetPolicyVersionId sets the PolicyVersionId field's value.

func (CreatePolicyOutput) String

func (s CreatePolicyOutput) String() string

String returns the string representation

type CreatePolicyRequest

type CreatePolicyRequest struct {
	*aws.Request
	Input *CreatePolicyInput
}

CreatePolicyRequest is a API request type for the CreatePolicy API operation.

func (CreatePolicyRequest) Send

Send marshals and sends the CreatePolicy API 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) GoString

func (s CreatePolicyVersionInput) GoString() string

GoString returns the string representation

func (*CreatePolicyVersionInput) SetPolicyDocument

func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyVersionInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*CreatePolicyVersionInput) SetSetAsDefault

SetSetAsDefault sets the SetAsDefault field's value.

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) GoString

func (s CreatePolicyVersionOutput) GoString() string

GoString returns the string representation

func (CreatePolicyVersionOutput) SDKResponseMetadata

func (s CreatePolicyVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreatePolicyVersionOutput) SetIsDefaultVersion

func (s *CreatePolicyVersionOutput) SetIsDefaultVersion(v bool) *CreatePolicyVersionOutput

SetIsDefaultVersion sets the IsDefaultVersion field's value.

func (*CreatePolicyVersionOutput) SetPolicyArn

SetPolicyArn sets the PolicyArn field's value.

func (*CreatePolicyVersionOutput) SetPolicyDocument

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyVersionOutput) SetPolicyVersionId

SetPolicyVersionId sets the PolicyVersionId field's value.

func (CreatePolicyVersionOutput) String

func (s CreatePolicyVersionOutput) String() string

String returns the string representation

type CreatePolicyVersionRequest

type CreatePolicyVersionRequest struct {
	*aws.Request
	Input *CreatePolicyVersionInput
}

CreatePolicyVersionRequest is a API request type for the CreatePolicyVersion API operation.

func (CreatePolicyVersionRequest) Send

Send marshals and sends the CreatePolicyVersion API 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) GoString

func (s CreateRoleAliasInput) GoString() string

GoString returns the string representation

func (*CreateRoleAliasInput) SetCredentialDurationSeconds

func (s *CreateRoleAliasInput) SetCredentialDurationSeconds(v int64) *CreateRoleAliasInput

SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value.

func (*CreateRoleAliasInput) SetRoleAlias

func (s *CreateRoleAliasInput) SetRoleAlias(v string) *CreateRoleAliasInput

SetRoleAlias sets the RoleAlias field's value.

func (*CreateRoleAliasInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

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) GoString

func (s CreateRoleAliasOutput) GoString() string

GoString returns the string representation

func (CreateRoleAliasOutput) SDKResponseMetadata

func (s CreateRoleAliasOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateRoleAliasOutput) SetRoleAlias

SetRoleAlias sets the RoleAlias field's value.

func (*CreateRoleAliasOutput) SetRoleAliasArn

func (s *CreateRoleAliasOutput) SetRoleAliasArn(v string) *CreateRoleAliasOutput

SetRoleAliasArn sets the RoleAliasArn field's value.

func (CreateRoleAliasOutput) String

func (s CreateRoleAliasOutput) String() string

String returns the string representation

type CreateRoleAliasRequest

type CreateRoleAliasRequest struct {
	*aws.Request
	Input *CreateRoleAliasInput
}

CreateRoleAliasRequest is a API request type for the CreateRoleAlias API operation.

func (CreateRoleAliasRequest) Send

Send marshals and sends the CreateRoleAlias API 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"`
	// contains filtered or unexported fields
}

func (CreateStreamInput) GoString

func (s CreateStreamInput) GoString() string

GoString returns the string representation

func (*CreateStreamInput) SetDescription

func (s *CreateStreamInput) SetDescription(v string) *CreateStreamInput

SetDescription sets the Description field's value.

func (*CreateStreamInput) SetFiles

SetFiles sets the Files field's value.

func (*CreateStreamInput) SetRoleArn

func (s *CreateStreamInput) SetRoleArn(v string) *CreateStreamInput

SetRoleArn sets the RoleArn field's value.

func (*CreateStreamInput) SetStreamId

func (s *CreateStreamInput) SetStreamId(v string) *CreateStreamInput

SetStreamId sets the StreamId field's value.

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) GoString

func (s CreateStreamOutput) GoString() string

GoString returns the string representation

func (CreateStreamOutput) SDKResponseMetadata

func (s CreateStreamOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateStreamOutput) SetDescription

func (s *CreateStreamOutput) SetDescription(v string) *CreateStreamOutput

SetDescription sets the Description field's value.

func (*CreateStreamOutput) SetStreamArn

func (s *CreateStreamOutput) SetStreamArn(v string) *CreateStreamOutput

SetStreamArn sets the StreamArn field's value.

func (*CreateStreamOutput) SetStreamId

func (s *CreateStreamOutput) SetStreamId(v string) *CreateStreamOutput

SetStreamId sets the StreamId field's value.

func (*CreateStreamOutput) SetStreamVersion

func (s *CreateStreamOutput) SetStreamVersion(v int64) *CreateStreamOutput

SetStreamVersion sets the StreamVersion field's value.

func (CreateStreamOutput) String

func (s CreateStreamOutput) String() string

String returns the string representation

type CreateStreamRequest

type CreateStreamRequest struct {
	*aws.Request
	Input *CreateStreamInput
}

CreateStreamRequest is a API request type for the CreateStream API operation.

func (CreateStreamRequest) Send

Send marshals and sends the CreateStream API request.

type CreateThingGroupInput

type CreateThingGroupInput struct {

	// The name of the parent thing group.
	ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"`

	// 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) GoString

func (s CreateThingGroupInput) GoString() string

GoString returns the string representation

func (*CreateThingGroupInput) SetParentGroupName

func (s *CreateThingGroupInput) SetParentGroupName(v string) *CreateThingGroupInput

SetParentGroupName sets the ParentGroupName field's value.

func (*CreateThingGroupInput) SetThingGroupName

func (s *CreateThingGroupInput) SetThingGroupName(v string) *CreateThingGroupInput

SetThingGroupName sets the ThingGroupName field's value.

func (*CreateThingGroupInput) SetThingGroupProperties

func (s *CreateThingGroupInput) SetThingGroupProperties(v *ThingGroupProperties) *CreateThingGroupInput

SetThingGroupProperties sets the ThingGroupProperties field's value.

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) GoString

func (s CreateThingGroupOutput) GoString() string

GoString returns the string representation

func (CreateThingGroupOutput) SDKResponseMetadata

func (s CreateThingGroupOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateThingGroupOutput) SetThingGroupArn

func (s *CreateThingGroupOutput) SetThingGroupArn(v string) *CreateThingGroupOutput

SetThingGroupArn sets the ThingGroupArn field's value.

func (*CreateThingGroupOutput) SetThingGroupId

func (s *CreateThingGroupOutput) SetThingGroupId(v string) *CreateThingGroupOutput

SetThingGroupId sets the ThingGroupId field's value.

func (*CreateThingGroupOutput) SetThingGroupName

func (s *CreateThingGroupOutput) SetThingGroupName(v string) *CreateThingGroupOutput

SetThingGroupName sets the ThingGroupName field's value.

func (CreateThingGroupOutput) String

func (s CreateThingGroupOutput) String() string

String returns the string representation

type CreateThingGroupRequest

type CreateThingGroupRequest struct {
	*aws.Request
	Input *CreateThingGroupInput
}

CreateThingGroupRequest is a API request type for the CreateThingGroup API operation.

func (CreateThingGroupRequest) Send

Send marshals and sends the CreateThingGroup API 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 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) GoString

func (s CreateThingInput) GoString() string

GoString returns the string representation

func (*CreateThingInput) SetAttributePayload

func (s *CreateThingInput) SetAttributePayload(v *AttributePayload) *CreateThingInput

SetAttributePayload sets the AttributePayload field's value.

func (*CreateThingInput) SetThingName

func (s *CreateThingInput) SetThingName(v string) *CreateThingInput

SetThingName sets the ThingName field's value.

func (*CreateThingInput) SetThingTypeName

func (s *CreateThingInput) SetThingTypeName(v string) *CreateThingInput

SetThingTypeName sets the ThingTypeName field's value.

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) GoString

func (s CreateThingOutput) GoString() string

GoString returns the string representation

func (CreateThingOutput) SDKResponseMetadata

func (s CreateThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateThingOutput) SetThingArn

func (s *CreateThingOutput) SetThingArn(v string) *CreateThingOutput

SetThingArn sets the ThingArn field's value.

func (*CreateThingOutput) SetThingId

func (s *CreateThingOutput) SetThingId(v string) *CreateThingOutput

SetThingId sets the ThingId field's value.

func (*CreateThingOutput) SetThingName

func (s *CreateThingOutput) SetThingName(v string) *CreateThingOutput

SetThingName sets the ThingName field's value.

func (CreateThingOutput) String

func (s CreateThingOutput) String() string

String returns the string representation

type CreateThingRequest

type CreateThingRequest struct {
	*aws.Request
	Input *CreateThingInput
}

CreateThingRequest is a API request type for the CreateThing API operation.

func (CreateThingRequest) Send

Send marshals and sends the CreateThing API request.

type CreateThingTypeInput

type CreateThingTypeInput struct {

	// 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) GoString

func (s CreateThingTypeInput) GoString() string

GoString returns the string representation

func (*CreateThingTypeInput) SetThingTypeName

func (s *CreateThingTypeInput) SetThingTypeName(v string) *CreateThingTypeInput

SetThingTypeName sets the ThingTypeName field's value.

func (*CreateThingTypeInput) SetThingTypeProperties

func (s *CreateThingTypeInput) SetThingTypeProperties(v *ThingTypeProperties) *CreateThingTypeInput

SetThingTypeProperties sets the ThingTypeProperties field's value.

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) GoString

func (s CreateThingTypeOutput) GoString() string

GoString returns the string representation

func (CreateThingTypeOutput) SDKResponseMetadata

func (s CreateThingTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*CreateThingTypeOutput) SetThingTypeArn

func (s *CreateThingTypeOutput) SetThingTypeArn(v string) *CreateThingTypeOutput

SetThingTypeArn sets the ThingTypeArn field's value.

func (*CreateThingTypeOutput) SetThingTypeId

func (s *CreateThingTypeOutput) SetThingTypeId(v string) *CreateThingTypeOutput

SetThingTypeId sets the ThingTypeId field's value.

func (*CreateThingTypeOutput) SetThingTypeName

func (s *CreateThingTypeOutput) SetThingTypeName(v string) *CreateThingTypeOutput

SetThingTypeName sets the ThingTypeName field's value.

func (CreateThingTypeOutput) String

func (s CreateThingTypeOutput) String() string

String returns the string representation

type CreateThingTypeRequest

type CreateThingTypeRequest struct {
	*aws.Request
	Input *CreateThingTypeInput
}

CreateThingTypeRequest is a API request type for the CreateThingType API operation.

func (CreateThingTypeRequest) Send

Send marshals and sends the CreateThingType API 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"`

	// 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) GoString

func (s CreateTopicRuleInput) GoString() string

GoString returns the string representation

func (*CreateTopicRuleInput) SetRuleName

SetRuleName sets the RuleName field's value.

func (*CreateTopicRuleInput) SetTopicRulePayload

func (s *CreateTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *CreateTopicRuleInput

SetTopicRulePayload sets the TopicRulePayload field's value.

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) GoString

func (s CreateTopicRuleOutput) GoString() string

GoString returns the string representation

func (CreateTopicRuleOutput) SDKResponseMetadata

func (s CreateTopicRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateTopicRuleOutput) String

func (s CreateTopicRuleOutput) String() string

String returns the string representation

type CreateTopicRuleRequest

type CreateTopicRuleRequest struct {
	*aws.Request
	Input *CreateTopicRuleInput
}

CreateTopicRuleRequest is a API request type for the CreateTopicRule API operation.

func (CreateTopicRuleRequest) Send

Send marshals and sends the CreateTopicRule API 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) GoString

func (s CustomCodeSigning) GoString() string

GoString returns the string representation

func (*CustomCodeSigning) SetCertificateChain

SetCertificateChain sets the CertificateChain field's value.

func (*CustomCodeSigning) SetHashAlgorithm

func (s *CustomCodeSigning) SetHashAlgorithm(v string) *CustomCodeSigning

SetHashAlgorithm sets the HashAlgorithm field's value.

func (*CustomCodeSigning) SetSignature

SetSignature sets the Signature field's value.

func (*CustomCodeSigning) SetSignatureAlgorithm

func (s *CustomCodeSigning) SetSignatureAlgorithm(v string) *CustomCodeSigning

SetSignatureAlgorithm sets the SignatureAlgorithm field's value.

func (CustomCodeSigning) String

func (s CustomCodeSigning) String() string

String returns the string representation

func (*CustomCodeSigning) Validate

func (s *CustomCodeSigning) Validate() error

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

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) GoString

func (s DeleteAuthorizerInput) GoString() string

GoString returns the string representation

func (*DeleteAuthorizerInput) SetAuthorizerName

func (s *DeleteAuthorizerInput) SetAuthorizerName(v string) *DeleteAuthorizerInput

SetAuthorizerName sets the AuthorizerName field's value.

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) GoString

func (s DeleteAuthorizerOutput) GoString() string

GoString returns the string representation

func (DeleteAuthorizerOutput) SDKResponseMetadata

func (s DeleteAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteAuthorizerOutput) String

func (s DeleteAuthorizerOutput) String() string

String returns the string representation

type DeleteAuthorizerRequest

type DeleteAuthorizerRequest struct {
	*aws.Request
	Input *DeleteAuthorizerInput
}

DeleteAuthorizerRequest is a API request type for the DeleteAuthorizer API operation.

func (DeleteAuthorizerRequest) Send

Send marshals and sends the DeleteAuthorizer API request.

type DeleteCACertificateInput

type DeleteCACertificateInput struct {

	// The ID of the certificate to delete.
	//
	// 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) GoString

func (s DeleteCACertificateInput) GoString() string

GoString returns the string representation

func (*DeleteCACertificateInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

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) GoString

func (s DeleteCACertificateOutput) GoString() string

GoString returns the string representation

func (DeleteCACertificateOutput) SDKResponseMetadata

func (s DeleteCACertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteCACertificateOutput) String

func (s DeleteCACertificateOutput) String() string

String returns the string representation

type DeleteCACertificateRequest

type DeleteCACertificateRequest struct {
	*aws.Request
	Input *DeleteCACertificateInput
}

DeleteCACertificateRequest is a API request type for the DeleteCACertificate API operation.

func (DeleteCACertificateRequest) Send

Send marshals and sends the DeleteCACertificate API request.

type DeleteCertificateInput

type DeleteCertificateInput struct {

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

	// Forces a certificate request to be deleted.
	ForceDelete *bool `location:"querystring" locationName:"forceDelete" type:"boolean"`
	// contains filtered or unexported fields
}

The input for the DeleteCertificate operation.

func (DeleteCertificateInput) GoString

func (s DeleteCertificateInput) GoString() string

GoString returns the string representation

func (*DeleteCertificateInput) SetCertificateId

func (s *DeleteCertificateInput) SetCertificateId(v string) *DeleteCertificateInput

SetCertificateId sets the CertificateId field's value.

func (*DeleteCertificateInput) SetForceDelete

func (s *DeleteCertificateInput) SetForceDelete(v bool) *DeleteCertificateInput

SetForceDelete sets the ForceDelete field's value.

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) GoString

func (s DeleteCertificateOutput) GoString() string

GoString returns the string representation

func (DeleteCertificateOutput) SDKResponseMetadata

func (s DeleteCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteCertificateOutput) String

func (s DeleteCertificateOutput) String() string

String returns the string representation

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	*aws.Request
	Input *DeleteCertificateInput
}

DeleteCertificateRequest is a API request type for the DeleteCertificate API operation.

func (DeleteCertificateRequest) Send

Send marshals and sends the DeleteCertificate API request.

type DeleteOTAUpdateInput

type DeleteOTAUpdateInput struct {

	// 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) GoString

func (s DeleteOTAUpdateInput) GoString() string

GoString returns the string representation

func (*DeleteOTAUpdateInput) SetOtaUpdateId

func (s *DeleteOTAUpdateInput) SetOtaUpdateId(v string) *DeleteOTAUpdateInput

SetOtaUpdateId sets the OtaUpdateId field's value.

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) GoString

func (s DeleteOTAUpdateOutput) GoString() string

GoString returns the string representation

func (DeleteOTAUpdateOutput) SDKResponseMetadata

func (s DeleteOTAUpdateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteOTAUpdateOutput) String

func (s DeleteOTAUpdateOutput) String() string

String returns the string representation

type DeleteOTAUpdateRequest

type DeleteOTAUpdateRequest struct {
	*aws.Request
	Input *DeleteOTAUpdateInput
}

DeleteOTAUpdateRequest is a API request type for the DeleteOTAUpdate API operation.

func (DeleteOTAUpdateRequest) Send

Send marshals and sends the DeleteOTAUpdate API 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) GoString

func (s DeletePolicyInput) GoString() string

GoString returns the string representation

func (*DeletePolicyInput) SetPolicyName

func (s *DeletePolicyInput) SetPolicyName(v string) *DeletePolicyInput

SetPolicyName sets the PolicyName field's value.

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) GoString

func (s DeletePolicyOutput) GoString() string

GoString returns the string representation

func (DeletePolicyOutput) SDKResponseMetadata

func (s DeletePolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeletePolicyOutput) String

func (s DeletePolicyOutput) String() string

String returns the string representation

type DeletePolicyRequest

type DeletePolicyRequest struct {
	*aws.Request
	Input *DeletePolicyInput
}

DeletePolicyRequest is a API request type for the DeletePolicy API operation.

func (DeletePolicyRequest) Send

Send marshals and sends the DeletePolicy API 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) GoString

func (s DeletePolicyVersionInput) GoString() string

GoString returns the string representation

func (*DeletePolicyVersionInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*DeletePolicyVersionInput) SetPolicyVersionId

func (s *DeletePolicyVersionInput) SetPolicyVersionId(v string) *DeletePolicyVersionInput

SetPolicyVersionId sets the PolicyVersionId field's value.

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) GoString

func (s DeletePolicyVersionOutput) GoString() string

GoString returns the string representation

func (DeletePolicyVersionOutput) SDKResponseMetadata

func (s DeletePolicyVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeletePolicyVersionOutput) String

func (s DeletePolicyVersionOutput) String() string

String returns the string representation

type DeletePolicyVersionRequest

type DeletePolicyVersionRequest struct {
	*aws.Request
	Input *DeletePolicyVersionInput
}

DeletePolicyVersionRequest is a API request type for the DeletePolicyVersion API operation.

func (DeletePolicyVersionRequest) Send

Send marshals and sends the DeletePolicyVersion API request.

type DeleteRegistrationCodeInput

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

The input for the DeleteRegistrationCode operation.

func (DeleteRegistrationCodeInput) GoString

func (s DeleteRegistrationCodeInput) GoString() string

GoString returns the string representation

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) GoString

func (s DeleteRegistrationCodeOutput) GoString() string

GoString returns the string representation

func (DeleteRegistrationCodeOutput) SDKResponseMetadata

func (s DeleteRegistrationCodeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteRegistrationCodeOutput) String

String returns the string representation

type DeleteRegistrationCodeRequest

type DeleteRegistrationCodeRequest struct {
	*aws.Request
	Input *DeleteRegistrationCodeInput
}

DeleteRegistrationCodeRequest is a API request type for the DeleteRegistrationCode API operation.

func (DeleteRegistrationCodeRequest) Send

Send marshals and sends the DeleteRegistrationCode API 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) GoString

func (s DeleteRoleAliasInput) GoString() string

GoString returns the string representation

func (*DeleteRoleAliasInput) SetRoleAlias

func (s *DeleteRoleAliasInput) SetRoleAlias(v string) *DeleteRoleAliasInput

SetRoleAlias sets the RoleAlias field's value.

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) GoString

func (s DeleteRoleAliasOutput) GoString() string

GoString returns the string representation

func (DeleteRoleAliasOutput) SDKResponseMetadata

func (s DeleteRoleAliasOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteRoleAliasOutput) String

func (s DeleteRoleAliasOutput) String() string

String returns the string representation

type DeleteRoleAliasRequest

type DeleteRoleAliasRequest struct {
	*aws.Request
	Input *DeleteRoleAliasInput
}

DeleteRoleAliasRequest is a API request type for the DeleteRoleAlias API operation.

func (DeleteRoleAliasRequest) Send

Send marshals and sends the DeleteRoleAlias API 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) GoString

func (s DeleteStreamInput) GoString() string

GoString returns the string representation

func (*DeleteStreamInput) SetStreamId

func (s *DeleteStreamInput) SetStreamId(v string) *DeleteStreamInput

SetStreamId sets the StreamId field's value.

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) GoString

func (s DeleteStreamOutput) GoString() string

GoString returns the string representation

func (DeleteStreamOutput) SDKResponseMetadata

func (s DeleteStreamOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteStreamOutput) String

func (s DeleteStreamOutput) String() string

String returns the string representation

type DeleteStreamRequest

type DeleteStreamRequest struct {
	*aws.Request
	Input *DeleteStreamInput
}

DeleteStreamRequest is a API request type for the DeleteStream API operation.

func (DeleteStreamRequest) Send

Send marshals and sends the DeleteStream API 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) GoString

func (s DeleteThingGroupInput) GoString() string

GoString returns the string representation

func (*DeleteThingGroupInput) SetExpectedVersion

func (s *DeleteThingGroupInput) SetExpectedVersion(v int64) *DeleteThingGroupInput

SetExpectedVersion sets the ExpectedVersion field's value.

func (*DeleteThingGroupInput) SetThingGroupName

func (s *DeleteThingGroupInput) SetThingGroupName(v string) *DeleteThingGroupInput

SetThingGroupName sets the ThingGroupName field's value.

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) GoString

func (s DeleteThingGroupOutput) GoString() string

GoString returns the string representation

func (DeleteThingGroupOutput) SDKResponseMetadata

func (s DeleteThingGroupOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteThingGroupOutput) String

func (s DeleteThingGroupOutput) String() string

String returns the string representation

type DeleteThingGroupRequest

type DeleteThingGroupRequest struct {
	*aws.Request
	Input *DeleteThingGroupInput
}

DeleteThingGroupRequest is a API request type for the DeleteThingGroup API operation.

func (DeleteThingGroupRequest) Send

Send marshals and sends the DeleteThingGroup API 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) GoString

func (s DeleteThingInput) GoString() string

GoString returns the string representation

func (*DeleteThingInput) SetExpectedVersion

func (s *DeleteThingInput) SetExpectedVersion(v int64) *DeleteThingInput

SetExpectedVersion sets the ExpectedVersion field's value.

func (*DeleteThingInput) SetThingName

func (s *DeleteThingInput) SetThingName(v string) *DeleteThingInput

SetThingName sets the ThingName field's value.

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) GoString

func (s DeleteThingOutput) GoString() string

GoString returns the string representation

func (DeleteThingOutput) SDKResponseMetadata

func (s DeleteThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteThingOutput) String

func (s DeleteThingOutput) String() string

String returns the string representation

type DeleteThingRequest

type DeleteThingRequest struct {
	*aws.Request
	Input *DeleteThingInput
}

DeleteThingRequest is a API request type for the DeleteThing API operation.

func (DeleteThingRequest) Send

Send marshals and sends the DeleteThing API 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) GoString

func (s DeleteThingTypeInput) GoString() string

GoString returns the string representation

func (*DeleteThingTypeInput) SetThingTypeName

func (s *DeleteThingTypeInput) SetThingTypeName(v string) *DeleteThingTypeInput

SetThingTypeName sets the ThingTypeName field's value.

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) GoString

func (s DeleteThingTypeOutput) GoString() string

GoString returns the string representation

func (DeleteThingTypeOutput) SDKResponseMetadata

func (s DeleteThingTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteThingTypeOutput) String

func (s DeleteThingTypeOutput) String() string

String returns the string representation

type DeleteThingTypeRequest

type DeleteThingTypeRequest struct {
	*aws.Request
	Input *DeleteThingTypeInput
}

DeleteThingTypeRequest is a API request type for the DeleteThingType API operation.

func (DeleteThingTypeRequest) Send

Send marshals and sends the DeleteThingType API 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) GoString

func (s DeleteTopicRuleInput) GoString() string

GoString returns the string representation

func (*DeleteTopicRuleInput) SetRuleName

SetRuleName sets the RuleName field's value.

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) GoString

func (s DeleteTopicRuleOutput) GoString() string

GoString returns the string representation

func (DeleteTopicRuleOutput) SDKResponseMetadata

func (s DeleteTopicRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteTopicRuleOutput) String

func (s DeleteTopicRuleOutput) String() string

String returns the string representation

type DeleteTopicRuleRequest

type DeleteTopicRuleRequest struct {
	*aws.Request
	Input *DeleteTopicRuleInput
}

DeleteTopicRuleRequest is a API request type for the DeleteTopicRule API operation.

func (DeleteTopicRuleRequest) Send

Send marshals and sends the DeleteTopicRule API 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) GoString

func (s DeleteV2LoggingLevelInput) GoString() string

GoString returns the string representation

func (*DeleteV2LoggingLevelInput) SetTargetName

SetTargetName sets the TargetName field's value.

func (*DeleteV2LoggingLevelInput) SetTargetType

SetTargetType sets the TargetType field's value.

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) GoString

func (s DeleteV2LoggingLevelOutput) GoString() string

GoString returns the string representation

func (DeleteV2LoggingLevelOutput) SDKResponseMetadata

func (s DeleteV2LoggingLevelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteV2LoggingLevelOutput) String

String returns the string representation

type DeleteV2LoggingLevelRequest

type DeleteV2LoggingLevelRequest struct {
	*aws.Request
	Input *DeleteV2LoggingLevelInput
}

DeleteV2LoggingLevelRequest is a API request type for the DeleteV2LoggingLevel API operation.

func (DeleteV2LoggingLevelRequest) Send

Send marshals and sends the DeleteV2LoggingLevel API 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) GoString

func (s Denied) GoString() string

GoString returns the string representation

func (*Denied) SetExplicitDeny

func (s *Denied) SetExplicitDeny(v *ExplicitDeny) *Denied

SetExplicitDeny sets the ExplicitDeny field's value.

func (*Denied) SetImplicitDeny

func (s *Denied) SetImplicitDeny(v *ImplicitDeny) *Denied

SetImplicitDeny sets the ImplicitDeny field's value.

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) GoString

func (s DeprecateThingTypeInput) GoString() string

GoString returns the string representation

func (*DeprecateThingTypeInput) SetThingTypeName

func (s *DeprecateThingTypeInput) SetThingTypeName(v string) *DeprecateThingTypeInput

SetThingTypeName sets the ThingTypeName field's value.

func (*DeprecateThingTypeInput) SetUndoDeprecate

func (s *DeprecateThingTypeInput) SetUndoDeprecate(v bool) *DeprecateThingTypeInput

SetUndoDeprecate sets the UndoDeprecate field's value.

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) GoString

func (s DeprecateThingTypeOutput) GoString() string

GoString returns the string representation

func (DeprecateThingTypeOutput) SDKResponseMetadata

func (s DeprecateThingTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeprecateThingTypeOutput) String

func (s DeprecateThingTypeOutput) String() string

String returns the string representation

type DeprecateThingTypeRequest

type DeprecateThingTypeRequest struct {
	*aws.Request
	Input *DeprecateThingTypeInput
}

DeprecateThingTypeRequest is a API request type for the DeprecateThingType API operation.

func (DeprecateThingTypeRequest) Send

Send marshals and sends the DeprecateThingType API 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) GoString

func (s DescribeAuthorizerInput) GoString() string

GoString returns the string representation

func (*DescribeAuthorizerInput) SetAuthorizerName

func (s *DescribeAuthorizerInput) SetAuthorizerName(v string) *DescribeAuthorizerInput

SetAuthorizerName sets the AuthorizerName field's value.

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) GoString

func (s DescribeAuthorizerOutput) GoString() string

GoString returns the string representation

func (DescribeAuthorizerOutput) SDKResponseMetadata

func (s DescribeAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeAuthorizerOutput) SetAuthorizerDescription

SetAuthorizerDescription sets the AuthorizerDescription field's value.

func (DescribeAuthorizerOutput) String

func (s DescribeAuthorizerOutput) String() string

String returns the string representation

type DescribeAuthorizerRequest

type DescribeAuthorizerRequest struct {
	*aws.Request
	Input *DescribeAuthorizerInput
}

DescribeAuthorizerRequest is a API request type for the DescribeAuthorizer API operation.

func (DescribeAuthorizerRequest) Send

Send marshals and sends the DescribeAuthorizer API 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) GoString

func (s DescribeCACertificateInput) GoString() string

GoString returns the string representation

func (*DescribeCACertificateInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

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) GoString

func (s DescribeCACertificateOutput) GoString() string

GoString returns the string representation

func (DescribeCACertificateOutput) SDKResponseMetadata

func (s DescribeCACertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeCACertificateOutput) SetCertificateDescription

SetCertificateDescription sets the CertificateDescription field's value.

func (*DescribeCACertificateOutput) SetRegistrationConfig

SetRegistrationConfig sets the RegistrationConfig field's value.

func (DescribeCACertificateOutput) String

String returns the string representation

type DescribeCACertificateRequest

type DescribeCACertificateRequest struct {
	*aws.Request
	Input *DescribeCACertificateInput
}

DescribeCACertificateRequest is a API request type for the DescribeCACertificate API operation.

func (DescribeCACertificateRequest) Send

Send marshals and sends the DescribeCACertificate API request.

type DescribeCertificateInput

type DescribeCertificateInput struct {

	// The ID of the certificate.
	//
	// 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) GoString

func (s DescribeCertificateInput) GoString() string

GoString returns the string representation

func (*DescribeCertificateInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

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) GoString

func (s DescribeCertificateOutput) GoString() string

GoString returns the string representation

func (DescribeCertificateOutput) SDKResponseMetadata

func (s DescribeCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeCertificateOutput) SetCertificateDescription

SetCertificateDescription sets the CertificateDescription field's value.

func (DescribeCertificateOutput) String

func (s DescribeCertificateOutput) String() string

String returns the string representation

type DescribeCertificateRequest

type DescribeCertificateRequest struct {
	*aws.Request
	Input *DescribeCertificateInput
}

DescribeCertificateRequest is a API request type for the DescribeCertificate API operation.

func (DescribeCertificateRequest) Send

Send marshals and sends the DescribeCertificate API request.

type DescribeDefaultAuthorizerInput

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

func (DescribeDefaultAuthorizerInput) GoString

GoString returns the string representation

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) GoString

GoString returns the string representation

func (DescribeDefaultAuthorizerOutput) SDKResponseMetadata

func (s DescribeDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeDefaultAuthorizerOutput) SetAuthorizerDescription

SetAuthorizerDescription sets the AuthorizerDescription field's value.

func (DescribeDefaultAuthorizerOutput) String

String returns the string representation

type DescribeDefaultAuthorizerRequest

type DescribeDefaultAuthorizerRequest struct {
	*aws.Request
	Input *DescribeDefaultAuthorizerInput
}

DescribeDefaultAuthorizerRequest is a API request type for the DescribeDefaultAuthorizer API operation.

func (DescribeDefaultAuthorizerRequest) Send

Send marshals and sends the DescribeDefaultAuthorizer API request.

type DescribeEndpointInput

type DescribeEndpointInput struct {

	// The endpoint type.
	EndpointType *string `location:"querystring" locationName:"endpointType" type:"string"`
	// contains filtered or unexported fields
}

The input for the DescribeEndpoint operation.

func (DescribeEndpointInput) GoString

func (s DescribeEndpointInput) GoString() string

GoString returns the string representation

func (*DescribeEndpointInput) SetEndpointType

func (s *DescribeEndpointInput) SetEndpointType(v string) *DescribeEndpointInput

SetEndpointType sets the EndpointType field's value.

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) GoString

func (s DescribeEndpointOutput) GoString() string

GoString returns the string representation

func (DescribeEndpointOutput) SDKResponseMetadata

func (s DescribeEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeEndpointOutput) SetEndpointAddress

func (s *DescribeEndpointOutput) SetEndpointAddress(v string) *DescribeEndpointOutput

SetEndpointAddress sets the EndpointAddress field's value.

func (DescribeEndpointOutput) String

func (s DescribeEndpointOutput) String() string

String returns the string representation

type DescribeEndpointRequest

type DescribeEndpointRequest struct {
	*aws.Request
	Input *DescribeEndpointInput
}

DescribeEndpointRequest is a API request type for the DescribeEndpoint API operation.

func (DescribeEndpointRequest) Send

Send marshals and sends the DescribeEndpoint API request.

type DescribeEventConfigurationsInput

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

func (DescribeEventConfigurationsInput) GoString

GoString returns the string representation

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

func (DescribeEventConfigurationsOutput) GoString

GoString returns the string representation

func (DescribeEventConfigurationsOutput) SDKResponseMetadata

func (s DescribeEventConfigurationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeEventConfigurationsOutput) SetCreationDate

SetCreationDate sets the CreationDate field's value.

func (*DescribeEventConfigurationsOutput) SetEventConfigurations

SetEventConfigurations sets the EventConfigurations field's value.

func (*DescribeEventConfigurationsOutput) SetLastModifiedDate

SetLastModifiedDate sets the LastModifiedDate field's value.

func (DescribeEventConfigurationsOutput) String

String returns the string representation

type DescribeEventConfigurationsRequest

type DescribeEventConfigurationsRequest struct {
	*aws.Request
	Input *DescribeEventConfigurationsInput
}

DescribeEventConfigurationsRequest is a API request type for the DescribeEventConfigurations API operation.

func (DescribeEventConfigurationsRequest) Send

Send marshals and sends the DescribeEventConfigurations API 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) GoString

func (s DescribeIndexInput) GoString() string

GoString returns the string representation

func (*DescribeIndexInput) SetIndexName

func (s *DescribeIndexInput) SetIndexName(v string) *DescribeIndexInput

SetIndexName sets the IndexName field's value.

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 will contain only registry data.
	//
	// REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.
	Schema *string `locationName:"schema" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeIndexOutput) GoString

func (s DescribeIndexOutput) GoString() string

GoString returns the string representation

func (DescribeIndexOutput) SDKResponseMetadata

func (s DescribeIndexOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeIndexOutput) SetIndexName

func (s *DescribeIndexOutput) SetIndexName(v string) *DescribeIndexOutput

SetIndexName sets the IndexName field's value.

func (*DescribeIndexOutput) SetIndexStatus

func (s *DescribeIndexOutput) SetIndexStatus(v IndexStatus) *DescribeIndexOutput

SetIndexStatus sets the IndexStatus field's value.

func (*DescribeIndexOutput) SetSchema

SetSchema sets the Schema field's value.

func (DescribeIndexOutput) String

func (s DescribeIndexOutput) String() string

String returns the string representation

type DescribeIndexRequest

type DescribeIndexRequest struct {
	*aws.Request
	Input *DescribeIndexInput
}

DescribeIndexRequest is a API request type for the DescribeIndex API operation.

func (DescribeIndexRequest) Send

Send marshals and sends the DescribeIndex API 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) GoString

func (s DescribeJobExecutionInput) GoString() string

GoString returns the string representation

func (*DescribeJobExecutionInput) SetExecutionNumber

func (s *DescribeJobExecutionInput) SetExecutionNumber(v int64) *DescribeJobExecutionInput

SetExecutionNumber sets the ExecutionNumber field's value.

func (*DescribeJobExecutionInput) SetJobId

SetJobId sets the JobId field's value.

func (*DescribeJobExecutionInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

func (s DescribeJobExecutionOutput) GoString() string

GoString returns the string representation

func (DescribeJobExecutionOutput) SDKResponseMetadata

func (s DescribeJobExecutionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeJobExecutionOutput) SetExecution

SetExecution sets the Execution field's value.

func (DescribeJobExecutionOutput) String

String returns the string representation

type DescribeJobExecutionRequest

type DescribeJobExecutionRequest struct {
	*aws.Request
	Input *DescribeJobExecutionInput
}

DescribeJobExecutionRequest is a API request type for the DescribeJobExecution API operation.

func (DescribeJobExecutionRequest) Send

Send marshals and sends the DescribeJobExecution API 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) GoString

func (s DescribeJobInput) GoString() string

GoString returns the string representation

func (*DescribeJobInput) SetJobId

func (s *DescribeJobInput) SetJobId(v string) *DescribeJobInput

SetJobId sets the JobId field's value.

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) GoString

func (s DescribeJobOutput) GoString() string

GoString returns the string representation

func (DescribeJobOutput) SDKResponseMetadata

func (s DescribeJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeJobOutput) SetDocumentSource

func (s *DescribeJobOutput) SetDocumentSource(v string) *DescribeJobOutput

SetDocumentSource sets the DocumentSource field's value.

func (*DescribeJobOutput) SetJob

func (s *DescribeJobOutput) SetJob(v *Job) *DescribeJobOutput

SetJob sets the Job field's value.

func (DescribeJobOutput) String

func (s DescribeJobOutput) String() string

String returns the string representation

type DescribeJobRequest

type DescribeJobRequest struct {
	*aws.Request
	Input *DescribeJobInput
}

DescribeJobRequest is a API request type for the DescribeJob API operation.

func (DescribeJobRequest) Send

Send marshals and sends the DescribeJob API 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) GoString

func (s DescribeRoleAliasInput) GoString() string

GoString returns the string representation

func (*DescribeRoleAliasInput) SetRoleAlias

SetRoleAlias sets the RoleAlias field's value.

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) GoString

func (s DescribeRoleAliasOutput) GoString() string

GoString returns the string representation

func (DescribeRoleAliasOutput) SDKResponseMetadata

func (s DescribeRoleAliasOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeRoleAliasOutput) SetRoleAliasDescription

SetRoleAliasDescription sets the RoleAliasDescription field's value.

func (DescribeRoleAliasOutput) String

func (s DescribeRoleAliasOutput) String() string

String returns the string representation

type DescribeRoleAliasRequest

type DescribeRoleAliasRequest struct {
	*aws.Request
	Input *DescribeRoleAliasInput
}

DescribeRoleAliasRequest is a API request type for the DescribeRoleAlias API operation.

func (DescribeRoleAliasRequest) Send

Send marshals and sends the DescribeRoleAlias API 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) GoString

func (s DescribeStreamInput) GoString() string

GoString returns the string representation

func (*DescribeStreamInput) SetStreamId

func (s *DescribeStreamInput) SetStreamId(v string) *DescribeStreamInput

SetStreamId sets the StreamId field's value.

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) GoString

func (s DescribeStreamOutput) GoString() string

GoString returns the string representation

func (DescribeStreamOutput) SDKResponseMetadata

func (s DescribeStreamOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeStreamOutput) SetStreamInfo

SetStreamInfo sets the StreamInfo field's value.

func (DescribeStreamOutput) String

func (s DescribeStreamOutput) String() string

String returns the string representation

type DescribeStreamRequest

type DescribeStreamRequest struct {
	*aws.Request
	Input *DescribeStreamInput
}

DescribeStreamRequest is a API request type for the DescribeStream API operation.

func (DescribeStreamRequest) Send

Send marshals and sends the DescribeStream API 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) GoString

func (s DescribeThingGroupInput) GoString() string

GoString returns the string representation

func (*DescribeThingGroupInput) SetThingGroupName

func (s *DescribeThingGroupInput) SetThingGroupName(v string) *DescribeThingGroupInput

SetThingGroupName sets the ThingGroupName field's value.

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 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) GoString

func (s DescribeThingGroupOutput) GoString() string

GoString returns the string representation

func (DescribeThingGroupOutput) SDKResponseMetadata

func (s DescribeThingGroupOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeThingGroupOutput) SetThingGroupArn

SetThingGroupArn sets the ThingGroupArn field's value.

func (*DescribeThingGroupOutput) SetThingGroupId

SetThingGroupId sets the ThingGroupId field's value.

func (*DescribeThingGroupOutput) SetThingGroupMetadata

SetThingGroupMetadata sets the ThingGroupMetadata field's value.

func (*DescribeThingGroupOutput) SetThingGroupName

func (s *DescribeThingGroupOutput) SetThingGroupName(v string) *DescribeThingGroupOutput

SetThingGroupName sets the ThingGroupName field's value.

func (*DescribeThingGroupOutput) SetThingGroupProperties

SetThingGroupProperties sets the ThingGroupProperties field's value.

func (*DescribeThingGroupOutput) SetVersion

SetVersion sets the Version field's value.

func (DescribeThingGroupOutput) String

func (s DescribeThingGroupOutput) String() string

String returns the string representation

type DescribeThingGroupRequest

type DescribeThingGroupRequest struct {
	*aws.Request
	Input *DescribeThingGroupInput
}

DescribeThingGroupRequest is a API request type for the DescribeThingGroup API operation.

func (DescribeThingGroupRequest) Send

Send marshals and sends the DescribeThingGroup API 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) GoString

func (s DescribeThingInput) GoString() string

GoString returns the string representation

func (*DescribeThingInput) SetThingName

func (s *DescribeThingInput) SetThingName(v string) *DescribeThingInput

SetThingName sets the ThingName field's value.

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 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) GoString

func (s DescribeThingOutput) GoString() string

GoString returns the string representation

func (DescribeThingOutput) SDKResponseMetadata

func (s DescribeThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeThingOutput) SetAttributes

func (s *DescribeThingOutput) SetAttributes(v map[string]string) *DescribeThingOutput

SetAttributes sets the Attributes field's value.

func (*DescribeThingOutput) SetDefaultClientId

func (s *DescribeThingOutput) SetDefaultClientId(v string) *DescribeThingOutput

SetDefaultClientId sets the DefaultClientId field's value.

func (*DescribeThingOutput) SetThingArn

func (s *DescribeThingOutput) SetThingArn(v string) *DescribeThingOutput

SetThingArn sets the ThingArn field's value.

func (*DescribeThingOutput) SetThingId

SetThingId sets the ThingId field's value.

func (*DescribeThingOutput) SetThingName

func (s *DescribeThingOutput) SetThingName(v string) *DescribeThingOutput

SetThingName sets the ThingName field's value.

func (*DescribeThingOutput) SetThingTypeName

func (s *DescribeThingOutput) SetThingTypeName(v string) *DescribeThingOutput

SetThingTypeName sets the ThingTypeName field's value.

func (*DescribeThingOutput) SetVersion

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

SetVersion sets the Version field's value.

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) GoString

GoString returns the string representation

func (*DescribeThingRegistrationTaskInput) SetTaskId

SetTaskId sets the TaskId field's value.

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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) GoString

GoString returns the string representation

func (DescribeThingRegistrationTaskOutput) SDKResponseMetadata

func (s DescribeThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeThingRegistrationTaskOutput) SetCreationDate

SetCreationDate sets the CreationDate field's value.

func (*DescribeThingRegistrationTaskOutput) SetFailureCount

SetFailureCount sets the FailureCount field's value.

func (*DescribeThingRegistrationTaskOutput) SetInputFileBucket

SetInputFileBucket sets the InputFileBucket field's value.

func (*DescribeThingRegistrationTaskOutput) SetInputFileKey

SetInputFileKey sets the InputFileKey field's value.

func (*DescribeThingRegistrationTaskOutput) SetLastModifiedDate

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*DescribeThingRegistrationTaskOutput) SetMessage

SetMessage sets the Message field's value.

func (*DescribeThingRegistrationTaskOutput) SetPercentageProgress

SetPercentageProgress sets the PercentageProgress field's value.

func (*DescribeThingRegistrationTaskOutput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*DescribeThingRegistrationTaskOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeThingRegistrationTaskOutput) SetSuccessCount

SetSuccessCount sets the SuccessCount field's value.

func (*DescribeThingRegistrationTaskOutput) SetTaskId

SetTaskId sets the TaskId field's value.

func (*DescribeThingRegistrationTaskOutput) SetTemplateBody

SetTemplateBody sets the TemplateBody field's value.

func (DescribeThingRegistrationTaskOutput) String

String returns the string representation

type DescribeThingRegistrationTaskRequest

type DescribeThingRegistrationTaskRequest struct {
	*aws.Request
	Input *DescribeThingRegistrationTaskInput
}

DescribeThingRegistrationTaskRequest is a API request type for the DescribeThingRegistrationTask API operation.

func (DescribeThingRegistrationTaskRequest) Send

Send marshals and sends the DescribeThingRegistrationTask API request.

type DescribeThingRequest

type DescribeThingRequest struct {
	*aws.Request
	Input *DescribeThingInput
}

DescribeThingRequest is a API request type for the DescribeThing API operation.

func (DescribeThingRequest) Send

Send marshals and sends the DescribeThing API 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) GoString

func (s DescribeThingTypeInput) GoString() string

GoString returns the string representation

func (*DescribeThingTypeInput) SetThingTypeName

func (s *DescribeThingTypeInput) SetThingTypeName(v string) *DescribeThingTypeInput

SetThingTypeName sets the ThingTypeName field's value.

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) GoString

func (s DescribeThingTypeOutput) GoString() string

GoString returns the string representation

func (DescribeThingTypeOutput) SDKResponseMetadata

func (s DescribeThingTypeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*DescribeThingTypeOutput) SetThingTypeArn

SetThingTypeArn sets the ThingTypeArn field's value.

func (*DescribeThingTypeOutput) SetThingTypeId

SetThingTypeId sets the ThingTypeId field's value.

func (*DescribeThingTypeOutput) SetThingTypeMetadata

SetThingTypeMetadata sets the ThingTypeMetadata field's value.

func (*DescribeThingTypeOutput) SetThingTypeName

func (s *DescribeThingTypeOutput) SetThingTypeName(v string) *DescribeThingTypeOutput

SetThingTypeName sets the ThingTypeName field's value.

func (*DescribeThingTypeOutput) SetThingTypeProperties

SetThingTypeProperties sets the ThingTypeProperties field's value.

func (DescribeThingTypeOutput) String

func (s DescribeThingTypeOutput) String() string

String returns the string representation

type DescribeThingTypeRequest

type DescribeThingTypeRequest struct {
	*aws.Request
	Input *DescribeThingTypeInput
}

DescribeThingTypeRequest is a API request type for the DescribeThingType API operation.

func (DescribeThingTypeRequest) Send

Send marshals and sends the DescribeThingType API request.

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) GoString

func (s DetachPolicyInput) GoString() string

GoString returns the string representation

func (*DetachPolicyInput) SetPolicyName

func (s *DetachPolicyInput) SetPolicyName(v string) *DetachPolicyInput

SetPolicyName sets the PolicyName field's value.

func (*DetachPolicyInput) SetTarget

func (s *DetachPolicyInput) SetTarget(v string) *DetachPolicyInput

SetTarget sets the Target field's value.

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) GoString

func (s DetachPolicyOutput) GoString() string

GoString returns the string representation

func (DetachPolicyOutput) SDKResponseMetadata

func (s DetachPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachPolicyOutput) String

func (s DetachPolicyOutput) String() string

String returns the string representation

type DetachPolicyRequest

type DetachPolicyRequest struct {
	*aws.Request
	Input *DetachPolicyInput
}

DetachPolicyRequest is a API request type for the DetachPolicy API operation.

func (DetachPolicyRequest) Send

Send marshals and sends the DetachPolicy API 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) GoString

func (s DetachPrincipalPolicyInput) GoString() string

GoString returns the string representation

func (*DetachPrincipalPolicyInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*DetachPrincipalPolicyInput) SetPrincipal

SetPrincipal sets the Principal field's value.

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) GoString

func (s DetachPrincipalPolicyOutput) GoString() string

GoString returns the string representation

func (DetachPrincipalPolicyOutput) SDKResponseMetadata

func (s DetachPrincipalPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachPrincipalPolicyOutput) String

String returns the string representation

type DetachPrincipalPolicyRequest

type DetachPrincipalPolicyRequest struct {
	*aws.Request
	Input *DetachPrincipalPolicyInput
}

DetachPrincipalPolicyRequest is a API request type for the DetachPrincipalPolicy API operation.

func (DetachPrincipalPolicyRequest) Send

Send marshals and sends the DetachPrincipalPolicy API 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) GoString

func (s DetachThingPrincipalInput) GoString() string

GoString returns the string representation

func (*DetachThingPrincipalInput) SetPrincipal

SetPrincipal sets the Principal field's value.

func (*DetachThingPrincipalInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

func (s DetachThingPrincipalOutput) GoString() string

GoString returns the string representation

func (DetachThingPrincipalOutput) SDKResponseMetadata

func (s DetachThingPrincipalOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachThingPrincipalOutput) String

String returns the string representation

type DetachThingPrincipalRequest

type DetachThingPrincipalRequest struct {
	*aws.Request
	Input *DetachThingPrincipalInput
}

DetachThingPrincipalRequest is a API request type for the DetachThingPrincipal API operation.

func (DetachThingPrincipalRequest) Send

Send marshals and sends the DetachThingPrincipal API request.

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) GoString

func (s DisableTopicRuleInput) GoString() string

GoString returns the string representation

func (*DisableTopicRuleInput) SetRuleName

SetRuleName sets the RuleName field's value.

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) GoString

func (s DisableTopicRuleOutput) GoString() string

GoString returns the string representation

func (DisableTopicRuleOutput) SDKResponseMetadata

func (s DisableTopicRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DisableTopicRuleOutput) String

func (s DisableTopicRuleOutput) String() string

String returns the string representation

type DisableTopicRuleRequest

type DisableTopicRuleRequest struct {
	*aws.Request
	Input *DisableTopicRuleInput
}

DisableTopicRuleRequest is a API request type for the DisableTopicRule API operation.

func (DisableTopicRuleRequest) Send

Send marshals and sends the DisableTopicRule API request.

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) GoString

func (s DynamoDBAction) GoString() string

GoString returns the string representation

func (*DynamoDBAction) SetHashKeyField

func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction

SetHashKeyField sets the HashKeyField field's value.

func (*DynamoDBAction) SetHashKeyType

func (s *DynamoDBAction) SetHashKeyType(v DynamoKeyType) *DynamoDBAction

SetHashKeyType sets the HashKeyType field's value.

func (*DynamoDBAction) SetHashKeyValue

func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction

SetHashKeyValue sets the HashKeyValue field's value.

func (*DynamoDBAction) SetOperation

func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction

SetOperation sets the Operation field's value.

func (*DynamoDBAction) SetPayloadField

func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction

SetPayloadField sets the PayloadField field's value.

func (*DynamoDBAction) SetRangeKeyField

func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction

SetRangeKeyField sets the RangeKeyField field's value.

func (*DynamoDBAction) SetRangeKeyType

func (s *DynamoDBAction) SetRangeKeyType(v DynamoKeyType) *DynamoDBAction

SetRangeKeyType sets the RangeKeyType field's value.

func (*DynamoDBAction) SetRangeKeyValue

func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction

SetRangeKeyValue sets the RangeKeyValue field's value.

func (*DynamoDBAction) SetRoleArn

func (s *DynamoDBAction) SetRoleArn(v string) *DynamoDBAction

SetRoleArn sets the RoleArn field's value.

func (*DynamoDBAction) SetTableName

func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction

SetTableName sets the TableName field's value.

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 *PutItemInput `locationName:"putItem" type:"structure"`

	// The ARN of the IAM role that grants access to the DynamoDB table.
	RoleArn *string `locationName:"roleArn" type:"string"`
	// 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) GoString

func (s DynamoDBv2Action) GoString() string

GoString returns the string representation

func (*DynamoDBv2Action) SetPutItem

func (s *DynamoDBv2Action) SetPutItem(v *PutItemInput) *DynamoDBv2Action

SetPutItem sets the PutItem field's value.

func (*DynamoDBv2Action) SetRoleArn

func (s *DynamoDBv2Action) SetRoleArn(v string) *DynamoDBv2Action

SetRoleArn sets the RoleArn field's value.

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

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) GoString

func (s EffectivePolicy) GoString() string

GoString returns the string representation

func (*EffectivePolicy) SetPolicyArn

func (s *EffectivePolicy) SetPolicyArn(v string) *EffectivePolicy

SetPolicyArn sets the PolicyArn field's value.

func (*EffectivePolicy) SetPolicyDocument

func (s *EffectivePolicy) SetPolicyDocument(v string) *EffectivePolicy

SetPolicyDocument sets the PolicyDocument field's value.

func (*EffectivePolicy) SetPolicyName

func (s *EffectivePolicy) SetPolicyName(v string) *EffectivePolicy

SetPolicyName sets the PolicyName field's value.

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) GoString

func (s ElasticsearchAction) GoString() string

GoString returns the string representation

func (*ElasticsearchAction) SetEndpoint

func (s *ElasticsearchAction) SetEndpoint(v string) *ElasticsearchAction

SetEndpoint sets the Endpoint field's value.

func (*ElasticsearchAction) SetId

SetId sets the Id field's value.

func (*ElasticsearchAction) SetIndex

SetIndex sets the Index field's value.

func (*ElasticsearchAction) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*ElasticsearchAction) SetType

SetType sets the Type field's value.

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 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) GoString

func (s EnableTopicRuleInput) GoString() string

GoString returns the string representation

func (*EnableTopicRuleInput) SetRuleName

SetRuleName sets the RuleName field's value.

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) GoString

func (s EnableTopicRuleOutput) GoString() string

GoString returns the string representation

func (EnableTopicRuleOutput) SDKResponseMetadata

func (s EnableTopicRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (EnableTopicRuleOutput) String

func (s EnableTopicRuleOutput) String() string

String returns the string representation

type EnableTopicRuleRequest

type EnableTopicRuleRequest struct {
	*aws.Request
	Input *EnableTopicRuleInput
}

EnableTopicRuleRequest is a API request type for the EnableTopicRule API operation.

func (EnableTopicRuleRequest) Send

Send marshals and sends the EnableTopicRule API 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) GoString

func (s ErrorInfo) GoString() string

GoString returns the string representation

func (*ErrorInfo) SetCode

func (s *ErrorInfo) SetCode(v string) *ErrorInfo

SetCode sets the Code field's value.

func (*ErrorInfo) SetMessage

func (s *ErrorInfo) SetMessage(v string) *ErrorInfo

SetMessage sets the Message field's value.

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"
)

Enum values for EventType

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) GoString

func (s ExplicitDeny) GoString() string

GoString returns the string representation

func (*ExplicitDeny) SetPolicies

func (s *ExplicitDeny) SetPolicies(v []Policy) *ExplicitDeny

SetPolicies sets the Policies field's value.

func (ExplicitDeny) String

func (s ExplicitDeny) String() string

String returns the string representation

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) GoString

func (s FirehoseAction) GoString() string

GoString returns the string representation

func (*FirehoseAction) SetDeliveryStreamName

func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction

SetDeliveryStreamName sets the DeliveryStreamName field's value.

func (*FirehoseAction) SetRoleArn

func (s *FirehoseAction) SetRoleArn(v string) *FirehoseAction

SetRoleArn sets the RoleArn field's value.

func (*FirehoseAction) SetSeparator

func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction

SetSeparator sets the Separator field's value.

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) GoString

func (s GetEffectivePoliciesInput) GoString() string

GoString returns the string representation

func (*GetEffectivePoliciesInput) SetCognitoIdentityPoolId

func (s *GetEffectivePoliciesInput) SetCognitoIdentityPoolId(v string) *GetEffectivePoliciesInput

SetCognitoIdentityPoolId sets the CognitoIdentityPoolId field's value.

func (*GetEffectivePoliciesInput) SetPrincipal

SetPrincipal sets the Principal field's value.

func (*GetEffectivePoliciesInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

func (s GetEffectivePoliciesOutput) GoString() string

GoString returns the string representation

func (GetEffectivePoliciesOutput) SDKResponseMetadata

func (s GetEffectivePoliciesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetEffectivePoliciesOutput) SetEffectivePolicies

SetEffectivePolicies sets the EffectivePolicies field's value.

func (GetEffectivePoliciesOutput) String

String returns the string representation

type GetEffectivePoliciesRequest

type GetEffectivePoliciesRequest struct {
	*aws.Request
	Input *GetEffectivePoliciesInput
}

GetEffectivePoliciesRequest is a API request type for the GetEffectivePolicies API operation.

func (GetEffectivePoliciesRequest) Send

Send marshals and sends the GetEffectivePolicies API request.

type GetIndexingConfigurationInput

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

func (GetIndexingConfigurationInput) GoString

GoString returns the string representation

func (GetIndexingConfigurationInput) String

String returns the string representation

type GetIndexingConfigurationOutput

type GetIndexingConfigurationOutput struct {

	// Thing indexing configuration.
	ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (GetIndexingConfigurationOutput) GoString

GoString returns the string representation

func (GetIndexingConfigurationOutput) SDKResponseMetadata

func (s GetIndexingConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetIndexingConfigurationOutput) SetThingIndexingConfiguration

SetThingIndexingConfiguration sets the ThingIndexingConfiguration field's value.

func (GetIndexingConfigurationOutput) String

String returns the string representation

type GetIndexingConfigurationRequest

type GetIndexingConfigurationRequest struct {
	*aws.Request
	Input *GetIndexingConfigurationInput
}

GetIndexingConfigurationRequest is a API request type for the GetIndexingConfiguration API operation.

func (GetIndexingConfigurationRequest) Send

Send marshals and sends the GetIndexingConfiguration API 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) GoString

func (s GetJobDocumentInput) GoString() string

GoString returns the string representation

func (*GetJobDocumentInput) SetJobId

SetJobId sets the JobId field's value.

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) GoString

func (s GetJobDocumentOutput) GoString() string

GoString returns the string representation

func (GetJobDocumentOutput) SDKResponseMetadata

func (s GetJobDocumentOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetJobDocumentOutput) SetDocument

SetDocument sets the Document field's value.

func (GetJobDocumentOutput) String

func (s GetJobDocumentOutput) String() string

String returns the string representation

type GetJobDocumentRequest

type GetJobDocumentRequest struct {
	*aws.Request
	Input *GetJobDocumentInput
}

GetJobDocumentRequest is a API request type for the GetJobDocument API operation.

func (GetJobDocumentRequest) Send

Send marshals and sends the GetJobDocument API request.

type GetLoggingOptionsInput

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

The input for the GetLoggingOptions operation.

func (GetLoggingOptionsInput) GoString

func (s GetLoggingOptionsInput) GoString() string

GoString returns the string representation

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) GoString

func (s GetLoggingOptionsOutput) GoString() string

GoString returns the string representation

func (GetLoggingOptionsOutput) SDKResponseMetadata

func (s GetLoggingOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetLoggingOptionsOutput) SetLogLevel

SetLogLevel sets the LogLevel field's value.

func (*GetLoggingOptionsOutput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (GetLoggingOptionsOutput) String

func (s GetLoggingOptionsOutput) String() string

String returns the string representation

type GetLoggingOptionsRequest

type GetLoggingOptionsRequest struct {
	*aws.Request
	Input *GetLoggingOptionsInput
}

GetLoggingOptionsRequest is a API request type for the GetLoggingOptions API operation.

func (GetLoggingOptionsRequest) Send

Send marshals and sends the GetLoggingOptions API 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) GoString

func (s GetOTAUpdateInput) GoString() string

GoString returns the string representation

func (*GetOTAUpdateInput) SetOtaUpdateId

func (s *GetOTAUpdateInput) SetOtaUpdateId(v string) *GetOTAUpdateInput

SetOtaUpdateId sets the OtaUpdateId field's value.

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) GoString

func (s GetOTAUpdateOutput) GoString() string

GoString returns the string representation

func (GetOTAUpdateOutput) SDKResponseMetadata

func (s GetOTAUpdateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetOTAUpdateOutput) SetOtaUpdateInfo

func (s *GetOTAUpdateOutput) SetOtaUpdateInfo(v *OTAUpdateInfo) *GetOTAUpdateOutput

SetOtaUpdateInfo sets the OtaUpdateInfo field's value.

func (GetOTAUpdateOutput) String

func (s GetOTAUpdateOutput) String() string

String returns the string representation

type GetOTAUpdateRequest

type GetOTAUpdateRequest struct {
	*aws.Request
	Input *GetOTAUpdateInput
}

GetOTAUpdateRequest is a API request type for the GetOTAUpdate API operation.

func (GetOTAUpdateRequest) Send

Send marshals and sends the GetOTAUpdate API 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) GoString

func (s GetPolicyInput) GoString() string

GoString returns the string representation

func (*GetPolicyInput) SetPolicyName

func (s *GetPolicyInput) SetPolicyName(v string) *GetPolicyInput

SetPolicyName sets the PolicyName field's value.

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 default policy version ID.
	DefaultVersionId *string `locationName:"defaultVersionId" type:"string"`

	// 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) GoString

func (s GetPolicyOutput) GoString() string

GoString returns the string representation

func (GetPolicyOutput) SDKResponseMetadata

func (s GetPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetPolicyOutput) SetDefaultVersionId

func (s *GetPolicyOutput) SetDefaultVersionId(v string) *GetPolicyOutput

SetDefaultVersionId sets the DefaultVersionId field's value.

func (*GetPolicyOutput) SetPolicyArn

func (s *GetPolicyOutput) SetPolicyArn(v string) *GetPolicyOutput

SetPolicyArn sets the PolicyArn field's value.

func (*GetPolicyOutput) SetPolicyDocument

func (s *GetPolicyOutput) SetPolicyDocument(v string) *GetPolicyOutput

SetPolicyDocument sets the PolicyDocument field's value.

func (*GetPolicyOutput) SetPolicyName

func (s *GetPolicyOutput) SetPolicyName(v string) *GetPolicyOutput

SetPolicyName sets the PolicyName field's value.

func (GetPolicyOutput) String

func (s GetPolicyOutput) String() string

String returns the string representation

type GetPolicyRequest

type GetPolicyRequest struct {
	*aws.Request
	Input *GetPolicyInput
}

GetPolicyRequest is a API request type for the GetPolicy API operation.

func (GetPolicyRequest) Send

func (r GetPolicyRequest) Send() (*GetPolicyOutput, error)

Send marshals and sends the GetPolicy API 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) GoString

func (s GetPolicyVersionInput) GoString() string

GoString returns the string representation

func (*GetPolicyVersionInput) SetPolicyName

func (s *GetPolicyVersionInput) SetPolicyName(v string) *GetPolicyVersionInput

SetPolicyName sets the PolicyName field's value.

func (*GetPolicyVersionInput) SetPolicyVersionId

func (s *GetPolicyVersionInput) SetPolicyVersionId(v string) *GetPolicyVersionInput

SetPolicyVersionId sets the PolicyVersionId field's value.

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 {

	// 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 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) GoString

func (s GetPolicyVersionOutput) GoString() string

GoString returns the string representation

func (GetPolicyVersionOutput) SDKResponseMetadata

func (s GetPolicyVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetPolicyVersionOutput) SetIsDefaultVersion

func (s *GetPolicyVersionOutput) SetIsDefaultVersion(v bool) *GetPolicyVersionOutput

SetIsDefaultVersion sets the IsDefaultVersion field's value.

func (*GetPolicyVersionOutput) SetPolicyArn

SetPolicyArn sets the PolicyArn field's value.

func (*GetPolicyVersionOutput) SetPolicyDocument

func (s *GetPolicyVersionOutput) SetPolicyDocument(v string) *GetPolicyVersionOutput

SetPolicyDocument sets the PolicyDocument field's value.

func (*GetPolicyVersionOutput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*GetPolicyVersionOutput) SetPolicyVersionId

func (s *GetPolicyVersionOutput) SetPolicyVersionId(v string) *GetPolicyVersionOutput

SetPolicyVersionId sets the PolicyVersionId field's value.

func (GetPolicyVersionOutput) String

func (s GetPolicyVersionOutput) String() string

String returns the string representation

type GetPolicyVersionRequest

type GetPolicyVersionRequest struct {
	*aws.Request
	Input *GetPolicyVersionInput
}

GetPolicyVersionRequest is a API request type for the GetPolicyVersion API operation.

func (GetPolicyVersionRequest) Send

Send marshals and sends the GetPolicyVersion API request.

type GetRegistrationCodeInput

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

The input to the GetRegistrationCode operation.

func (GetRegistrationCodeInput) GoString

func (s GetRegistrationCodeInput) GoString() string

GoString returns the string representation

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) GoString

func (s GetRegistrationCodeOutput) GoString() string

GoString returns the string representation

func (GetRegistrationCodeOutput) SDKResponseMetadata

func (s GetRegistrationCodeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetRegistrationCodeOutput) SetRegistrationCode

func (s *GetRegistrationCodeOutput) SetRegistrationCode(v string) *GetRegistrationCodeOutput

SetRegistrationCode sets the RegistrationCode field's value.

func (GetRegistrationCodeOutput) String

func (s GetRegistrationCodeOutput) String() string

String returns the string representation

type GetRegistrationCodeRequest

type GetRegistrationCodeRequest struct {
	*aws.Request
	Input *GetRegistrationCodeInput
}

GetRegistrationCodeRequest is a API request type for the GetRegistrationCode API operation.

func (GetRegistrationCodeRequest) Send

Send marshals and sends the GetRegistrationCode API 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) GoString

func (s GetTopicRuleInput) GoString() string

GoString returns the string representation

func (*GetTopicRuleInput) SetRuleName

func (s *GetTopicRuleInput) SetRuleName(v string) *GetTopicRuleInput

SetRuleName sets the RuleName field's value.

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) GoString

func (s GetTopicRuleOutput) GoString() string

GoString returns the string representation

func (GetTopicRuleOutput) SDKResponseMetadata

func (s GetTopicRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetTopicRuleOutput) SetRule

SetRule sets the Rule field's value.

func (*GetTopicRuleOutput) SetRuleArn

func (s *GetTopicRuleOutput) SetRuleArn(v string) *GetTopicRuleOutput

SetRuleArn sets the RuleArn field's value.

func (GetTopicRuleOutput) String

func (s GetTopicRuleOutput) String() string

String returns the string representation

type GetTopicRuleRequest

type GetTopicRuleRequest struct {
	*aws.Request
	Input *GetTopicRuleInput
}

GetTopicRuleRequest is a API request type for the GetTopicRule API operation.

func (GetTopicRuleRequest) Send

Send marshals and sends the GetTopicRule API request.

type GetV2LoggingOptionsInput

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

func (GetV2LoggingOptionsInput) GoString

func (s GetV2LoggingOptionsInput) GoString() string

GoString returns the string representation

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) GoString

func (s GetV2LoggingOptionsOutput) GoString() string

GoString returns the string representation

func (GetV2LoggingOptionsOutput) SDKResponseMetadata

func (s GetV2LoggingOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*GetV2LoggingOptionsOutput) SetDefaultLogLevel

SetDefaultLogLevel sets the DefaultLogLevel field's value.

func (*GetV2LoggingOptionsOutput) SetDisableAllLogs

func (s *GetV2LoggingOptionsOutput) SetDisableAllLogs(v bool) *GetV2LoggingOptionsOutput

SetDisableAllLogs sets the DisableAllLogs field's value.

func (*GetV2LoggingOptionsOutput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (GetV2LoggingOptionsOutput) String

func (s GetV2LoggingOptionsOutput) String() string

String returns the string representation

type GetV2LoggingOptionsRequest

type GetV2LoggingOptionsRequest struct {
	*aws.Request
	Input *GetV2LoggingOptionsInput
}

GetV2LoggingOptionsRequest is a API request type for the GetV2LoggingOptions API operation.

func (GetV2LoggingOptionsRequest) Send

Send marshals and sends the GetV2LoggingOptions API 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) GoString

func (s GroupNameAndArn) GoString() string

GoString returns the string representation

func (*GroupNameAndArn) SetGroupArn

func (s *GroupNameAndArn) SetGroupArn(v string) *GroupNameAndArn

SetGroupArn sets the GroupArn field's value.

func (*GroupNameAndArn) SetGroupName

func (s *GroupNameAndArn) SetGroupName(v string) *GroupNameAndArn

SetGroupName sets the GroupName field's value.

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) GoString

func (s ImplicitDeny) GoString() string

GoString returns the string representation

func (*ImplicitDeny) SetPolicies

func (s *ImplicitDeny) SetPolicies(v []Policy) *ImplicitDeny

SetPolicies sets the Policies field's value.

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

type IoT

type IoT struct {
	*aws.Client
}

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

IoT 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) *IoT

New creates a new instance of the IoT client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

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

// Create a IoT client with additional configuration
svc := iot.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))

func (*IoT) AcceptCertificateTransferRequest

func (c *IoT) 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 the AcceptCertificateTransferRequest method.
req := client.AcceptCertificateTransferRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) AddThingToThingGroupRequest

func (c *IoT) 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 the AddThingToThingGroupRequest method.
req := client.AddThingToThingGroupRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) AssociateTargetsWithJobRequest

func (c *IoT) 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:

  • The job must have been created with the targetSelection field set to "CONTINUOUS".

  • The job status must currently be "IN_PROGRESS".

  • The total number of targets associated with a job must not exceed 100.

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

func (*IoT) AttachPolicyRequest

func (c *IoT) 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 the AttachPolicyRequest method.
req := client.AttachPolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) AttachPrincipalPolicyRequest

func (c *IoT) 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 the AttachPrincipalPolicyRequest method.
req := client.AttachPrincipalPolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) AttachThingPrincipalRequest

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

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

Attaches the specified principal to the specified thing.

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

func (*IoT) CancelCertificateTransferRequest

func (c *IoT) 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 the CancelCertificateTransferRequest method.
req := client.CancelCertificateTransferRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CancelJobRequest

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

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

Cancels a job.

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

func (*IoT) ClearDefaultAuthorizerRequest

func (c *IoT) 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 the ClearDefaultAuthorizerRequest method.
req := client.ClearDefaultAuthorizerRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreateAuthorizerRequest

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

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

Creates an authorizer.

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

func (*IoT) CreateCertificateFromCsrRequest

func (c *IoT) 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 the CreateCertificateFromCsrRequest method.
req := client.CreateCertificateFromCsrRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreateJobRequest

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

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

Creates a job.

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

func (*IoT) CreateKeysAndCertificateRequest

func (c *IoT) 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 the CreateKeysAndCertificateRequest method.
req := client.CreateKeysAndCertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreateOTAUpdateRequest

func (c *IoT) 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 the CreateOTAUpdateRequest method.
req := client.CreateOTAUpdateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreatePolicyRequest

func (c *IoT) 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 the CreatePolicyRequest method.
req := client.CreatePolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreatePolicyVersionRequest

func (c *IoT) 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 the CreatePolicyVersionRequest method.
req := client.CreatePolicyVersionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreateRoleAliasRequest

func (c *IoT) 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 the CreateRoleAliasRequest method.
req := client.CreateRoleAliasRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreateStreamRequest

func (c *IoT) 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 the CreateStreamRequest method.
req := client.CreateStreamRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreateThingGroupRequest

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

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

Create a thing group.

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

func (*IoT) CreateThingRequest

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

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

Creates a thing record in the thing registry.

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

func (*IoT) CreateThingTypeRequest

func (c *IoT) 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 the CreateThingTypeRequest method.
req := client.CreateThingTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) CreateTopicRuleRequest

func (c *IoT) 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 the CreateTopicRuleRequest method.
req := client.CreateTopicRuleRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteAuthorizerRequest

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

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

Deletes an authorizer.

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

func (*IoT) DeleteCACertificateRequest

func (c *IoT) 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 the DeleteCACertificateRequest method.
req := client.DeleteCACertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteCertificateRequest

func (c *IoT) 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 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 the DeleteCertificateRequest method.
req := client.DeleteCertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteOTAUpdateRequest

func (c *IoT) 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 the DeleteOTAUpdateRequest method.
req := client.DeleteOTAUpdateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeletePolicyRequest

func (c *IoT) 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 the DeletePolicyRequest method.
req := client.DeletePolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeletePolicyVersionRequest

func (c *IoT) 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 the DeletePolicyVersionRequest method.
req := client.DeletePolicyVersionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteRegistrationCodeRequest

func (c *IoT) 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 the DeleteRegistrationCodeRequest method.
req := client.DeleteRegistrationCodeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteRoleAliasRequest

func (c *IoT) 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 the DeleteRoleAliasRequest method.
req := client.DeleteRoleAliasRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteStreamRequest

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

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

Deletes a stream.

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

func (*IoT) DeleteThingGroupRequest

func (c *IoT) 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 the DeleteThingGroupRequest method.
req := client.DeleteThingGroupRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteThingRequest

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

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

Deletes the specified thing.

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

func (*IoT) DeleteThingTypeRequest

func (c *IoT) 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 the DeleteThingTypeRequest method.
req := client.DeleteThingTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeleteTopicRuleRequest

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

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

Deletes the rule.

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

func (*IoT) DeleteV2LoggingLevelRequest

func (c *IoT) 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 the DeleteV2LoggingLevelRequest method.
req := client.DeleteV2LoggingLevelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DeprecateThingTypeRequest

func (c *IoT) 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 the DeprecateThingTypeRequest method.
req := client.DeprecateThingTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeAuthorizerRequest

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

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

Describes an authorizer.

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

func (*IoT) DescribeCACertificateRequest

func (c *IoT) 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 the DescribeCACertificateRequest method.
req := client.DescribeCACertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeCertificateRequest

func (c *IoT) 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 the DescribeCertificateRequest method.
req := client.DescribeCertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeDefaultAuthorizerRequest

func (c *IoT) 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 the DescribeDefaultAuthorizerRequest method.
req := client.DescribeDefaultAuthorizerRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeEndpointRequest

func (c *IoT) 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 the DescribeEndpointRequest method.
req := client.DescribeEndpointRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeEventConfigurationsRequest

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

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

Describes event configurations.

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

func (*IoT) DescribeIndexRequest

func (c *IoT) 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 the DescribeIndexRequest method.
req := client.DescribeIndexRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeJobExecutionRequest

func (c *IoT) 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 the DescribeJobExecutionRequest method.
req := client.DescribeJobExecutionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeJobRequest

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

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

Describes a job.

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

func (*IoT) DescribeRoleAliasRequest

func (c *IoT) 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 the DescribeRoleAliasRequest method.
req := client.DescribeRoleAliasRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeStreamRequest

func (c *IoT) 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 the DescribeStreamRequest method.
req := client.DescribeStreamRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeThingGroupRequest

func (c *IoT) 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 the DescribeThingGroupRequest method.
req := client.DescribeThingGroupRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeThingRegistrationTaskRequest

func (c *IoT) 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 the DescribeThingRegistrationTaskRequest method.
req := client.DescribeThingRegistrationTaskRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeThingRequest

func (c *IoT) 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 the DescribeThingRequest method.
req := client.DescribeThingRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DescribeThingTypeRequest

func (c *IoT) 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 the DescribeThingTypeRequest method.
req := client.DescribeThingTypeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DetachPolicyRequest

func (c *IoT) 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 the DetachPolicyRequest method.
req := client.DetachPolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DetachPrincipalPolicyRequest

func (c *IoT) 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 the DetachPrincipalPolicyRequest method.
req := client.DetachPrincipalPolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) DetachThingPrincipalRequest

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

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

Detaches the specified principal from the specified thing.

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

func (*IoT) DisableTopicRuleRequest

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

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

Disables the rule.

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

func (*IoT) EnableTopicRuleRequest

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

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

Enables the rule.

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

func (*IoT) GetEffectivePoliciesRequest

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

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

Gets effective policies.

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

func (*IoT) GetIndexingConfigurationRequest

func (c *IoT) 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 the GetIndexingConfigurationRequest method.
req := client.GetIndexingConfigurationRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) GetJobDocumentRequest

func (c *IoT) 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 the GetJobDocumentRequest method.
req := client.GetJobDocumentRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) GetLoggingOptionsRequest

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

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

Gets the logging options.

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

func (*IoT) GetOTAUpdateRequest

func (c *IoT) 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 the GetOTAUpdateRequest method.
req := client.GetOTAUpdateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) GetPolicyRequest

func (c *IoT) 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 the GetPolicyRequest method.
req := client.GetPolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) GetPolicyVersionRequest

func (c *IoT) 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 the GetPolicyVersionRequest method.
req := client.GetPolicyVersionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) GetRegistrationCodeRequest

func (c *IoT) 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 the GetRegistrationCodeRequest method.
req := client.GetRegistrationCodeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) GetTopicRuleRequest

func (c *IoT) 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 the GetTopicRuleRequest method.
req := client.GetTopicRuleRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) GetV2LoggingOptionsRequest

func (c *IoT) 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 the GetV2LoggingOptionsRequest method.
req := client.GetV2LoggingOptionsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListAttachedPoliciesRequest

func (c *IoT) 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 the ListAttachedPoliciesRequest method.
req := client.ListAttachedPoliciesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListAuthorizersRequest

func (c *IoT) 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 the ListAuthorizersRequest method.
req := client.ListAuthorizersRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListCACertificatesRequest

func (c *IoT) 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 the ListCACertificatesRequest method.
req := client.ListCACertificatesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListCertificatesByCARequest

func (c *IoT) 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 the ListCertificatesByCARequest method.
req := client.ListCertificatesByCARequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListCertificatesRequest

func (c *IoT) 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 the ListCertificatesRequest method.
req := client.ListCertificatesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListIndicesRequest

func (c *IoT) 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 the ListIndicesRequest method.
req := client.ListIndicesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListJobExecutionsForJobRequest

func (c *IoT) 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 the ListJobExecutionsForJobRequest method.
req := client.ListJobExecutionsForJobRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListJobExecutionsForThingRequest

func (c *IoT) 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 the ListJobExecutionsForThingRequest method.
req := client.ListJobExecutionsForThingRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListJobsRequest

func (c *IoT) ListJobsRequest(input *ListJobsInput) ListJobsRequest

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

Lists jobs.

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

func (*IoT) ListOTAUpdatesRequest

func (c *IoT) ListOTAUpdatesRequest(input *ListOTAUpdatesInput) ListOTAUpdatesRequest

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

Lists OTA updates.

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

func (*IoT) ListOutgoingCertificatesRequest

func (c *IoT) 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 the ListOutgoingCertificatesRequest method.
req := client.ListOutgoingCertificatesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListPoliciesRequest

func (c *IoT) ListPoliciesRequest(input *ListPoliciesInput) ListPoliciesRequest

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

Lists your policies.

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

func (*IoT) ListPolicyPrincipalsRequest

func (c *IoT) 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 the ListPolicyPrincipalsRequest method.
req := client.ListPolicyPrincipalsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListPolicyVersionsRequest

func (c *IoT) 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 the ListPolicyVersionsRequest method.
req := client.ListPolicyVersionsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListPrincipalPoliciesRequest

func (c *IoT) 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 (http://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 the ListPrincipalPoliciesRequest method.
req := client.ListPrincipalPoliciesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListPrincipalThingsRequest

func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) ListPrincipalThingsRequest

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

Lists the things associated with the specified principal.

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

func (*IoT) ListRoleAliasesRequest

func (c *IoT) 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 the ListRoleAliasesRequest method.
req := client.ListRoleAliasesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListStreamsRequest

func (c *IoT) 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 the ListStreamsRequest method.
req := client.ListStreamsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListTargetsForPolicyRequest

func (c *IoT) 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 the ListTargetsForPolicyRequest method.
req := client.ListTargetsForPolicyRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListThingGroupsForThingRequest

func (c *IoT) 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 the ListThingGroupsForThingRequest method.
req := client.ListThingGroupsForThingRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListThingGroupsRequest

func (c *IoT) 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 the ListThingGroupsRequest method.
req := client.ListThingGroupsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListThingPrincipalsRequest

func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) ListThingPrincipalsRequest

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

Lists the principals associated with the specified thing.

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

func (*IoT) ListThingRegistrationTaskReportsRequest

func (c *IoT) 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 the ListThingRegistrationTaskReportsRequest method.
req := client.ListThingRegistrationTaskReportsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListThingRegistrationTasksRequest

func (c *IoT) 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 the ListThingRegistrationTasksRequest method.
req := client.ListThingRegistrationTasksRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListThingTypesRequest

func (c *IoT) 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 the ListThingTypesRequest method.
req := client.ListThingTypesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListThingsInThingGroupRequest

func (c *IoT) 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 the ListThingsInThingGroupRequest method.
req := client.ListThingsInThingGroupRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListThingsRequest

func (c *IoT) 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 the ListThingsRequest method.
req := client.ListThingsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListTopicRulesRequest

func (c *IoT) 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 the ListTopicRulesRequest method.
req := client.ListTopicRulesRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ListV2LoggingLevelsRequest

func (c *IoT) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) ListV2LoggingLevelsRequest

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

Lists logging levels.

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

func (*IoT) RegisterCACertificateRequest

func (c *IoT) 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 the RegisterCACertificateRequest method.
req := client.RegisterCACertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) RegisterCertificateRequest

func (c *IoT) 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 the RegisterCertificateRequest method.
req := client.RegisterCertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) RegisterThingRequest

func (c *IoT) RegisterThingRequest(input *RegisterThingInput) RegisterThingRequest

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

Provisions a thing.

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

func (*IoT) RejectCertificateTransferRequest

func (c *IoT) 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 the RejectCertificateTransferRequest method.
req := client.RejectCertificateTransferRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) RemoveThingFromThingGroupRequest

func (c *IoT) 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 the RemoveThingFromThingGroupRequest method.
req := client.RemoveThingFromThingGroupRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) ReplaceTopicRuleRequest

func (c *IoT) 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 the ReplaceTopicRuleRequest method.
req := client.ReplaceTopicRuleRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) SearchIndexRequest

func (c *IoT) 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 the SearchIndexRequest method.
req := client.SearchIndexRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) SetDefaultAuthorizerRequest

func (c *IoT) 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 the SetDefaultAuthorizerRequest method.
req := client.SetDefaultAuthorizerRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) SetDefaultPolicyVersionRequest

func (c *IoT) 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 the SetDefaultPolicyVersionRequest method.
req := client.SetDefaultPolicyVersionRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) SetLoggingOptionsRequest

func (c *IoT) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) SetLoggingOptionsRequest

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

Sets the logging options.

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

func (*IoT) SetV2LoggingLevelRequest

func (c *IoT) 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 the SetV2LoggingLevelRequest method.
req := client.SetV2LoggingLevelRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) SetV2LoggingOptionsRequest

func (c *IoT) 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 the SetV2LoggingOptionsRequest method.
req := client.SetV2LoggingOptionsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) StartThingRegistrationTaskRequest

func (c *IoT) 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 the StartThingRegistrationTaskRequest method.
req := client.StartThingRegistrationTaskRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) StopThingRegistrationTaskRequest

func (c *IoT) 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 the StopThingRegistrationTaskRequest method.
req := client.StopThingRegistrationTaskRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) TestAuthorizationRequest

func (c *IoT) TestAuthorizationRequest(input *TestAuthorizationInput) TestAuthorizationRequest

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

Test custom authorization.

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

func (*IoT) TestInvokeAuthorizerRequest

func (c *IoT) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) TestInvokeAuthorizerRequest

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

Invoke the specified custom authorizer for testing purposes.

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

func (*IoT) TransferCertificateRequest

func (c *IoT) 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 the TransferCertificateRequest method.
req := client.TransferCertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateAuthorizerRequest

func (c *IoT) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) UpdateAuthorizerRequest

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

Updates an authorizer.

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

func (*IoT) UpdateCACertificateRequest

func (c *IoT) 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 the UpdateCACertificateRequest method.
req := client.UpdateCACertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateCertificateRequest

func (c *IoT) 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 the UpdateCertificateRequest method.
req := client.UpdateCertificateRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateEventConfigurationsRequest

func (c *IoT) 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 the UpdateEventConfigurationsRequest method.
req := client.UpdateEventConfigurationsRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateIndexingConfigurationRequest

func (c *IoT) 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 the UpdateIndexingConfigurationRequest method.
req := client.UpdateIndexingConfigurationRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateRoleAliasRequest

func (c *IoT) 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 the UpdateRoleAliasRequest method.
req := client.UpdateRoleAliasRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateStreamRequest

func (c *IoT) 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 the UpdateStreamRequest method.
req := client.UpdateStreamRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateThingGroupRequest

func (c *IoT) 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 the UpdateThingGroupRequest method.
req := client.UpdateThingGroupRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateThingGroupsForThingRequest

func (c *IoT) 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 the UpdateThingGroupsForThingRequest method.
req := client.UpdateThingGroupsForThingRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

func (*IoT) UpdateThingRequest

func (c *IoT) 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 the UpdateThingRequest method.
req := client.UpdateThingRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

type Job

type Job struct {

	// If the job was updated, describes the reason for the update.
	Comment *string `locationName:"comment" type:"string"`

	// The time, in milliseconds since the epoch, when the job was completed.
	CompletedAt *time.Time `locationName:"completedAt" type:"timestamp" timestampFormat:"unix"`

	// The time, in milliseconds since the epoch, when the job was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

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

	// The parameters specified for the job document.
	DocumentParameters map[string]string `locationName:"documentParameters" type:"map"`

	// 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 milliseconds since the epoch, when the job was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"`

	// Configuration for pre-signed S3 URLs.
	PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"`

	// The status of the job, one of IN_PROGRESS, CANCELED, 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"`
	// contains filtered or unexported fields
}

The Job object contains details about a job.

func (Job) GoString

func (s Job) GoString() string

GoString returns the string representation

func (*Job) SetComment

func (s *Job) SetComment(v string) *Job

SetComment sets the Comment field's value.

func (*Job) SetCompletedAt

func (s *Job) SetCompletedAt(v time.Time) *Job

SetCompletedAt sets the CompletedAt field's value.

func (*Job) SetCreatedAt

func (s *Job) SetCreatedAt(v time.Time) *Job

SetCreatedAt sets the CreatedAt field's value.

func (*Job) SetDescription

func (s *Job) SetDescription(v string) *Job

SetDescription sets the Description field's value.

func (*Job) SetDocumentParameters

func (s *Job) SetDocumentParameters(v map[string]string) *Job

SetDocumentParameters sets the DocumentParameters field's value.

func (*Job) SetJobArn

func (s *Job) SetJobArn(v string) *Job

SetJobArn sets the JobArn field's value.

func (*Job) SetJobExecutionsRolloutConfig

func (s *Job) SetJobExecutionsRolloutConfig(v *JobExecutionsRolloutConfig) *Job

SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value.

func (*Job) SetJobId

func (s *Job) SetJobId(v string) *Job

SetJobId sets the JobId field's value.

func (*Job) SetJobProcessDetails

func (s *Job) SetJobProcessDetails(v *JobProcessDetails) *Job

SetJobProcessDetails sets the JobProcessDetails field's value.

func (*Job) SetLastUpdatedAt

func (s *Job) SetLastUpdatedAt(v time.Time) *Job

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*Job) SetPresignedUrlConfig

func (s *Job) SetPresignedUrlConfig(v *PresignedUrlConfig) *Job

SetPresignedUrlConfig sets the PresignedUrlConfig field's value.

func (*Job) SetStatus

func (s *Job) SetStatus(v JobStatus) *Job

SetStatus sets the Status field's value.

func (*Job) SetTargetSelection

func (s *Job) SetTargetSelection(v TargetSelection) *Job

SetTargetSelection sets the TargetSelection field's value.

func (*Job) SetTargets

func (s *Job) SetTargets(v []string) *Job

SetTargets sets the Targets field's value.

func (Job) String

func (s Job) String() string

String returns the string representation

type JobExecution

type JobExecution struct {

	// 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"`

	// The unique identifier you assigned to the job when it was created.
	JobId *string `locationName:"jobId" min:"1" type:"string"`

	// The time, in milliseconds since the epoch, when the job execution was last
	// updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"`

	// The time, in milliseconds since the epoch, when the job execution was queued.
	QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp" timestampFormat:"unix"`

	// The time, in milliseconds since the epoch, when the job execution started.
	StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"`

	// The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCESS, 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"`
	// contains filtered or unexported fields
}

The job execution object represents the execution of a job on a particular device.

func (JobExecution) GoString

func (s JobExecution) GoString() string

GoString returns the string representation

func (*JobExecution) SetExecutionNumber

func (s *JobExecution) SetExecutionNumber(v int64) *JobExecution

SetExecutionNumber sets the ExecutionNumber field's value.

func (*JobExecution) SetJobId

func (s *JobExecution) SetJobId(v string) *JobExecution

SetJobId sets the JobId field's value.

func (*JobExecution) SetLastUpdatedAt

func (s *JobExecution) SetLastUpdatedAt(v time.Time) *JobExecution

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*JobExecution) SetQueuedAt

func (s *JobExecution) SetQueuedAt(v time.Time) *JobExecution

SetQueuedAt sets the QueuedAt field's value.

func (*JobExecution) SetStartedAt

func (s *JobExecution) SetStartedAt(v time.Time) *JobExecution

SetStartedAt sets the StartedAt field's value.

func (*JobExecution) SetStatus

func (s *JobExecution) SetStatus(v JobExecutionStatus) *JobExecution

SetStatus sets the Status field's value.

func (*JobExecution) SetStatusDetails

func (s *JobExecution) SetStatusDetails(v *JobExecutionStatusDetails) *JobExecution

SetStatusDetails sets the StatusDetails field's value.

func (*JobExecution) SetThingArn

func (s *JobExecution) SetThingArn(v string) *JobExecution

SetThingArn sets the ThingArn field's value.

func (JobExecution) String

func (s JobExecution) String() string

String returns the string representation

type JobExecutionStatus

type JobExecutionStatus string
const (
	JobExecutionStatusQueued     JobExecutionStatus = "QUEUED"
	JobExecutionStatusInProgress JobExecutionStatus = "IN_PROGRESS"
	JobExecutionStatusSucceeded  JobExecutionStatus = "SUCCEEDED"
	JobExecutionStatusFailed     JobExecutionStatus = "FAILED"
	JobExecutionStatusRejected   JobExecutionStatus = "REJECTED"
	JobExecutionStatusRemoved    JobExecutionStatus = "REMOVED"
	JobExecutionStatusCanceled   JobExecutionStatus = "CANCELED"
)

Enum values for JobExecutionStatus

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) GoString

func (s JobExecutionStatusDetails) GoString() string

GoString returns the string representation

func (*JobExecutionStatusDetails) SetDetailsMap

SetDetailsMap sets the DetailsMap field's value.

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 milliseconds since the epoch, when the job execution was last
	// updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"`

	// The time, in milliseconds since the epoch, when the job execution was queued.
	QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp" timestampFormat:"unix"`

	// The time, in milliseconds since the epoch, when the job execution started.
	StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"`

	// 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) GoString

func (s JobExecutionSummary) GoString() string

GoString returns the string representation

func (*JobExecutionSummary) SetExecutionNumber

func (s *JobExecutionSummary) SetExecutionNumber(v int64) *JobExecutionSummary

SetExecutionNumber sets the ExecutionNumber field's value.

func (*JobExecutionSummary) SetLastUpdatedAt

func (s *JobExecutionSummary) SetLastUpdatedAt(v time.Time) *JobExecutionSummary

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*JobExecutionSummary) SetQueuedAt

func (s *JobExecutionSummary) SetQueuedAt(v time.Time) *JobExecutionSummary

SetQueuedAt sets the QueuedAt field's value.

func (*JobExecutionSummary) SetStartedAt

func (s *JobExecutionSummary) SetStartedAt(v time.Time) *JobExecutionSummary

SetStartedAt sets the StartedAt field's value.

func (*JobExecutionSummary) SetStatus

SetStatus sets the Status field's value.

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) GoString

func (s JobExecutionSummaryForJob) GoString() string

GoString returns the string representation

func (*JobExecutionSummaryForJob) SetJobExecutionSummary

SetJobExecutionSummary sets the JobExecutionSummary field's value.

func (*JobExecutionSummaryForJob) SetThingArn

SetThingArn sets the ThingArn field's value.

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) GoString

func (s JobExecutionSummaryForThing) GoString() string

GoString returns the string representation

func (*JobExecutionSummaryForThing) SetJobExecutionSummary

SetJobExecutionSummary sets the JobExecutionSummary field's value.

func (*JobExecutionSummaryForThing) SetJobId

SetJobId sets the JobId field's value.

func (JobExecutionSummaryForThing) String

String returns the string representation

type JobExecutionsRolloutConfig

type JobExecutionsRolloutConfig struct {

	// 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) GoString

func (s JobExecutionsRolloutConfig) GoString() string

GoString returns the string representation

func (*JobExecutionsRolloutConfig) SetMaximumPerMinute

func (s *JobExecutionsRolloutConfig) SetMaximumPerMinute(v int64) *JobExecutionsRolloutConfig

SetMaximumPerMinute sets the MaximumPerMinute field's value.

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 devices on which the job is executing.
	ProcessingTargets []string `locationName:"processingTargets" type:"list"`
	// contains filtered or unexported fields
}

The job process details.

func (JobProcessDetails) GoString

func (s JobProcessDetails) GoString() string

GoString returns the string representation

func (*JobProcessDetails) SetNumberOfCanceledThings

func (s *JobProcessDetails) SetNumberOfCanceledThings(v int64) *JobProcessDetails

SetNumberOfCanceledThings sets the NumberOfCanceledThings field's value.

func (*JobProcessDetails) SetNumberOfFailedThings

func (s *JobProcessDetails) SetNumberOfFailedThings(v int64) *JobProcessDetails

SetNumberOfFailedThings sets the NumberOfFailedThings field's value.

func (*JobProcessDetails) SetNumberOfInProgressThings

func (s *JobProcessDetails) SetNumberOfInProgressThings(v int64) *JobProcessDetails

SetNumberOfInProgressThings sets the NumberOfInProgressThings field's value.

func (*JobProcessDetails) SetNumberOfQueuedThings

func (s *JobProcessDetails) SetNumberOfQueuedThings(v int64) *JobProcessDetails

SetNumberOfQueuedThings sets the NumberOfQueuedThings field's value.

func (*JobProcessDetails) SetNumberOfRejectedThings

func (s *JobProcessDetails) SetNumberOfRejectedThings(v int64) *JobProcessDetails

SetNumberOfRejectedThings sets the NumberOfRejectedThings field's value.

func (*JobProcessDetails) SetNumberOfRemovedThings

func (s *JobProcessDetails) SetNumberOfRemovedThings(v int64) *JobProcessDetails

SetNumberOfRemovedThings sets the NumberOfRemovedThings field's value.

func (*JobProcessDetails) SetNumberOfSucceededThings

func (s *JobProcessDetails) SetNumberOfSucceededThings(v int64) *JobProcessDetails

SetNumberOfSucceededThings sets the NumberOfSucceededThings field's value.

func (*JobProcessDetails) SetProcessingTargets

func (s *JobProcessDetails) SetProcessingTargets(v []string) *JobProcessDetails

SetProcessingTargets sets the ProcessingTargets field's value.

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"
)

Enum values for JobStatus

type JobSummary

type JobSummary struct {

	// The time, in milliseconds since the epoch, when the job completed.
	CompletedAt *time.Time `locationName:"completedAt" type:"timestamp" timestampFormat:"unix"`

	// The time, in milliseconds since the epoch, when the job was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// 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 milliseconds since the epoch, when the job was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"`

	// 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) GoString

func (s JobSummary) GoString() string

GoString returns the string representation

func (*JobSummary) SetCompletedAt

func (s *JobSummary) SetCompletedAt(v time.Time) *JobSummary

SetCompletedAt sets the CompletedAt field's value.

func (*JobSummary) SetCreatedAt

func (s *JobSummary) SetCreatedAt(v time.Time) *JobSummary

SetCreatedAt sets the CreatedAt field's value.

func (*JobSummary) SetJobArn

func (s *JobSummary) SetJobArn(v string) *JobSummary

SetJobArn sets the JobArn field's value.

func (*JobSummary) SetJobId

func (s *JobSummary) SetJobId(v string) *JobSummary

SetJobId sets the JobId field's value.

func (*JobSummary) SetLastUpdatedAt

func (s *JobSummary) SetLastUpdatedAt(v time.Time) *JobSummary

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*JobSummary) SetStatus

func (s *JobSummary) SetStatus(v JobStatus) *JobSummary

SetStatus sets the Status field's value.

func (*JobSummary) SetTargetSelection

func (s *JobSummary) SetTargetSelection(v TargetSelection) *JobSummary

SetTargetSelection sets the TargetSelection field's value.

func (*JobSummary) SetThingGroupId

func (s *JobSummary) SetThingGroupId(v string) *JobSummary

SetThingGroupId sets the ThingGroupId field's value.

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) GoString

func (s KeyPair) GoString() string

GoString returns the string representation

func (*KeyPair) SetPrivateKey

func (s *KeyPair) SetPrivateKey(v string) *KeyPair

SetPrivateKey sets the PrivateKey field's value.

func (*KeyPair) SetPublicKey

func (s *KeyPair) SetPublicKey(v string) *KeyPair

SetPublicKey sets the PublicKey field's value.

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) GoString

func (s KinesisAction) GoString() string

GoString returns the string representation

func (*KinesisAction) SetPartitionKey

func (s *KinesisAction) SetPartitionKey(v string) *KinesisAction

SetPartitionKey sets the PartitionKey field's value.

func (*KinesisAction) SetRoleArn

func (s *KinesisAction) SetRoleArn(v string) *KinesisAction

SetRoleArn sets the RoleArn field's value.

func (*KinesisAction) SetStreamName

func (s *KinesisAction) SetStreamName(v string) *KinesisAction

SetStreamName sets the StreamName field's value.

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) GoString

func (s LambdaAction) GoString() string

GoString returns the string representation

func (*LambdaAction) SetFunctionArn

func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction

SetFunctionArn sets the FunctionArn field's value.

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 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 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) GoString

func (s ListAttachedPoliciesInput) GoString() string

GoString returns the string representation

func (*ListAttachedPoliciesInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListAttachedPoliciesInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListAttachedPoliciesInput) SetRecursive

SetRecursive sets the Recursive field's value.

func (*ListAttachedPoliciesInput) SetTarget

SetTarget sets the Target field's value.

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) GoString

func (s ListAttachedPoliciesOutput) GoString() string

GoString returns the string representation

func (ListAttachedPoliciesOutput) SDKResponseMetadata

func (s ListAttachedPoliciesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListAttachedPoliciesOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (*ListAttachedPoliciesOutput) SetPolicies

SetPolicies sets the Policies field's value.

func (ListAttachedPoliciesOutput) String

String returns the string representation

type ListAttachedPoliciesRequest

type ListAttachedPoliciesRequest struct {
	*aws.Request
	Input *ListAttachedPoliciesInput
}

ListAttachedPoliciesRequest is a API request type for the ListAttachedPolicies API operation.

func (ListAttachedPoliciesRequest) Send

Send marshals and sends the ListAttachedPolicies API 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) GoString

func (s ListAuthorizersInput) GoString() string

GoString returns the string representation

func (*ListAuthorizersInput) SetAscendingOrder

func (s *ListAuthorizersInput) SetAscendingOrder(v bool) *ListAuthorizersInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListAuthorizersInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListAuthorizersInput) SetPageSize

func (s *ListAuthorizersInput) SetPageSize(v int64) *ListAuthorizersInput

SetPageSize sets the PageSize field's value.

func (*ListAuthorizersInput) SetStatus

SetStatus sets the Status field's value.

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) GoString

func (s ListAuthorizersOutput) GoString() string

GoString returns the string representation

func (ListAuthorizersOutput) SDKResponseMetadata

func (s ListAuthorizersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListAuthorizersOutput) SetAuthorizers

SetAuthorizers sets the Authorizers field's value.

func (*ListAuthorizersOutput) SetNextMarker

func (s *ListAuthorizersOutput) SetNextMarker(v string) *ListAuthorizersOutput

SetNextMarker sets the NextMarker field's value.

func (ListAuthorizersOutput) String

func (s ListAuthorizersOutput) String() string

String returns the string representation

type ListAuthorizersRequest

type ListAuthorizersRequest struct {
	*aws.Request
	Input *ListAuthorizersInput
}

ListAuthorizersRequest is a API request type for the ListAuthorizers API operation.

func (ListAuthorizersRequest) Send

Send marshals and sends the ListAuthorizers API 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) GoString

func (s ListCACertificatesInput) GoString() string

GoString returns the string representation

func (*ListCACertificatesInput) SetAscendingOrder

func (s *ListCACertificatesInput) SetAscendingOrder(v bool) *ListCACertificatesInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListCACertificatesInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListCACertificatesInput) SetPageSize

SetPageSize sets the PageSize field's value.

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) GoString

func (s ListCACertificatesOutput) GoString() string

GoString returns the string representation

func (ListCACertificatesOutput) SDKResponseMetadata

func (s ListCACertificatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListCACertificatesOutput) SetCertificates

SetCertificates sets the Certificates field's value.

func (*ListCACertificatesOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (ListCACertificatesOutput) String

func (s ListCACertificatesOutput) String() string

String returns the string representation

type ListCACertificatesRequest

type ListCACertificatesRequest struct {
	*aws.Request
	Input *ListCACertificatesInput
}

ListCACertificatesRequest is a API request type for the ListCACertificates API operation.

func (ListCACertificatesRequest) Send

Send marshals and sends the ListCACertificates API 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) GoString

func (s ListCertificatesByCAInput) GoString() string

GoString returns the string representation

func (*ListCertificatesByCAInput) SetAscendingOrder

func (s *ListCertificatesByCAInput) SetAscendingOrder(v bool) *ListCertificatesByCAInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListCertificatesByCAInput) SetCaCertificateId

SetCaCertificateId sets the CaCertificateId field's value.

func (*ListCertificatesByCAInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListCertificatesByCAInput) SetPageSize

SetPageSize sets the PageSize field's value.

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) GoString

func (s ListCertificatesByCAOutput) GoString() string

GoString returns the string representation

func (ListCertificatesByCAOutput) SDKResponseMetadata

func (s ListCertificatesByCAOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListCertificatesByCAOutput) SetCertificates

SetCertificates sets the Certificates field's value.

func (*ListCertificatesByCAOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (ListCertificatesByCAOutput) String

String returns the string representation

type ListCertificatesByCARequest

type ListCertificatesByCARequest struct {
	*aws.Request
	Input *ListCertificatesByCAInput
}

ListCertificatesByCARequest is a API request type for the ListCertificatesByCA API operation.

func (ListCertificatesByCARequest) Send

Send marshals and sends the ListCertificatesByCA API 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) GoString

func (s ListCertificatesInput) GoString() string

GoString returns the string representation

func (*ListCertificatesInput) SetAscendingOrder

func (s *ListCertificatesInput) SetAscendingOrder(v bool) *ListCertificatesInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListCertificatesInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListCertificatesInput) SetPageSize

SetPageSize sets the PageSize field's value.

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) GoString

func (s ListCertificatesOutput) GoString() string

GoString returns the string representation

func (ListCertificatesOutput) SDKResponseMetadata

func (s ListCertificatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListCertificatesOutput) SetCertificates

SetCertificates sets the Certificates field's value.

func (*ListCertificatesOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (ListCertificatesOutput) String

func (s ListCertificatesOutput) String() string

String returns the string representation

type ListCertificatesRequest

type ListCertificatesRequest struct {
	*aws.Request
	Input *ListCertificatesInput
}

ListCertificatesRequest is a API request type for the ListCertificates API operation.

func (ListCertificatesRequest) Send

Send marshals and sends the ListCertificates API 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) GoString

func (s ListIndicesInput) GoString() string

GoString returns the string representation

func (*ListIndicesInput) SetMaxResults

func (s *ListIndicesInput) SetMaxResults(v int64) *ListIndicesInput

SetMaxResults sets the MaxResults field's value.

func (*ListIndicesInput) SetNextToken

func (s *ListIndicesInput) SetNextToken(v string) *ListIndicesInput

SetNextToken sets the NextToken field's value.

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) GoString

func (s ListIndicesOutput) GoString() string

GoString returns the string representation

func (ListIndicesOutput) SDKResponseMetadata

func (s ListIndicesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListIndicesOutput) SetIndexNames

func (s *ListIndicesOutput) SetIndexNames(v []string) *ListIndicesOutput

SetIndexNames sets the IndexNames field's value.

func (*ListIndicesOutput) SetNextToken

func (s *ListIndicesOutput) SetNextToken(v string) *ListIndicesOutput

SetNextToken sets the NextToken field's value.

func (ListIndicesOutput) String

func (s ListIndicesOutput) String() string

String returns the string representation

type ListIndicesRequest

type ListIndicesRequest struct {
	*aws.Request
	Input *ListIndicesInput
}

ListIndicesRequest is a API request type for the ListIndices API operation.

func (ListIndicesRequest) Send

Send marshals and sends the ListIndices API 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) GoString

func (s ListJobExecutionsForJobInput) GoString() string

GoString returns the string representation

func (*ListJobExecutionsForJobInput) SetJobId

SetJobId sets the JobId field's value.

func (*ListJobExecutionsForJobInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListJobExecutionsForJobInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListJobExecutionsForJobInput) SetStatus

SetStatus sets the Status field's value.

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) GoString

GoString returns the string representation

func (ListJobExecutionsForJobOutput) SDKResponseMetadata

func (s ListJobExecutionsForJobOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListJobExecutionsForJobOutput) SetExecutionSummaries

SetExecutionSummaries sets the ExecutionSummaries field's value.

func (*ListJobExecutionsForJobOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListJobExecutionsForJobOutput) String

String returns the string representation

type ListJobExecutionsForJobRequest

type ListJobExecutionsForJobRequest struct {
	*aws.Request
	Input *ListJobExecutionsForJobInput
}

ListJobExecutionsForJobRequest is a API request type for the ListJobExecutionsForJob API operation.

func (ListJobExecutionsForJobRequest) Send

Send marshals and sends the ListJobExecutionsForJob API 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) GoString

GoString returns the string representation

func (*ListJobExecutionsForThingInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListJobExecutionsForThingInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListJobExecutionsForThingInput) SetStatus

SetStatus sets the Status field's value.

func (*ListJobExecutionsForThingInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

GoString returns the string representation

func (ListJobExecutionsForThingOutput) SDKResponseMetadata

func (s ListJobExecutionsForThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListJobExecutionsForThingOutput) SetExecutionSummaries

SetExecutionSummaries sets the ExecutionSummaries field's value.

func (*ListJobExecutionsForThingOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListJobExecutionsForThingOutput) String

String returns the string representation

type ListJobExecutionsForThingRequest

type ListJobExecutionsForThingRequest struct {
	*aws.Request
	Input *ListJobExecutionsForThingInput
}

ListJobExecutionsForThingRequest is a API request type for the ListJobExecutionsForThing API operation.

func (ListJobExecutionsForThingRequest) Send

Send marshals and sends the ListJobExecutionsForThing API 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) GoString

func (s ListJobsInput) GoString() string

GoString returns the string representation

func (*ListJobsInput) SetMaxResults

func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput

SetMaxResults sets the MaxResults field's value.

func (*ListJobsInput) SetNextToken

func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput

SetNextToken sets the NextToken field's value.

func (*ListJobsInput) SetStatus

func (s *ListJobsInput) SetStatus(v JobStatus) *ListJobsInput

SetStatus sets the Status field's value.

func (*ListJobsInput) SetTargetSelection

func (s *ListJobsInput) SetTargetSelection(v TargetSelection) *ListJobsInput

SetTargetSelection sets the TargetSelection field's value.

func (*ListJobsInput) SetThingGroupId

func (s *ListJobsInput) SetThingGroupId(v string) *ListJobsInput

SetThingGroupId sets the ThingGroupId field's value.

func (*ListJobsInput) SetThingGroupName

func (s *ListJobsInput) SetThingGroupName(v string) *ListJobsInput

SetThingGroupName sets the ThingGroupName field's value.

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) GoString

func (s ListJobsOutput) GoString() string

GoString returns the string representation

func (ListJobsOutput) SDKResponseMetadata

func (s ListJobsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListJobsOutput) SetJobs

func (s *ListJobsOutput) SetJobs(v []JobSummary) *ListJobsOutput

SetJobs sets the Jobs field's value.

func (*ListJobsOutput) SetNextToken

func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput

SetNextToken sets the NextToken field's value.

func (ListJobsOutput) String

func (s ListJobsOutput) String() string

String returns the string representation

type ListJobsRequest

type ListJobsRequest struct {
	*aws.Request
	Input *ListJobsInput
}

ListJobsRequest is a API request type for the ListJobs API operation.

func (ListJobsRequest) Send

func (r ListJobsRequest) Send() (*ListJobsOutput, error)

Send marshals and sends the ListJobs API 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 retreive 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) GoString

func (s ListOTAUpdatesInput) GoString() string

GoString returns the string representation

func (*ListOTAUpdatesInput) SetMaxResults

func (s *ListOTAUpdatesInput) SetMaxResults(v int64) *ListOTAUpdatesInput

SetMaxResults sets the MaxResults field's value.

func (*ListOTAUpdatesInput) SetNextToken

func (s *ListOTAUpdatesInput) SetNextToken(v string) *ListOTAUpdatesInput

SetNextToken sets the NextToken field's value.

func (*ListOTAUpdatesInput) SetOtaUpdateStatus

func (s *ListOTAUpdatesInput) SetOtaUpdateStatus(v OTAUpdateStatus) *ListOTAUpdatesInput

SetOtaUpdateStatus sets the OtaUpdateStatus field's value.

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) GoString

func (s ListOTAUpdatesOutput) GoString() string

GoString returns the string representation

func (ListOTAUpdatesOutput) SDKResponseMetadata

func (s ListOTAUpdatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListOTAUpdatesOutput) SetNextToken

func (s *ListOTAUpdatesOutput) SetNextToken(v string) *ListOTAUpdatesOutput

SetNextToken sets the NextToken field's value.

func (*ListOTAUpdatesOutput) SetOtaUpdates

SetOtaUpdates sets the OtaUpdates field's value.

func (ListOTAUpdatesOutput) String

func (s ListOTAUpdatesOutput) String() string

String returns the string representation

type ListOTAUpdatesRequest

type ListOTAUpdatesRequest struct {
	*aws.Request
	Input *ListOTAUpdatesInput
}

ListOTAUpdatesRequest is a API request type for the ListOTAUpdates API operation.

func (ListOTAUpdatesRequest) Send

Send marshals and sends the ListOTAUpdates API 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) GoString

GoString returns the string representation

func (*ListOutgoingCertificatesInput) SetAscendingOrder

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListOutgoingCertificatesInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListOutgoingCertificatesInput) SetPageSize

SetPageSize sets the PageSize field's value.

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) GoString

GoString returns the string representation

func (ListOutgoingCertificatesOutput) SDKResponseMetadata

func (s ListOutgoingCertificatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListOutgoingCertificatesOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (*ListOutgoingCertificatesOutput) SetOutgoingCertificates

SetOutgoingCertificates sets the OutgoingCertificates field's value.

func (ListOutgoingCertificatesOutput) String

String returns the string representation

type ListOutgoingCertificatesRequest

type ListOutgoingCertificatesRequest struct {
	*aws.Request
	Input *ListOutgoingCertificatesInput
}

ListOutgoingCertificatesRequest is a API request type for the ListOutgoingCertificates API operation.

func (ListOutgoingCertificatesRequest) Send

Send marshals and sends the ListOutgoingCertificates API 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) GoString

func (s ListPoliciesInput) GoString() string

GoString returns the string representation

func (*ListPoliciesInput) SetAscendingOrder

func (s *ListPoliciesInput) SetAscendingOrder(v bool) *ListPoliciesInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListPoliciesInput) SetMarker

func (s *ListPoliciesInput) SetMarker(v string) *ListPoliciesInput

SetMarker sets the Marker field's value.

func (*ListPoliciesInput) SetPageSize

func (s *ListPoliciesInput) SetPageSize(v int64) *ListPoliciesInput

SetPageSize sets the PageSize field's value.

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) GoString

func (s ListPoliciesOutput) GoString() string

GoString returns the string representation

func (ListPoliciesOutput) SDKResponseMetadata

func (s ListPoliciesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListPoliciesOutput) SetNextMarker

func (s *ListPoliciesOutput) SetNextMarker(v string) *ListPoliciesOutput

SetNextMarker sets the NextMarker field's value.

func (*ListPoliciesOutput) SetPolicies

func (s *ListPoliciesOutput) SetPolicies(v []Policy) *ListPoliciesOutput

SetPolicies sets the Policies field's value.

func (ListPoliciesOutput) String

func (s ListPoliciesOutput) String() string

String returns the string representation

type ListPoliciesRequest

type ListPoliciesRequest struct {
	*aws.Request
	Input *ListPoliciesInput
}

ListPoliciesRequest is a API request type for the ListPolicies API operation.

func (ListPoliciesRequest) Send

Send marshals and sends the ListPolicies API 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) GoString

func (s ListPolicyPrincipalsInput) GoString() string

GoString returns the string representation

func (*ListPolicyPrincipalsInput) SetAscendingOrder

func (s *ListPolicyPrincipalsInput) SetAscendingOrder(v bool) *ListPolicyPrincipalsInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListPolicyPrincipalsInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListPolicyPrincipalsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListPolicyPrincipalsInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

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) GoString

func (s ListPolicyPrincipalsOutput) GoString() string

GoString returns the string representation

func (ListPolicyPrincipalsOutput) SDKResponseMetadata

func (s ListPolicyPrincipalsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListPolicyPrincipalsOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (*ListPolicyPrincipalsOutput) SetPrincipals

SetPrincipals sets the Principals field's value.

func (ListPolicyPrincipalsOutput) String

String returns the string representation

type ListPolicyPrincipalsRequest

type ListPolicyPrincipalsRequest struct {
	*aws.Request
	Input *ListPolicyPrincipalsInput
}

ListPolicyPrincipalsRequest is a API request type for the ListPolicyPrincipals API operation.

func (ListPolicyPrincipalsRequest) Send

Send marshals and sends the ListPolicyPrincipals API 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) GoString

func (s ListPolicyVersionsInput) GoString() string

GoString returns the string representation

func (*ListPolicyVersionsInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

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) GoString

func (s ListPolicyVersionsOutput) GoString() string

GoString returns the string representation

func (ListPolicyVersionsOutput) SDKResponseMetadata

func (s ListPolicyVersionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListPolicyVersionsOutput) SetPolicyVersions

SetPolicyVersions sets the PolicyVersions field's value.

func (ListPolicyVersionsOutput) String

func (s ListPolicyVersionsOutput) String() string

String returns the string representation

type ListPolicyVersionsRequest

type ListPolicyVersionsRequest struct {
	*aws.Request
	Input *ListPolicyVersionsInput
}

ListPolicyVersionsRequest is a API request type for the ListPolicyVersions API operation.

func (ListPolicyVersionsRequest) Send

Send marshals and sends the ListPolicyVersions API 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) GoString

func (s ListPrincipalPoliciesInput) GoString() string

GoString returns the string representation

func (*ListPrincipalPoliciesInput) SetAscendingOrder

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListPrincipalPoliciesInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListPrincipalPoliciesInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListPrincipalPoliciesInput) SetPrincipal

SetPrincipal sets the Principal field's value.

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) GoString

func (s ListPrincipalPoliciesOutput) GoString() string

GoString returns the string representation

func (ListPrincipalPoliciesOutput) SDKResponseMetadata

func (s ListPrincipalPoliciesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListPrincipalPoliciesOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (*ListPrincipalPoliciesOutput) SetPolicies

SetPolicies sets the Policies field's value.

func (ListPrincipalPoliciesOutput) String

String returns the string representation

type ListPrincipalPoliciesRequest

type ListPrincipalPoliciesRequest struct {
	*aws.Request
	Input *ListPrincipalPoliciesInput
}

ListPrincipalPoliciesRequest is a API request type for the ListPrincipalPolicies API operation.

func (ListPrincipalPoliciesRequest) Send

Send marshals and sends the ListPrincipalPolicies API 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 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 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) GoString

func (s ListPrincipalThingsInput) GoString() string

GoString returns the string representation

func (*ListPrincipalThingsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPrincipalThingsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPrincipalThingsInput) SetPrincipal

SetPrincipal sets the Principal field's value.

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) GoString

func (s ListPrincipalThingsOutput) GoString() string

GoString returns the string representation

func (ListPrincipalThingsOutput) SDKResponseMetadata

func (s ListPrincipalThingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListPrincipalThingsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPrincipalThingsOutput) SetThings

SetThings sets the Things field's value.

func (ListPrincipalThingsOutput) String

func (s ListPrincipalThingsOutput) String() string

String returns the string representation

type ListPrincipalThingsRequest

type ListPrincipalThingsRequest struct {
	*aws.Request
	Input *ListPrincipalThingsInput
}

ListPrincipalThingsRequest is a API request type for the ListPrincipalThings API operation.

func (ListPrincipalThingsRequest) Send

Send marshals and sends the ListPrincipalThings API 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) GoString

func (s ListRoleAliasesInput) GoString() string

GoString returns the string representation

func (*ListRoleAliasesInput) SetAscendingOrder

func (s *ListRoleAliasesInput) SetAscendingOrder(v bool) *ListRoleAliasesInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListRoleAliasesInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListRoleAliasesInput) SetPageSize

func (s *ListRoleAliasesInput) SetPageSize(v int64) *ListRoleAliasesInput

SetPageSize sets the PageSize field's value.

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) GoString

func (s ListRoleAliasesOutput) GoString() string

GoString returns the string representation

func (ListRoleAliasesOutput) SDKResponseMetadata

func (s ListRoleAliasesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListRoleAliasesOutput) SetNextMarker

func (s *ListRoleAliasesOutput) SetNextMarker(v string) *ListRoleAliasesOutput

SetNextMarker sets the NextMarker field's value.

func (*ListRoleAliasesOutput) SetRoleAliases

func (s *ListRoleAliasesOutput) SetRoleAliases(v []string) *ListRoleAliasesOutput

SetRoleAliases sets the RoleAliases field's value.

func (ListRoleAliasesOutput) String

func (s ListRoleAliasesOutput) String() string

String returns the string representation

type ListRoleAliasesRequest

type ListRoleAliasesRequest struct {
	*aws.Request
	Input *ListRoleAliasesInput
}

ListRoleAliasesRequest is a API request type for the ListRoleAliases API operation.

func (ListRoleAliasesRequest) Send

Send marshals and sends the ListRoleAliases API 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) GoString

func (s ListStreamsInput) GoString() string

GoString returns the string representation

func (*ListStreamsInput) SetAscendingOrder

func (s *ListStreamsInput) SetAscendingOrder(v bool) *ListStreamsInput

SetAscendingOrder sets the AscendingOrder field's value.

func (*ListStreamsInput) SetMaxResults

func (s *ListStreamsInput) SetMaxResults(v int64) *ListStreamsInput

SetMaxResults sets the MaxResults field's value.

func (*ListStreamsInput) SetNextToken

func (s *ListStreamsInput) SetNextToken(v string) *ListStreamsInput

SetNextToken sets the NextToken field's value.

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) GoString

func (s ListStreamsOutput) GoString() string

GoString returns the string representation

func (ListStreamsOutput) SDKResponseMetadata

func (s ListStreamsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListStreamsOutput) SetNextToken

func (s *ListStreamsOutput) SetNextToken(v string) *ListStreamsOutput

SetNextToken sets the NextToken field's value.

func (*ListStreamsOutput) SetStreams

SetStreams sets the Streams field's value.

func (ListStreamsOutput) String

func (s ListStreamsOutput) String() string

String returns the string representation

type ListStreamsRequest

type ListStreamsRequest struct {
	*aws.Request
	Input *ListStreamsInput
}

ListStreamsRequest is a API request type for the ListStreams API operation.

func (ListStreamsRequest) Send

Send marshals and sends the ListStreams API 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) GoString

func (s ListTargetsForPolicyInput) GoString() string

GoString returns the string representation

func (*ListTargetsForPolicyInput) SetMarker

SetMarker sets the Marker field's value.

func (*ListTargetsForPolicyInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (*ListTargetsForPolicyInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

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) GoString

func (s ListTargetsForPolicyOutput) GoString() string

GoString returns the string representation

func (ListTargetsForPolicyOutput) SDKResponseMetadata

func (s ListTargetsForPolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListTargetsForPolicyOutput) SetNextMarker

SetNextMarker sets the NextMarker field's value.

func (*ListTargetsForPolicyOutput) SetTargets

SetTargets sets the Targets field's value.

func (ListTargetsForPolicyOutput) String

String returns the string representation

type ListTargetsForPolicyRequest

type ListTargetsForPolicyRequest struct {
	*aws.Request
	Input *ListTargetsForPolicyInput
}

ListTargetsForPolicyRequest is a API request type for the ListTargetsForPolicy API operation.

func (ListTargetsForPolicyRequest) Send

Send marshals and sends the ListTargetsForPolicy API 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 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 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) GoString

func (s ListThingGroupsForThingInput) GoString() string

GoString returns the string representation

func (*ListThingGroupsForThingInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListThingGroupsForThingInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingGroupsForThingInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

GoString returns the string representation

func (ListThingGroupsForThingOutput) SDKResponseMetadata

func (s ListThingGroupsForThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingGroupsForThingOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingGroupsForThingOutput) SetThingGroups

SetThingGroups sets the ThingGroups field's value.

func (ListThingGroupsForThingOutput) String

String returns the string representation

type ListThingGroupsForThingRequest

type ListThingGroupsForThingRequest struct {
	*aws.Request
	Input *ListThingGroupsForThingInput
}

ListThingGroupsForThingRequest is a API request type for the ListThingGroupsForThing API operation.

func (ListThingGroupsForThingRequest) Send

Send marshals and sends the ListThingGroupsForThing API 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 used to get the next set of results, or null if there are no additional
	// 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) GoString

func (s ListThingGroupsInput) GoString() string

GoString returns the string representation

func (*ListThingGroupsInput) SetMaxResults

func (s *ListThingGroupsInput) SetMaxResults(v int64) *ListThingGroupsInput

SetMaxResults sets the MaxResults field's value.

func (*ListThingGroupsInput) SetNamePrefixFilter

func (s *ListThingGroupsInput) SetNamePrefixFilter(v string) *ListThingGroupsInput

SetNamePrefixFilter sets the NamePrefixFilter field's value.

func (*ListThingGroupsInput) SetNextToken

func (s *ListThingGroupsInput) SetNextToken(v string) *ListThingGroupsInput

SetNextToken sets the NextToken field's value.

func (*ListThingGroupsInput) SetParentGroup

func (s *ListThingGroupsInput) SetParentGroup(v string) *ListThingGroupsInput

SetParentGroup sets the ParentGroup field's value.

func (*ListThingGroupsInput) SetRecursive

func (s *ListThingGroupsInput) SetRecursive(v bool) *ListThingGroupsInput

SetRecursive sets the Recursive field's value.

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) GoString

func (s ListThingGroupsOutput) GoString() string

GoString returns the string representation

func (ListThingGroupsOutput) SDKResponseMetadata

func (s ListThingGroupsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingGroupsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingGroupsOutput) SetThingGroups

SetThingGroups sets the ThingGroups field's value.

func (ListThingGroupsOutput) String

func (s ListThingGroupsOutput) String() string

String returns the string representation

type ListThingGroupsRequest

type ListThingGroupsRequest struct {
	*aws.Request
	Input *ListThingGroupsInput
}

ListThingGroupsRequest is a API request type for the ListThingGroups API operation.

func (ListThingGroupsRequest) Send

Send marshals and sends the ListThingGroups API 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) GoString

func (s ListThingPrincipalsInput) GoString() string

GoString returns the string representation

func (*ListThingPrincipalsInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

func (s ListThingPrincipalsOutput) GoString() string

GoString returns the string representation

func (ListThingPrincipalsOutput) SDKResponseMetadata

func (s ListThingPrincipalsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingPrincipalsOutput) SetPrincipals

SetPrincipals sets the Principals field's value.

func (ListThingPrincipalsOutput) String

func (s ListThingPrincipalsOutput) String() string

String returns the string representation

type ListThingPrincipalsRequest

type ListThingPrincipalsRequest struct {
	*aws.Request
	Input *ListThingPrincipalsInput
}

ListThingPrincipalsRequest is a API request type for the ListThingPrincipals API operation.

func (ListThingPrincipalsRequest) Send

Send marshals and sends the ListThingPrincipals API 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) GoString

GoString returns the string representation

func (*ListThingRegistrationTaskReportsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListThingRegistrationTaskReportsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingRegistrationTaskReportsInput) SetReportType

SetReportType sets the ReportType field's value.

func (*ListThingRegistrationTaskReportsInput) SetTaskId

SetTaskId sets the TaskId field's value.

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 to retrieve the next set of 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) GoString

GoString returns the string representation

func (ListThingRegistrationTaskReportsOutput) SDKResponseMetadata

func (s ListThingRegistrationTaskReportsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingRegistrationTaskReportsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingRegistrationTaskReportsOutput) SetReportType

SetReportType sets the ReportType field's value.

SetResourceLinks sets the ResourceLinks field's value.

func (ListThingRegistrationTaskReportsOutput) String

String returns the string representation

type ListThingRegistrationTaskReportsRequest

type ListThingRegistrationTaskReportsRequest struct {
	*aws.Request
	Input *ListThingRegistrationTaskReportsInput
}

ListThingRegistrationTaskReportsRequest is a API request type for the ListThingRegistrationTaskReports API operation.

func (ListThingRegistrationTaskReportsRequest) Send

Send marshals and sends the ListThingRegistrationTaskReports API 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 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 status of the bulk thing provisioning task.
	Status Status `location:"querystring" locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ListThingRegistrationTasksInput) GoString

GoString returns the string representation

func (*ListThingRegistrationTasksInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListThingRegistrationTasksInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingRegistrationTasksInput) SetStatus

SetStatus sets the Status field's value.

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) GoString

GoString returns the string representation

func (ListThingRegistrationTasksOutput) SDKResponseMetadata

func (s ListThingRegistrationTasksOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingRegistrationTasksOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingRegistrationTasksOutput) SetTaskIds

SetTaskIds sets the TaskIds field's value.

func (ListThingRegistrationTasksOutput) String

String returns the string representation

type ListThingRegistrationTasksRequest

type ListThingRegistrationTasksRequest struct {
	*aws.Request
	Input *ListThingRegistrationTasksInput
}

ListThingRegistrationTasksRequest is a API request type for the ListThingRegistrationTasks API operation.

func (ListThingRegistrationTasksRequest) Send

Send marshals and sends the ListThingRegistrationTasks API 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 for the next set of results, or null if there are no additional
	// 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) GoString

func (s ListThingTypesInput) GoString() string

GoString returns the string representation

func (*ListThingTypesInput) SetMaxResults

func (s *ListThingTypesInput) SetMaxResults(v int64) *ListThingTypesInput

SetMaxResults sets the MaxResults field's value.

func (*ListThingTypesInput) SetNextToken

func (s *ListThingTypesInput) SetNextToken(v string) *ListThingTypesInput

SetNextToken sets the NextToken field's value.

func (*ListThingTypesInput) SetThingTypeName

func (s *ListThingTypesInput) SetThingTypeName(v string) *ListThingTypesInput

SetThingTypeName sets the ThingTypeName field's value.

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) GoString

func (s ListThingTypesOutput) GoString() string

GoString returns the string representation

func (ListThingTypesOutput) SDKResponseMetadata

func (s ListThingTypesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingTypesOutput) SetNextToken

func (s *ListThingTypesOutput) SetNextToken(v string) *ListThingTypesOutput

SetNextToken sets the NextToken field's value.

func (*ListThingTypesOutput) SetThingTypes

SetThingTypes sets the ThingTypes field's value.

func (ListThingTypesOutput) String

func (s ListThingTypesOutput) String() string

String returns the string representation

type ListThingTypesRequest

type ListThingTypesRequest struct {
	*aws.Request
	Input *ListThingTypesInput
}

ListThingTypesRequest is a API request type for the ListThingTypes API operation.

func (ListThingTypesRequest) Send

Send marshals and sends the ListThingTypes API 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 used to get the next set of results, or null if there are no additional
	// 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) GoString

func (s ListThingsInThingGroupInput) GoString() string

GoString returns the string representation

func (*ListThingsInThingGroupInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListThingsInThingGroupInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingsInThingGroupInput) SetRecursive

SetRecursive sets the Recursive field's value.

func (*ListThingsInThingGroupInput) SetThingGroupName

SetThingGroupName sets the ThingGroupName field's value.

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) GoString

func (s ListThingsInThingGroupOutput) GoString() string

GoString returns the string representation

func (ListThingsInThingGroupOutput) SDKResponseMetadata

func (s ListThingsInThingGroupOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingsInThingGroupOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListThingsInThingGroupOutput) SetThings

SetThings sets the Things field's value.

func (ListThingsInThingGroupOutput) String

String returns the string representation

type ListThingsInThingGroupRequest

type ListThingsInThingGroupRequest struct {
	*aws.Request
	Input *ListThingsInThingGroupInput
}

ListThingsInThingGroupRequest is a API request type for the ListThingsInThingGroup API operation.

func (ListThingsInThingGroupRequest) Send

Send marshals and sends the ListThingsInThingGroup API 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 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 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) GoString

func (s ListThingsInput) GoString() string

GoString returns the string representation

func (*ListThingsInput) SetAttributeName

func (s *ListThingsInput) SetAttributeName(v string) *ListThingsInput

SetAttributeName sets the AttributeName field's value.

func (*ListThingsInput) SetAttributeValue

func (s *ListThingsInput) SetAttributeValue(v string) *ListThingsInput

SetAttributeValue sets the AttributeValue field's value.

func (*ListThingsInput) SetMaxResults

func (s *ListThingsInput) SetMaxResults(v int64) *ListThingsInput

SetMaxResults sets the MaxResults field's value.

func (*ListThingsInput) SetNextToken

func (s *ListThingsInput) SetNextToken(v string) *ListThingsInput

SetNextToken sets the NextToken field's value.

func (*ListThingsInput) SetThingTypeName

func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput

SetThingTypeName sets the ThingTypeName field's value.

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) GoString

func (s ListThingsOutput) GoString() string

GoString returns the string representation

func (ListThingsOutput) SDKResponseMetadata

func (s ListThingsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListThingsOutput) SetNextToken

func (s *ListThingsOutput) SetNextToken(v string) *ListThingsOutput

SetNextToken sets the NextToken field's value.

func (*ListThingsOutput) SetThings

SetThings sets the Things field's value.

func (ListThingsOutput) String

func (s ListThingsOutput) String() string

String returns the string representation

type ListThingsRequest

type ListThingsRequest struct {
	*aws.Request
	Input *ListThingsInput
}

ListThingsRequest is a API request type for the ListThings API operation.

func (ListThingsRequest) Send

Send marshals and sends the ListThings API 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) GoString

func (s ListTopicRulesInput) GoString() string

GoString returns the string representation

func (*ListTopicRulesInput) SetMaxResults

func (s *ListTopicRulesInput) SetMaxResults(v int64) *ListTopicRulesInput

SetMaxResults sets the MaxResults field's value.

func (*ListTopicRulesInput) SetNextToken

func (s *ListTopicRulesInput) SetNextToken(v string) *ListTopicRulesInput

SetNextToken sets the NextToken field's value.

func (*ListTopicRulesInput) SetRuleDisabled

func (s *ListTopicRulesInput) SetRuleDisabled(v bool) *ListTopicRulesInput

SetRuleDisabled sets the RuleDisabled field's value.

func (*ListTopicRulesInput) SetTopic

SetTopic sets the Topic field's value.

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) GoString

func (s ListTopicRulesOutput) GoString() string

GoString returns the string representation

func (ListTopicRulesOutput) SDKResponseMetadata

func (s ListTopicRulesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListTopicRulesOutput) SetNextToken

func (s *ListTopicRulesOutput) SetNextToken(v string) *ListTopicRulesOutput

SetNextToken sets the NextToken field's value.

func (*ListTopicRulesOutput) SetRules

SetRules sets the Rules field's value.

func (ListTopicRulesOutput) String

func (s ListTopicRulesOutput) String() string

String returns the string representation

type ListTopicRulesRequest

type ListTopicRulesRequest struct {
	*aws.Request
	Input *ListTopicRulesInput
}

ListTopicRulesRequest is a API request type for the ListTopicRules API operation.

func (ListTopicRulesRequest) Send

Send marshals and sends the ListTopicRules API 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) GoString

func (s ListV2LoggingLevelsInput) GoString() string

GoString returns the string representation

func (*ListV2LoggingLevelsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListV2LoggingLevelsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListV2LoggingLevelsInput) SetTargetType

SetTargetType sets the TargetType field's value.

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) GoString

func (s ListV2LoggingLevelsOutput) GoString() string

GoString returns the string representation

func (ListV2LoggingLevelsOutput) SDKResponseMetadata

func (s ListV2LoggingLevelsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*ListV2LoggingLevelsOutput) SetLogTargetConfigurations

SetLogTargetConfigurations sets the LogTargetConfigurations field's value.

func (*ListV2LoggingLevelsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListV2LoggingLevelsOutput) String

func (s ListV2LoggingLevelsOutput) String() string

String returns the string representation

type ListV2LoggingLevelsRequest

type ListV2LoggingLevelsRequest struct {
	*aws.Request
	Input *ListV2LoggingLevelsInput
}

ListV2LoggingLevelsRequest is a API request type for the ListV2LoggingLevels API operation.

func (ListV2LoggingLevelsRequest) Send

Send marshals and sends the ListV2LoggingLevels API 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

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) GoString

func (s LogTarget) GoString() string

GoString returns the string representation

func (*LogTarget) SetTargetName

func (s *LogTarget) SetTargetName(v string) *LogTarget

SetTargetName sets the TargetName field's value.

func (*LogTarget) SetTargetType

func (s *LogTarget) SetTargetType(v LogTargetType) *LogTarget

SetTargetType sets the TargetType field's value.

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) GoString

func (s LogTargetConfiguration) GoString() string

GoString returns the string representation

func (*LogTargetConfiguration) SetLogLevel

SetLogLevel sets the LogLevel field's value.

func (*LogTargetConfiguration) SetLogTarget

SetLogTarget sets the LogTarget field's value.

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

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) GoString

func (s LoggingOptionsPayload) GoString() string

GoString returns the string representation

func (*LoggingOptionsPayload) SetLogLevel

SetLogLevel sets the LogLevel field's value.

func (*LoggingOptionsPayload) SetRoleArn

SetRoleArn sets the RoleArn field's value.

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

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 name of the file.
	FileName *string `locationName:"fileName" type:"string"`

	// The source of the file.
	FileSource *Stream `locationName:"fileSource" type:"structure"`

	// 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) GoString

func (s OTAUpdateFile) GoString() string

GoString returns the string representation

func (*OTAUpdateFile) SetAttributes

func (s *OTAUpdateFile) SetAttributes(v map[string]string) *OTAUpdateFile

SetAttributes sets the Attributes field's value.

func (*OTAUpdateFile) SetCodeSigning

func (s *OTAUpdateFile) SetCodeSigning(v *CodeSigning) *OTAUpdateFile

SetCodeSigning sets the CodeSigning field's value.

func (*OTAUpdateFile) SetFileName

func (s *OTAUpdateFile) SetFileName(v string) *OTAUpdateFile

SetFileName sets the FileName field's value.

func (*OTAUpdateFile) SetFileSource

func (s *OTAUpdateFile) SetFileSource(v *Stream) *OTAUpdateFile

SetFileSource sets the FileSource field's value.

func (*OTAUpdateFile) SetFileVersion

func (s *OTAUpdateFile) SetFileVersion(v string) *OTAUpdateFile

SetFileVersion sets the FileVersion field's value.

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"`

	// The date when the OTA update was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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) GoString

func (s OTAUpdateInfo) GoString() string

GoString returns the string representation

func (*OTAUpdateInfo) SetAdditionalParameters

func (s *OTAUpdateInfo) SetAdditionalParameters(v map[string]string) *OTAUpdateInfo

SetAdditionalParameters sets the AdditionalParameters field's value.

func (*OTAUpdateInfo) SetAwsIotJobArn

func (s *OTAUpdateInfo) SetAwsIotJobArn(v string) *OTAUpdateInfo

SetAwsIotJobArn sets the AwsIotJobArn field's value.

func (*OTAUpdateInfo) SetAwsIotJobId

func (s *OTAUpdateInfo) SetAwsIotJobId(v string) *OTAUpdateInfo

SetAwsIotJobId sets the AwsIotJobId field's value.

func (*OTAUpdateInfo) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*OTAUpdateInfo) SetDescription

func (s *OTAUpdateInfo) SetDescription(v string) *OTAUpdateInfo

SetDescription sets the Description field's value.

func (*OTAUpdateInfo) SetErrorInfo

func (s *OTAUpdateInfo) SetErrorInfo(v *ErrorInfo) *OTAUpdateInfo

SetErrorInfo sets the ErrorInfo field's value.

func (*OTAUpdateInfo) SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*OTAUpdateInfo) SetOtaUpdateArn

func (s *OTAUpdateInfo) SetOtaUpdateArn(v string) *OTAUpdateInfo

SetOtaUpdateArn sets the OtaUpdateArn field's value.

func (*OTAUpdateInfo) SetOtaUpdateFiles

func (s *OTAUpdateInfo) SetOtaUpdateFiles(v []OTAUpdateFile) *OTAUpdateInfo

SetOtaUpdateFiles sets the OtaUpdateFiles field's value.

func (*OTAUpdateInfo) SetOtaUpdateId

func (s *OTAUpdateInfo) SetOtaUpdateId(v string) *OTAUpdateInfo

SetOtaUpdateId sets the OtaUpdateId field's value.

func (*OTAUpdateInfo) SetOtaUpdateStatus

func (s *OTAUpdateInfo) SetOtaUpdateStatus(v OTAUpdateStatus) *OTAUpdateInfo

SetOtaUpdateStatus sets the OtaUpdateStatus field's value.

func (*OTAUpdateInfo) SetTargetSelection

func (s *OTAUpdateInfo) SetTargetSelection(v TargetSelection) *OTAUpdateInfo

SetTargetSelection sets the TargetSelection field's value.

func (*OTAUpdateInfo) SetTargets

func (s *OTAUpdateInfo) SetTargets(v []string) *OTAUpdateInfo

SetTargets sets the Targets field's value.

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

type OTAUpdateSummary

type OTAUpdateSummary struct {

	// The date when the OTA update was created.
	CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"`

	// 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) GoString

func (s OTAUpdateSummary) GoString() string

GoString returns the string representation

func (*OTAUpdateSummary) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*OTAUpdateSummary) SetOtaUpdateArn

func (s *OTAUpdateSummary) SetOtaUpdateArn(v string) *OTAUpdateSummary

SetOtaUpdateArn sets the OtaUpdateArn field's value.

func (*OTAUpdateSummary) SetOtaUpdateId

func (s *OTAUpdateSummary) SetOtaUpdateId(v string) *OTAUpdateSummary

SetOtaUpdateId sets the OtaUpdateId field's value.

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" timestampFormat:"unix"`

	// The date the transfer was initiated.
	TransferDate *time.Time `locationName:"transferDate" type:"timestamp" timestampFormat:"unix"`

	// The transfer message.
	TransferMessage *string `locationName:"transferMessage" type:"string"`

	// The AWS account to which the transfer was made.
	TransferredTo *string `locationName:"transferredTo" type:"string"`
	// contains filtered or unexported fields
}

A certificate that has been transferred but not yet accepted.

func (OutgoingCertificate) GoString

func (s OutgoingCertificate) GoString() string

GoString returns the string representation

func (*OutgoingCertificate) SetCertificateArn

func (s *OutgoingCertificate) SetCertificateArn(v string) *OutgoingCertificate

SetCertificateArn sets the CertificateArn field's value.

func (*OutgoingCertificate) SetCertificateId

func (s *OutgoingCertificate) SetCertificateId(v string) *OutgoingCertificate

SetCertificateId sets the CertificateId field's value.

func (*OutgoingCertificate) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*OutgoingCertificate) SetTransferDate

func (s *OutgoingCertificate) SetTransferDate(v time.Time) *OutgoingCertificate

SetTransferDate sets the TransferDate field's value.

func (*OutgoingCertificate) SetTransferMessage

func (s *OutgoingCertificate) SetTransferMessage(v string) *OutgoingCertificate

SetTransferMessage sets the TransferMessage field's value.

func (*OutgoingCertificate) SetTransferredTo

func (s *OutgoingCertificate) SetTransferredTo(v string) *OutgoingCertificate

SetTransferredTo sets the TransferredTo field's value.

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) GoString

func (s Policy) GoString() string

GoString returns the string representation

func (*Policy) SetPolicyArn

func (s *Policy) SetPolicyArn(v string) *Policy

SetPolicyArn sets the PolicyArn field's value.

func (*Policy) SetPolicyName

func (s *Policy) SetPolicyName(v string) *Policy

SetPolicyName sets the PolicyName field's value.

func (Policy) String

func (s Policy) String() string

String returns the string representation

type PolicyVersion

type PolicyVersion struct {

	// The date and time the policy was created.
	CreateDate *time.Time `locationName:"createDate" type:"timestamp" timestampFormat:"unix"`

	// 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) GoString

func (s PolicyVersion) GoString() string

GoString returns the string representation

func (*PolicyVersion) SetCreateDate

func (s *PolicyVersion) SetCreateDate(v time.Time) *PolicyVersion

SetCreateDate sets the CreateDate field's value.

func (*PolicyVersion) SetIsDefaultVersion

func (s *PolicyVersion) SetIsDefaultVersion(v bool) *PolicyVersion

SetIsDefaultVersion sets the IsDefaultVersion field's value.

func (*PolicyVersion) SetVersionId

func (s *PolicyVersion) SetVersionId(v string) *PolicyVersion

SetVersionId sets the VersionId field's value.

func (PolicyVersion) String

func (s PolicyVersion) String() string

String returns the string representation

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) GoString

func (s PresignedUrlConfig) GoString() string

GoString returns the string representation

func (*PresignedUrlConfig) SetExpiresInSec

func (s *PresignedUrlConfig) SetExpiresInSec(v int64) *PresignedUrlConfig

SetExpiresInSec sets the ExpiresInSec field's value.

func (*PresignedUrlConfig) SetRoleArn

func (s *PresignedUrlConfig) SetRoleArn(v string) *PresignedUrlConfig

SetRoleArn sets the RoleArn field's value.

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 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) GoString

func (s PutItemInput) GoString() string

GoString returns the string representation

func (*PutItemInput) SetTableName

func (s *PutItemInput) SetTableName(v string) *PutItemInput

SetTableName sets the TableName field's value.

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 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) GoString

func (s RegisterCACertificateInput) GoString() string

GoString returns the string representation

func (*RegisterCACertificateInput) SetAllowAutoRegistration

func (s *RegisterCACertificateInput) SetAllowAutoRegistration(v bool) *RegisterCACertificateInput

SetAllowAutoRegistration sets the AllowAutoRegistration field's value.

func (*RegisterCACertificateInput) SetCaCertificate

SetCaCertificate sets the CaCertificate field's value.

func (*RegisterCACertificateInput) SetRegistrationConfig

SetRegistrationConfig sets the RegistrationConfig field's value.

func (*RegisterCACertificateInput) SetSetAsActive

SetSetAsActive sets the SetAsActive field's value.

func (*RegisterCACertificateInput) SetVerificationCertificate

func (s *RegisterCACertificateInput) SetVerificationCertificate(v string) *RegisterCACertificateInput

SetVerificationCertificate sets the VerificationCertificate field's value.

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) GoString

func (s RegisterCACertificateOutput) GoString() string

GoString returns the string representation

func (RegisterCACertificateOutput) SDKResponseMetadata

func (s RegisterCACertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*RegisterCACertificateOutput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*RegisterCACertificateOutput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (RegisterCACertificateOutput) String

String returns the string representation

type RegisterCACertificateRequest

type RegisterCACertificateRequest struct {
	*aws.Request
	Input *RegisterCACertificateInput
}

RegisterCACertificateRequest is a API request type for the RegisterCACertificate API operation.

func (RegisterCACertificateRequest) Send

Send marshals and sends the RegisterCACertificate API 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 CA 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) GoString

func (s RegisterCertificateInput) GoString() string

GoString returns the string representation

func (*RegisterCertificateInput) SetCaCertificatePem

func (s *RegisterCertificateInput) SetCaCertificatePem(v string) *RegisterCertificateInput

SetCaCertificatePem sets the CaCertificatePem field's value.

func (*RegisterCertificateInput) SetCertificatePem

func (s *RegisterCertificateInput) SetCertificatePem(v string) *RegisterCertificateInput

SetCertificatePem sets the CertificatePem field's value.

func (*RegisterCertificateInput) SetSetAsActive

SetSetAsActive sets the SetAsActive field's value.

func (*RegisterCertificateInput) SetStatus

SetStatus sets the Status field's value.

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) GoString

func (s RegisterCertificateOutput) GoString() string

GoString returns the string representation

func (RegisterCertificateOutput) SDKResponseMetadata

func (s RegisterCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*RegisterCertificateOutput) SetCertificateArn

SetCertificateArn sets the CertificateArn field's value.

func (*RegisterCertificateOutput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (RegisterCertificateOutput) String

func (s RegisterCertificateOutput) String() string

String returns the string representation

type RegisterCertificateRequest

type RegisterCertificateRequest struct {
	*aws.Request
	Input *RegisterCertificateInput
}

RegisterCertificateRequest is a API request type for the RegisterCertificate API operation.

func (RegisterCertificateRequest) Send

Send marshals and sends the RegisterCertificate API request.

type RegisterThingInput

type RegisterThingInput struct {

	// The parameters for provisioning a thing.
	Parameters map[string]string `locationName:"parameters" type:"map"`

	// The provisioning template.
	//
	// TemplateBody is a required field
	TemplateBody *string `locationName:"templateBody" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterThingInput) GoString

func (s RegisterThingInput) GoString() string

GoString returns the string representation

func (*RegisterThingInput) SetParameters

func (s *RegisterThingInput) SetParameters(v map[string]string) *RegisterThingInput

SetParameters sets the Parameters field's value.

func (*RegisterThingInput) SetTemplateBody

func (s *RegisterThingInput) SetTemplateBody(v string) *RegisterThingInput

SetTemplateBody sets the TemplateBody field's value.

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 {

	// The PEM of a certificate.
	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) GoString

func (s RegisterThingOutput) GoString() string

GoString returns the string representation

func (RegisterThingOutput) SDKResponseMetadata

func (s RegisterThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*RegisterThingOutput) SetCertificatePem

func (s *RegisterThingOutput) SetCertificatePem(v string) *RegisterThingOutput

SetCertificatePem sets the CertificatePem field's value.

func (*RegisterThingOutput) SetResourceArns

func (s *RegisterThingOutput) SetResourceArns(v map[string]string) *RegisterThingOutput

SetResourceArns sets the ResourceArns field's value.

func (RegisterThingOutput) String

func (s RegisterThingOutput) String() string

String returns the string representation

type RegisterThingRequest

type RegisterThingRequest struct {
	*aws.Request
	Input *RegisterThingInput
}

RegisterThingRequest is a API request type for the RegisterThing API operation.

func (RegisterThingRequest) Send

Send marshals and sends the RegisterThing API 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) GoString

func (s RegistrationConfig) GoString() string

GoString returns the string representation

func (*RegistrationConfig) SetRoleArn

func (s *RegistrationConfig) SetRoleArn(v string) *RegistrationConfig

SetRoleArn sets the RoleArn field's value.

func (*RegistrationConfig) SetTemplateBody

func (s *RegistrationConfig) SetTemplateBody(v string) *RegistrationConfig

SetTemplateBody sets the TemplateBody field's value.

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.
	//
	// 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) GoString

GoString returns the string representation

func (*RejectCertificateTransferInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (*RejectCertificateTransferInput) SetRejectReason

SetRejectReason sets the RejectReason field's value.

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) GoString

GoString returns the string representation

func (RejectCertificateTransferOutput) SDKResponseMetadata

func (s RejectCertificateTransferOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RejectCertificateTransferOutput) String

String returns the string representation

type RejectCertificateTransferRequest

type RejectCertificateTransferRequest struct {
	*aws.Request
	Input *RejectCertificateTransferInput
}

RejectCertificateTransferRequest is a API request type for the RejectCertificateTransfer API operation.

func (RejectCertificateTransferRequest) Send

Send marshals and sends the RejectCertificateTransfer API 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) GoString

GoString returns the string representation

func (*RemoveThingFromThingGroupInput) SetThingArn

SetThingArn sets the ThingArn field's value.

func (*RemoveThingFromThingGroupInput) SetThingGroupArn

SetThingGroupArn sets the ThingGroupArn field's value.

func (*RemoveThingFromThingGroupInput) SetThingGroupName

SetThingGroupName sets the ThingGroupName field's value.

func (*RemoveThingFromThingGroupInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

GoString returns the string representation

func (RemoveThingFromThingGroupOutput) SDKResponseMetadata

func (s RemoveThingFromThingGroupOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RemoveThingFromThingGroupOutput) String

String returns the string representation

type RemoveThingFromThingGroupRequest

type RemoveThingFromThingGroupRequest struct {
	*aws.Request
	Input *RemoveThingFromThingGroupInput
}

RemoveThingFromThingGroupRequest is a API request type for the RemoveThingFromThingGroup API operation.

func (RemoveThingFromThingGroupRequest) Send

Send marshals and sends the RemoveThingFromThingGroup API request.

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) GoString

func (s ReplaceTopicRuleInput) GoString() string

GoString returns the string representation

func (*ReplaceTopicRuleInput) SetRuleName

SetRuleName sets the RuleName field's value.

func (*ReplaceTopicRuleInput) SetTopicRulePayload

func (s *ReplaceTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *ReplaceTopicRuleInput

SetTopicRulePayload sets the TopicRulePayload field's value.

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) GoString

func (s ReplaceTopicRuleOutput) GoString() string

GoString returns the string representation

func (ReplaceTopicRuleOutput) SDKResponseMetadata

func (s ReplaceTopicRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ReplaceTopicRuleOutput) String

func (s ReplaceTopicRuleOutput) String() string

String returns the string representation

type ReplaceTopicRuleRequest

type ReplaceTopicRuleRequest struct {
	*aws.Request
	Input *ReplaceTopicRuleInput
}

ReplaceTopicRuleRequest is a API request type for the ReplaceTopicRule API operation.

func (ReplaceTopicRuleRequest) Send

Send marshals and sends the ReplaceTopicRule API request.

type ReportType

type ReportType string
const (
	ReportTypeErrors  ReportType = "ERRORS"
	ReportTypeResults ReportType = "RESULTS"
)

Enum values for ReportType

type RepublishAction

type RepublishAction struct {

	// 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) GoString

func (s RepublishAction) GoString() string

GoString returns the string representation

func (*RepublishAction) SetRoleArn

func (s *RepublishAction) SetRoleArn(v string) *RepublishAction

SetRoleArn sets the RoleArn field's value.

func (*RepublishAction) SetTopic

func (s *RepublishAction) SetTopic(v string) *RepublishAction

SetTopic sets the Topic field's value.

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 RoleAliasDescription

type RoleAliasDescription struct {

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

	// 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" timestampFormat:"unix"`

	// The role alias owner.
	Owner *string `locationName:"owner" type:"string"`

	// The role alias.
	RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"`

	// The role ARN.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Role alias description.

func (RoleAliasDescription) GoString

func (s RoleAliasDescription) GoString() string

GoString returns the string representation

func (*RoleAliasDescription) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*RoleAliasDescription) SetCredentialDurationSeconds

func (s *RoleAliasDescription) SetCredentialDurationSeconds(v int64) *RoleAliasDescription

SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value.

func (*RoleAliasDescription) SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*RoleAliasDescription) SetOwner

SetOwner sets the Owner field's value.

func (*RoleAliasDescription) SetRoleAlias

func (s *RoleAliasDescription) SetRoleAlias(v string) *RoleAliasDescription

SetRoleAlias sets the RoleAlias field's value.

func (*RoleAliasDescription) SetRoleArn

SetRoleArn sets the RoleArn field's value.

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 (http://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) GoString

func (s S3Action) GoString() string

GoString returns the string representation

func (*S3Action) SetBucketName

func (s *S3Action) SetBucketName(v string) *S3Action

SetBucketName sets the BucketName field's value.

func (*S3Action) SetCannedAcl

func (s *S3Action) SetCannedAcl(v CannedAccessControlList) *S3Action

SetCannedAcl sets the CannedAcl field's value.

func (*S3Action) SetKey

func (s *S3Action) SetKey(v string) *S3Action

SetKey sets the Key field's value.

func (*S3Action) SetRoleArn

func (s *S3Action) SetRoleArn(v string) *S3Action

SetRoleArn sets the RoleArn field's value.

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 S3Location

type S3Location struct {

	// The S3 bucket that contains the file to stream.
	//
	// Bucket is a required field
	Bucket *string `locationName:"bucket" min:"1" type:"string" required:"true"`

	// The name of the file within the S3 bucket to stream.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// The file version.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

The location in S3 the contains the files to stream.

func (S3Location) GoString

func (s S3Location) GoString() string

GoString returns the string representation

func (*S3Location) SetBucket

func (s *S3Location) SetBucket(v string) *S3Location

SetBucket sets the Bucket field's value.

func (*S3Location) SetKey

func (s *S3Location) SetKey(v string) *S3Location

SetKey sets the Key field's value.

func (*S3Location) SetVersion

func (s *S3Location) SetVersion(v string) *S3Location

SetVersion sets the Version field's value.

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) GoString

func (s SalesforceAction) GoString() string

GoString returns the string representation

func (*SalesforceAction) SetToken

func (s *SalesforceAction) SetToken(v string) *SalesforceAction

SetToken sets the Token field's value.

func (*SalesforceAction) SetUrl

SetUrl sets the Url field's value.

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 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) GoString

func (s SearchIndexInput) GoString() string

GoString returns the string representation

func (*SearchIndexInput) SetIndexName

func (s *SearchIndexInput) SetIndexName(v string) *SearchIndexInput

SetIndexName sets the IndexName field's value.

func (*SearchIndexInput) SetMaxResults

func (s *SearchIndexInput) SetMaxResults(v int64) *SearchIndexInput

SetMaxResults sets the MaxResults field's value.

func (*SearchIndexInput) SetNextToken

func (s *SearchIndexInput) SetNextToken(v string) *SearchIndexInput

SetNextToken sets the NextToken field's value.

func (*SearchIndexInput) SetQueryString

func (s *SearchIndexInput) SetQueryString(v string) *SearchIndexInput

SetQueryString sets the QueryString field's value.

func (*SearchIndexInput) SetQueryVersion

func (s *SearchIndexInput) SetQueryVersion(v string) *SearchIndexInput

SetQueryVersion sets the QueryVersion field's value.

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 things that match the search query.
	Things []ThingDocument `locationName:"things" type:"list"`
	// contains filtered or unexported fields
}

func (SearchIndexOutput) GoString

func (s SearchIndexOutput) GoString() string

GoString returns the string representation

func (SearchIndexOutput) SDKResponseMetadata

func (s SearchIndexOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*SearchIndexOutput) SetNextToken

func (s *SearchIndexOutput) SetNextToken(v string) *SearchIndexOutput

SetNextToken sets the NextToken field's value.

func (*SearchIndexOutput) SetThings

SetThings sets the Things field's value.

func (SearchIndexOutput) String

func (s SearchIndexOutput) String() string

String returns the string representation

type SearchIndexRequest

type SearchIndexRequest struct {
	*aws.Request
	Input *SearchIndexInput
}

SearchIndexRequest is a API request type for the SearchIndex API operation.

func (SearchIndexRequest) Send

Send marshals and sends the SearchIndex API request.

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) GoString

func (s SetDefaultAuthorizerInput) GoString() string

GoString returns the string representation

func (*SetDefaultAuthorizerInput) SetAuthorizerName

SetAuthorizerName sets the AuthorizerName field's value.

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) GoString

func (s SetDefaultAuthorizerOutput) GoString() string

GoString returns the string representation

func (SetDefaultAuthorizerOutput) SDKResponseMetadata

func (s SetDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*SetDefaultAuthorizerOutput) SetAuthorizerArn

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*SetDefaultAuthorizerOutput) SetAuthorizerName

SetAuthorizerName sets the AuthorizerName field's value.

func (SetDefaultAuthorizerOutput) String

String returns the string representation

type SetDefaultAuthorizerRequest

type SetDefaultAuthorizerRequest struct {
	*aws.Request
	Input *SetDefaultAuthorizerInput
}

SetDefaultAuthorizerRequest is a API request type for the SetDefaultAuthorizer API operation.

func (SetDefaultAuthorizerRequest) Send

Send marshals and sends the SetDefaultAuthorizer API 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) GoString

func (s SetDefaultPolicyVersionInput) GoString() string

GoString returns the string representation

func (*SetDefaultPolicyVersionInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*SetDefaultPolicyVersionInput) SetPolicyVersionId

SetPolicyVersionId sets the PolicyVersionId field's value.

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) GoString

GoString returns the string representation

func (SetDefaultPolicyVersionOutput) SDKResponseMetadata

func (s SetDefaultPolicyVersionOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SetDefaultPolicyVersionOutput) String

String returns the string representation

type SetDefaultPolicyVersionRequest

type SetDefaultPolicyVersionRequest struct {
	*aws.Request
	Input *SetDefaultPolicyVersionInput
}

SetDefaultPolicyVersionRequest is a API request type for the SetDefaultPolicyVersion API operation.

func (SetDefaultPolicyVersionRequest) Send

Send marshals and sends the SetDefaultPolicyVersion API 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) GoString

func (s SetLoggingOptionsInput) GoString() string

GoString returns the string representation

func (*SetLoggingOptionsInput) SetLoggingOptionsPayload

func (s *SetLoggingOptionsInput) SetLoggingOptionsPayload(v *LoggingOptionsPayload) *SetLoggingOptionsInput

SetLoggingOptionsPayload sets the LoggingOptionsPayload field's value.

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) GoString

func (s SetLoggingOptionsOutput) GoString() string

GoString returns the string representation

func (SetLoggingOptionsOutput) SDKResponseMetadata

func (s SetLoggingOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SetLoggingOptionsOutput) String

func (s SetLoggingOptionsOutput) String() string

String returns the string representation

type SetLoggingOptionsRequest

type SetLoggingOptionsRequest struct {
	*aws.Request
	Input *SetLoggingOptionsInput
}

SetLoggingOptionsRequest is a API request type for the SetLoggingOptions API operation.

func (SetLoggingOptionsRequest) Send

Send marshals and sends the SetLoggingOptions API 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) GoString

func (s SetV2LoggingLevelInput) GoString() string

GoString returns the string representation

func (*SetV2LoggingLevelInput) SetLogLevel

SetLogLevel sets the LogLevel field's value.

func (*SetV2LoggingLevelInput) SetLogTarget

SetLogTarget sets the LogTarget field's value.

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) GoString

func (s SetV2LoggingLevelOutput) GoString() string

GoString returns the string representation

func (SetV2LoggingLevelOutput) SDKResponseMetadata

func (s SetV2LoggingLevelOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SetV2LoggingLevelOutput) String

func (s SetV2LoggingLevelOutput) String() string

String returns the string representation

type SetV2LoggingLevelRequest

type SetV2LoggingLevelRequest struct {
	*aws.Request
	Input *SetV2LoggingLevelInput
}

SetV2LoggingLevelRequest is a API request type for the SetV2LoggingLevel API operation.

func (SetV2LoggingLevelRequest) Send

Send marshals and sends the SetV2LoggingLevel API request.

type SetV2LoggingOptionsInput

type SetV2LoggingOptionsInput struct {

	// The default logging level.
	DefaultLogLevel LogLevel `locationName:"defaultLogLevel" type:"string" enum:"true"`

	// Set to true to disable all logs, otherwise set to false.
	DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"`

	// The role ARN that allows IoT to write to Cloudwatch logs.
	RoleArn *string `locationName:"roleArn" type:"string"`
	// contains filtered or unexported fields
}

func (SetV2LoggingOptionsInput) GoString

func (s SetV2LoggingOptionsInput) GoString() string

GoString returns the string representation

func (*SetV2LoggingOptionsInput) SetDefaultLogLevel

SetDefaultLogLevel sets the DefaultLogLevel field's value.

func (*SetV2LoggingOptionsInput) SetDisableAllLogs

func (s *SetV2LoggingOptionsInput) SetDisableAllLogs(v bool) *SetV2LoggingOptionsInput

SetDisableAllLogs sets the DisableAllLogs field's value.

func (*SetV2LoggingOptionsInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

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) GoString

func (s SetV2LoggingOptionsOutput) GoString() string

GoString returns the string representation

func (SetV2LoggingOptionsOutput) SDKResponseMetadata

func (s SetV2LoggingOptionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (SetV2LoggingOptionsOutput) String

func (s SetV2LoggingOptionsOutput) String() string

String returns the string representation

type SetV2LoggingOptionsRequest

type SetV2LoggingOptionsRequest struct {
	*aws.Request
	Input *SetV2LoggingOptionsInput
}

SetV2LoggingOptionsRequest is a API request type for the SetV2LoggingOptions API operation.

func (SetV2LoggingOptionsRequest) Send

Send marshals and sends the SetV2LoggingOptions API request.

type SnsAction

type SnsAction struct {

	// The message format of the message to publish. Optional. 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 http://docs.aws.amazon.com/sns/latest/dg/json-formats.html (http://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) GoString

func (s SnsAction) GoString() string

GoString returns the string representation

func (*SnsAction) SetMessageFormat

func (s *SnsAction) SetMessageFormat(v MessageFormat) *SnsAction

SetMessageFormat sets the MessageFormat field's value.

func (*SnsAction) SetRoleArn

func (s *SnsAction) SetRoleArn(v string) *SnsAction

SetRoleArn sets the RoleArn field's value.

func (*SnsAction) SetTargetArn

func (s *SnsAction) SetTargetArn(v string) *SnsAction

SetTargetArn sets the TargetArn field's value.

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) GoString

func (s SqsAction) GoString() string

GoString returns the string representation

func (*SqsAction) SetQueueUrl

func (s *SqsAction) SetQueueUrl(v string) *SqsAction

SetQueueUrl sets the QueueUrl field's value.

func (*SqsAction) SetRoleArn

func (s *SqsAction) SetRoleArn(v string) *SqsAction

SetRoleArn sets the RoleArn field's value.

func (*SqsAction) SetUseBase64

func (s *SqsAction) SetUseBase64(v bool) *SqsAction

SetUseBase64 sets the UseBase64 field's value.

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 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) GoString

GoString returns the string representation

func (*StartThingRegistrationTaskInput) SetInputFileBucket

SetInputFileBucket sets the InputFileBucket field's value.

func (*StartThingRegistrationTaskInput) SetInputFileKey

SetInputFileKey sets the InputFileKey field's value.

func (*StartThingRegistrationTaskInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*StartThingRegistrationTaskInput) SetTemplateBody

SetTemplateBody sets the TemplateBody field's value.

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) GoString

GoString returns the string representation

func (StartThingRegistrationTaskOutput) SDKResponseMetadata

func (s StartThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*StartThingRegistrationTaskOutput) SetTaskId

SetTaskId sets the TaskId field's value.

func (StartThingRegistrationTaskOutput) String

String returns the string representation

type StartThingRegistrationTaskRequest

type StartThingRegistrationTaskRequest struct {
	*aws.Request
	Input *StartThingRegistrationTaskInput
}

StartThingRegistrationTaskRequest is a API request type for the StartThingRegistrationTask API operation.

func (StartThingRegistrationTaskRequest) Send

Send marshals and sends the StartThingRegistrationTask API request.

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

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) GoString

GoString returns the string representation

func (*StopThingRegistrationTaskInput) SetTaskId

SetTaskId sets the TaskId field's value.

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) GoString

GoString returns the string representation

func (StopThingRegistrationTaskOutput) SDKResponseMetadata

func (s StopThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopThingRegistrationTaskOutput) String

String returns the string representation

type StopThingRegistrationTaskRequest

type StopThingRegistrationTaskRequest struct {
	*aws.Request
	Input *StopThingRegistrationTaskInput
}

StopThingRegistrationTaskRequest is a API request type for the StopThingRegistrationTask API operation.

func (StopThingRegistrationTaskRequest) Send

Send marshals and sends the StopThingRegistrationTask API 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) GoString

func (s Stream) GoString() string

GoString returns the string representation

func (*Stream) SetFileId

func (s *Stream) SetFileId(v int64) *Stream

SetFileId sets the FileId field's value.

func (*Stream) SetStreamId

func (s *Stream) SetStreamId(v string) *Stream

SetStreamId sets the StreamId field's value.

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) GoString

func (s StreamFile) GoString() string

GoString returns the string representation

func (*StreamFile) SetFileId

func (s *StreamFile) SetFileId(v int64) *StreamFile

SetFileId sets the FileId field's value.

func (*StreamFile) SetS3Location

func (s *StreamFile) SetS3Location(v *S3Location) *StreamFile

SetS3Location sets the S3Location field's value.

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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) GoString

func (s StreamInfo) GoString() string

GoString returns the string representation

func (*StreamInfo) SetCreatedAt

func (s *StreamInfo) SetCreatedAt(v time.Time) *StreamInfo

SetCreatedAt sets the CreatedAt field's value.

func (*StreamInfo) SetDescription

func (s *StreamInfo) SetDescription(v string) *StreamInfo

SetDescription sets the Description field's value.

func (*StreamInfo) SetFiles

func (s *StreamInfo) SetFiles(v []StreamFile) *StreamInfo

SetFiles sets the Files field's value.

func (*StreamInfo) SetLastUpdatedAt

func (s *StreamInfo) SetLastUpdatedAt(v time.Time) *StreamInfo

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*StreamInfo) SetRoleArn

func (s *StreamInfo) SetRoleArn(v string) *StreamInfo

SetRoleArn sets the RoleArn field's value.

func (*StreamInfo) SetStreamArn

func (s *StreamInfo) SetStreamArn(v string) *StreamInfo

SetStreamArn sets the StreamArn field's value.

func (*StreamInfo) SetStreamId

func (s *StreamInfo) SetStreamId(v string) *StreamInfo

SetStreamId sets the StreamId field's value.

func (*StreamInfo) SetStreamVersion

func (s *StreamInfo) SetStreamVersion(v int64) *StreamInfo

SetStreamVersion sets the StreamVersion field's value.

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) GoString

func (s StreamSummary) GoString() string

GoString returns the string representation

func (*StreamSummary) SetDescription

func (s *StreamSummary) SetDescription(v string) *StreamSummary

SetDescription sets the Description field's value.

func (*StreamSummary) SetStreamArn

func (s *StreamSummary) SetStreamArn(v string) *StreamSummary

SetStreamArn sets the StreamArn field's value.

func (*StreamSummary) SetStreamId

func (s *StreamSummary) SetStreamId(v string) *StreamSummary

SetStreamId sets the StreamId field's value.

func (*StreamSummary) SetStreamVersion

func (s *StreamSummary) SetStreamVersion(v int64) *StreamSummary

SetStreamVersion sets the StreamVersion field's value.

func (StreamSummary) String

func (s StreamSummary) String() string

String returns the string representation

type TargetSelection

type TargetSelection string
const (
	TargetSelectionContinuous TargetSelection = "CONTINUOUS"
	TargetSelectionSnapshot   TargetSelection = "SNAPSHOT"
)

Enum values for TargetSelection

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) GoString

func (s TestAuthorizationInput) GoString() string

GoString returns the string representation

func (*TestAuthorizationInput) SetAuthInfos

SetAuthInfos sets the AuthInfos field's value.

func (*TestAuthorizationInput) SetClientId

SetClientId sets the ClientId field's value.

func (*TestAuthorizationInput) SetCognitoIdentityPoolId

func (s *TestAuthorizationInput) SetCognitoIdentityPoolId(v string) *TestAuthorizationInput

SetCognitoIdentityPoolId sets the CognitoIdentityPoolId field's value.

func (*TestAuthorizationInput) SetPolicyNamesToAdd

func (s *TestAuthorizationInput) SetPolicyNamesToAdd(v []string) *TestAuthorizationInput

SetPolicyNamesToAdd sets the PolicyNamesToAdd field's value.

func (*TestAuthorizationInput) SetPolicyNamesToSkip

func (s *TestAuthorizationInput) SetPolicyNamesToSkip(v []string) *TestAuthorizationInput

SetPolicyNamesToSkip sets the PolicyNamesToSkip field's value.

func (*TestAuthorizationInput) SetPrincipal

SetPrincipal sets the Principal field's value.

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) GoString

func (s TestAuthorizationOutput) GoString() string

GoString returns the string representation

func (TestAuthorizationOutput) SDKResponseMetadata

func (s TestAuthorizationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*TestAuthorizationOutput) SetAuthResults

SetAuthResults sets the AuthResults field's value.

func (TestAuthorizationOutput) String

func (s TestAuthorizationOutput) String() string

String returns the string representation

type TestAuthorizationRequest

type TestAuthorizationRequest struct {
	*aws.Request
	Input *TestAuthorizationInput
}

TestAuthorizationRequest is a API request type for the TestAuthorization API operation.

func (TestAuthorizationRequest) Send

Send marshals and sends the TestAuthorization API 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) GoString

func (s TestInvokeAuthorizerInput) GoString() string

GoString returns the string representation

func (*TestInvokeAuthorizerInput) SetAuthorizerName

SetAuthorizerName sets the AuthorizerName field's value.

func (*TestInvokeAuthorizerInput) SetToken

SetToken sets the Token field's value.

func (*TestInvokeAuthorizerInput) SetTokenSignature

SetTokenSignature sets the TokenSignature field's value.

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) GoString

func (s TestInvokeAuthorizerOutput) GoString() string

GoString returns the string representation

func (TestInvokeAuthorizerOutput) SDKResponseMetadata

func (s TestInvokeAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*TestInvokeAuthorizerOutput) SetDisconnectAfterInSeconds

func (s *TestInvokeAuthorizerOutput) SetDisconnectAfterInSeconds(v int64) *TestInvokeAuthorizerOutput

SetDisconnectAfterInSeconds sets the DisconnectAfterInSeconds field's value.

func (*TestInvokeAuthorizerOutput) SetIsAuthenticated

SetIsAuthenticated sets the IsAuthenticated field's value.

func (*TestInvokeAuthorizerOutput) SetPolicyDocuments

func (s *TestInvokeAuthorizerOutput) SetPolicyDocuments(v []string) *TestInvokeAuthorizerOutput

SetPolicyDocuments sets the PolicyDocuments field's value.

func (*TestInvokeAuthorizerOutput) SetPrincipalId

SetPrincipalId sets the PrincipalId field's value.

func (*TestInvokeAuthorizerOutput) SetRefreshAfterInSeconds

func (s *TestInvokeAuthorizerOutput) SetRefreshAfterInSeconds(v int64) *TestInvokeAuthorizerOutput

SetRefreshAfterInSeconds sets the RefreshAfterInSeconds field's value.

func (TestInvokeAuthorizerOutput) String

String returns the string representation

type TestInvokeAuthorizerRequest

type TestInvokeAuthorizerRequest struct {
	*aws.Request
	Input *TestInvokeAuthorizerInput
}

TestInvokeAuthorizerRequest is a API request type for the TestInvokeAuthorizer API operation.

func (TestInvokeAuthorizerRequest) Send

Send marshals and sends the TestInvokeAuthorizer API 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) GoString

func (s ThingAttribute) GoString() string

GoString returns the string representation

func (*ThingAttribute) SetAttributes

func (s *ThingAttribute) SetAttributes(v map[string]string) *ThingAttribute

SetAttributes sets the Attributes field's value.

func (*ThingAttribute) SetThingArn

func (s *ThingAttribute) SetThingArn(v string) *ThingAttribute

SetThingArn sets the ThingArn field's value.

func (*ThingAttribute) SetThingName

func (s *ThingAttribute) SetThingName(v string) *ThingAttribute

SetThingName sets the ThingName field's value.

func (*ThingAttribute) SetThingTypeName

func (s *ThingAttribute) SetThingTypeName(v string) *ThingAttribute

SetThingTypeName sets the ThingTypeName field's value.

func (*ThingAttribute) SetVersion

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

SetVersion sets the Version field's value.

func (ThingAttribute) String

func (s ThingAttribute) String() string

String returns the string representation

type ThingDocument

type ThingDocument struct {

	// The attributes.
	Attributes map[string]string `locationName:"attributes" type:"map"`

	// The thing 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) GoString

func (s ThingDocument) GoString() string

GoString returns the string representation

func (*ThingDocument) SetAttributes

func (s *ThingDocument) SetAttributes(v map[string]string) *ThingDocument

SetAttributes sets the Attributes field's value.

func (*ThingDocument) SetShadow

func (s *ThingDocument) SetShadow(v string) *ThingDocument

SetShadow sets the Shadow field's value.

func (*ThingDocument) SetThingGroupNames

func (s *ThingDocument) SetThingGroupNames(v []string) *ThingDocument

SetThingGroupNames sets the ThingGroupNames field's value.

func (*ThingDocument) SetThingId

func (s *ThingDocument) SetThingId(v string) *ThingDocument

SetThingId sets the ThingId field's value.

func (*ThingDocument) SetThingName

func (s *ThingDocument) SetThingName(v string) *ThingDocument

SetThingName sets the ThingName field's value.

func (*ThingDocument) SetThingTypeName

func (s *ThingDocument) SetThingTypeName(v string) *ThingDocument

SetThingTypeName sets the ThingTypeName field's value.

func (ThingDocument) String

func (s ThingDocument) String() string

String returns the string representation

type ThingGroupMetadata

type ThingGroupMetadata struct {

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

	// 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) GoString

func (s ThingGroupMetadata) GoString() string

GoString returns the string representation

func (*ThingGroupMetadata) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*ThingGroupMetadata) SetParentGroupName

func (s *ThingGroupMetadata) SetParentGroupName(v string) *ThingGroupMetadata

SetParentGroupName sets the ParentGroupName field's value.

func (*ThingGroupMetadata) SetRootToParentThingGroups

func (s *ThingGroupMetadata) SetRootToParentThingGroups(v []GroupNameAndArn) *ThingGroupMetadata

SetRootToParentThingGroups sets the RootToParentThingGroups field's value.

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) GoString

func (s ThingGroupProperties) GoString() string

GoString returns the string representation

func (*ThingGroupProperties) SetAttributePayload

func (s *ThingGroupProperties) SetAttributePayload(v *AttributePayload) *ThingGroupProperties

SetAttributePayload sets the AttributePayload field's value.

func (*ThingGroupProperties) SetThingGroupDescription

func (s *ThingGroupProperties) SetThingGroupDescription(v string) *ThingGroupProperties

SetThingGroupDescription sets the ThingGroupDescription field's value.

func (ThingGroupProperties) String

func (s ThingGroupProperties) String() string

String returns the string representation

type ThingIndexingConfiguration

type ThingIndexingConfiguration struct {

	// Thing indexing mode. Valid values are:
	//
	//    * REGISTRY – Your thing index will contain only registry data.
	//
	//    * REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow
	//    data.
	//
	//    * OFF - Thing indexing is disabled.
	ThingIndexingMode ThingIndexingMode `locationName:"thingIndexingMode" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Thing indexing configuration.

func (ThingIndexingConfiguration) GoString

func (s ThingIndexingConfiguration) GoString() string

GoString returns the string representation

func (*ThingIndexingConfiguration) SetThingIndexingMode

SetThingIndexingMode sets the ThingIndexingMode field's value.

func (ThingIndexingConfiguration) String

String returns the string representation

type ThingIndexingMode

type ThingIndexingMode string
const (
	ThingIndexingModeOff               ThingIndexingMode = "OFF"
	ThingIndexingModeRegistry          ThingIndexingMode = "REGISTRY"
	ThingIndexingModeRegistryAndShadow ThingIndexingMode = "REGISTRY_AND_SHADOW"
)

Enum values for ThingIndexingMode

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) GoString

func (s ThingTypeDefinition) GoString() string

GoString returns the string representation

func (*ThingTypeDefinition) SetThingTypeArn

func (s *ThingTypeDefinition) SetThingTypeArn(v string) *ThingTypeDefinition

SetThingTypeArn sets the ThingTypeArn field's value.

func (*ThingTypeDefinition) SetThingTypeMetadata

func (s *ThingTypeDefinition) SetThingTypeMetadata(v *ThingTypeMetadata) *ThingTypeDefinition

SetThingTypeMetadata sets the ThingTypeMetadata field's value.

func (*ThingTypeDefinition) SetThingTypeName

func (s *ThingTypeDefinition) SetThingTypeName(v string) *ThingTypeDefinition

SetThingTypeName sets the ThingTypeName field's value.

func (*ThingTypeDefinition) SetThingTypeProperties

func (s *ThingTypeDefinition) SetThingTypeProperties(v *ThingTypeProperties) *ThingTypeDefinition

SetThingTypeProperties sets the ThingTypeProperties field's value.

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" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`
	// 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) GoString

func (s ThingTypeMetadata) GoString() string

GoString returns the string representation

func (*ThingTypeMetadata) SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

func (*ThingTypeMetadata) SetDeprecated

func (s *ThingTypeMetadata) SetDeprecated(v bool) *ThingTypeMetadata

SetDeprecated sets the Deprecated field's value.

func (*ThingTypeMetadata) SetDeprecationDate

func (s *ThingTypeMetadata) SetDeprecationDate(v time.Time) *ThingTypeMetadata

SetDeprecationDate sets the DeprecationDate field's value.

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) GoString

func (s ThingTypeProperties) GoString() string

GoString returns the string representation

func (*ThingTypeProperties) SetSearchableAttributes

func (s *ThingTypeProperties) SetSearchableAttributes(v []string) *ThingTypeProperties

SetSearchableAttributes sets the SearchableAttributes field's value.

func (*ThingTypeProperties) SetThingTypeDescription

func (s *ThingTypeProperties) SetThingTypeDescription(v string) *ThingTypeProperties

SetThingTypeDescription sets the ThingTypeDescription field's value.

func (ThingTypeProperties) String

func (s ThingTypeProperties) 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" timestampFormat:"unix"`

	// 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) GoString

func (s TopicRule) GoString() string

GoString returns the string representation

func (*TopicRule) SetActions

func (s *TopicRule) SetActions(v []Action) *TopicRule

SetActions sets the Actions field's value.

func (*TopicRule) SetAwsIotSqlVersion

func (s *TopicRule) SetAwsIotSqlVersion(v string) *TopicRule

SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value.

func (*TopicRule) SetCreatedAt

func (s *TopicRule) SetCreatedAt(v time.Time) *TopicRule

SetCreatedAt sets the CreatedAt field's value.

func (*TopicRule) SetDescription

func (s *TopicRule) SetDescription(v string) *TopicRule

SetDescription sets the Description field's value.

func (*TopicRule) SetErrorAction

func (s *TopicRule) SetErrorAction(v *Action) *TopicRule

SetErrorAction sets the ErrorAction field's value.

func (*TopicRule) SetRuleDisabled

func (s *TopicRule) SetRuleDisabled(v bool) *TopicRule

SetRuleDisabled sets the RuleDisabled field's value.

func (*TopicRule) SetRuleName

func (s *TopicRule) SetRuleName(v string) *TopicRule

SetRuleName sets the RuleName field's value.

func (*TopicRule) SetSql

func (s *TopicRule) SetSql(v string) *TopicRule

SetSql sets the Sql field's value.

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" timestampFormat:"unix"`

	// 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) GoString

func (s TopicRuleListItem) GoString() string

GoString returns the string representation

func (*TopicRuleListItem) SetCreatedAt

func (s *TopicRuleListItem) SetCreatedAt(v time.Time) *TopicRuleListItem

SetCreatedAt sets the CreatedAt field's value.

func (*TopicRuleListItem) SetRuleArn

func (s *TopicRuleListItem) SetRuleArn(v string) *TopicRuleListItem

SetRuleArn sets the RuleArn field's value.

func (*TopicRuleListItem) SetRuleDisabled

func (s *TopicRuleListItem) SetRuleDisabled(v bool) *TopicRuleListItem

SetRuleDisabled sets the RuleDisabled field's value.

func (*TopicRuleListItem) SetRuleName

func (s *TopicRuleListItem) SetRuleName(v string) *TopicRuleListItem

SetRuleName sets the RuleName field's value.

func (*TopicRuleListItem) SetTopicPattern

func (s *TopicRuleListItem) SetTopicPattern(v string) *TopicRuleListItem

SetTopicPattern sets the TopicPattern field's value.

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 (http://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) GoString

func (s TopicRulePayload) GoString() string

GoString returns the string representation

func (*TopicRulePayload) SetActions

func (s *TopicRulePayload) SetActions(v []Action) *TopicRulePayload

SetActions sets the Actions field's value.

func (*TopicRulePayload) SetAwsIotSqlVersion

func (s *TopicRulePayload) SetAwsIotSqlVersion(v string) *TopicRulePayload

SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value.

func (*TopicRulePayload) SetDescription

func (s *TopicRulePayload) SetDescription(v string) *TopicRulePayload

SetDescription sets the Description field's value.

func (*TopicRulePayload) SetErrorAction

func (s *TopicRulePayload) SetErrorAction(v *Action) *TopicRulePayload

SetErrorAction sets the ErrorAction field's value.

func (*TopicRulePayload) SetRuleDisabled

func (s *TopicRulePayload) SetRuleDisabled(v bool) *TopicRulePayload

SetRuleDisabled sets the RuleDisabled field's value.

func (*TopicRulePayload) SetSql

SetSql sets the Sql field's value.

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.
	//
	// 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" 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) GoString

func (s TransferCertificateInput) GoString() string

GoString returns the string representation

func (*TransferCertificateInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (*TransferCertificateInput) SetTargetAwsAccount

func (s *TransferCertificateInput) SetTargetAwsAccount(v string) *TransferCertificateInput

SetTargetAwsAccount sets the TargetAwsAccount field's value.

func (*TransferCertificateInput) SetTransferMessage

func (s *TransferCertificateInput) SetTransferMessage(v string) *TransferCertificateInput

SetTransferMessage sets the TransferMessage field's value.

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) GoString

func (s TransferCertificateOutput) GoString() string

GoString returns the string representation

func (TransferCertificateOutput) SDKResponseMetadata

func (s TransferCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*TransferCertificateOutput) SetTransferredCertificateArn

func (s *TransferCertificateOutput) SetTransferredCertificateArn(v string) *TransferCertificateOutput

SetTransferredCertificateArn sets the TransferredCertificateArn field's value.

func (TransferCertificateOutput) String

func (s TransferCertificateOutput) String() string

String returns the string representation

type TransferCertificateRequest

type TransferCertificateRequest struct {
	*aws.Request
	Input *TransferCertificateInput
}

TransferCertificateRequest is a API request type for the TransferCertificate API operation.

func (TransferCertificateRequest) Send

Send marshals and sends the TransferCertificate API request.

type TransferData

type TransferData struct {

	// The date the transfer was accepted.
	AcceptDate *time.Time `locationName:"acceptDate" type:"timestamp" timestampFormat:"unix"`

	// The date the transfer was rejected.
	RejectDate *time.Time `locationName:"rejectDate" type:"timestamp" timestampFormat:"unix"`

	// 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" timestampFormat:"unix"`

	// 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) GoString

func (s TransferData) GoString() string

GoString returns the string representation

func (*TransferData) SetAcceptDate

func (s *TransferData) SetAcceptDate(v time.Time) *TransferData

SetAcceptDate sets the AcceptDate field's value.

func (*TransferData) SetRejectDate

func (s *TransferData) SetRejectDate(v time.Time) *TransferData

SetRejectDate sets the RejectDate field's value.

func (*TransferData) SetRejectReason

func (s *TransferData) SetRejectReason(v string) *TransferData

SetRejectReason sets the RejectReason field's value.

func (*TransferData) SetTransferDate

func (s *TransferData) SetTransferDate(v time.Time) *TransferData

SetTransferDate sets the TransferDate field's value.

func (*TransferData) SetTransferMessage

func (s *TransferData) SetTransferMessage(v string) *TransferData

SetTransferMessage sets the TransferMessage field's value.

func (TransferData) String

func (s TransferData) String() string

String returns the string representation

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) GoString

func (s UpdateAuthorizerInput) GoString() string

GoString returns the string representation

func (*UpdateAuthorizerInput) SetAuthorizerFunctionArn

func (s *UpdateAuthorizerInput) SetAuthorizerFunctionArn(v string) *UpdateAuthorizerInput

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

func (*UpdateAuthorizerInput) SetAuthorizerName

func (s *UpdateAuthorizerInput) SetAuthorizerName(v string) *UpdateAuthorizerInput

SetAuthorizerName sets the AuthorizerName field's value.

func (*UpdateAuthorizerInput) SetStatus

SetStatus sets the Status field's value.

func (*UpdateAuthorizerInput) SetTokenKeyName

func (s *UpdateAuthorizerInput) SetTokenKeyName(v string) *UpdateAuthorizerInput

SetTokenKeyName sets the TokenKeyName field's value.

func (*UpdateAuthorizerInput) SetTokenSigningPublicKeys

func (s *UpdateAuthorizerInput) SetTokenSigningPublicKeys(v map[string]string) *UpdateAuthorizerInput

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

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) GoString

func (s UpdateAuthorizerOutput) GoString() string

GoString returns the string representation

func (UpdateAuthorizerOutput) SDKResponseMetadata

func (s UpdateAuthorizerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdateAuthorizerOutput) SetAuthorizerArn

func (s *UpdateAuthorizerOutput) SetAuthorizerArn(v string) *UpdateAuthorizerOutput

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*UpdateAuthorizerOutput) SetAuthorizerName

func (s *UpdateAuthorizerOutput) SetAuthorizerName(v string) *UpdateAuthorizerOutput

SetAuthorizerName sets the AuthorizerName field's value.

func (UpdateAuthorizerOutput) String

func (s UpdateAuthorizerOutput) String() string

String returns the string representation

type UpdateAuthorizerRequest

type UpdateAuthorizerRequest struct {
	*aws.Request
	Input *UpdateAuthorizerInput
}

UpdateAuthorizerRequest is a API request type for the UpdateAuthorizer API operation.

func (UpdateAuthorizerRequest) Send

Send marshals and sends the UpdateAuthorizer API 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, remove auto registration.
	RemoveAutoRegistration *bool `locationName:"removeAutoRegistration" type:"boolean"`
	// contains filtered or unexported fields
}

The input to the UpdateCACertificate operation.

func (UpdateCACertificateInput) GoString

func (s UpdateCACertificateInput) GoString() string

GoString returns the string representation

func (*UpdateCACertificateInput) SetCertificateId

SetCertificateId sets the CertificateId field's value.

func (*UpdateCACertificateInput) SetNewAutoRegistrationStatus

func (s *UpdateCACertificateInput) SetNewAutoRegistrationStatus(v AutoRegistrationStatus) *UpdateCACertificateInput

SetNewAutoRegistrationStatus sets the NewAutoRegistrationStatus field's value.

func (*UpdateCACertificateInput) SetNewStatus

SetNewStatus sets the NewStatus field's value.

func (*UpdateCACertificateInput) SetRegistrationConfig

SetRegistrationConfig sets the RegistrationConfig field's value.

func (*UpdateCACertificateInput) SetRemoveAutoRegistration

func (s *UpdateCACertificateInput) SetRemoveAutoRegistration(v bool) *UpdateCACertificateInput

SetRemoveAutoRegistration sets the RemoveAutoRegistration field's value.

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) GoString

func (s UpdateCACertificateOutput) GoString() string

GoString returns the string representation

func (UpdateCACertificateOutput) SDKResponseMetadata

func (s UpdateCACertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateCACertificateOutput) String

func (s UpdateCACertificateOutput) String() string

String returns the string representation

type UpdateCACertificateRequest

type UpdateCACertificateRequest struct {
	*aws.Request
	Input *UpdateCACertificateInput
}

UpdateCACertificateRequest is a API request type for the UpdateCACertificate API operation.

func (UpdateCACertificateRequest) Send

Send marshals and sends the UpdateCACertificate API request.

type UpdateCertificateInput

type UpdateCertificateInput struct {

	// The ID of the certificate.
	//
	// 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) GoString

func (s UpdateCertificateInput) GoString() string

GoString returns the string representation

func (*UpdateCertificateInput) SetCertificateId

func (s *UpdateCertificateInput) SetCertificateId(v string) *UpdateCertificateInput

SetCertificateId sets the CertificateId field's value.

func (*UpdateCertificateInput) SetNewStatus

SetNewStatus sets the NewStatus field's value.

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) GoString

func (s UpdateCertificateOutput) GoString() string

GoString returns the string representation

func (UpdateCertificateOutput) SDKResponseMetadata

func (s UpdateCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateCertificateOutput) String

func (s UpdateCertificateOutput) String() string

String returns the string representation

type UpdateCertificateRequest

type UpdateCertificateRequest struct {
	*aws.Request
	Input *UpdateCertificateInput
}

UpdateCertificateRequest is a API request type for the UpdateCertificate API operation.

func (UpdateCertificateRequest) Send

Send marshals and sends the UpdateCertificate API 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) GoString

GoString returns the string representation

func (*UpdateEventConfigurationsInput) SetEventConfigurations

SetEventConfigurations sets the EventConfigurations field's value.

func (UpdateEventConfigurationsInput) String

String returns the string representation

type UpdateEventConfigurationsOutput

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

func (UpdateEventConfigurationsOutput) GoString

GoString returns the string representation

func (UpdateEventConfigurationsOutput) SDKResponseMetadata

func (s UpdateEventConfigurationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateEventConfigurationsOutput) String

String returns the string representation

type UpdateEventConfigurationsRequest

type UpdateEventConfigurationsRequest struct {
	*aws.Request
	Input *UpdateEventConfigurationsInput
}

UpdateEventConfigurationsRequest is a API request type for the UpdateEventConfigurations API operation.

func (UpdateEventConfigurationsRequest) Send

Send marshals and sends the UpdateEventConfigurations API request.

type UpdateIndexingConfigurationInput

type UpdateIndexingConfigurationInput struct {

	// Thing indexing configuration.
	ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateIndexingConfigurationInput) GoString

GoString returns the string representation

func (*UpdateIndexingConfigurationInput) SetThingIndexingConfiguration

SetThingIndexingConfiguration sets the ThingIndexingConfiguration field's value.

func (UpdateIndexingConfigurationInput) String

String returns the string representation

type UpdateIndexingConfigurationOutput

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

func (UpdateIndexingConfigurationOutput) GoString

GoString returns the string representation

func (UpdateIndexingConfigurationOutput) SDKResponseMetadata

func (s UpdateIndexingConfigurationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateIndexingConfigurationOutput) String

String returns the string representation

type UpdateIndexingConfigurationRequest

type UpdateIndexingConfigurationRequest struct {
	*aws.Request
	Input *UpdateIndexingConfigurationInput
}

UpdateIndexingConfigurationRequest is a API request type for the UpdateIndexingConfiguration API operation.

func (UpdateIndexingConfigurationRequest) Send

Send marshals and sends the UpdateIndexingConfiguration API 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) GoString

func (s UpdateRoleAliasInput) GoString() string

GoString returns the string representation

func (*UpdateRoleAliasInput) SetCredentialDurationSeconds

func (s *UpdateRoleAliasInput) SetCredentialDurationSeconds(v int64) *UpdateRoleAliasInput

SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value.

func (*UpdateRoleAliasInput) SetRoleAlias

func (s *UpdateRoleAliasInput) SetRoleAlias(v string) *UpdateRoleAliasInput

SetRoleAlias sets the RoleAlias field's value.

func (*UpdateRoleAliasInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

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) GoString

func (s UpdateRoleAliasOutput) GoString() string

GoString returns the string representation

func (UpdateRoleAliasOutput) SDKResponseMetadata

func (s UpdateRoleAliasOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdateRoleAliasOutput) SetRoleAlias

SetRoleAlias sets the RoleAlias field's value.

func (*UpdateRoleAliasOutput) SetRoleAliasArn

func (s *UpdateRoleAliasOutput) SetRoleAliasArn(v string) *UpdateRoleAliasOutput

SetRoleAliasArn sets the RoleAliasArn field's value.

func (UpdateRoleAliasOutput) String

func (s UpdateRoleAliasOutput) String() string

String returns the string representation

type UpdateRoleAliasRequest

type UpdateRoleAliasRequest struct {
	*aws.Request
	Input *UpdateRoleAliasInput
}

UpdateRoleAliasRequest is a API request type for the UpdateRoleAlias API operation.

func (UpdateRoleAliasRequest) Send

Send marshals and sends the UpdateRoleAlias API 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) GoString

func (s UpdateStreamInput) GoString() string

GoString returns the string representation

func (*UpdateStreamInput) SetDescription

func (s *UpdateStreamInput) SetDescription(v string) *UpdateStreamInput

SetDescription sets the Description field's value.

func (*UpdateStreamInput) SetFiles

SetFiles sets the Files field's value.

func (*UpdateStreamInput) SetRoleArn

func (s *UpdateStreamInput) SetRoleArn(v string) *UpdateStreamInput

SetRoleArn sets the RoleArn field's value.

func (*UpdateStreamInput) SetStreamId

func (s *UpdateStreamInput) SetStreamId(v string) *UpdateStreamInput

SetStreamId sets the StreamId field's value.

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) GoString

func (s UpdateStreamOutput) GoString() string

GoString returns the string representation

func (UpdateStreamOutput) SDKResponseMetadata

func (s UpdateStreamOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdateStreamOutput) SetDescription

func (s *UpdateStreamOutput) SetDescription(v string) *UpdateStreamOutput

SetDescription sets the Description field's value.

func (*UpdateStreamOutput) SetStreamArn

func (s *UpdateStreamOutput) SetStreamArn(v string) *UpdateStreamOutput

SetStreamArn sets the StreamArn field's value.

func (*UpdateStreamOutput) SetStreamId

func (s *UpdateStreamOutput) SetStreamId(v string) *UpdateStreamOutput

SetStreamId sets the StreamId field's value.

func (*UpdateStreamOutput) SetStreamVersion

func (s *UpdateStreamOutput) SetStreamVersion(v int64) *UpdateStreamOutput

SetStreamVersion sets the StreamVersion field's value.

func (UpdateStreamOutput) String

func (s UpdateStreamOutput) String() string

String returns the string representation

type UpdateStreamRequest

type UpdateStreamRequest struct {
	*aws.Request
	Input *UpdateStreamInput
}

UpdateStreamRequest is a API request type for the UpdateStream API operation.

func (UpdateStreamRequest) Send

Send marshals and sends the UpdateStream API 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) GoString

func (s UpdateThingGroupInput) GoString() string

GoString returns the string representation

func (*UpdateThingGroupInput) SetExpectedVersion

func (s *UpdateThingGroupInput) SetExpectedVersion(v int64) *UpdateThingGroupInput

SetExpectedVersion sets the ExpectedVersion field's value.

func (*UpdateThingGroupInput) SetThingGroupName

func (s *UpdateThingGroupInput) SetThingGroupName(v string) *UpdateThingGroupInput

SetThingGroupName sets the ThingGroupName field's value.

func (*UpdateThingGroupInput) SetThingGroupProperties

func (s *UpdateThingGroupInput) SetThingGroupProperties(v *ThingGroupProperties) *UpdateThingGroupInput

SetThingGroupProperties sets the ThingGroupProperties field's value.

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) GoString

func (s UpdateThingGroupOutput) GoString() string

GoString returns the string representation

func (UpdateThingGroupOutput) SDKResponseMetadata

func (s UpdateThingGroupOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (*UpdateThingGroupOutput) SetVersion

SetVersion sets the Version field's value.

func (UpdateThingGroupOutput) String

func (s UpdateThingGroupOutput) String() string

String returns the string representation

type UpdateThingGroupRequest

type UpdateThingGroupRequest struct {
	*aws.Request
	Input *UpdateThingGroupInput
}

UpdateThingGroupRequest is a API request type for the UpdateThingGroup API operation.

func (UpdateThingGroupRequest) Send

Send marshals and sends the UpdateThingGroup API request.

type UpdateThingGroupsForThingInput

type UpdateThingGroupsForThingInput struct {

	// 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) GoString

GoString returns the string representation

func (*UpdateThingGroupsForThingInput) SetThingGroupsToAdd

SetThingGroupsToAdd sets the ThingGroupsToAdd field's value.

func (*UpdateThingGroupsForThingInput) SetThingGroupsToRemove

SetThingGroupsToRemove sets the ThingGroupsToRemove field's value.

func (*UpdateThingGroupsForThingInput) SetThingName

SetThingName sets the ThingName field's value.

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) GoString

GoString returns the string representation

func (UpdateThingGroupsForThingOutput) SDKResponseMetadata

func (s UpdateThingGroupsForThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateThingGroupsForThingOutput) String

String returns the string representation

type UpdateThingGroupsForThingRequest

type UpdateThingGroupsForThingRequest struct {
	*aws.Request
	Input *UpdateThingGroupsForThingInput
}

UpdateThingGroupsForThingRequest is a API request type for the UpdateThingGroupsForThing API operation.

func (UpdateThingGroupsForThingRequest) Send

Send marshals and sends the UpdateThingGroupsForThing API 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) GoString

func (s UpdateThingInput) GoString() string

GoString returns the string representation

func (*UpdateThingInput) SetAttributePayload

func (s *UpdateThingInput) SetAttributePayload(v *AttributePayload) *UpdateThingInput

SetAttributePayload sets the AttributePayload field's value.

func (*UpdateThingInput) SetExpectedVersion

func (s *UpdateThingInput) SetExpectedVersion(v int64) *UpdateThingInput

SetExpectedVersion sets the ExpectedVersion field's value.

func (*UpdateThingInput) SetRemoveThingType

func (s *UpdateThingInput) SetRemoveThingType(v bool) *UpdateThingInput

SetRemoveThingType sets the RemoveThingType field's value.

func (*UpdateThingInput) SetThingName

func (s *UpdateThingInput) SetThingName(v string) *UpdateThingInput

SetThingName sets the ThingName field's value.

func (*UpdateThingInput) SetThingTypeName

func (s *UpdateThingInput) SetThingTypeName(v string) *UpdateThingInput

SetThingTypeName sets the ThingTypeName field's value.

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) GoString

func (s UpdateThingOutput) GoString() string

GoString returns the string representation

func (UpdateThingOutput) SDKResponseMetadata

func (s UpdateThingOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateThingOutput) String

func (s UpdateThingOutput) String() string

String returns the string representation

type UpdateThingRequest

type UpdateThingRequest struct {
	*aws.Request
	Input *UpdateThingInput
}

UpdateThingRequest is a API request type for the UpdateThing API operation.

func (UpdateThingRequest) Send

Send marshals and sends the UpdateThing API request.

Directories

Path Synopsis
Package iotiface provides an interface to enable mocking the AWS IoT service client for testing your code.
Package iotiface provides an interface to enable mocking the AWS IoT service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL