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
- type AcceptCertificateTransferInput
- func (s AcceptCertificateTransferInput) GoString() string
- func (s *AcceptCertificateTransferInput) SetCertificateId(v string) *AcceptCertificateTransferInput
- func (s *AcceptCertificateTransferInput) SetSetAsActive(v bool) *AcceptCertificateTransferInput
- func (s AcceptCertificateTransferInput) String() string
- func (s *AcceptCertificateTransferInput) Validate() error
- type AcceptCertificateTransferOutput
- type AcceptCertificateTransferRequest
- type Action
- func (s Action) GoString() string
- func (s *Action) SetCloudwatchAlarm(v *CloudwatchAlarmAction) *Action
- func (s *Action) SetCloudwatchMetric(v *CloudwatchMetricAction) *Action
- func (s *Action) SetDynamoDB(v *DynamoDBAction) *Action
- func (s *Action) SetDynamoDBv2(v *DynamoDBv2Action) *Action
- func (s *Action) SetElasticsearch(v *ElasticsearchAction) *Action
- func (s *Action) SetFirehose(v *FirehoseAction) *Action
- func (s *Action) SetKinesis(v *KinesisAction) *Action
- func (s *Action) SetLambda(v *LambdaAction) *Action
- func (s *Action) SetRepublish(v *RepublishAction) *Action
- func (s *Action) SetS3(v *S3Action) *Action
- func (s *Action) SetSalesforce(v *SalesforceAction) *Action
- func (s *Action) SetSns(v *SnsAction) *Action
- func (s *Action) SetSqs(v *SqsAction) *Action
- func (s Action) String() string
- func (s *Action) Validate() error
- type AttachPrincipalPolicyInput
- func (s AttachPrincipalPolicyInput) GoString() string
- func (s *AttachPrincipalPolicyInput) SetPolicyName(v string) *AttachPrincipalPolicyInput
- func (s *AttachPrincipalPolicyInput) SetPrincipal(v string) *AttachPrincipalPolicyInput
- func (s AttachPrincipalPolicyInput) String() string
- func (s *AttachPrincipalPolicyInput) Validate() error
- type AttachPrincipalPolicyOutput
- type AttachPrincipalPolicyRequest
- type AttachThingPrincipalInput
- func (s AttachThingPrincipalInput) GoString() string
- func (s *AttachThingPrincipalInput) SetPrincipal(v string) *AttachThingPrincipalInput
- func (s *AttachThingPrincipalInput) SetThingName(v string) *AttachThingPrincipalInput
- func (s AttachThingPrincipalInput) String() string
- func (s *AttachThingPrincipalInput) Validate() error
- type AttachThingPrincipalOutput
- type AttachThingPrincipalRequest
- type AttributePayload
- type AutoRegistrationStatus
- type CACertificate
- func (s CACertificate) GoString() string
- func (s *CACertificate) SetCertificateArn(v string) *CACertificate
- func (s *CACertificate) SetCertificateId(v string) *CACertificate
- func (s *CACertificate) SetCreationDate(v time.Time) *CACertificate
- func (s *CACertificate) SetStatus(v CACertificateStatus) *CACertificate
- func (s CACertificate) String() string
- type CACertificateDescription
- func (s CACertificateDescription) GoString() string
- func (s *CACertificateDescription) SetAutoRegistrationStatus(v AutoRegistrationStatus) *CACertificateDescription
- func (s *CACertificateDescription) SetCertificateArn(v string) *CACertificateDescription
- func (s *CACertificateDescription) SetCertificateId(v string) *CACertificateDescription
- func (s *CACertificateDescription) SetCertificatePem(v string) *CACertificateDescription
- func (s *CACertificateDescription) SetCreationDate(v time.Time) *CACertificateDescription
- func (s *CACertificateDescription) SetOwnedBy(v string) *CACertificateDescription
- func (s *CACertificateDescription) SetStatus(v CACertificateStatus) *CACertificateDescription
- func (s CACertificateDescription) String() string
- type CACertificateStatus
- type CancelCertificateTransferInput
- type CancelCertificateTransferOutput
- type CancelCertificateTransferRequest
- type CannedAccessControlList
- type Certificate
- func (s Certificate) GoString() string
- func (s *Certificate) SetCertificateArn(v string) *Certificate
- func (s *Certificate) SetCertificateId(v string) *Certificate
- func (s *Certificate) SetCreationDate(v time.Time) *Certificate
- func (s *Certificate) SetStatus(v CertificateStatus) *Certificate
- func (s Certificate) String() string
- type CertificateDescription
- func (s CertificateDescription) GoString() string
- func (s *CertificateDescription) SetCaCertificateId(v string) *CertificateDescription
- func (s *CertificateDescription) SetCertificateArn(v string) *CertificateDescription
- func (s *CertificateDescription) SetCertificateId(v string) *CertificateDescription
- func (s *CertificateDescription) SetCertificatePem(v string) *CertificateDescription
- func (s *CertificateDescription) SetCreationDate(v time.Time) *CertificateDescription
- func (s *CertificateDescription) SetLastModifiedDate(v time.Time) *CertificateDescription
- func (s *CertificateDescription) SetOwnedBy(v string) *CertificateDescription
- func (s *CertificateDescription) SetPreviousOwnedBy(v string) *CertificateDescription
- func (s *CertificateDescription) SetStatus(v CertificateStatus) *CertificateDescription
- func (s *CertificateDescription) SetTransferData(v *TransferData) *CertificateDescription
- func (s CertificateDescription) String() string
- type CertificateStatus
- type CloudwatchAlarmAction
- func (s CloudwatchAlarmAction) GoString() string
- func (s *CloudwatchAlarmAction) SetAlarmName(v string) *CloudwatchAlarmAction
- func (s *CloudwatchAlarmAction) SetRoleArn(v string) *CloudwatchAlarmAction
- func (s *CloudwatchAlarmAction) SetStateReason(v string) *CloudwatchAlarmAction
- func (s *CloudwatchAlarmAction) SetStateValue(v string) *CloudwatchAlarmAction
- func (s CloudwatchAlarmAction) String() string
- func (s *CloudwatchAlarmAction) Validate() error
- type CloudwatchMetricAction
- func (s CloudwatchMetricAction) GoString() string
- func (s *CloudwatchMetricAction) SetMetricName(v string) *CloudwatchMetricAction
- func (s *CloudwatchMetricAction) SetMetricNamespace(v string) *CloudwatchMetricAction
- func (s *CloudwatchMetricAction) SetMetricTimestamp(v string) *CloudwatchMetricAction
- func (s *CloudwatchMetricAction) SetMetricUnit(v string) *CloudwatchMetricAction
- func (s *CloudwatchMetricAction) SetMetricValue(v string) *CloudwatchMetricAction
- func (s *CloudwatchMetricAction) SetRoleArn(v string) *CloudwatchMetricAction
- func (s CloudwatchMetricAction) String() string
- func (s *CloudwatchMetricAction) Validate() error
- type CreateCertificateFromCsrInput
- func (s CreateCertificateFromCsrInput) GoString() string
- func (s *CreateCertificateFromCsrInput) SetCertificateSigningRequest(v string) *CreateCertificateFromCsrInput
- func (s *CreateCertificateFromCsrInput) SetSetAsActive(v bool) *CreateCertificateFromCsrInput
- func (s CreateCertificateFromCsrInput) String() string
- func (s *CreateCertificateFromCsrInput) Validate() error
- type CreateCertificateFromCsrOutput
- func (s CreateCertificateFromCsrOutput) GoString() string
- func (s CreateCertificateFromCsrOutput) SDKResponseMetadata() aws.Response
- func (s *CreateCertificateFromCsrOutput) SetCertificateArn(v string) *CreateCertificateFromCsrOutput
- func (s *CreateCertificateFromCsrOutput) SetCertificateId(v string) *CreateCertificateFromCsrOutput
- func (s *CreateCertificateFromCsrOutput) SetCertificatePem(v string) *CreateCertificateFromCsrOutput
- func (s CreateCertificateFromCsrOutput) String() string
- type CreateCertificateFromCsrRequest
- type CreateKeysAndCertificateInput
- type CreateKeysAndCertificateOutput
- func (s CreateKeysAndCertificateOutput) GoString() string
- func (s CreateKeysAndCertificateOutput) SDKResponseMetadata() aws.Response
- func (s *CreateKeysAndCertificateOutput) SetCertificateArn(v string) *CreateKeysAndCertificateOutput
- func (s *CreateKeysAndCertificateOutput) SetCertificateId(v string) *CreateKeysAndCertificateOutput
- func (s *CreateKeysAndCertificateOutput) SetCertificatePem(v string) *CreateKeysAndCertificateOutput
- func (s *CreateKeysAndCertificateOutput) SetKeyPair(v *KeyPair) *CreateKeysAndCertificateOutput
- func (s CreateKeysAndCertificateOutput) String() string
- type CreateKeysAndCertificateRequest
- type CreatePolicyInput
- type CreatePolicyOutput
- func (s CreatePolicyOutput) GoString() string
- func (s CreatePolicyOutput) SDKResponseMetadata() aws.Response
- func (s *CreatePolicyOutput) SetPolicyArn(v string) *CreatePolicyOutput
- func (s *CreatePolicyOutput) SetPolicyDocument(v string) *CreatePolicyOutput
- func (s *CreatePolicyOutput) SetPolicyName(v string) *CreatePolicyOutput
- func (s *CreatePolicyOutput) SetPolicyVersionId(v string) *CreatePolicyOutput
- func (s CreatePolicyOutput) String() string
- type CreatePolicyRequest
- type CreatePolicyVersionInput
- func (s CreatePolicyVersionInput) GoString() string
- func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput
- func (s *CreatePolicyVersionInput) SetPolicyName(v string) *CreatePolicyVersionInput
- func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput
- func (s CreatePolicyVersionInput) String() string
- func (s *CreatePolicyVersionInput) Validate() error
- type CreatePolicyVersionOutput
- func (s CreatePolicyVersionOutput) GoString() string
- func (s CreatePolicyVersionOutput) SDKResponseMetadata() aws.Response
- func (s *CreatePolicyVersionOutput) SetIsDefaultVersion(v bool) *CreatePolicyVersionOutput
- func (s *CreatePolicyVersionOutput) SetPolicyArn(v string) *CreatePolicyVersionOutput
- func (s *CreatePolicyVersionOutput) SetPolicyDocument(v string) *CreatePolicyVersionOutput
- func (s *CreatePolicyVersionOutput) SetPolicyVersionId(v string) *CreatePolicyVersionOutput
- func (s CreatePolicyVersionOutput) String() string
- type CreatePolicyVersionRequest
- type CreateThingInput
- func (s CreateThingInput) GoString() string
- func (s *CreateThingInput) SetAttributePayload(v *AttributePayload) *CreateThingInput
- func (s *CreateThingInput) SetThingName(v string) *CreateThingInput
- func (s *CreateThingInput) SetThingTypeName(v string) *CreateThingInput
- func (s CreateThingInput) String() string
- func (s *CreateThingInput) Validate() error
- type CreateThingOutput
- type CreateThingRequest
- type CreateThingTypeInput
- func (s CreateThingTypeInput) GoString() string
- func (s *CreateThingTypeInput) SetThingTypeName(v string) *CreateThingTypeInput
- func (s *CreateThingTypeInput) SetThingTypeProperties(v *ThingTypeProperties) *CreateThingTypeInput
- func (s CreateThingTypeInput) String() string
- func (s *CreateThingTypeInput) Validate() error
- type CreateThingTypeOutput
- func (s CreateThingTypeOutput) GoString() string
- func (s CreateThingTypeOutput) SDKResponseMetadata() aws.Response
- func (s *CreateThingTypeOutput) SetThingTypeArn(v string) *CreateThingTypeOutput
- func (s *CreateThingTypeOutput) SetThingTypeName(v string) *CreateThingTypeOutput
- func (s CreateThingTypeOutput) String() string
- type CreateThingTypeRequest
- type CreateTopicRuleInput
- func (s CreateTopicRuleInput) GoString() string
- func (s *CreateTopicRuleInput) SetRuleName(v string) *CreateTopicRuleInput
- func (s *CreateTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *CreateTopicRuleInput
- func (s CreateTopicRuleInput) String() string
- func (s *CreateTopicRuleInput) Validate() error
- type CreateTopicRuleOutput
- type CreateTopicRuleRequest
- type DeleteCACertificateInput
- type DeleteCACertificateOutput
- type DeleteCACertificateRequest
- type DeleteCertificateInput
- type DeleteCertificateOutput
- type DeleteCertificateRequest
- type DeletePolicyInput
- type DeletePolicyOutput
- type DeletePolicyRequest
- type DeletePolicyVersionInput
- func (s DeletePolicyVersionInput) GoString() string
- func (s *DeletePolicyVersionInput) SetPolicyName(v string) *DeletePolicyVersionInput
- func (s *DeletePolicyVersionInput) SetPolicyVersionId(v string) *DeletePolicyVersionInput
- func (s DeletePolicyVersionInput) String() string
- func (s *DeletePolicyVersionInput) Validate() error
- type DeletePolicyVersionOutput
- type DeletePolicyVersionRequest
- type DeleteRegistrationCodeInput
- type DeleteRegistrationCodeOutput
- type DeleteRegistrationCodeRequest
- type DeleteThingInput
- type DeleteThingOutput
- type DeleteThingRequest
- type DeleteThingTypeInput
- type DeleteThingTypeOutput
- type DeleteThingTypeRequest
- type DeleteTopicRuleInput
- type DeleteTopicRuleOutput
- type DeleteTopicRuleRequest
- type DeprecateThingTypeInput
- func (s DeprecateThingTypeInput) GoString() string
- func (s *DeprecateThingTypeInput) SetThingTypeName(v string) *DeprecateThingTypeInput
- func (s *DeprecateThingTypeInput) SetUndoDeprecate(v bool) *DeprecateThingTypeInput
- func (s DeprecateThingTypeInput) String() string
- func (s *DeprecateThingTypeInput) Validate() error
- type DeprecateThingTypeOutput
- type DeprecateThingTypeRequest
- type DescribeCACertificateInput
- type DescribeCACertificateOutput
- func (s DescribeCACertificateOutput) GoString() string
- func (s DescribeCACertificateOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeCACertificateOutput) SetCertificateDescription(v *CACertificateDescription) *DescribeCACertificateOutput
- func (s DescribeCACertificateOutput) String() string
- type DescribeCACertificateRequest
- type DescribeCertificateInput
- type DescribeCertificateOutput
- type DescribeCertificateRequest
- type DescribeEndpointInput
- type DescribeEndpointOutput
- type DescribeEndpointRequest
- type DescribeThingInput
- type DescribeThingOutput
- func (s DescribeThingOutput) GoString() string
- func (s DescribeThingOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeThingOutput) SetAttributes(v map[string]string) *DescribeThingOutput
- func (s *DescribeThingOutput) SetDefaultClientId(v string) *DescribeThingOutput
- func (s *DescribeThingOutput) SetThingName(v string) *DescribeThingOutput
- func (s *DescribeThingOutput) SetThingTypeName(v string) *DescribeThingOutput
- func (s *DescribeThingOutput) SetVersion(v int64) *DescribeThingOutput
- func (s DescribeThingOutput) String() string
- type DescribeThingRequest
- type DescribeThingTypeInput
- type DescribeThingTypeOutput
- func (s DescribeThingTypeOutput) GoString() string
- func (s DescribeThingTypeOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeThingTypeOutput) SetThingTypeMetadata(v *ThingTypeMetadata) *DescribeThingTypeOutput
- func (s *DescribeThingTypeOutput) SetThingTypeName(v string) *DescribeThingTypeOutput
- func (s *DescribeThingTypeOutput) SetThingTypeProperties(v *ThingTypeProperties) *DescribeThingTypeOutput
- func (s DescribeThingTypeOutput) String() string
- type DescribeThingTypeRequest
- type DetachPrincipalPolicyInput
- func (s DetachPrincipalPolicyInput) GoString() string
- func (s *DetachPrincipalPolicyInput) SetPolicyName(v string) *DetachPrincipalPolicyInput
- func (s *DetachPrincipalPolicyInput) SetPrincipal(v string) *DetachPrincipalPolicyInput
- func (s DetachPrincipalPolicyInput) String() string
- func (s *DetachPrincipalPolicyInput) Validate() error
- type DetachPrincipalPolicyOutput
- type DetachPrincipalPolicyRequest
- type DetachThingPrincipalInput
- func (s DetachThingPrincipalInput) GoString() string
- func (s *DetachThingPrincipalInput) SetPrincipal(v string) *DetachThingPrincipalInput
- func (s *DetachThingPrincipalInput) SetThingName(v string) *DetachThingPrincipalInput
- func (s DetachThingPrincipalInput) String() string
- func (s *DetachThingPrincipalInput) Validate() error
- type DetachThingPrincipalOutput
- type DetachThingPrincipalRequest
- type DisableTopicRuleInput
- type DisableTopicRuleOutput
- type DisableTopicRuleRequest
- type DynamoDBAction
- func (s DynamoDBAction) GoString() string
- func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetHashKeyType(v DynamoKeyType) *DynamoDBAction
- func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetRangeKeyType(v DynamoKeyType) *DynamoDBAction
- func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetRoleArn(v string) *DynamoDBAction
- func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction
- func (s DynamoDBAction) String() string
- func (s *DynamoDBAction) Validate() error
- type DynamoDBv2Action
- type DynamoKeyType
- type ElasticsearchAction
- func (s ElasticsearchAction) GoString() string
- func (s *ElasticsearchAction) SetEndpoint(v string) *ElasticsearchAction
- func (s *ElasticsearchAction) SetId(v string) *ElasticsearchAction
- func (s *ElasticsearchAction) SetIndex(v string) *ElasticsearchAction
- func (s *ElasticsearchAction) SetRoleArn(v string) *ElasticsearchAction
- func (s *ElasticsearchAction) SetType(v string) *ElasticsearchAction
- func (s ElasticsearchAction) String() string
- func (s *ElasticsearchAction) Validate() error
- type EnableTopicRuleInput
- type EnableTopicRuleOutput
- type EnableTopicRuleRequest
- type FirehoseAction
- func (s FirehoseAction) GoString() string
- func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction
- func (s *FirehoseAction) SetRoleArn(v string) *FirehoseAction
- func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction
- func (s FirehoseAction) String() string
- func (s *FirehoseAction) Validate() error
- type GetLoggingOptionsInput
- type GetLoggingOptionsOutput
- func (s GetLoggingOptionsOutput) GoString() string
- func (s GetLoggingOptionsOutput) SDKResponseMetadata() aws.Response
- func (s *GetLoggingOptionsOutput) SetLogLevel(v LogLevel) *GetLoggingOptionsOutput
- func (s *GetLoggingOptionsOutput) SetRoleArn(v string) *GetLoggingOptionsOutput
- func (s GetLoggingOptionsOutput) String() string
- type GetLoggingOptionsRequest
- type GetPolicyInput
- type GetPolicyOutput
- func (s GetPolicyOutput) GoString() string
- func (s GetPolicyOutput) SDKResponseMetadata() aws.Response
- func (s *GetPolicyOutput) SetDefaultVersionId(v string) *GetPolicyOutput
- func (s *GetPolicyOutput) SetPolicyArn(v string) *GetPolicyOutput
- func (s *GetPolicyOutput) SetPolicyDocument(v string) *GetPolicyOutput
- func (s *GetPolicyOutput) SetPolicyName(v string) *GetPolicyOutput
- func (s GetPolicyOutput) String() string
- type GetPolicyRequest
- type GetPolicyVersionInput
- func (s GetPolicyVersionInput) GoString() string
- func (s *GetPolicyVersionInput) SetPolicyName(v string) *GetPolicyVersionInput
- func (s *GetPolicyVersionInput) SetPolicyVersionId(v string) *GetPolicyVersionInput
- func (s GetPolicyVersionInput) String() string
- func (s *GetPolicyVersionInput) Validate() error
- type GetPolicyVersionOutput
- func (s GetPolicyVersionOutput) GoString() string
- func (s GetPolicyVersionOutput) SDKResponseMetadata() aws.Response
- func (s *GetPolicyVersionOutput) SetIsDefaultVersion(v bool) *GetPolicyVersionOutput
- func (s *GetPolicyVersionOutput) SetPolicyArn(v string) *GetPolicyVersionOutput
- func (s *GetPolicyVersionOutput) SetPolicyDocument(v string) *GetPolicyVersionOutput
- func (s *GetPolicyVersionOutput) SetPolicyName(v string) *GetPolicyVersionOutput
- func (s *GetPolicyVersionOutput) SetPolicyVersionId(v string) *GetPolicyVersionOutput
- func (s GetPolicyVersionOutput) String() string
- type GetPolicyVersionRequest
- type GetRegistrationCodeInput
- type GetRegistrationCodeOutput
- type GetRegistrationCodeRequest
- type GetTopicRuleInput
- type GetTopicRuleOutput
- type GetTopicRuleRequest
- type IoT
- func (c *IoT) AcceptCertificateTransferRequest(input *AcceptCertificateTransferInput) AcceptCertificateTransferRequest
- func (c *IoT) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) AttachPrincipalPolicyRequest
- func (c *IoT) AttachThingPrincipalRequest(input *AttachThingPrincipalInput) AttachThingPrincipalRequest
- func (c *IoT) CancelCertificateTransferRequest(input *CancelCertificateTransferInput) CancelCertificateTransferRequest
- func (c *IoT) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInput) CreateCertificateFromCsrRequest
- func (c *IoT) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInput) CreateKeysAndCertificateRequest
- func (c *IoT) CreatePolicyRequest(input *CreatePolicyInput) CreatePolicyRequest
- func (c *IoT) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) CreatePolicyVersionRequest
- func (c *IoT) CreateThingRequest(input *CreateThingInput) CreateThingRequest
- func (c *IoT) CreateThingTypeRequest(input *CreateThingTypeInput) CreateThingTypeRequest
- func (c *IoT) CreateTopicRuleRequest(input *CreateTopicRuleInput) CreateTopicRuleRequest
- func (c *IoT) DeleteCACertificateRequest(input *DeleteCACertificateInput) DeleteCACertificateRequest
- func (c *IoT) DeleteCertificateRequest(input *DeleteCertificateInput) DeleteCertificateRequest
- func (c *IoT) DeletePolicyRequest(input *DeletePolicyInput) DeletePolicyRequest
- func (c *IoT) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) DeletePolicyVersionRequest
- func (c *IoT) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) DeleteRegistrationCodeRequest
- func (c *IoT) DeleteThingRequest(input *DeleteThingInput) DeleteThingRequest
- func (c *IoT) DeleteThingTypeRequest(input *DeleteThingTypeInput) DeleteThingTypeRequest
- func (c *IoT) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) DeleteTopicRuleRequest
- func (c *IoT) DeprecateThingTypeRequest(input *DeprecateThingTypeInput) DeprecateThingTypeRequest
- func (c *IoT) DescribeCACertificateRequest(input *DescribeCACertificateInput) DescribeCACertificateRequest
- func (c *IoT) DescribeCertificateRequest(input *DescribeCertificateInput) DescribeCertificateRequest
- func (c *IoT) DescribeEndpointRequest(input *DescribeEndpointInput) DescribeEndpointRequest
- func (c *IoT) DescribeThingRequest(input *DescribeThingInput) DescribeThingRequest
- func (c *IoT) DescribeThingTypeRequest(input *DescribeThingTypeInput) DescribeThingTypeRequest
- func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) DetachPrincipalPolicyRequest
- func (c *IoT) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) DetachThingPrincipalRequest
- func (c *IoT) DisableTopicRuleRequest(input *DisableTopicRuleInput) DisableTopicRuleRequest
- func (c *IoT) EnableTopicRuleRequest(input *EnableTopicRuleInput) EnableTopicRuleRequest
- func (c *IoT) GetLoggingOptionsRequest(input *GetLoggingOptionsInput) GetLoggingOptionsRequest
- func (c *IoT) GetPolicyRequest(input *GetPolicyInput) GetPolicyRequest
- func (c *IoT) GetPolicyVersionRequest(input *GetPolicyVersionInput) GetPolicyVersionRequest
- func (c *IoT) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) GetRegistrationCodeRequest
- func (c *IoT) GetTopicRuleRequest(input *GetTopicRuleInput) GetTopicRuleRequest
- func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) ListCACertificatesRequest
- func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) ListCertificatesByCARequest
- func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) ListCertificatesRequest
- func (c *IoT) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInput) ListOutgoingCertificatesRequest
- func (c *IoT) ListPoliciesRequest(input *ListPoliciesInput) ListPoliciesRequest
- func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) ListPolicyPrincipalsRequest
- func (c *IoT) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) ListPolicyVersionsRequest
- func (c *IoT) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) ListPrincipalPoliciesRequest
- func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) ListPrincipalThingsRequest
- func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) ListThingPrincipalsRequest
- func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) ListThingTypesRequest
- func (c *IoT) ListThingsRequest(input *ListThingsInput) ListThingsRequest
- func (c *IoT) ListTopicRulesRequest(input *ListTopicRulesInput) ListTopicRulesRequest
- func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) RegisterCACertificateRequest
- func (c *IoT) RegisterCertificateRequest(input *RegisterCertificateInput) RegisterCertificateRequest
- func (c *IoT) RejectCertificateTransferRequest(input *RejectCertificateTransferInput) RejectCertificateTransferRequest
- func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) ReplaceTopicRuleRequest
- func (c *IoT) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) SetDefaultPolicyVersionRequest
- func (c *IoT) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) SetLoggingOptionsRequest
- func (c *IoT) TransferCertificateRequest(input *TransferCertificateInput) TransferCertificateRequest
- func (c *IoT) UpdateCACertificateRequest(input *UpdateCACertificateInput) UpdateCACertificateRequest
- func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) UpdateCertificateRequest
- func (c *IoT) UpdateThingRequest(input *UpdateThingInput) UpdateThingRequest
- type KeyPair
- type KinesisAction
- func (s KinesisAction) GoString() string
- func (s *KinesisAction) SetPartitionKey(v string) *KinesisAction
- func (s *KinesisAction) SetRoleArn(v string) *KinesisAction
- func (s *KinesisAction) SetStreamName(v string) *KinesisAction
- func (s KinesisAction) String() string
- func (s *KinesisAction) Validate() error
- type LambdaAction
- type ListCACertificatesInput
- func (s ListCACertificatesInput) GoString() string
- func (s *ListCACertificatesInput) SetAscendingOrder(v bool) *ListCACertificatesInput
- func (s *ListCACertificatesInput) SetMarker(v string) *ListCACertificatesInput
- func (s *ListCACertificatesInput) SetPageSize(v int64) *ListCACertificatesInput
- func (s ListCACertificatesInput) String() string
- func (s *ListCACertificatesInput) Validate() error
- type ListCACertificatesOutput
- func (s ListCACertificatesOutput) GoString() string
- func (s ListCACertificatesOutput) SDKResponseMetadata() aws.Response
- func (s *ListCACertificatesOutput) SetCertificates(v []CACertificate) *ListCACertificatesOutput
- func (s *ListCACertificatesOutput) SetNextMarker(v string) *ListCACertificatesOutput
- func (s ListCACertificatesOutput) String() string
- type ListCACertificatesRequest
- type ListCertificatesByCAInput
- func (s ListCertificatesByCAInput) GoString() string
- func (s *ListCertificatesByCAInput) SetAscendingOrder(v bool) *ListCertificatesByCAInput
- func (s *ListCertificatesByCAInput) SetCaCertificateId(v string) *ListCertificatesByCAInput
- func (s *ListCertificatesByCAInput) SetMarker(v string) *ListCertificatesByCAInput
- func (s *ListCertificatesByCAInput) SetPageSize(v int64) *ListCertificatesByCAInput
- func (s ListCertificatesByCAInput) String() string
- func (s *ListCertificatesByCAInput) Validate() error
- type ListCertificatesByCAOutput
- func (s ListCertificatesByCAOutput) GoString() string
- func (s ListCertificatesByCAOutput) SDKResponseMetadata() aws.Response
- func (s *ListCertificatesByCAOutput) SetCertificates(v []Certificate) *ListCertificatesByCAOutput
- func (s *ListCertificatesByCAOutput) SetNextMarker(v string) *ListCertificatesByCAOutput
- func (s ListCertificatesByCAOutput) String() string
- type ListCertificatesByCARequest
- type ListCertificatesInput
- func (s ListCertificatesInput) GoString() string
- func (s *ListCertificatesInput) SetAscendingOrder(v bool) *ListCertificatesInput
- func (s *ListCertificatesInput) SetMarker(v string) *ListCertificatesInput
- func (s *ListCertificatesInput) SetPageSize(v int64) *ListCertificatesInput
- func (s ListCertificatesInput) String() string
- func (s *ListCertificatesInput) Validate() error
- type ListCertificatesOutput
- func (s ListCertificatesOutput) GoString() string
- func (s ListCertificatesOutput) SDKResponseMetadata() aws.Response
- func (s *ListCertificatesOutput) SetCertificates(v []Certificate) *ListCertificatesOutput
- func (s *ListCertificatesOutput) SetNextMarker(v string) *ListCertificatesOutput
- func (s ListCertificatesOutput) String() string
- type ListCertificatesRequest
- type ListOutgoingCertificatesInput
- func (s ListOutgoingCertificatesInput) GoString() string
- func (s *ListOutgoingCertificatesInput) SetAscendingOrder(v bool) *ListOutgoingCertificatesInput
- func (s *ListOutgoingCertificatesInput) SetMarker(v string) *ListOutgoingCertificatesInput
- func (s *ListOutgoingCertificatesInput) SetPageSize(v int64) *ListOutgoingCertificatesInput
- func (s ListOutgoingCertificatesInput) String() string
- func (s *ListOutgoingCertificatesInput) Validate() error
- type ListOutgoingCertificatesOutput
- func (s ListOutgoingCertificatesOutput) GoString() string
- func (s ListOutgoingCertificatesOutput) SDKResponseMetadata() aws.Response
- func (s *ListOutgoingCertificatesOutput) SetNextMarker(v string) *ListOutgoingCertificatesOutput
- func (s *ListOutgoingCertificatesOutput) SetOutgoingCertificates(v []OutgoingCertificate) *ListOutgoingCertificatesOutput
- func (s ListOutgoingCertificatesOutput) String() string
- type ListOutgoingCertificatesRequest
- type ListPoliciesInput
- func (s ListPoliciesInput) GoString() string
- func (s *ListPoliciesInput) SetAscendingOrder(v bool) *ListPoliciesInput
- func (s *ListPoliciesInput) SetMarker(v string) *ListPoliciesInput
- func (s *ListPoliciesInput) SetPageSize(v int64) *ListPoliciesInput
- func (s ListPoliciesInput) String() string
- func (s *ListPoliciesInput) Validate() error
- type ListPoliciesOutput
- type ListPoliciesRequest
- type ListPolicyPrincipalsInput
- func (s ListPolicyPrincipalsInput) GoString() string
- func (s *ListPolicyPrincipalsInput) SetAscendingOrder(v bool) *ListPolicyPrincipalsInput
- func (s *ListPolicyPrincipalsInput) SetMarker(v string) *ListPolicyPrincipalsInput
- func (s *ListPolicyPrincipalsInput) SetPageSize(v int64) *ListPolicyPrincipalsInput
- func (s *ListPolicyPrincipalsInput) SetPolicyName(v string) *ListPolicyPrincipalsInput
- func (s ListPolicyPrincipalsInput) String() string
- func (s *ListPolicyPrincipalsInput) Validate() error
- type ListPolicyPrincipalsOutput
- func (s ListPolicyPrincipalsOutput) GoString() string
- func (s ListPolicyPrincipalsOutput) SDKResponseMetadata() aws.Response
- func (s *ListPolicyPrincipalsOutput) SetNextMarker(v string) *ListPolicyPrincipalsOutput
- func (s *ListPolicyPrincipalsOutput) SetPrincipals(v []string) *ListPolicyPrincipalsOutput
- func (s ListPolicyPrincipalsOutput) String() string
- type ListPolicyPrincipalsRequest
- type ListPolicyVersionsInput
- type ListPolicyVersionsOutput
- type ListPolicyVersionsRequest
- type ListPrincipalPoliciesInput
- func (s ListPrincipalPoliciesInput) GoString() string
- func (s *ListPrincipalPoliciesInput) SetAscendingOrder(v bool) *ListPrincipalPoliciesInput
- func (s *ListPrincipalPoliciesInput) SetMarker(v string) *ListPrincipalPoliciesInput
- func (s *ListPrincipalPoliciesInput) SetPageSize(v int64) *ListPrincipalPoliciesInput
- func (s *ListPrincipalPoliciesInput) SetPrincipal(v string) *ListPrincipalPoliciesInput
- func (s ListPrincipalPoliciesInput) String() string
- func (s *ListPrincipalPoliciesInput) Validate() error
- type ListPrincipalPoliciesOutput
- func (s ListPrincipalPoliciesOutput) GoString() string
- func (s ListPrincipalPoliciesOutput) SDKResponseMetadata() aws.Response
- func (s *ListPrincipalPoliciesOutput) SetNextMarker(v string) *ListPrincipalPoliciesOutput
- func (s *ListPrincipalPoliciesOutput) SetPolicies(v []Policy) *ListPrincipalPoliciesOutput
- func (s ListPrincipalPoliciesOutput) String() string
- type ListPrincipalPoliciesRequest
- type ListPrincipalThingsInput
- func (s ListPrincipalThingsInput) GoString() string
- func (s *ListPrincipalThingsInput) SetMaxResults(v int64) *ListPrincipalThingsInput
- func (s *ListPrincipalThingsInput) SetNextToken(v string) *ListPrincipalThingsInput
- func (s *ListPrincipalThingsInput) SetPrincipal(v string) *ListPrincipalThingsInput
- func (s ListPrincipalThingsInput) String() string
- func (s *ListPrincipalThingsInput) Validate() error
- type ListPrincipalThingsOutput
- func (s ListPrincipalThingsOutput) GoString() string
- func (s ListPrincipalThingsOutput) SDKResponseMetadata() aws.Response
- func (s *ListPrincipalThingsOutput) SetNextToken(v string) *ListPrincipalThingsOutput
- func (s *ListPrincipalThingsOutput) SetThings(v []string) *ListPrincipalThingsOutput
- func (s ListPrincipalThingsOutput) String() string
- type ListPrincipalThingsRequest
- type ListThingPrincipalsInput
- type ListThingPrincipalsOutput
- type ListThingPrincipalsRequest
- type ListThingTypesInput
- func (s ListThingTypesInput) GoString() string
- func (s *ListThingTypesInput) SetMaxResults(v int64) *ListThingTypesInput
- func (s *ListThingTypesInput) SetNextToken(v string) *ListThingTypesInput
- func (s *ListThingTypesInput) SetThingTypeName(v string) *ListThingTypesInput
- func (s ListThingTypesInput) String() string
- func (s *ListThingTypesInput) Validate() error
- type ListThingTypesOutput
- func (s ListThingTypesOutput) GoString() string
- func (s ListThingTypesOutput) SDKResponseMetadata() aws.Response
- func (s *ListThingTypesOutput) SetNextToken(v string) *ListThingTypesOutput
- func (s *ListThingTypesOutput) SetThingTypes(v []ThingTypeDefinition) *ListThingTypesOutput
- func (s ListThingTypesOutput) String() string
- type ListThingTypesRequest
- type ListThingsInput
- func (s ListThingsInput) GoString() string
- func (s *ListThingsInput) SetAttributeName(v string) *ListThingsInput
- func (s *ListThingsInput) SetAttributeValue(v string) *ListThingsInput
- func (s *ListThingsInput) SetMaxResults(v int64) *ListThingsInput
- func (s *ListThingsInput) SetNextToken(v string) *ListThingsInput
- func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput
- func (s ListThingsInput) String() string
- func (s *ListThingsInput) Validate() error
- type ListThingsOutput
- type ListThingsRequest
- type ListTopicRulesInput
- func (s ListTopicRulesInput) GoString() string
- func (s *ListTopicRulesInput) SetMaxResults(v int64) *ListTopicRulesInput
- func (s *ListTopicRulesInput) SetNextToken(v string) *ListTopicRulesInput
- func (s *ListTopicRulesInput) SetRuleDisabled(v bool) *ListTopicRulesInput
- func (s *ListTopicRulesInput) SetTopic(v string) *ListTopicRulesInput
- func (s ListTopicRulesInput) String() string
- func (s *ListTopicRulesInput) Validate() error
- type ListTopicRulesOutput
- func (s ListTopicRulesOutput) GoString() string
- func (s ListTopicRulesOutput) SDKResponseMetadata() aws.Response
- func (s *ListTopicRulesOutput) SetNextToken(v string) *ListTopicRulesOutput
- func (s *ListTopicRulesOutput) SetRules(v []TopicRuleListItem) *ListTopicRulesOutput
- func (s ListTopicRulesOutput) String() string
- type ListTopicRulesRequest
- type LogLevel
- type LoggingOptionsPayload
- type MessageFormat
- type OutgoingCertificate
- func (s OutgoingCertificate) GoString() string
- func (s *OutgoingCertificate) SetCertificateArn(v string) *OutgoingCertificate
- func (s *OutgoingCertificate) SetCertificateId(v string) *OutgoingCertificate
- func (s *OutgoingCertificate) SetCreationDate(v time.Time) *OutgoingCertificate
- func (s *OutgoingCertificate) SetTransferDate(v time.Time) *OutgoingCertificate
- func (s *OutgoingCertificate) SetTransferMessage(v string) *OutgoingCertificate
- func (s *OutgoingCertificate) SetTransferredTo(v string) *OutgoingCertificate
- func (s OutgoingCertificate) String() string
- type Policy
- type PolicyVersion
- type PutItemInput
- type RegisterCACertificateInput
- func (s RegisterCACertificateInput) GoString() string
- func (s *RegisterCACertificateInput) SetAllowAutoRegistration(v bool) *RegisterCACertificateInput
- func (s *RegisterCACertificateInput) SetCaCertificate(v string) *RegisterCACertificateInput
- func (s *RegisterCACertificateInput) SetSetAsActive(v bool) *RegisterCACertificateInput
- func (s *RegisterCACertificateInput) SetVerificationCertificate(v string) *RegisterCACertificateInput
- func (s RegisterCACertificateInput) String() string
- func (s *RegisterCACertificateInput) Validate() error
- type RegisterCACertificateOutput
- func (s RegisterCACertificateOutput) GoString() string
- func (s RegisterCACertificateOutput) SDKResponseMetadata() aws.Response
- func (s *RegisterCACertificateOutput) SetCertificateArn(v string) *RegisterCACertificateOutput
- func (s *RegisterCACertificateOutput) SetCertificateId(v string) *RegisterCACertificateOutput
- func (s RegisterCACertificateOutput) String() string
- type RegisterCACertificateRequest
- type RegisterCertificateInput
- func (s RegisterCertificateInput) GoString() string
- func (s *RegisterCertificateInput) SetCaCertificatePem(v string) *RegisterCertificateInput
- func (s *RegisterCertificateInput) SetCertificatePem(v string) *RegisterCertificateInput
- func (s *RegisterCertificateInput) SetSetAsActive(v bool) *RegisterCertificateInput
- func (s *RegisterCertificateInput) SetStatus(v CertificateStatus) *RegisterCertificateInput
- func (s RegisterCertificateInput) String() string
- func (s *RegisterCertificateInput) Validate() error
- type RegisterCertificateOutput
- func (s RegisterCertificateOutput) GoString() string
- func (s RegisterCertificateOutput) SDKResponseMetadata() aws.Response
- func (s *RegisterCertificateOutput) SetCertificateArn(v string) *RegisterCertificateOutput
- func (s *RegisterCertificateOutput) SetCertificateId(v string) *RegisterCertificateOutput
- func (s RegisterCertificateOutput) String() string
- type RegisterCertificateRequest
- type RejectCertificateTransferInput
- func (s RejectCertificateTransferInput) GoString() string
- func (s *RejectCertificateTransferInput) SetCertificateId(v string) *RejectCertificateTransferInput
- func (s *RejectCertificateTransferInput) SetRejectReason(v string) *RejectCertificateTransferInput
- func (s RejectCertificateTransferInput) String() string
- func (s *RejectCertificateTransferInput) Validate() error
- type RejectCertificateTransferOutput
- type RejectCertificateTransferRequest
- type ReplaceTopicRuleInput
- func (s ReplaceTopicRuleInput) GoString() string
- func (s *ReplaceTopicRuleInput) SetRuleName(v string) *ReplaceTopicRuleInput
- func (s *ReplaceTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *ReplaceTopicRuleInput
- func (s ReplaceTopicRuleInput) String() string
- func (s *ReplaceTopicRuleInput) Validate() error
- type ReplaceTopicRuleOutput
- type ReplaceTopicRuleRequest
- type RepublishAction
- type S3Action
- func (s S3Action) GoString() string
- func (s *S3Action) SetBucketName(v string) *S3Action
- func (s *S3Action) SetCannedAcl(v CannedAccessControlList) *S3Action
- func (s *S3Action) SetKey(v string) *S3Action
- func (s *S3Action) SetRoleArn(v string) *S3Action
- func (s S3Action) String() string
- func (s *S3Action) Validate() error
- type SalesforceAction
- type SetDefaultPolicyVersionInput
- func (s SetDefaultPolicyVersionInput) GoString() string
- func (s *SetDefaultPolicyVersionInput) SetPolicyName(v string) *SetDefaultPolicyVersionInput
- func (s *SetDefaultPolicyVersionInput) SetPolicyVersionId(v string) *SetDefaultPolicyVersionInput
- func (s SetDefaultPolicyVersionInput) String() string
- func (s *SetDefaultPolicyVersionInput) Validate() error
- type SetDefaultPolicyVersionOutput
- type SetDefaultPolicyVersionRequest
- type SetLoggingOptionsInput
- type SetLoggingOptionsOutput
- type SetLoggingOptionsRequest
- type SnsAction
- type SqsAction
- type ThingAttribute
- func (s ThingAttribute) GoString() string
- func (s *ThingAttribute) SetAttributes(v map[string]string) *ThingAttribute
- func (s *ThingAttribute) SetThingName(v string) *ThingAttribute
- func (s *ThingAttribute) SetThingTypeName(v string) *ThingAttribute
- func (s *ThingAttribute) SetVersion(v int64) *ThingAttribute
- func (s ThingAttribute) String() string
- type ThingTypeDefinition
- func (s ThingTypeDefinition) GoString() string
- func (s *ThingTypeDefinition) SetThingTypeMetadata(v *ThingTypeMetadata) *ThingTypeDefinition
- func (s *ThingTypeDefinition) SetThingTypeName(v string) *ThingTypeDefinition
- func (s *ThingTypeDefinition) SetThingTypeProperties(v *ThingTypeProperties) *ThingTypeDefinition
- func (s ThingTypeDefinition) String() string
- type ThingTypeMetadata
- func (s ThingTypeMetadata) GoString() string
- func (s *ThingTypeMetadata) SetCreationDate(v time.Time) *ThingTypeMetadata
- func (s *ThingTypeMetadata) SetDeprecated(v bool) *ThingTypeMetadata
- func (s *ThingTypeMetadata) SetDeprecationDate(v time.Time) *ThingTypeMetadata
- func (s ThingTypeMetadata) String() string
- type ThingTypeProperties
- type TopicRule
- func (s TopicRule) GoString() string
- func (s *TopicRule) SetActions(v []Action) *TopicRule
- func (s *TopicRule) SetAwsIotSqlVersion(v string) *TopicRule
- func (s *TopicRule) SetCreatedAt(v time.Time) *TopicRule
- func (s *TopicRule) SetDescription(v string) *TopicRule
- func (s *TopicRule) SetRuleDisabled(v bool) *TopicRule
- func (s *TopicRule) SetRuleName(v string) *TopicRule
- func (s *TopicRule) SetSql(v string) *TopicRule
- func (s TopicRule) String() string
- type TopicRuleListItem
- func (s TopicRuleListItem) GoString() string
- func (s *TopicRuleListItem) SetCreatedAt(v time.Time) *TopicRuleListItem
- func (s *TopicRuleListItem) SetRuleArn(v string) *TopicRuleListItem
- func (s *TopicRuleListItem) SetRuleDisabled(v bool) *TopicRuleListItem
- func (s *TopicRuleListItem) SetRuleName(v string) *TopicRuleListItem
- func (s *TopicRuleListItem) SetTopicPattern(v string) *TopicRuleListItem
- func (s TopicRuleListItem) String() string
- type TopicRulePayload
- func (s TopicRulePayload) GoString() string
- func (s *TopicRulePayload) SetActions(v []Action) *TopicRulePayload
- func (s *TopicRulePayload) SetAwsIotSqlVersion(v string) *TopicRulePayload
- func (s *TopicRulePayload) SetDescription(v string) *TopicRulePayload
- func (s *TopicRulePayload) SetRuleDisabled(v bool) *TopicRulePayload
- func (s *TopicRulePayload) SetSql(v string) *TopicRulePayload
- func (s TopicRulePayload) String() string
- func (s *TopicRulePayload) Validate() error
- type TransferCertificateInput
- func (s TransferCertificateInput) GoString() string
- func (s *TransferCertificateInput) SetCertificateId(v string) *TransferCertificateInput
- func (s *TransferCertificateInput) SetTargetAwsAccount(v string) *TransferCertificateInput
- func (s *TransferCertificateInput) SetTransferMessage(v string) *TransferCertificateInput
- func (s TransferCertificateInput) String() string
- func (s *TransferCertificateInput) Validate() error
- type TransferCertificateOutput
- type TransferCertificateRequest
- type TransferData
- func (s TransferData) GoString() string
- func (s *TransferData) SetAcceptDate(v time.Time) *TransferData
- func (s *TransferData) SetRejectDate(v time.Time) *TransferData
- func (s *TransferData) SetRejectReason(v string) *TransferData
- func (s *TransferData) SetTransferDate(v time.Time) *TransferData
- func (s *TransferData) SetTransferMessage(v string) *TransferData
- func (s TransferData) String() string
- type UpdateCACertificateInput
- func (s UpdateCACertificateInput) GoString() string
- func (s *UpdateCACertificateInput) SetCertificateId(v string) *UpdateCACertificateInput
- func (s *UpdateCACertificateInput) SetNewAutoRegistrationStatus(v AutoRegistrationStatus) *UpdateCACertificateInput
- func (s *UpdateCACertificateInput) SetNewStatus(v CACertificateStatus) *UpdateCACertificateInput
- func (s UpdateCACertificateInput) String() string
- func (s *UpdateCACertificateInput) Validate() error
- type UpdateCACertificateOutput
- type UpdateCACertificateRequest
- type UpdateCertificateInput
- func (s UpdateCertificateInput) GoString() string
- func (s *UpdateCertificateInput) SetCertificateId(v string) *UpdateCertificateInput
- func (s *UpdateCertificateInput) SetNewStatus(v CertificateStatus) *UpdateCertificateInput
- func (s UpdateCertificateInput) String() string
- func (s *UpdateCertificateInput) Validate() error
- type UpdateCertificateOutput
- type UpdateCertificateRequest
- type UpdateThingInput
- func (s UpdateThingInput) GoString() string
- func (s *UpdateThingInput) SetAttributePayload(v *AttributePayload) *UpdateThingInput
- func (s *UpdateThingInput) SetExpectedVersion(v int64) *UpdateThingInput
- func (s *UpdateThingInput) SetRemoveThingType(v bool) *UpdateThingInput
- func (s *UpdateThingInput) SetThingName(v string) *UpdateThingInput
- func (s *UpdateThingInput) SetThingTypeName(v string) *UpdateThingInput
- func (s UpdateThingInput) String() string
- func (s *UpdateThingInput) Validate() error
- type UpdateThingOutput
- type UpdateThingRequest
Constants ¶
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" // ErrCodeDeleteConflictException for service response error code // "DeleteConflictException". // // You can't delete the resource because it is attached to one or more resources. ErrCodeDeleteConflictException = "DeleteConflictException" // 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" // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // The request is not valid. ErrCodeInvalidRequestException = "InvalidRequestException" // 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" // 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" // "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" // "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" )
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 ¶
func (s AcceptCertificateTransferInput) GoString() string
GoString returns the string representation
func (*AcceptCertificateTransferInput) SetCertificateId ¶
func (s *AcceptCertificateTransferInput) SetCertificateId(v string) *AcceptCertificateTransferInput
SetCertificateId sets the CertificateId field's value.
func (*AcceptCertificateTransferInput) SetSetAsActive ¶
func (s *AcceptCertificateTransferInput) SetSetAsActive(v bool) *AcceptCertificateTransferInput
SetSetAsActive sets the SetAsActive field's value.
func (AcceptCertificateTransferInput) String ¶
func (s AcceptCertificateTransferInput) String() 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 ¶
func (s AcceptCertificateTransferOutput) GoString() string
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 ¶
func (s AcceptCertificateTransferOutput) String() 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 ¶
func (r AcceptCertificateTransferRequest) Send() (*AcceptCertificateTransferOutput, error)
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) 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) SetSalesforce ¶
func (s *Action) SetSalesforce(v *SalesforceAction) *Action
SetSalesforce sets the Salesforce field's value.
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 ¶
func (s *AttachPrincipalPolicyInput) SetPolicyName(v string) *AttachPrincipalPolicyInput
SetPolicyName sets the PolicyName field's value.
func (*AttachPrincipalPolicyInput) SetPrincipal ¶
func (s *AttachPrincipalPolicyInput) SetPrincipal(v string) *AttachPrincipalPolicyInput
SetPrincipal sets the Principal field's value.
func (AttachPrincipalPolicyInput) String ¶
func (s AttachPrincipalPolicyInput) String() 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 ¶
func (s AttachPrincipalPolicyOutput) String() 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 ¶
func (r AttachPrincipalPolicyRequest) Send() (*AttachPrincipalPolicyOutput, error)
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 ¶
func (s *AttachThingPrincipalInput) SetPrincipal(v string) *AttachThingPrincipalInput
SetPrincipal sets the Principal field's value.
func (*AttachThingPrincipalInput) SetThingName ¶
func (s *AttachThingPrincipalInput) SetThingName(v string) *AttachThingPrincipalInput
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 ¶
func (s AttachThingPrincipalOutput) String() 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 ¶
func (r AttachThingPrincipalRequest) Send() (*AttachThingPrincipalOutput, error)
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 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 ¶
func (s *CACertificate) SetStatus(v CACertificateStatus) *CACertificate
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 ¶
func (s *CACertificateDescription) SetAutoRegistrationStatus(v AutoRegistrationStatus) *CACertificateDescription
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 ¶
func (s *CACertificateDescription) SetCertificateId(v string) *CACertificateDescription
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 ¶
func (s *CACertificateDescription) SetCreationDate(v time.Time) *CACertificateDescription
SetCreationDate sets the CreationDate field's value.
func (*CACertificateDescription) SetOwnedBy ¶
func (s *CACertificateDescription) SetOwnedBy(v string) *CACertificateDescription
SetOwnedBy sets the OwnedBy field's value.
func (*CACertificateDescription) SetStatus ¶
func (s *CACertificateDescription) SetStatus(v CACertificateStatus) *CACertificateDescription
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 ¶
func (s CancelCertificateTransferInput) GoString() string
GoString returns the string representation
func (*CancelCertificateTransferInput) SetCertificateId ¶
func (s *CancelCertificateTransferInput) SetCertificateId(v string) *CancelCertificateTransferInput
SetCertificateId sets the CertificateId field's value.
func (CancelCertificateTransferInput) String ¶
func (s CancelCertificateTransferInput) String() 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 ¶
func (s CancelCertificateTransferOutput) GoString() string
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 ¶
func (s CancelCertificateTransferOutput) String() 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 ¶
func (r CancelCertificateTransferRequest) Send() (*CancelCertificateTransferOutput, error)
Send marshals and sends the CancelCertificateTransfer 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 ¶
func (s *CertificateDescription) SetOwnedBy(v string) *CertificateDescription
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 ¶
func (s *CertificateDescription) SetStatus(v CertificateStatus) *CertificateDescription
SetStatus sets the Status field's value.
func (*CertificateDescription) SetTransferData ¶
func (s *CertificateDescription) SetTransferData(v *TransferData) *CertificateDescription
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 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 ¶
func (s *CloudwatchAlarmAction) SetAlarmName(v string) *CloudwatchAlarmAction
SetAlarmName sets the AlarmName field's value.
func (*CloudwatchAlarmAction) SetRoleArn ¶
func (s *CloudwatchAlarmAction) SetRoleArn(v string) *CloudwatchAlarmAction
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 ¶
func (s *CloudwatchMetricAction) SetMetricName(v string) *CloudwatchMetricAction
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 ¶
func (s *CloudwatchMetricAction) SetMetricUnit(v string) *CloudwatchMetricAction
SetMetricUnit sets the MetricUnit field's value.
func (*CloudwatchMetricAction) SetMetricValue ¶
func (s *CloudwatchMetricAction) SetMetricValue(v string) *CloudwatchMetricAction
SetMetricValue sets the MetricValue field's value.
func (*CloudwatchMetricAction) SetRoleArn ¶
func (s *CloudwatchMetricAction) SetRoleArn(v string) *CloudwatchMetricAction
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 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 ¶
func (s CreateCertificateFromCsrInput) GoString() string
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 ¶
func (s *CreateCertificateFromCsrInput) SetSetAsActive(v bool) *CreateCertificateFromCsrInput
SetSetAsActive sets the SetAsActive field's value.
func (CreateCertificateFromCsrInput) String ¶
func (s CreateCertificateFromCsrInput) String() 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 ¶
func (s CreateCertificateFromCsrOutput) GoString() string
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 ¶
func (s *CreateCertificateFromCsrOutput) SetCertificateArn(v string) *CreateCertificateFromCsrOutput
SetCertificateArn sets the CertificateArn field's value.
func (*CreateCertificateFromCsrOutput) SetCertificateId ¶
func (s *CreateCertificateFromCsrOutput) SetCertificateId(v string) *CreateCertificateFromCsrOutput
SetCertificateId sets the CertificateId field's value.
func (*CreateCertificateFromCsrOutput) SetCertificatePem ¶
func (s *CreateCertificateFromCsrOutput) SetCertificatePem(v string) *CreateCertificateFromCsrOutput
SetCertificatePem sets the CertificatePem field's value.
func (CreateCertificateFromCsrOutput) String ¶
func (s CreateCertificateFromCsrOutput) String() 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 ¶
func (r CreateCertificateFromCsrRequest) Send() (*CreateCertificateFromCsrOutput, error)
Send marshals and sends the CreateCertificateFromCsr 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 ¶
func (s CreateKeysAndCertificateInput) GoString() string
GoString returns the string representation
func (*CreateKeysAndCertificateInput) SetSetAsActive ¶
func (s *CreateKeysAndCertificateInput) SetSetAsActive(v bool) *CreateKeysAndCertificateInput
SetSetAsActive sets the SetAsActive field's value.
func (CreateKeysAndCertificateInput) String ¶
func (s CreateKeysAndCertificateInput) String() 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 ¶
func (s CreateKeysAndCertificateOutput) GoString() string
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 ¶
func (s *CreateKeysAndCertificateOutput) SetCertificateArn(v string) *CreateKeysAndCertificateOutput
SetCertificateArn sets the CertificateArn field's value.
func (*CreateKeysAndCertificateOutput) SetCertificateId ¶
func (s *CreateKeysAndCertificateOutput) SetCertificateId(v string) *CreateKeysAndCertificateOutput
SetCertificateId sets the CertificateId field's value.
func (*CreateKeysAndCertificateOutput) SetCertificatePem ¶
func (s *CreateKeysAndCertificateOutput) SetCertificatePem(v string) *CreateKeysAndCertificateOutput
SetCertificatePem sets the CertificatePem field's value.
func (*CreateKeysAndCertificateOutput) SetKeyPair ¶
func (s *CreateKeysAndCertificateOutput) SetKeyPair(v *KeyPair) *CreateKeysAndCertificateOutput
SetKeyPair sets the KeyPair field's value.
func (CreateKeysAndCertificateOutput) String ¶
func (s CreateKeysAndCertificateOutput) String() 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 ¶
func (r CreateKeysAndCertificateRequest) Send() (*CreateKeysAndCertificateOutput, error)
Send marshals and sends the CreateKeysAndCertificate 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 ¶
func (r CreatePolicyRequest) Send() (*CreatePolicyOutput, error)
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 whitespaces // // 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 ¶
func (s *CreatePolicyVersionInput) SetPolicyName(v string) *CreatePolicyVersionInput
SetPolicyName sets the PolicyName field's value.
func (*CreatePolicyVersionInput) SetSetAsDefault ¶
func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput
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 ¶
func (s *CreatePolicyVersionOutput) SetPolicyArn(v string) *CreatePolicyVersionOutput
SetPolicyArn sets the PolicyArn field's value.
func (*CreatePolicyVersionOutput) SetPolicyDocument ¶
func (s *CreatePolicyVersionOutput) SetPolicyDocument(v string) *CreatePolicyVersionOutput
SetPolicyDocument sets the PolicyDocument field's value.
func (*CreatePolicyVersionOutput) SetPolicyVersionId ¶
func (s *CreatePolicyVersionOutput) SetPolicyVersionId(v string) *CreatePolicyVersionOutput
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 ¶
func (r CreatePolicyVersionRequest) Send() (*CreatePolicyVersionOutput, error)
Send marshals and sends the CreatePolicyVersion 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 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) 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 ¶
func (r CreateThingRequest) Send() (*CreateThingOutput, error)
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 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) 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 ¶
func (r CreateThingTypeRequest) Send() (*CreateThingTypeOutput, error)
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 ¶
func (s *CreateTopicRuleInput) SetRuleName(v string) *CreateTopicRuleInput
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 ¶
func (r CreateTopicRuleRequest) Send() (*CreateTopicRuleOutput, error)
Send marshals and sends the CreateTopicRule 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 ¶
func (s *DeleteCACertificateInput) SetCertificateId(v string) *DeleteCACertificateInput
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 ¶
func (r DeleteCACertificateRequest) Send() (*DeleteCACertificateOutput, error)
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"` // 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) 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 ¶
func (r DeleteCertificateRequest) Send() (*DeleteCertificateOutput, error)
Send marshals and sends the DeleteCertificate 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 ¶
func (r DeletePolicyRequest) Send() (*DeletePolicyOutput, error)
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 ¶
func (s *DeletePolicyVersionInput) SetPolicyName(v string) *DeletePolicyVersionInput
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 ¶
func (r DeletePolicyVersionRequest) Send() (*DeletePolicyVersionOutput, error)
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 ¶
func (s DeleteRegistrationCodeInput) String() 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 ¶
func (s DeleteRegistrationCodeOutput) String() 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 ¶
func (r DeleteRegistrationCodeRequest) Send() (*DeleteRegistrationCodeOutput, error)
Send marshals and sends the DeleteRegistrationCode 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 ¶
func (r DeleteThingRequest) Send() (*DeleteThingOutput, error)
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 ¶
func (r DeleteThingTypeRequest) Send() (*DeleteThingTypeOutput, error)
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 ¶
func (s *DeleteTopicRuleInput) SetRuleName(v string) *DeleteTopicRuleInput
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 ¶
func (r DeleteTopicRuleRequest) Send() (*DeleteTopicRuleOutput, error)
Send marshals and sends the DeleteTopicRule API request.
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 ¶
func (r DeprecateThingTypeRequest) Send() (*DeprecateThingTypeOutput, error)
Send marshals and sends the DeprecateThingType 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 ¶
func (s *DescribeCACertificateInput) SetCertificateId(v string) *DescribeCACertificateInput
SetCertificateId sets the CertificateId field's value.
func (DescribeCACertificateInput) String ¶
func (s DescribeCACertificateInput) String() 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"` // 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 ¶
func (s *DescribeCACertificateOutput) SetCertificateDescription(v *CACertificateDescription) *DescribeCACertificateOutput
SetCertificateDescription sets the CertificateDescription field's value.
func (DescribeCACertificateOutput) String ¶
func (s DescribeCACertificateOutput) String() 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 ¶
func (r DescribeCACertificateRequest) Send() (*DescribeCACertificateOutput, error)
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 ¶
func (s *DescribeCertificateInput) SetCertificateId(v string) *DescribeCertificateInput
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 ¶
func (s *DescribeCertificateOutput) SetCertificateDescription(v *CertificateDescription) *DescribeCertificateOutput
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 ¶
func (r DescribeCertificateRequest) Send() (*DescribeCertificateOutput, error)
Send marshals and sends the DescribeCertificate API request.
type DescribeEndpointInput ¶
type DescribeEndpointInput struct {
// 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) 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 ¶
func (r DescribeEndpointRequest) Send() (*DescribeEndpointOutput, error)
Send marshals and sends the DescribeEndpoint 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 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) 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 DescribeThingRequest ¶
type DescribeThingRequest struct { *aws.Request Input *DescribeThingInput }
DescribeThingRequest is a API request type for the DescribeThing API operation.
func (DescribeThingRequest) Send ¶
func (r DescribeThingRequest) Send() (*DescribeThingOutput, error)
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 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) SetThingTypeMetadata ¶
func (s *DescribeThingTypeOutput) SetThingTypeMetadata(v *ThingTypeMetadata) *DescribeThingTypeOutput
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 ¶
func (s *DescribeThingTypeOutput) SetThingTypeProperties(v *ThingTypeProperties) *DescribeThingTypeOutput
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 ¶
func (r DescribeThingTypeRequest) Send() (*DescribeThingTypeOutput, error)
Send marshals and sends the DescribeThingType 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 ¶
func (s *DetachPrincipalPolicyInput) SetPolicyName(v string) *DetachPrincipalPolicyInput
SetPolicyName sets the PolicyName field's value.
func (*DetachPrincipalPolicyInput) SetPrincipal ¶
func (s *DetachPrincipalPolicyInput) SetPrincipal(v string) *DetachPrincipalPolicyInput
SetPrincipal sets the Principal field's value.
func (DetachPrincipalPolicyInput) String ¶
func (s DetachPrincipalPolicyInput) String() 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 ¶
func (s DetachPrincipalPolicyOutput) String() 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 ¶
func (r DetachPrincipalPolicyRequest) Send() (*DetachPrincipalPolicyOutput, error)
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 ¶
func (s *DetachThingPrincipalInput) SetPrincipal(v string) *DetachThingPrincipalInput
SetPrincipal sets the Principal field's value.
func (*DetachThingPrincipalInput) SetThingName ¶
func (s *DetachThingPrincipalInput) SetThingName(v string) *DetachThingPrincipalInput
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 ¶
func (s DetachThingPrincipalOutput) String() 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 ¶
func (r DetachThingPrincipalRequest) Send() (*DetachThingPrincipalOutput, error)
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 ¶
func (s *DisableTopicRuleInput) SetRuleName(v string) *DisableTopicRuleInput
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 ¶
func (r DisableTopicRuleRequest) Send() (*DisableTopicRuleOutput, error)
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 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 ¶
func (s *ElasticsearchAction) SetId(v string) *ElasticsearchAction
SetId sets the Id field's value.
func (*ElasticsearchAction) SetIndex ¶
func (s *ElasticsearchAction) SetIndex(v string) *ElasticsearchAction
SetIndex sets the Index field's value.
func (*ElasticsearchAction) SetRoleArn ¶
func (s *ElasticsearchAction) SetRoleArn(v string) *ElasticsearchAction
SetRoleArn sets the RoleArn field's value.
func (*ElasticsearchAction) SetType ¶
func (s *ElasticsearchAction) SetType(v string) *ElasticsearchAction
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 ¶
func (s *EnableTopicRuleInput) SetRuleName(v string) *EnableTopicRuleInput
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 ¶
func (r EnableTopicRuleRequest) Send() (*EnableTopicRuleOutput, error)
Send marshals and sends the EnableTopicRule API request.
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 Firehost 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 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 ¶
func (s *GetLoggingOptionsOutput) SetLogLevel(v LogLevel) *GetLoggingOptionsOutput
SetLogLevel sets the LogLevel field's value.
func (*GetLoggingOptionsOutput) SetRoleArn ¶
func (s *GetLoggingOptionsOutput) SetRoleArn(v string) *GetLoggingOptionsOutput
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 ¶
func (r GetLoggingOptionsRequest) Send() (*GetLoggingOptionsOutput, error)
Send marshals and sends the GetLoggingOptions 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 ¶
func (s *GetPolicyVersionOutput) SetPolicyArn(v string) *GetPolicyVersionOutput
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 ¶
func (s *GetPolicyVersionOutput) SetPolicyName(v string) *GetPolicyVersionOutput
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 ¶
func (r GetPolicyVersionRequest) Send() (*GetPolicyVersionOutput, error)
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 ¶
func (r GetRegistrationCodeRequest) Send() (*GetRegistrationCodeOutput, error)
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 ¶
func (s *GetTopicRuleOutput) SetRule(v *TopicRule) *GetTopicRuleOutput
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 ¶
func (r GetTopicRuleRequest) Send() (*GetTopicRuleOutput, error)
Send marshals and sends the GetTopicRule API request.
type IoT ¶
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 ¶
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) 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).
// 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) 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) 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) 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) 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) 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) 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) 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 specified 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) 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) 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) 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) 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) 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.
// 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 specified 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 specified 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) 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) 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 specified 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) 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) 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 transfered 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.
// 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).
// 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) 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) 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) 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) 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) 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) ReplaceTopicRuleRequest ¶
func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) ReplaceTopicRuleRequest
ReplaceTopicRuleRequest returns a request value for making API operation for AWS IoT.
Replaces the specified 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) 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) 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) 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) 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 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) SetPrivateKey ¶
SetPrivateKey sets the PrivateKey field's value.
func (*KeyPair) SetPublicKey ¶
SetPublicKey sets the PublicKey field's value.
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 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 ¶
func (s *ListCACertificatesInput) SetMarker(v string) *ListCACertificatesInput
SetMarker sets the Marker field's value.
func (*ListCACertificatesInput) SetPageSize ¶
func (s *ListCACertificatesInput) SetPageSize(v int64) *ListCACertificatesInput
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 ¶
func (s *ListCACertificatesOutput) SetCertificates(v []CACertificate) *ListCACertificatesOutput
SetCertificates sets the Certificates field's value.
func (*ListCACertificatesOutput) SetNextMarker ¶
func (s *ListCACertificatesOutput) SetNextMarker(v string) *ListCACertificatesOutput
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 ¶
func (r ListCACertificatesRequest) Send() (*ListCACertificatesOutput, error)
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 ¶
func (s *ListCertificatesByCAInput) SetCaCertificateId(v string) *ListCertificatesByCAInput
SetCaCertificateId sets the CaCertificateId field's value.
func (*ListCertificatesByCAInput) SetMarker ¶
func (s *ListCertificatesByCAInput) SetMarker(v string) *ListCertificatesByCAInput
SetMarker sets the Marker field's value.
func (*ListCertificatesByCAInput) SetPageSize ¶
func (s *ListCertificatesByCAInput) SetPageSize(v int64) *ListCertificatesByCAInput
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 ¶
func (s *ListCertificatesByCAOutput) SetCertificates(v []Certificate) *ListCertificatesByCAOutput
SetCertificates sets the Certificates field's value.
func (*ListCertificatesByCAOutput) SetNextMarker ¶
func (s *ListCertificatesByCAOutput) SetNextMarker(v string) *ListCertificatesByCAOutput
SetNextMarker sets the NextMarker field's value.
func (ListCertificatesByCAOutput) String ¶
func (s ListCertificatesByCAOutput) String() 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 ¶
func (r ListCertificatesByCARequest) Send() (*ListCertificatesByCAOutput, error)
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 ¶
func (s *ListCertificatesInput) SetMarker(v string) *ListCertificatesInput
SetMarker sets the Marker field's value.
func (*ListCertificatesInput) SetPageSize ¶
func (s *ListCertificatesInput) SetPageSize(v int64) *ListCertificatesInput
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 ¶
func (s *ListCertificatesOutput) SetCertificates(v []Certificate) *ListCertificatesOutput
SetCertificates sets the Certificates field's value.
func (*ListCertificatesOutput) SetNextMarker ¶
func (s *ListCertificatesOutput) SetNextMarker(v string) *ListCertificatesOutput
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 ¶
func (r ListCertificatesRequest) Send() (*ListCertificatesOutput, error)
Send marshals and sends the ListCertificates 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 ¶
func (s ListOutgoingCertificatesInput) GoString() string
GoString returns the string representation
func (*ListOutgoingCertificatesInput) SetAscendingOrder ¶
func (s *ListOutgoingCertificatesInput) SetAscendingOrder(v bool) *ListOutgoingCertificatesInput
SetAscendingOrder sets the AscendingOrder field's value.
func (*ListOutgoingCertificatesInput) SetMarker ¶
func (s *ListOutgoingCertificatesInput) SetMarker(v string) *ListOutgoingCertificatesInput
SetMarker sets the Marker field's value.
func (*ListOutgoingCertificatesInput) SetPageSize ¶
func (s *ListOutgoingCertificatesInput) SetPageSize(v int64) *ListOutgoingCertificatesInput
SetPageSize sets the PageSize field's value.
func (ListOutgoingCertificatesInput) String ¶
func (s ListOutgoingCertificatesInput) String() 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 transfered but not yet accepted. OutgoingCertificates []OutgoingCertificate `locationName:"outgoingCertificates" type:"list"` // contains filtered or unexported fields }
The output from the ListOutgoingCertificates operation.
func (ListOutgoingCertificatesOutput) GoString ¶
func (s ListOutgoingCertificatesOutput) GoString() string
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 ¶
func (s *ListOutgoingCertificatesOutput) SetNextMarker(v string) *ListOutgoingCertificatesOutput
SetNextMarker sets the NextMarker field's value.
func (*ListOutgoingCertificatesOutput) SetOutgoingCertificates ¶
func (s *ListOutgoingCertificatesOutput) SetOutgoingCertificates(v []OutgoingCertificate) *ListOutgoingCertificatesOutput
SetOutgoingCertificates sets the OutgoingCertificates field's value.
func (ListOutgoingCertificatesOutput) String ¶
func (s ListOutgoingCertificatesOutput) String() 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 ¶
func (r ListOutgoingCertificatesRequest) Send() (*ListOutgoingCertificatesOutput, error)
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 ¶
func (r ListPoliciesRequest) Send() (*ListPoliciesOutput, error)
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 ¶
func (s *ListPolicyPrincipalsInput) SetMarker(v string) *ListPolicyPrincipalsInput
SetMarker sets the Marker field's value.
func (*ListPolicyPrincipalsInput) SetPageSize ¶
func (s *ListPolicyPrincipalsInput) SetPageSize(v int64) *ListPolicyPrincipalsInput
SetPageSize sets the PageSize field's value.
func (*ListPolicyPrincipalsInput) SetPolicyName ¶
func (s *ListPolicyPrincipalsInput) SetPolicyName(v string) *ListPolicyPrincipalsInput
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 ¶
func (s *ListPolicyPrincipalsOutput) SetNextMarker(v string) *ListPolicyPrincipalsOutput
SetNextMarker sets the NextMarker field's value.
func (*ListPolicyPrincipalsOutput) SetPrincipals ¶
func (s *ListPolicyPrincipalsOutput) SetPrincipals(v []string) *ListPolicyPrincipalsOutput
SetPrincipals sets the Principals field's value.
func (ListPolicyPrincipalsOutput) String ¶
func (s ListPolicyPrincipalsOutput) String() 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 ¶
func (r ListPolicyPrincipalsRequest) Send() (*ListPolicyPrincipalsOutput, error)
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 ¶
func (s *ListPolicyVersionsInput) SetPolicyName(v string) *ListPolicyVersionsInput
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 ¶
func (s *ListPolicyVersionsOutput) SetPolicyVersions(v []PolicyVersion) *ListPolicyVersionsOutput
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 ¶
func (r ListPolicyVersionsRequest) Send() (*ListPolicyVersionsOutput, error)
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 ¶
func (s *ListPrincipalPoliciesInput) SetAscendingOrder(v bool) *ListPrincipalPoliciesInput
SetAscendingOrder sets the AscendingOrder field's value.
func (*ListPrincipalPoliciesInput) SetMarker ¶
func (s *ListPrincipalPoliciesInput) SetMarker(v string) *ListPrincipalPoliciesInput
SetMarker sets the Marker field's value.
func (*ListPrincipalPoliciesInput) SetPageSize ¶
func (s *ListPrincipalPoliciesInput) SetPageSize(v int64) *ListPrincipalPoliciesInput
SetPageSize sets the PageSize field's value.
func (*ListPrincipalPoliciesInput) SetPrincipal ¶
func (s *ListPrincipalPoliciesInput) SetPrincipal(v string) *ListPrincipalPoliciesInput
SetPrincipal sets the Principal field's value.
func (ListPrincipalPoliciesInput) String ¶
func (s ListPrincipalPoliciesInput) String() 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 ¶
func (s *ListPrincipalPoliciesOutput) SetNextMarker(v string) *ListPrincipalPoliciesOutput
SetNextMarker sets the NextMarker field's value.
func (*ListPrincipalPoliciesOutput) SetPolicies ¶
func (s *ListPrincipalPoliciesOutput) SetPolicies(v []Policy) *ListPrincipalPoliciesOutput
SetPolicies sets the Policies field's value.
func (ListPrincipalPoliciesOutput) String ¶
func (s ListPrincipalPoliciesOutput) String() 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 ¶
func (r ListPrincipalPoliciesRequest) Send() (*ListPrincipalPoliciesOutput, error)
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 for 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 ¶
func (s *ListPrincipalThingsInput) SetMaxResults(v int64) *ListPrincipalThingsInput
SetMaxResults sets the MaxResults field's value.
func (*ListPrincipalThingsInput) SetNextToken ¶
func (s *ListPrincipalThingsInput) SetNextToken(v string) *ListPrincipalThingsInput
SetNextToken sets the NextToken field's value.
func (*ListPrincipalThingsInput) SetPrincipal ¶
func (s *ListPrincipalThingsInput) SetPrincipal(v string) *ListPrincipalThingsInput
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 for 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 ¶
func (s *ListPrincipalThingsOutput) SetNextToken(v string) *ListPrincipalThingsOutput
SetNextToken sets the NextToken field's value.
func (*ListPrincipalThingsOutput) SetThings ¶
func (s *ListPrincipalThingsOutput) SetThings(v []string) *ListPrincipalThingsOutput
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 ¶
func (r ListPrincipalThingsRequest) Send() (*ListPrincipalThingsOutput, error)
Send marshals and sends the ListPrincipalThings 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 ¶
func (s *ListThingPrincipalsInput) SetThingName(v string) *ListThingPrincipalsInput
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 ¶
func (s *ListThingPrincipalsOutput) SetPrincipals(v []string) *ListThingPrincipalsOutput
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 ¶
func (r ListThingPrincipalsRequest) Send() (*ListThingPrincipalsOutput, error)
Send marshals and sends the ListThingPrincipals 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 ¶
func (s *ListThingTypesOutput) SetThingTypes(v []ThingTypeDefinition) *ListThingTypesOutput
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 ¶
func (r ListThingTypesRequest) Send() (*ListThingTypesOutput, error)
Send marshals and sends the ListThingTypes 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 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 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 for 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 ¶
func (s *ListThingsOutput) SetThings(v []ThingAttribute) *ListThingsOutput
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 ¶
func (r ListThingsRequest) Send() (*ListThingsOutput, error)
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 ¶
func (s *ListTopicRulesInput) SetTopic(v string) *ListTopicRulesInput
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 ¶
func (s *ListTopicRulesOutput) SetRules(v []TopicRuleListItem) *ListTopicRulesOutput
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 ¶
func (r ListTopicRulesRequest) Send() (*ListTopicRulesOutput, error)
Send marshals and sends the ListTopicRules API request.
type LoggingOptionsPayload ¶
type LoggingOptionsPayload struct { // The logging 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 ¶
func (s *LoggingOptionsPayload) SetLogLevel(v LogLevel) *LoggingOptionsPayload
SetLogLevel sets the LogLevel field's value.
func (*LoggingOptionsPayload) SetRoleArn ¶
func (s *LoggingOptionsPayload) SetRoleArn(v string) *LoggingOptionsPayload
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 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 transfered 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) SetPolicyArn ¶
SetPolicyArn sets the PolicyArn field's value.
func (*Policy) SetPolicyName ¶
SetPolicyName sets the PolicyName field's value.
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 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"` // 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 ¶
func (s *RegisterCACertificateInput) SetCaCertificate(v string) *RegisterCACertificateInput
SetCaCertificate sets the CaCertificate field's value.
func (*RegisterCACertificateInput) SetSetAsActive ¶
func (s *RegisterCACertificateInput) SetSetAsActive(v bool) *RegisterCACertificateInput
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 ¶
func (s RegisterCACertificateInput) String() 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 ¶
func (s *RegisterCACertificateOutput) SetCertificateArn(v string) *RegisterCACertificateOutput
SetCertificateArn sets the CertificateArn field's value.
func (*RegisterCACertificateOutput) SetCertificateId ¶
func (s *RegisterCACertificateOutput) SetCertificateId(v string) *RegisterCACertificateOutput
SetCertificateId sets the CertificateId field's value.
func (RegisterCACertificateOutput) String ¶
func (s RegisterCACertificateOutput) String() 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 ¶
func (r RegisterCACertificateRequest) Send() (*RegisterCACertificateOutput, error)
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 ¶
func (s *RegisterCertificateInput) SetSetAsActive(v bool) *RegisterCertificateInput
SetSetAsActive sets the SetAsActive field's value.
func (*RegisterCertificateInput) SetStatus ¶
func (s *RegisterCertificateInput) SetStatus(v CertificateStatus) *RegisterCertificateInput
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 ¶
func (s *RegisterCertificateOutput) SetCertificateArn(v string) *RegisterCertificateOutput
SetCertificateArn sets the CertificateArn field's value.
func (*RegisterCertificateOutput) SetCertificateId ¶
func (s *RegisterCertificateOutput) SetCertificateId(v string) *RegisterCertificateOutput
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 ¶
func (r RegisterCertificateRequest) Send() (*RegisterCertificateOutput, error)
Send marshals and sends the RegisterCertificate API request.
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 ¶
func (s RejectCertificateTransferInput) GoString() string
GoString returns the string representation
func (*RejectCertificateTransferInput) SetCertificateId ¶
func (s *RejectCertificateTransferInput) SetCertificateId(v string) *RejectCertificateTransferInput
SetCertificateId sets the CertificateId field's value.
func (*RejectCertificateTransferInput) SetRejectReason ¶
func (s *RejectCertificateTransferInput) SetRejectReason(v string) *RejectCertificateTransferInput
SetRejectReason sets the RejectReason field's value.
func (RejectCertificateTransferInput) String ¶
func (s RejectCertificateTransferInput) String() 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 ¶
func (s RejectCertificateTransferOutput) GoString() string
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 ¶
func (s RejectCertificateTransferOutput) String() 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 ¶
func (r RejectCertificateTransferRequest) Send() (*RejectCertificateTransferOutput, error)
Send marshals and sends the RejectCertificateTransfer 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 ¶
func (s *ReplaceTopicRuleInput) SetRuleName(v string) *ReplaceTopicRuleInput
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 ¶
func (r ReplaceTopicRuleRequest) Send() (*ReplaceTopicRuleOutput, error)
Send marshals and sends the ReplaceTopicRule API request.
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 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) SetBucketName ¶
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) SetRoleArn ¶
SetRoleArn sets the RoleArn field's value.
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 ¶
func (s *SalesforceAction) SetUrl(v string) *SalesforceAction
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 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 ¶
func (s *SetDefaultPolicyVersionInput) SetPolicyName(v string) *SetDefaultPolicyVersionInput
SetPolicyName sets the PolicyName field's value.
func (*SetDefaultPolicyVersionInput) SetPolicyVersionId ¶
func (s *SetDefaultPolicyVersionInput) SetPolicyVersionId(v string) *SetDefaultPolicyVersionInput
SetPolicyVersionId sets the PolicyVersionId field's value.
func (SetDefaultPolicyVersionInput) String ¶
func (s SetDefaultPolicyVersionInput) String() 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 ¶
func (s SetDefaultPolicyVersionOutput) GoString() string
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 ¶
func (s SetDefaultPolicyVersionOutput) String() 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 ¶
func (r SetDefaultPolicyVersionRequest) Send() (*SetDefaultPolicyVersionOutput, error)
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 ¶
func (r SetLoggingOptionsRequest) Send() (*SetLoggingOptionsOutput, error)
Send marshals and sends the SetLoggingOptions 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) SetMessageFormat ¶
func (s *SnsAction) SetMessageFormat(v MessageFormat) *SnsAction
SetMessageFormat sets the MessageFormat field's value.
func (*SnsAction) SetRoleArn ¶
SetRoleArn sets the RoleArn field's value.
func (*SnsAction) SetTargetArn ¶
SetTargetArn sets the TargetArn field's value.
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) SetQueueUrl ¶
SetQueueUrl sets the QueueUrl field's value.
func (*SqsAction) SetRoleArn ¶
SetRoleArn sets the RoleArn field's value.
func (*SqsAction) SetUseBase64 ¶
SetUseBase64 sets the UseBase64 field's value.
type ThingAttribute ¶
type ThingAttribute struct { // A list of thing attributes which are name-value pairs. Attributes map[string]string `locationName:"attributes" type:"map"` // 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) 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 ThingTypeDefinition ¶
type ThingTypeDefinition struct { // 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) 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"` // 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) SetActions ¶
SetActions sets the Actions field's value.
func (*TopicRule) SetAwsIotSqlVersion ¶
SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value.
func (*TopicRule) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*TopicRule) SetDescription ¶
SetDescription sets the Description field's value.
func (*TopicRule) SetRuleDisabled ¶
SetRuleDisabled sets the RuleDisabled field's value.
func (*TopicRule) SetRuleName ¶
SetRuleName sets the RuleName field's value.
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"` // 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) SetRuleDisabled ¶
func (s *TopicRulePayload) SetRuleDisabled(v bool) *TopicRulePayload
SetRuleDisabled sets the RuleDisabled field's value.
func (*TopicRulePayload) SetSql ¶
func (s *TopicRulePayload) SetSql(v string) *TopicRulePayload
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 ¶
func (s *TransferCertificateInput) SetCertificateId(v string) *TransferCertificateInput
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 ¶
func (r TransferCertificateRequest) Send() (*TransferCertificateOutput, error)
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 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"` // 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 ¶
func (s *UpdateCACertificateInput) SetCertificateId(v string) *UpdateCACertificateInput
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 ¶
func (s *UpdateCACertificateInput) SetNewStatus(v CACertificateStatus) *UpdateCACertificateInput
SetNewStatus sets the NewStatus 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 ¶
func (r UpdateCACertificateRequest) Send() (*UpdateCACertificateOutput, error)
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 ¶
func (s *UpdateCertificateInput) SetNewStatus(v CertificateStatus) *UpdateCertificateInput
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 ¶
func (r UpdateCertificateRequest) Send() (*UpdateCertificateOutput, error)
Send marshals and sends the UpdateCertificate 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 assocation 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 ¶
func (r UpdateThingRequest) Send() (*UpdateThingOutput, error)
Send marshals and sends the UpdateThing API request.