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 devices (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.
For more information about how AWS IoT works, see the Developer Guide (https://docs.aws.amazon.com/iot/latest/developerguide/aws-iot-how-it-works.html).
For information about how to use the credentials provider for AWS IoT, see Authorizing Direct Calls to AWS Services (https://docs.aws.amazon.com/iot/latest/developerguide/authorizing-direct-aws.html).
See iot package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/iot/
Using the Client ¶
To 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 AbortAction
- type AbortConfig
- type AbortCriteria
- type AcceptCertificateTransferInput
- type AcceptCertificateTransferOutput
- type AcceptCertificateTransferRequest
- type Action
- type ActionType
- type ActiveViolation
- type AddThingToBillingGroupInput
- type AddThingToBillingGroupOutput
- type AddThingToBillingGroupRequest
- type AddThingToThingGroupInput
- type AddThingToThingGroupOutput
- type AddThingToThingGroupRequest
- type AlertTarget
- type AlertTargetType
- type Allowed
- type AssociateTargetsWithJobInput
- type AssociateTargetsWithJobOutput
- type AssociateTargetsWithJobRequest
- type AttachPolicyInput
- type AttachPolicyOutput
- type AttachPolicyRequest
- type AttachPrincipalPolicyInput
- type AttachPrincipalPolicyOutput
- type AttachPrincipalPolicyRequest
- type AttachSecurityProfileInput
- type AttachSecurityProfileOutput
- type AttachSecurityProfileRequest
- type AttachThingPrincipalInput
- type AttachThingPrincipalOutput
- type AttachThingPrincipalRequest
- type AttributePayload
- type AuditCheckConfiguration
- type AuditCheckDetails
- type AuditCheckRunStatus
- type AuditFinding
- type AuditFindingSeverity
- type AuditFrequency
- type AuditNotificationTarget
- type AuditNotificationType
- type AuditTaskMetadata
- type AuditTaskStatus
- type AuditTaskType
- type AuthDecision
- type AuthInfo
- type AuthResult
- type AuthorizerDescription
- type AuthorizerStatus
- type AuthorizerSummary
- type AutoRegistrationStatus
- type AwsJobExecutionsRolloutConfig
- type Behavior
- type BehaviorCriteria
- type BillingGroupMetadata
- type BillingGroupProperties
- type CACertificate
- type CACertificateDescription
- type CACertificateStatus
- type CancelAuditTaskInput
- type CancelAuditTaskOutput
- type CancelAuditTaskRequest
- type CancelCertificateTransferInput
- type CancelCertificateTransferOutput
- type CancelCertificateTransferRequest
- type CancelJobExecutionInput
- type CancelJobExecutionOutput
- type CancelJobExecutionRequest
- type CancelJobInput
- type CancelJobOutput
- type CancelJobRequest
- type CannedAccessControlList
- type Certificate
- type CertificateDescription
- type CertificateStatus
- type CertificateValidity
- type ClearDefaultAuthorizerInput
- type ClearDefaultAuthorizerOutput
- type ClearDefaultAuthorizerRequest
- type CloudwatchAlarmAction
- type CloudwatchMetricAction
- type CodeSigning
- type CodeSigningCertificateChain
- type CodeSigningSignature
- type ComparisonOperator
- type Configuration
- type CreateAuthorizerInput
- type CreateAuthorizerOutput
- type CreateAuthorizerRequest
- type CreateBillingGroupInput
- type CreateBillingGroupOutput
- type CreateBillingGroupRequest
- type CreateCertificateFromCsrInput
- type CreateCertificateFromCsrOutput
- type CreateCertificateFromCsrRequest
- type CreateDynamicThingGroupInput
- type CreateDynamicThingGroupOutput
- type CreateDynamicThingGroupRequest
- type CreateJobInput
- type CreateJobOutput
- type CreateJobRequest
- type CreateKeysAndCertificateInput
- type CreateKeysAndCertificateOutput
- type CreateKeysAndCertificateRequest
- type CreateOTAUpdateInput
- type CreateOTAUpdateOutput
- type CreateOTAUpdateRequest
- type CreatePolicyInput
- type CreatePolicyOutput
- type CreatePolicyRequest
- type CreatePolicyVersionInput
- type CreatePolicyVersionOutput
- type CreatePolicyVersionRequest
- type CreateRoleAliasInput
- type CreateRoleAliasOutput
- type CreateRoleAliasRequest
- type CreateScheduledAuditInput
- type CreateScheduledAuditOutput
- type CreateScheduledAuditRequest
- type CreateSecurityProfileInput
- type CreateSecurityProfileOutput
- type CreateSecurityProfileRequest
- type CreateStreamInput
- type CreateStreamOutput
- type CreateStreamRequest
- type CreateThingGroupInput
- type CreateThingGroupOutput
- type CreateThingGroupRequest
- type CreateThingInput
- type CreateThingOutput
- type CreateThingRequest
- type CreateThingTypeInput
- type CreateThingTypeOutput
- type CreateThingTypeRequest
- type CreateTopicRuleInput
- type CreateTopicRuleOutput
- type CreateTopicRuleRequest
- type CustomCodeSigning
- type DayOfWeek
- type DeleteAccountAuditConfigurationInput
- type DeleteAccountAuditConfigurationOutput
- func (s DeleteAccountAuditConfigurationOutput) GoString() string
- func (s DeleteAccountAuditConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteAccountAuditConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s DeleteAccountAuditConfigurationOutput) String() string
- type DeleteAccountAuditConfigurationRequest
- type DeleteAuthorizerInput
- type DeleteAuthorizerOutput
- type DeleteAuthorizerRequest
- type DeleteBillingGroupInput
- type DeleteBillingGroupOutput
- type DeleteBillingGroupRequest
- type DeleteCACertificateInput
- type DeleteCACertificateOutput
- type DeleteCACertificateRequest
- type DeleteCertificateInput
- type DeleteCertificateOutput
- type DeleteCertificateRequest
- type DeleteDynamicThingGroupInput
- type DeleteDynamicThingGroupOutput
- type DeleteDynamicThingGroupRequest
- type DeleteJobExecutionInput
- type DeleteJobExecutionOutput
- type DeleteJobExecutionRequest
- type DeleteJobInput
- type DeleteJobOutput
- type DeleteJobRequest
- type DeleteOTAUpdateInput
- type DeleteOTAUpdateOutput
- type DeleteOTAUpdateRequest
- type DeletePolicyInput
- type DeletePolicyOutput
- type DeletePolicyRequest
- type DeletePolicyVersionInput
- type DeletePolicyVersionOutput
- type DeletePolicyVersionRequest
- type DeleteRegistrationCodeInput
- type DeleteRegistrationCodeOutput
- type DeleteRegistrationCodeRequest
- type DeleteRoleAliasInput
- type DeleteRoleAliasOutput
- type DeleteRoleAliasRequest
- type DeleteScheduledAuditInput
- type DeleteScheduledAuditOutput
- type DeleteScheduledAuditRequest
- type DeleteSecurityProfileInput
- type DeleteSecurityProfileOutput
- type DeleteSecurityProfileRequest
- type DeleteStreamInput
- type DeleteStreamOutput
- type DeleteStreamRequest
- type DeleteThingGroupInput
- type DeleteThingGroupOutput
- type DeleteThingGroupRequest
- type DeleteThingInput
- type DeleteThingOutput
- type DeleteThingRequest
- type DeleteThingTypeInput
- type DeleteThingTypeOutput
- type DeleteThingTypeRequest
- type DeleteTopicRuleInput
- type DeleteTopicRuleOutput
- type DeleteTopicRuleRequest
- type DeleteV2LoggingLevelInput
- type DeleteV2LoggingLevelOutput
- type DeleteV2LoggingLevelRequest
- type Denied
- type DeprecateThingTypeInput
- type DeprecateThingTypeOutput
- type DeprecateThingTypeRequest
- type DescribeAccountAuditConfigurationInput
- type DescribeAccountAuditConfigurationOutput
- func (s DescribeAccountAuditConfigurationOutput) GoString() string
- func (s DescribeAccountAuditConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DescribeAccountAuditConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s DescribeAccountAuditConfigurationOutput) String() string
- type DescribeAccountAuditConfigurationRequest
- type DescribeAuditTaskInput
- type DescribeAuditTaskOutput
- type DescribeAuditTaskRequest
- type DescribeAuthorizerInput
- type DescribeAuthorizerOutput
- type DescribeAuthorizerRequest
- type DescribeBillingGroupInput
- type DescribeBillingGroupOutput
- type DescribeBillingGroupRequest
- type DescribeCACertificateInput
- type DescribeCACertificateOutput
- type DescribeCACertificateRequest
- type DescribeCertificateInput
- type DescribeCertificateOutput
- type DescribeCertificateRequest
- type DescribeDefaultAuthorizerInput
- type DescribeDefaultAuthorizerOutput
- type DescribeDefaultAuthorizerRequest
- type DescribeEndpointInput
- type DescribeEndpointOutput
- type DescribeEndpointRequest
- type DescribeEventConfigurationsInput
- type DescribeEventConfigurationsOutput
- type DescribeEventConfigurationsRequest
- type DescribeIndexInput
- type DescribeIndexOutput
- type DescribeIndexRequest
- type DescribeJobExecutionInput
- type DescribeJobExecutionOutput
- type DescribeJobExecutionRequest
- type DescribeJobInput
- type DescribeJobOutput
- type DescribeJobRequest
- type DescribeRoleAliasInput
- type DescribeRoleAliasOutput
- type DescribeRoleAliasRequest
- type DescribeScheduledAuditInput
- type DescribeScheduledAuditOutput
- type DescribeScheduledAuditRequest
- type DescribeSecurityProfileInput
- type DescribeSecurityProfileOutput
- type DescribeSecurityProfileRequest
- type DescribeStreamInput
- type DescribeStreamOutput
- type DescribeStreamRequest
- type DescribeThingGroupInput
- type DescribeThingGroupOutput
- type DescribeThingGroupRequest
- type DescribeThingInput
- type DescribeThingOutput
- type DescribeThingRegistrationTaskInput
- type DescribeThingRegistrationTaskOutput
- type DescribeThingRegistrationTaskRequest
- type DescribeThingRequest
- type DescribeThingTypeInput
- type DescribeThingTypeOutput
- type DescribeThingTypeRequest
- type Destination
- type DetachPolicyInput
- type DetachPolicyOutput
- type DetachPolicyRequest
- type DetachPrincipalPolicyInput
- type DetachPrincipalPolicyOutput
- type DetachPrincipalPolicyRequest
- type DetachSecurityProfileInput
- type DetachSecurityProfileOutput
- type DetachSecurityProfileRequest
- type DetachThingPrincipalInput
- type DetachThingPrincipalOutput
- type DetachThingPrincipalRequest
- type DisableTopicRuleInput
- type DisableTopicRuleOutput
- type DisableTopicRuleRequest
- type DynamicGroupStatus
- type DynamoDBAction
- type DynamoDBv2Action
- type DynamoKeyType
- type EffectivePolicy
- type ElasticsearchAction
- type EnableTopicRuleInput
- type EnableTopicRuleOutput
- type EnableTopicRuleRequest
- type ErrorInfo
- type EventType
- type ExplicitDeny
- type ExponentialRolloutRate
- type FileLocation
- type FirehoseAction
- type GetEffectivePoliciesInput
- type GetEffectivePoliciesOutput
- type GetEffectivePoliciesRequest
- type GetIndexingConfigurationInput
- type GetIndexingConfigurationOutput
- type GetIndexingConfigurationRequest
- type GetJobDocumentInput
- type GetJobDocumentOutput
- type GetJobDocumentRequest
- type GetLoggingOptionsInput
- type GetLoggingOptionsOutput
- type GetLoggingOptionsRequest
- type GetOTAUpdateInput
- type GetOTAUpdateOutput
- type GetOTAUpdateRequest
- type GetPolicyInput
- type GetPolicyOutput
- type GetPolicyRequest
- type GetPolicyVersionInput
- type GetPolicyVersionOutput
- type GetPolicyVersionRequest
- type GetRegistrationCodeInput
- type GetRegistrationCodeOutput
- type GetRegistrationCodeRequest
- type GetStatisticsInput
- type GetStatisticsOutput
- type GetStatisticsRequest
- type GetTopicRuleInput
- type GetTopicRuleOutput
- type GetTopicRuleRequest
- type GetV2LoggingOptionsInput
- type GetV2LoggingOptionsOutput
- type GetV2LoggingOptionsRequest
- type GroupNameAndArn
- type ImplicitDeny
- type IndexStatus
- type IoT
- func (c *IoT) AcceptCertificateTransferRequest(input *AcceptCertificateTransferInput) AcceptCertificateTransferRequest
- func (c *IoT) AddThingToBillingGroupRequest(input *AddThingToBillingGroupInput) AddThingToBillingGroupRequest
- func (c *IoT) AddThingToThingGroupRequest(input *AddThingToThingGroupInput) AddThingToThingGroupRequest
- func (c *IoT) AssociateTargetsWithJobRequest(input *AssociateTargetsWithJobInput) AssociateTargetsWithJobRequest
- func (c *IoT) AttachPolicyRequest(input *AttachPolicyInput) AttachPolicyRequest
- func (c *IoT) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) AttachPrincipalPolicyRequest
- func (c *IoT) AttachSecurityProfileRequest(input *AttachSecurityProfileInput) AttachSecurityProfileRequest
- func (c *IoT) AttachThingPrincipalRequest(input *AttachThingPrincipalInput) AttachThingPrincipalRequest
- func (c *IoT) CancelAuditTaskRequest(input *CancelAuditTaskInput) CancelAuditTaskRequest
- func (c *IoT) CancelCertificateTransferRequest(input *CancelCertificateTransferInput) CancelCertificateTransferRequest
- func (c *IoT) CancelJobExecutionRequest(input *CancelJobExecutionInput) CancelJobExecutionRequest
- func (c *IoT) CancelJobRequest(input *CancelJobInput) CancelJobRequest
- func (c *IoT) ClearDefaultAuthorizerRequest(input *ClearDefaultAuthorizerInput) ClearDefaultAuthorizerRequest
- func (c *IoT) CreateAuthorizerRequest(input *CreateAuthorizerInput) CreateAuthorizerRequest
- func (c *IoT) CreateBillingGroupRequest(input *CreateBillingGroupInput) CreateBillingGroupRequest
- func (c *IoT) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInput) CreateCertificateFromCsrRequest
- func (c *IoT) CreateDynamicThingGroupRequest(input *CreateDynamicThingGroupInput) CreateDynamicThingGroupRequest
- func (c *IoT) CreateJobRequest(input *CreateJobInput) CreateJobRequest
- func (c *IoT) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInput) CreateKeysAndCertificateRequest
- func (c *IoT) CreateOTAUpdateRequest(input *CreateOTAUpdateInput) CreateOTAUpdateRequest
- func (c *IoT) CreatePolicyRequest(input *CreatePolicyInput) CreatePolicyRequest
- func (c *IoT) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) CreatePolicyVersionRequest
- func (c *IoT) CreateRoleAliasRequest(input *CreateRoleAliasInput) CreateRoleAliasRequest
- func (c *IoT) CreateScheduledAuditRequest(input *CreateScheduledAuditInput) CreateScheduledAuditRequest
- func (c *IoT) CreateSecurityProfileRequest(input *CreateSecurityProfileInput) CreateSecurityProfileRequest
- func (c *IoT) CreateStreamRequest(input *CreateStreamInput) CreateStreamRequest
- func (c *IoT) CreateThingGroupRequest(input *CreateThingGroupInput) CreateThingGroupRequest
- func (c *IoT) CreateThingRequest(input *CreateThingInput) CreateThingRequest
- func (c *IoT) CreateThingTypeRequest(input *CreateThingTypeInput) CreateThingTypeRequest
- func (c *IoT) CreateTopicRuleRequest(input *CreateTopicRuleInput) CreateTopicRuleRequest
- func (c *IoT) DeleteAccountAuditConfigurationRequest(input *DeleteAccountAuditConfigurationInput) DeleteAccountAuditConfigurationRequest
- func (c *IoT) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) DeleteAuthorizerRequest
- func (c *IoT) DeleteBillingGroupRequest(input *DeleteBillingGroupInput) DeleteBillingGroupRequest
- func (c *IoT) DeleteCACertificateRequest(input *DeleteCACertificateInput) DeleteCACertificateRequest
- func (c *IoT) DeleteCertificateRequest(input *DeleteCertificateInput) DeleteCertificateRequest
- func (c *IoT) DeleteDynamicThingGroupRequest(input *DeleteDynamicThingGroupInput) DeleteDynamicThingGroupRequest
- func (c *IoT) DeleteJobExecutionRequest(input *DeleteJobExecutionInput) DeleteJobExecutionRequest
- func (c *IoT) DeleteJobRequest(input *DeleteJobInput) DeleteJobRequest
- func (c *IoT) DeleteOTAUpdateRequest(input *DeleteOTAUpdateInput) DeleteOTAUpdateRequest
- func (c *IoT) DeletePolicyRequest(input *DeletePolicyInput) DeletePolicyRequest
- func (c *IoT) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) DeletePolicyVersionRequest
- func (c *IoT) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) DeleteRegistrationCodeRequest
- func (c *IoT) DeleteRoleAliasRequest(input *DeleteRoleAliasInput) DeleteRoleAliasRequest
- func (c *IoT) DeleteScheduledAuditRequest(input *DeleteScheduledAuditInput) DeleteScheduledAuditRequest
- func (c *IoT) DeleteSecurityProfileRequest(input *DeleteSecurityProfileInput) DeleteSecurityProfileRequest
- func (c *IoT) DeleteStreamRequest(input *DeleteStreamInput) DeleteStreamRequest
- func (c *IoT) DeleteThingGroupRequest(input *DeleteThingGroupInput) DeleteThingGroupRequest
- func (c *IoT) DeleteThingRequest(input *DeleteThingInput) DeleteThingRequest
- func (c *IoT) DeleteThingTypeRequest(input *DeleteThingTypeInput) DeleteThingTypeRequest
- func (c *IoT) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) DeleteTopicRuleRequest
- func (c *IoT) DeleteV2LoggingLevelRequest(input *DeleteV2LoggingLevelInput) DeleteV2LoggingLevelRequest
- func (c *IoT) DeprecateThingTypeRequest(input *DeprecateThingTypeInput) DeprecateThingTypeRequest
- func (c *IoT) DescribeAccountAuditConfigurationRequest(input *DescribeAccountAuditConfigurationInput) DescribeAccountAuditConfigurationRequest
- func (c *IoT) DescribeAuditTaskRequest(input *DescribeAuditTaskInput) DescribeAuditTaskRequest
- func (c *IoT) DescribeAuthorizerRequest(input *DescribeAuthorizerInput) DescribeAuthorizerRequest
- func (c *IoT) DescribeBillingGroupRequest(input *DescribeBillingGroupInput) DescribeBillingGroupRequest
- func (c *IoT) DescribeCACertificateRequest(input *DescribeCACertificateInput) DescribeCACertificateRequest
- func (c *IoT) DescribeCertificateRequest(input *DescribeCertificateInput) DescribeCertificateRequest
- func (c *IoT) DescribeDefaultAuthorizerRequest(input *DescribeDefaultAuthorizerInput) DescribeDefaultAuthorizerRequest
- func (c *IoT) DescribeEndpointRequest(input *DescribeEndpointInput) DescribeEndpointRequest
- func (c *IoT) DescribeEventConfigurationsRequest(input *DescribeEventConfigurationsInput) DescribeEventConfigurationsRequest
- func (c *IoT) DescribeIndexRequest(input *DescribeIndexInput) DescribeIndexRequest
- func (c *IoT) DescribeJobExecutionRequest(input *DescribeJobExecutionInput) DescribeJobExecutionRequest
- func (c *IoT) DescribeJobRequest(input *DescribeJobInput) DescribeJobRequest
- func (c *IoT) DescribeRoleAliasRequest(input *DescribeRoleAliasInput) DescribeRoleAliasRequest
- func (c *IoT) DescribeScheduledAuditRequest(input *DescribeScheduledAuditInput) DescribeScheduledAuditRequest
- func (c *IoT) DescribeSecurityProfileRequest(input *DescribeSecurityProfileInput) DescribeSecurityProfileRequest
- func (c *IoT) DescribeStreamRequest(input *DescribeStreamInput) DescribeStreamRequest
- func (c *IoT) DescribeThingGroupRequest(input *DescribeThingGroupInput) DescribeThingGroupRequest
- func (c *IoT) DescribeThingRegistrationTaskRequest(input *DescribeThingRegistrationTaskInput) DescribeThingRegistrationTaskRequest
- func (c *IoT) DescribeThingRequest(input *DescribeThingInput) DescribeThingRequest
- func (c *IoT) DescribeThingTypeRequest(input *DescribeThingTypeInput) DescribeThingTypeRequest
- func (c *IoT) DetachPolicyRequest(input *DetachPolicyInput) DetachPolicyRequest
- func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) DetachPrincipalPolicyRequest
- func (c *IoT) DetachSecurityProfileRequest(input *DetachSecurityProfileInput) DetachSecurityProfileRequest
- func (c *IoT) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) DetachThingPrincipalRequest
- func (c *IoT) DisableTopicRuleRequest(input *DisableTopicRuleInput) DisableTopicRuleRequest
- func (c *IoT) EnableTopicRuleRequest(input *EnableTopicRuleInput) EnableTopicRuleRequest
- func (c *IoT) GetEffectivePoliciesRequest(input *GetEffectivePoliciesInput) GetEffectivePoliciesRequest
- func (c *IoT) GetIndexingConfigurationRequest(input *GetIndexingConfigurationInput) GetIndexingConfigurationRequest
- func (c *IoT) GetJobDocumentRequest(input *GetJobDocumentInput) GetJobDocumentRequest
- func (c *IoT) GetLoggingOptionsRequest(input *GetLoggingOptionsInput) GetLoggingOptionsRequest
- func (c *IoT) GetOTAUpdateRequest(input *GetOTAUpdateInput) GetOTAUpdateRequest
- func (c *IoT) GetPolicyRequest(input *GetPolicyInput) GetPolicyRequest
- func (c *IoT) GetPolicyVersionRequest(input *GetPolicyVersionInput) GetPolicyVersionRequest
- func (c *IoT) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) GetRegistrationCodeRequest
- func (c *IoT) GetStatisticsRequest(input *GetStatisticsInput) GetStatisticsRequest
- func (c *IoT) GetTopicRuleRequest(input *GetTopicRuleInput) GetTopicRuleRequest
- func (c *IoT) GetV2LoggingOptionsRequest(input *GetV2LoggingOptionsInput) GetV2LoggingOptionsRequest
- func (c *IoT) ListActiveViolationsRequest(input *ListActiveViolationsInput) ListActiveViolationsRequest
- func (c *IoT) ListAttachedPoliciesRequest(input *ListAttachedPoliciesInput) ListAttachedPoliciesRequest
- func (c *IoT) ListAuditFindingsRequest(input *ListAuditFindingsInput) ListAuditFindingsRequest
- func (c *IoT) ListAuditTasksRequest(input *ListAuditTasksInput) ListAuditTasksRequest
- func (c *IoT) ListAuthorizersRequest(input *ListAuthorizersInput) ListAuthorizersRequest
- func (c *IoT) ListBillingGroupsRequest(input *ListBillingGroupsInput) ListBillingGroupsRequest
- func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) ListCACertificatesRequest
- func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) ListCertificatesByCARequest
- func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) ListCertificatesRequest
- func (c *IoT) ListIndicesRequest(input *ListIndicesInput) ListIndicesRequest
- func (c *IoT) ListJobExecutionsForJobRequest(input *ListJobExecutionsForJobInput) ListJobExecutionsForJobRequest
- func (c *IoT) ListJobExecutionsForThingRequest(input *ListJobExecutionsForThingInput) ListJobExecutionsForThingRequest
- func (c *IoT) ListJobsRequest(input *ListJobsInput) ListJobsRequest
- func (c *IoT) ListOTAUpdatesRequest(input *ListOTAUpdatesInput) ListOTAUpdatesRequest
- 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) ListRoleAliasesRequest(input *ListRoleAliasesInput) ListRoleAliasesRequest
- func (c *IoT) ListScheduledAuditsRequest(input *ListScheduledAuditsInput) ListScheduledAuditsRequest
- func (c *IoT) ListSecurityProfilesForTargetRequest(input *ListSecurityProfilesForTargetInput) ListSecurityProfilesForTargetRequest
- func (c *IoT) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) ListSecurityProfilesRequest
- func (c *IoT) ListStreamsRequest(input *ListStreamsInput) ListStreamsRequest
- func (c *IoT) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *IoT) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) ListTargetsForPolicyRequest
- func (c *IoT) ListTargetsForSecurityProfileRequest(input *ListTargetsForSecurityProfileInput) ListTargetsForSecurityProfileRequest
- func (c *IoT) ListThingGroupsForThingRequest(input *ListThingGroupsForThingInput) ListThingGroupsForThingRequest
- func (c *IoT) ListThingGroupsRequest(input *ListThingGroupsInput) ListThingGroupsRequest
- func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) ListThingPrincipalsRequest
- func (c *IoT) ListThingRegistrationTaskReportsRequest(input *ListThingRegistrationTaskReportsInput) ListThingRegistrationTaskReportsRequest
- func (c *IoT) ListThingRegistrationTasksRequest(input *ListThingRegistrationTasksInput) ListThingRegistrationTasksRequest
- func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) ListThingTypesRequest
- func (c *IoT) ListThingsInBillingGroupRequest(input *ListThingsInBillingGroupInput) ListThingsInBillingGroupRequest
- func (c *IoT) ListThingsInThingGroupRequest(input *ListThingsInThingGroupInput) ListThingsInThingGroupRequest
- func (c *IoT) ListThingsRequest(input *ListThingsInput) ListThingsRequest
- func (c *IoT) ListTopicRulesRequest(input *ListTopicRulesInput) ListTopicRulesRequest
- func (c *IoT) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) ListV2LoggingLevelsRequest
- func (c *IoT) ListViolationEventsRequest(input *ListViolationEventsInput) ListViolationEventsRequest
- func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) RegisterCACertificateRequest
- func (c *IoT) RegisterCertificateRequest(input *RegisterCertificateInput) RegisterCertificateRequest
- func (c *IoT) RegisterThingRequest(input *RegisterThingInput) RegisterThingRequest
- func (c *IoT) RejectCertificateTransferRequest(input *RejectCertificateTransferInput) RejectCertificateTransferRequest
- func (c *IoT) RemoveThingFromBillingGroupRequest(input *RemoveThingFromBillingGroupInput) RemoveThingFromBillingGroupRequest
- func (c *IoT) RemoveThingFromThingGroupRequest(input *RemoveThingFromThingGroupInput) RemoveThingFromThingGroupRequest
- func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) ReplaceTopicRuleRequest
- func (c *IoT) SearchIndexRequest(input *SearchIndexInput) SearchIndexRequest
- func (c *IoT) SetDefaultAuthorizerRequest(input *SetDefaultAuthorizerInput) SetDefaultAuthorizerRequest
- func (c *IoT) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) SetDefaultPolicyVersionRequest
- func (c *IoT) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) SetLoggingOptionsRequest
- func (c *IoT) SetV2LoggingLevelRequest(input *SetV2LoggingLevelInput) SetV2LoggingLevelRequest
- func (c *IoT) SetV2LoggingOptionsRequest(input *SetV2LoggingOptionsInput) SetV2LoggingOptionsRequest
- func (c *IoT) StartOnDemandAuditTaskRequest(input *StartOnDemandAuditTaskInput) StartOnDemandAuditTaskRequest
- func (c *IoT) StartThingRegistrationTaskRequest(input *StartThingRegistrationTaskInput) StartThingRegistrationTaskRequest
- func (c *IoT) StopThingRegistrationTaskRequest(input *StopThingRegistrationTaskInput) StopThingRegistrationTaskRequest
- func (c *IoT) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *IoT) TestAuthorizationRequest(input *TestAuthorizationInput) TestAuthorizationRequest
- func (c *IoT) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) TestInvokeAuthorizerRequest
- func (c *IoT) TransferCertificateRequest(input *TransferCertificateInput) TransferCertificateRequest
- func (c *IoT) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *IoT) UpdateAccountAuditConfigurationRequest(input *UpdateAccountAuditConfigurationInput) UpdateAccountAuditConfigurationRequest
- func (c *IoT) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) UpdateAuthorizerRequest
- func (c *IoT) UpdateBillingGroupRequest(input *UpdateBillingGroupInput) UpdateBillingGroupRequest
- func (c *IoT) UpdateCACertificateRequest(input *UpdateCACertificateInput) UpdateCACertificateRequest
- func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) UpdateCertificateRequest
- func (c *IoT) UpdateDynamicThingGroupRequest(input *UpdateDynamicThingGroupInput) UpdateDynamicThingGroupRequest
- func (c *IoT) UpdateEventConfigurationsRequest(input *UpdateEventConfigurationsInput) UpdateEventConfigurationsRequest
- func (c *IoT) UpdateIndexingConfigurationRequest(input *UpdateIndexingConfigurationInput) UpdateIndexingConfigurationRequest
- func (c *IoT) UpdateJobRequest(input *UpdateJobInput) UpdateJobRequest
- func (c *IoT) UpdateRoleAliasRequest(input *UpdateRoleAliasInput) UpdateRoleAliasRequest
- func (c *IoT) UpdateScheduledAuditRequest(input *UpdateScheduledAuditInput) UpdateScheduledAuditRequest
- func (c *IoT) UpdateSecurityProfileRequest(input *UpdateSecurityProfileInput) UpdateSecurityProfileRequest
- func (c *IoT) UpdateStreamRequest(input *UpdateStreamInput) UpdateStreamRequest
- func (c *IoT) UpdateThingGroupRequest(input *UpdateThingGroupInput) UpdateThingGroupRequest
- func (c *IoT) UpdateThingGroupsForThingRequest(input *UpdateThingGroupsForThingInput) UpdateThingGroupsForThingRequest
- func (c *IoT) UpdateThingRequest(input *UpdateThingInput) UpdateThingRequest
- func (c *IoT) ValidateSecurityProfileBehaviorsRequest(input *ValidateSecurityProfileBehaviorsInput) ValidateSecurityProfileBehaviorsRequest
- type IotAnalyticsAction
- type IotEventsAction
- type Job
- type JobExecution
- type JobExecutionFailureType
- type JobExecutionStatus
- type JobExecutionStatusDetails
- type JobExecutionSummary
- type JobExecutionSummaryForJob
- type JobExecutionSummaryForThing
- type JobExecutionsRolloutConfig
- type JobProcessDetails
- type JobStatus
- type JobSummary
- type KeyPair
- type KinesisAction
- type LambdaAction
- type ListActiveViolationsInput
- type ListActiveViolationsOutput
- type ListActiveViolationsRequest
- type ListAttachedPoliciesInput
- type ListAttachedPoliciesOutput
- type ListAttachedPoliciesRequest
- type ListAuditFindingsInput
- type ListAuditFindingsOutput
- type ListAuditFindingsRequest
- type ListAuditTasksInput
- type ListAuditTasksOutput
- type ListAuditTasksRequest
- type ListAuthorizersInput
- type ListAuthorizersOutput
- type ListAuthorizersRequest
- type ListBillingGroupsInput
- type ListBillingGroupsOutput
- type ListBillingGroupsRequest
- type ListCACertificatesInput
- type ListCACertificatesOutput
- type ListCACertificatesRequest
- type ListCertificatesByCAInput
- type ListCertificatesByCAOutput
- type ListCertificatesByCARequest
- type ListCertificatesInput
- type ListCertificatesOutput
- type ListCertificatesRequest
- type ListIndicesInput
- type ListIndicesOutput
- type ListIndicesRequest
- type ListJobExecutionsForJobInput
- type ListJobExecutionsForJobOutput
- type ListJobExecutionsForJobRequest
- type ListJobExecutionsForThingInput
- type ListJobExecutionsForThingOutput
- type ListJobExecutionsForThingRequest
- type ListJobsInput
- type ListJobsOutput
- type ListJobsRequest
- type ListOTAUpdatesInput
- type ListOTAUpdatesOutput
- type ListOTAUpdatesRequest
- type ListOutgoingCertificatesInput
- type ListOutgoingCertificatesOutput
- type ListOutgoingCertificatesRequest
- type ListPoliciesInput
- type ListPoliciesOutput
- type ListPoliciesRequest
- type ListPolicyPrincipalsInput
- type ListPolicyPrincipalsOutput
- type ListPolicyPrincipalsRequest
- type ListPolicyVersionsInput
- type ListPolicyVersionsOutput
- type ListPolicyVersionsRequest
- type ListPrincipalPoliciesInput
- type ListPrincipalPoliciesOutput
- type ListPrincipalPoliciesRequest
- type ListPrincipalThingsInput
- type ListPrincipalThingsOutput
- type ListPrincipalThingsRequest
- type ListRoleAliasesInput
- type ListRoleAliasesOutput
- type ListRoleAliasesRequest
- type ListScheduledAuditsInput
- type ListScheduledAuditsOutput
- type ListScheduledAuditsRequest
- type ListSecurityProfilesForTargetInput
- type ListSecurityProfilesForTargetOutput
- type ListSecurityProfilesForTargetRequest
- type ListSecurityProfilesInput
- type ListSecurityProfilesOutput
- type ListSecurityProfilesRequest
- type ListStreamsInput
- type ListStreamsOutput
- type ListStreamsRequest
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ListTargetsForPolicyInput
- type ListTargetsForPolicyOutput
- type ListTargetsForPolicyRequest
- type ListTargetsForSecurityProfileInput
- type ListTargetsForSecurityProfileOutput
- type ListTargetsForSecurityProfileRequest
- type ListThingGroupsForThingInput
- type ListThingGroupsForThingOutput
- type ListThingGroupsForThingRequest
- type ListThingGroupsInput
- type ListThingGroupsOutput
- type ListThingGroupsRequest
- type ListThingPrincipalsInput
- type ListThingPrincipalsOutput
- type ListThingPrincipalsRequest
- type ListThingRegistrationTaskReportsInput
- type ListThingRegistrationTaskReportsOutput
- func (s ListThingRegistrationTaskReportsOutput) GoString() string
- func (s ListThingRegistrationTaskReportsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListThingRegistrationTaskReportsOutput) SDKResponseMetadata() aws.Response
- func (s ListThingRegistrationTaskReportsOutput) String() string
- type ListThingRegistrationTaskReportsRequest
- type ListThingRegistrationTasksInput
- type ListThingRegistrationTasksOutput
- type ListThingRegistrationTasksRequest
- type ListThingTypesInput
- type ListThingTypesOutput
- type ListThingTypesRequest
- type ListThingsInBillingGroupInput
- type ListThingsInBillingGroupOutput
- type ListThingsInBillingGroupRequest
- type ListThingsInThingGroupInput
- type ListThingsInThingGroupOutput
- type ListThingsInThingGroupRequest
- type ListThingsInput
- type ListThingsOutput
- type ListThingsRequest
- type ListTopicRulesInput
- type ListTopicRulesOutput
- type ListTopicRulesRequest
- type ListV2LoggingLevelsInput
- type ListV2LoggingLevelsOutput
- type ListV2LoggingLevelsRequest
- type ListViolationEventsInput
- type ListViolationEventsOutput
- type ListViolationEventsRequest
- type LogLevel
- type LogTarget
- type LogTargetConfiguration
- type LogTargetType
- type LoggingOptionsPayload
- type MessageFormat
- type MetricValue
- type NonCompliantResource
- type OTAUpdateFile
- type OTAUpdateInfo
- type OTAUpdateStatus
- type OTAUpdateSummary
- type OutgoingCertificate
- type Policy
- type PolicyVersion
- type PolicyVersionIdentifier
- type PresignedUrlConfig
- type PutItemInput
- type RateIncreaseCriteria
- type RegisterCACertificateInput
- type RegisterCACertificateOutput
- type RegisterCACertificateRequest
- type RegisterCertificateInput
- type RegisterCertificateOutput
- type RegisterCertificateRequest
- type RegisterThingInput
- type RegisterThingOutput
- type RegisterThingRequest
- type RegistrationConfig
- type RejectCertificateTransferInput
- type RejectCertificateTransferOutput
- type RejectCertificateTransferRequest
- type RelatedResource
- type RemoveThingFromBillingGroupInput
- type RemoveThingFromBillingGroupOutput
- type RemoveThingFromBillingGroupRequest
- type RemoveThingFromThingGroupInput
- type RemoveThingFromThingGroupOutput
- type RemoveThingFromThingGroupRequest
- type ReplaceTopicRuleInput
- type ReplaceTopicRuleOutput
- type ReplaceTopicRuleRequest
- type ReportType
- type RepublishAction
- type ResourceIdentifier
- type ResourceType
- type RoleAliasDescription
- type S3Action
- type S3Destination
- type S3Location
- type SalesforceAction
- type ScheduledAuditMetadata
- type SearchIndexInput
- type SearchIndexOutput
- type SearchIndexRequest
- type SecurityProfileIdentifier
- type SecurityProfileTarget
- type SecurityProfileTargetMapping
- type SetDefaultAuthorizerInput
- type SetDefaultAuthorizerOutput
- type SetDefaultAuthorizerRequest
- type SetDefaultPolicyVersionInput
- type SetDefaultPolicyVersionOutput
- type SetDefaultPolicyVersionRequest
- type SetLoggingOptionsInput
- type SetLoggingOptionsOutput
- type SetLoggingOptionsRequest
- type SetV2LoggingLevelInput
- type SetV2LoggingLevelOutput
- type SetV2LoggingLevelRequest
- type SetV2LoggingOptionsInput
- type SetV2LoggingOptionsOutput
- type SetV2LoggingOptionsRequest
- type SigningProfileParameter
- type SnsAction
- type SqsAction
- type StartOnDemandAuditTaskInput
- type StartOnDemandAuditTaskOutput
- type StartOnDemandAuditTaskRequest
- type StartSigningJobParameter
- type StartThingRegistrationTaskInput
- type StartThingRegistrationTaskOutput
- type StartThingRegistrationTaskRequest
- type StatisticalThreshold
- type Statistics
- type Status
- type StepFunctionsAction
- type StopThingRegistrationTaskInput
- type StopThingRegistrationTaskOutput
- type StopThingRegistrationTaskRequest
- type Stream
- type StreamFile
- type StreamInfo
- type StreamSummary
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TargetSelection
- type TaskStatistics
- type TestAuthorizationInput
- type TestAuthorizationOutput
- type TestAuthorizationRequest
- type TestInvokeAuthorizerInput
- type TestInvokeAuthorizerOutput
- type TestInvokeAuthorizerRequest
- type ThingAttribute
- type ThingConnectivity
- type ThingConnectivityIndexingMode
- type ThingDocument
- type ThingGroupDocument
- type ThingGroupIndexingConfiguration
- type ThingGroupIndexingMode
- type ThingGroupMetadata
- type ThingGroupProperties
- type ThingIndexingConfiguration
- type ThingIndexingMode
- type ThingTypeDefinition
- type ThingTypeMetadata
- type ThingTypeProperties
- type TimeoutConfig
- type TopicRule
- type TopicRuleListItem
- type TopicRulePayload
- type TransferCertificateInput
- type TransferCertificateOutput
- type TransferCertificateRequest
- type TransferData
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UpdateAccountAuditConfigurationInput
- type UpdateAccountAuditConfigurationOutput
- func (s UpdateAccountAuditConfigurationOutput) GoString() string
- func (s UpdateAccountAuditConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateAccountAuditConfigurationOutput) SDKResponseMetadata() aws.Response
- func (s UpdateAccountAuditConfigurationOutput) String() string
- type UpdateAccountAuditConfigurationRequest
- type UpdateAuthorizerInput
- type UpdateAuthorizerOutput
- type UpdateAuthorizerRequest
- type UpdateBillingGroupInput
- type UpdateBillingGroupOutput
- type UpdateBillingGroupRequest
- type UpdateCACertificateInput
- type UpdateCACertificateOutput
- type UpdateCACertificateRequest
- type UpdateCertificateInput
- type UpdateCertificateOutput
- type UpdateCertificateRequest
- type UpdateDynamicThingGroupInput
- type UpdateDynamicThingGroupOutput
- type UpdateDynamicThingGroupRequest
- type UpdateEventConfigurationsInput
- type UpdateEventConfigurationsOutput
- type UpdateEventConfigurationsRequest
- type UpdateIndexingConfigurationInput
- type UpdateIndexingConfigurationOutput
- type UpdateIndexingConfigurationRequest
- type UpdateJobInput
- type UpdateJobOutput
- type UpdateJobRequest
- type UpdateRoleAliasInput
- type UpdateRoleAliasOutput
- type UpdateRoleAliasRequest
- type UpdateScheduledAuditInput
- type UpdateScheduledAuditOutput
- type UpdateScheduledAuditRequest
- type UpdateSecurityProfileInput
- type UpdateSecurityProfileOutput
- type UpdateSecurityProfileRequest
- type UpdateStreamInput
- type UpdateStreamOutput
- type UpdateStreamRequest
- type UpdateThingGroupInput
- type UpdateThingGroupOutput
- type UpdateThingGroupRequest
- type UpdateThingGroupsForThingInput
- type UpdateThingGroupsForThingOutput
- type UpdateThingGroupsForThingRequest
- type UpdateThingInput
- type UpdateThingOutput
- type UpdateThingRequest
- type ValidateSecurityProfileBehaviorsInput
- type ValidateSecurityProfileBehaviorsOutput
- func (s ValidateSecurityProfileBehaviorsOutput) GoString() string
- func (s ValidateSecurityProfileBehaviorsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ValidateSecurityProfileBehaviorsOutput) SDKResponseMetadata() aws.Response
- func (s ValidateSecurityProfileBehaviorsOutput) String() string
- type ValidateSecurityProfileBehaviorsRequest
- type ValidationError
- type ViolationEvent
- type ViolationEventType
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" // ErrCodeConflictingResourceUpdateException for service response error code // "ConflictingResourceUpdateException". // // A conflicting resource update exception. This exception is thrown when two // pending updates cause a conflict. ErrCodeConflictingResourceUpdateException = "ConflictingResourceUpdateException" // ErrCodeDeleteConflictException for service response error code // "DeleteConflictException". // // You can't delete the resource because it is attached to one or more resources. ErrCodeDeleteConflictException = "DeleteConflictException" // ErrCodeIndexNotReadyException for service response error code // "IndexNotReadyException". // // The index is not ready. ErrCodeIndexNotReadyException = "IndexNotReadyException" // ErrCodeInternalException for service response error code // "InternalException". // // An unexpected error has occurred. ErrCodeInternalException = "InternalException" // ErrCodeInternalFailureException for service response error code // "InternalFailureException". // // An unexpected error has occurred. ErrCodeInternalFailureException = "InternalFailureException" // ErrCodeInvalidAggregationException for service response error code // "InvalidAggregationException". // // The aggregation is invalid. ErrCodeInvalidAggregationException = "InvalidAggregationException" // ErrCodeInvalidQueryException for service response error code // "InvalidQueryException". // // The query is invalid. ErrCodeInvalidQueryException = "InvalidQueryException" // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // The request is not valid. ErrCodeInvalidRequestException = "InvalidRequestException" // ErrCodeInvalidResponseException for service response error code // "InvalidResponseException". // // The response is invalid. ErrCodeInvalidResponseException = "InvalidResponseException" // ErrCodeInvalidStateTransitionException for service response error code // "InvalidStateTransitionException". // // An attempt was made to change to an invalid state, for example by deleting // a job or a job execution which is "IN_PROGRESS" without setting the force // parameter. ErrCodeInvalidStateTransitionException = "InvalidStateTransitionException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // A limit has been exceeded. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeMalformedPolicyException for service response error code // "MalformedPolicyException". // // The policy documentation is not valid. ErrCodeMalformedPolicyException = "MalformedPolicyException" // ErrCodeNotConfiguredException for service response error code // "NotConfiguredException". // // The resource is not configured. ErrCodeNotConfiguredException = "NotConfiguredException" // ErrCodeRegistrationCodeValidationException for service response error code // "RegistrationCodeValidationException". // // The registration code is invalid. ErrCodeRegistrationCodeValidationException = "RegistrationCodeValidationException" // ErrCodeResourceAlreadyExistsException for service response error code // "ResourceAlreadyExistsException". // // The resource already exists. ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified resource does not exist. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeResourceRegistrationFailureException for service response error code // "ResourceRegistrationFailureException". // // The resource registration failed. ErrCodeResourceRegistrationFailureException = "ResourceRegistrationFailureException" // "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 an entity specified with the expectedVersion // parameter does not match the latest version in the system. ErrCodeVersionConflictException = "VersionConflictException" // ErrCodeVersionsLimitExceededException for service response error code // "VersionsLimitExceededException". // // The number of policy versions exceeds the limit. ErrCodeVersionsLimitExceededException = "VersionsLimitExceededException" )
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 AbortAction ¶ added in v0.6.0
type AbortAction string
const (
AbortActionCancel AbortAction = "CANCEL"
)
Enum values for AbortAction
func (AbortAction) MarshalValue ¶ added in v0.6.0
func (enum AbortAction) MarshalValue() (string, error)
func (AbortAction) MarshalValueBuf ¶ added in v0.6.0
func (enum AbortAction) MarshalValueBuf(b []byte) ([]byte, error)
type AbortConfig ¶ added in v0.6.0
type AbortConfig struct { // The list of abort criteria to define rules to abort the job. // // CriteriaList is a required field CriteriaList []AbortCriteria `locationName:"criteriaList" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Details of abort criteria to abort the job.
func (AbortConfig) GoString ¶ added in v0.6.0
func (s AbortConfig) GoString() string
GoString returns the string representation
func (AbortConfig) MarshalFields ¶ added in v0.6.0
func (s AbortConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AbortConfig) String ¶ added in v0.6.0
func (s AbortConfig) String() string
String returns the string representation
func (*AbortConfig) Validate ¶ added in v0.6.0
func (s *AbortConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AbortCriteria ¶ added in v0.6.0
type AbortCriteria struct { // The type of abort action to initiate a job abort. // // Action is a required field Action AbortAction `locationName:"action" type:"string" required:"true" enum:"true"` // The type of job execution failure to define a rule to initiate a job abort. // // FailureType is a required field FailureType JobExecutionFailureType `locationName:"failureType" type:"string" required:"true" enum:"true"` // Minimum number of executed things before evaluating an abort rule. // // MinNumberOfExecutedThings is a required field MinNumberOfExecutedThings *int64 `locationName:"minNumberOfExecutedThings" min:"1" type:"integer" required:"true"` // The threshold as a percentage of the total number of executed things that // will initiate a job abort. // // AWS IoT supports up to two digits after the decimal (for example, 10.9 and // 10.99, but not 10.999). // // ThresholdPercentage is a required field ThresholdPercentage *float64 `locationName:"thresholdPercentage" type:"double" required:"true"` // contains filtered or unexported fields }
Details of abort criteria to define rules to abort the job.
func (AbortCriteria) GoString ¶ added in v0.6.0
func (s AbortCriteria) GoString() string
GoString returns the string representation
func (AbortCriteria) MarshalFields ¶ added in v0.6.0
func (s AbortCriteria) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AbortCriteria) String ¶ added in v0.6.0
func (s AbortCriteria) String() string
String returns the string representation
func (*AbortCriteria) Validate ¶ added in v0.6.0
func (s *AbortCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptCertificateTransferInput ¶
type AcceptCertificateTransferInput struct { // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // Specifies whether the certificate is active. SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` // contains filtered or unexported fields }
The input for the AcceptCertificateTransfer operation.
func (AcceptCertificateTransferInput) GoString ¶
func (s AcceptCertificateTransferInput) GoString() string
GoString returns the string representation
func (AcceptCertificateTransferInput) MarshalFields ¶ added in v0.3.0
func (s AcceptCertificateTransferInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s AcceptCertificateTransferOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*AcceptCertificateTransferInput) AcceptCertificateTransferRequest }
AcceptCertificateTransferRequest is a API request type for the AcceptCertificateTransfer API operation.
func (AcceptCertificateTransferRequest) Send ¶
func (r AcceptCertificateTransferRequest) Send(ctx context.Context) (*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"` // Sends message data to an AWS IoT Analytics channel. IotAnalytics *IotAnalyticsAction `locationName:"iotAnalytics" type:"structure"` // Sends an input to an AWS IoT Events detector. IotEvents *IotEventsAction `locationName:"iotEvents" type:"structure"` // Write data to an Amazon Kinesis stream. Kinesis *KinesisAction `locationName:"kinesis" type:"structure"` // Invoke a Lambda function. Lambda *LambdaAction `locationName:"lambda" type:"structure"` // Publish to another MQTT topic. Republish *RepublishAction `locationName:"republish" type:"structure"` // Write to an Amazon S3 bucket. S3 *S3Action `locationName:"s3" type:"structure"` // Send a message to a Salesforce IoT Cloud Input Stream. Salesforce *SalesforceAction `locationName:"salesforce" type:"structure"` // Publish to an Amazon SNS topic. Sns *SnsAction `locationName:"sns" type:"structure"` // Publish to an Amazon SQS queue. Sqs *SqsAction `locationName:"sqs" type:"structure"` // Starts execution of a Step Functions state machine. StepFunctions *StepFunctionsAction `locationName:"stepFunctions" type:"structure"` // contains filtered or unexported fields }
Describes the actions associated with a rule.
func (Action) MarshalFields ¶ added in v0.3.0
func (s Action) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type ActionType ¶ added in v0.2.0
type ActionType string
const ( ActionTypePublish ActionType = "PUBLISH" ActionTypeSubscribe ActionType = "SUBSCRIBE" ActionTypeReceive ActionType = "RECEIVE" ActionTypeConnect ActionType = "CONNECT" )
Enum values for ActionType
func (ActionType) MarshalValue ¶ added in v0.3.0
func (enum ActionType) MarshalValue() (string, error)
func (ActionType) MarshalValueBuf ¶ added in v0.3.0
func (enum ActionType) MarshalValueBuf(b []byte) ([]byte, error)
type ActiveViolation ¶ added in v0.5.0
type ActiveViolation struct { // The behavior which is being violated. Behavior *Behavior `locationName:"behavior" type:"structure"` // The time the most recent violation occurred. LastViolationTime *time.Time `locationName:"lastViolationTime" type:"timestamp" timestampFormat:"unix"` // The value of the metric (the measurement) which caused the most recent violation. LastViolationValue *MetricValue `locationName:"lastViolationValue" type:"structure"` // The security profile whose behavior is in violation. SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"` // The name of the thing responsible for the active violation. ThingName *string `locationName:"thingName" min:"1" type:"string"` // The ID of the active violation. ViolationId *string `locationName:"violationId" min:"1" type:"string"` // The time the violation started. ViolationStartTime *time.Time `locationName:"violationStartTime" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Information about an active Device Defender security profile behavior violation.
func (ActiveViolation) GoString ¶ added in v0.5.0
func (s ActiveViolation) GoString() string
GoString returns the string representation
func (ActiveViolation) MarshalFields ¶ added in v0.5.0
func (s ActiveViolation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ActiveViolation) String ¶ added in v0.5.0
func (s ActiveViolation) String() string
String returns the string representation
type AddThingToBillingGroupInput ¶ added in v0.6.0
type AddThingToBillingGroupInput struct { // The ARN of the billing group. BillingGroupArn *string `locationName:"billingGroupArn" type:"string"` // The name of the billing group. BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"` // The ARN of the thing to be added to the billing group. ThingArn *string `locationName:"thingArn" type:"string"` // The name of the thing to be added to the billing group. ThingName *string `locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (AddThingToBillingGroupInput) GoString ¶ added in v0.6.0
func (s AddThingToBillingGroupInput) GoString() string
GoString returns the string representation
func (AddThingToBillingGroupInput) MarshalFields ¶ added in v0.6.0
func (s AddThingToBillingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AddThingToBillingGroupInput) String ¶ added in v0.6.0
func (s AddThingToBillingGroupInput) String() string
String returns the string representation
func (*AddThingToBillingGroupInput) Validate ¶ added in v0.6.0
func (s *AddThingToBillingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddThingToBillingGroupOutput ¶ added in v0.6.0
type AddThingToBillingGroupOutput struct {
// contains filtered or unexported fields
}
func (AddThingToBillingGroupOutput) GoString ¶ added in v0.6.0
func (s AddThingToBillingGroupOutput) GoString() string
GoString returns the string representation
func (AddThingToBillingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s AddThingToBillingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AddThingToBillingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s AddThingToBillingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AddThingToBillingGroupOutput) String ¶ added in v0.6.0
func (s AddThingToBillingGroupOutput) String() string
String returns the string representation
type AddThingToBillingGroupRequest ¶ added in v0.6.0
type AddThingToBillingGroupRequest struct { *aws.Request Input *AddThingToBillingGroupInput Copy func(*AddThingToBillingGroupInput) AddThingToBillingGroupRequest }
AddThingToBillingGroupRequest is a API request type for the AddThingToBillingGroup API operation.
func (AddThingToBillingGroupRequest) Send ¶ added in v0.6.0
func (r AddThingToBillingGroupRequest) Send(ctx context.Context) (*AddThingToBillingGroupOutput, error)
Send marshals and sends the AddThingToBillingGroup API request.
type AddThingToThingGroupInput ¶ added in v0.2.0
type AddThingToThingGroupInput struct { // Override dynamic thing groups with static thing groups when 10-group limit // is reached. If a thing belongs to 10 thing groups, and one or more of those // groups are dynamic thing groups, adding a thing to a static group removes // the thing from the last dynamic group. OverrideDynamicGroups *bool `locationName:"overrideDynamicGroups" type:"boolean"` // The ARN of the thing to add to a group. ThingArn *string `locationName:"thingArn" type:"string"` // The ARN of the group to which you are adding a thing. ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` // The name of the group to which you are adding a thing. ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` // The name of the thing to add to a group. ThingName *string `locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (AddThingToThingGroupInput) GoString ¶ added in v0.2.0
func (s AddThingToThingGroupInput) GoString() string
GoString returns the string representation
func (AddThingToThingGroupInput) MarshalFields ¶ added in v0.3.0
func (s AddThingToThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AddThingToThingGroupInput) String ¶ added in v0.2.0
func (s AddThingToThingGroupInput) String() string
String returns the string representation
func (*AddThingToThingGroupInput) Validate ¶ added in v0.2.0
func (s *AddThingToThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddThingToThingGroupOutput ¶ added in v0.2.0
type AddThingToThingGroupOutput struct {
// contains filtered or unexported fields
}
func (AddThingToThingGroupOutput) GoString ¶ added in v0.2.0
func (s AddThingToThingGroupOutput) GoString() string
GoString returns the string representation
func (AddThingToThingGroupOutput) MarshalFields ¶ added in v0.3.0
func (s AddThingToThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AddThingToThingGroupOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s AddThingToThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AddThingToThingGroupOutput) String ¶ added in v0.2.0
func (s AddThingToThingGroupOutput) String() string
String returns the string representation
type AddThingToThingGroupRequest ¶ added in v0.2.0
type AddThingToThingGroupRequest struct { *aws.Request Input *AddThingToThingGroupInput Copy func(*AddThingToThingGroupInput) AddThingToThingGroupRequest }
AddThingToThingGroupRequest is a API request type for the AddThingToThingGroup API operation.
func (AddThingToThingGroupRequest) Send ¶ added in v0.2.0
func (r AddThingToThingGroupRequest) Send(ctx context.Context) (*AddThingToThingGroupOutput, error)
Send marshals and sends the AddThingToThingGroup API request.
type AlertTarget ¶ added in v0.5.0
type AlertTarget struct { // The ARN of the notification target to which alerts are sent. // // AlertTargetArn is a required field AlertTargetArn *string `locationName:"alertTargetArn" type:"string" required:"true"` // The ARN of the role that grants permission to send alerts to the notification // target. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
A structure containing the alert target ARN and the role ARN.
func (AlertTarget) GoString ¶ added in v0.5.0
func (s AlertTarget) GoString() string
GoString returns the string representation
func (AlertTarget) MarshalFields ¶ added in v0.5.0
func (s AlertTarget) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AlertTarget) String ¶ added in v0.5.0
func (s AlertTarget) String() string
String returns the string representation
func (*AlertTarget) Validate ¶ added in v0.5.0
func (s *AlertTarget) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AlertTargetType ¶ added in v0.5.0
type AlertTargetType string
The type of alert target: one of "SNS".
const (
AlertTargetTypeSns AlertTargetType = "SNS"
)
Enum values for AlertTargetType
func (AlertTargetType) MarshalValue ¶ added in v0.5.0
func (enum AlertTargetType) MarshalValue() (string, error)
func (AlertTargetType) MarshalValueBuf ¶ added in v0.5.0
func (enum AlertTargetType) MarshalValueBuf(b []byte) ([]byte, error)
type Allowed ¶ added in v0.2.0
type Allowed struct { // A list of policies that allowed the authentication. Policies []Policy `locationName:"policies" type:"list"` // contains filtered or unexported fields }
Contains information that allowed the authorization.
func (Allowed) MarshalFields ¶ added in v0.3.0
func (s Allowed) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type AssociateTargetsWithJobInput ¶ added in v0.2.0
type AssociateTargetsWithJobInput struct { // An optional comment string describing why the job was associated with the // targets. Comment *string `locationName:"comment" type:"string"` // The unique identifier you assigned to this job when it was created. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // A list of thing group ARNs that define the targets of the job. // // Targets is a required field Targets []string `locationName:"targets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (AssociateTargetsWithJobInput) GoString ¶ added in v0.2.0
func (s AssociateTargetsWithJobInput) GoString() string
GoString returns the string representation
func (AssociateTargetsWithJobInput) MarshalFields ¶ added in v0.3.0
func (s AssociateTargetsWithJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateTargetsWithJobInput) String ¶ added in v0.2.0
func (s AssociateTargetsWithJobInput) String() string
String returns the string representation
func (*AssociateTargetsWithJobInput) Validate ¶ added in v0.2.0
func (s *AssociateTargetsWithJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateTargetsWithJobOutput ¶ added in v0.2.0
type AssociateTargetsWithJobOutput struct { // A short text description of the job. Description *string `locationName:"description" type:"string"` // An ARN identifying the job. JobArn *string `locationName:"jobArn" type:"string"` // The unique identifier you assigned to this job when it was created. JobId *string `locationName:"jobId" min:"1" type:"string"` // contains filtered or unexported fields }
func (AssociateTargetsWithJobOutput) GoString ¶ added in v0.2.0
func (s AssociateTargetsWithJobOutput) GoString() string
GoString returns the string representation
func (AssociateTargetsWithJobOutput) MarshalFields ¶ added in v0.3.0
func (s AssociateTargetsWithJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateTargetsWithJobOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s AssociateTargetsWithJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssociateTargetsWithJobOutput) String ¶ added in v0.2.0
func (s AssociateTargetsWithJobOutput) String() string
String returns the string representation
type AssociateTargetsWithJobRequest ¶ added in v0.2.0
type AssociateTargetsWithJobRequest struct { *aws.Request Input *AssociateTargetsWithJobInput Copy func(*AssociateTargetsWithJobInput) AssociateTargetsWithJobRequest }
AssociateTargetsWithJobRequest is a API request type for the AssociateTargetsWithJob API operation.
func (AssociateTargetsWithJobRequest) Send ¶ added in v0.2.0
func (r AssociateTargetsWithJobRequest) Send(ctx context.Context) (*AssociateTargetsWithJobOutput, error)
Send marshals and sends the AssociateTargetsWithJob API request.
type AttachPolicyInput ¶ added in v0.2.0
type AttachPolicyInput struct { // The name of the policy to attach. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The identity (https://docs.aws.amazon.com/iot/latest/developerguide/iot-security-identity.html) // to which the policy is attached. // // Target is a required field Target *string `locationName:"target" type:"string" required:"true"` // contains filtered or unexported fields }
func (AttachPolicyInput) GoString ¶ added in v0.2.0
func (s AttachPolicyInput) GoString() string
GoString returns the string representation
func (AttachPolicyInput) MarshalFields ¶ added in v0.3.0
func (s AttachPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AttachPolicyInput) String ¶ added in v0.2.0
func (s AttachPolicyInput) String() string
String returns the string representation
func (*AttachPolicyInput) Validate ¶ added in v0.2.0
func (s *AttachPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachPolicyOutput ¶ added in v0.2.0
type AttachPolicyOutput struct {
// contains filtered or unexported fields
}
func (AttachPolicyOutput) GoString ¶ added in v0.2.0
func (s AttachPolicyOutput) GoString() string
GoString returns the string representation
func (AttachPolicyOutput) MarshalFields ¶ added in v0.3.0
func (s AttachPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AttachPolicyOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s AttachPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AttachPolicyOutput) String ¶ added in v0.2.0
func (s AttachPolicyOutput) String() string
String returns the string representation
type AttachPolicyRequest ¶ added in v0.2.0
type AttachPolicyRequest struct { *aws.Request Input *AttachPolicyInput Copy func(*AttachPolicyInput) AttachPolicyRequest }
AttachPolicyRequest is a API request type for the AttachPolicy API operation.
func (AttachPolicyRequest) Send ¶ added in v0.2.0
func (r AttachPolicyRequest) Send(ctx context.Context) (*AttachPolicyOutput, error)
Send marshals and sends the AttachPolicy API request.
type AttachPrincipalPolicyInput ¶
type AttachPrincipalPolicyInput struct { // The policy name. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The principal, which can be a certificate ARN (as returned from the CreateCertificate // operation) or an Amazon Cognito ID. // // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the AttachPrincipalPolicy operation.
func (AttachPrincipalPolicyInput) GoString ¶
func (s AttachPrincipalPolicyInput) GoString() string
GoString returns the string representation
func (AttachPrincipalPolicyInput) MarshalFields ¶ added in v0.3.0
func (s AttachPrincipalPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s AttachPrincipalPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*AttachPrincipalPolicyInput) AttachPrincipalPolicyRequest }
AttachPrincipalPolicyRequest is a API request type for the AttachPrincipalPolicy API operation.
func (AttachPrincipalPolicyRequest) Send ¶
func (r AttachPrincipalPolicyRequest) Send(ctx context.Context) (*AttachPrincipalPolicyOutput, error)
Send marshals and sends the AttachPrincipalPolicy API request.
type AttachSecurityProfileInput ¶ added in v0.5.0
type AttachSecurityProfileInput struct { // The security profile that is attached. // // SecurityProfileName is a required field SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"` // The ARN of the target (thing group) to which the security profile is attached. // // SecurityProfileTargetArn is a required field SecurityProfileTargetArn *string `location:"querystring" locationName:"securityProfileTargetArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (AttachSecurityProfileInput) GoString ¶ added in v0.5.0
func (s AttachSecurityProfileInput) GoString() string
GoString returns the string representation
func (AttachSecurityProfileInput) MarshalFields ¶ added in v0.5.0
func (s AttachSecurityProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AttachSecurityProfileInput) String ¶ added in v0.5.0
func (s AttachSecurityProfileInput) String() string
String returns the string representation
func (*AttachSecurityProfileInput) Validate ¶ added in v0.5.0
func (s *AttachSecurityProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachSecurityProfileOutput ¶ added in v0.5.0
type AttachSecurityProfileOutput struct {
// contains filtered or unexported fields
}
func (AttachSecurityProfileOutput) GoString ¶ added in v0.5.0
func (s AttachSecurityProfileOutput) GoString() string
GoString returns the string representation
func (AttachSecurityProfileOutput) MarshalFields ¶ added in v0.5.0
func (s AttachSecurityProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AttachSecurityProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s AttachSecurityProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AttachSecurityProfileOutput) String ¶ added in v0.5.0
func (s AttachSecurityProfileOutput) String() string
String returns the string representation
type AttachSecurityProfileRequest ¶ added in v0.5.0
type AttachSecurityProfileRequest struct { *aws.Request Input *AttachSecurityProfileInput Copy func(*AttachSecurityProfileInput) AttachSecurityProfileRequest }
AttachSecurityProfileRequest is a API request type for the AttachSecurityProfile API operation.
func (AttachSecurityProfileRequest) Send ¶ added in v0.5.0
func (r AttachSecurityProfileRequest) Send(ctx context.Context) (*AttachSecurityProfileOutput, error)
Send marshals and sends the AttachSecurityProfile 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) MarshalFields ¶ added in v0.3.0
func (s AttachThingPrincipalInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AttachThingPrincipalInput) String ¶
func (s AttachThingPrincipalInput) String() string
String returns the string representation
func (*AttachThingPrincipalInput) Validate ¶
func (s *AttachThingPrincipalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachThingPrincipalOutput ¶
type AttachThingPrincipalOutput struct {
// contains filtered or unexported fields
}
The output from the AttachThingPrincipal operation.
func (AttachThingPrincipalOutput) GoString ¶
func (s AttachThingPrincipalOutput) GoString() string
GoString returns the string representation
func (AttachThingPrincipalOutput) MarshalFields ¶ added in v0.3.0
func (s AttachThingPrincipalOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*AttachThingPrincipalInput) AttachThingPrincipalRequest }
AttachThingPrincipalRequest is a API request type for the AttachThingPrincipal API operation.
func (AttachThingPrincipalRequest) Send ¶
func (r AttachThingPrincipalRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s AttributePayload) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AttributePayload) String ¶
func (s AttributePayload) String() string
String returns the string representation
type AuditCheckConfiguration ¶ added in v0.5.0
type AuditCheckConfiguration struct { // True if this audit check is enabled for this account. Enabled *bool `locationName:"enabled" type:"boolean"` // contains filtered or unexported fields }
Which audit checks are enabled and disabled for this account.
func (AuditCheckConfiguration) GoString ¶ added in v0.5.0
func (s AuditCheckConfiguration) GoString() string
GoString returns the string representation
func (AuditCheckConfiguration) MarshalFields ¶ added in v0.5.0
func (s AuditCheckConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuditCheckConfiguration) String ¶ added in v0.5.0
func (s AuditCheckConfiguration) String() string
String returns the string representation
type AuditCheckDetails ¶ added in v0.5.0
type AuditCheckDetails struct { // True if the check completed and found all resources compliant. CheckCompliant *bool `locationName:"checkCompliant" type:"boolean"` // The completion status of this check, one of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", // "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED". CheckRunStatus AuditCheckRunStatus `locationName:"checkRunStatus" type:"string" enum:"true"` // The code of any error encountered when performing this check during this // audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED". ErrorCode *string `locationName:"errorCode" type:"string"` // The message associated with any error encountered when performing this check // during this audit. Message *string `locationName:"message" type:"string"` // The number of resources that the check found non-compliant. NonCompliantResourcesCount *int64 `locationName:"nonCompliantResourcesCount" type:"long"` // The number of resources on which the check was performed. TotalResourcesCount *int64 `locationName:"totalResourcesCount" type:"long"` // contains filtered or unexported fields }
Information about the audit check.
func (AuditCheckDetails) GoString ¶ added in v0.5.0
func (s AuditCheckDetails) GoString() string
GoString returns the string representation
func (AuditCheckDetails) MarshalFields ¶ added in v0.5.0
func (s AuditCheckDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuditCheckDetails) String ¶ added in v0.5.0
func (s AuditCheckDetails) String() string
String returns the string representation
type AuditCheckRunStatus ¶ added in v0.5.0
type AuditCheckRunStatus string
const ( AuditCheckRunStatusInProgress AuditCheckRunStatus = "IN_PROGRESS" AuditCheckRunStatusWaitingForDataCollection AuditCheckRunStatus = "WAITING_FOR_DATA_COLLECTION" AuditCheckRunStatusCanceled AuditCheckRunStatus = "CANCELED" AuditCheckRunStatusCompletedCompliant AuditCheckRunStatus = "COMPLETED_COMPLIANT" AuditCheckRunStatusCompletedNonCompliant AuditCheckRunStatus = "COMPLETED_NON_COMPLIANT" AuditCheckRunStatusFailed AuditCheckRunStatus = "FAILED" )
Enum values for AuditCheckRunStatus
func (AuditCheckRunStatus) MarshalValue ¶ added in v0.5.0
func (enum AuditCheckRunStatus) MarshalValue() (string, error)
func (AuditCheckRunStatus) MarshalValueBuf ¶ added in v0.5.0
func (enum AuditCheckRunStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AuditFinding ¶ added in v0.5.0
type AuditFinding struct { // The audit check that generated this result. CheckName *string `locationName:"checkName" type:"string"` // The time the result (finding) was discovered. FindingTime *time.Time `locationName:"findingTime" type:"timestamp" timestampFormat:"unix"` // The resource that was found to be non-compliant with the audit check. NonCompliantResource *NonCompliantResource `locationName:"nonCompliantResource" type:"structure"` // The reason the resource was non-compliant. ReasonForNonCompliance *string `locationName:"reasonForNonCompliance" type:"string"` // A code which indicates the reason that the resource was non-compliant. ReasonForNonComplianceCode *string `locationName:"reasonForNonComplianceCode" type:"string"` // The list of related resources. RelatedResources []RelatedResource `locationName:"relatedResources" type:"list"` // The severity of the result (finding). Severity AuditFindingSeverity `locationName:"severity" type:"string" enum:"true"` // The ID of the audit that generated this result (finding) TaskId *string `locationName:"taskId" min:"1" type:"string"` // The time the audit started. TaskStartTime *time.Time `locationName:"taskStartTime" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
The findings (results) of the audit.
func (AuditFinding) GoString ¶ added in v0.5.0
func (s AuditFinding) GoString() string
GoString returns the string representation
func (AuditFinding) MarshalFields ¶ added in v0.5.0
func (s AuditFinding) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuditFinding) String ¶ added in v0.5.0
func (s AuditFinding) String() string
String returns the string representation
type AuditFindingSeverity ¶ added in v0.5.0
type AuditFindingSeverity string
const ( AuditFindingSeverityCritical AuditFindingSeverity = "CRITICAL" AuditFindingSeverityHigh AuditFindingSeverity = "HIGH" AuditFindingSeverityMedium AuditFindingSeverity = "MEDIUM" AuditFindingSeverityLow AuditFindingSeverity = "LOW" )
Enum values for AuditFindingSeverity
func (AuditFindingSeverity) MarshalValue ¶ added in v0.5.0
func (enum AuditFindingSeverity) MarshalValue() (string, error)
func (AuditFindingSeverity) MarshalValueBuf ¶ added in v0.5.0
func (enum AuditFindingSeverity) MarshalValueBuf(b []byte) ([]byte, error)
type AuditFrequency ¶ added in v0.5.0
type AuditFrequency string
const ( AuditFrequencyDaily AuditFrequency = "DAILY" AuditFrequencyWeekly AuditFrequency = "WEEKLY" AuditFrequencyBiweekly AuditFrequency = "BIWEEKLY" AuditFrequencyMonthly AuditFrequency = "MONTHLY" )
Enum values for AuditFrequency
func (AuditFrequency) MarshalValue ¶ added in v0.5.0
func (enum AuditFrequency) MarshalValue() (string, error)
func (AuditFrequency) MarshalValueBuf ¶ added in v0.5.0
func (enum AuditFrequency) MarshalValueBuf(b []byte) ([]byte, error)
type AuditNotificationTarget ¶ added in v0.5.0
type AuditNotificationTarget struct { // True if notifications to the target are enabled. Enabled *bool `locationName:"enabled" type:"boolean"` // The ARN of the role that grants permission to send notifications to the target. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // The ARN of the target (SNS topic) to which audit notifications are sent. TargetArn *string `locationName:"targetArn" type:"string"` // contains filtered or unexported fields }
Information about the targets to which audit notifications are sent.
func (AuditNotificationTarget) GoString ¶ added in v0.5.0
func (s AuditNotificationTarget) GoString() string
GoString returns the string representation
func (AuditNotificationTarget) MarshalFields ¶ added in v0.5.0
func (s AuditNotificationTarget) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuditNotificationTarget) String ¶ added in v0.5.0
func (s AuditNotificationTarget) String() string
String returns the string representation
func (*AuditNotificationTarget) Validate ¶ added in v0.5.0
func (s *AuditNotificationTarget) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AuditNotificationType ¶ added in v0.5.0
type AuditNotificationType string
const (
AuditNotificationTypeSns AuditNotificationType = "SNS"
)
Enum values for AuditNotificationType
func (AuditNotificationType) MarshalValue ¶ added in v0.5.0
func (enum AuditNotificationType) MarshalValue() (string, error)
func (AuditNotificationType) MarshalValueBuf ¶ added in v0.5.0
func (enum AuditNotificationType) MarshalValueBuf(b []byte) ([]byte, error)
type AuditTaskMetadata ¶ added in v0.5.0
type AuditTaskMetadata struct { // The ID of this audit. TaskId *string `locationName:"taskId" min:"1" type:"string"` // The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or // "CANCELED". TaskStatus AuditTaskStatus `locationName:"taskStatus" type:"string" enum:"true"` // The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK". TaskType AuditTaskType `locationName:"taskType" type:"string" enum:"true"` // contains filtered or unexported fields }
The audits that were performed.
func (AuditTaskMetadata) GoString ¶ added in v0.5.0
func (s AuditTaskMetadata) GoString() string
GoString returns the string representation
func (AuditTaskMetadata) MarshalFields ¶ added in v0.5.0
func (s AuditTaskMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuditTaskMetadata) String ¶ added in v0.5.0
func (s AuditTaskMetadata) String() string
String returns the string representation
type AuditTaskStatus ¶ added in v0.5.0
type AuditTaskStatus string
const ( AuditTaskStatusInProgress AuditTaskStatus = "IN_PROGRESS" AuditTaskStatusCompleted AuditTaskStatus = "COMPLETED" AuditTaskStatusFailed AuditTaskStatus = "FAILED" AuditTaskStatusCanceled AuditTaskStatus = "CANCELED" )
Enum values for AuditTaskStatus
func (AuditTaskStatus) MarshalValue ¶ added in v0.5.0
func (enum AuditTaskStatus) MarshalValue() (string, error)
func (AuditTaskStatus) MarshalValueBuf ¶ added in v0.5.0
func (enum AuditTaskStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AuditTaskType ¶ added in v0.5.0
type AuditTaskType string
const ( AuditTaskTypeOnDemandAuditTask AuditTaskType = "ON_DEMAND_AUDIT_TASK" AuditTaskTypeScheduledAuditTask AuditTaskType = "SCHEDULED_AUDIT_TASK" )
Enum values for AuditTaskType
func (AuditTaskType) MarshalValue ¶ added in v0.5.0
func (enum AuditTaskType) MarshalValue() (string, error)
func (AuditTaskType) MarshalValueBuf ¶ added in v0.5.0
func (enum AuditTaskType) MarshalValueBuf(b []byte) ([]byte, error)
type AuthDecision ¶ added in v0.2.0
type AuthDecision string
const ( AuthDecisionAllowed AuthDecision = "ALLOWED" AuthDecisionExplicitDeny AuthDecision = "EXPLICIT_DENY" AuthDecisionImplicitDeny AuthDecision = "IMPLICIT_DENY" )
Enum values for AuthDecision
func (AuthDecision) MarshalValue ¶ added in v0.3.0
func (enum AuthDecision) MarshalValue() (string, error)
func (AuthDecision) MarshalValueBuf ¶ added in v0.3.0
func (enum AuthDecision) MarshalValueBuf(b []byte) ([]byte, error)
type AuthInfo ¶ added in v0.2.0
type AuthInfo struct { // The type of action for which the principal is being authorized. ActionType ActionType `locationName:"actionType" type:"string" enum:"true"` // The resources for which the principal is being authorized to perform the // specified action. Resources []string `locationName:"resources" type:"list"` // contains filtered or unexported fields }
A collection of authorization information.
func (AuthInfo) MarshalFields ¶ added in v0.3.0
func (s AuthInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type AuthResult ¶ added in v0.2.0
type AuthResult struct { // The policies and statements that allowed the specified action. Allowed *Allowed `locationName:"allowed" type:"structure"` // The final authorization decision of this scenario. Multiple statements are // taken into account when determining the authorization decision. An explicit // deny statement can override multiple allow statements. AuthDecision AuthDecision `locationName:"authDecision" type:"string" enum:"true"` // Authorization information. AuthInfo *AuthInfo `locationName:"authInfo" type:"structure"` // The policies and statements that denied the specified action. Denied *Denied `locationName:"denied" type:"structure"` // Contains any missing context values found while evaluating policy. MissingContextValues []string `locationName:"missingContextValues" type:"list"` // contains filtered or unexported fields }
The authorizer result.
func (AuthResult) GoString ¶ added in v0.2.0
func (s AuthResult) GoString() string
GoString returns the string representation
func (AuthResult) MarshalFields ¶ added in v0.3.0
func (s AuthResult) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuthResult) String ¶ added in v0.2.0
func (s AuthResult) String() string
String returns the string representation
type AuthorizerDescription ¶ added in v0.2.0
type AuthorizerDescription struct { // The authorizer ARN. AuthorizerArn *string `locationName:"authorizerArn" type:"string"` // The authorizer's Lambda function ARN. AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"` // The authorizer name. AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` // The UNIX timestamp of when the authorizer was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The UNIX timestamp of when the authorizer was last updated. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The status of the authorizer. Status AuthorizerStatus `locationName:"status" type:"string" enum:"true"` // The key used to extract the token from the HTTP headers. TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"` // The public keys used to validate the token signature returned by your custom // authentication service. TokenSigningPublicKeys map[string]string `locationName:"tokenSigningPublicKeys" type:"map"` // contains filtered or unexported fields }
The authorizer description.
func (AuthorizerDescription) GoString ¶ added in v0.2.0
func (s AuthorizerDescription) GoString() string
GoString returns the string representation
func (AuthorizerDescription) MarshalFields ¶ added in v0.3.0
func (s AuthorizerDescription) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuthorizerDescription) String ¶ added in v0.2.0
func (s AuthorizerDescription) String() string
String returns the string representation
type AuthorizerStatus ¶ added in v0.2.0
type AuthorizerStatus string
const ( AuthorizerStatusActive AuthorizerStatus = "ACTIVE" AuthorizerStatusInactive AuthorizerStatus = "INACTIVE" )
Enum values for AuthorizerStatus
func (AuthorizerStatus) MarshalValue ¶ added in v0.3.0
func (enum AuthorizerStatus) MarshalValue() (string, error)
func (AuthorizerStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum AuthorizerStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AuthorizerSummary ¶ added in v0.2.0
type AuthorizerSummary struct { // The authorizer ARN. AuthorizerArn *string `locationName:"authorizerArn" type:"string"` // The authorizer name. AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` // contains filtered or unexported fields }
The authorizer summary.
func (AuthorizerSummary) GoString ¶ added in v0.2.0
func (s AuthorizerSummary) GoString() string
GoString returns the string representation
func (AuthorizerSummary) MarshalFields ¶ added in v0.3.0
func (s AuthorizerSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AuthorizerSummary) String ¶ added in v0.2.0
func (s AuthorizerSummary) String() string
String returns the string representation
type AutoRegistrationStatus ¶
type AutoRegistrationStatus string
const ( AutoRegistrationStatusEnable AutoRegistrationStatus = "ENABLE" AutoRegistrationStatusDisable AutoRegistrationStatus = "DISABLE" )
Enum values for AutoRegistrationStatus
func (AutoRegistrationStatus) MarshalValue ¶ added in v0.3.0
func (enum AutoRegistrationStatus) MarshalValue() (string, error)
func (AutoRegistrationStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum AutoRegistrationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type AwsJobExecutionsRolloutConfig ¶ added in v0.5.0
type AwsJobExecutionsRolloutConfig struct { // The maximum number of OTA update job executions started per minute. MaximumPerMinute *int64 `locationName:"maximumPerMinute" min:"1" type:"integer"` // contains filtered or unexported fields }
Configuration for the rollout of OTA updates.
func (AwsJobExecutionsRolloutConfig) GoString ¶ added in v0.5.0
func (s AwsJobExecutionsRolloutConfig) GoString() string
GoString returns the string representation
func (AwsJobExecutionsRolloutConfig) MarshalFields ¶ added in v0.5.0
func (s AwsJobExecutionsRolloutConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AwsJobExecutionsRolloutConfig) String ¶ added in v0.5.0
func (s AwsJobExecutionsRolloutConfig) String() string
String returns the string representation
func (*AwsJobExecutionsRolloutConfig) Validate ¶ added in v0.5.0
func (s *AwsJobExecutionsRolloutConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Behavior ¶ added in v0.5.0
type Behavior struct { // The criteria that determine if a device is behaving normally in regard to // the metric. Criteria *BehaviorCriteria `locationName:"criteria" type:"structure"` // What is measured by the behavior. Metric *string `locationName:"metric" type:"string"` // The name you have given to the behavior. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A Device Defender security profile behavior.
func (Behavior) MarshalFields ¶ added in v0.5.0
func (s Behavior) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type BehaviorCriteria ¶ added in v0.5.0
type BehaviorCriteria struct { // The operator that relates the thing measured (metric) to the criteria (containing // a value or statisticalThreshold). ComparisonOperator ComparisonOperator `locationName:"comparisonOperator" type:"string" enum:"true"` // If a device is in violation of the behavior for the specified number of consecutive // datapoints, an alarm occurs. If not specified, the default is 1. ConsecutiveDatapointsToAlarm *int64 `locationName:"consecutiveDatapointsToAlarm" min:"1" type:"integer"` // If an alarm has occurred and the offending device is no longer in violation // of the behavior for the specified number of consecutive datapoints, the alarm // is cleared. If not specified, the default is 1. ConsecutiveDatapointsToClear *int64 `locationName:"consecutiveDatapointsToClear" min:"1" type:"integer"` // Use this to specify the time duration over which the behavior is evaluated, // for those criteria which have a time dimension (for example, NUM_MESSAGES_SENT). // For a statisticalThreshhold metric comparison, measurements from all devices // are accumulated over this time duration before being used to calculate percentiles, // and later, measurements from an individual device are also accumulated over // this time duration before being given a percentile rank. DurationSeconds *int64 `locationName:"durationSeconds" type:"integer"` // A statistical ranking (percentile) which indicates a threshold value by which // a behavior is determined to be in compliance or in violation of the behavior. StatisticalThreshold *StatisticalThreshold `locationName:"statisticalThreshold" type:"structure"` // The value to be compared with the metric. Value *MetricValue `locationName:"value" type:"structure"` // contains filtered or unexported fields }
The criteria by which the behavior is determined to be normal.
func (BehaviorCriteria) GoString ¶ added in v0.5.0
func (s BehaviorCriteria) GoString() string
GoString returns the string representation
func (BehaviorCriteria) MarshalFields ¶ added in v0.5.0
func (s BehaviorCriteria) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BehaviorCriteria) String ¶ added in v0.5.0
func (s BehaviorCriteria) String() string
String returns the string representation
func (*BehaviorCriteria) Validate ¶ added in v0.8.0
func (s *BehaviorCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BillingGroupMetadata ¶ added in v0.6.0
type BillingGroupMetadata struct { // The date the billing group was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Additional information about the billing group.
func (BillingGroupMetadata) GoString ¶ added in v0.6.0
func (s BillingGroupMetadata) GoString() string
GoString returns the string representation
func (BillingGroupMetadata) MarshalFields ¶ added in v0.6.0
func (s BillingGroupMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BillingGroupMetadata) String ¶ added in v0.6.0
func (s BillingGroupMetadata) String() string
String returns the string representation
type BillingGroupProperties ¶ added in v0.6.0
type BillingGroupProperties struct { // The description of the billing group. BillingGroupDescription *string `locationName:"billingGroupDescription" type:"string"` // contains filtered or unexported fields }
The properties of a billing group.
func (BillingGroupProperties) GoString ¶ added in v0.6.0
func (s BillingGroupProperties) GoString() string
GoString returns the string representation
func (BillingGroupProperties) MarshalFields ¶ added in v0.6.0
func (s BillingGroupProperties) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BillingGroupProperties) String ¶ added in v0.6.0
func (s BillingGroupProperties) String() string
String returns the string representation
type CACertificate ¶
type CACertificate struct { // The ARN of the CA certificate. CertificateArn *string `locationName:"certificateArn" type:"string"` // The ID of the CA certificate. CertificateId *string `locationName:"certificateId" min:"64" type:"string"` // The date the CA certificate was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" 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) MarshalFields ¶ added in v0.3.0
func (s CACertificate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CACertificate) String ¶
func (s CACertificate) String() string
String returns the string representation
type CACertificateDescription ¶
type CACertificateDescription struct { // Whether the CA certificate configured for auto registration of device certificates. // Valid values are "ENABLE" and "DISABLE" AutoRegistrationStatus AutoRegistrationStatus `locationName:"autoRegistrationStatus" type:"string" enum:"true"` // The CA certificate ARN. CertificateArn *string `locationName:"certificateArn" type:"string"` // The CA certificate ID. CertificateId *string `locationName:"certificateId" min:"64" type:"string"` // The CA certificate data, in PEM format. CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` // The date the CA certificate was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The customer version of the CA certificate. CustomerVersion *int64 `locationName:"customerVersion" min:"1" type:"integer"` // The generation ID of the CA certificate. GenerationId *string `locationName:"generationId" type:"string"` // The date the CA certificate was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The owner of the CA certificate. OwnedBy *string `locationName:"ownedBy" min:"12" type:"string"` // The status of a CA certificate. Status CACertificateStatus `locationName:"status" type:"string" enum:"true"` // When the CA certificate is valid. Validity *CertificateValidity `locationName:"validity" type:"structure"` // contains filtered or unexported fields }
Describes a CA certificate.
func (CACertificateDescription) GoString ¶
func (s CACertificateDescription) GoString() string
GoString returns the string representation
func (CACertificateDescription) MarshalFields ¶ added in v0.3.0
func (s CACertificateDescription) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CACertificateDescription) String ¶
func (s CACertificateDescription) String() string
String returns the string representation
type CACertificateStatus ¶
type CACertificateStatus string
const ( CACertificateStatusActive CACertificateStatus = "ACTIVE" CACertificateStatusInactive CACertificateStatus = "INACTIVE" )
Enum values for CACertificateStatus
func (CACertificateStatus) MarshalValue ¶ added in v0.3.0
func (enum CACertificateStatus) MarshalValue() (string, error)
func (CACertificateStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum CACertificateStatus) MarshalValueBuf(b []byte) ([]byte, error)
type CancelAuditTaskInput ¶ added in v0.5.0
type CancelAuditTaskInput struct { // The ID of the audit you want to cancel. You can only cancel an audit that // is "IN_PROGRESS". // // TaskId is a required field TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelAuditTaskInput) GoString ¶ added in v0.5.0
func (s CancelAuditTaskInput) GoString() string
GoString returns the string representation
func (CancelAuditTaskInput) MarshalFields ¶ added in v0.5.0
func (s CancelAuditTaskInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelAuditTaskInput) String ¶ added in v0.5.0
func (s CancelAuditTaskInput) String() string
String returns the string representation
func (*CancelAuditTaskInput) Validate ¶ added in v0.5.0
func (s *CancelAuditTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelAuditTaskOutput ¶ added in v0.5.0
type CancelAuditTaskOutput struct {
// contains filtered or unexported fields
}
func (CancelAuditTaskOutput) GoString ¶ added in v0.5.0
func (s CancelAuditTaskOutput) GoString() string
GoString returns the string representation
func (CancelAuditTaskOutput) MarshalFields ¶ added in v0.5.0
func (s CancelAuditTaskOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelAuditTaskOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s CancelAuditTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CancelAuditTaskOutput) String ¶ added in v0.5.0
func (s CancelAuditTaskOutput) String() string
String returns the string representation
type CancelAuditTaskRequest ¶ added in v0.5.0
type CancelAuditTaskRequest struct { *aws.Request Input *CancelAuditTaskInput Copy func(*CancelAuditTaskInput) CancelAuditTaskRequest }
CancelAuditTaskRequest is a API request type for the CancelAuditTask API operation.
func (CancelAuditTaskRequest) Send ¶ added in v0.5.0
func (r CancelAuditTaskRequest) Send(ctx context.Context) (*CancelAuditTaskOutput, error)
Send marshals and sends the CancelAuditTask API request.
type CancelCertificateTransferInput ¶
type CancelCertificateTransferInput struct { // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the CancelCertificateTransfer operation.
func (CancelCertificateTransferInput) GoString ¶
func (s CancelCertificateTransferInput) GoString() string
GoString returns the string representation
func (CancelCertificateTransferInput) MarshalFields ¶ added in v0.3.0
func (s CancelCertificateTransferInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s CancelCertificateTransferOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*CancelCertificateTransferInput) CancelCertificateTransferRequest }
CancelCertificateTransferRequest is a API request type for the CancelCertificateTransfer API operation.
func (CancelCertificateTransferRequest) Send ¶
func (r CancelCertificateTransferRequest) Send(ctx context.Context) (*CancelCertificateTransferOutput, error)
Send marshals and sends the CancelCertificateTransfer API request.
type CancelJobExecutionInput ¶ added in v0.5.0
type CancelJobExecutionInput struct { // (Optional) The expected current version of the job execution. Each time you // update the job execution, its version is incremented. If the version of the // job execution stored in Jobs does not match, the update is rejected with // a VersionMismatch error, and an ErrorResponse that contains the current job // execution status data is returned. (This makes it unnecessary to perform // a separate DescribeJobExecution request in order to obtain the job execution // status data.) ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` // (Optional) If true the job execution will be canceled if it has status IN_PROGRESS // or QUEUED, otherwise the job execution will be canceled only if it has status // QUEUED. If you attempt to cancel a job execution that is IN_PROGRESS, and // you do not set force to true, then an InvalidStateTransitionException will // be thrown. The default is false. // // Canceling a job execution which is "IN_PROGRESS", will cause the device to // be unable to update the job execution status. Use caution and ensure that // the device is able to recover to a valid state. Force *bool `location:"querystring" locationName:"force" type:"boolean"` // The ID of the job to be canceled. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // A collection of name/value pairs that describe the status of the job execution. // If not specified, the statusDetails are unchanged. You can specify at most // 10 name/value pairs. StatusDetails map[string]string `locationName:"statusDetails" type:"map"` // The name of the thing whose execution of the job will be canceled. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (CancelJobExecutionInput) GoString ¶ added in v0.5.0
func (s CancelJobExecutionInput) GoString() string
GoString returns the string representation
func (CancelJobExecutionInput) MarshalFields ¶ added in v0.5.0
func (s CancelJobExecutionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelJobExecutionInput) String ¶ added in v0.5.0
func (s CancelJobExecutionInput) String() string
String returns the string representation
func (*CancelJobExecutionInput) Validate ¶ added in v0.5.0
func (s *CancelJobExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelJobExecutionOutput ¶ added in v0.5.0
type CancelJobExecutionOutput struct {
// contains filtered or unexported fields
}
func (CancelJobExecutionOutput) GoString ¶ added in v0.5.0
func (s CancelJobExecutionOutput) GoString() string
GoString returns the string representation
func (CancelJobExecutionOutput) MarshalFields ¶ added in v0.5.0
func (s CancelJobExecutionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelJobExecutionOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s CancelJobExecutionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CancelJobExecutionOutput) String ¶ added in v0.5.0
func (s CancelJobExecutionOutput) String() string
String returns the string representation
type CancelJobExecutionRequest ¶ added in v0.5.0
type CancelJobExecutionRequest struct { *aws.Request Input *CancelJobExecutionInput Copy func(*CancelJobExecutionInput) CancelJobExecutionRequest }
CancelJobExecutionRequest is a API request type for the CancelJobExecution API operation.
func (CancelJobExecutionRequest) Send ¶ added in v0.5.0
func (r CancelJobExecutionRequest) Send(ctx context.Context) (*CancelJobExecutionOutput, error)
Send marshals and sends the CancelJobExecution API request.
type CancelJobInput ¶ added in v0.2.0
type CancelJobInput struct { // An optional comment string describing why the job was canceled. Comment *string `locationName:"comment" type:"string"` // (Optional) If true job executions with status "IN_PROGRESS" and "QUEUED" // are canceled, otherwise only job executions with status "QUEUED" are canceled. // The default is false. // // Canceling a job which is "IN_PROGRESS", will cause a device which is executing // the job to be unable to update the job execution status. Use caution and // ensure that each device executing a job which is canceled is able to recover // to a valid state. Force *bool `location:"querystring" locationName:"force" type:"boolean"` // The unique identifier you assigned to this job when it was created. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // (Optional)A reason code string that explains why the job was canceled. ReasonCode *string `locationName:"reasonCode" type:"string"` // contains filtered or unexported fields }
func (CancelJobInput) GoString ¶ added in v0.2.0
func (s CancelJobInput) GoString() string
GoString returns the string representation
func (CancelJobInput) MarshalFields ¶ added in v0.3.0
func (s CancelJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelJobInput) String ¶ added in v0.2.0
func (s CancelJobInput) String() string
String returns the string representation
func (*CancelJobInput) Validate ¶ added in v0.2.0
func (s *CancelJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelJobOutput ¶ added in v0.2.0
type CancelJobOutput struct { // A short text description of the job. Description *string `locationName:"description" type:"string"` // The job ARN. JobArn *string `locationName:"jobArn" type:"string"` // The unique identifier you assigned to this job when it was created. JobId *string `locationName:"jobId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CancelJobOutput) GoString ¶ added in v0.2.0
func (s CancelJobOutput) GoString() string
GoString returns the string representation
func (CancelJobOutput) MarshalFields ¶ added in v0.3.0
func (s CancelJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CancelJobOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s CancelJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CancelJobOutput) String ¶ added in v0.2.0
func (s CancelJobOutput) String() string
String returns the string representation
type CancelJobRequest ¶ added in v0.2.0
type CancelJobRequest struct { *aws.Request Input *CancelJobInput Copy func(*CancelJobInput) CancelJobRequest }
CancelJobRequest is a API request type for the CancelJob API operation.
func (CancelJobRequest) Send ¶ added in v0.2.0
func (r CancelJobRequest) Send(ctx context.Context) (*CancelJobOutput, error)
Send marshals and sends the CancelJob API request.
type CannedAccessControlList ¶
type CannedAccessControlList string
const ( CannedAccessControlListPrivate CannedAccessControlList = "private" CannedAccessControlListPublicRead CannedAccessControlList = "public-read" CannedAccessControlListPublicReadWrite CannedAccessControlList = "public-read-write" CannedAccessControlListAwsExecRead CannedAccessControlList = "aws-exec-read" CannedAccessControlListAuthenticatedRead CannedAccessControlList = "authenticated-read" CannedAccessControlListBucketOwnerRead CannedAccessControlList = "bucket-owner-read" CannedAccessControlListBucketOwnerFullControl CannedAccessControlList = "bucket-owner-full-control" CannedAccessControlListLogDeliveryWrite CannedAccessControlList = "log-delivery-write" )
Enum values for CannedAccessControlList
func (CannedAccessControlList) MarshalValue ¶ added in v0.3.0
func (enum CannedAccessControlList) MarshalValue() (string, error)
func (CannedAccessControlList) MarshalValueBuf ¶ added in v0.3.0
func (enum CannedAccessControlList) MarshalValueBuf(b []byte) ([]byte, error)
type Certificate ¶
type Certificate struct { // The ARN of the certificate. CertificateArn *string `locationName:"certificateArn" type:"string"` // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) CertificateId *string `locationName:"certificateId" min:"64" type:"string"` // The date and time the certificate was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" 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) MarshalFields ¶ added in v0.3.0
func (s Certificate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Certificate) String ¶
func (s Certificate) String() string
String returns the string representation
type CertificateDescription ¶
type CertificateDescription struct { // The certificate ID of the CA certificate used to sign this certificate. CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"` // The ARN of the certificate. CertificateArn *string `locationName:"certificateArn" type:"string"` // The ID of the certificate. CertificateId *string `locationName:"certificateId" min:"64" type:"string"` // The certificate data, in PEM format. CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` // The date and time the certificate was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The customer version of the certificate. CustomerVersion *int64 `locationName:"customerVersion" min:"1" type:"integer"` // The generation ID of the certificate. GenerationId *string `locationName:"generationId" type:"string"` // The date and time the certificate was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The ID of the AWS account that owns the certificate. OwnedBy *string `locationName:"ownedBy" min:"12" type:"string"` // The ID of the AWS account of the previous owner of the certificate. PreviousOwnedBy *string `locationName:"previousOwnedBy" min:"12" type:"string"` // The status of the certificate. Status CertificateStatus `locationName:"status" type:"string" enum:"true"` // The transfer data. TransferData *TransferData `locationName:"transferData" type:"structure"` // When the certificate is valid. Validity *CertificateValidity `locationName:"validity" type:"structure"` // contains filtered or unexported fields }
Describes a certificate.
func (CertificateDescription) GoString ¶
func (s CertificateDescription) GoString() string
GoString returns the string representation
func (CertificateDescription) MarshalFields ¶ added in v0.3.0
func (s CertificateDescription) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CertificateDescription) String ¶
func (s CertificateDescription) String() string
String returns the string representation
type CertificateStatus ¶
type CertificateStatus string
const ( CertificateStatusActive CertificateStatus = "ACTIVE" CertificateStatusInactive CertificateStatus = "INACTIVE" CertificateStatusRevoked CertificateStatus = "REVOKED" CertificateStatusPendingTransfer CertificateStatus = "PENDING_TRANSFER" CertificateStatusRegisterInactive CertificateStatus = "REGISTER_INACTIVE" CertificateStatusPendingActivation CertificateStatus = "PENDING_ACTIVATION" )
Enum values for CertificateStatus
func (CertificateStatus) MarshalValue ¶ added in v0.3.0
func (enum CertificateStatus) MarshalValue() (string, error)
func (CertificateStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum CertificateStatus) MarshalValueBuf(b []byte) ([]byte, error)
type CertificateValidity ¶ added in v0.5.0
type CertificateValidity struct { // The certificate is not valid after this date. NotAfter *time.Time `locationName:"notAfter" type:"timestamp" timestampFormat:"unix"` // The certificate is not valid before this date. NotBefore *time.Time `locationName:"notBefore" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
When the certificate is valid.
func (CertificateValidity) GoString ¶ added in v0.5.0
func (s CertificateValidity) GoString() string
GoString returns the string representation
func (CertificateValidity) MarshalFields ¶ added in v0.5.0
func (s CertificateValidity) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CertificateValidity) String ¶ added in v0.5.0
func (s CertificateValidity) String() string
String returns the string representation
type ClearDefaultAuthorizerInput ¶ added in v0.2.0
type ClearDefaultAuthorizerInput struct {
// contains filtered or unexported fields
}
func (ClearDefaultAuthorizerInput) GoString ¶ added in v0.2.0
func (s ClearDefaultAuthorizerInput) GoString() string
GoString returns the string representation
func (ClearDefaultAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s ClearDefaultAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ClearDefaultAuthorizerInput) String ¶ added in v0.2.0
func (s ClearDefaultAuthorizerInput) String() string
String returns the string representation
type ClearDefaultAuthorizerOutput ¶ added in v0.2.0
type ClearDefaultAuthorizerOutput struct {
// contains filtered or unexported fields
}
func (ClearDefaultAuthorizerOutput) GoString ¶ added in v0.2.0
func (s ClearDefaultAuthorizerOutput) GoString() string
GoString returns the string representation
func (ClearDefaultAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s ClearDefaultAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ClearDefaultAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ClearDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ClearDefaultAuthorizerOutput) String ¶ added in v0.2.0
func (s ClearDefaultAuthorizerOutput) String() string
String returns the string representation
type ClearDefaultAuthorizerRequest ¶ added in v0.2.0
type ClearDefaultAuthorizerRequest struct { *aws.Request Input *ClearDefaultAuthorizerInput Copy func(*ClearDefaultAuthorizerInput) ClearDefaultAuthorizerRequest }
ClearDefaultAuthorizerRequest is a API request type for the ClearDefaultAuthorizer API operation.
func (ClearDefaultAuthorizerRequest) Send ¶ added in v0.2.0
func (r ClearDefaultAuthorizerRequest) Send(ctx context.Context) (*ClearDefaultAuthorizerOutput, error)
Send marshals and sends the ClearDefaultAuthorizer API request.
type CloudwatchAlarmAction ¶
type CloudwatchAlarmAction struct { // The CloudWatch alarm name. // // AlarmName is a required field AlarmName *string `locationName:"alarmName" type:"string" required:"true"` // The IAM role that allows access to the CloudWatch alarm. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The reason for the alarm change. // // StateReason is a required field StateReason *string `locationName:"stateReason" type:"string" required:"true"` // The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. // // StateValue is a required field StateValue *string `locationName:"stateValue" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action that updates a CloudWatch alarm.
func (CloudwatchAlarmAction) GoString ¶
func (s CloudwatchAlarmAction) GoString() string
GoString returns the string representation
func (CloudwatchAlarmAction) MarshalFields ¶ added in v0.3.0
func (s CloudwatchAlarmAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CloudwatchAlarmAction) String ¶
func (s CloudwatchAlarmAction) String() string
String returns the string representation
func (*CloudwatchAlarmAction) Validate ¶
func (s *CloudwatchAlarmAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CloudwatchMetricAction ¶
type CloudwatchMetricAction struct { // The CloudWatch metric name. // // MetricName is a required field MetricName *string `locationName:"metricName" type:"string" required:"true"` // The CloudWatch metric namespace name. // // MetricNamespace is a required field MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"` // An optional Unix timestamp (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp). MetricTimestamp *string `locationName:"metricTimestamp" type:"string"` // The metric unit (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit) // supported by CloudWatch. // // MetricUnit is a required field MetricUnit *string `locationName:"metricUnit" type:"string" required:"true"` // The CloudWatch metric value. // // MetricValue is a required field MetricValue *string `locationName:"metricValue" type:"string" required:"true"` // The IAM role that allows access to the CloudWatch metric. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action that captures a CloudWatch metric.
func (CloudwatchMetricAction) GoString ¶
func (s CloudwatchMetricAction) GoString() string
GoString returns the string representation
func (CloudwatchMetricAction) MarshalFields ¶ added in v0.3.0
func (s CloudwatchMetricAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CloudwatchMetricAction) String ¶
func (s CloudwatchMetricAction) String() string
String returns the string representation
func (*CloudwatchMetricAction) Validate ¶
func (s *CloudwatchMetricAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeSigning ¶ added in v0.2.0
type CodeSigning struct { // The ID of the AWSSignerJob which was created to sign the file. AwsSignerJobId *string `locationName:"awsSignerJobId" type:"string"` // A custom method for code signing a file. CustomCodeSigning *CustomCodeSigning `locationName:"customCodeSigning" type:"structure"` // Describes the code-signing job. StartSigningJobParameter *StartSigningJobParameter `locationName:"startSigningJobParameter" type:"structure"` // contains filtered or unexported fields }
Describes the method to use when code signing a file.
func (CodeSigning) GoString ¶ added in v0.2.0
func (s CodeSigning) GoString() string
GoString returns the string representation
func (CodeSigning) MarshalFields ¶ added in v0.3.0
func (s CodeSigning) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CodeSigning) String ¶ added in v0.2.0
func (s CodeSigning) String() string
String returns the string representation
func (*CodeSigning) Validate ¶ added in v0.2.0
func (s *CodeSigning) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeSigningCertificateChain ¶ added in v0.2.0
type CodeSigningCertificateChain struct { // The name of the certificate. CertificateName *string `locationName:"certificateName" type:"string"` // A base64 encoded binary representation of the code signing certificate chain. InlineDocument *string `locationName:"inlineDocument" type:"string"` // contains filtered or unexported fields }
Describes the certificate chain being used when code signing a file.
func (CodeSigningCertificateChain) GoString ¶ added in v0.2.0
func (s CodeSigningCertificateChain) GoString() string
GoString returns the string representation
func (CodeSigningCertificateChain) MarshalFields ¶ added in v0.3.0
func (s CodeSigningCertificateChain) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CodeSigningCertificateChain) String ¶ added in v0.2.0
func (s CodeSigningCertificateChain) String() string
String returns the string representation
type CodeSigningSignature ¶ added in v0.2.0
type CodeSigningSignature struct { // A base64 encoded binary representation of the code signing signature. // // InlineDocument is automatically base64 encoded/decoded by the SDK. InlineDocument []byte `locationName:"inlineDocument" type:"blob"` // contains filtered or unexported fields }
Describes the signature for a file.
func (CodeSigningSignature) GoString ¶ added in v0.2.0
func (s CodeSigningSignature) GoString() string
GoString returns the string representation
func (CodeSigningSignature) MarshalFields ¶ added in v0.3.0
func (s CodeSigningSignature) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CodeSigningSignature) String ¶ added in v0.2.0
func (s CodeSigningSignature) String() string
String returns the string representation
type ComparisonOperator ¶ added in v0.5.0
type ComparisonOperator string
const ( ComparisonOperatorLessThan ComparisonOperator = "less-than" ComparisonOperatorLessThanEquals ComparisonOperator = "less-than-equals" ComparisonOperatorGreaterThan ComparisonOperator = "greater-than" ComparisonOperatorGreaterThanEquals ComparisonOperator = "greater-than-equals" ComparisonOperatorInCidrSet ComparisonOperator = "in-cidr-set" ComparisonOperatorNotInCidrSet ComparisonOperator = "not-in-cidr-set" ComparisonOperatorInPortSet ComparisonOperator = "in-port-set" ComparisonOperatorNotInPortSet ComparisonOperator = "not-in-port-set" )
Enum values for ComparisonOperator
func (ComparisonOperator) MarshalValue ¶ added in v0.5.0
func (enum ComparisonOperator) MarshalValue() (string, error)
func (ComparisonOperator) MarshalValueBuf ¶ added in v0.5.0
func (enum ComparisonOperator) MarshalValueBuf(b []byte) ([]byte, error)
type Configuration ¶ added in v0.2.0
type Configuration struct { // True to enable the configuration. Enabled *bool `type:"boolean"` // contains filtered or unexported fields }
Configuration.
func (Configuration) GoString ¶ added in v0.2.0
func (s Configuration) GoString() string
GoString returns the string representation
func (Configuration) MarshalFields ¶ added in v0.3.0
func (s Configuration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Configuration) String ¶ added in v0.2.0
func (s Configuration) String() string
String returns the string representation
type CreateAuthorizerInput ¶ added in v0.2.0
type CreateAuthorizerInput struct { // The ARN of the authorizer's Lambda function. // // AuthorizerFunctionArn is a required field AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string" required:"true"` // The authorizer name. // // AuthorizerName is a required field AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` // The status of the create authorizer request. Status AuthorizerStatus `locationName:"status" type:"string" enum:"true"` // The name of the token key used to extract the token from the HTTP headers. // // TokenKeyName is a required field TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string" required:"true"` // The public keys used to verify the digital signature returned by your custom // authentication service. // // TokenSigningPublicKeys is a required field TokenSigningPublicKeys map[string]string `locationName:"tokenSigningPublicKeys" type:"map" required:"true"` // contains filtered or unexported fields }
func (CreateAuthorizerInput) GoString ¶ added in v0.2.0
func (s CreateAuthorizerInput) GoString() string
GoString returns the string representation
func (CreateAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s CreateAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateAuthorizerInput) String ¶ added in v0.2.0
func (s CreateAuthorizerInput) String() string
String returns the string representation
func (*CreateAuthorizerInput) Validate ¶ added in v0.2.0
func (s *CreateAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAuthorizerOutput ¶ added in v0.2.0
type CreateAuthorizerOutput struct { // The authorizer ARN. AuthorizerArn *string `locationName:"authorizerArn" type:"string"` // The authorizer's name. AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateAuthorizerOutput) GoString ¶ added in v0.2.0
func (s CreateAuthorizerOutput) GoString() string
GoString returns the string representation
func (CreateAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s CreateAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s CreateAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateAuthorizerOutput) String ¶ added in v0.2.0
func (s CreateAuthorizerOutput) String() string
String returns the string representation
type CreateAuthorizerRequest ¶ added in v0.2.0
type CreateAuthorizerRequest struct { *aws.Request Input *CreateAuthorizerInput Copy func(*CreateAuthorizerInput) CreateAuthorizerRequest }
CreateAuthorizerRequest is a API request type for the CreateAuthorizer API operation.
func (CreateAuthorizerRequest) Send ¶ added in v0.2.0
func (r CreateAuthorizerRequest) Send(ctx context.Context) (*CreateAuthorizerOutput, error)
Send marshals and sends the CreateAuthorizer API request.
type CreateBillingGroupInput ¶ added in v0.6.0
type CreateBillingGroupInput struct { // The name you wish to give to the billing group. // // BillingGroupName is a required field BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"` // The properties of the billing group. BillingGroupProperties *BillingGroupProperties `locationName:"billingGroupProperties" type:"structure"` // Metadata which can be used to manage the billing group. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateBillingGroupInput) GoString ¶ added in v0.6.0
func (s CreateBillingGroupInput) GoString() string
GoString returns the string representation
func (CreateBillingGroupInput) MarshalFields ¶ added in v0.6.0
func (s CreateBillingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateBillingGroupInput) String ¶ added in v0.6.0
func (s CreateBillingGroupInput) String() string
String returns the string representation
func (*CreateBillingGroupInput) Validate ¶ added in v0.6.0
func (s *CreateBillingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateBillingGroupOutput ¶ added in v0.6.0
type CreateBillingGroupOutput struct { // The ARN of the billing group. BillingGroupArn *string `locationName:"billingGroupArn" type:"string"` // The ID of the billing group. BillingGroupId *string `locationName:"billingGroupId" min:"1" type:"string"` // The name you gave to the billing group. BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateBillingGroupOutput) GoString ¶ added in v0.6.0
func (s CreateBillingGroupOutput) GoString() string
GoString returns the string representation
func (CreateBillingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s CreateBillingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateBillingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s CreateBillingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateBillingGroupOutput) String ¶ added in v0.6.0
func (s CreateBillingGroupOutput) String() string
String returns the string representation
type CreateBillingGroupRequest ¶ added in v0.6.0
type CreateBillingGroupRequest struct { *aws.Request Input *CreateBillingGroupInput Copy func(*CreateBillingGroupInput) CreateBillingGroupRequest }
CreateBillingGroupRequest is a API request type for the CreateBillingGroup API operation.
func (CreateBillingGroupRequest) Send ¶ added in v0.6.0
func (r CreateBillingGroupRequest) Send(ctx context.Context) (*CreateBillingGroupOutput, error)
Send marshals and sends the CreateBillingGroup API request.
type CreateCertificateFromCsrInput ¶
type CreateCertificateFromCsrInput struct { // The certificate signing request (CSR). // // CertificateSigningRequest is a required field CertificateSigningRequest *string `locationName:"certificateSigningRequest" min:"1" type:"string" required:"true"` // Specifies whether the certificate is active. SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` // contains filtered or unexported fields }
The input for the CreateCertificateFromCsr operation.
func (CreateCertificateFromCsrInput) GoString ¶
func (s CreateCertificateFromCsrInput) GoString() string
GoString returns the string representation
func (CreateCertificateFromCsrInput) MarshalFields ¶ added in v0.3.0
func (s CreateCertificateFromCsrInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s CreateCertificateFromCsrOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateCertificateFromCsrOutput) SDKResponseMetadata ¶
func (s CreateCertificateFromCsrOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateCertificateFromCsrOutput) String ¶
func (s CreateCertificateFromCsrOutput) String() string
String returns the string representation
type CreateCertificateFromCsrRequest ¶
type CreateCertificateFromCsrRequest struct { *aws.Request Input *CreateCertificateFromCsrInput Copy func(*CreateCertificateFromCsrInput) CreateCertificateFromCsrRequest }
CreateCertificateFromCsrRequest is a API request type for the CreateCertificateFromCsr API operation.
func (CreateCertificateFromCsrRequest) Send ¶
func (r CreateCertificateFromCsrRequest) Send(ctx context.Context) (*CreateCertificateFromCsrOutput, error)
Send marshals and sends the CreateCertificateFromCsr API request.
type CreateDynamicThingGroupInput ¶ added in v0.6.0
type CreateDynamicThingGroupInput struct { // The dynamic thing group index name. // // Currently one index is supported: "AWS_Things". IndexName *string `locationName:"indexName" min:"1" type:"string"` // The dynamic thing group search query string. // // See Query Syntax (https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html) // for information about query string syntax. // // QueryString is a required field QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"` // The dynamic thing group query version. // // Currently one query version is supported: "2017-09-30". If not specified, // the query version defaults to this value. QueryVersion *string `locationName:"queryVersion" type:"string"` // Metadata which can be used to manage the dynamic thing group. Tags []Tag `locationName:"tags" type:"list"` // The dynamic thing group name to create. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // The dynamic thing group properties. ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"` // contains filtered or unexported fields }
func (CreateDynamicThingGroupInput) GoString ¶ added in v0.6.0
func (s CreateDynamicThingGroupInput) GoString() string
GoString returns the string representation
func (CreateDynamicThingGroupInput) MarshalFields ¶ added in v0.6.0
func (s CreateDynamicThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDynamicThingGroupInput) String ¶ added in v0.6.0
func (s CreateDynamicThingGroupInput) String() string
String returns the string representation
func (*CreateDynamicThingGroupInput) Validate ¶ added in v0.6.0
func (s *CreateDynamicThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDynamicThingGroupOutput ¶ added in v0.6.0
type CreateDynamicThingGroupOutput struct { // The dynamic thing group index name. IndexName *string `locationName:"indexName" min:"1" type:"string"` // The dynamic thing group search query string. QueryString *string `locationName:"queryString" min:"1" type:"string"` // The dynamic thing group query version. QueryVersion *string `locationName:"queryVersion" type:"string"` // The dynamic thing group ARN. ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` // The dynamic thing group ID. ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` // The dynamic thing group name. ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateDynamicThingGroupOutput) GoString ¶ added in v0.6.0
func (s CreateDynamicThingGroupOutput) GoString() string
GoString returns the string representation
func (CreateDynamicThingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s CreateDynamicThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateDynamicThingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s CreateDynamicThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateDynamicThingGroupOutput) String ¶ added in v0.6.0
func (s CreateDynamicThingGroupOutput) String() string
String returns the string representation
type CreateDynamicThingGroupRequest ¶ added in v0.6.0
type CreateDynamicThingGroupRequest struct { *aws.Request Input *CreateDynamicThingGroupInput Copy func(*CreateDynamicThingGroupInput) CreateDynamicThingGroupRequest }
CreateDynamicThingGroupRequest is a API request type for the CreateDynamicThingGroup API operation.
func (CreateDynamicThingGroupRequest) Send ¶ added in v0.6.0
func (r CreateDynamicThingGroupRequest) Send(ctx context.Context) (*CreateDynamicThingGroupOutput, error)
Send marshals and sends the CreateDynamicThingGroup API request.
type CreateJobInput ¶ added in v0.2.0
type CreateJobInput struct { // Allows you to create criteria to abort a job. AbortConfig *AbortConfig `locationName:"abortConfig" type:"structure"` // A short text description of the job. Description *string `locationName:"description" type:"string"` // The job document. // // If the job document resides in an S3 bucket, you must use a placeholder link // when specifying the document. // // The placeholder link is of the following form: // // ${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key} // // where bucket is your bucket name and key is the object in the bucket to which // you are linking. Document *string `locationName:"document" type:"string"` // An S3 link to the job document. DocumentSource *string `locationName:"documentSource" min:"1" type:"string"` // Allows you to create a staged rollout of the job. JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"` // A job identifier which must be unique for your AWS account. We recommend // using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // Configuration information for pre-signed S3 URLs. PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"` // Metadata which can be used to manage the job. Tags []Tag `locationName:"tags" type:"list"` // Specifies whether the job will continue to run (CONTINUOUS), or will be complete // after all those things specified as targets have completed the job (SNAPSHOT). // If continuous, the job may also be run on a thing when a change is detected // in a target. For example, a job will run on a thing when the thing is added // to a target group, even after the job was completed by all things originally // in the group. TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"` // A list of things and thing groups to which the job should be sent. // // Targets is a required field Targets []string `locationName:"targets" min:"1" type:"list" required:"true"` // Specifies the amount of time each device has to finish its execution of the // job. The timer is started when the job execution status is set to IN_PROGRESS. // If the job execution status is not set to another terminal state before the // time expires, it will be automatically set to TIMED_OUT. TimeoutConfig *TimeoutConfig `locationName:"timeoutConfig" type:"structure"` // contains filtered or unexported fields }
func (CreateJobInput) GoString ¶ added in v0.2.0
func (s CreateJobInput) GoString() string
GoString returns the string representation
func (CreateJobInput) MarshalFields ¶ added in v0.3.0
func (s CreateJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateJobInput) String ¶ added in v0.2.0
func (s CreateJobInput) String() string
String returns the string representation
func (*CreateJobInput) Validate ¶ added in v0.2.0
func (s *CreateJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateJobOutput ¶ added in v0.2.0
type CreateJobOutput struct { // The job description. Description *string `locationName:"description" type:"string"` // The job ARN. JobArn *string `locationName:"jobArn" type:"string"` // The unique identifier you assigned to this job. JobId *string `locationName:"jobId" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateJobOutput) GoString ¶ added in v0.2.0
func (s CreateJobOutput) GoString() string
GoString returns the string representation
func (CreateJobOutput) MarshalFields ¶ added in v0.3.0
func (s CreateJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateJobOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s CreateJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateJobOutput) String ¶ added in v0.2.0
func (s CreateJobOutput) String() string
String returns the string representation
type CreateJobRequest ¶ added in v0.2.0
type CreateJobRequest struct { *aws.Request Input *CreateJobInput Copy func(*CreateJobInput) CreateJobRequest }
CreateJobRequest is a API request type for the CreateJob API operation.
func (CreateJobRequest) Send ¶ added in v0.2.0
func (r CreateJobRequest) Send(ctx context.Context) (*CreateJobOutput, error)
Send marshals and sends the CreateJob API request.
type CreateKeysAndCertificateInput ¶
type CreateKeysAndCertificateInput struct { // Specifies whether the certificate is active. SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` // contains filtered or unexported fields }
The input for the CreateKeysAndCertificate operation.
func (CreateKeysAndCertificateInput) GoString ¶
func (s CreateKeysAndCertificateInput) GoString() string
GoString returns the string representation
func (CreateKeysAndCertificateInput) MarshalFields ¶ added in v0.3.0
func (s CreateKeysAndCertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s CreateKeysAndCertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateKeysAndCertificateOutput) SDKResponseMetadata ¶
func (s CreateKeysAndCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateKeysAndCertificateOutput) String ¶
func (s CreateKeysAndCertificateOutput) String() string
String returns the string representation
type CreateKeysAndCertificateRequest ¶
type CreateKeysAndCertificateRequest struct { *aws.Request Input *CreateKeysAndCertificateInput Copy func(*CreateKeysAndCertificateInput) CreateKeysAndCertificateRequest }
CreateKeysAndCertificateRequest is a API request type for the CreateKeysAndCertificate API operation.
func (CreateKeysAndCertificateRequest) Send ¶
func (r CreateKeysAndCertificateRequest) Send(ctx context.Context) (*CreateKeysAndCertificateOutput, error)
Send marshals and sends the CreateKeysAndCertificate API request.
type CreateOTAUpdateInput ¶ added in v0.2.0
type CreateOTAUpdateInput struct { // A list of additional OTA update parameters which are name-value pairs. AdditionalParameters map[string]string `locationName:"additionalParameters" type:"map"` // Configuration for the rollout of OTA updates. AwsJobExecutionsRolloutConfig *AwsJobExecutionsRolloutConfig `locationName:"awsJobExecutionsRolloutConfig" type:"structure"` // The description of the OTA update. Description *string `locationName:"description" type:"string"` // The files to be streamed by the OTA update. // // Files is a required field Files []OTAUpdateFile `locationName:"files" min:"1" type:"list" required:"true"` // The ID of the OTA update to be created. // // OtaUpdateId is a required field OtaUpdateId *string `location:"uri" locationName:"otaUpdateId" min:"1" type:"string" required:"true"` // The IAM role that allows access to the AWS IoT Jobs service. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` // Metadata which can be used to manage updates. Tags []Tag `locationName:"tags" type:"list"` // Specifies whether the update will continue to run (CONTINUOUS), or will be // complete after all the things specified as targets have completed the update // (SNAPSHOT). If continuous, the update may also be run on a thing when a change // is detected in a target. For example, an update will run on a thing when // the thing is added to a target group, even after the update was completed // by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT. TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"` // The targeted devices to receive OTA updates. // // Targets is a required field Targets []string `locationName:"targets" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateOTAUpdateInput) GoString ¶ added in v0.2.0
func (s CreateOTAUpdateInput) GoString() string
GoString returns the string representation
func (CreateOTAUpdateInput) MarshalFields ¶ added in v0.3.0
func (s CreateOTAUpdateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateOTAUpdateInput) String ¶ added in v0.2.0
func (s CreateOTAUpdateInput) String() string
String returns the string representation
func (*CreateOTAUpdateInput) Validate ¶ added in v0.2.0
func (s *CreateOTAUpdateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateOTAUpdateOutput ¶ added in v0.2.0
type CreateOTAUpdateOutput struct { // The AWS IoT job ARN associated with the OTA update. AwsIotJobArn *string `locationName:"awsIotJobArn" type:"string"` // The AWS IoT job ID associated with the OTA update. AwsIotJobId *string `locationName:"awsIotJobId" type:"string"` // The OTA update ARN. OtaUpdateArn *string `locationName:"otaUpdateArn" type:"string"` // The OTA update ID. OtaUpdateId *string `locationName:"otaUpdateId" min:"1" type:"string"` // The OTA update status. OtaUpdateStatus OTAUpdateStatus `locationName:"otaUpdateStatus" type:"string" enum:"true"` // contains filtered or unexported fields }
func (CreateOTAUpdateOutput) GoString ¶ added in v0.2.0
func (s CreateOTAUpdateOutput) GoString() string
GoString returns the string representation
func (CreateOTAUpdateOutput) MarshalFields ¶ added in v0.3.0
func (s CreateOTAUpdateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateOTAUpdateOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s CreateOTAUpdateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateOTAUpdateOutput) String ¶ added in v0.2.0
func (s CreateOTAUpdateOutput) String() string
String returns the string representation
type CreateOTAUpdateRequest ¶ added in v0.2.0
type CreateOTAUpdateRequest struct { *aws.Request Input *CreateOTAUpdateInput Copy func(*CreateOTAUpdateInput) CreateOTAUpdateRequest }
CreateOTAUpdateRequest is a API request type for the CreateOTAUpdate API operation.
func (CreateOTAUpdateRequest) Send ¶ added in v0.2.0
func (r CreateOTAUpdateRequest) Send(ctx context.Context) (*CreateOTAUpdateOutput, error)
Send marshals and sends the CreateOTAUpdate API request.
type CreatePolicyInput ¶
type CreatePolicyInput struct { // The JSON document that describes the policy. policyDocument must have a minimum // length of 1, with a maximum length of 2048, excluding whitespace. // // PolicyDocument is a required field PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` // The policy name. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the CreatePolicy operation.
func (CreatePolicyInput) GoString ¶
func (s CreatePolicyInput) GoString() string
GoString returns the string representation
func (CreatePolicyInput) MarshalFields ¶ added in v0.3.0
func (s CreatePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePolicyInput) String ¶
func (s CreatePolicyInput) String() string
String returns the string representation
func (*CreatePolicyInput) Validate ¶
func (s *CreatePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreatePolicyOutput ¶
type CreatePolicyOutput struct { // The policy ARN. PolicyArn *string `locationName:"policyArn" type:"string"` // The JSON document that describes the policy. PolicyDocument *string `locationName:"policyDocument" type:"string"` // The policy name. PolicyName *string `locationName:"policyName" min:"1" type:"string"` // The policy version ID. PolicyVersionId *string `locationName:"policyVersionId" type:"string"` // contains filtered or unexported fields }
The output from the CreatePolicy operation.
func (CreatePolicyOutput) GoString ¶
func (s CreatePolicyOutput) GoString() string
GoString returns the string representation
func (CreatePolicyOutput) MarshalFields ¶ added in v0.3.0
func (s CreatePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePolicyOutput) SDKResponseMetadata ¶
func (s CreatePolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreatePolicyOutput) String ¶
func (s CreatePolicyOutput) String() string
String returns the string representation
type CreatePolicyRequest ¶
type CreatePolicyRequest struct { *aws.Request Input *CreatePolicyInput Copy func(*CreatePolicyInput) CreatePolicyRequest }
CreatePolicyRequest is a API request type for the CreatePolicy API operation.
func (CreatePolicyRequest) Send ¶
func (r CreatePolicyRequest) Send(ctx context.Context) (*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 whitespace. // // PolicyDocument is a required field PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` // The policy name. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // Specifies whether the policy version is set as the default. When this parameter // is true, the new policy version becomes the operative version (that is, the // version that is in effect for the certificates to which the policy is attached). SetAsDefault *bool `location:"querystring" locationName:"setAsDefault" type:"boolean"` // contains filtered or unexported fields }
The input for the CreatePolicyVersion operation.
func (CreatePolicyVersionInput) GoString ¶
func (s CreatePolicyVersionInput) GoString() string
GoString returns the string representation
func (CreatePolicyVersionInput) MarshalFields ¶ added in v0.3.0
func (s CreatePolicyVersionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePolicyVersionInput) String ¶
func (s CreatePolicyVersionInput) String() string
String returns the string representation
func (*CreatePolicyVersionInput) Validate ¶
func (s *CreatePolicyVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreatePolicyVersionOutput ¶
type CreatePolicyVersionOutput struct { // Specifies whether the policy version is the default. IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` // The policy ARN. PolicyArn *string `locationName:"policyArn" type:"string"` // The JSON document that describes the policy. PolicyDocument *string `locationName:"policyDocument" type:"string"` // The policy version ID. PolicyVersionId *string `locationName:"policyVersionId" type:"string"` // contains filtered or unexported fields }
The output of the CreatePolicyVersion operation.
func (CreatePolicyVersionOutput) GoString ¶
func (s CreatePolicyVersionOutput) GoString() string
GoString returns the string representation
func (CreatePolicyVersionOutput) MarshalFields ¶ added in v0.3.0
func (s CreatePolicyVersionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreatePolicyVersionOutput) SDKResponseMetadata ¶
func (s CreatePolicyVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreatePolicyVersionOutput) String ¶
func (s CreatePolicyVersionOutput) String() string
String returns the string representation
type CreatePolicyVersionRequest ¶
type CreatePolicyVersionRequest struct { *aws.Request Input *CreatePolicyVersionInput Copy func(*CreatePolicyVersionInput) CreatePolicyVersionRequest }
CreatePolicyVersionRequest is a API request type for the CreatePolicyVersion API operation.
func (CreatePolicyVersionRequest) Send ¶
func (r CreatePolicyVersionRequest) Send(ctx context.Context) (*CreatePolicyVersionOutput, error)
Send marshals and sends the CreatePolicyVersion API request.
type CreateRoleAliasInput ¶ added in v0.2.0
type CreateRoleAliasInput struct { // How long (in seconds) the credentials will be valid. CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` // The role alias that points to a role ARN. This allows you to change the role // without having to update the device. // // RoleAlias is a required field RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` // The role ARN. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
func (CreateRoleAliasInput) GoString ¶ added in v0.2.0
func (s CreateRoleAliasInput) GoString() string
GoString returns the string representation
func (CreateRoleAliasInput) MarshalFields ¶ added in v0.3.0
func (s CreateRoleAliasInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRoleAliasInput) String ¶ added in v0.2.0
func (s CreateRoleAliasInput) String() string
String returns the string representation
func (*CreateRoleAliasInput) Validate ¶ added in v0.2.0
func (s *CreateRoleAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateRoleAliasOutput ¶ added in v0.2.0
type CreateRoleAliasOutput struct { // The role alias. RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"` // The role alias ARN. RoleAliasArn *string `locationName:"roleAliasArn" type:"string"` // contains filtered or unexported fields }
func (CreateRoleAliasOutput) GoString ¶ added in v0.2.0
func (s CreateRoleAliasOutput) GoString() string
GoString returns the string representation
func (CreateRoleAliasOutput) MarshalFields ¶ added in v0.3.0
func (s CreateRoleAliasOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateRoleAliasOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s CreateRoleAliasOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateRoleAliasOutput) String ¶ added in v0.2.0
func (s CreateRoleAliasOutput) String() string
String returns the string representation
type CreateRoleAliasRequest ¶ added in v0.2.0
type CreateRoleAliasRequest struct { *aws.Request Input *CreateRoleAliasInput Copy func(*CreateRoleAliasInput) CreateRoleAliasRequest }
CreateRoleAliasRequest is a API request type for the CreateRoleAlias API operation.
func (CreateRoleAliasRequest) Send ¶ added in v0.2.0
func (r CreateRoleAliasRequest) Send(ctx context.Context) (*CreateRoleAliasOutput, error)
Send marshals and sends the CreateRoleAlias API request.
type CreateScheduledAuditInput ¶ added in v0.5.0
type CreateScheduledAuditInput struct { // The day of the month on which the scheduled audit takes place. Can be "1" // through "31" or "LAST". This field is required if the "frequency" parameter // is set to "MONTHLY". If days 29-31 are specified, and the month does not // have that many days, the audit takes place on the "LAST" day of the month. DayOfMonth *string `locationName:"dayOfMonth" type:"string"` // The day of the week on which the scheduled audit takes place. Can be one // of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required // if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY". DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"` // How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", // "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined // by the system. // // Frequency is a required field Frequency AuditFrequency `locationName:"frequency" type:"string" required:"true" enum:"true"` // The name you want to give to the scheduled audit. (Max. 128 chars) // // ScheduledAuditName is a required field ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"` // Metadata which can be used to manage the scheduled audit. Tags []Tag `locationName:"tags" type:"list"` // Which checks are performed during the scheduled audit. Checks must be enabled // for your account. (Use DescribeAccountAuditConfiguration to see the list // of all checks including those that are enabled or UpdateAccountAuditConfiguration // to select which checks are enabled.) // // TargetCheckNames is a required field TargetCheckNames []string `locationName:"targetCheckNames" type:"list" required:"true"` // contains filtered or unexported fields }
func (CreateScheduledAuditInput) GoString ¶ added in v0.5.0
func (s CreateScheduledAuditInput) GoString() string
GoString returns the string representation
func (CreateScheduledAuditInput) MarshalFields ¶ added in v0.5.0
func (s CreateScheduledAuditInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateScheduledAuditInput) String ¶ added in v0.5.0
func (s CreateScheduledAuditInput) String() string
String returns the string representation
func (*CreateScheduledAuditInput) Validate ¶ added in v0.5.0
func (s *CreateScheduledAuditInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateScheduledAuditOutput ¶ added in v0.5.0
type CreateScheduledAuditOutput struct { // The ARN of the scheduled audit. ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"` // contains filtered or unexported fields }
func (CreateScheduledAuditOutput) GoString ¶ added in v0.5.0
func (s CreateScheduledAuditOutput) GoString() string
GoString returns the string representation
func (CreateScheduledAuditOutput) MarshalFields ¶ added in v0.5.0
func (s CreateScheduledAuditOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateScheduledAuditOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s CreateScheduledAuditOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateScheduledAuditOutput) String ¶ added in v0.5.0
func (s CreateScheduledAuditOutput) String() string
String returns the string representation
type CreateScheduledAuditRequest ¶ added in v0.5.0
type CreateScheduledAuditRequest struct { *aws.Request Input *CreateScheduledAuditInput Copy func(*CreateScheduledAuditInput) CreateScheduledAuditRequest }
CreateScheduledAuditRequest is a API request type for the CreateScheduledAudit API operation.
func (CreateScheduledAuditRequest) Send ¶ added in v0.5.0
func (r CreateScheduledAuditRequest) Send(ctx context.Context) (*CreateScheduledAuditOutput, error)
Send marshals and sends the CreateScheduledAudit API request.
type CreateSecurityProfileInput ¶ added in v0.5.0
type CreateSecurityProfileInput struct { // A list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the profile's behaviors but it is also retained for // any metric specified here. AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"` // Specifies the destinations to which alerts are sent. (Alerts are always sent // to the console.) Alerts are generated when a device (thing) violates a behavior. AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"` // Specifies the behaviors that, when violated by a device (thing), cause an // alert. Behaviors []Behavior `locationName:"behaviors" type:"list"` // A description of the security profile. SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"` // The name you are giving to the security profile. // // SecurityProfileName is a required field SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"` // Metadata which can be used to manage the security profile. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateSecurityProfileInput) GoString ¶ added in v0.5.0
func (s CreateSecurityProfileInput) GoString() string
GoString returns the string representation
func (CreateSecurityProfileInput) MarshalFields ¶ added in v0.5.0
func (s CreateSecurityProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSecurityProfileInput) String ¶ added in v0.5.0
func (s CreateSecurityProfileInput) String() string
String returns the string representation
func (*CreateSecurityProfileInput) Validate ¶ added in v0.5.0
func (s *CreateSecurityProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSecurityProfileOutput ¶ added in v0.5.0
type CreateSecurityProfileOutput struct { // The ARN of the security profile. SecurityProfileArn *string `locationName:"securityProfileArn" type:"string"` // The name you gave to the security profile. SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateSecurityProfileOutput) GoString ¶ added in v0.5.0
func (s CreateSecurityProfileOutput) GoString() string
GoString returns the string representation
func (CreateSecurityProfileOutput) MarshalFields ¶ added in v0.5.0
func (s CreateSecurityProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSecurityProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s CreateSecurityProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateSecurityProfileOutput) String ¶ added in v0.5.0
func (s CreateSecurityProfileOutput) String() string
String returns the string representation
type CreateSecurityProfileRequest ¶ added in v0.5.0
type CreateSecurityProfileRequest struct { *aws.Request Input *CreateSecurityProfileInput Copy func(*CreateSecurityProfileInput) CreateSecurityProfileRequest }
CreateSecurityProfileRequest is a API request type for the CreateSecurityProfile API operation.
func (CreateSecurityProfileRequest) Send ¶ added in v0.5.0
func (r CreateSecurityProfileRequest) Send(ctx context.Context) (*CreateSecurityProfileOutput, error)
Send marshals and sends the CreateSecurityProfile API request.
type CreateStreamInput ¶ added in v0.2.0
type CreateStreamInput struct { // A description of the stream. Description *string `locationName:"description" type:"string"` // The files to stream. // // Files is a required field Files []StreamFile `locationName:"files" min:"1" type:"list" required:"true"` // An IAM role that allows the IoT service principal assumes to access your // S3 files. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` // The stream ID. // // StreamId is a required field StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"` // Metadata which can be used to manage streams. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateStreamInput) GoString ¶ added in v0.2.0
func (s CreateStreamInput) GoString() string
GoString returns the string representation
func (CreateStreamInput) MarshalFields ¶ added in v0.3.0
func (s CreateStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateStreamInput) String ¶ added in v0.2.0
func (s CreateStreamInput) String() string
String returns the string representation
func (*CreateStreamInput) Validate ¶ added in v0.2.0
func (s *CreateStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateStreamOutput ¶ added in v0.2.0
type CreateStreamOutput struct { // A description of the stream. Description *string `locationName:"description" type:"string"` // The stream ARN. StreamArn *string `locationName:"streamArn" type:"string"` // The stream ID. StreamId *string `locationName:"streamId" min:"1" type:"string"` // The version of the stream. StreamVersion *int64 `locationName:"streamVersion" type:"integer"` // contains filtered or unexported fields }
func (CreateStreamOutput) GoString ¶ added in v0.2.0
func (s CreateStreamOutput) GoString() string
GoString returns the string representation
func (CreateStreamOutput) MarshalFields ¶ added in v0.3.0
func (s CreateStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateStreamOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s CreateStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateStreamOutput) String ¶ added in v0.2.0
func (s CreateStreamOutput) String() string
String returns the string representation
type CreateStreamRequest ¶ added in v0.2.0
type CreateStreamRequest struct { *aws.Request Input *CreateStreamInput Copy func(*CreateStreamInput) CreateStreamRequest }
CreateStreamRequest is a API request type for the CreateStream API operation.
func (CreateStreamRequest) Send ¶ added in v0.2.0
func (r CreateStreamRequest) Send(ctx context.Context) (*CreateStreamOutput, error)
Send marshals and sends the CreateStream API request.
type CreateThingGroupInput ¶ added in v0.2.0
type CreateThingGroupInput struct { // The name of the parent thing group. ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"` // Metadata which can be used to manage the thing group. Tags []Tag `locationName:"tags" type:"list"` // The thing group name to create. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // The thing group properties. ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"` // contains filtered or unexported fields }
func (CreateThingGroupInput) GoString ¶ added in v0.2.0
func (s CreateThingGroupInput) GoString() string
GoString returns the string representation
func (CreateThingGroupInput) MarshalFields ¶ added in v0.3.0
func (s CreateThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateThingGroupInput) String ¶ added in v0.2.0
func (s CreateThingGroupInput) String() string
String returns the string representation
func (*CreateThingGroupInput) Validate ¶ added in v0.2.0
func (s *CreateThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateThingGroupOutput ¶ added in v0.2.0
type CreateThingGroupOutput struct { // The thing group ARN. ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` // The thing group ID. ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` // The thing group name. ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateThingGroupOutput) GoString ¶ added in v0.2.0
func (s CreateThingGroupOutput) GoString() string
GoString returns the string representation
func (CreateThingGroupOutput) MarshalFields ¶ added in v0.3.0
func (s CreateThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateThingGroupOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s CreateThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateThingGroupOutput) String ¶ added in v0.2.0
func (s CreateThingGroupOutput) String() string
String returns the string representation
type CreateThingGroupRequest ¶ added in v0.2.0
type CreateThingGroupRequest struct { *aws.Request Input *CreateThingGroupInput Copy func(*CreateThingGroupInput) CreateThingGroupRequest }
CreateThingGroupRequest is a API request type for the CreateThingGroup API operation.
func (CreateThingGroupRequest) Send ¶ added in v0.2.0
func (r CreateThingGroupRequest) Send(ctx context.Context) (*CreateThingGroupOutput, error)
Send marshals and sends the CreateThingGroup API request.
type CreateThingInput ¶
type CreateThingInput struct { // The attribute payload, which consists of up to three name/value pairs in // a JSON document. For example: // // {\"attributes\":{\"string1\":\"string2\"}} AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"` // The name of the billing group the thing will be added to. BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"` // The name of the thing to create. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // The name of the thing type associated with the new thing. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // contains filtered or unexported fields }
The input for the CreateThing operation.
func (CreateThingInput) GoString ¶
func (s CreateThingInput) GoString() string
GoString returns the string representation
func (CreateThingInput) MarshalFields ¶ added in v0.3.0
func (s CreateThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateThingInput) String ¶
func (s CreateThingInput) String() string
String returns the string representation
func (*CreateThingInput) Validate ¶
func (s *CreateThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateThingOutput ¶
type CreateThingOutput struct { // The ARN of the new thing. ThingArn *string `locationName:"thingArn" type:"string"` // The thing ID. ThingId *string `locationName:"thingId" type:"string"` // The name of the new thing. ThingName *string `locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
The output of the CreateThing operation.
func (CreateThingOutput) GoString ¶
func (s CreateThingOutput) GoString() string
GoString returns the string representation
func (CreateThingOutput) MarshalFields ¶ added in v0.3.0
func (s CreateThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateThingOutput) SDKResponseMetadata ¶
func (s CreateThingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateThingOutput) String ¶
func (s CreateThingOutput) String() string
String returns the string representation
type CreateThingRequest ¶
type CreateThingRequest struct { *aws.Request Input *CreateThingInput Copy func(*CreateThingInput) CreateThingRequest }
CreateThingRequest is a API request type for the CreateThing API operation.
func (CreateThingRequest) Send ¶
func (r CreateThingRequest) Send(ctx context.Context) (*CreateThingOutput, error)
Send marshals and sends the CreateThing API request.
type CreateThingTypeInput ¶
type CreateThingTypeInput struct { // Metadata which can be used to manage the thing type. Tags []Tag `locationName:"tags" type:"list"` // The name of the thing type. // // ThingTypeName is a required field ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` // The ThingTypeProperties for the thing type to create. It contains information // about the new thing type including a description, and a list of searchable // thing attribute names. ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` // contains filtered or unexported fields }
The input for the CreateThingType operation.
func (CreateThingTypeInput) GoString ¶
func (s CreateThingTypeInput) GoString() string
GoString returns the string representation
func (CreateThingTypeInput) MarshalFields ¶ added in v0.3.0
func (s CreateThingTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateThingTypeInput) String ¶
func (s CreateThingTypeInput) String() string
String returns the string representation
func (*CreateThingTypeInput) Validate ¶
func (s *CreateThingTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateThingTypeOutput ¶
type CreateThingTypeOutput struct { // The Amazon Resource Name (ARN) of the thing type. ThingTypeArn *string `locationName:"thingTypeArn" type:"string"` // The thing type ID. ThingTypeId *string `locationName:"thingTypeId" type:"string"` // The name of the thing type. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // contains filtered or unexported fields }
The output of the CreateThingType operation.
func (CreateThingTypeOutput) GoString ¶
func (s CreateThingTypeOutput) GoString() string
GoString returns the string representation
func (CreateThingTypeOutput) MarshalFields ¶ added in v0.3.0
func (s CreateThingTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateThingTypeOutput) SDKResponseMetadata ¶
func (s CreateThingTypeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateThingTypeOutput) String ¶
func (s CreateThingTypeOutput) String() string
String returns the string representation
type CreateThingTypeRequest ¶
type CreateThingTypeRequest struct { *aws.Request Input *CreateThingTypeInput Copy func(*CreateThingTypeInput) CreateThingTypeRequest }
CreateThingTypeRequest is a API request type for the CreateThingType API operation.
func (CreateThingTypeRequest) Send ¶
func (r CreateThingTypeRequest) Send(ctx context.Context) (*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"` // Metadata which can be used to manage the topic rule. // // For URI Request parameters use format: ...key1=value1&key2=value2... // // For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..." // // For the cli-input-json file use format: "tags": "key1=value1&key2=value2..." Tags *string `location:"header" locationName:"x-amz-tagging" type:"string"` // The rule payload. // // TopicRulePayload is a required field TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` // contains filtered or unexported fields }
The input for the CreateTopicRule operation.
func (CreateTopicRuleInput) GoString ¶
func (s CreateTopicRuleInput) GoString() string
GoString returns the string representation
func (CreateTopicRuleInput) MarshalFields ¶ added in v0.3.0
func (s CreateTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateTopicRuleInput) String ¶
func (s CreateTopicRuleInput) String() string
String returns the string representation
func (*CreateTopicRuleInput) Validate ¶
func (s *CreateTopicRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTopicRuleOutput ¶
type CreateTopicRuleOutput struct {
// contains filtered or unexported fields
}
func (CreateTopicRuleOutput) GoString ¶
func (s CreateTopicRuleOutput) GoString() string
GoString returns the string representation
func (CreateTopicRuleOutput) MarshalFields ¶ added in v0.3.0
func (s CreateTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*CreateTopicRuleInput) CreateTopicRuleRequest }
CreateTopicRuleRequest is a API request type for the CreateTopicRule API operation.
func (CreateTopicRuleRequest) Send ¶
func (r CreateTopicRuleRequest) Send(ctx context.Context) (*CreateTopicRuleOutput, error)
Send marshals and sends the CreateTopicRule API request.
type CustomCodeSigning ¶ added in v0.2.0
type CustomCodeSigning struct { // The certificate chain. CertificateChain *CodeSigningCertificateChain `locationName:"certificateChain" type:"structure"` // The hash algorithm used to code sign the file. HashAlgorithm *string `locationName:"hashAlgorithm" type:"string"` // The signature for the file. Signature *CodeSigningSignature `locationName:"signature" type:"structure"` // The signature algorithm used to code sign the file. SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"` // contains filtered or unexported fields }
Describes a custom method used to code sign a file.
func (CustomCodeSigning) GoString ¶ added in v0.2.0
func (s CustomCodeSigning) GoString() string
GoString returns the string representation
func (CustomCodeSigning) MarshalFields ¶ added in v0.3.0
func (s CustomCodeSigning) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CustomCodeSigning) String ¶ added in v0.2.0
func (s CustomCodeSigning) String() string
String returns the string representation
type DayOfWeek ¶ added in v0.5.0
type DayOfWeek string
const ( DayOfWeekSun DayOfWeek = "SUN" DayOfWeekMon DayOfWeek = "MON" DayOfWeekTue DayOfWeek = "TUE" DayOfWeekWed DayOfWeek = "WED" DayOfWeekThu DayOfWeek = "THU" DayOfWeekFri DayOfWeek = "FRI" DayOfWeekSat DayOfWeek = "SAT" )
Enum values for DayOfWeek
func (DayOfWeek) MarshalValue ¶ added in v0.5.0
type DeleteAccountAuditConfigurationInput ¶ added in v0.5.0
type DeleteAccountAuditConfigurationInput struct { // If true, all scheduled audits are deleted. DeleteScheduledAudits *bool `location:"querystring" locationName:"deleteScheduledAudits" type:"boolean"` // contains filtered or unexported fields }
func (DeleteAccountAuditConfigurationInput) GoString ¶ added in v0.5.0
func (s DeleteAccountAuditConfigurationInput) GoString() string
GoString returns the string representation
func (DeleteAccountAuditConfigurationInput) MarshalFields ¶ added in v0.5.0
func (s DeleteAccountAuditConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteAccountAuditConfigurationInput) String ¶ added in v0.5.0
func (s DeleteAccountAuditConfigurationInput) String() string
String returns the string representation
type DeleteAccountAuditConfigurationOutput ¶ added in v0.5.0
type DeleteAccountAuditConfigurationOutput struct {
// contains filtered or unexported fields
}
func (DeleteAccountAuditConfigurationOutput) GoString ¶ added in v0.5.0
func (s DeleteAccountAuditConfigurationOutput) GoString() string
GoString returns the string representation
func (DeleteAccountAuditConfigurationOutput) MarshalFields ¶ added in v0.5.0
func (s DeleteAccountAuditConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteAccountAuditConfigurationOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DeleteAccountAuditConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteAccountAuditConfigurationOutput) String ¶ added in v0.5.0
func (s DeleteAccountAuditConfigurationOutput) String() string
String returns the string representation
type DeleteAccountAuditConfigurationRequest ¶ added in v0.5.0
type DeleteAccountAuditConfigurationRequest struct { *aws.Request Input *DeleteAccountAuditConfigurationInput Copy func(*DeleteAccountAuditConfigurationInput) DeleteAccountAuditConfigurationRequest }
DeleteAccountAuditConfigurationRequest is a API request type for the DeleteAccountAuditConfiguration API operation.
func (DeleteAccountAuditConfigurationRequest) Send ¶ added in v0.5.0
func (r DeleteAccountAuditConfigurationRequest) Send(ctx context.Context) (*DeleteAccountAuditConfigurationOutput, error)
Send marshals and sends the DeleteAccountAuditConfiguration API request.
type DeleteAuthorizerInput ¶ added in v0.2.0
type DeleteAuthorizerInput struct { // The name of the authorizer to delete. // // AuthorizerName is a required field AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteAuthorizerInput) GoString ¶ added in v0.2.0
func (s DeleteAuthorizerInput) GoString() string
GoString returns the string representation
func (DeleteAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s DeleteAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteAuthorizerInput) String ¶ added in v0.2.0
func (s DeleteAuthorizerInput) String() string
String returns the string representation
func (*DeleteAuthorizerInput) Validate ¶ added in v0.2.0
func (s *DeleteAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAuthorizerOutput ¶ added in v0.2.0
type DeleteAuthorizerOutput struct {
// contains filtered or unexported fields
}
func (DeleteAuthorizerOutput) GoString ¶ added in v0.2.0
func (s DeleteAuthorizerOutput) GoString() string
GoString returns the string representation
func (DeleteAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteAuthorizerOutput) String ¶ added in v0.2.0
func (s DeleteAuthorizerOutput) String() string
String returns the string representation
type DeleteAuthorizerRequest ¶ added in v0.2.0
type DeleteAuthorizerRequest struct { *aws.Request Input *DeleteAuthorizerInput Copy func(*DeleteAuthorizerInput) DeleteAuthorizerRequest }
DeleteAuthorizerRequest is a API request type for the DeleteAuthorizer API operation.
func (DeleteAuthorizerRequest) Send ¶ added in v0.2.0
func (r DeleteAuthorizerRequest) Send(ctx context.Context) (*DeleteAuthorizerOutput, error)
Send marshals and sends the DeleteAuthorizer API request.
type DeleteBillingGroupInput ¶ added in v0.6.0
type DeleteBillingGroupInput struct { // The name of the billing group. // // BillingGroupName is a required field BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"` // The expected version of the billing group. If the version of the billing // group does not match the expected version specified in the request, the DeleteBillingGroup // request is rejected with a VersionConflictException. ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` // contains filtered or unexported fields }
func (DeleteBillingGroupInput) GoString ¶ added in v0.6.0
func (s DeleteBillingGroupInput) GoString() string
GoString returns the string representation
func (DeleteBillingGroupInput) MarshalFields ¶ added in v0.6.0
func (s DeleteBillingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBillingGroupInput) String ¶ added in v0.6.0
func (s DeleteBillingGroupInput) String() string
String returns the string representation
func (*DeleteBillingGroupInput) Validate ¶ added in v0.6.0
func (s *DeleteBillingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBillingGroupOutput ¶ added in v0.6.0
type DeleteBillingGroupOutput struct {
// contains filtered or unexported fields
}
func (DeleteBillingGroupOutput) GoString ¶ added in v0.6.0
func (s DeleteBillingGroupOutput) GoString() string
GoString returns the string representation
func (DeleteBillingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s DeleteBillingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteBillingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s DeleteBillingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteBillingGroupOutput) String ¶ added in v0.6.0
func (s DeleteBillingGroupOutput) String() string
String returns the string representation
type DeleteBillingGroupRequest ¶ added in v0.6.0
type DeleteBillingGroupRequest struct { *aws.Request Input *DeleteBillingGroupInput Copy func(*DeleteBillingGroupInput) DeleteBillingGroupRequest }
DeleteBillingGroupRequest is a API request type for the DeleteBillingGroup API operation.
func (DeleteBillingGroupRequest) Send ¶ added in v0.6.0
func (r DeleteBillingGroupRequest) Send(ctx context.Context) (*DeleteBillingGroupOutput, error)
Send marshals and sends the DeleteBillingGroup API request.
type DeleteCACertificateInput ¶
type DeleteCACertificateInput struct { // The ID of the certificate to delete. (The last part of the certificate ARN // contains the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` // contains filtered or unexported fields }
Input for the DeleteCACertificate operation.
func (DeleteCACertificateInput) GoString ¶
func (s DeleteCACertificateInput) GoString() string
GoString returns the string representation
func (DeleteCACertificateInput) MarshalFields ¶ added in v0.3.0
func (s DeleteCACertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteCACertificateInput) String ¶
func (s DeleteCACertificateInput) String() string
String returns the string representation
func (*DeleteCACertificateInput) Validate ¶
func (s *DeleteCACertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCACertificateOutput ¶
type DeleteCACertificateOutput struct {
// contains filtered or unexported fields
}
The output for the DeleteCACertificate operation.
func (DeleteCACertificateOutput) GoString ¶
func (s DeleteCACertificateOutput) GoString() string
GoString returns the string representation
func (DeleteCACertificateOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteCACertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeleteCACertificateInput) DeleteCACertificateRequest }
DeleteCACertificateRequest is a API request type for the DeleteCACertificate API operation.
func (DeleteCACertificateRequest) Send ¶
func (r DeleteCACertificateRequest) Send(ctx context.Context) (*DeleteCACertificateOutput, error)
Send marshals and sends the DeleteCACertificate API request.
type DeleteCertificateInput ¶
type DeleteCertificateInput struct { // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // Forces a certificate request to be deleted. ForceDelete *bool `location:"querystring" locationName:"forceDelete" type:"boolean"` // contains filtered or unexported fields }
The input for the DeleteCertificate operation.
func (DeleteCertificateInput) GoString ¶
func (s DeleteCertificateInput) GoString() string
GoString returns the string representation
func (DeleteCertificateInput) MarshalFields ¶ added in v0.3.0
func (s DeleteCertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteCertificateInput) String ¶
func (s DeleteCertificateInput) String() string
String returns the string representation
func (*DeleteCertificateInput) Validate ¶
func (s *DeleteCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCertificateOutput ¶
type DeleteCertificateOutput struct {
// contains filtered or unexported fields
}
func (DeleteCertificateOutput) GoString ¶
func (s DeleteCertificateOutput) GoString() string
GoString returns the string representation
func (DeleteCertificateOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteCertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeleteCertificateInput) DeleteCertificateRequest }
DeleteCertificateRequest is a API request type for the DeleteCertificate API operation.
func (DeleteCertificateRequest) Send ¶
func (r DeleteCertificateRequest) Send(ctx context.Context) (*DeleteCertificateOutput, error)
Send marshals and sends the DeleteCertificate API request.
type DeleteDynamicThingGroupInput ¶ added in v0.6.0
type DeleteDynamicThingGroupInput struct { // The expected version of the dynamic thing group to delete. ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` // The name of the dynamic thing group to delete. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteDynamicThingGroupInput) GoString ¶ added in v0.6.0
func (s DeleteDynamicThingGroupInput) GoString() string
GoString returns the string representation
func (DeleteDynamicThingGroupInput) MarshalFields ¶ added in v0.6.0
func (s DeleteDynamicThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDynamicThingGroupInput) String ¶ added in v0.6.0
func (s DeleteDynamicThingGroupInput) String() string
String returns the string representation
func (*DeleteDynamicThingGroupInput) Validate ¶ added in v0.6.0
func (s *DeleteDynamicThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDynamicThingGroupOutput ¶ added in v0.6.0
type DeleteDynamicThingGroupOutput struct {
// contains filtered or unexported fields
}
func (DeleteDynamicThingGroupOutput) GoString ¶ added in v0.6.0
func (s DeleteDynamicThingGroupOutput) GoString() string
GoString returns the string representation
func (DeleteDynamicThingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s DeleteDynamicThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteDynamicThingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s DeleteDynamicThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteDynamicThingGroupOutput) String ¶ added in v0.6.0
func (s DeleteDynamicThingGroupOutput) String() string
String returns the string representation
type DeleteDynamicThingGroupRequest ¶ added in v0.6.0
type DeleteDynamicThingGroupRequest struct { *aws.Request Input *DeleteDynamicThingGroupInput Copy func(*DeleteDynamicThingGroupInput) DeleteDynamicThingGroupRequest }
DeleteDynamicThingGroupRequest is a API request type for the DeleteDynamicThingGroup API operation.
func (DeleteDynamicThingGroupRequest) Send ¶ added in v0.6.0
func (r DeleteDynamicThingGroupRequest) Send(ctx context.Context) (*DeleteDynamicThingGroupOutput, error)
Send marshals and sends the DeleteDynamicThingGroup API request.
type DeleteJobExecutionInput ¶ added in v0.4.0
type DeleteJobExecutionInput struct { // The ID of the job execution to be deleted. The executionNumber refers to // the execution of a particular job on a particular device. // // Note that once a job execution is deleted, the executionNumber may be reused // by IoT, so be sure you get and use the correct value here. // // ExecutionNumber is a required field ExecutionNumber *int64 `location:"uri" locationName:"executionNumber" type:"long" required:"true"` // (Optional) When true, you can delete a job execution which is "IN_PROGRESS". // Otherwise, you can only delete a job execution which is in a terminal state // ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception // will occur. The default is false. // // Deleting a job execution which is "IN_PROGRESS", will cause the device to // be unable to access job information or update the job execution status. Use // caution and ensure that the device is able to recover to a valid state. Force *bool `location:"querystring" locationName:"force" type:"boolean"` // The ID of the job whose execution on a particular device will be deleted. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // The name of the thing whose job execution will be deleted. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteJobExecutionInput) GoString ¶ added in v0.4.0
func (s DeleteJobExecutionInput) GoString() string
GoString returns the string representation
func (DeleteJobExecutionInput) MarshalFields ¶ added in v0.4.0
func (s DeleteJobExecutionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteJobExecutionInput) String ¶ added in v0.4.0
func (s DeleteJobExecutionInput) String() string
String returns the string representation
func (*DeleteJobExecutionInput) Validate ¶ added in v0.4.0
func (s *DeleteJobExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteJobExecutionOutput ¶ added in v0.4.0
type DeleteJobExecutionOutput struct {
// contains filtered or unexported fields
}
func (DeleteJobExecutionOutput) GoString ¶ added in v0.4.0
func (s DeleteJobExecutionOutput) GoString() string
GoString returns the string representation
func (DeleteJobExecutionOutput) MarshalFields ¶ added in v0.4.0
func (s DeleteJobExecutionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteJobExecutionOutput) SDKResponseMetadata ¶ added in v0.4.0
func (s DeleteJobExecutionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteJobExecutionOutput) String ¶ added in v0.4.0
func (s DeleteJobExecutionOutput) String() string
String returns the string representation
type DeleteJobExecutionRequest ¶ added in v0.4.0
type DeleteJobExecutionRequest struct { *aws.Request Input *DeleteJobExecutionInput Copy func(*DeleteJobExecutionInput) DeleteJobExecutionRequest }
DeleteJobExecutionRequest is a API request type for the DeleteJobExecution API operation.
func (DeleteJobExecutionRequest) Send ¶ added in v0.4.0
func (r DeleteJobExecutionRequest) Send(ctx context.Context) (*DeleteJobExecutionOutput, error)
Send marshals and sends the DeleteJobExecution API request.
type DeleteJobInput ¶ added in v0.4.0
type DeleteJobInput struct { // (Optional) When true, you can delete a job which is "IN_PROGRESS". Otherwise, // you can only delete a job which is in a terminal state ("COMPLETED" or "CANCELED") // or an exception will occur. The default is false. // // Deleting a job which is "IN_PROGRESS", will cause a device which is executing // the job to be unable to access job information or update the job execution // status. Use caution and ensure that each device executing a job which is // deleted is able to recover to a valid state. Force *bool `location:"querystring" locationName:"force" type:"boolean"` // The ID of the job to be deleted. // // After a job deletion is completed, you may reuse this jobId when you create // a new job. However, this is not recommended, and you must ensure that your // devices are not using the jobId to refer to the deleted job. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteJobInput) GoString ¶ added in v0.4.0
func (s DeleteJobInput) GoString() string
GoString returns the string representation
func (DeleteJobInput) MarshalFields ¶ added in v0.4.0
func (s DeleteJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteJobInput) String ¶ added in v0.4.0
func (s DeleteJobInput) String() string
String returns the string representation
func (*DeleteJobInput) Validate ¶ added in v0.4.0
func (s *DeleteJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteJobOutput ¶ added in v0.4.0
type DeleteJobOutput struct {
// contains filtered or unexported fields
}
func (DeleteJobOutput) GoString ¶ added in v0.4.0
func (s DeleteJobOutput) GoString() string
GoString returns the string representation
func (DeleteJobOutput) MarshalFields ¶ added in v0.4.0
func (s DeleteJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteJobOutput) SDKResponseMetadata ¶ added in v0.4.0
func (s DeleteJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteJobOutput) String ¶ added in v0.4.0
func (s DeleteJobOutput) String() string
String returns the string representation
type DeleteJobRequest ¶ added in v0.4.0
type DeleteJobRequest struct { *aws.Request Input *DeleteJobInput Copy func(*DeleteJobInput) DeleteJobRequest }
DeleteJobRequest is a API request type for the DeleteJob API operation.
func (DeleteJobRequest) Send ¶ added in v0.4.0
func (r DeleteJobRequest) Send(ctx context.Context) (*DeleteJobOutput, error)
Send marshals and sends the DeleteJob API request.
type DeleteOTAUpdateInput ¶ added in v0.2.0
type DeleteOTAUpdateInput struct { // Specifies if the stream associated with an OTA update should be deleted when // the OTA update is deleted. DeleteStream *bool `location:"querystring" locationName:"deleteStream" type:"boolean"` // Specifies if the AWS Job associated with the OTA update should be deleted // with the OTA update is deleted. ForceDeleteAWSJob *bool `location:"querystring" locationName:"forceDeleteAWSJob" type:"boolean"` // The OTA update ID to delete. // // OtaUpdateId is a required field OtaUpdateId *string `location:"uri" locationName:"otaUpdateId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteOTAUpdateInput) GoString ¶ added in v0.2.0
func (s DeleteOTAUpdateInput) GoString() string
GoString returns the string representation
func (DeleteOTAUpdateInput) MarshalFields ¶ added in v0.3.0
func (s DeleteOTAUpdateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteOTAUpdateInput) String ¶ added in v0.2.0
func (s DeleteOTAUpdateInput) String() string
String returns the string representation
func (*DeleteOTAUpdateInput) Validate ¶ added in v0.2.0
func (s *DeleteOTAUpdateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteOTAUpdateOutput ¶ added in v0.2.0
type DeleteOTAUpdateOutput struct {
// contains filtered or unexported fields
}
func (DeleteOTAUpdateOutput) GoString ¶ added in v0.2.0
func (s DeleteOTAUpdateOutput) GoString() string
GoString returns the string representation
func (DeleteOTAUpdateOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteOTAUpdateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteOTAUpdateOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteOTAUpdateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteOTAUpdateOutput) String ¶ added in v0.2.0
func (s DeleteOTAUpdateOutput) String() string
String returns the string representation
type DeleteOTAUpdateRequest ¶ added in v0.2.0
type DeleteOTAUpdateRequest struct { *aws.Request Input *DeleteOTAUpdateInput Copy func(*DeleteOTAUpdateInput) DeleteOTAUpdateRequest }
DeleteOTAUpdateRequest is a API request type for the DeleteOTAUpdate API operation.
func (DeleteOTAUpdateRequest) Send ¶ added in v0.2.0
func (r DeleteOTAUpdateRequest) Send(ctx context.Context) (*DeleteOTAUpdateOutput, error)
Send marshals and sends the DeleteOTAUpdate API request.
type DeletePolicyInput ¶
type DeletePolicyInput struct { // The name of the policy to delete. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the DeletePolicy operation.
func (DeletePolicyInput) GoString ¶
func (s DeletePolicyInput) GoString() string
GoString returns the string representation
func (DeletePolicyInput) MarshalFields ¶ added in v0.3.0
func (s DeletePolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePolicyInput) String ¶
func (s DeletePolicyInput) String() string
String returns the string representation
func (*DeletePolicyInput) Validate ¶
func (s *DeletePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePolicyOutput ¶
type DeletePolicyOutput struct {
// contains filtered or unexported fields
}
func (DeletePolicyOutput) GoString ¶
func (s DeletePolicyOutput) GoString() string
GoString returns the string representation
func (DeletePolicyOutput) MarshalFields ¶ added in v0.3.0
func (s DeletePolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeletePolicyInput) DeletePolicyRequest }
DeletePolicyRequest is a API request type for the DeletePolicy API operation.
func (DeletePolicyRequest) Send ¶
func (r DeletePolicyRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s DeletePolicyVersionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeletePolicyVersionInput) String ¶
func (s DeletePolicyVersionInput) String() string
String returns the string representation
func (*DeletePolicyVersionInput) Validate ¶
func (s *DeletePolicyVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeletePolicyVersionOutput ¶
type DeletePolicyVersionOutput struct {
// contains filtered or unexported fields
}
func (DeletePolicyVersionOutput) GoString ¶
func (s DeletePolicyVersionOutput) GoString() string
GoString returns the string representation
func (DeletePolicyVersionOutput) MarshalFields ¶ added in v0.3.0
func (s DeletePolicyVersionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeletePolicyVersionInput) DeletePolicyVersionRequest }
DeletePolicyVersionRequest is a API request type for the DeletePolicyVersion API operation.
func (DeletePolicyVersionRequest) Send ¶
func (r DeletePolicyVersionRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s DeleteRegistrationCodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s DeleteRegistrationCodeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeleteRegistrationCodeInput) DeleteRegistrationCodeRequest }
DeleteRegistrationCodeRequest is a API request type for the DeleteRegistrationCode API operation.
func (DeleteRegistrationCodeRequest) Send ¶
func (r DeleteRegistrationCodeRequest) Send(ctx context.Context) (*DeleteRegistrationCodeOutput, error)
Send marshals and sends the DeleteRegistrationCode API request.
type DeleteRoleAliasInput ¶ added in v0.2.0
type DeleteRoleAliasInput struct { // The role alias to delete. // // RoleAlias is a required field RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteRoleAliasInput) GoString ¶ added in v0.2.0
func (s DeleteRoleAliasInput) GoString() string
GoString returns the string representation
func (DeleteRoleAliasInput) MarshalFields ¶ added in v0.3.0
func (s DeleteRoleAliasInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRoleAliasInput) String ¶ added in v0.2.0
func (s DeleteRoleAliasInput) String() string
String returns the string representation
func (*DeleteRoleAliasInput) Validate ¶ added in v0.2.0
func (s *DeleteRoleAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRoleAliasOutput ¶ added in v0.2.0
type DeleteRoleAliasOutput struct {
// contains filtered or unexported fields
}
func (DeleteRoleAliasOutput) GoString ¶ added in v0.2.0
func (s DeleteRoleAliasOutput) GoString() string
GoString returns the string representation
func (DeleteRoleAliasOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteRoleAliasOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteRoleAliasOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteRoleAliasOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteRoleAliasOutput) String ¶ added in v0.2.0
func (s DeleteRoleAliasOutput) String() string
String returns the string representation
type DeleteRoleAliasRequest ¶ added in v0.2.0
type DeleteRoleAliasRequest struct { *aws.Request Input *DeleteRoleAliasInput Copy func(*DeleteRoleAliasInput) DeleteRoleAliasRequest }
DeleteRoleAliasRequest is a API request type for the DeleteRoleAlias API operation.
func (DeleteRoleAliasRequest) Send ¶ added in v0.2.0
func (r DeleteRoleAliasRequest) Send(ctx context.Context) (*DeleteRoleAliasOutput, error)
Send marshals and sends the DeleteRoleAlias API request.
type DeleteScheduledAuditInput ¶ added in v0.5.0
type DeleteScheduledAuditInput struct { // The name of the scheduled audit you want to delete. // // ScheduledAuditName is a required field ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteScheduledAuditInput) GoString ¶ added in v0.5.0
func (s DeleteScheduledAuditInput) GoString() string
GoString returns the string representation
func (DeleteScheduledAuditInput) MarshalFields ¶ added in v0.5.0
func (s DeleteScheduledAuditInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteScheduledAuditInput) String ¶ added in v0.5.0
func (s DeleteScheduledAuditInput) String() string
String returns the string representation
func (*DeleteScheduledAuditInput) Validate ¶ added in v0.5.0
func (s *DeleteScheduledAuditInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteScheduledAuditOutput ¶ added in v0.5.0
type DeleteScheduledAuditOutput struct {
// contains filtered or unexported fields
}
func (DeleteScheduledAuditOutput) GoString ¶ added in v0.5.0
func (s DeleteScheduledAuditOutput) GoString() string
GoString returns the string representation
func (DeleteScheduledAuditOutput) MarshalFields ¶ added in v0.5.0
func (s DeleteScheduledAuditOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteScheduledAuditOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DeleteScheduledAuditOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteScheduledAuditOutput) String ¶ added in v0.5.0
func (s DeleteScheduledAuditOutput) String() string
String returns the string representation
type DeleteScheduledAuditRequest ¶ added in v0.5.0
type DeleteScheduledAuditRequest struct { *aws.Request Input *DeleteScheduledAuditInput Copy func(*DeleteScheduledAuditInput) DeleteScheduledAuditRequest }
DeleteScheduledAuditRequest is a API request type for the DeleteScheduledAudit API operation.
func (DeleteScheduledAuditRequest) Send ¶ added in v0.5.0
func (r DeleteScheduledAuditRequest) Send(ctx context.Context) (*DeleteScheduledAuditOutput, error)
Send marshals and sends the DeleteScheduledAudit API request.
type DeleteSecurityProfileInput ¶ added in v0.5.0
type DeleteSecurityProfileInput struct { // The expected version of the security profile. A new version is generated // whenever the security profile is updated. If you specify a value that is // different than the actual version, a VersionConflictException is thrown. ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` // The name of the security profile to be deleted. // // SecurityProfileName is a required field SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteSecurityProfileInput) GoString ¶ added in v0.5.0
func (s DeleteSecurityProfileInput) GoString() string
GoString returns the string representation
func (DeleteSecurityProfileInput) MarshalFields ¶ added in v0.5.0
func (s DeleteSecurityProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSecurityProfileInput) String ¶ added in v0.5.0
func (s DeleteSecurityProfileInput) String() string
String returns the string representation
func (*DeleteSecurityProfileInput) Validate ¶ added in v0.5.0
func (s *DeleteSecurityProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSecurityProfileOutput ¶ added in v0.5.0
type DeleteSecurityProfileOutput struct {
// contains filtered or unexported fields
}
func (DeleteSecurityProfileOutput) GoString ¶ added in v0.5.0
func (s DeleteSecurityProfileOutput) GoString() string
GoString returns the string representation
func (DeleteSecurityProfileOutput) MarshalFields ¶ added in v0.5.0
func (s DeleteSecurityProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSecurityProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DeleteSecurityProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteSecurityProfileOutput) String ¶ added in v0.5.0
func (s DeleteSecurityProfileOutput) String() string
String returns the string representation
type DeleteSecurityProfileRequest ¶ added in v0.5.0
type DeleteSecurityProfileRequest struct { *aws.Request Input *DeleteSecurityProfileInput Copy func(*DeleteSecurityProfileInput) DeleteSecurityProfileRequest }
DeleteSecurityProfileRequest is a API request type for the DeleteSecurityProfile API operation.
func (DeleteSecurityProfileRequest) Send ¶ added in v0.5.0
func (r DeleteSecurityProfileRequest) Send(ctx context.Context) (*DeleteSecurityProfileOutput, error)
Send marshals and sends the DeleteSecurityProfile API request.
type DeleteStreamInput ¶ added in v0.2.0
type DeleteStreamInput struct { // The stream ID. // // StreamId is a required field StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteStreamInput) GoString ¶ added in v0.2.0
func (s DeleteStreamInput) GoString() string
GoString returns the string representation
func (DeleteStreamInput) MarshalFields ¶ added in v0.3.0
func (s DeleteStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteStreamInput) String ¶ added in v0.2.0
func (s DeleteStreamInput) String() string
String returns the string representation
func (*DeleteStreamInput) Validate ¶ added in v0.2.0
func (s *DeleteStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteStreamOutput ¶ added in v0.2.0
type DeleteStreamOutput struct {
// contains filtered or unexported fields
}
func (DeleteStreamOutput) GoString ¶ added in v0.2.0
func (s DeleteStreamOutput) GoString() string
GoString returns the string representation
func (DeleteStreamOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteStreamOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteStreamOutput) String ¶ added in v0.2.0
func (s DeleteStreamOutput) String() string
String returns the string representation
type DeleteStreamRequest ¶ added in v0.2.0
type DeleteStreamRequest struct { *aws.Request Input *DeleteStreamInput Copy func(*DeleteStreamInput) DeleteStreamRequest }
DeleteStreamRequest is a API request type for the DeleteStream API operation.
func (DeleteStreamRequest) Send ¶ added in v0.2.0
func (r DeleteStreamRequest) Send(ctx context.Context) (*DeleteStreamOutput, error)
Send marshals and sends the DeleteStream API request.
type DeleteThingGroupInput ¶ added in v0.2.0
type DeleteThingGroupInput struct { // The expected version of the thing group to delete. ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` // The name of the thing group to delete. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteThingGroupInput) GoString ¶ added in v0.2.0
func (s DeleteThingGroupInput) GoString() string
GoString returns the string representation
func (DeleteThingGroupInput) MarshalFields ¶ added in v0.3.0
func (s DeleteThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteThingGroupInput) String ¶ added in v0.2.0
func (s DeleteThingGroupInput) String() string
String returns the string representation
func (*DeleteThingGroupInput) Validate ¶ added in v0.2.0
func (s *DeleteThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteThingGroupOutput ¶ added in v0.2.0
type DeleteThingGroupOutput struct {
// contains filtered or unexported fields
}
func (DeleteThingGroupOutput) GoString ¶ added in v0.2.0
func (s DeleteThingGroupOutput) GoString() string
GoString returns the string representation
func (DeleteThingGroupOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteThingGroupOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteThingGroupOutput) String ¶ added in v0.2.0
func (s DeleteThingGroupOutput) String() string
String returns the string representation
type DeleteThingGroupRequest ¶ added in v0.2.0
type DeleteThingGroupRequest struct { *aws.Request Input *DeleteThingGroupInput Copy func(*DeleteThingGroupInput) DeleteThingGroupRequest }
DeleteThingGroupRequest is a API request type for the DeleteThingGroup API operation.
func (DeleteThingGroupRequest) Send ¶ added in v0.2.0
func (r DeleteThingGroupRequest) Send(ctx context.Context) (*DeleteThingGroupOutput, error)
Send marshals and sends the DeleteThingGroup API request.
type DeleteThingInput ¶
type DeleteThingInput struct { // The expected version of the thing record in the registry. If the version // of the record in the registry does not match the expected version specified // in the request, the DeleteThing request is rejected with a VersionConflictException. ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` // The name of the thing to delete. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the DeleteThing operation.
func (DeleteThingInput) GoString ¶
func (s DeleteThingInput) GoString() string
GoString returns the string representation
func (DeleteThingInput) MarshalFields ¶ added in v0.3.0
func (s DeleteThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteThingInput) String ¶
func (s DeleteThingInput) String() string
String returns the string representation
func (*DeleteThingInput) Validate ¶
func (s *DeleteThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteThingOutput ¶
type DeleteThingOutput struct {
// contains filtered or unexported fields
}
The output of the DeleteThing operation.
func (DeleteThingOutput) GoString ¶
func (s DeleteThingOutput) GoString() string
GoString returns the string representation
func (DeleteThingOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeleteThingInput) DeleteThingRequest }
DeleteThingRequest is a API request type for the DeleteThing API operation.
func (DeleteThingRequest) Send ¶
func (r DeleteThingRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s DeleteThingTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteThingTypeInput) String ¶
func (s DeleteThingTypeInput) String() string
String returns the string representation
func (*DeleteThingTypeInput) Validate ¶
func (s *DeleteThingTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteThingTypeOutput ¶
type DeleteThingTypeOutput struct {
// contains filtered or unexported fields
}
The output for the DeleteThingType operation.
func (DeleteThingTypeOutput) GoString ¶
func (s DeleteThingTypeOutput) GoString() string
GoString returns the string representation
func (DeleteThingTypeOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteThingTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeleteThingTypeInput) DeleteThingTypeRequest }
DeleteThingTypeRequest is a API request type for the DeleteThingType API operation.
func (DeleteThingTypeRequest) Send ¶
func (r DeleteThingTypeRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s DeleteTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteTopicRuleInput) String ¶
func (s DeleteTopicRuleInput) String() string
String returns the string representation
func (*DeleteTopicRuleInput) Validate ¶
func (s *DeleteTopicRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTopicRuleOutput ¶
type DeleteTopicRuleOutput struct {
// contains filtered or unexported fields
}
func (DeleteTopicRuleOutput) GoString ¶
func (s DeleteTopicRuleOutput) GoString() string
GoString returns the string representation
func (DeleteTopicRuleOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeleteTopicRuleInput) DeleteTopicRuleRequest }
DeleteTopicRuleRequest is a API request type for the DeleteTopicRule API operation.
func (DeleteTopicRuleRequest) Send ¶
func (r DeleteTopicRuleRequest) Send(ctx context.Context) (*DeleteTopicRuleOutput, error)
Send marshals and sends the DeleteTopicRule API request.
type DeleteV2LoggingLevelInput ¶ added in v0.2.0
type DeleteV2LoggingLevelInput struct { // The name of the resource for which you are configuring logging. // // TargetName is a required field TargetName *string `location:"querystring" locationName:"targetName" type:"string" required:"true"` // The type of resource for which you are configuring logging. Must be THING_Group. // // TargetType is a required field TargetType LogTargetType `location:"querystring" locationName:"targetType" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
func (DeleteV2LoggingLevelInput) GoString ¶ added in v0.2.0
func (s DeleteV2LoggingLevelInput) GoString() string
GoString returns the string representation
func (DeleteV2LoggingLevelInput) MarshalFields ¶ added in v0.3.0
func (s DeleteV2LoggingLevelInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteV2LoggingLevelInput) String ¶ added in v0.2.0
func (s DeleteV2LoggingLevelInput) String() string
String returns the string representation
func (*DeleteV2LoggingLevelInput) Validate ¶ added in v0.2.0
func (s *DeleteV2LoggingLevelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteV2LoggingLevelOutput ¶ added in v0.2.0
type DeleteV2LoggingLevelOutput struct {
// contains filtered or unexported fields
}
func (DeleteV2LoggingLevelOutput) GoString ¶ added in v0.2.0
func (s DeleteV2LoggingLevelOutput) GoString() string
GoString returns the string representation
func (DeleteV2LoggingLevelOutput) MarshalFields ¶ added in v0.3.0
func (s DeleteV2LoggingLevelOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteV2LoggingLevelOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DeleteV2LoggingLevelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteV2LoggingLevelOutput) String ¶ added in v0.2.0
func (s DeleteV2LoggingLevelOutput) String() string
String returns the string representation
type DeleteV2LoggingLevelRequest ¶ added in v0.2.0
type DeleteV2LoggingLevelRequest struct { *aws.Request Input *DeleteV2LoggingLevelInput Copy func(*DeleteV2LoggingLevelInput) DeleteV2LoggingLevelRequest }
DeleteV2LoggingLevelRequest is a API request type for the DeleteV2LoggingLevel API operation.
func (DeleteV2LoggingLevelRequest) Send ¶ added in v0.2.0
func (r DeleteV2LoggingLevelRequest) Send(ctx context.Context) (*DeleteV2LoggingLevelOutput, error)
Send marshals and sends the DeleteV2LoggingLevel API request.
type Denied ¶ added in v0.2.0
type Denied struct { // Information that explicitly denies the authorization. ExplicitDeny *ExplicitDeny `locationName:"explicitDeny" type:"structure"` // Information that implicitly denies the authorization. When a policy doesn't // explicitly deny or allow an action on a resource it is considered an implicit // deny. ImplicitDeny *ImplicitDeny `locationName:"implicitDeny" type:"structure"` // contains filtered or unexported fields }
Contains information that denied the authorization.
func (Denied) MarshalFields ¶ added in v0.3.0
func (s Denied) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s DeprecateThingTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeprecateThingTypeInput) String ¶
func (s DeprecateThingTypeInput) String() string
String returns the string representation
func (*DeprecateThingTypeInput) Validate ¶
func (s *DeprecateThingTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeprecateThingTypeOutput ¶
type DeprecateThingTypeOutput struct {
// contains filtered or unexported fields
}
The output for the DeprecateThingType operation.
func (DeprecateThingTypeOutput) GoString ¶
func (s DeprecateThingTypeOutput) GoString() string
GoString returns the string representation
func (DeprecateThingTypeOutput) MarshalFields ¶ added in v0.3.0
func (s DeprecateThingTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DeprecateThingTypeInput) DeprecateThingTypeRequest }
DeprecateThingTypeRequest is a API request type for the DeprecateThingType API operation.
func (DeprecateThingTypeRequest) Send ¶
func (r DeprecateThingTypeRequest) Send(ctx context.Context) (*DeprecateThingTypeOutput, error)
Send marshals and sends the DeprecateThingType API request.
type DescribeAccountAuditConfigurationInput ¶ added in v0.5.0
type DescribeAccountAuditConfigurationInput struct {
// contains filtered or unexported fields
}
func (DescribeAccountAuditConfigurationInput) GoString ¶ added in v0.5.0
func (s DescribeAccountAuditConfigurationInput) GoString() string
GoString returns the string representation
func (DescribeAccountAuditConfigurationInput) MarshalFields ¶ added in v0.5.0
func (s DescribeAccountAuditConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeAccountAuditConfigurationInput) String ¶ added in v0.5.0
func (s DescribeAccountAuditConfigurationInput) String() string
String returns the string representation
type DescribeAccountAuditConfigurationOutput ¶ added in v0.5.0
type DescribeAccountAuditConfigurationOutput struct { // Which audit checks are enabled and disabled for this account. AuditCheckConfigurations map[string]AuditCheckConfiguration `locationName:"auditCheckConfigurations" type:"map"` // Information about the targets to which audit notifications are sent for this // account. AuditNotificationTargetConfigurations map[string]AuditNotificationTarget `locationName:"auditNotificationTargetConfigurations" type:"map"` // The ARN of the role that grants permission to AWS IoT to access information // about your devices, policies, certificates and other items as necessary when // performing an audit. // // On the first call to UpdateAccountAuditConfiguration this parameter is required. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // contains filtered or unexported fields }
func (DescribeAccountAuditConfigurationOutput) GoString ¶ added in v0.5.0
func (s DescribeAccountAuditConfigurationOutput) GoString() string
GoString returns the string representation
func (DescribeAccountAuditConfigurationOutput) MarshalFields ¶ added in v0.5.0
func (s DescribeAccountAuditConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeAccountAuditConfigurationOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DescribeAccountAuditConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeAccountAuditConfigurationOutput) String ¶ added in v0.5.0
func (s DescribeAccountAuditConfigurationOutput) String() string
String returns the string representation
type DescribeAccountAuditConfigurationRequest ¶ added in v0.5.0
type DescribeAccountAuditConfigurationRequest struct { *aws.Request Input *DescribeAccountAuditConfigurationInput Copy func(*DescribeAccountAuditConfigurationInput) DescribeAccountAuditConfigurationRequest }
DescribeAccountAuditConfigurationRequest is a API request type for the DescribeAccountAuditConfiguration API operation.
func (DescribeAccountAuditConfigurationRequest) Send ¶ added in v0.5.0
func (r DescribeAccountAuditConfigurationRequest) Send(ctx context.Context) (*DescribeAccountAuditConfigurationOutput, error)
Send marshals and sends the DescribeAccountAuditConfiguration API request.
type DescribeAuditTaskInput ¶ added in v0.5.0
type DescribeAuditTaskInput struct { // The ID of the audit whose information you want to get. // // TaskId is a required field TaskId *string `location:"uri" locationName:"taskId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeAuditTaskInput) GoString ¶ added in v0.5.0
func (s DescribeAuditTaskInput) GoString() string
GoString returns the string representation
func (DescribeAuditTaskInput) MarshalFields ¶ added in v0.5.0
func (s DescribeAuditTaskInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeAuditTaskInput) String ¶ added in v0.5.0
func (s DescribeAuditTaskInput) String() string
String returns the string representation
func (*DescribeAuditTaskInput) Validate ¶ added in v0.5.0
func (s *DescribeAuditTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAuditTaskOutput ¶ added in v0.5.0
type DescribeAuditTaskOutput struct { // Detailed information about each check performed during this audit. AuditDetails map[string]AuditCheckDetails `locationName:"auditDetails" type:"map"` // The name of the scheduled audit (only if the audit was a scheduled audit). ScheduledAuditName *string `locationName:"scheduledAuditName" min:"1" type:"string"` // The time the audit started. TaskStartTime *time.Time `locationName:"taskStartTime" type:"timestamp" timestampFormat:"unix"` // Statistical information about the audit. TaskStatistics *TaskStatistics `locationName:"taskStatistics" type:"structure"` // The status of the audit: one of "IN_PROGRESS", "COMPLETED", "FAILED", or // "CANCELED". TaskStatus AuditTaskStatus `locationName:"taskStatus" type:"string" enum:"true"` // The type of audit: "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK". TaskType AuditTaskType `locationName:"taskType" type:"string" enum:"true"` // contains filtered or unexported fields }
func (DescribeAuditTaskOutput) GoString ¶ added in v0.5.0
func (s DescribeAuditTaskOutput) GoString() string
GoString returns the string representation
func (DescribeAuditTaskOutput) MarshalFields ¶ added in v0.5.0
func (s DescribeAuditTaskOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeAuditTaskOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DescribeAuditTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeAuditTaskOutput) String ¶ added in v0.5.0
func (s DescribeAuditTaskOutput) String() string
String returns the string representation
type DescribeAuditTaskRequest ¶ added in v0.5.0
type DescribeAuditTaskRequest struct { *aws.Request Input *DescribeAuditTaskInput Copy func(*DescribeAuditTaskInput) DescribeAuditTaskRequest }
DescribeAuditTaskRequest is a API request type for the DescribeAuditTask API operation.
func (DescribeAuditTaskRequest) Send ¶ added in v0.5.0
func (r DescribeAuditTaskRequest) Send(ctx context.Context) (*DescribeAuditTaskOutput, error)
Send marshals and sends the DescribeAuditTask API request.
type DescribeAuthorizerInput ¶ added in v0.2.0
type DescribeAuthorizerInput struct { // The name of the authorizer to describe. // // AuthorizerName is a required field AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeAuthorizerInput) GoString ¶ added in v0.2.0
func (s DescribeAuthorizerInput) GoString() string
GoString returns the string representation
func (DescribeAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s DescribeAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeAuthorizerInput) String ¶ added in v0.2.0
func (s DescribeAuthorizerInput) String() string
String returns the string representation
func (*DescribeAuthorizerInput) Validate ¶ added in v0.2.0
func (s *DescribeAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAuthorizerOutput ¶ added in v0.2.0
type DescribeAuthorizerOutput struct { // The authorizer description. AuthorizerDescription *AuthorizerDescription `locationName:"authorizerDescription" type:"structure"` // contains filtered or unexported fields }
func (DescribeAuthorizerOutput) GoString ¶ added in v0.2.0
func (s DescribeAuthorizerOutput) GoString() string
GoString returns the string representation
func (DescribeAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeAuthorizerOutput) String ¶ added in v0.2.0
func (s DescribeAuthorizerOutput) String() string
String returns the string representation
type DescribeAuthorizerRequest ¶ added in v0.2.0
type DescribeAuthorizerRequest struct { *aws.Request Input *DescribeAuthorizerInput Copy func(*DescribeAuthorizerInput) DescribeAuthorizerRequest }
DescribeAuthorizerRequest is a API request type for the DescribeAuthorizer API operation.
func (DescribeAuthorizerRequest) Send ¶ added in v0.2.0
func (r DescribeAuthorizerRequest) Send(ctx context.Context) (*DescribeAuthorizerOutput, error)
Send marshals and sends the DescribeAuthorizer API request.
type DescribeBillingGroupInput ¶ added in v0.6.0
type DescribeBillingGroupInput struct { // The name of the billing group. // // BillingGroupName is a required field BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeBillingGroupInput) GoString ¶ added in v0.6.0
func (s DescribeBillingGroupInput) GoString() string
GoString returns the string representation
func (DescribeBillingGroupInput) MarshalFields ¶ added in v0.6.0
func (s DescribeBillingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeBillingGroupInput) String ¶ added in v0.6.0
func (s DescribeBillingGroupInput) String() string
String returns the string representation
func (*DescribeBillingGroupInput) Validate ¶ added in v0.6.0
func (s *DescribeBillingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeBillingGroupOutput ¶ added in v0.6.0
type DescribeBillingGroupOutput struct { // The ARN of the billing group. BillingGroupArn *string `locationName:"billingGroupArn" type:"string"` // The ID of the billing group. BillingGroupId *string `locationName:"billingGroupId" min:"1" type:"string"` // Additional information about the billing group. BillingGroupMetadata *BillingGroupMetadata `locationName:"billingGroupMetadata" type:"structure"` // The name of the billing group. BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"` // The properties of the billing group. BillingGroupProperties *BillingGroupProperties `locationName:"billingGroupProperties" type:"structure"` // The version of the billing group. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
func (DescribeBillingGroupOutput) GoString ¶ added in v0.6.0
func (s DescribeBillingGroupOutput) GoString() string
GoString returns the string representation
func (DescribeBillingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s DescribeBillingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeBillingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s DescribeBillingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeBillingGroupOutput) String ¶ added in v0.6.0
func (s DescribeBillingGroupOutput) String() string
String returns the string representation
type DescribeBillingGroupRequest ¶ added in v0.6.0
type DescribeBillingGroupRequest struct { *aws.Request Input *DescribeBillingGroupInput Copy func(*DescribeBillingGroupInput) DescribeBillingGroupRequest }
DescribeBillingGroupRequest is a API request type for the DescribeBillingGroup API operation.
func (DescribeBillingGroupRequest) Send ¶ added in v0.6.0
func (r DescribeBillingGroupRequest) Send(ctx context.Context) (*DescribeBillingGroupOutput, error)
Send marshals and sends the DescribeBillingGroup 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) MarshalFields ¶ added in v0.3.0
func (s DescribeCACertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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"` // Information about the registration configuration. RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` // contains filtered or unexported fields }
The output from the DescribeCACertificate operation.
func (DescribeCACertificateOutput) GoString ¶
func (s DescribeCACertificateOutput) GoString() string
GoString returns the string representation
func (DescribeCACertificateOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeCACertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeCACertificateOutput) SDKResponseMetadata ¶
func (s DescribeCACertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeCACertificateOutput) String ¶
func (s DescribeCACertificateOutput) String() string
String returns the string representation
type DescribeCACertificateRequest ¶
type DescribeCACertificateRequest struct { *aws.Request Input *DescribeCACertificateInput Copy func(*DescribeCACertificateInput) DescribeCACertificateRequest }
DescribeCACertificateRequest is a API request type for the DescribeCACertificate API operation.
func (DescribeCACertificateRequest) Send ¶
func (r DescribeCACertificateRequest) Send(ctx context.Context) (*DescribeCACertificateOutput, error)
Send marshals and sends the DescribeCACertificate API request.
type DescribeCertificateInput ¶
type DescribeCertificateInput struct { // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the DescribeCertificate operation.
func (DescribeCertificateInput) GoString ¶
func (s DescribeCertificateInput) GoString() string
GoString returns the string representation
func (DescribeCertificateInput) MarshalFields ¶ added in v0.3.0
func (s DescribeCertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeCertificateInput) String ¶
func (s DescribeCertificateInput) String() string
String returns the string representation
func (*DescribeCertificateInput) Validate ¶
func (s *DescribeCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCertificateOutput ¶
type DescribeCertificateOutput struct { // The description of the certificate. CertificateDescription *CertificateDescription `locationName:"certificateDescription" type:"structure"` // contains filtered or unexported fields }
The output of the DescribeCertificate operation.
func (DescribeCertificateOutput) GoString ¶
func (s DescribeCertificateOutput) GoString() string
GoString returns the string representation
func (DescribeCertificateOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeCertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeCertificateOutput) SDKResponseMetadata ¶
func (s DescribeCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeCertificateOutput) String ¶
func (s DescribeCertificateOutput) String() string
String returns the string representation
type DescribeCertificateRequest ¶
type DescribeCertificateRequest struct { *aws.Request Input *DescribeCertificateInput Copy func(*DescribeCertificateInput) DescribeCertificateRequest }
DescribeCertificateRequest is a API request type for the DescribeCertificate API operation.
func (DescribeCertificateRequest) Send ¶
func (r DescribeCertificateRequest) Send(ctx context.Context) (*DescribeCertificateOutput, error)
Send marshals and sends the DescribeCertificate API request.
type DescribeDefaultAuthorizerInput ¶ added in v0.2.0
type DescribeDefaultAuthorizerInput struct {
// contains filtered or unexported fields
}
func (DescribeDefaultAuthorizerInput) GoString ¶ added in v0.2.0
func (s DescribeDefaultAuthorizerInput) GoString() string
GoString returns the string representation
func (DescribeDefaultAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s DescribeDefaultAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeDefaultAuthorizerInput) String ¶ added in v0.2.0
func (s DescribeDefaultAuthorizerInput) String() string
String returns the string representation
type DescribeDefaultAuthorizerOutput ¶ added in v0.2.0
type DescribeDefaultAuthorizerOutput struct { // The default authorizer's description. AuthorizerDescription *AuthorizerDescription `locationName:"authorizerDescription" type:"structure"` // contains filtered or unexported fields }
func (DescribeDefaultAuthorizerOutput) GoString ¶ added in v0.2.0
func (s DescribeDefaultAuthorizerOutput) GoString() string
GoString returns the string representation
func (DescribeDefaultAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeDefaultAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeDefaultAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeDefaultAuthorizerOutput) String ¶ added in v0.2.0
func (s DescribeDefaultAuthorizerOutput) String() string
String returns the string representation
type DescribeDefaultAuthorizerRequest ¶ added in v0.2.0
type DescribeDefaultAuthorizerRequest struct { *aws.Request Input *DescribeDefaultAuthorizerInput Copy func(*DescribeDefaultAuthorizerInput) DescribeDefaultAuthorizerRequest }
DescribeDefaultAuthorizerRequest is a API request type for the DescribeDefaultAuthorizer API operation.
func (DescribeDefaultAuthorizerRequest) Send ¶ added in v0.2.0
func (r DescribeDefaultAuthorizerRequest) Send(ctx context.Context) (*DescribeDefaultAuthorizerOutput, error)
Send marshals and sends the DescribeDefaultAuthorizer API request.
type DescribeEndpointInput ¶
type DescribeEndpointInput struct { // The endpoint type. Valid endpoint types include: // // * iot:Data - Returns a VeriSign signed data endpoint. // // * iot:Data-ATS - Returns an ATS signed data endpoint. // // * iot:CredentialProvider - Returns an AWS IoT credentials provider API // endpoint. // // * iot:Jobs - Returns an AWS IoT device management Jobs API endpoint. EndpointType *string `location:"querystring" locationName:"endpointType" type:"string"` // contains filtered or unexported fields }
The input for the DescribeEndpoint operation.
func (DescribeEndpointInput) GoString ¶
func (s DescribeEndpointInput) GoString() string
GoString returns the string representation
func (DescribeEndpointInput) MarshalFields ¶ added in v0.3.0
func (s DescribeEndpointInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeEndpointInput) String ¶
func (s DescribeEndpointInput) String() string
String returns the string representation
type DescribeEndpointOutput ¶
type DescribeEndpointOutput struct { // The endpoint. The format of the endpoint is as follows: identifier.iot.region.amazonaws.com. EndpointAddress *string `locationName:"endpointAddress" type:"string"` // contains filtered or unexported fields }
The output from the DescribeEndpoint operation.
func (DescribeEndpointOutput) GoString ¶
func (s DescribeEndpointOutput) GoString() string
GoString returns the string representation
func (DescribeEndpointOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeEndpointOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeEndpointOutput) SDKResponseMetadata ¶
func (s DescribeEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeEndpointOutput) String ¶
func (s DescribeEndpointOutput) String() string
String returns the string representation
type DescribeEndpointRequest ¶
type DescribeEndpointRequest struct { *aws.Request Input *DescribeEndpointInput Copy func(*DescribeEndpointInput) DescribeEndpointRequest }
DescribeEndpointRequest is a API request type for the DescribeEndpoint API operation.
func (DescribeEndpointRequest) Send ¶
func (r DescribeEndpointRequest) Send(ctx context.Context) (*DescribeEndpointOutput, error)
Send marshals and sends the DescribeEndpoint API request.
type DescribeEventConfigurationsInput ¶ added in v0.2.0
type DescribeEventConfigurationsInput struct {
// contains filtered or unexported fields
}
func (DescribeEventConfigurationsInput) GoString ¶ added in v0.2.0
func (s DescribeEventConfigurationsInput) GoString() string
GoString returns the string representation
func (DescribeEventConfigurationsInput) MarshalFields ¶ added in v0.3.0
func (s DescribeEventConfigurationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeEventConfigurationsInput) String ¶ added in v0.2.0
func (s DescribeEventConfigurationsInput) String() string
String returns the string representation
type DescribeEventConfigurationsOutput ¶ added in v0.2.0
type DescribeEventConfigurationsOutput struct { // The creation date of the event configuration. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The event configurations. EventConfigurations map[string]Configuration `locationName:"eventConfigurations" type:"map"` // The date the event configurations were last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
func (DescribeEventConfigurationsOutput) GoString ¶ added in v0.2.0
func (s DescribeEventConfigurationsOutput) GoString() string
GoString returns the string representation
func (DescribeEventConfigurationsOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeEventConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeEventConfigurationsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeEventConfigurationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeEventConfigurationsOutput) String ¶ added in v0.2.0
func (s DescribeEventConfigurationsOutput) String() string
String returns the string representation
type DescribeEventConfigurationsRequest ¶ added in v0.2.0
type DescribeEventConfigurationsRequest struct { *aws.Request Input *DescribeEventConfigurationsInput Copy func(*DescribeEventConfigurationsInput) DescribeEventConfigurationsRequest }
DescribeEventConfigurationsRequest is a API request type for the DescribeEventConfigurations API operation.
func (DescribeEventConfigurationsRequest) Send ¶ added in v0.2.0
func (r DescribeEventConfigurationsRequest) Send(ctx context.Context) (*DescribeEventConfigurationsOutput, error)
Send marshals and sends the DescribeEventConfigurations API request.
type DescribeIndexInput ¶ added in v0.2.0
type DescribeIndexInput struct { // The index name. // // IndexName is a required field IndexName *string `location:"uri" locationName:"indexName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeIndexInput) GoString ¶ added in v0.2.0
func (s DescribeIndexInput) GoString() string
GoString returns the string representation
func (DescribeIndexInput) MarshalFields ¶ added in v0.3.0
func (s DescribeIndexInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeIndexInput) String ¶ added in v0.2.0
func (s DescribeIndexInput) String() string
String returns the string representation
func (*DescribeIndexInput) Validate ¶ added in v0.2.0
func (s *DescribeIndexInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeIndexOutput ¶ added in v0.2.0
type DescribeIndexOutput struct { // The index name. IndexName *string `locationName:"indexName" min:"1" type:"string"` // The index status. IndexStatus IndexStatus `locationName:"indexStatus" type:"string" enum:"true"` // Contains a value that specifies the type of indexing performed. Valid values // are: // // * REGISTRY – Your thing index contains only registry data. // // * REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow // data. // // * REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry // data and thing connectivity status data. // // * REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains // registry data, shadow data, and thing connectivity status data. Schema *string `locationName:"schema" type:"string"` // contains filtered or unexported fields }
func (DescribeIndexOutput) GoString ¶ added in v0.2.0
func (s DescribeIndexOutput) GoString() string
GoString returns the string representation
func (DescribeIndexOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeIndexOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeIndexOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeIndexOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeIndexOutput) String ¶ added in v0.2.0
func (s DescribeIndexOutput) String() string
String returns the string representation
type DescribeIndexRequest ¶ added in v0.2.0
type DescribeIndexRequest struct { *aws.Request Input *DescribeIndexInput Copy func(*DescribeIndexInput) DescribeIndexRequest }
DescribeIndexRequest is a API request type for the DescribeIndex API operation.
func (DescribeIndexRequest) Send ¶ added in v0.2.0
func (r DescribeIndexRequest) Send(ctx context.Context) (*DescribeIndexOutput, error)
Send marshals and sends the DescribeIndex API request.
type DescribeJobExecutionInput ¶ added in v0.2.0
type DescribeJobExecutionInput struct { // A string (consisting of the digits "0" through "9" which is used to specify // a particular job execution on a particular device. ExecutionNumber *int64 `location:"querystring" locationName:"executionNumber" type:"long"` // The unique identifier you assigned to this job when it was created. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // The name of the thing on which the job execution is running. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeJobExecutionInput) GoString ¶ added in v0.2.0
func (s DescribeJobExecutionInput) GoString() string
GoString returns the string representation
func (DescribeJobExecutionInput) MarshalFields ¶ added in v0.3.0
func (s DescribeJobExecutionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeJobExecutionInput) String ¶ added in v0.2.0
func (s DescribeJobExecutionInput) String() string
String returns the string representation
func (*DescribeJobExecutionInput) Validate ¶ added in v0.2.0
func (s *DescribeJobExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeJobExecutionOutput ¶ added in v0.2.0
type DescribeJobExecutionOutput struct { // Information about the job execution. Execution *JobExecution `locationName:"execution" type:"structure"` // contains filtered or unexported fields }
func (DescribeJobExecutionOutput) GoString ¶ added in v0.2.0
func (s DescribeJobExecutionOutput) GoString() string
GoString returns the string representation
func (DescribeJobExecutionOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeJobExecutionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeJobExecutionOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeJobExecutionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeJobExecutionOutput) String ¶ added in v0.2.0
func (s DescribeJobExecutionOutput) String() string
String returns the string representation
type DescribeJobExecutionRequest ¶ added in v0.2.0
type DescribeJobExecutionRequest struct { *aws.Request Input *DescribeJobExecutionInput Copy func(*DescribeJobExecutionInput) DescribeJobExecutionRequest }
DescribeJobExecutionRequest is a API request type for the DescribeJobExecution API operation.
func (DescribeJobExecutionRequest) Send ¶ added in v0.2.0
func (r DescribeJobExecutionRequest) Send(ctx context.Context) (*DescribeJobExecutionOutput, error)
Send marshals and sends the DescribeJobExecution API request.
type DescribeJobInput ¶ added in v0.2.0
type DescribeJobInput struct { // The unique identifier you assigned to this job when it was created. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeJobInput) GoString ¶ added in v0.2.0
func (s DescribeJobInput) GoString() string
GoString returns the string representation
func (DescribeJobInput) MarshalFields ¶ added in v0.3.0
func (s DescribeJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeJobInput) String ¶ added in v0.2.0
func (s DescribeJobInput) String() string
String returns the string representation
func (*DescribeJobInput) Validate ¶ added in v0.2.0
func (s *DescribeJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeJobOutput ¶ added in v0.2.0
type DescribeJobOutput struct { // An S3 link to the job document. DocumentSource *string `locationName:"documentSource" min:"1" type:"string"` // Information about the job. Job *Job `locationName:"job" type:"structure"` // contains filtered or unexported fields }
func (DescribeJobOutput) GoString ¶ added in v0.2.0
func (s DescribeJobOutput) GoString() string
GoString returns the string representation
func (DescribeJobOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeJobOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeJobOutput) String ¶ added in v0.2.0
func (s DescribeJobOutput) String() string
String returns the string representation
type DescribeJobRequest ¶ added in v0.2.0
type DescribeJobRequest struct { *aws.Request Input *DescribeJobInput Copy func(*DescribeJobInput) DescribeJobRequest }
DescribeJobRequest is a API request type for the DescribeJob API operation.
func (DescribeJobRequest) Send ¶ added in v0.2.0
func (r DescribeJobRequest) Send(ctx context.Context) (*DescribeJobOutput, error)
Send marshals and sends the DescribeJob API request.
type DescribeRoleAliasInput ¶ added in v0.2.0
type DescribeRoleAliasInput struct { // The role alias to describe. // // RoleAlias is a required field RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRoleAliasInput) GoString ¶ added in v0.2.0
func (s DescribeRoleAliasInput) GoString() string
GoString returns the string representation
func (DescribeRoleAliasInput) MarshalFields ¶ added in v0.3.0
func (s DescribeRoleAliasInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRoleAliasInput) String ¶ added in v0.2.0
func (s DescribeRoleAliasInput) String() string
String returns the string representation
func (*DescribeRoleAliasInput) Validate ¶ added in v0.2.0
func (s *DescribeRoleAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRoleAliasOutput ¶ added in v0.2.0
type DescribeRoleAliasOutput struct { // The role alias description. RoleAliasDescription *RoleAliasDescription `locationName:"roleAliasDescription" type:"structure"` // contains filtered or unexported fields }
func (DescribeRoleAliasOutput) GoString ¶ added in v0.2.0
func (s DescribeRoleAliasOutput) GoString() string
GoString returns the string representation
func (DescribeRoleAliasOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeRoleAliasOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeRoleAliasOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeRoleAliasOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeRoleAliasOutput) String ¶ added in v0.2.0
func (s DescribeRoleAliasOutput) String() string
String returns the string representation
type DescribeRoleAliasRequest ¶ added in v0.2.0
type DescribeRoleAliasRequest struct { *aws.Request Input *DescribeRoleAliasInput Copy func(*DescribeRoleAliasInput) DescribeRoleAliasRequest }
DescribeRoleAliasRequest is a API request type for the DescribeRoleAlias API operation.
func (DescribeRoleAliasRequest) Send ¶ added in v0.2.0
func (r DescribeRoleAliasRequest) Send(ctx context.Context) (*DescribeRoleAliasOutput, error)
Send marshals and sends the DescribeRoleAlias API request.
type DescribeScheduledAuditInput ¶ added in v0.5.0
type DescribeScheduledAuditInput struct { // The name of the scheduled audit whose information you want to get. // // ScheduledAuditName is a required field ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeScheduledAuditInput) GoString ¶ added in v0.5.0
func (s DescribeScheduledAuditInput) GoString() string
GoString returns the string representation
func (DescribeScheduledAuditInput) MarshalFields ¶ added in v0.5.0
func (s DescribeScheduledAuditInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeScheduledAuditInput) String ¶ added in v0.5.0
func (s DescribeScheduledAuditInput) String() string
String returns the string representation
func (*DescribeScheduledAuditInput) Validate ¶ added in v0.5.0
func (s *DescribeScheduledAuditInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeScheduledAuditOutput ¶ added in v0.5.0
type DescribeScheduledAuditOutput struct { // The day of the month on which the scheduled audit takes place. Will be "1" // through "31" or "LAST". If days 29-31 are specified, and the month does not // have that many days, the audit takes place on the "LAST" day of the month. DayOfMonth *string `locationName:"dayOfMonth" type:"string"` // The day of the week on which the scheduled audit takes place. One of "SUN", // "MON", "TUE", "WED", "THU", "FRI" or "SAT". DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"` // How often the scheduled audit takes place. One of "DAILY", "WEEKLY", "BIWEEKLY" // or "MONTHLY". The actual start time of each audit is determined by the system. Frequency AuditFrequency `locationName:"frequency" type:"string" enum:"true"` // The ARN of the scheduled audit. ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"` // The name of the scheduled audit. ScheduledAuditName *string `locationName:"scheduledAuditName" min:"1" type:"string"` // Which checks are performed during the scheduled audit. (Note that checks // must be enabled for your account. (Use DescribeAccountAuditConfiguration // to see the list of all checks including those that are enabled or UpdateAccountAuditConfiguration // to select which checks are enabled.) TargetCheckNames []string `locationName:"targetCheckNames" type:"list"` // contains filtered or unexported fields }
func (DescribeScheduledAuditOutput) GoString ¶ added in v0.5.0
func (s DescribeScheduledAuditOutput) GoString() string
GoString returns the string representation
func (DescribeScheduledAuditOutput) MarshalFields ¶ added in v0.5.0
func (s DescribeScheduledAuditOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeScheduledAuditOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DescribeScheduledAuditOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeScheduledAuditOutput) String ¶ added in v0.5.0
func (s DescribeScheduledAuditOutput) String() string
String returns the string representation
type DescribeScheduledAuditRequest ¶ added in v0.5.0
type DescribeScheduledAuditRequest struct { *aws.Request Input *DescribeScheduledAuditInput Copy func(*DescribeScheduledAuditInput) DescribeScheduledAuditRequest }
DescribeScheduledAuditRequest is a API request type for the DescribeScheduledAudit API operation.
func (DescribeScheduledAuditRequest) Send ¶ added in v0.5.0
func (r DescribeScheduledAuditRequest) Send(ctx context.Context) (*DescribeScheduledAuditOutput, error)
Send marshals and sends the DescribeScheduledAudit API request.
type DescribeSecurityProfileInput ¶ added in v0.5.0
type DescribeSecurityProfileInput struct { // The name of the security profile whose information you want to get. // // SecurityProfileName is a required field SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeSecurityProfileInput) GoString ¶ added in v0.5.0
func (s DescribeSecurityProfileInput) GoString() string
GoString returns the string representation
func (DescribeSecurityProfileInput) MarshalFields ¶ added in v0.5.0
func (s DescribeSecurityProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeSecurityProfileInput) String ¶ added in v0.5.0
func (s DescribeSecurityProfileInput) String() string
String returns the string representation
func (*DescribeSecurityProfileInput) Validate ¶ added in v0.5.0
func (s *DescribeSecurityProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSecurityProfileOutput ¶ added in v0.5.0
type DescribeSecurityProfileOutput struct { // A list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the profile's behaviors but it is also retained for // any metric specified here. AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"` // Where the alerts are sent. (Alerts are always sent to the console.) AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"` // Specifies the behaviors that, when violated by a device (thing), cause an // alert. Behaviors []Behavior `locationName:"behaviors" type:"list"` // The time the security profile was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The time the security profile was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The ARN of the security profile. SecurityProfileArn *string `locationName:"securityProfileArn" type:"string"` // A description of the security profile (associated with the security profile // when it was created or updated). SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"` // The name of the security profile. SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"` // The version of the security profile. A new version is generated whenever // the security profile is updated. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
func (DescribeSecurityProfileOutput) GoString ¶ added in v0.5.0
func (s DescribeSecurityProfileOutput) GoString() string
GoString returns the string representation
func (DescribeSecurityProfileOutput) MarshalFields ¶ added in v0.5.0
func (s DescribeSecurityProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeSecurityProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DescribeSecurityProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeSecurityProfileOutput) String ¶ added in v0.5.0
func (s DescribeSecurityProfileOutput) String() string
String returns the string representation
type DescribeSecurityProfileRequest ¶ added in v0.5.0
type DescribeSecurityProfileRequest struct { *aws.Request Input *DescribeSecurityProfileInput Copy func(*DescribeSecurityProfileInput) DescribeSecurityProfileRequest }
DescribeSecurityProfileRequest is a API request type for the DescribeSecurityProfile API operation.
func (DescribeSecurityProfileRequest) Send ¶ added in v0.5.0
func (r DescribeSecurityProfileRequest) Send(ctx context.Context) (*DescribeSecurityProfileOutput, error)
Send marshals and sends the DescribeSecurityProfile API request.
type DescribeStreamInput ¶ added in v0.2.0
type DescribeStreamInput struct { // The stream ID. // // StreamId is a required field StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeStreamInput) GoString ¶ added in v0.2.0
func (s DescribeStreamInput) GoString() string
GoString returns the string representation
func (DescribeStreamInput) MarshalFields ¶ added in v0.3.0
func (s DescribeStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeStreamInput) String ¶ added in v0.2.0
func (s DescribeStreamInput) String() string
String returns the string representation
func (*DescribeStreamInput) Validate ¶ added in v0.2.0
func (s *DescribeStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStreamOutput ¶ added in v0.2.0
type DescribeStreamOutput struct { // Information about the stream. StreamInfo *StreamInfo `locationName:"streamInfo" type:"structure"` // contains filtered or unexported fields }
func (DescribeStreamOutput) GoString ¶ added in v0.2.0
func (s DescribeStreamOutput) GoString() string
GoString returns the string representation
func (DescribeStreamOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeStreamOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeStreamOutput) String ¶ added in v0.2.0
func (s DescribeStreamOutput) String() string
String returns the string representation
type DescribeStreamRequest ¶ added in v0.2.0
type DescribeStreamRequest struct { *aws.Request Input *DescribeStreamInput Copy func(*DescribeStreamInput) DescribeStreamRequest }
DescribeStreamRequest is a API request type for the DescribeStream API operation.
func (DescribeStreamRequest) Send ¶ added in v0.2.0
func (r DescribeStreamRequest) Send(ctx context.Context) (*DescribeStreamOutput, error)
Send marshals and sends the DescribeStream API request.
type DescribeThingGroupInput ¶ added in v0.2.0
type DescribeThingGroupInput struct { // The name of the thing group. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeThingGroupInput) GoString ¶ added in v0.2.0
func (s DescribeThingGroupInput) GoString() string
GoString returns the string representation
func (DescribeThingGroupInput) MarshalFields ¶ added in v0.3.0
func (s DescribeThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingGroupInput) String ¶ added in v0.2.0
func (s DescribeThingGroupInput) String() string
String returns the string representation
func (*DescribeThingGroupInput) Validate ¶ added in v0.2.0
func (s *DescribeThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeThingGroupOutput ¶ added in v0.2.0
type DescribeThingGroupOutput struct { // The dynamic thing group index name. IndexName *string `locationName:"indexName" min:"1" type:"string"` // The dynamic thing group search query string. QueryString *string `locationName:"queryString" min:"1" type:"string"` // The dynamic thing group query version. QueryVersion *string `locationName:"queryVersion" type:"string"` // The dynamic thing group status. Status DynamicGroupStatus `locationName:"status" type:"string" enum:"true"` // The thing group ARN. ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` // The thing group ID. ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` // Thing group metadata. ThingGroupMetadata *ThingGroupMetadata `locationName:"thingGroupMetadata" type:"structure"` // The name of the thing group. ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` // The thing group properties. ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"` // The version of the thing group. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
func (DescribeThingGroupOutput) GoString ¶ added in v0.2.0
func (s DescribeThingGroupOutput) GoString() string
GoString returns the string representation
func (DescribeThingGroupOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingGroupOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeThingGroupOutput) String ¶ added in v0.2.0
func (s DescribeThingGroupOutput) String() string
String returns the string representation
type DescribeThingGroupRequest ¶ added in v0.2.0
type DescribeThingGroupRequest struct { *aws.Request Input *DescribeThingGroupInput Copy func(*DescribeThingGroupInput) DescribeThingGroupRequest }
DescribeThingGroupRequest is a API request type for the DescribeThingGroup API operation.
func (DescribeThingGroupRequest) Send ¶ added in v0.2.0
func (r DescribeThingGroupRequest) Send(ctx context.Context) (*DescribeThingGroupOutput, error)
Send marshals and sends the DescribeThingGroup API request.
type DescribeThingInput ¶
type DescribeThingInput struct { // The name of the thing. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the DescribeThing operation.
func (DescribeThingInput) GoString ¶
func (s DescribeThingInput) GoString() string
GoString returns the string representation
func (DescribeThingInput) MarshalFields ¶ added in v0.3.0
func (s DescribeThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingInput) String ¶
func (s DescribeThingInput) String() string
String returns the string representation
func (*DescribeThingInput) Validate ¶
func (s *DescribeThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeThingOutput ¶
type DescribeThingOutput struct { // The thing attributes. Attributes map[string]string `locationName:"attributes" type:"map"` // The name of the billing group the thing belongs to. BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"` // The default client ID. DefaultClientId *string `locationName:"defaultClientId" type:"string"` // The ARN of the thing to describe. ThingArn *string `locationName:"thingArn" type:"string"` // The ID of the thing to describe. ThingId *string `locationName:"thingId" type:"string"` // The name of the thing. ThingName *string `locationName:"thingName" min:"1" type:"string"` // The thing type name. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // The current version of the thing record in the registry. // // To avoid unintentional changes to the information in the registry, you can // pass the version information in the expectedVersion parameter of the UpdateThing // and DeleteThing calls. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
The output from the DescribeThing operation.
func (DescribeThingOutput) GoString ¶
func (s DescribeThingOutput) GoString() string
GoString returns the string representation
func (DescribeThingOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingOutput) SDKResponseMetadata ¶
func (s DescribeThingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeThingOutput) String ¶
func (s DescribeThingOutput) String() string
String returns the string representation
type DescribeThingRegistrationTaskInput ¶ added in v0.2.0
type DescribeThingRegistrationTaskInput struct { // The task ID. // // TaskId is a required field TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeThingRegistrationTaskInput) GoString ¶ added in v0.2.0
func (s DescribeThingRegistrationTaskInput) GoString() string
GoString returns the string representation
func (DescribeThingRegistrationTaskInput) MarshalFields ¶ added in v0.3.0
func (s DescribeThingRegistrationTaskInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingRegistrationTaskInput) String ¶ added in v0.2.0
func (s DescribeThingRegistrationTaskInput) String() string
String returns the string representation
func (*DescribeThingRegistrationTaskInput) Validate ¶ added in v0.2.0
func (s *DescribeThingRegistrationTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeThingRegistrationTaskOutput ¶ added in v0.2.0
type DescribeThingRegistrationTaskOutput struct { // The task creation date. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The number of things that failed to be provisioned. FailureCount *int64 `locationName:"failureCount" type:"integer"` // The S3 bucket that contains the input file. InputFileBucket *string `locationName:"inputFileBucket" min:"3" type:"string"` // The input file key. InputFileKey *string `locationName:"inputFileKey" min:"1" type:"string"` // The date when the task was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The message. Message *string `locationName:"message" type:"string"` // The progress of the bulk provisioning task expressed as a percentage. PercentageProgress *int64 `locationName:"percentageProgress" type:"integer"` // The role ARN that grants access to the input file bucket. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // The status of the bulk thing provisioning task. Status Status `locationName:"status" type:"string" enum:"true"` // The number of things successfully provisioned. SuccessCount *int64 `locationName:"successCount" type:"integer"` // The task ID. TaskId *string `locationName:"taskId" type:"string"` // The task's template. TemplateBody *string `locationName:"templateBody" type:"string"` // contains filtered or unexported fields }
func (DescribeThingRegistrationTaskOutput) GoString ¶ added in v0.2.0
func (s DescribeThingRegistrationTaskOutput) GoString() string
GoString returns the string representation
func (DescribeThingRegistrationTaskOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeThingRegistrationTaskOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingRegistrationTaskOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DescribeThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeThingRegistrationTaskOutput) String ¶ added in v0.2.0
func (s DescribeThingRegistrationTaskOutput) String() string
String returns the string representation
type DescribeThingRegistrationTaskRequest ¶ added in v0.2.0
type DescribeThingRegistrationTaskRequest struct { *aws.Request Input *DescribeThingRegistrationTaskInput Copy func(*DescribeThingRegistrationTaskInput) DescribeThingRegistrationTaskRequest }
DescribeThingRegistrationTaskRequest is a API request type for the DescribeThingRegistrationTask API operation.
func (DescribeThingRegistrationTaskRequest) Send ¶ added in v0.2.0
func (r DescribeThingRegistrationTaskRequest) Send(ctx context.Context) (*DescribeThingRegistrationTaskOutput, error)
Send marshals and sends the DescribeThingRegistrationTask API request.
type DescribeThingRequest ¶
type DescribeThingRequest struct { *aws.Request Input *DescribeThingInput Copy func(*DescribeThingInput) DescribeThingRequest }
DescribeThingRequest is a API request type for the DescribeThing API operation.
func (DescribeThingRequest) Send ¶
func (r DescribeThingRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s DescribeThingTypeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingTypeInput) String ¶
func (s DescribeThingTypeInput) String() string
String returns the string representation
func (*DescribeThingTypeInput) Validate ¶
func (s *DescribeThingTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeThingTypeOutput ¶
type DescribeThingTypeOutput struct { // The thing type ARN. ThingTypeArn *string `locationName:"thingTypeArn" type:"string"` // The thing type ID. ThingTypeId *string `locationName:"thingTypeId" type:"string"` // The ThingTypeMetadata contains additional information about the thing type // including: creation date and time, a value indicating whether the thing type // is deprecated, and a date and time when it was deprecated. ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"` // The name of the thing type. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // The ThingTypeProperties contains information about the thing type including // description, and a list of searchable thing attribute names. ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` // contains filtered or unexported fields }
The output for the DescribeThingType operation.
func (DescribeThingTypeOutput) GoString ¶
func (s DescribeThingTypeOutput) GoString() string
GoString returns the string representation
func (DescribeThingTypeOutput) MarshalFields ¶ added in v0.3.0
func (s DescribeThingTypeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DescribeThingTypeOutput) SDKResponseMetadata ¶
func (s DescribeThingTypeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeThingTypeOutput) String ¶
func (s DescribeThingTypeOutput) String() string
String returns the string representation
type DescribeThingTypeRequest ¶
type DescribeThingTypeRequest struct { *aws.Request Input *DescribeThingTypeInput Copy func(*DescribeThingTypeInput) DescribeThingTypeRequest }
DescribeThingTypeRequest is a API request type for the DescribeThingType API operation.
func (DescribeThingTypeRequest) Send ¶
func (r DescribeThingTypeRequest) Send(ctx context.Context) (*DescribeThingTypeOutput, error)
Send marshals and sends the DescribeThingType API request.
type Destination ¶ added in v0.5.0
type Destination struct { // Describes the location in S3 of the updated firmware. S3Destination *S3Destination `locationName:"s3Destination" type:"structure"` // contains filtered or unexported fields }
Describes the location of the updated firmware.
func (Destination) GoString ¶ added in v0.5.0
func (s Destination) GoString() string
GoString returns the string representation
func (Destination) MarshalFields ¶ added in v0.5.0
func (s Destination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Destination) String ¶ added in v0.5.0
func (s Destination) String() string
String returns the string representation
func (*Destination) Validate ¶ added in v0.5.0
func (s *Destination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachPolicyInput ¶ added in v0.2.0
type DetachPolicyInput struct { // The policy to detach. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The target from which the policy will be detached. // // Target is a required field Target *string `locationName:"target" type:"string" required:"true"` // contains filtered or unexported fields }
func (DetachPolicyInput) GoString ¶ added in v0.2.0
func (s DetachPolicyInput) GoString() string
GoString returns the string representation
func (DetachPolicyInput) MarshalFields ¶ added in v0.3.0
func (s DetachPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DetachPolicyInput) String ¶ added in v0.2.0
func (s DetachPolicyInput) String() string
String returns the string representation
func (*DetachPolicyInput) Validate ¶ added in v0.2.0
func (s *DetachPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachPolicyOutput ¶ added in v0.2.0
type DetachPolicyOutput struct {
// contains filtered or unexported fields
}
func (DetachPolicyOutput) GoString ¶ added in v0.2.0
func (s DetachPolicyOutput) GoString() string
GoString returns the string representation
func (DetachPolicyOutput) MarshalFields ¶ added in v0.3.0
func (s DetachPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DetachPolicyOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s DetachPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DetachPolicyOutput) String ¶ added in v0.2.0
func (s DetachPolicyOutput) String() string
String returns the string representation
type DetachPolicyRequest ¶ added in v0.2.0
type DetachPolicyRequest struct { *aws.Request Input *DetachPolicyInput Copy func(*DetachPolicyInput) DetachPolicyRequest }
DetachPolicyRequest is a API request type for the DetachPolicy API operation.
func (DetachPolicyRequest) Send ¶ added in v0.2.0
func (r DetachPolicyRequest) Send(ctx context.Context) (*DetachPolicyOutput, error)
Send marshals and sends the DetachPolicy API request.
type DetachPrincipalPolicyInput ¶
type DetachPrincipalPolicyInput struct { // The name of the policy to detach. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The principal. // // If the principal is a certificate, specify the certificate ARN. If the principal // is an Amazon Cognito identity, specify the identity ID. // // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the DetachPrincipalPolicy operation.
func (DetachPrincipalPolicyInput) GoString ¶
func (s DetachPrincipalPolicyInput) GoString() string
GoString returns the string representation
func (DetachPrincipalPolicyInput) MarshalFields ¶ added in v0.3.0
func (s DetachPrincipalPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s DetachPrincipalPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DetachPrincipalPolicyInput) DetachPrincipalPolicyRequest }
DetachPrincipalPolicyRequest is a API request type for the DetachPrincipalPolicy API operation.
func (DetachPrincipalPolicyRequest) Send ¶
func (r DetachPrincipalPolicyRequest) Send(ctx context.Context) (*DetachPrincipalPolicyOutput, error)
Send marshals and sends the DetachPrincipalPolicy API request.
type DetachSecurityProfileInput ¶ added in v0.5.0
type DetachSecurityProfileInput struct { // The security profile that is detached. // // SecurityProfileName is a required field SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"` // The ARN of the thing group from which the security profile is detached. // // SecurityProfileTargetArn is a required field SecurityProfileTargetArn *string `location:"querystring" locationName:"securityProfileTargetArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DetachSecurityProfileInput) GoString ¶ added in v0.5.0
func (s DetachSecurityProfileInput) GoString() string
GoString returns the string representation
func (DetachSecurityProfileInput) MarshalFields ¶ added in v0.5.0
func (s DetachSecurityProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DetachSecurityProfileInput) String ¶ added in v0.5.0
func (s DetachSecurityProfileInput) String() string
String returns the string representation
func (*DetachSecurityProfileInput) Validate ¶ added in v0.5.0
func (s *DetachSecurityProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachSecurityProfileOutput ¶ added in v0.5.0
type DetachSecurityProfileOutput struct {
// contains filtered or unexported fields
}
func (DetachSecurityProfileOutput) GoString ¶ added in v0.5.0
func (s DetachSecurityProfileOutput) GoString() string
GoString returns the string representation
func (DetachSecurityProfileOutput) MarshalFields ¶ added in v0.5.0
func (s DetachSecurityProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DetachSecurityProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s DetachSecurityProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DetachSecurityProfileOutput) String ¶ added in v0.5.0
func (s DetachSecurityProfileOutput) String() string
String returns the string representation
type DetachSecurityProfileRequest ¶ added in v0.5.0
type DetachSecurityProfileRequest struct { *aws.Request Input *DetachSecurityProfileInput Copy func(*DetachSecurityProfileInput) DetachSecurityProfileRequest }
DetachSecurityProfileRequest is a API request type for the DetachSecurityProfile API operation.
func (DetachSecurityProfileRequest) Send ¶ added in v0.5.0
func (r DetachSecurityProfileRequest) Send(ctx context.Context) (*DetachSecurityProfileOutput, error)
Send marshals and sends the DetachSecurityProfile 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) MarshalFields ¶ added in v0.3.0
func (s DetachThingPrincipalInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DetachThingPrincipalInput) String ¶
func (s DetachThingPrincipalInput) String() string
String returns the string representation
func (*DetachThingPrincipalInput) Validate ¶
func (s *DetachThingPrincipalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachThingPrincipalOutput ¶
type DetachThingPrincipalOutput struct {
// contains filtered or unexported fields
}
The output from the DetachThingPrincipal operation.
func (DetachThingPrincipalOutput) GoString ¶
func (s DetachThingPrincipalOutput) GoString() string
GoString returns the string representation
func (DetachThingPrincipalOutput) MarshalFields ¶ added in v0.3.0
func (s DetachThingPrincipalOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DetachThingPrincipalInput) DetachThingPrincipalRequest }
DetachThingPrincipalRequest is a API request type for the DetachThingPrincipal API operation.
func (DetachThingPrincipalRequest) Send ¶
func (r DetachThingPrincipalRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s DisableTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisableTopicRuleInput) String ¶
func (s DisableTopicRuleInput) String() string
String returns the string representation
func (*DisableTopicRuleInput) Validate ¶
func (s *DisableTopicRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableTopicRuleOutput ¶
type DisableTopicRuleOutput struct {
// contains filtered or unexported fields
}
func (DisableTopicRuleOutput) GoString ¶
func (s DisableTopicRuleOutput) GoString() string
GoString returns the string representation
func (DisableTopicRuleOutput) MarshalFields ¶ added in v0.3.0
func (s DisableTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*DisableTopicRuleInput) DisableTopicRuleRequest }
DisableTopicRuleRequest is a API request type for the DisableTopicRule API operation.
func (DisableTopicRuleRequest) Send ¶
func (r DisableTopicRuleRequest) Send(ctx context.Context) (*DisableTopicRuleOutput, error)
Send marshals and sends the DisableTopicRule API request.
type DynamicGroupStatus ¶ added in v0.6.0
type DynamicGroupStatus string
const ( DynamicGroupStatusActive DynamicGroupStatus = "ACTIVE" DynamicGroupStatusBuilding DynamicGroupStatus = "BUILDING" DynamicGroupStatusRebuilding DynamicGroupStatus = "REBUILDING" )
Enum values for DynamicGroupStatus
func (DynamicGroupStatus) MarshalValue ¶ added in v0.6.0
func (enum DynamicGroupStatus) MarshalValue() (string, error)
func (DynamicGroupStatus) MarshalValueBuf ¶ added in v0.6.0
func (enum DynamicGroupStatus) MarshalValueBuf(b []byte) ([]byte, error)
type DynamoDBAction ¶
type DynamoDBAction struct { // The hash key name. // // HashKeyField is a required field HashKeyField *string `locationName:"hashKeyField" type:"string" required:"true"` // The hash key type. Valid values are "STRING" or "NUMBER" HashKeyType DynamoKeyType `locationName:"hashKeyType" type:"string" enum:"true"` // The hash key value. // // HashKeyValue is a required field HashKeyValue *string `locationName:"hashKeyValue" type:"string" required:"true"` // The type of operation to be performed. This follows the substitution template, // so it can be ${operation}, but the substitution must result in one of the // following: INSERT, UPDATE, or DELETE. Operation *string `locationName:"operation" type:"string"` // The action payload. This name can be customized. PayloadField *string `locationName:"payloadField" type:"string"` // The range key name. RangeKeyField *string `locationName:"rangeKeyField" type:"string"` // The range key type. Valid values are "STRING" or "NUMBER" RangeKeyType DynamoKeyType `locationName:"rangeKeyType" type:"string" enum:"true"` // The range key value. RangeKeyValue *string `locationName:"rangeKeyValue" type:"string"` // The ARN of the IAM role that grants access to the DynamoDB table. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The name of the DynamoDB table. // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action to write to a DynamoDB table.
The tableName, hashKeyField, and rangeKeyField values must match the values used when you created the table.
The hashKeyValue and rangeKeyvalue fields use a substitution template syntax. These templates provide data at runtime. The syntax is as follows: ${sql-expression}.
You can specify any valid expression in a WHERE or SELECT clause, including JSON properties, comparisons, calculations, and functions. For example, the following field uses the third level of the topic:
"hashKeyValue": "${topic(3)}"
The following field uses the timestamp:
"rangeKeyValue": "${timestamp()}"
func (DynamoDBAction) GoString ¶
func (s DynamoDBAction) GoString() string
GoString returns the string representation
func (DynamoDBAction) MarshalFields ¶ added in v0.3.0
func (s DynamoDBAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DynamoDBAction) String ¶
func (s DynamoDBAction) String() string
String returns the string representation
func (*DynamoDBAction) Validate ¶
func (s *DynamoDBAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DynamoDBv2Action ¶
type DynamoDBv2Action struct { // Specifies the DynamoDB table to which the message data will be written. For // example: // // { "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": // "my-table" } } } // // Each attribute in the message payload will be written to a separate column // in the DynamoDB database. // // PutItem is a required field PutItem *PutItemInput `locationName:"putItem" type:"structure" required:"true"` // The ARN of the IAM role that grants access to the DynamoDB table. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action to write to a DynamoDB table.
This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.
func (DynamoDBv2Action) GoString ¶
func (s DynamoDBv2Action) GoString() string
GoString returns the string representation
func (DynamoDBv2Action) MarshalFields ¶ added in v0.3.0
func (s DynamoDBv2Action) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DynamoDBv2Action) String ¶
func (s DynamoDBv2Action) String() string
String returns the string representation
func (*DynamoDBv2Action) Validate ¶
func (s *DynamoDBv2Action) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DynamoKeyType ¶
type DynamoKeyType string
const ( DynamoKeyTypeString DynamoKeyType = "STRING" DynamoKeyTypeNumber DynamoKeyType = "NUMBER" )
Enum values for DynamoKeyType
func (DynamoKeyType) MarshalValue ¶ added in v0.3.0
func (enum DynamoKeyType) MarshalValue() (string, error)
func (DynamoKeyType) MarshalValueBuf ¶ added in v0.3.0
func (enum DynamoKeyType) MarshalValueBuf(b []byte) ([]byte, error)
type EffectivePolicy ¶ added in v0.2.0
type EffectivePolicy struct { // The policy ARN. PolicyArn *string `locationName:"policyArn" type:"string"` // The IAM policy document. PolicyDocument *string `locationName:"policyDocument" type:"string"` // The policy name. PolicyName *string `locationName:"policyName" min:"1" type:"string"` // contains filtered or unexported fields }
The policy that has the effect on the authorization results.
func (EffectivePolicy) GoString ¶ added in v0.2.0
func (s EffectivePolicy) GoString() string
GoString returns the string representation
func (EffectivePolicy) MarshalFields ¶ added in v0.3.0
func (s EffectivePolicy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EffectivePolicy) String ¶ added in v0.2.0
func (s EffectivePolicy) String() string
String returns the string representation
type ElasticsearchAction ¶
type ElasticsearchAction struct { // The endpoint of your Elasticsearch domain. // // Endpoint is a required field Endpoint *string `locationName:"endpoint" type:"string" required:"true"` // The unique identifier for the document you are storing. // // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // The Elasticsearch index where you want to store your data. // // Index is a required field Index *string `locationName:"index" type:"string" required:"true"` // The IAM role ARN that has access to Elasticsearch. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The type of document you are storing. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action that writes data to an Amazon Elasticsearch Service domain.
func (ElasticsearchAction) GoString ¶
func (s ElasticsearchAction) GoString() string
GoString returns the string representation
func (ElasticsearchAction) MarshalFields ¶ added in v0.3.0
func (s ElasticsearchAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ElasticsearchAction) String ¶
func (s ElasticsearchAction) String() string
String returns the string representation
func (*ElasticsearchAction) Validate ¶
func (s *ElasticsearchAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type 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) MarshalFields ¶ added in v0.3.0
func (s EnableTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EnableTopicRuleInput) String ¶
func (s EnableTopicRuleInput) String() string
String returns the string representation
func (*EnableTopicRuleInput) Validate ¶
func (s *EnableTopicRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableTopicRuleOutput ¶
type EnableTopicRuleOutput struct {
// contains filtered or unexported fields
}
func (EnableTopicRuleOutput) GoString ¶
func (s EnableTopicRuleOutput) GoString() string
GoString returns the string representation
func (EnableTopicRuleOutput) MarshalFields ¶ added in v0.3.0
func (s EnableTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*EnableTopicRuleInput) EnableTopicRuleRequest }
EnableTopicRuleRequest is a API request type for the EnableTopicRule API operation.
func (EnableTopicRuleRequest) Send ¶
func (r EnableTopicRuleRequest) Send(ctx context.Context) (*EnableTopicRuleOutput, error)
Send marshals and sends the EnableTopicRule API request.
type ErrorInfo ¶ added in v0.2.0
type ErrorInfo struct { // The error code. Code *string `locationName:"code" type:"string"` // The error message. Message *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
Error information.
func (ErrorInfo) MarshalFields ¶ added in v0.3.0
func (s ErrorInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type EventType ¶ added in v0.2.0
type EventType string
const ( EventTypeThing EventType = "THING" EventTypeThingGroup EventType = "THING_GROUP" EventTypeThingType EventType = "THING_TYPE" EventTypeThingGroupMembership EventType = "THING_GROUP_MEMBERSHIP" EventTypeThingGroupHierarchy EventType = "THING_GROUP_HIERARCHY" EventTypeThingTypeAssociation EventType = "THING_TYPE_ASSOCIATION" EventTypeJob EventType = "JOB" EventTypeJobExecution EventType = "JOB_EXECUTION" EventTypePolicy EventType = "POLICY" EventTypeCertificate EventType = "CERTIFICATE" EventTypeCaCertificate EventType = "CA_CERTIFICATE" )
Enum values for EventType
func (EventType) MarshalValue ¶ added in v0.3.0
type ExplicitDeny ¶ added in v0.2.0
type ExplicitDeny struct { // The policies that denied the authorization. Policies []Policy `locationName:"policies" type:"list"` // contains filtered or unexported fields }
Information that explicitly denies authorization.
func (ExplicitDeny) GoString ¶ added in v0.2.0
func (s ExplicitDeny) GoString() string
GoString returns the string representation
func (ExplicitDeny) MarshalFields ¶ added in v0.3.0
func (s ExplicitDeny) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ExplicitDeny) String ¶ added in v0.2.0
func (s ExplicitDeny) String() string
String returns the string representation
type ExponentialRolloutRate ¶ added in v0.6.0
type ExponentialRolloutRate struct { // The minimum number of things that will be notified of a pending job, per // minute at the start of job rollout. This parameter allows you to define the // initial rate of rollout. // // BaseRatePerMinute is a required field BaseRatePerMinute *int64 `locationName:"baseRatePerMinute" min:"1" type:"integer" required:"true"` // The exponential factor to increase the rate of rollout for a job. // // IncrementFactor is a required field IncrementFactor *float64 `locationName:"incrementFactor" min:"1" type:"double" required:"true"` // The criteria to initiate the increase in rate of rollout for a job. // // AWS IoT supports up to one digit after the decimal (for example, 1.5, but // not 1.55). // // RateIncreaseCriteria is a required field RateIncreaseCriteria *RateIncreaseCriteria `locationName:"rateIncreaseCriteria" type:"structure" required:"true"` // contains filtered or unexported fields }
Allows you to create an exponential rate of rollout for a job.
func (ExponentialRolloutRate) GoString ¶ added in v0.6.0
func (s ExponentialRolloutRate) GoString() string
GoString returns the string representation
func (ExponentialRolloutRate) MarshalFields ¶ added in v0.6.0
func (s ExponentialRolloutRate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ExponentialRolloutRate) String ¶ added in v0.6.0
func (s ExponentialRolloutRate) String() string
String returns the string representation
func (*ExponentialRolloutRate) Validate ¶ added in v0.6.0
func (s *ExponentialRolloutRate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FileLocation ¶ added in v0.5.0
type FileLocation struct { // The location of the updated firmware in S3. S3Location *S3Location `locationName:"s3Location" type:"structure"` // The stream that contains the OTA update. Stream *Stream `locationName:"stream" type:"structure"` // contains filtered or unexported fields }
The location of the OTA update.
func (FileLocation) GoString ¶ added in v0.5.0
func (s FileLocation) GoString() string
GoString returns the string representation
func (FileLocation) MarshalFields ¶ added in v0.5.0
func (s FileLocation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FileLocation) String ¶ added in v0.5.0
func (s FileLocation) String() string
String returns the string representation
func (*FileLocation) Validate ¶ added in v0.5.0
func (s *FileLocation) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FirehoseAction ¶
type FirehoseAction struct { // The delivery stream name. // // DeliveryStreamName is a required field DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"` // The IAM role that grants access to the Amazon Kinesis Firehose stream. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // A character separator that will be used to separate records written to the // Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows // newline), ',' (comma). Separator *string `locationName:"separator" type:"string"` // contains filtered or unexported fields }
Describes an action that writes data to an Amazon Kinesis Firehose stream.
func (FirehoseAction) GoString ¶
func (s FirehoseAction) GoString() string
GoString returns the string representation
func (FirehoseAction) MarshalFields ¶ added in v0.3.0
func (s FirehoseAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FirehoseAction) String ¶
func (s FirehoseAction) String() string
String returns the string representation
func (*FirehoseAction) Validate ¶
func (s *FirehoseAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEffectivePoliciesInput ¶ added in v0.2.0
type GetEffectivePoliciesInput struct { // The Cognito identity pool ID. CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"` // The principal. Principal *string `locationName:"principal" type:"string"` // The thing name. ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetEffectivePoliciesInput) GoString ¶ added in v0.2.0
func (s GetEffectivePoliciesInput) GoString() string
GoString returns the string representation
func (GetEffectivePoliciesInput) MarshalFields ¶ added in v0.3.0
func (s GetEffectivePoliciesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetEffectivePoliciesInput) String ¶ added in v0.2.0
func (s GetEffectivePoliciesInput) String() string
String returns the string representation
func (*GetEffectivePoliciesInput) Validate ¶ added in v0.2.0
func (s *GetEffectivePoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetEffectivePoliciesOutput ¶ added in v0.2.0
type GetEffectivePoliciesOutput struct { // The effective policies. EffectivePolicies []EffectivePolicy `locationName:"effectivePolicies" type:"list"` // contains filtered or unexported fields }
func (GetEffectivePoliciesOutput) GoString ¶ added in v0.2.0
func (s GetEffectivePoliciesOutput) GoString() string
GoString returns the string representation
func (GetEffectivePoliciesOutput) MarshalFields ¶ added in v0.3.0
func (s GetEffectivePoliciesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetEffectivePoliciesOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s GetEffectivePoliciesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetEffectivePoliciesOutput) String ¶ added in v0.2.0
func (s GetEffectivePoliciesOutput) String() string
String returns the string representation
type GetEffectivePoliciesRequest ¶ added in v0.2.0
type GetEffectivePoliciesRequest struct { *aws.Request Input *GetEffectivePoliciesInput Copy func(*GetEffectivePoliciesInput) GetEffectivePoliciesRequest }
GetEffectivePoliciesRequest is a API request type for the GetEffectivePolicies API operation.
func (GetEffectivePoliciesRequest) Send ¶ added in v0.2.0
func (r GetEffectivePoliciesRequest) Send(ctx context.Context) (*GetEffectivePoliciesOutput, error)
Send marshals and sends the GetEffectivePolicies API request.
type GetIndexingConfigurationInput ¶ added in v0.2.0
type GetIndexingConfigurationInput struct {
// contains filtered or unexported fields
}
func (GetIndexingConfigurationInput) GoString ¶ added in v0.2.0
func (s GetIndexingConfigurationInput) GoString() string
GoString returns the string representation
func (GetIndexingConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s GetIndexingConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIndexingConfigurationInput) String ¶ added in v0.2.0
func (s GetIndexingConfigurationInput) String() string
String returns the string representation
type GetIndexingConfigurationOutput ¶ added in v0.2.0
type GetIndexingConfigurationOutput struct { // The index configuration. ThingGroupIndexingConfiguration *ThingGroupIndexingConfiguration `locationName:"thingGroupIndexingConfiguration" type:"structure"` // Thing indexing configuration. ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"` // contains filtered or unexported fields }
func (GetIndexingConfigurationOutput) GoString ¶ added in v0.2.0
func (s GetIndexingConfigurationOutput) GoString() string
GoString returns the string representation
func (GetIndexingConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s GetIndexingConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetIndexingConfigurationOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s GetIndexingConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetIndexingConfigurationOutput) String ¶ added in v0.2.0
func (s GetIndexingConfigurationOutput) String() string
String returns the string representation
type GetIndexingConfigurationRequest ¶ added in v0.2.0
type GetIndexingConfigurationRequest struct { *aws.Request Input *GetIndexingConfigurationInput Copy func(*GetIndexingConfigurationInput) GetIndexingConfigurationRequest }
GetIndexingConfigurationRequest is a API request type for the GetIndexingConfiguration API operation.
func (GetIndexingConfigurationRequest) Send ¶ added in v0.2.0
func (r GetIndexingConfigurationRequest) Send(ctx context.Context) (*GetIndexingConfigurationOutput, error)
Send marshals and sends the GetIndexingConfiguration API request.
type GetJobDocumentInput ¶ added in v0.2.0
type GetJobDocumentInput struct { // The unique identifier you assigned to this job when it was created. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetJobDocumentInput) GoString ¶ added in v0.2.0
func (s GetJobDocumentInput) GoString() string
GoString returns the string representation
func (GetJobDocumentInput) MarshalFields ¶ added in v0.3.0
func (s GetJobDocumentInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetJobDocumentInput) String ¶ added in v0.2.0
func (s GetJobDocumentInput) String() string
String returns the string representation
func (*GetJobDocumentInput) Validate ¶ added in v0.2.0
func (s *GetJobDocumentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetJobDocumentOutput ¶ added in v0.2.0
type GetJobDocumentOutput struct { // The job document content. Document *string `locationName:"document" type:"string"` // contains filtered or unexported fields }
func (GetJobDocumentOutput) GoString ¶ added in v0.2.0
func (s GetJobDocumentOutput) GoString() string
GoString returns the string representation
func (GetJobDocumentOutput) MarshalFields ¶ added in v0.3.0
func (s GetJobDocumentOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetJobDocumentOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s GetJobDocumentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetJobDocumentOutput) String ¶ added in v0.2.0
func (s GetJobDocumentOutput) String() string
String returns the string representation
type GetJobDocumentRequest ¶ added in v0.2.0
type GetJobDocumentRequest struct { *aws.Request Input *GetJobDocumentInput Copy func(*GetJobDocumentInput) GetJobDocumentRequest }
GetJobDocumentRequest is a API request type for the GetJobDocument API operation.
func (GetJobDocumentRequest) Send ¶ added in v0.2.0
func (r GetJobDocumentRequest) Send(ctx context.Context) (*GetJobDocumentOutput, error)
Send marshals and sends the GetJobDocument API request.
type GetLoggingOptionsInput ¶
type GetLoggingOptionsInput struct {
// contains filtered or unexported fields
}
The input for the GetLoggingOptions operation.
func (GetLoggingOptionsInput) GoString ¶
func (s GetLoggingOptionsInput) GoString() string
GoString returns the string representation
func (GetLoggingOptionsInput) MarshalFields ¶ added in v0.3.0
func (s GetLoggingOptionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetLoggingOptionsInput) String ¶
func (s GetLoggingOptionsInput) String() string
String returns the string representation
type GetLoggingOptionsOutput ¶
type GetLoggingOptionsOutput struct { // The logging level. LogLevel LogLevel `locationName:"logLevel" type:"string" enum:"true"` // The ARN of the IAM role that grants access. RoleArn *string `locationName:"roleArn" type:"string"` // contains filtered or unexported fields }
The output from the GetLoggingOptions operation.
func (GetLoggingOptionsOutput) GoString ¶
func (s GetLoggingOptionsOutput) GoString() string
GoString returns the string representation
func (GetLoggingOptionsOutput) MarshalFields ¶ added in v0.3.0
func (s GetLoggingOptionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetLoggingOptionsOutput) SDKResponseMetadata ¶
func (s GetLoggingOptionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetLoggingOptionsOutput) String ¶
func (s GetLoggingOptionsOutput) String() string
String returns the string representation
type GetLoggingOptionsRequest ¶
type GetLoggingOptionsRequest struct { *aws.Request Input *GetLoggingOptionsInput Copy func(*GetLoggingOptionsInput) GetLoggingOptionsRequest }
GetLoggingOptionsRequest is a API request type for the GetLoggingOptions API operation.
func (GetLoggingOptionsRequest) Send ¶
func (r GetLoggingOptionsRequest) Send(ctx context.Context) (*GetLoggingOptionsOutput, error)
Send marshals and sends the GetLoggingOptions API request.
type GetOTAUpdateInput ¶ added in v0.2.0
type GetOTAUpdateInput struct { // The OTA update ID. // // OtaUpdateId is a required field OtaUpdateId *string `location:"uri" locationName:"otaUpdateId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetOTAUpdateInput) GoString ¶ added in v0.2.0
func (s GetOTAUpdateInput) GoString() string
GoString returns the string representation
func (GetOTAUpdateInput) MarshalFields ¶ added in v0.3.0
func (s GetOTAUpdateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetOTAUpdateInput) String ¶ added in v0.2.0
func (s GetOTAUpdateInput) String() string
String returns the string representation
func (*GetOTAUpdateInput) Validate ¶ added in v0.2.0
func (s *GetOTAUpdateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetOTAUpdateOutput ¶ added in v0.2.0
type GetOTAUpdateOutput struct { // The OTA update info. OtaUpdateInfo *OTAUpdateInfo `locationName:"otaUpdateInfo" type:"structure"` // contains filtered or unexported fields }
func (GetOTAUpdateOutput) GoString ¶ added in v0.2.0
func (s GetOTAUpdateOutput) GoString() string
GoString returns the string representation
func (GetOTAUpdateOutput) MarshalFields ¶ added in v0.3.0
func (s GetOTAUpdateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetOTAUpdateOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s GetOTAUpdateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetOTAUpdateOutput) String ¶ added in v0.2.0
func (s GetOTAUpdateOutput) String() string
String returns the string representation
type GetOTAUpdateRequest ¶ added in v0.2.0
type GetOTAUpdateRequest struct { *aws.Request Input *GetOTAUpdateInput Copy func(*GetOTAUpdateInput) GetOTAUpdateRequest }
GetOTAUpdateRequest is a API request type for the GetOTAUpdate API operation.
func (GetOTAUpdateRequest) Send ¶ added in v0.2.0
func (r GetOTAUpdateRequest) Send(ctx context.Context) (*GetOTAUpdateOutput, error)
Send marshals and sends the GetOTAUpdate API request.
type GetPolicyInput ¶
type GetPolicyInput struct { // The name of the policy. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the GetPolicy operation.
func (GetPolicyInput) GoString ¶
func (s GetPolicyInput) GoString() string
GoString returns the string representation
func (GetPolicyInput) MarshalFields ¶ added in v0.3.0
func (s GetPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPolicyInput) String ¶
func (s GetPolicyInput) String() string
String returns the string representation
func (*GetPolicyInput) Validate ¶
func (s *GetPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPolicyOutput ¶
type GetPolicyOutput struct { // The date the policy was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The default policy version ID. DefaultVersionId *string `locationName:"defaultVersionId" type:"string"` // The generation ID of the policy. GenerationId *string `locationName:"generationId" type:"string"` // The date the policy was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // 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) MarshalFields ¶ added in v0.3.0
func (s GetPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPolicyOutput) SDKResponseMetadata ¶
func (s GetPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetPolicyOutput) String ¶
func (s GetPolicyOutput) String() string
String returns the string representation
type GetPolicyRequest ¶
type GetPolicyRequest struct { *aws.Request Input *GetPolicyInput Copy func(*GetPolicyInput) GetPolicyRequest }
GetPolicyRequest is a API request type for the GetPolicy API operation.
func (GetPolicyRequest) Send ¶
func (r GetPolicyRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s GetPolicyVersionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPolicyVersionInput) String ¶
func (s GetPolicyVersionInput) String() string
String returns the string representation
func (*GetPolicyVersionInput) Validate ¶
func (s *GetPolicyVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPolicyVersionOutput ¶
type GetPolicyVersionOutput struct { // The date the policy version was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The generation ID of the policy version. GenerationId *string `locationName:"generationId" type:"string"` // Specifies whether the policy version is the default. IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` // The date the policy version was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // 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) MarshalFields ¶ added in v0.3.0
func (s GetPolicyVersionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPolicyVersionOutput) SDKResponseMetadata ¶
func (s GetPolicyVersionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetPolicyVersionOutput) String ¶
func (s GetPolicyVersionOutput) String() string
String returns the string representation
type GetPolicyVersionRequest ¶
type GetPolicyVersionRequest struct { *aws.Request Input *GetPolicyVersionInput Copy func(*GetPolicyVersionInput) GetPolicyVersionRequest }
GetPolicyVersionRequest is a API request type for the GetPolicyVersion API operation.
func (GetPolicyVersionRequest) Send ¶
func (r GetPolicyVersionRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s GetRegistrationCodeInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetRegistrationCodeInput) String ¶
func (s GetRegistrationCodeInput) String() string
String returns the string representation
type GetRegistrationCodeOutput ¶
type GetRegistrationCodeOutput struct { // The CA certificate registration code. RegistrationCode *string `locationName:"registrationCode" min:"64" type:"string"` // contains filtered or unexported fields }
The output from the GetRegistrationCode operation.
func (GetRegistrationCodeOutput) GoString ¶
func (s GetRegistrationCodeOutput) GoString() string
GoString returns the string representation
func (GetRegistrationCodeOutput) MarshalFields ¶ added in v0.3.0
func (s GetRegistrationCodeOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetRegistrationCodeOutput) SDKResponseMetadata ¶
func (s GetRegistrationCodeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetRegistrationCodeOutput) String ¶
func (s GetRegistrationCodeOutput) String() string
String returns the string representation
type GetRegistrationCodeRequest ¶
type GetRegistrationCodeRequest struct { *aws.Request Input *GetRegistrationCodeInput Copy func(*GetRegistrationCodeInput) GetRegistrationCodeRequest }
GetRegistrationCodeRequest is a API request type for the GetRegistrationCode API operation.
func (GetRegistrationCodeRequest) Send ¶
func (r GetRegistrationCodeRequest) Send(ctx context.Context) (*GetRegistrationCodeOutput, error)
Send marshals and sends the GetRegistrationCode API request.
type GetStatisticsInput ¶ added in v0.8.0
type GetStatisticsInput struct { // The aggregation field name. Currently not supported. AggregationField *string `locationName:"aggregationField" min:"1" type:"string"` // The name of the index to search. The default value is AWS_Things. IndexName *string `locationName:"indexName" min:"1" type:"string"` // The query used to search. You can specify "*" for the query string to get // the count of all indexed things in your AWS account. // // QueryString is a required field QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"` // The version of the query used to search. QueryVersion *string `locationName:"queryVersion" type:"string"` // contains filtered or unexported fields }
func (GetStatisticsInput) GoString ¶ added in v0.8.0
func (s GetStatisticsInput) GoString() string
GoString returns the string representation
func (GetStatisticsInput) MarshalFields ¶ added in v0.8.0
func (s GetStatisticsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetStatisticsInput) String ¶ added in v0.8.0
func (s GetStatisticsInput) String() string
String returns the string representation
func (*GetStatisticsInput) Validate ¶ added in v0.8.0
func (s *GetStatisticsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetStatisticsOutput ¶ added in v0.8.0
type GetStatisticsOutput struct { // The statistics returned by the Fleet Indexing service based on the query // and aggregation field. Statistics *Statistics `locationName:"statistics" type:"structure"` // contains filtered or unexported fields }
func (GetStatisticsOutput) GoString ¶ added in v0.8.0
func (s GetStatisticsOutput) GoString() string
GoString returns the string representation
func (GetStatisticsOutput) MarshalFields ¶ added in v0.8.0
func (s GetStatisticsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetStatisticsOutput) SDKResponseMetadata ¶ added in v0.8.0
func (s GetStatisticsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetStatisticsOutput) String ¶ added in v0.8.0
func (s GetStatisticsOutput) String() string
String returns the string representation
type GetStatisticsRequest ¶ added in v0.8.0
type GetStatisticsRequest struct { *aws.Request Input *GetStatisticsInput Copy func(*GetStatisticsInput) GetStatisticsRequest }
GetStatisticsRequest is a API request type for the GetStatistics API operation.
func (GetStatisticsRequest) Send ¶ added in v0.8.0
func (r GetStatisticsRequest) Send(ctx context.Context) (*GetStatisticsOutput, error)
Send marshals and sends the GetStatistics 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) MarshalFields ¶ added in v0.3.0
func (s GetTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTopicRuleInput) String ¶
func (s GetTopicRuleInput) String() string
String returns the string representation
func (*GetTopicRuleInput) Validate ¶
func (s *GetTopicRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTopicRuleOutput ¶
type GetTopicRuleOutput struct { // The rule. Rule *TopicRule `locationName:"rule" type:"structure"` // The rule ARN. RuleArn *string `locationName:"ruleArn" type:"string"` // contains filtered or unexported fields }
The output from the GetTopicRule operation.
func (GetTopicRuleOutput) GoString ¶
func (s GetTopicRuleOutput) GoString() string
GoString returns the string representation
func (GetTopicRuleOutput) MarshalFields ¶ added in v0.3.0
func (s GetTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTopicRuleOutput) SDKResponseMetadata ¶
func (s GetTopicRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetTopicRuleOutput) String ¶
func (s GetTopicRuleOutput) String() string
String returns the string representation
type GetTopicRuleRequest ¶
type GetTopicRuleRequest struct { *aws.Request Input *GetTopicRuleInput Copy func(*GetTopicRuleInput) GetTopicRuleRequest }
GetTopicRuleRequest is a API request type for the GetTopicRule API operation.
func (GetTopicRuleRequest) Send ¶
func (r GetTopicRuleRequest) Send(ctx context.Context) (*GetTopicRuleOutput, error)
Send marshals and sends the GetTopicRule API request.
type GetV2LoggingOptionsInput ¶ added in v0.2.0
type GetV2LoggingOptionsInput struct {
// contains filtered or unexported fields
}
func (GetV2LoggingOptionsInput) GoString ¶ added in v0.2.0
func (s GetV2LoggingOptionsInput) GoString() string
GoString returns the string representation
func (GetV2LoggingOptionsInput) MarshalFields ¶ added in v0.3.0
func (s GetV2LoggingOptionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetV2LoggingOptionsInput) String ¶ added in v0.2.0
func (s GetV2LoggingOptionsInput) String() string
String returns the string representation
type GetV2LoggingOptionsOutput ¶ added in v0.2.0
type GetV2LoggingOptionsOutput struct { // The default log level. DefaultLogLevel LogLevel `locationName:"defaultLogLevel" type:"string" enum:"true"` // Disables all logs. DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"` // The IAM role ARN AWS IoT uses to write to your CloudWatch logs. RoleArn *string `locationName:"roleArn" type:"string"` // contains filtered or unexported fields }
func (GetV2LoggingOptionsOutput) GoString ¶ added in v0.2.0
func (s GetV2LoggingOptionsOutput) GoString() string
GoString returns the string representation
func (GetV2LoggingOptionsOutput) MarshalFields ¶ added in v0.3.0
func (s GetV2LoggingOptionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetV2LoggingOptionsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s GetV2LoggingOptionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetV2LoggingOptionsOutput) String ¶ added in v0.2.0
func (s GetV2LoggingOptionsOutput) String() string
String returns the string representation
type GetV2LoggingOptionsRequest ¶ added in v0.2.0
type GetV2LoggingOptionsRequest struct { *aws.Request Input *GetV2LoggingOptionsInput Copy func(*GetV2LoggingOptionsInput) GetV2LoggingOptionsRequest }
GetV2LoggingOptionsRequest is a API request type for the GetV2LoggingOptions API operation.
func (GetV2LoggingOptionsRequest) Send ¶ added in v0.2.0
func (r GetV2LoggingOptionsRequest) Send(ctx context.Context) (*GetV2LoggingOptionsOutput, error)
Send marshals and sends the GetV2LoggingOptions API request.
type GroupNameAndArn ¶ added in v0.2.0
type GroupNameAndArn struct { // The group ARN. GroupArn *string `locationName:"groupArn" type:"string"` // The group name. GroupName *string `locationName:"groupName" min:"1" type:"string"` // contains filtered or unexported fields }
The name and ARN of a group.
func (GroupNameAndArn) GoString ¶ added in v0.2.0
func (s GroupNameAndArn) GoString() string
GoString returns the string representation
func (GroupNameAndArn) MarshalFields ¶ added in v0.3.0
func (s GroupNameAndArn) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GroupNameAndArn) String ¶ added in v0.2.0
func (s GroupNameAndArn) String() string
String returns the string representation
type ImplicitDeny ¶ added in v0.2.0
type ImplicitDeny struct { // Policies that don't contain a matching allow or deny statement for the specified // action on the specified resource. Policies []Policy `locationName:"policies" type:"list"` // contains filtered or unexported fields }
Information that implicitly denies authorization. When policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
func (ImplicitDeny) GoString ¶ added in v0.2.0
func (s ImplicitDeny) GoString() string
GoString returns the string representation
func (ImplicitDeny) MarshalFields ¶ added in v0.3.0
func (s ImplicitDeny) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ImplicitDeny) String ¶ added in v0.2.0
func (s ImplicitDeny) String() string
String returns the string representation
type IndexStatus ¶ added in v0.2.0
type IndexStatus string
const ( IndexStatusActive IndexStatus = "ACTIVE" IndexStatusBuilding IndexStatus = "BUILDING" IndexStatusRebuilding IndexStatus = "REBUILDING" )
Enum values for IndexStatus
func (IndexStatus) MarshalValue ¶ added in v0.3.0
func (enum IndexStatus) MarshalValue() (string, error)
func (IndexStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum IndexStatus) MarshalValueBuf(b []byte) ([]byte, error)
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.
Example:
// Create a IoT client from just a config. svc := iot.New(myConfig)
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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) AddThingToBillingGroupRequest ¶ added in v0.6.0
func (c *IoT) AddThingToBillingGroupRequest(input *AddThingToBillingGroupInput) AddThingToBillingGroupRequest
AddThingToBillingGroupRequest returns a request value for making API operation for AWS IoT.
Adds a thing to a billing group.
// Example sending a request using the AddThingToBillingGroupRequest method. req := client.AddThingToBillingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) AddThingToThingGroupRequest ¶ added in v0.2.0
func (c *IoT) AddThingToThingGroupRequest(input *AddThingToThingGroupInput) AddThingToThingGroupRequest
AddThingToThingGroupRequest returns a request value for making API operation for AWS IoT.
Adds a thing to a thing group.
// Example sending a request using the AddThingToThingGroupRequest method. req := client.AddThingToThingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) AssociateTargetsWithJobRequest ¶ added in v0.2.0
func (c *IoT) AssociateTargetsWithJobRequest(input *AssociateTargetsWithJobInput) AssociateTargetsWithJobRequest
AssociateTargetsWithJobRequest returns a request value for making API operation for AWS IoT.
Associates a group with a continuous job. The following criteria must be met:
The job must have been created with the targetSelection field set to "CONTINUOUS".
The job status must currently be "IN_PROGRESS".
The total number of targets associated with a job must not exceed 100.
// Example sending a request using the AssociateTargetsWithJobRequest method. req := client.AssociateTargetsWithJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) AttachPolicyRequest ¶ added in v0.2.0
func (c *IoT) AttachPolicyRequest(input *AttachPolicyInput) AttachPolicyRequest
AttachPolicyRequest returns a request value for making API operation for AWS IoT.
Attaches a policy to the specified target.
// Example sending a request using the AttachPolicyRequest method. req := client.AttachPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) AttachPrincipalPolicyRequest ¶
func (c *IoT) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) AttachPrincipalPolicyRequest
AttachPrincipalPolicyRequest returns a request value for making API operation for AWS IoT.
Attaches the specified policy to the specified principal (certificate or other credential).
Note: This API is deprecated. Please use AttachPolicy instead.
// Example sending a request using the AttachPrincipalPolicyRequest method. req := client.AttachPrincipalPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) AttachSecurityProfileRequest ¶ added in v0.5.0
func (c *IoT) AttachSecurityProfileRequest(input *AttachSecurityProfileInput) AttachSecurityProfileRequest
AttachSecurityProfileRequest returns a request value for making API operation for AWS IoT.
Associates a Device Defender security profile with a thing group or with this account. Each thing group or account can have up to five security profiles associated with it.
// Example sending a request using the AttachSecurityProfileRequest method. req := client.AttachSecurityProfileRequest(params) resp, err := req.Send(context.TODO()) 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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
// Example sending a request using the AttachThingPrincipalRequest method. req := client.AttachThingPrincipalRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CancelAuditTaskRequest ¶ added in v0.5.0
func (c *IoT) CancelAuditTaskRequest(input *CancelAuditTaskInput) CancelAuditTaskRequest
CancelAuditTaskRequest returns a request value for making API operation for AWS IoT.
Cancels an audit that is in progress. The audit can be either scheduled or on-demand. If the audit is not in progress, an "InvalidRequestException" occurs.
// Example sending a request using the CancelAuditTaskRequest method. req := client.CancelAuditTaskRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CancelJobExecutionRequest ¶ added in v0.5.0
func (c *IoT) CancelJobExecutionRequest(input *CancelJobExecutionInput) CancelJobExecutionRequest
CancelJobExecutionRequest returns a request value for making API operation for AWS IoT.
Cancels the execution of a job for a given thing.
// Example sending a request using the CancelJobExecutionRequest method. req := client.CancelJobExecutionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CancelJobRequest ¶ added in v0.2.0
func (c *IoT) CancelJobRequest(input *CancelJobInput) CancelJobRequest
CancelJobRequest returns a request value for making API operation for AWS IoT.
Cancels a job.
// Example sending a request using the CancelJobRequest method. req := client.CancelJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ClearDefaultAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) ClearDefaultAuthorizerRequest(input *ClearDefaultAuthorizerInput) ClearDefaultAuthorizerRequest
ClearDefaultAuthorizerRequest returns a request value for making API operation for AWS IoT.
Clears the default authorizer.
// Example sending a request using the ClearDefaultAuthorizerRequest method. req := client.ClearDefaultAuthorizerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) CreateAuthorizerRequest(input *CreateAuthorizerInput) CreateAuthorizerRequest
CreateAuthorizerRequest returns a request value for making API operation for AWS IoT.
Creates an authorizer.
// Example sending a request using the CreateAuthorizerRequest method. req := client.CreateAuthorizerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateBillingGroupRequest ¶ added in v0.6.0
func (c *IoT) CreateBillingGroupRequest(input *CreateBillingGroupInput) CreateBillingGroupRequest
CreateBillingGroupRequest returns a request value for making API operation for AWS IoT.
Creates a billing group.
// Example sending a request using the CreateBillingGroupRequest method. req := client.CreateBillingGroupRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateDynamicThingGroupRequest ¶ added in v0.6.0
func (c *IoT) CreateDynamicThingGroupRequest(input *CreateDynamicThingGroupInput) CreateDynamicThingGroupRequest
CreateDynamicThingGroupRequest returns a request value for making API operation for AWS IoT.
Creates a dynamic thing group.
// Example sending a request using the CreateDynamicThingGroupRequest method. req := client.CreateDynamicThingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateJobRequest ¶ added in v0.2.0
func (c *IoT) CreateJobRequest(input *CreateJobInput) CreateJobRequest
CreateJobRequest returns a request value for making API operation for AWS IoT.
Creates a job.
// Example sending a request using the CreateJobRequest method. req := client.CreateJobRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateOTAUpdateRequest ¶ added in v0.2.0
func (c *IoT) CreateOTAUpdateRequest(input *CreateOTAUpdateInput) CreateOTAUpdateRequest
CreateOTAUpdateRequest returns a request value for making API operation for AWS IoT.
Creates an AWS IoT OTAUpdate on a target group of things or groups.
// Example sending a request using the CreateOTAUpdateRequest method. req := client.CreateOTAUpdateRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateRoleAliasRequest ¶ added in v0.2.0
func (c *IoT) CreateRoleAliasRequest(input *CreateRoleAliasInput) CreateRoleAliasRequest
CreateRoleAliasRequest returns a request value for making API operation for AWS IoT.
Creates a role alias.
// Example sending a request using the CreateRoleAliasRequest method. req := client.CreateRoleAliasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateScheduledAuditRequest ¶ added in v0.5.0
func (c *IoT) CreateScheduledAuditRequest(input *CreateScheduledAuditInput) CreateScheduledAuditRequest
CreateScheduledAuditRequest returns a request value for making API operation for AWS IoT.
Creates a scheduled audit that is run at a specified time interval.
// Example sending a request using the CreateScheduledAuditRequest method. req := client.CreateScheduledAuditRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateSecurityProfileRequest ¶ added in v0.5.0
func (c *IoT) CreateSecurityProfileRequest(input *CreateSecurityProfileInput) CreateSecurityProfileRequest
CreateSecurityProfileRequest returns a request value for making API operation for AWS IoT.
Creates a Device Defender security profile.
// Example sending a request using the CreateSecurityProfileRequest method. req := client.CreateSecurityProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateStreamRequest ¶ added in v0.2.0
func (c *IoT) CreateStreamRequest(input *CreateStreamInput) CreateStreamRequest
CreateStreamRequest returns a request value for making API operation for AWS IoT.
Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream. The total size of a file associated with the stream cannot exceed more than 2 MB. The stream will be created with version 0. If a stream is created with the same streamID as a stream that existed and was deleted within last 90 days, we will resurrect that old stream by incrementing the version by 1.
// Example sending a request using the CreateStreamRequest method. req := client.CreateStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) CreateThingGroupRequest ¶ added in v0.2.0
func (c *IoT) CreateThingGroupRequest(input *CreateThingGroupInput) CreateThingGroupRequest
CreateThingGroupRequest returns a request value for making API operation for AWS IoT.
Create a thing group.
This is a control plane operation. See Authorization (https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html) for information about authorizing control plane actions.
// Example sending a request using the CreateThingGroupRequest method. req := client.CreateThingGroupRequest(params) resp, err := req.Send(context.TODO()) 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 registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a ResourceAlreadyExistsException is thrown.
This is a control plane operation. See Authorization (https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html) for information about authorizing control plane actions.
// Example sending a request using the CreateThingRequest method. req := client.CreateThingRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteAccountAuditConfigurationRequest ¶ added in v0.5.0
func (c *IoT) DeleteAccountAuditConfigurationRequest(input *DeleteAccountAuditConfigurationInput) DeleteAccountAuditConfigurationRequest
DeleteAccountAuditConfigurationRequest returns a request value for making API operation for AWS IoT.
Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
// Example sending a request using the DeleteAccountAuditConfigurationRequest method. req := client.DeleteAccountAuditConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) DeleteAuthorizerRequest
DeleteAuthorizerRequest returns a request value for making API operation for AWS IoT.
Deletes an authorizer.
// Example sending a request using the DeleteAuthorizerRequest method. req := client.DeleteAuthorizerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteBillingGroupRequest ¶ added in v0.6.0
func (c *IoT) DeleteBillingGroupRequest(input *DeleteBillingGroupInput) DeleteBillingGroupRequest
DeleteBillingGroupRequest returns a request value for making API operation for AWS IoT.
Deletes the billing group.
// Example sending a request using the DeleteBillingGroupRequest method. req := client.DeleteBillingGroupRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteDynamicThingGroupRequest ¶ added in v0.6.0
func (c *IoT) DeleteDynamicThingGroupRequest(input *DeleteDynamicThingGroupInput) DeleteDynamicThingGroupRequest
DeleteDynamicThingGroupRequest returns a request value for making API operation for AWS IoT.
Deletes a dynamic thing group.
// Example sending a request using the DeleteDynamicThingGroupRequest method. req := client.DeleteDynamicThingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteJobExecutionRequest ¶ added in v0.4.0
func (c *IoT) DeleteJobExecutionRequest(input *DeleteJobExecutionInput) DeleteJobExecutionRequest
DeleteJobExecutionRequest returns a request value for making API operation for AWS IoT.
Deletes a job execution.
// Example sending a request using the DeleteJobExecutionRequest method. req := client.DeleteJobExecutionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteJobRequest ¶ added in v0.4.0
func (c *IoT) DeleteJobRequest(input *DeleteJobInput) DeleteJobRequest
DeleteJobRequest returns a request value for making API operation for AWS IoT.
Deletes a job and its related job executions.
Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.
Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.
// Example sending a request using the DeleteJobRequest method. req := client.DeleteJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteOTAUpdateRequest ¶ added in v0.2.0
func (c *IoT) DeleteOTAUpdateRequest(input *DeleteOTAUpdateInput) DeleteOTAUpdateRequest
DeleteOTAUpdateRequest returns a request value for making API operation for AWS IoT.
Delete an OTA update.
// Example sending a request using the DeleteOTAUpdateRequest method. req := client.DeleteOTAUpdateRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteRoleAliasRequest ¶ added in v0.2.0
func (c *IoT) DeleteRoleAliasRequest(input *DeleteRoleAliasInput) DeleteRoleAliasRequest
DeleteRoleAliasRequest returns a request value for making API operation for AWS IoT.
Deletes a role alias
// Example sending a request using the DeleteRoleAliasRequest method. req := client.DeleteRoleAliasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteScheduledAuditRequest ¶ added in v0.5.0
func (c *IoT) DeleteScheduledAuditRequest(input *DeleteScheduledAuditInput) DeleteScheduledAuditRequest
DeleteScheduledAuditRequest returns a request value for making API operation for AWS IoT.
Deletes a scheduled audit.
// Example sending a request using the DeleteScheduledAuditRequest method. req := client.DeleteScheduledAuditRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteSecurityProfileRequest ¶ added in v0.5.0
func (c *IoT) DeleteSecurityProfileRequest(input *DeleteSecurityProfileInput) DeleteSecurityProfileRequest
DeleteSecurityProfileRequest returns a request value for making API operation for AWS IoT.
Deletes a Device Defender security profile.
// Example sending a request using the DeleteSecurityProfileRequest method. req := client.DeleteSecurityProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteStreamRequest ¶ added in v0.2.0
func (c *IoT) DeleteStreamRequest(input *DeleteStreamInput) DeleteStreamRequest
DeleteStreamRequest returns a request value for making API operation for AWS IoT.
Deletes a stream.
// Example sending a request using the DeleteStreamRequest method. req := client.DeleteStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteThingGroupRequest ¶ added in v0.2.0
func (c *IoT) DeleteThingGroupRequest(input *DeleteThingGroupInput) DeleteThingGroupRequest
DeleteThingGroupRequest returns a request value for making API operation for AWS IoT.
Deletes a thing group.
// Example sending a request using the DeleteThingGroupRequest method. req := client.DeleteThingGroupRequest(params) resp, err := req.Send(context.TODO()) 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. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
// Example sending a request using the DeleteThingRequest method. req := client.DeleteThingRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteTopicRuleRequest ¶
func (c *IoT) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) DeleteTopicRuleRequest
DeleteTopicRuleRequest returns a request value for making API operation for AWS IoT.
Deletes the rule.
// Example sending a request using the DeleteTopicRuleRequest method. req := client.DeleteTopicRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DeleteV2LoggingLevelRequest ¶ added in v0.2.0
func (c *IoT) DeleteV2LoggingLevelRequest(input *DeleteV2LoggingLevelInput) DeleteV2LoggingLevelRequest
DeleteV2LoggingLevelRequest returns a request value for making API operation for AWS IoT.
Deletes a logging level.
// Example sending a request using the DeleteV2LoggingLevelRequest method. req := client.DeleteV2LoggingLevelRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeAccountAuditConfigurationRequest ¶ added in v0.5.0
func (c *IoT) DescribeAccountAuditConfigurationRequest(input *DescribeAccountAuditConfigurationInput) DescribeAccountAuditConfigurationRequest
DescribeAccountAuditConfigurationRequest returns a request value for making API operation for AWS IoT.
Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
// Example sending a request using the DescribeAccountAuditConfigurationRequest method. req := client.DescribeAccountAuditConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeAuditTaskRequest ¶ added in v0.5.0
func (c *IoT) DescribeAuditTaskRequest(input *DescribeAuditTaskInput) DescribeAuditTaskRequest
DescribeAuditTaskRequest returns a request value for making API operation for AWS IoT.
Gets information about a Device Defender audit.
// Example sending a request using the DescribeAuditTaskRequest method. req := client.DescribeAuditTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) DescribeAuthorizerRequest(input *DescribeAuthorizerInput) DescribeAuthorizerRequest
DescribeAuthorizerRequest returns a request value for making API operation for AWS IoT.
Describes an authorizer.
// Example sending a request using the DescribeAuthorizerRequest method. req := client.DescribeAuthorizerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeBillingGroupRequest ¶ added in v0.6.0
func (c *IoT) DescribeBillingGroupRequest(input *DescribeBillingGroupInput) DescribeBillingGroupRequest
DescribeBillingGroupRequest returns a request value for making API operation for AWS IoT.
Returns information about a billing group.
// Example sending a request using the DescribeBillingGroupRequest method. req := client.DescribeBillingGroupRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeDefaultAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) DescribeDefaultAuthorizerRequest(input *DescribeDefaultAuthorizerInput) DescribeDefaultAuthorizerRequest
DescribeDefaultAuthorizerRequest returns a request value for making API operation for AWS IoT.
Describes the default authorizer.
// Example sending a request using the DescribeDefaultAuthorizerRequest method. req := client.DescribeDefaultAuthorizerRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeEventConfigurationsRequest ¶ added in v0.2.0
func (c *IoT) DescribeEventConfigurationsRequest(input *DescribeEventConfigurationsInput) DescribeEventConfigurationsRequest
DescribeEventConfigurationsRequest returns a request value for making API operation for AWS IoT.
Describes event configurations.
// Example sending a request using the DescribeEventConfigurationsRequest method. req := client.DescribeEventConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeIndexRequest ¶ added in v0.2.0
func (c *IoT) DescribeIndexRequest(input *DescribeIndexInput) DescribeIndexRequest
DescribeIndexRequest returns a request value for making API operation for AWS IoT.
Describes a search index.
// Example sending a request using the DescribeIndexRequest method. req := client.DescribeIndexRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeJobExecutionRequest ¶ added in v0.2.0
func (c *IoT) DescribeJobExecutionRequest(input *DescribeJobExecutionInput) DescribeJobExecutionRequest
DescribeJobExecutionRequest returns a request value for making API operation for AWS IoT.
Describes a job execution.
// Example sending a request using the DescribeJobExecutionRequest method. req := client.DescribeJobExecutionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeJobRequest ¶ added in v0.2.0
func (c *IoT) DescribeJobRequest(input *DescribeJobInput) DescribeJobRequest
DescribeJobRequest returns a request value for making API operation for AWS IoT.
Describes a job.
// Example sending a request using the DescribeJobRequest method. req := client.DescribeJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeRoleAliasRequest ¶ added in v0.2.0
func (c *IoT) DescribeRoleAliasRequest(input *DescribeRoleAliasInput) DescribeRoleAliasRequest
DescribeRoleAliasRequest returns a request value for making API operation for AWS IoT.
Describes a role alias.
// Example sending a request using the DescribeRoleAliasRequest method. req := client.DescribeRoleAliasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeScheduledAuditRequest ¶ added in v0.5.0
func (c *IoT) DescribeScheduledAuditRequest(input *DescribeScheduledAuditInput) DescribeScheduledAuditRequest
DescribeScheduledAuditRequest returns a request value for making API operation for AWS IoT.
Gets information about a scheduled audit.
// Example sending a request using the DescribeScheduledAuditRequest method. req := client.DescribeScheduledAuditRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeSecurityProfileRequest ¶ added in v0.5.0
func (c *IoT) DescribeSecurityProfileRequest(input *DescribeSecurityProfileInput) DescribeSecurityProfileRequest
DescribeSecurityProfileRequest returns a request value for making API operation for AWS IoT.
Gets information about a Device Defender security profile.
// Example sending a request using the DescribeSecurityProfileRequest method. req := client.DescribeSecurityProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeStreamRequest ¶ added in v0.2.0
func (c *IoT) DescribeStreamRequest(input *DescribeStreamInput) DescribeStreamRequest
DescribeStreamRequest returns a request value for making API operation for AWS IoT.
Gets information about a stream.
// Example sending a request using the DescribeStreamRequest method. req := client.DescribeStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeThingGroupRequest ¶ added in v0.2.0
func (c *IoT) DescribeThingGroupRequest(input *DescribeThingGroupInput) DescribeThingGroupRequest
DescribeThingGroupRequest returns a request value for making API operation for AWS IoT.
Describe a thing group.
// Example sending a request using the DescribeThingGroupRequest method. req := client.DescribeThingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DescribeThingRegistrationTaskRequest ¶ added in v0.2.0
func (c *IoT) DescribeThingRegistrationTaskRequest(input *DescribeThingRegistrationTaskInput) DescribeThingRegistrationTaskRequest
DescribeThingRegistrationTaskRequest returns a request value for making API operation for AWS IoT.
Describes a bulk thing provisioning task.
// Example sending a request using the DescribeThingRegistrationTaskRequest method. req := client.DescribeThingRegistrationTaskRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DetachPolicyRequest ¶ added in v0.2.0
func (c *IoT) DetachPolicyRequest(input *DetachPolicyInput) DetachPolicyRequest
DetachPolicyRequest returns a request value for making API operation for AWS IoT.
Detaches a policy from the specified target.
// Example sending a request using the DetachPolicyRequest method. req := client.DetachPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DetachPrincipalPolicyRequest ¶
func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) DetachPrincipalPolicyRequest
DetachPrincipalPolicyRequest returns a request value for making API operation for AWS IoT.
Removes the specified policy from the specified certificate.
Note: This API is deprecated. Please use DetachPolicy instead.
// Example sending a request using the DetachPrincipalPolicyRequest method. req := client.DetachPrincipalPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DetachSecurityProfileRequest ¶ added in v0.5.0
func (c *IoT) DetachSecurityProfileRequest(input *DetachSecurityProfileInput) DetachSecurityProfileRequest
DetachSecurityProfileRequest returns a request value for making API operation for AWS IoT.
Disassociates a Device Defender security profile from a thing group or from this account.
// Example sending a request using the DetachSecurityProfileRequest method. req := client.DetachSecurityProfileRequest(params) resp, err := req.Send(context.TODO()) 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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This call is asynchronous. It might take several seconds for the detachment to propagate.
// Example sending a request using the DetachThingPrincipalRequest method. req := client.DetachThingPrincipalRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) DisableTopicRuleRequest ¶
func (c *IoT) DisableTopicRuleRequest(input *DisableTopicRuleInput) DisableTopicRuleRequest
DisableTopicRuleRequest returns a request value for making API operation for AWS IoT.
Disables the rule.
// Example sending a request using the DisableTopicRuleRequest method. req := client.DisableTopicRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) EnableTopicRuleRequest ¶
func (c *IoT) EnableTopicRuleRequest(input *EnableTopicRuleInput) EnableTopicRuleRequest
EnableTopicRuleRequest returns a request value for making API operation for AWS IoT.
Enables the rule.
// Example sending a request using the EnableTopicRuleRequest method. req := client.EnableTopicRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) GetEffectivePoliciesRequest ¶ added in v0.2.0
func (c *IoT) GetEffectivePoliciesRequest(input *GetEffectivePoliciesInput) GetEffectivePoliciesRequest
GetEffectivePoliciesRequest returns a request value for making API operation for AWS IoT.
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway.
// Example sending a request using the GetEffectivePoliciesRequest method. req := client.GetEffectivePoliciesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) GetIndexingConfigurationRequest ¶ added in v0.2.0
func (c *IoT) GetIndexingConfigurationRequest(input *GetIndexingConfigurationInput) GetIndexingConfigurationRequest
GetIndexingConfigurationRequest returns a request value for making API operation for AWS IoT.
Gets the search configuration.
// Example sending a request using the GetIndexingConfigurationRequest method. req := client.GetIndexingConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) GetJobDocumentRequest ¶ added in v0.2.0
func (c *IoT) GetJobDocumentRequest(input *GetJobDocumentInput) GetJobDocumentRequest
GetJobDocumentRequest returns a request value for making API operation for AWS IoT.
Gets a job document.
// Example sending a request using the GetJobDocumentRequest method. req := client.GetJobDocumentRequest(params) resp, err := req.Send(context.TODO()) 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.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
// Example sending a request using the GetLoggingOptionsRequest method. req := client.GetLoggingOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) GetOTAUpdateRequest ¶ added in v0.2.0
func (c *IoT) GetOTAUpdateRequest(input *GetOTAUpdateInput) GetOTAUpdateRequest
GetOTAUpdateRequest returns a request value for making API operation for AWS IoT.
Gets an OTA update.
// Example sending a request using the GetOTAUpdateRequest method. req := client.GetOTAUpdateRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) GetStatisticsRequest ¶ added in v0.8.0
func (c *IoT) GetStatisticsRequest(input *GetStatisticsInput) GetStatisticsRequest
GetStatisticsRequest returns a request value for making API operation for AWS IoT.
Gets statistics about things that match the specified query.
// Example sending a request using the GetStatisticsRequest method. req := client.GetStatisticsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) GetTopicRuleRequest ¶
func (c *IoT) GetTopicRuleRequest(input *GetTopicRuleInput) GetTopicRuleRequest
GetTopicRuleRequest returns a request value for making API operation for AWS IoT.
Gets information about the rule.
// Example sending a request using the GetTopicRuleRequest method. req := client.GetTopicRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) GetV2LoggingOptionsRequest ¶ added in v0.2.0
func (c *IoT) GetV2LoggingOptionsRequest(input *GetV2LoggingOptionsInput) GetV2LoggingOptionsRequest
GetV2LoggingOptionsRequest returns a request value for making API operation for AWS IoT.
Gets the fine grained logging options.
// Example sending a request using the GetV2LoggingOptionsRequest method. req := client.GetV2LoggingOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListActiveViolationsRequest ¶ added in v0.5.0
func (c *IoT) ListActiveViolationsRequest(input *ListActiveViolationsInput) ListActiveViolationsRequest
ListActiveViolationsRequest returns a request value for making API operation for AWS IoT.
Lists the active violations for a given Device Defender security profile.
// Example sending a request using the ListActiveViolationsRequest method. req := client.ListActiveViolationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListAttachedPoliciesRequest ¶ added in v0.2.0
func (c *IoT) ListAttachedPoliciesRequest(input *ListAttachedPoliciesInput) ListAttachedPoliciesRequest
ListAttachedPoliciesRequest returns a request value for making API operation for AWS IoT.
Lists the policies attached to the specified thing group.
// Example sending a request using the ListAttachedPoliciesRequest method. req := client.ListAttachedPoliciesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListAuditFindingsRequest ¶ added in v0.5.0
func (c *IoT) ListAuditFindingsRequest(input *ListAuditFindingsInput) ListAuditFindingsRequest
ListAuditFindingsRequest returns a request value for making API operation for AWS IoT.
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 180 days.)
// Example sending a request using the ListAuditFindingsRequest method. req := client.ListAuditFindingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListAuditTasksRequest ¶ added in v0.5.0
func (c *IoT) ListAuditTasksRequest(input *ListAuditTasksInput) ListAuditTasksRequest
ListAuditTasksRequest returns a request value for making API operation for AWS IoT.
Lists the Device Defender audits that have been performed during a given time period.
// Example sending a request using the ListAuditTasksRequest method. req := client.ListAuditTasksRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListAuthorizersRequest ¶ added in v0.2.0
func (c *IoT) ListAuthorizersRequest(input *ListAuthorizersInput) ListAuthorizersRequest
ListAuthorizersRequest returns a request value for making API operation for AWS IoT.
Lists the authorizers registered in your account.
// Example sending a request using the ListAuthorizersRequest method. req := client.ListAuthorizersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListBillingGroupsRequest ¶ added in v0.6.0
func (c *IoT) ListBillingGroupsRequest(input *ListBillingGroupsInput) ListBillingGroupsRequest
ListBillingGroupsRequest returns a request value for making API operation for AWS IoT.
Lists the billing groups you have created.
// Example sending a request using the ListBillingGroupsRequest method. req := client.ListBillingGroupsRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListIndicesRequest ¶ added in v0.2.0
func (c *IoT) ListIndicesRequest(input *ListIndicesInput) ListIndicesRequest
ListIndicesRequest returns a request value for making API operation for AWS IoT.
Lists the search indices.
// Example sending a request using the ListIndicesRequest method. req := client.ListIndicesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListJobExecutionsForJobRequest ¶ added in v0.2.0
func (c *IoT) ListJobExecutionsForJobRequest(input *ListJobExecutionsForJobInput) ListJobExecutionsForJobRequest
ListJobExecutionsForJobRequest returns a request value for making API operation for AWS IoT.
Lists the job executions for a job.
// Example sending a request using the ListJobExecutionsForJobRequest method. req := client.ListJobExecutionsForJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListJobExecutionsForThingRequest ¶ added in v0.2.0
func (c *IoT) ListJobExecutionsForThingRequest(input *ListJobExecutionsForThingInput) ListJobExecutionsForThingRequest
ListJobExecutionsForThingRequest returns a request value for making API operation for AWS IoT.
Lists the job executions for the specified thing.
// Example sending a request using the ListJobExecutionsForThingRequest method. req := client.ListJobExecutionsForThingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListJobsRequest ¶ added in v0.2.0
func (c *IoT) ListJobsRequest(input *ListJobsInput) ListJobsRequest
ListJobsRequest returns a request value for making API operation for AWS IoT.
Lists jobs.
// Example sending a request using the ListJobsRequest method. req := client.ListJobsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListOTAUpdatesRequest ¶ added in v0.2.0
func (c *IoT) ListOTAUpdatesRequest(input *ListOTAUpdatesInput) ListOTAUpdatesRequest
ListOTAUpdatesRequest returns a request value for making API operation for AWS IoT.
Lists OTA updates.
// Example sending a request using the ListOTAUpdatesRequest method. req := client.ListOTAUpdatesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListOutgoingCertificatesRequest ¶
func (c *IoT) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInput) ListOutgoingCertificatesRequest
ListOutgoingCertificatesRequest returns a request value for making API operation for AWS IoT.
Lists certificates that are being transferred but not yet accepted.
// Example sending a request using the ListOutgoingCertificatesRequest method. req := client.ListOutgoingCertificatesRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListPolicyPrincipalsRequest ¶
func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) ListPolicyPrincipalsRequest
ListPolicyPrincipalsRequest returns a request value for making API operation for AWS IoT.
Lists the principals associated with the specified policy.
Note: This API is deprecated. Please use ListTargetsForPolicy instead.
// Example sending a request using the ListPolicyPrincipalsRequest method. req := client.ListPolicyPrincipalsRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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 (https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax).
Note: This API is deprecated. Please use ListAttachedPolicies instead.
// Example sending a request using the ListPrincipalPoliciesRequest method. req := client.ListPrincipalPoliciesRequest(params) resp, err := req.Send(context.TODO()) 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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
// Example sending a request using the ListPrincipalThingsRequest method. req := client.ListPrincipalThingsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListRoleAliasesRequest ¶ added in v0.2.0
func (c *IoT) ListRoleAliasesRequest(input *ListRoleAliasesInput) ListRoleAliasesRequest
ListRoleAliasesRequest returns a request value for making API operation for AWS IoT.
Lists the role aliases registered in your account.
// Example sending a request using the ListRoleAliasesRequest method. req := client.ListRoleAliasesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListScheduledAuditsRequest ¶ added in v0.5.0
func (c *IoT) ListScheduledAuditsRequest(input *ListScheduledAuditsInput) ListScheduledAuditsRequest
ListScheduledAuditsRequest returns a request value for making API operation for AWS IoT.
Lists all of your scheduled audits.
// Example sending a request using the ListScheduledAuditsRequest method. req := client.ListScheduledAuditsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListSecurityProfilesForTargetRequest ¶ added in v0.5.0
func (c *IoT) ListSecurityProfilesForTargetRequest(input *ListSecurityProfilesForTargetInput) ListSecurityProfilesForTargetRequest
ListSecurityProfilesForTargetRequest returns a request value for making API operation for AWS IoT.
Lists the Device Defender security profiles attached to a target (thing group).
// Example sending a request using the ListSecurityProfilesForTargetRequest method. req := client.ListSecurityProfilesForTargetRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListSecurityProfilesRequest ¶ added in v0.5.0
func (c *IoT) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) ListSecurityProfilesRequest
ListSecurityProfilesRequest returns a request value for making API operation for AWS IoT.
Lists the Device Defender security profiles you have created. You can use filters to list only those security profiles associated with a thing group or only those associated with your account.
// Example sending a request using the ListSecurityProfilesRequest method. req := client.ListSecurityProfilesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListStreamsRequest ¶ added in v0.2.0
func (c *IoT) ListStreamsRequest(input *ListStreamsInput) ListStreamsRequest
ListStreamsRequest returns a request value for making API operation for AWS IoT.
Lists all of the streams in your AWS account.
// Example sending a request using the ListStreamsRequest method. req := client.ListStreamsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListTagsForResourceRequest ¶ added in v0.6.0
func (c *IoT) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for AWS IoT.
Lists the tags (metadata) you have assigned to the resource.
// Example sending a request using the ListTagsForResourceRequest method. req := client.ListTagsForResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListTargetsForPolicyRequest ¶ added in v0.2.0
func (c *IoT) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) ListTargetsForPolicyRequest
ListTargetsForPolicyRequest returns a request value for making API operation for AWS IoT.
List targets for the specified policy.
// Example sending a request using the ListTargetsForPolicyRequest method. req := client.ListTargetsForPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListTargetsForSecurityProfileRequest ¶ added in v0.5.0
func (c *IoT) ListTargetsForSecurityProfileRequest(input *ListTargetsForSecurityProfileInput) ListTargetsForSecurityProfileRequest
ListTargetsForSecurityProfileRequest returns a request value for making API operation for AWS IoT.
Lists the targets (thing groups) associated with a given Device Defender security profile.
// Example sending a request using the ListTargetsForSecurityProfileRequest method. req := client.ListTargetsForSecurityProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListThingGroupsForThingRequest ¶ added in v0.2.0
func (c *IoT) ListThingGroupsForThingRequest(input *ListThingGroupsForThingInput) ListThingGroupsForThingRequest
ListThingGroupsForThingRequest returns a request value for making API operation for AWS IoT.
List the thing groups to which the specified thing belongs.
// Example sending a request using the ListThingGroupsForThingRequest method. req := client.ListThingGroupsForThingRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListThingGroupsRequest ¶ added in v0.2.0
func (c *IoT) ListThingGroupsRequest(input *ListThingGroupsInput) ListThingGroupsRequest
ListThingGroupsRequest returns a request value for making API operation for AWS IoT.
List the thing groups in your account.
// Example sending a request using the ListThingGroupsRequest method. req := client.ListThingGroupsRequest(params) resp, err := req.Send(context.TODO()) 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. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
// Example sending a request using the ListThingPrincipalsRequest method. req := client.ListThingPrincipalsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListThingRegistrationTaskReportsRequest ¶ added in v0.2.0
func (c *IoT) ListThingRegistrationTaskReportsRequest(input *ListThingRegistrationTaskReportsInput) ListThingRegistrationTaskReportsRequest
ListThingRegistrationTaskReportsRequest returns a request value for making API operation for AWS IoT.
Information about the thing registration tasks.
// Example sending a request using the ListThingRegistrationTaskReportsRequest method. req := client.ListThingRegistrationTaskReportsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListThingRegistrationTasksRequest ¶ added in v0.2.0
func (c *IoT) ListThingRegistrationTasksRequest(input *ListThingRegistrationTasksInput) ListThingRegistrationTasksRequest
ListThingRegistrationTasksRequest returns a request value for making API operation for AWS IoT.
List bulk thing provisioning tasks.
// Example sending a request using the ListThingRegistrationTasksRequest method. req := client.ListThingRegistrationTasksRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListThingsInBillingGroupRequest ¶ added in v0.6.0
func (c *IoT) ListThingsInBillingGroupRequest(input *ListThingsInBillingGroupInput) ListThingsInBillingGroupRequest
ListThingsInBillingGroupRequest returns a request value for making API operation for AWS IoT.
Lists the things you have added to the given billing group.
// Example sending a request using the ListThingsInBillingGroupRequest method. req := client.ListThingsInBillingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListThingsInThingGroupRequest ¶ added in v0.2.0
func (c *IoT) ListThingsInThingGroupRequest(input *ListThingsInThingGroupInput) ListThingsInThingGroupRequest
ListThingsInThingGroupRequest returns a request value for making API operation for AWS IoT.
Lists the things in the specified group.
// Example sending a request using the ListThingsInThingGroupRequest method. req := client.ListThingsInThingGroupRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListV2LoggingLevelsRequest ¶ added in v0.2.0
func (c *IoT) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) ListV2LoggingLevelsRequest
ListV2LoggingLevelsRequest returns a request value for making API operation for AWS IoT.
Lists logging levels.
// Example sending a request using the ListV2LoggingLevelsRequest method. req := client.ListV2LoggingLevelsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ListViolationEventsRequest ¶ added in v0.5.0
func (c *IoT) ListViolationEventsRequest(input *ListViolationEventsInput) ListViolationEventsRequest
ListViolationEventsRequest returns a request value for making API operation for AWS IoT.
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior or thing (device).
// Example sending a request using the ListViolationEventsRequest method. req := client.ListViolationEventsRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) RegisterThingRequest ¶ added in v0.2.0
func (c *IoT) RegisterThingRequest(input *RegisterThingInput) RegisterThingRequest
RegisterThingRequest returns a request value for making API operation for AWS IoT.
Provisions a thing.
// Example sending a request using the RegisterThingRequest method. req := client.RegisterThingRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) RemoveThingFromBillingGroupRequest ¶ added in v0.6.0
func (c *IoT) RemoveThingFromBillingGroupRequest(input *RemoveThingFromBillingGroupInput) RemoveThingFromBillingGroupRequest
RemoveThingFromBillingGroupRequest returns a request value for making API operation for AWS IoT.
Removes the given thing from the billing group.
// Example sending a request using the RemoveThingFromBillingGroupRequest method. req := client.RemoveThingFromBillingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) RemoveThingFromThingGroupRequest ¶ added in v0.2.0
func (c *IoT) RemoveThingFromThingGroupRequest(input *RemoveThingFromThingGroupInput) RemoveThingFromThingGroupRequest
RemoveThingFromThingGroupRequest returns a request value for making API operation for AWS IoT.
Remove the specified thing from the specified group.
// Example sending a request using the RemoveThingFromThingGroupRequest method. req := client.RemoveThingFromThingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ReplaceTopicRuleRequest ¶
func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) ReplaceTopicRuleRequest
ReplaceTopicRuleRequest returns a request value for making API operation for AWS IoT.
Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
// Example sending a request using the ReplaceTopicRuleRequest method. req := client.ReplaceTopicRuleRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) SearchIndexRequest ¶ added in v0.2.0
func (c *IoT) SearchIndexRequest(input *SearchIndexInput) SearchIndexRequest
SearchIndexRequest returns a request value for making API operation for AWS IoT.
The query search index.
// Example sending a request using the SearchIndexRequest method. req := client.SearchIndexRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) SetDefaultAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) SetDefaultAuthorizerRequest(input *SetDefaultAuthorizerInput) SetDefaultAuthorizerRequest
SetDefaultAuthorizerRequest returns a request value for making API operation for AWS IoT.
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
// Example sending a request using the SetDefaultAuthorizerRequest method. req := client.SetDefaultAuthorizerRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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.
NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.
// Example sending a request using the SetLoggingOptionsRequest method. req := client.SetLoggingOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) SetV2LoggingLevelRequest ¶ added in v0.2.0
func (c *IoT) SetV2LoggingLevelRequest(input *SetV2LoggingLevelInput) SetV2LoggingLevelRequest
SetV2LoggingLevelRequest returns a request value for making API operation for AWS IoT.
Sets the logging level.
// Example sending a request using the SetV2LoggingLevelRequest method. req := client.SetV2LoggingLevelRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) SetV2LoggingOptionsRequest ¶ added in v0.2.0
func (c *IoT) SetV2LoggingOptionsRequest(input *SetV2LoggingOptionsInput) SetV2LoggingOptionsRequest
SetV2LoggingOptionsRequest returns a request value for making API operation for AWS IoT.
Sets the logging options for the V2 logging service.
// Example sending a request using the SetV2LoggingOptionsRequest method. req := client.SetV2LoggingOptionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) StartOnDemandAuditTaskRequest ¶ added in v0.5.0
func (c *IoT) StartOnDemandAuditTaskRequest(input *StartOnDemandAuditTaskInput) StartOnDemandAuditTaskRequest
StartOnDemandAuditTaskRequest returns a request value for making API operation for AWS IoT.
Starts an on-demand Device Defender audit.
// Example sending a request using the StartOnDemandAuditTaskRequest method. req := client.StartOnDemandAuditTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) StartThingRegistrationTaskRequest ¶ added in v0.2.0
func (c *IoT) StartThingRegistrationTaskRequest(input *StartThingRegistrationTaskInput) StartThingRegistrationTaskRequest
StartThingRegistrationTaskRequest returns a request value for making API operation for AWS IoT.
Creates a bulk thing provisioning task.
// Example sending a request using the StartThingRegistrationTaskRequest method. req := client.StartThingRegistrationTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) StopThingRegistrationTaskRequest ¶ added in v0.2.0
func (c *IoT) StopThingRegistrationTaskRequest(input *StopThingRegistrationTaskInput) StopThingRegistrationTaskRequest
StopThingRegistrationTaskRequest returns a request value for making API operation for AWS IoT.
Cancels a bulk thing provisioning task.
// Example sending a request using the StopThingRegistrationTaskRequest method. req := client.StopThingRegistrationTaskRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) TagResourceRequest ¶ added in v0.6.0
func (c *IoT) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS IoT.
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
// Example sending a request using the TagResourceRequest method. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) TestAuthorizationRequest ¶ added in v0.2.0
func (c *IoT) TestAuthorizationRequest(input *TestAuthorizationInput) TestAuthorizationRequest
TestAuthorizationRequest returns a request value for making API operation for AWS IoT.
Tests if a specified principal is authorized to perform an AWS IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the AWS IoT device gateway.
// Example sending a request using the TestAuthorizationRequest method. req := client.TestAuthorizationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) TestInvokeAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) TestInvokeAuthorizerRequest
TestInvokeAuthorizerRequest returns a request value for making API operation for AWS IoT.
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the AWS IoT device gateway.
// Example sending a request using the TestInvokeAuthorizerRequest method. req := client.TestInvokeAuthorizerRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UntagResourceRequest ¶ added in v0.6.0
func (c *IoT) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS IoT.
Removes the given tags (metadata) from the resource.
// Example sending a request using the UntagResourceRequest method. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateAccountAuditConfigurationRequest ¶ added in v0.5.0
func (c *IoT) UpdateAccountAuditConfigurationRequest(input *UpdateAccountAuditConfigurationInput) UpdateAccountAuditConfigurationRequest
UpdateAccountAuditConfigurationRequest returns a request value for making API operation for AWS IoT.
Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
// Example sending a request using the UpdateAccountAuditConfigurationRequest method. req := client.UpdateAccountAuditConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateAuthorizerRequest ¶ added in v0.2.0
func (c *IoT) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) UpdateAuthorizerRequest
UpdateAuthorizerRequest returns a request value for making API operation for AWS IoT.
Updates an authorizer.
// Example sending a request using the UpdateAuthorizerRequest method. req := client.UpdateAuthorizerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateBillingGroupRequest ¶ added in v0.6.0
func (c *IoT) UpdateBillingGroupRequest(input *UpdateBillingGroupInput) UpdateBillingGroupRequest
UpdateBillingGroupRequest returns a request value for making API operation for AWS IoT.
Updates information about the billing group.
// Example sending a request using the UpdateBillingGroupRequest method. req := client.UpdateBillingGroupRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateDynamicThingGroupRequest ¶ added in v0.6.0
func (c *IoT) UpdateDynamicThingGroupRequest(input *UpdateDynamicThingGroupInput) UpdateDynamicThingGroupRequest
UpdateDynamicThingGroupRequest returns a request value for making API operation for AWS IoT.
Updates a dynamic thing group.
// Example sending a request using the UpdateDynamicThingGroupRequest method. req := client.UpdateDynamicThingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateEventConfigurationsRequest ¶ added in v0.2.0
func (c *IoT) UpdateEventConfigurationsRequest(input *UpdateEventConfigurationsInput) UpdateEventConfigurationsRequest
UpdateEventConfigurationsRequest returns a request value for making API operation for AWS IoT.
Updates the event configurations.
// Example sending a request using the UpdateEventConfigurationsRequest method. req := client.UpdateEventConfigurationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateIndexingConfigurationRequest ¶ added in v0.2.0
func (c *IoT) UpdateIndexingConfigurationRequest(input *UpdateIndexingConfigurationInput) UpdateIndexingConfigurationRequest
UpdateIndexingConfigurationRequest returns a request value for making API operation for AWS IoT.
Updates the search configuration.
// Example sending a request using the UpdateIndexingConfigurationRequest method. req := client.UpdateIndexingConfigurationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateJobRequest ¶ added in v0.6.0
func (c *IoT) UpdateJobRequest(input *UpdateJobInput) UpdateJobRequest
UpdateJobRequest returns a request value for making API operation for AWS IoT.
Updates supported fields of the specified job.
// Example sending a request using the UpdateJobRequest method. req := client.UpdateJobRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateRoleAliasRequest ¶ added in v0.2.0
func (c *IoT) UpdateRoleAliasRequest(input *UpdateRoleAliasInput) UpdateRoleAliasRequest
UpdateRoleAliasRequest returns a request value for making API operation for AWS IoT.
Updates a role alias.
// Example sending a request using the UpdateRoleAliasRequest method. req := client.UpdateRoleAliasRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateScheduledAuditRequest ¶ added in v0.5.0
func (c *IoT) UpdateScheduledAuditRequest(input *UpdateScheduledAuditInput) UpdateScheduledAuditRequest
UpdateScheduledAuditRequest returns a request value for making API operation for AWS IoT.
Updates a scheduled audit, including what checks are performed and how often the audit takes place.
// Example sending a request using the UpdateScheduledAuditRequest method. req := client.UpdateScheduledAuditRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateSecurityProfileRequest ¶ added in v0.5.0
func (c *IoT) UpdateSecurityProfileRequest(input *UpdateSecurityProfileInput) UpdateSecurityProfileRequest
UpdateSecurityProfileRequest returns a request value for making API operation for AWS IoT.
Updates a Device Defender security profile.
// Example sending a request using the UpdateSecurityProfileRequest method. req := client.UpdateSecurityProfileRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateStreamRequest ¶ added in v0.2.0
func (c *IoT) UpdateStreamRequest(input *UpdateStreamInput) UpdateStreamRequest
UpdateStreamRequest returns a request value for making API operation for AWS IoT.
Updates an existing stream. The stream version will be incremented by one.
// Example sending a request using the UpdateStreamRequest method. req := client.UpdateStreamRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateThingGroupRequest ¶ added in v0.2.0
func (c *IoT) UpdateThingGroupRequest(input *UpdateThingGroupInput) UpdateThingGroupRequest
UpdateThingGroupRequest returns a request value for making API operation for AWS IoT.
Update a thing group.
// Example sending a request using the UpdateThingGroupRequest method. req := client.UpdateThingGroupRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) UpdateThingGroupsForThingRequest ¶ added in v0.2.0
func (c *IoT) UpdateThingGroupsForThingRequest(input *UpdateThingGroupsForThingInput) UpdateThingGroupsForThingRequest
UpdateThingGroupsForThingRequest returns a request value for making API operation for AWS IoT.
Updates the groups to which the thing belongs.
// Example sending a request using the UpdateThingGroupsForThingRequest method. req := client.UpdateThingGroupsForThingRequest(params) resp, err := req.Send(context.TODO()) 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(context.TODO()) if err == nil { fmt.Println(resp) }
func (*IoT) ValidateSecurityProfileBehaviorsRequest ¶ added in v0.5.0
func (c *IoT) ValidateSecurityProfileBehaviorsRequest(input *ValidateSecurityProfileBehaviorsInput) ValidateSecurityProfileBehaviorsRequest
ValidateSecurityProfileBehaviorsRequest returns a request value for making API operation for AWS IoT.
Validates a Device Defender security profile behaviors specification.
// Example sending a request using the ValidateSecurityProfileBehaviorsRequest method. req := client.ValidateSecurityProfileBehaviorsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
type IotAnalyticsAction ¶ added in v0.4.0
type IotAnalyticsAction struct { // (deprecated) The ARN of the IoT Analytics channel to which message data will // be sent. ChannelArn *string `locationName:"channelArn" type:"string"` // The name of the IoT Analytics channel to which message data will be sent. ChannelName *string `locationName:"channelName" type:"string"` // The ARN of the role which has a policy that grants IoT Analytics permission // to send message data via IoT Analytics (iotanalytics:BatchPutMessage). RoleArn *string `locationName:"roleArn" type:"string"` // contains filtered or unexported fields }
Sends messge data to an AWS IoT Analytics channel.
func (IotAnalyticsAction) GoString ¶ added in v0.4.0
func (s IotAnalyticsAction) GoString() string
GoString returns the string representation
func (IotAnalyticsAction) MarshalFields ¶ added in v0.4.0
func (s IotAnalyticsAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (IotAnalyticsAction) String ¶ added in v0.4.0
func (s IotAnalyticsAction) String() string
String returns the string representation
type IotEventsAction ¶ added in v0.6.0
type IotEventsAction struct { // The name of the AWS IoT Events input. // // InputName is a required field InputName *string `locationName:"inputName" min:"1" type:"string" required:"true"` // [Optional] Use this to ensure that only one input (message) with a given // messageId will be processed by an AWS IoT Events detector. MessageId *string `locationName:"messageId" type:"string"` // The ARN of the role that grants AWS IoT permission to send an input to an // AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage"). // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // contains filtered or unexported fields }
Sends an input to an AWS IoT Events detector.
func (IotEventsAction) GoString ¶ added in v0.6.0
func (s IotEventsAction) GoString() string
GoString returns the string representation
func (IotEventsAction) MarshalFields ¶ added in v0.6.0
func (s IotEventsAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (IotEventsAction) String ¶ added in v0.6.0
func (s IotEventsAction) String() string
String returns the string representation
func (*IotEventsAction) Validate ¶ added in v0.6.0
func (s *IotEventsAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Job ¶ added in v0.2.0
type Job struct { // Configuration for criteria to abort the job. AbortConfig *AbortConfig `locationName:"abortConfig" type:"structure"` // If the job was updated, describes the reason for the update. Comment *string `locationName:"comment" type:"string"` // The time, in seconds since the epoch, when the job was completed. CompletedAt *time.Time `locationName:"completedAt" type:"timestamp" timestampFormat:"unix"` // The time, in seconds since the epoch, when the job was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // A short text description of the job. Description *string `locationName:"description" type:"string"` // Will be true if the job was canceled with the optional force parameter set // to true. ForceCanceled *bool `locationName:"forceCanceled" type:"boolean"` // An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId". JobArn *string `locationName:"jobArn" type:"string"` // Allows you to create a staged rollout of a job. JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"` // The unique identifier you assigned to this job when it was created. JobId *string `locationName:"jobId" min:"1" type:"string"` // Details about the job process. JobProcessDetails *JobProcessDetails `locationName:"jobProcessDetails" type:"structure"` // The time, in seconds since the epoch, when the job was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` // Configuration for pre-signed S3 URLs. PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"` // If the job was updated, provides the reason code for the update. ReasonCode *string `locationName:"reasonCode" type:"string"` // The status of the job, one of IN_PROGRESS, CANCELED, DELETION_IN_PROGRESS // or COMPLETED. Status JobStatus `locationName:"status" type:"string" enum:"true"` // Specifies whether the job will continue to run (CONTINUOUS), or will be complete // after all those things specified as targets have completed the job (SNAPSHOT). // If continuous, the job may also be run on a thing when a change is detected // in a target. For example, a job will run on a device when the thing representing // the device is added to a target group, even after the job was completed by // all things originally in the group. TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"` // A list of IoT things and thing groups to which the job should be sent. Targets []string `locationName:"targets" min:"1" type:"list"` // Specifies the amount of time each device has to finish its execution of the // job. A timer is started when the job execution status is set to IN_PROGRESS. // If the job execution status is not set to another terminal state before the // timer expires, it will be automatically set to TIMED_OUT. TimeoutConfig *TimeoutConfig `locationName:"timeoutConfig" type:"structure"` // contains filtered or unexported fields }
The Job object contains details about a job.
func (Job) MarshalFields ¶ added in v0.3.0
func (s Job) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type JobExecution ¶ added in v0.2.0
type JobExecution struct { // The estimated number of seconds that remain before the job execution status // will be changed to TIMED_OUT. The timeout interval can be anywhere between // 1 minute and 7 days (1 to 10080 minutes). The actual job execution timeout // can occur up to 60 seconds later than the estimated duration. This value // will not be included if the job execution has reached a terminal status. ApproximateSecondsBeforeTimedOut *int64 `locationName:"approximateSecondsBeforeTimedOut" type:"long"` // A string (consisting of the digits "0" through "9") which identifies this // particular job execution on this particular device. It can be used in commands // which return or update job execution information. ExecutionNumber *int64 `locationName:"executionNumber" type:"long"` // Will be true if the job execution was canceled with the optional force parameter // set to true. ForceCanceled *bool `locationName:"forceCanceled" type:"boolean"` // The unique identifier you assigned to the job when it was created. JobId *string `locationName:"jobId" min:"1" type:"string"` // The time, in seconds since the epoch, when the job execution was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` // The time, in seconds since the epoch, when the job execution was queued. QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp" timestampFormat:"unix"` // The time, in seconds since the epoch, when the job execution started. StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"` // The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, // TIMED_OUT, CANCELED, or REJECTED). Status JobExecutionStatus `locationName:"status" type:"string" enum:"true"` // A collection of name/value pairs that describe the status of the job execution. StatusDetails *JobExecutionStatusDetails `locationName:"statusDetails" type:"structure"` // The ARN of the thing on which the job execution is running. ThingArn *string `locationName:"thingArn" type:"string"` // The version of the job execution. Job execution versions are incremented // each time they are updated by a device. VersionNumber *int64 `locationName:"versionNumber" type:"long"` // contains filtered or unexported fields }
The job execution object represents the execution of a job on a particular device.
func (JobExecution) GoString ¶ added in v0.2.0
func (s JobExecution) GoString() string
GoString returns the string representation
func (JobExecution) MarshalFields ¶ added in v0.3.0
func (s JobExecution) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobExecution) String ¶ added in v0.2.0
func (s JobExecution) String() string
String returns the string representation
type JobExecutionFailureType ¶ added in v0.6.0
type JobExecutionFailureType string
const ( JobExecutionFailureTypeFailed JobExecutionFailureType = "FAILED" JobExecutionFailureTypeRejected JobExecutionFailureType = "REJECTED" JobExecutionFailureTypeTimedOut JobExecutionFailureType = "TIMED_OUT" JobExecutionFailureTypeAll JobExecutionFailureType = "ALL" )
Enum values for JobExecutionFailureType
func (JobExecutionFailureType) MarshalValue ¶ added in v0.6.0
func (enum JobExecutionFailureType) MarshalValue() (string, error)
func (JobExecutionFailureType) MarshalValueBuf ¶ added in v0.6.0
func (enum JobExecutionFailureType) MarshalValueBuf(b []byte) ([]byte, error)
type JobExecutionStatus ¶ added in v0.2.0
type JobExecutionStatus string
const ( JobExecutionStatusQueued JobExecutionStatus = "QUEUED" JobExecutionStatusInProgress JobExecutionStatus = "IN_PROGRESS" JobExecutionStatusSucceeded JobExecutionStatus = "SUCCEEDED" JobExecutionStatusFailed JobExecutionStatus = "FAILED" JobExecutionStatusTimedOut JobExecutionStatus = "TIMED_OUT" JobExecutionStatusRejected JobExecutionStatus = "REJECTED" JobExecutionStatusRemoved JobExecutionStatus = "REMOVED" JobExecutionStatusCanceled JobExecutionStatus = "CANCELED" )
Enum values for JobExecutionStatus
func (JobExecutionStatus) MarshalValue ¶ added in v0.3.0
func (enum JobExecutionStatus) MarshalValue() (string, error)
func (JobExecutionStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum JobExecutionStatus) MarshalValueBuf(b []byte) ([]byte, error)
type JobExecutionStatusDetails ¶ added in v0.2.0
type JobExecutionStatusDetails struct { // The job execution status. DetailsMap map[string]string `locationName:"detailsMap" type:"map"` // contains filtered or unexported fields }
Details of the job execution status.
func (JobExecutionStatusDetails) GoString ¶ added in v0.2.0
func (s JobExecutionStatusDetails) GoString() string
GoString returns the string representation
func (JobExecutionStatusDetails) MarshalFields ¶ added in v0.3.0
func (s JobExecutionStatusDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobExecutionStatusDetails) String ¶ added in v0.2.0
func (s JobExecutionStatusDetails) String() string
String returns the string representation
type JobExecutionSummary ¶ added in v0.2.0
type JobExecutionSummary struct { // A string (consisting of the digits "0" through "9") which identifies this // particular job execution on this particular device. It can be used later // in commands which return or update job execution information. ExecutionNumber *int64 `locationName:"executionNumber" type:"long"` // The time, in seconds since the epoch, when the job execution was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` // The time, in seconds since the epoch, when the job execution was queued. QueuedAt *time.Time `locationName:"queuedAt" type:"timestamp" timestampFormat:"unix"` // The time, in seconds since the epoch, when the job execution started. StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"` // The status of the job execution. Status JobExecutionStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
The job execution summary.
func (JobExecutionSummary) GoString ¶ added in v0.2.0
func (s JobExecutionSummary) GoString() string
GoString returns the string representation
func (JobExecutionSummary) MarshalFields ¶ added in v0.3.0
func (s JobExecutionSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobExecutionSummary) String ¶ added in v0.2.0
func (s JobExecutionSummary) String() string
String returns the string representation
type JobExecutionSummaryForJob ¶ added in v0.2.0
type JobExecutionSummaryForJob struct { // Contains a subset of information about a job execution. JobExecutionSummary *JobExecutionSummary `locationName:"jobExecutionSummary" type:"structure"` // The ARN of the thing on which the job execution is running. ThingArn *string `locationName:"thingArn" type:"string"` // contains filtered or unexported fields }
Contains a summary of information about job executions for a specific job.
func (JobExecutionSummaryForJob) GoString ¶ added in v0.2.0
func (s JobExecutionSummaryForJob) GoString() string
GoString returns the string representation
func (JobExecutionSummaryForJob) MarshalFields ¶ added in v0.3.0
func (s JobExecutionSummaryForJob) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobExecutionSummaryForJob) String ¶ added in v0.2.0
func (s JobExecutionSummaryForJob) String() string
String returns the string representation
type JobExecutionSummaryForThing ¶ added in v0.2.0
type JobExecutionSummaryForThing struct { // Contains a subset of information about a job execution. JobExecutionSummary *JobExecutionSummary `locationName:"jobExecutionSummary" type:"structure"` // The unique identifier you assigned to this job when it was created. JobId *string `locationName:"jobId" min:"1" type:"string"` // contains filtered or unexported fields }
The job execution summary for a thing.
func (JobExecutionSummaryForThing) GoString ¶ added in v0.2.0
func (s JobExecutionSummaryForThing) GoString() string
GoString returns the string representation
func (JobExecutionSummaryForThing) MarshalFields ¶ added in v0.3.0
func (s JobExecutionSummaryForThing) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobExecutionSummaryForThing) String ¶ added in v0.2.0
func (s JobExecutionSummaryForThing) String() string
String returns the string representation
type JobExecutionsRolloutConfig ¶ added in v0.2.0
type JobExecutionsRolloutConfig struct { // The rate of increase for a job rollout. This parameter allows you to define // an exponential rate for a job rollout. ExponentialRate *ExponentialRolloutRate `locationName:"exponentialRate" type:"structure"` // The maximum number of things that will be notified of a pending job, per // minute. This parameter allows you to create a staged rollout. MaximumPerMinute *int64 `locationName:"maximumPerMinute" min:"1" type:"integer"` // contains filtered or unexported fields }
Allows you to create a staged rollout of a job.
func (JobExecutionsRolloutConfig) GoString ¶ added in v0.2.0
func (s JobExecutionsRolloutConfig) GoString() string
GoString returns the string representation
func (JobExecutionsRolloutConfig) MarshalFields ¶ added in v0.3.0
func (s JobExecutionsRolloutConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobExecutionsRolloutConfig) String ¶ added in v0.2.0
func (s JobExecutionsRolloutConfig) String() string
String returns the string representation
func (*JobExecutionsRolloutConfig) Validate ¶ added in v0.2.0
func (s *JobExecutionsRolloutConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type JobProcessDetails ¶ added in v0.2.0
type JobProcessDetails struct { // The number of things that cancelled the job. NumberOfCanceledThings *int64 `locationName:"numberOfCanceledThings" type:"integer"` // The number of things that failed executing the job. NumberOfFailedThings *int64 `locationName:"numberOfFailedThings" type:"integer"` // The number of things currently executing the job. NumberOfInProgressThings *int64 `locationName:"numberOfInProgressThings" type:"integer"` // The number of things that are awaiting execution of the job. NumberOfQueuedThings *int64 `locationName:"numberOfQueuedThings" type:"integer"` // The number of things that rejected the job. NumberOfRejectedThings *int64 `locationName:"numberOfRejectedThings" type:"integer"` // The number of things that are no longer scheduled to execute the job because // they have been deleted or have been removed from the group that was a target // of the job. NumberOfRemovedThings *int64 `locationName:"numberOfRemovedThings" type:"integer"` // The number of things which successfully completed the job. NumberOfSucceededThings *int64 `locationName:"numberOfSucceededThings" type:"integer"` // The number of things whose job execution status is TIMED_OUT. NumberOfTimedOutThings *int64 `locationName:"numberOfTimedOutThings" type:"integer"` // The target devices to which the job execution is being rolled out. This value // will be null after the job execution has finished rolling out to all the // target devices. ProcessingTargets []string `locationName:"processingTargets" type:"list"` // contains filtered or unexported fields }
The job process details.
func (JobProcessDetails) GoString ¶ added in v0.2.0
func (s JobProcessDetails) GoString() string
GoString returns the string representation
func (JobProcessDetails) MarshalFields ¶ added in v0.3.0
func (s JobProcessDetails) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobProcessDetails) String ¶ added in v0.2.0
func (s JobProcessDetails) String() string
String returns the string representation
type JobStatus ¶ added in v0.2.0
type JobStatus string
const ( JobStatusInProgress JobStatus = "IN_PROGRESS" JobStatusCanceled JobStatus = "CANCELED" JobStatusCompleted JobStatus = "COMPLETED" JobStatusDeletionInProgress JobStatus = "DELETION_IN_PROGRESS" )
Enum values for JobStatus
func (JobStatus) MarshalValue ¶ added in v0.3.0
type JobSummary ¶ added in v0.2.0
type JobSummary struct { // The time, in seconds since the epoch, when the job completed. CompletedAt *time.Time `locationName:"completedAt" type:"timestamp" timestampFormat:"unix"` // The time, in seconds since the epoch, when the job was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The job ARN. JobArn *string `locationName:"jobArn" type:"string"` // The unique identifier you assigned to this job when it was created. JobId *string `locationName:"jobId" min:"1" type:"string"` // The time, in seconds since the epoch, when the job was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` // The job summary status. Status JobStatus `locationName:"status" type:"string" enum:"true"` // Specifies whether the job will continue to run (CONTINUOUS), or will be complete // after all those things specified as targets have completed the job (SNAPSHOT). // If continuous, the job may also be run on a thing when a change is detected // in a target. For example, a job will run on a thing when the thing is added // to a target group, even after the job was completed by all things originally // in the group. TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"` // The ID of the thing group. ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` // contains filtered or unexported fields }
The job summary.
func (JobSummary) GoString ¶ added in v0.2.0
func (s JobSummary) GoString() string
GoString returns the string representation
func (JobSummary) MarshalFields ¶ added in v0.3.0
func (s JobSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (JobSummary) String ¶ added in v0.2.0
func (s JobSummary) String() string
String returns the string representation
type KeyPair ¶
type KeyPair struct { // The private key. PrivateKey *string `min:"1" type:"string"` // The public key. PublicKey *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes a key pair.
func (KeyPair) MarshalFields ¶ added in v0.3.0
func (s KeyPair) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s KinesisAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (KinesisAction) String ¶
func (s KinesisAction) String() string
String returns the string representation
func (*KinesisAction) Validate ¶
func (s *KinesisAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LambdaAction ¶
type LambdaAction struct { // The ARN of the Lambda function. // // FunctionArn is a required field FunctionArn *string `locationName:"functionArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action to invoke a Lambda function.
func (LambdaAction) GoString ¶
func (s LambdaAction) GoString() string
GoString returns the string representation
func (LambdaAction) MarshalFields ¶ added in v0.3.0
func (s LambdaAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LambdaAction) String ¶
func (s LambdaAction) String() string
String returns the string representation
func (*LambdaAction) Validate ¶
func (s *LambdaAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListActiveViolationsInput ¶ added in v0.5.0
type ListActiveViolationsInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the Device Defender security profile for which violations are // listed. SecurityProfileName *string `location:"querystring" locationName:"securityProfileName" min:"1" type:"string"` // The name of the thing whose active violations are listed. ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListActiveViolationsInput) GoString ¶ added in v0.5.0
func (s ListActiveViolationsInput) GoString() string
GoString returns the string representation
func (ListActiveViolationsInput) MarshalFields ¶ added in v0.5.0
func (s ListActiveViolationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListActiveViolationsInput) String ¶ added in v0.5.0
func (s ListActiveViolationsInput) String() string
String returns the string representation
func (*ListActiveViolationsInput) Validate ¶ added in v0.5.0
func (s *ListActiveViolationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListActiveViolationsOutput ¶ added in v0.5.0
type ListActiveViolationsOutput struct { // The list of active violations. ActiveViolations []ActiveViolation `locationName:"activeViolations" type:"list"` // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListActiveViolationsOutput) GoString ¶ added in v0.5.0
func (s ListActiveViolationsOutput) GoString() string
GoString returns the string representation
func (ListActiveViolationsOutput) MarshalFields ¶ added in v0.5.0
func (s ListActiveViolationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListActiveViolationsOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListActiveViolationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListActiveViolationsOutput) String ¶ added in v0.5.0
func (s ListActiveViolationsOutput) String() string
String returns the string representation
type ListActiveViolationsRequest ¶ added in v0.5.0
type ListActiveViolationsRequest struct { *aws.Request Input *ListActiveViolationsInput Copy func(*ListActiveViolationsInput) ListActiveViolationsRequest }
ListActiveViolationsRequest is a API request type for the ListActiveViolations API operation.
func (ListActiveViolationsRequest) Send ¶ added in v0.5.0
func (r ListActiveViolationsRequest) Send(ctx context.Context) (*ListActiveViolationsOutput, error)
Send marshals and sends the ListActiveViolations API request.
type ListAttachedPoliciesInput ¶ added in v0.2.0
type ListAttachedPoliciesInput struct { // The token to retrieve the next set of results. Marker *string `location:"querystring" locationName:"marker" type:"string"` // The maximum number of results to be returned per request. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // When true, recursively list attached policies. Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` // The group for which the policies will be listed. // // Target is a required field Target *string `location:"uri" locationName:"target" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListAttachedPoliciesInput) GoString ¶ added in v0.2.0
func (s ListAttachedPoliciesInput) GoString() string
GoString returns the string representation
func (ListAttachedPoliciesInput) MarshalFields ¶ added in v0.3.0
func (s ListAttachedPoliciesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAttachedPoliciesInput) String ¶ added in v0.2.0
func (s ListAttachedPoliciesInput) String() string
String returns the string representation
func (*ListAttachedPoliciesInput) Validate ¶ added in v0.2.0
func (s *ListAttachedPoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAttachedPoliciesOutput ¶ added in v0.2.0
type ListAttachedPoliciesOutput struct { // The token to retrieve the next set of results, or “null“ if there are no // more results. NextMarker *string `locationName:"nextMarker" type:"string"` // The policies. Policies []Policy `locationName:"policies" type:"list"` // contains filtered or unexported fields }
func (ListAttachedPoliciesOutput) GoString ¶ added in v0.2.0
func (s ListAttachedPoliciesOutput) GoString() string
GoString returns the string representation
func (ListAttachedPoliciesOutput) MarshalFields ¶ added in v0.3.0
func (s ListAttachedPoliciesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAttachedPoliciesOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListAttachedPoliciesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListAttachedPoliciesOutput) String ¶ added in v0.2.0
func (s ListAttachedPoliciesOutput) String() string
String returns the string representation
type ListAttachedPoliciesRequest ¶ added in v0.2.0
type ListAttachedPoliciesRequest struct { *aws.Request Input *ListAttachedPoliciesInput Copy func(*ListAttachedPoliciesInput) ListAttachedPoliciesRequest }
ListAttachedPoliciesRequest is a API request type for the ListAttachedPolicies API operation.
func (ListAttachedPoliciesRequest) Send ¶ added in v0.2.0
func (r ListAttachedPoliciesRequest) Send(ctx context.Context) (*ListAttachedPoliciesOutput, error)
Send marshals and sends the ListAttachedPolicies API request.
type ListAuditFindingsInput ¶ added in v0.5.0
type ListAuditFindingsInput struct { // A filter to limit results to the findings for the specified audit check. CheckName *string `locationName:"checkName" type:"string"` // A filter to limit results to those found before the specified time. You must // specify either the startTime and endTime or the taskId, but not both. EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"` // The maximum number of results to return at one time. The default is 25. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // Information identifying the non-compliant resource. ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` // A filter to limit results to those found after the specified time. You must // specify either the startTime and endTime or the taskId, but not both. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"` // A filter to limit results to the audit with the specified ID. You must specify // either the taskId or the startTime and endTime, but not both. TaskId *string `locationName:"taskId" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListAuditFindingsInput) GoString ¶ added in v0.5.0
func (s ListAuditFindingsInput) GoString() string
GoString returns the string representation
func (ListAuditFindingsInput) MarshalFields ¶ added in v0.5.0
func (s ListAuditFindingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAuditFindingsInput) String ¶ added in v0.5.0
func (s ListAuditFindingsInput) String() string
String returns the string representation
func (*ListAuditFindingsInput) Validate ¶ added in v0.5.0
func (s *ListAuditFindingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAuditFindingsOutput ¶ added in v0.5.0
type ListAuditFindingsOutput struct { // The findings (results) of the audit. Findings []AuditFinding `locationName:"findings" type:"list"` // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListAuditFindingsOutput) GoString ¶ added in v0.5.0
func (s ListAuditFindingsOutput) GoString() string
GoString returns the string representation
func (ListAuditFindingsOutput) MarshalFields ¶ added in v0.5.0
func (s ListAuditFindingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAuditFindingsOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListAuditFindingsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListAuditFindingsOutput) String ¶ added in v0.5.0
func (s ListAuditFindingsOutput) String() string
String returns the string representation
type ListAuditFindingsRequest ¶ added in v0.5.0
type ListAuditFindingsRequest struct { *aws.Request Input *ListAuditFindingsInput Copy func(*ListAuditFindingsInput) ListAuditFindingsRequest }
ListAuditFindingsRequest is a API request type for the ListAuditFindings API operation.
func (ListAuditFindingsRequest) Send ¶ added in v0.5.0
func (r ListAuditFindingsRequest) Send(ctx context.Context) (*ListAuditFindingsOutput, error)
Send marshals and sends the ListAuditFindings API request.
type ListAuditTasksInput ¶ added in v0.5.0
type ListAuditTasksInput struct { // The end of the time period. // // EndTime is a required field EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"` // The maximum number of results to return at one time. The default is 25. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The beginning of the time period. Note that audit information is retained // for a limited time (180 days). Requesting a start time prior to what is retained // results in an "InvalidRequestException". // // StartTime is a required field StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` // A filter to limit the output to audits with the specified completion status: // can be one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED". TaskStatus AuditTaskStatus `location:"querystring" locationName:"taskStatus" type:"string" enum:"true"` // A filter to limit the output to the specified type of audit: can be one of // "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK". TaskType AuditTaskType `location:"querystring" locationName:"taskType" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListAuditTasksInput) GoString ¶ added in v0.5.0
func (s ListAuditTasksInput) GoString() string
GoString returns the string representation
func (ListAuditTasksInput) MarshalFields ¶ added in v0.5.0
func (s ListAuditTasksInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAuditTasksInput) String ¶ added in v0.5.0
func (s ListAuditTasksInput) String() string
String returns the string representation
func (*ListAuditTasksInput) Validate ¶ added in v0.5.0
func (s *ListAuditTasksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAuditTasksOutput ¶ added in v0.5.0
type ListAuditTasksOutput struct { // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // The audits that were performed during the specified time period. Tasks []AuditTaskMetadata `locationName:"tasks" type:"list"` // contains filtered or unexported fields }
func (ListAuditTasksOutput) GoString ¶ added in v0.5.0
func (s ListAuditTasksOutput) GoString() string
GoString returns the string representation
func (ListAuditTasksOutput) MarshalFields ¶ added in v0.5.0
func (s ListAuditTasksOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAuditTasksOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListAuditTasksOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListAuditTasksOutput) String ¶ added in v0.5.0
func (s ListAuditTasksOutput) String() string
String returns the string representation
type ListAuditTasksRequest ¶ added in v0.5.0
type ListAuditTasksRequest struct { *aws.Request Input *ListAuditTasksInput Copy func(*ListAuditTasksInput) ListAuditTasksRequest }
ListAuditTasksRequest is a API request type for the ListAuditTasks API operation.
func (ListAuditTasksRequest) Send ¶ added in v0.5.0
func (r ListAuditTasksRequest) Send(ctx context.Context) (*ListAuditTasksOutput, error)
Send marshals and sends the ListAuditTasks API request.
type ListAuthorizersInput ¶ added in v0.2.0
type ListAuthorizersInput struct { // Return the list of authorizers in ascending alphabetical order. AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` // A marker used to get the next set of results. Marker *string `location:"querystring" locationName:"marker" type:"string"` // The maximum number of results to return at one time. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // The status of the list authorizers request. Status AuthorizerStatus `location:"querystring" locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListAuthorizersInput) GoString ¶ added in v0.2.0
func (s ListAuthorizersInput) GoString() string
GoString returns the string representation
func (ListAuthorizersInput) MarshalFields ¶ added in v0.3.0
func (s ListAuthorizersInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAuthorizersInput) String ¶ added in v0.2.0
func (s ListAuthorizersInput) String() string
String returns the string representation
func (*ListAuthorizersInput) Validate ¶ added in v0.2.0
func (s *ListAuthorizersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAuthorizersOutput ¶ added in v0.2.0
type ListAuthorizersOutput struct { // The authorizers. Authorizers []AuthorizerSummary `locationName:"authorizers" type:"list"` // A marker used to get the next set of results. NextMarker *string `locationName:"nextMarker" type:"string"` // contains filtered or unexported fields }
func (ListAuthorizersOutput) GoString ¶ added in v0.2.0
func (s ListAuthorizersOutput) GoString() string
GoString returns the string representation
func (ListAuthorizersOutput) MarshalFields ¶ added in v0.3.0
func (s ListAuthorizersOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListAuthorizersOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListAuthorizersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListAuthorizersOutput) String ¶ added in v0.2.0
func (s ListAuthorizersOutput) String() string
String returns the string representation
type ListAuthorizersRequest ¶ added in v0.2.0
type ListAuthorizersRequest struct { *aws.Request Input *ListAuthorizersInput Copy func(*ListAuthorizersInput) ListAuthorizersRequest }
ListAuthorizersRequest is a API request type for the ListAuthorizers API operation.
func (ListAuthorizersRequest) Send ¶ added in v0.2.0
func (r ListAuthorizersRequest) Send(ctx context.Context) (*ListAuthorizersOutput, error)
Send marshals and sends the ListAuthorizers API request.
type ListBillingGroupsInput ¶ added in v0.6.0
type ListBillingGroupsInput struct { // The maximum number of results to return per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // Limit the results to billing groups whose names have the given prefix. NamePrefixFilter *string `location:"querystring" locationName:"namePrefixFilter" min:"1" type:"string"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListBillingGroupsInput) GoString ¶ added in v0.6.0
func (s ListBillingGroupsInput) GoString() string
GoString returns the string representation
func (ListBillingGroupsInput) MarshalFields ¶ added in v0.6.0
func (s ListBillingGroupsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBillingGroupsInput) String ¶ added in v0.6.0
func (s ListBillingGroupsInput) String() string
String returns the string representation
func (*ListBillingGroupsInput) Validate ¶ added in v0.6.0
func (s *ListBillingGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListBillingGroupsOutput ¶ added in v0.6.0
type ListBillingGroupsOutput struct { // The list of billing groups. BillingGroups []GroupNameAndArn `locationName:"billingGroups" type:"list"` // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListBillingGroupsOutput) GoString ¶ added in v0.6.0
func (s ListBillingGroupsOutput) GoString() string
GoString returns the string representation
func (ListBillingGroupsOutput) MarshalFields ¶ added in v0.6.0
func (s ListBillingGroupsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListBillingGroupsOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s ListBillingGroupsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListBillingGroupsOutput) String ¶ added in v0.6.0
func (s ListBillingGroupsOutput) String() string
String returns the string representation
type ListBillingGroupsRequest ¶ added in v0.6.0
type ListBillingGroupsRequest struct { *aws.Request Input *ListBillingGroupsInput Copy func(*ListBillingGroupsInput) ListBillingGroupsRequest }
ListBillingGroupsRequest is a API request type for the ListBillingGroups API operation.
func (ListBillingGroupsRequest) Send ¶ added in v0.6.0
func (r ListBillingGroupsRequest) Send(ctx context.Context) (*ListBillingGroupsOutput, error)
Send marshals and sends the ListBillingGroups API request.
type ListCACertificatesInput ¶
type ListCACertificatesInput struct { // Determines the order of the results. AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` // The marker for the next set of results. Marker *string `location:"querystring" locationName:"marker" type:"string"` // The result page size. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // contains filtered or unexported fields }
Input for the ListCACertificates operation.
func (ListCACertificatesInput) GoString ¶
func (s ListCACertificatesInput) GoString() string
GoString returns the string representation
func (ListCACertificatesInput) MarshalFields ¶ added in v0.3.0
func (s ListCACertificatesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListCACertificatesInput) String ¶
func (s ListCACertificatesInput) String() string
String returns the string representation
func (*ListCACertificatesInput) Validate ¶
func (s *ListCACertificatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCACertificatesOutput ¶
type ListCACertificatesOutput struct { // The CA certificates registered in your AWS account. Certificates []CACertificate `locationName:"certificates" type:"list"` // The current position within the list of CA certificates. NextMarker *string `locationName:"nextMarker" type:"string"` // contains filtered or unexported fields }
The output from the ListCACertificates operation.
func (ListCACertificatesOutput) GoString ¶
func (s ListCACertificatesOutput) GoString() string
GoString returns the string representation
func (ListCACertificatesOutput) MarshalFields ¶ added in v0.3.0
func (s ListCACertificatesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListCACertificatesOutput) SDKResponseMetadata ¶
func (s ListCACertificatesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListCACertificatesOutput) String ¶
func (s ListCACertificatesOutput) String() string
String returns the string representation
type ListCACertificatesRequest ¶
type ListCACertificatesRequest struct { *aws.Request Input *ListCACertificatesInput Copy func(*ListCACertificatesInput) ListCACertificatesRequest }
ListCACertificatesRequest is a API request type for the ListCACertificates API operation.
func (ListCACertificatesRequest) Send ¶
func (r ListCACertificatesRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s ListCertificatesByCAInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListCertificatesByCAInput) String ¶
func (s ListCertificatesByCAInput) String() string
String returns the string representation
func (*ListCertificatesByCAInput) Validate ¶
func (s *ListCertificatesByCAInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCertificatesByCAOutput ¶
type ListCertificatesByCAOutput struct { // The device certificates signed by the specified CA certificate. Certificates []Certificate `locationName:"certificates" type:"list"` // The marker for the next set of results, or null if there are no additional // results. NextMarker *string `locationName:"nextMarker" type:"string"` // contains filtered or unexported fields }
The output of the ListCertificatesByCA operation.
func (ListCertificatesByCAOutput) GoString ¶
func (s ListCertificatesByCAOutput) GoString() string
GoString returns the string representation
func (ListCertificatesByCAOutput) MarshalFields ¶ added in v0.3.0
func (s ListCertificatesByCAOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListCertificatesByCAOutput) SDKResponseMetadata ¶
func (s ListCertificatesByCAOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListCertificatesByCAOutput) String ¶
func (s ListCertificatesByCAOutput) String() string
String returns the string representation
type ListCertificatesByCARequest ¶
type ListCertificatesByCARequest struct { *aws.Request Input *ListCertificatesByCAInput Copy func(*ListCertificatesByCAInput) ListCertificatesByCARequest }
ListCertificatesByCARequest is a API request type for the ListCertificatesByCA API operation.
func (ListCertificatesByCARequest) Send ¶
func (r ListCertificatesByCARequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s ListCertificatesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListCertificatesInput) String ¶
func (s ListCertificatesInput) String() string
String returns the string representation
func (*ListCertificatesInput) Validate ¶
func (s *ListCertificatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCertificatesOutput ¶
type ListCertificatesOutput struct { // The descriptions of the certificates. Certificates []Certificate `locationName:"certificates" type:"list"` // The marker for the next set of results, or null if there are no additional // results. NextMarker *string `locationName:"nextMarker" type:"string"` // contains filtered or unexported fields }
The output of the ListCertificates operation.
func (ListCertificatesOutput) GoString ¶
func (s ListCertificatesOutput) GoString() string
GoString returns the string representation
func (ListCertificatesOutput) MarshalFields ¶ added in v0.3.0
func (s ListCertificatesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListCertificatesOutput) SDKResponseMetadata ¶
func (s ListCertificatesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListCertificatesOutput) String ¶
func (s ListCertificatesOutput) String() string
String returns the string representation
type ListCertificatesRequest ¶
type ListCertificatesRequest struct { *aws.Request Input *ListCertificatesInput Copy func(*ListCertificatesInput) ListCertificatesRequest }
ListCertificatesRequest is a API request type for the ListCertificates API operation.
func (ListCertificatesRequest) Send ¶
func (r ListCertificatesRequest) Send(ctx context.Context) (*ListCertificatesOutput, error)
Send marshals and sends the ListCertificates API request.
type ListIndicesInput ¶ added in v0.2.0
type ListIndicesInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListIndicesInput) GoString ¶ added in v0.2.0
func (s ListIndicesInput) GoString() string
GoString returns the string representation
func (ListIndicesInput) MarshalFields ¶ added in v0.3.0
func (s ListIndicesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListIndicesInput) String ¶ added in v0.2.0
func (s ListIndicesInput) String() string
String returns the string representation
func (*ListIndicesInput) Validate ¶ added in v0.2.0
func (s *ListIndicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListIndicesOutput ¶ added in v0.2.0
type ListIndicesOutput struct { // The index names. IndexNames []string `locationName:"indexNames" type:"list"` // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListIndicesOutput) GoString ¶ added in v0.2.0
func (s ListIndicesOutput) GoString() string
GoString returns the string representation
func (ListIndicesOutput) MarshalFields ¶ added in v0.3.0
func (s ListIndicesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListIndicesOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListIndicesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListIndicesOutput) String ¶ added in v0.2.0
func (s ListIndicesOutput) String() string
String returns the string representation
type ListIndicesRequest ¶ added in v0.2.0
type ListIndicesRequest struct { *aws.Request Input *ListIndicesInput Copy func(*ListIndicesInput) ListIndicesRequest }
ListIndicesRequest is a API request type for the ListIndices API operation.
func (ListIndicesRequest) Send ¶ added in v0.2.0
func (r ListIndicesRequest) Send(ctx context.Context) (*ListIndicesOutput, error)
Send marshals and sends the ListIndices API request.
type ListJobExecutionsForJobInput ¶ added in v0.2.0
type ListJobExecutionsForJobInput struct { // The unique identifier you assigned to this job when it was created. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // The maximum number of results to be returned per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The status of the job. Status JobExecutionStatus `location:"querystring" locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListJobExecutionsForJobInput) GoString ¶ added in v0.2.0
func (s ListJobExecutionsForJobInput) GoString() string
GoString returns the string representation
func (ListJobExecutionsForJobInput) MarshalFields ¶ added in v0.3.0
func (s ListJobExecutionsForJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListJobExecutionsForJobInput) String ¶ added in v0.2.0
func (s ListJobExecutionsForJobInput) String() string
String returns the string representation
func (*ListJobExecutionsForJobInput) Validate ¶ added in v0.2.0
func (s *ListJobExecutionsForJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListJobExecutionsForJobOutput ¶ added in v0.2.0
type ListJobExecutionsForJobOutput struct { // A list of job execution summaries. ExecutionSummaries []JobExecutionSummaryForJob `locationName:"executionSummaries" type:"list"` // The token for the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListJobExecutionsForJobOutput) GoString ¶ added in v0.2.0
func (s ListJobExecutionsForJobOutput) GoString() string
GoString returns the string representation
func (ListJobExecutionsForJobOutput) MarshalFields ¶ added in v0.3.0
func (s ListJobExecutionsForJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListJobExecutionsForJobOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListJobExecutionsForJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListJobExecutionsForJobOutput) String ¶ added in v0.2.0
func (s ListJobExecutionsForJobOutput) String() string
String returns the string representation
type ListJobExecutionsForJobRequest ¶ added in v0.2.0
type ListJobExecutionsForJobRequest struct { *aws.Request Input *ListJobExecutionsForJobInput Copy func(*ListJobExecutionsForJobInput) ListJobExecutionsForJobRequest }
ListJobExecutionsForJobRequest is a API request type for the ListJobExecutionsForJob API operation.
func (ListJobExecutionsForJobRequest) Send ¶ added in v0.2.0
func (r ListJobExecutionsForJobRequest) Send(ctx context.Context) (*ListJobExecutionsForJobOutput, error)
Send marshals and sends the ListJobExecutionsForJob API request.
type ListJobExecutionsForThingInput ¶ added in v0.2.0
type ListJobExecutionsForThingInput struct { // The maximum number of results to be returned per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // An optional filter that lets you search for jobs that have the specified // status. Status JobExecutionStatus `location:"querystring" locationName:"status" type:"string" enum:"true"` // The thing name. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListJobExecutionsForThingInput) GoString ¶ added in v0.2.0
func (s ListJobExecutionsForThingInput) GoString() string
GoString returns the string representation
func (ListJobExecutionsForThingInput) MarshalFields ¶ added in v0.3.0
func (s ListJobExecutionsForThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListJobExecutionsForThingInput) String ¶ added in v0.2.0
func (s ListJobExecutionsForThingInput) String() string
String returns the string representation
func (*ListJobExecutionsForThingInput) Validate ¶ added in v0.2.0
func (s *ListJobExecutionsForThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListJobExecutionsForThingOutput ¶ added in v0.2.0
type ListJobExecutionsForThingOutput struct { // A list of job execution summaries. ExecutionSummaries []JobExecutionSummaryForThing `locationName:"executionSummaries" type:"list"` // The token for the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListJobExecutionsForThingOutput) GoString ¶ added in v0.2.0
func (s ListJobExecutionsForThingOutput) GoString() string
GoString returns the string representation
func (ListJobExecutionsForThingOutput) MarshalFields ¶ added in v0.3.0
func (s ListJobExecutionsForThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListJobExecutionsForThingOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListJobExecutionsForThingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListJobExecutionsForThingOutput) String ¶ added in v0.2.0
func (s ListJobExecutionsForThingOutput) String() string
String returns the string representation
type ListJobExecutionsForThingRequest ¶ added in v0.2.0
type ListJobExecutionsForThingRequest struct { *aws.Request Input *ListJobExecutionsForThingInput Copy func(*ListJobExecutionsForThingInput) ListJobExecutionsForThingRequest }
ListJobExecutionsForThingRequest is a API request type for the ListJobExecutionsForThing API operation.
func (ListJobExecutionsForThingRequest) Send ¶ added in v0.2.0
func (r ListJobExecutionsForThingRequest) Send(ctx context.Context) (*ListJobExecutionsForThingOutput, error)
Send marshals and sends the ListJobExecutionsForThing API request.
type ListJobsInput ¶ added in v0.2.0
type ListJobsInput struct { // The maximum number of results to return per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // An optional filter that lets you search for jobs that have the specified // status. Status JobStatus `location:"querystring" locationName:"status" type:"string" enum:"true"` // Specifies whether the job will continue to run (CONTINUOUS), or will be complete // after all those things specified as targets have completed the job (SNAPSHOT). // If continuous, the job may also be run on a thing when a change is detected // in a target. For example, a job will run on a thing when the thing is added // to a target group, even after the job was completed by all things originally // in the group. TargetSelection TargetSelection `location:"querystring" locationName:"targetSelection" type:"string" enum:"true"` // A filter that limits the returned jobs to those for the specified group. ThingGroupId *string `location:"querystring" locationName:"thingGroupId" min:"1" type:"string"` // A filter that limits the returned jobs to those for the specified group. ThingGroupName *string `location:"querystring" locationName:"thingGroupName" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListJobsInput) GoString ¶ added in v0.2.0
func (s ListJobsInput) GoString() string
GoString returns the string representation
func (ListJobsInput) MarshalFields ¶ added in v0.3.0
func (s ListJobsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListJobsInput) String ¶ added in v0.2.0
func (s ListJobsInput) String() string
String returns the string representation
func (*ListJobsInput) Validate ¶ added in v0.2.0
func (s *ListJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListJobsOutput ¶ added in v0.2.0
type ListJobsOutput struct { // A list of jobs. Jobs []JobSummary `locationName:"jobs" type:"list"` // The token for the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListJobsOutput) GoString ¶ added in v0.2.0
func (s ListJobsOutput) GoString() string
GoString returns the string representation
func (ListJobsOutput) MarshalFields ¶ added in v0.3.0
func (s ListJobsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListJobsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListJobsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListJobsOutput) String ¶ added in v0.2.0
func (s ListJobsOutput) String() string
String returns the string representation
type ListJobsRequest ¶ added in v0.2.0
type ListJobsRequest struct { *aws.Request Input *ListJobsInput Copy func(*ListJobsInput) ListJobsRequest }
ListJobsRequest is a API request type for the ListJobs API operation.
func (ListJobsRequest) Send ¶ added in v0.2.0
func (r ListJobsRequest) Send(ctx context.Context) (*ListJobsOutput, error)
Send marshals and sends the ListJobs API request.
type ListOTAUpdatesInput ¶ added in v0.2.0
type ListOTAUpdatesInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // A token used to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The OTA update job status. OtaUpdateStatus OTAUpdateStatus `location:"querystring" locationName:"otaUpdateStatus" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListOTAUpdatesInput) GoString ¶ added in v0.2.0
func (s ListOTAUpdatesInput) GoString() string
GoString returns the string representation
func (ListOTAUpdatesInput) MarshalFields ¶ added in v0.3.0
func (s ListOTAUpdatesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListOTAUpdatesInput) String ¶ added in v0.2.0
func (s ListOTAUpdatesInput) String() string
String returns the string representation
func (*ListOTAUpdatesInput) Validate ¶ added in v0.2.0
func (s *ListOTAUpdatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListOTAUpdatesOutput ¶ added in v0.2.0
type ListOTAUpdatesOutput struct { // A token to use to get the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // A list of OTA update jobs. OtaUpdates []OTAUpdateSummary `locationName:"otaUpdates" type:"list"` // contains filtered or unexported fields }
func (ListOTAUpdatesOutput) GoString ¶ added in v0.2.0
func (s ListOTAUpdatesOutput) GoString() string
GoString returns the string representation
func (ListOTAUpdatesOutput) MarshalFields ¶ added in v0.3.0
func (s ListOTAUpdatesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListOTAUpdatesOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListOTAUpdatesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListOTAUpdatesOutput) String ¶ added in v0.2.0
func (s ListOTAUpdatesOutput) String() string
String returns the string representation
type ListOTAUpdatesRequest ¶ added in v0.2.0
type ListOTAUpdatesRequest struct { *aws.Request Input *ListOTAUpdatesInput Copy func(*ListOTAUpdatesInput) ListOTAUpdatesRequest }
ListOTAUpdatesRequest is a API request type for the ListOTAUpdates API operation.
func (ListOTAUpdatesRequest) Send ¶ added in v0.2.0
func (r ListOTAUpdatesRequest) Send(ctx context.Context) (*ListOTAUpdatesOutput, error)
Send marshals and sends the ListOTAUpdates API request.
type ListOutgoingCertificatesInput ¶
type ListOutgoingCertificatesInput struct { // Specifies the order for results. If True, the results are returned in ascending // order, based on the creation date. AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` // The marker for the next set of results. Marker *string `location:"querystring" locationName:"marker" type:"string"` // The result page size. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // contains filtered or unexported fields }
The input to the ListOutgoingCertificates operation.
func (ListOutgoingCertificatesInput) GoString ¶
func (s ListOutgoingCertificatesInput) GoString() string
GoString returns the string representation
func (ListOutgoingCertificatesInput) MarshalFields ¶ added in v0.3.0
func (s ListOutgoingCertificatesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 transferred but not yet accepted. OutgoingCertificates []OutgoingCertificate `locationName:"outgoingCertificates" type:"list"` // contains filtered or unexported fields }
The output from the ListOutgoingCertificates operation.
func (ListOutgoingCertificatesOutput) GoString ¶
func (s ListOutgoingCertificatesOutput) GoString() string
GoString returns the string representation
func (ListOutgoingCertificatesOutput) MarshalFields ¶ added in v0.3.0
func (s ListOutgoingCertificatesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListOutgoingCertificatesOutput) SDKResponseMetadata ¶
func (s ListOutgoingCertificatesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListOutgoingCertificatesOutput) String ¶
func (s ListOutgoingCertificatesOutput) String() string
String returns the string representation
type ListOutgoingCertificatesRequest ¶
type ListOutgoingCertificatesRequest struct { *aws.Request Input *ListOutgoingCertificatesInput Copy func(*ListOutgoingCertificatesInput) ListOutgoingCertificatesRequest }
ListOutgoingCertificatesRequest is a API request type for the ListOutgoingCertificates API operation.
func (ListOutgoingCertificatesRequest) Send ¶
func (r ListOutgoingCertificatesRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s ListPoliciesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPoliciesInput) String ¶
func (s ListPoliciesInput) String() string
String returns the string representation
func (*ListPoliciesInput) Validate ¶
func (s *ListPoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPoliciesOutput ¶
type ListPoliciesOutput struct { // The marker for the next set of results, or null if there are no additional // results. NextMarker *string `locationName:"nextMarker" type:"string"` // The descriptions of the policies. Policies []Policy `locationName:"policies" type:"list"` // contains filtered or unexported fields }
The output from the ListPolicies operation.
func (ListPoliciesOutput) GoString ¶
func (s ListPoliciesOutput) GoString() string
GoString returns the string representation
func (ListPoliciesOutput) MarshalFields ¶ added in v0.3.0
func (s ListPoliciesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPoliciesOutput) SDKResponseMetadata ¶
func (s ListPoliciesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListPoliciesOutput) String ¶
func (s ListPoliciesOutput) String() string
String returns the string representation
type ListPoliciesRequest ¶
type ListPoliciesRequest struct { *aws.Request Input *ListPoliciesInput Copy func(*ListPoliciesInput) ListPoliciesRequest }
ListPoliciesRequest is a API request type for the ListPolicies API operation.
func (ListPoliciesRequest) Send ¶
func (r ListPoliciesRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s ListPolicyPrincipalsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPolicyPrincipalsInput) String ¶
func (s ListPolicyPrincipalsInput) String() string
String returns the string representation
func (*ListPolicyPrincipalsInput) Validate ¶
func (s *ListPolicyPrincipalsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPolicyPrincipalsOutput ¶
type ListPolicyPrincipalsOutput struct { // The marker for the next set of results, or null if there are no additional // results. NextMarker *string `locationName:"nextMarker" type:"string"` // The descriptions of the principals. Principals []string `locationName:"principals" type:"list"` // contains filtered or unexported fields }
The output from the ListPolicyPrincipals operation.
func (ListPolicyPrincipalsOutput) GoString ¶
func (s ListPolicyPrincipalsOutput) GoString() string
GoString returns the string representation
func (ListPolicyPrincipalsOutput) MarshalFields ¶ added in v0.3.0
func (s ListPolicyPrincipalsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPolicyPrincipalsOutput) SDKResponseMetadata ¶
func (s ListPolicyPrincipalsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListPolicyPrincipalsOutput) String ¶
func (s ListPolicyPrincipalsOutput) String() string
String returns the string representation
type ListPolicyPrincipalsRequest ¶
type ListPolicyPrincipalsRequest struct { *aws.Request Input *ListPolicyPrincipalsInput Copy func(*ListPolicyPrincipalsInput) ListPolicyPrincipalsRequest }
ListPolicyPrincipalsRequest is a API request type for the ListPolicyPrincipals API operation.
func (ListPolicyPrincipalsRequest) Send ¶
func (r ListPolicyPrincipalsRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s ListPolicyVersionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPolicyVersionsInput) String ¶
func (s ListPolicyVersionsInput) String() string
String returns the string representation
func (*ListPolicyVersionsInput) Validate ¶
func (s *ListPolicyVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPolicyVersionsOutput ¶
type ListPolicyVersionsOutput struct { // The policy versions. PolicyVersions []PolicyVersion `locationName:"policyVersions" type:"list"` // contains filtered or unexported fields }
The output from the ListPolicyVersions operation.
func (ListPolicyVersionsOutput) GoString ¶
func (s ListPolicyVersionsOutput) GoString() string
GoString returns the string representation
func (ListPolicyVersionsOutput) MarshalFields ¶ added in v0.3.0
func (s ListPolicyVersionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPolicyVersionsOutput) SDKResponseMetadata ¶
func (s ListPolicyVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListPolicyVersionsOutput) String ¶
func (s ListPolicyVersionsOutput) String() string
String returns the string representation
type ListPolicyVersionsRequest ¶
type ListPolicyVersionsRequest struct { *aws.Request Input *ListPolicyVersionsInput Copy func(*ListPolicyVersionsInput) ListPolicyVersionsRequest }
ListPolicyVersionsRequest is a API request type for the ListPolicyVersions API operation.
func (ListPolicyVersionsRequest) Send ¶
func (r ListPolicyVersionsRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s ListPrincipalPoliciesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s ListPrincipalPoliciesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPrincipalPoliciesOutput) SDKResponseMetadata ¶
func (s ListPrincipalPoliciesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListPrincipalPoliciesOutput) String ¶
func (s ListPrincipalPoliciesOutput) String() string
String returns the string representation
type ListPrincipalPoliciesRequest ¶
type ListPrincipalPoliciesRequest struct { *aws.Request Input *ListPrincipalPoliciesInput Copy func(*ListPrincipalPoliciesInput) ListPrincipalPoliciesRequest }
ListPrincipalPoliciesRequest is a API request type for the ListPrincipalPolicies API operation.
func (ListPrincipalPoliciesRequest) Send ¶
func (r ListPrincipalPoliciesRequest) Send(ctx context.Context) (*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 to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The principal. // // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the ListPrincipalThings operation.
func (ListPrincipalThingsInput) GoString ¶
func (s ListPrincipalThingsInput) GoString() string
GoString returns the string representation
func (ListPrincipalThingsInput) MarshalFields ¶ added in v0.3.0
func (s ListPrincipalThingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPrincipalThingsInput) String ¶
func (s ListPrincipalThingsInput) String() string
String returns the string representation
func (*ListPrincipalThingsInput) Validate ¶
func (s *ListPrincipalThingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPrincipalThingsOutput ¶
type ListPrincipalThingsOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The things. Things []string `locationName:"things" type:"list"` // contains filtered or unexported fields }
The output from the ListPrincipalThings operation.
func (ListPrincipalThingsOutput) GoString ¶
func (s ListPrincipalThingsOutput) GoString() string
GoString returns the string representation
func (ListPrincipalThingsOutput) MarshalFields ¶ added in v0.3.0
func (s ListPrincipalThingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPrincipalThingsOutput) SDKResponseMetadata ¶
func (s ListPrincipalThingsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListPrincipalThingsOutput) String ¶
func (s ListPrincipalThingsOutput) String() string
String returns the string representation
type ListPrincipalThingsRequest ¶
type ListPrincipalThingsRequest struct { *aws.Request Input *ListPrincipalThingsInput Copy func(*ListPrincipalThingsInput) ListPrincipalThingsRequest }
ListPrincipalThingsRequest is a API request type for the ListPrincipalThings API operation.
func (ListPrincipalThingsRequest) Send ¶
func (r ListPrincipalThingsRequest) Send(ctx context.Context) (*ListPrincipalThingsOutput, error)
Send marshals and sends the ListPrincipalThings API request.
type ListRoleAliasesInput ¶ added in v0.2.0
type ListRoleAliasesInput struct { // Return the list of role aliases in ascending alphabetical order. AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` // A marker used to get the next set of results. Marker *string `location:"querystring" locationName:"marker" type:"string"` // The maximum number of results to return at one time. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListRoleAliasesInput) GoString ¶ added in v0.2.0
func (s ListRoleAliasesInput) GoString() string
GoString returns the string representation
func (ListRoleAliasesInput) MarshalFields ¶ added in v0.3.0
func (s ListRoleAliasesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoleAliasesInput) String ¶ added in v0.2.0
func (s ListRoleAliasesInput) String() string
String returns the string representation
func (*ListRoleAliasesInput) Validate ¶ added in v0.2.0
func (s *ListRoleAliasesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoleAliasesOutput ¶ added in v0.2.0
type ListRoleAliasesOutput struct { // A marker used to get the next set of results. NextMarker *string `locationName:"nextMarker" type:"string"` // The role aliases. RoleAliases []string `locationName:"roleAliases" type:"list"` // contains filtered or unexported fields }
func (ListRoleAliasesOutput) GoString ¶ added in v0.2.0
func (s ListRoleAliasesOutput) GoString() string
GoString returns the string representation
func (ListRoleAliasesOutput) MarshalFields ¶ added in v0.3.0
func (s ListRoleAliasesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListRoleAliasesOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListRoleAliasesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListRoleAliasesOutput) String ¶ added in v0.2.0
func (s ListRoleAliasesOutput) String() string
String returns the string representation
type ListRoleAliasesRequest ¶ added in v0.2.0
type ListRoleAliasesRequest struct { *aws.Request Input *ListRoleAliasesInput Copy func(*ListRoleAliasesInput) ListRoleAliasesRequest }
ListRoleAliasesRequest is a API request type for the ListRoleAliases API operation.
func (ListRoleAliasesRequest) Send ¶ added in v0.2.0
func (r ListRoleAliasesRequest) Send(ctx context.Context) (*ListRoleAliasesOutput, error)
Send marshals and sends the ListRoleAliases API request.
type ListScheduledAuditsInput ¶ added in v0.5.0
type ListScheduledAuditsInput struct { // The maximum number of results to return at one time. The default is 25. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListScheduledAuditsInput) GoString ¶ added in v0.5.0
func (s ListScheduledAuditsInput) GoString() string
GoString returns the string representation
func (ListScheduledAuditsInput) MarshalFields ¶ added in v0.5.0
func (s ListScheduledAuditsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListScheduledAuditsInput) String ¶ added in v0.5.0
func (s ListScheduledAuditsInput) String() string
String returns the string representation
func (*ListScheduledAuditsInput) Validate ¶ added in v0.5.0
func (s *ListScheduledAuditsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListScheduledAuditsOutput ¶ added in v0.5.0
type ListScheduledAuditsOutput struct { // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // The list of scheduled audits. ScheduledAudits []ScheduledAuditMetadata `locationName:"scheduledAudits" type:"list"` // contains filtered or unexported fields }
func (ListScheduledAuditsOutput) GoString ¶ added in v0.5.0
func (s ListScheduledAuditsOutput) GoString() string
GoString returns the string representation
func (ListScheduledAuditsOutput) MarshalFields ¶ added in v0.5.0
func (s ListScheduledAuditsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListScheduledAuditsOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListScheduledAuditsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListScheduledAuditsOutput) String ¶ added in v0.5.0
func (s ListScheduledAuditsOutput) String() string
String returns the string representation
type ListScheduledAuditsRequest ¶ added in v0.5.0
type ListScheduledAuditsRequest struct { *aws.Request Input *ListScheduledAuditsInput Copy func(*ListScheduledAuditsInput) ListScheduledAuditsRequest }
ListScheduledAuditsRequest is a API request type for the ListScheduledAudits API operation.
func (ListScheduledAuditsRequest) Send ¶ added in v0.5.0
func (r ListScheduledAuditsRequest) Send(ctx context.Context) (*ListScheduledAuditsOutput, error)
Send marshals and sends the ListScheduledAudits API request.
type ListSecurityProfilesForTargetInput ¶ added in v0.5.0
type ListSecurityProfilesForTargetInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // If true, return child groups as well. Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` // The ARN of the target (thing group) whose attached security profiles you // want to get. // // SecurityProfileTargetArn is a required field SecurityProfileTargetArn *string `location:"querystring" locationName:"securityProfileTargetArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListSecurityProfilesForTargetInput) GoString ¶ added in v0.5.0
func (s ListSecurityProfilesForTargetInput) GoString() string
GoString returns the string representation
func (ListSecurityProfilesForTargetInput) MarshalFields ¶ added in v0.5.0
func (s ListSecurityProfilesForTargetInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesForTargetInput) String ¶ added in v0.5.0
func (s ListSecurityProfilesForTargetInput) String() string
String returns the string representation
func (*ListSecurityProfilesForTargetInput) Validate ¶ added in v0.5.0
func (s *ListSecurityProfilesForTargetInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSecurityProfilesForTargetOutput ¶ added in v0.5.0
type ListSecurityProfilesForTargetOutput struct { // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // A list of security profiles and their associated targets. SecurityProfileTargetMappings []SecurityProfileTargetMapping `locationName:"securityProfileTargetMappings" type:"list"` // contains filtered or unexported fields }
func (ListSecurityProfilesForTargetOutput) GoString ¶ added in v0.5.0
func (s ListSecurityProfilesForTargetOutput) GoString() string
GoString returns the string representation
func (ListSecurityProfilesForTargetOutput) MarshalFields ¶ added in v0.5.0
func (s ListSecurityProfilesForTargetOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesForTargetOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListSecurityProfilesForTargetOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListSecurityProfilesForTargetOutput) String ¶ added in v0.5.0
func (s ListSecurityProfilesForTargetOutput) String() string
String returns the string representation
type ListSecurityProfilesForTargetRequest ¶ added in v0.5.0
type ListSecurityProfilesForTargetRequest struct { *aws.Request Input *ListSecurityProfilesForTargetInput Copy func(*ListSecurityProfilesForTargetInput) ListSecurityProfilesForTargetRequest }
ListSecurityProfilesForTargetRequest is a API request type for the ListSecurityProfilesForTarget API operation.
func (ListSecurityProfilesForTargetRequest) Send ¶ added in v0.5.0
func (r ListSecurityProfilesForTargetRequest) Send(ctx context.Context) (*ListSecurityProfilesForTargetOutput, error)
Send marshals and sends the ListSecurityProfilesForTarget API request.
type ListSecurityProfilesInput ¶ added in v0.5.0
type ListSecurityProfilesInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListSecurityProfilesInput) GoString ¶ added in v0.5.0
func (s ListSecurityProfilesInput) GoString() string
GoString returns the string representation
func (ListSecurityProfilesInput) MarshalFields ¶ added in v0.5.0
func (s ListSecurityProfilesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesInput) String ¶ added in v0.5.0
func (s ListSecurityProfilesInput) String() string
String returns the string representation
func (*ListSecurityProfilesInput) Validate ¶ added in v0.5.0
func (s *ListSecurityProfilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSecurityProfilesOutput ¶ added in v0.5.0
type ListSecurityProfilesOutput struct { // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // A list of security profile identifiers (names and ARNs). SecurityProfileIdentifiers []SecurityProfileIdentifier `locationName:"securityProfileIdentifiers" type:"list"` // contains filtered or unexported fields }
func (ListSecurityProfilesOutput) GoString ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) GoString() string
GoString returns the string representation
func (ListSecurityProfilesOutput) MarshalFields ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListSecurityProfilesOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListSecurityProfilesOutput) String ¶ added in v0.5.0
func (s ListSecurityProfilesOutput) String() string
String returns the string representation
type ListSecurityProfilesRequest ¶ added in v0.5.0
type ListSecurityProfilesRequest struct { *aws.Request Input *ListSecurityProfilesInput Copy func(*ListSecurityProfilesInput) ListSecurityProfilesRequest }
ListSecurityProfilesRequest is a API request type for the ListSecurityProfiles API operation.
func (ListSecurityProfilesRequest) Send ¶ added in v0.5.0
func (r ListSecurityProfilesRequest) Send(ctx context.Context) (*ListSecurityProfilesOutput, error)
Send marshals and sends the ListSecurityProfiles API request.
type ListStreamsInput ¶ added in v0.2.0
type ListStreamsInput struct { // Set to true to return the list of streams in ascending order. AscendingOrder *bool `location:"querystring" locationName:"isAscendingOrder" type:"boolean"` // The maximum number of results to return at a time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // A token used to get the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListStreamsInput) GoString ¶ added in v0.2.0
func (s ListStreamsInput) GoString() string
GoString returns the string representation
func (ListStreamsInput) MarshalFields ¶ added in v0.3.0
func (s ListStreamsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListStreamsInput) String ¶ added in v0.2.0
func (s ListStreamsInput) String() string
String returns the string representation
func (*ListStreamsInput) Validate ¶ added in v0.2.0
func (s *ListStreamsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStreamsOutput ¶ added in v0.2.0
type ListStreamsOutput struct { // A token used to get the next set of results. NextToken *string `locationName:"nextToken" type:"string"` // A list of streams. Streams []StreamSummary `locationName:"streams" type:"list"` // contains filtered or unexported fields }
func (ListStreamsOutput) GoString ¶ added in v0.2.0
func (s ListStreamsOutput) GoString() string
GoString returns the string representation
func (ListStreamsOutput) MarshalFields ¶ added in v0.3.0
func (s ListStreamsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListStreamsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListStreamsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListStreamsOutput) String ¶ added in v0.2.0
func (s ListStreamsOutput) String() string
String returns the string representation
type ListStreamsRequest ¶ added in v0.2.0
type ListStreamsRequest struct { *aws.Request Input *ListStreamsInput Copy func(*ListStreamsInput) ListStreamsRequest }
ListStreamsRequest is a API request type for the ListStreams API operation.
func (ListStreamsRequest) Send ¶ added in v0.2.0
func (r ListStreamsRequest) Send(ctx context.Context) (*ListStreamsOutput, error)
Send marshals and sends the ListStreams API request.
type ListTagsForResourceInput ¶ added in v0.6.0
type ListTagsForResourceInput struct { // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `location:"querystring" locationName:"resourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶ added in v0.6.0
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (ListTagsForResourceInput) MarshalFields ¶ added in v0.6.0
func (s ListTagsForResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceInput) String ¶ added in v0.6.0
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v0.6.0
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v0.6.0
type ListTagsForResourceOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The list of tags assigned to the resource. Tags []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶ added in v0.6.0
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (ListTagsForResourceOutput) MarshalFields ¶ added in v0.6.0
func (s ListTagsForResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTagsForResourceOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListTagsForResourceOutput) String ¶ added in v0.6.0
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶ added in v0.6.0
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is a API request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶ added in v0.6.0
func (r ListTagsForResourceRequest) Send(ctx context.Context) (*ListTagsForResourceOutput, error)
Send marshals and sends the ListTagsForResource API request.
type ListTargetsForPolicyInput ¶ added in v0.2.0
type ListTargetsForPolicyInput struct { // A marker used to get the next set of results. Marker *string `location:"querystring" locationName:"marker" type:"string"` // The maximum number of results to return at one time. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // The policy name. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTargetsForPolicyInput) GoString ¶ added in v0.2.0
func (s ListTargetsForPolicyInput) GoString() string
GoString returns the string representation
func (ListTargetsForPolicyInput) MarshalFields ¶ added in v0.3.0
func (s ListTargetsForPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTargetsForPolicyInput) String ¶ added in v0.2.0
func (s ListTargetsForPolicyInput) String() string
String returns the string representation
func (*ListTargetsForPolicyInput) Validate ¶ added in v0.2.0
func (s *ListTargetsForPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTargetsForPolicyOutput ¶ added in v0.2.0
type ListTargetsForPolicyOutput struct { // A marker used to get the next set of results. NextMarker *string `locationName:"nextMarker" type:"string"` // The policy targets. Targets []string `locationName:"targets" type:"list"` // contains filtered or unexported fields }
func (ListTargetsForPolicyOutput) GoString ¶ added in v0.2.0
func (s ListTargetsForPolicyOutput) GoString() string
GoString returns the string representation
func (ListTargetsForPolicyOutput) MarshalFields ¶ added in v0.3.0
func (s ListTargetsForPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTargetsForPolicyOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListTargetsForPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListTargetsForPolicyOutput) String ¶ added in v0.2.0
func (s ListTargetsForPolicyOutput) String() string
String returns the string representation
type ListTargetsForPolicyRequest ¶ added in v0.2.0
type ListTargetsForPolicyRequest struct { *aws.Request Input *ListTargetsForPolicyInput Copy func(*ListTargetsForPolicyInput) ListTargetsForPolicyRequest }
ListTargetsForPolicyRequest is a API request type for the ListTargetsForPolicy API operation.
func (ListTargetsForPolicyRequest) Send ¶ added in v0.2.0
func (r ListTargetsForPolicyRequest) Send(ctx context.Context) (*ListTargetsForPolicyOutput, error)
Send marshals and sends the ListTargetsForPolicy API request.
type ListTargetsForSecurityProfileInput ¶ added in v0.5.0
type ListTargetsForSecurityProfileInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The security profile. // // SecurityProfileName is a required field SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTargetsForSecurityProfileInput) GoString ¶ added in v0.5.0
func (s ListTargetsForSecurityProfileInput) GoString() string
GoString returns the string representation
func (ListTargetsForSecurityProfileInput) MarshalFields ¶ added in v0.5.0
func (s ListTargetsForSecurityProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTargetsForSecurityProfileInput) String ¶ added in v0.5.0
func (s ListTargetsForSecurityProfileInput) String() string
String returns the string representation
func (*ListTargetsForSecurityProfileInput) Validate ¶ added in v0.5.0
func (s *ListTargetsForSecurityProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTargetsForSecurityProfileOutput ¶ added in v0.5.0
type ListTargetsForSecurityProfileOutput struct { // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // The thing groups to which the security profile is attached. SecurityProfileTargets []SecurityProfileTarget `locationName:"securityProfileTargets" type:"list"` // contains filtered or unexported fields }
func (ListTargetsForSecurityProfileOutput) GoString ¶ added in v0.5.0
func (s ListTargetsForSecurityProfileOutput) GoString() string
GoString returns the string representation
func (ListTargetsForSecurityProfileOutput) MarshalFields ¶ added in v0.5.0
func (s ListTargetsForSecurityProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTargetsForSecurityProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListTargetsForSecurityProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListTargetsForSecurityProfileOutput) String ¶ added in v0.5.0
func (s ListTargetsForSecurityProfileOutput) String() string
String returns the string representation
type ListTargetsForSecurityProfileRequest ¶ added in v0.5.0
type ListTargetsForSecurityProfileRequest struct { *aws.Request Input *ListTargetsForSecurityProfileInput Copy func(*ListTargetsForSecurityProfileInput) ListTargetsForSecurityProfileRequest }
ListTargetsForSecurityProfileRequest is a API request type for the ListTargetsForSecurityProfile API operation.
func (ListTargetsForSecurityProfileRequest) Send ¶ added in v0.5.0
func (r ListTargetsForSecurityProfileRequest) Send(ctx context.Context) (*ListTargetsForSecurityProfileOutput, error)
Send marshals and sends the ListTargetsForSecurityProfile API request.
type ListThingGroupsForThingInput ¶ added in v0.2.0
type ListThingGroupsForThingInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The thing name. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListThingGroupsForThingInput) GoString ¶ added in v0.2.0
func (s ListThingGroupsForThingInput) GoString() string
GoString returns the string representation
func (ListThingGroupsForThingInput) MarshalFields ¶ added in v0.3.0
func (s ListThingGroupsForThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingGroupsForThingInput) String ¶ added in v0.2.0
func (s ListThingGroupsForThingInput) String() string
String returns the string representation
func (*ListThingGroupsForThingInput) Validate ¶ added in v0.2.0
func (s *ListThingGroupsForThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingGroupsForThingOutput ¶ added in v0.2.0
type ListThingGroupsForThingOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The thing groups. ThingGroups []GroupNameAndArn `locationName:"thingGroups" type:"list"` // contains filtered or unexported fields }
func (ListThingGroupsForThingOutput) GoString ¶ added in v0.2.0
func (s ListThingGroupsForThingOutput) GoString() string
GoString returns the string representation
func (ListThingGroupsForThingOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingGroupsForThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingGroupsForThingOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListThingGroupsForThingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingGroupsForThingOutput) String ¶ added in v0.2.0
func (s ListThingGroupsForThingOutput) String() string
String returns the string representation
type ListThingGroupsForThingRequest ¶ added in v0.2.0
type ListThingGroupsForThingRequest struct { *aws.Request Input *ListThingGroupsForThingInput Copy func(*ListThingGroupsForThingInput) ListThingGroupsForThingRequest }
ListThingGroupsForThingRequest is a API request type for the ListThingGroupsForThing API operation.
func (ListThingGroupsForThingRequest) Send ¶ added in v0.2.0
func (r ListThingGroupsForThingRequest) Send(ctx context.Context) (*ListThingGroupsForThingOutput, error)
Send marshals and sends the ListThingGroupsForThing API request.
type ListThingGroupsInput ¶ added in v0.2.0
type ListThingGroupsInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // A filter that limits the results to those with the specified name prefix. NamePrefixFilter *string `location:"querystring" locationName:"namePrefixFilter" min:"1" type:"string"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // A filter that limits the results to those with the specified parent group. ParentGroup *string `location:"querystring" locationName:"parentGroup" min:"1" type:"string"` // If true, return child groups as well. Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` // contains filtered or unexported fields }
func (ListThingGroupsInput) GoString ¶ added in v0.2.0
func (s ListThingGroupsInput) GoString() string
GoString returns the string representation
func (ListThingGroupsInput) MarshalFields ¶ added in v0.3.0
func (s ListThingGroupsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingGroupsInput) String ¶ added in v0.2.0
func (s ListThingGroupsInput) String() string
String returns the string representation
func (*ListThingGroupsInput) Validate ¶ added in v0.2.0
func (s *ListThingGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingGroupsOutput ¶ added in v0.2.0
type ListThingGroupsOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The thing groups. ThingGroups []GroupNameAndArn `locationName:"thingGroups" type:"list"` // contains filtered or unexported fields }
func (ListThingGroupsOutput) GoString ¶ added in v0.2.0
func (s ListThingGroupsOutput) GoString() string
GoString returns the string representation
func (ListThingGroupsOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingGroupsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingGroupsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListThingGroupsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingGroupsOutput) String ¶ added in v0.2.0
func (s ListThingGroupsOutput) String() string
String returns the string representation
type ListThingGroupsRequest ¶ added in v0.2.0
type ListThingGroupsRequest struct { *aws.Request Input *ListThingGroupsInput Copy func(*ListThingGroupsInput) ListThingGroupsRequest }
ListThingGroupsRequest is a API request type for the ListThingGroups API operation.
func (ListThingGroupsRequest) Send ¶ added in v0.2.0
func (r ListThingGroupsRequest) Send(ctx context.Context) (*ListThingGroupsOutput, error)
Send marshals and sends the ListThingGroups API request.
type ListThingPrincipalsInput ¶
type ListThingPrincipalsInput struct { // The name of the thing. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the ListThingPrincipal operation.
func (ListThingPrincipalsInput) GoString ¶
func (s ListThingPrincipalsInput) GoString() string
GoString returns the string representation
func (ListThingPrincipalsInput) MarshalFields ¶ added in v0.3.0
func (s ListThingPrincipalsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingPrincipalsInput) String ¶
func (s ListThingPrincipalsInput) String() string
String returns the string representation
func (*ListThingPrincipalsInput) Validate ¶
func (s *ListThingPrincipalsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingPrincipalsOutput ¶
type ListThingPrincipalsOutput struct { // The principals associated with the thing. Principals []string `locationName:"principals" type:"list"` // contains filtered or unexported fields }
The output from the ListThingPrincipals operation.
func (ListThingPrincipalsOutput) GoString ¶
func (s ListThingPrincipalsOutput) GoString() string
GoString returns the string representation
func (ListThingPrincipalsOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingPrincipalsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingPrincipalsOutput) SDKResponseMetadata ¶
func (s ListThingPrincipalsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingPrincipalsOutput) String ¶
func (s ListThingPrincipalsOutput) String() string
String returns the string representation
type ListThingPrincipalsRequest ¶
type ListThingPrincipalsRequest struct { *aws.Request Input *ListThingPrincipalsInput Copy func(*ListThingPrincipalsInput) ListThingPrincipalsRequest }
ListThingPrincipalsRequest is a API request type for the ListThingPrincipals API operation.
func (ListThingPrincipalsRequest) Send ¶
func (r ListThingPrincipalsRequest) Send(ctx context.Context) (*ListThingPrincipalsOutput, error)
Send marshals and sends the ListThingPrincipals API request.
type ListThingRegistrationTaskReportsInput ¶ added in v0.2.0
type ListThingRegistrationTaskReportsInput struct { // The maximum number of results to return per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The type of task report. // // ReportType is a required field ReportType ReportType `location:"querystring" locationName:"reportType" type:"string" required:"true" enum:"true"` // The id of the task. // // TaskId is a required field TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListThingRegistrationTaskReportsInput) GoString ¶ added in v0.2.0
func (s ListThingRegistrationTaskReportsInput) GoString() string
GoString returns the string representation
func (ListThingRegistrationTaskReportsInput) MarshalFields ¶ added in v0.3.0
func (s ListThingRegistrationTaskReportsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingRegistrationTaskReportsInput) String ¶ added in v0.2.0
func (s ListThingRegistrationTaskReportsInput) String() string
String returns the string representation
func (*ListThingRegistrationTaskReportsInput) Validate ¶ added in v0.2.0
func (s *ListThingRegistrationTaskReportsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingRegistrationTaskReportsOutput ¶ added in v0.2.0
type ListThingRegistrationTaskReportsOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The type of task report. ReportType ReportType `locationName:"reportType" type:"string" enum:"true"` // Links to the task resources. ResourceLinks []string `locationName:"resourceLinks" type:"list"` // contains filtered or unexported fields }
func (ListThingRegistrationTaskReportsOutput) GoString ¶ added in v0.2.0
func (s ListThingRegistrationTaskReportsOutput) GoString() string
GoString returns the string representation
func (ListThingRegistrationTaskReportsOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingRegistrationTaskReportsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingRegistrationTaskReportsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListThingRegistrationTaskReportsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingRegistrationTaskReportsOutput) String ¶ added in v0.2.0
func (s ListThingRegistrationTaskReportsOutput) String() string
String returns the string representation
type ListThingRegistrationTaskReportsRequest ¶ added in v0.2.0
type ListThingRegistrationTaskReportsRequest struct { *aws.Request Input *ListThingRegistrationTaskReportsInput Copy func(*ListThingRegistrationTaskReportsInput) ListThingRegistrationTaskReportsRequest }
ListThingRegistrationTaskReportsRequest is a API request type for the ListThingRegistrationTaskReports API operation.
func (ListThingRegistrationTaskReportsRequest) Send ¶ added in v0.2.0
func (r ListThingRegistrationTaskReportsRequest) Send(ctx context.Context) (*ListThingRegistrationTaskReportsOutput, error)
Send marshals and sends the ListThingRegistrationTaskReports API request.
type ListThingRegistrationTasksInput ¶ added in v0.2.0
type ListThingRegistrationTasksInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The status of the bulk thing provisioning task. Status Status `location:"querystring" locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListThingRegistrationTasksInput) GoString ¶ added in v0.2.0
func (s ListThingRegistrationTasksInput) GoString() string
GoString returns the string representation
func (ListThingRegistrationTasksInput) MarshalFields ¶ added in v0.3.0
func (s ListThingRegistrationTasksInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingRegistrationTasksInput) String ¶ added in v0.2.0
func (s ListThingRegistrationTasksInput) String() string
String returns the string representation
func (*ListThingRegistrationTasksInput) Validate ¶ added in v0.2.0
func (s *ListThingRegistrationTasksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingRegistrationTasksOutput ¶ added in v0.2.0
type ListThingRegistrationTasksOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // A list of bulk thing provisioning task IDs. TaskIds []string `locationName:"taskIds" type:"list"` // contains filtered or unexported fields }
func (ListThingRegistrationTasksOutput) GoString ¶ added in v0.2.0
func (s ListThingRegistrationTasksOutput) GoString() string
GoString returns the string representation
func (ListThingRegistrationTasksOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingRegistrationTasksOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingRegistrationTasksOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListThingRegistrationTasksOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingRegistrationTasksOutput) String ¶ added in v0.2.0
func (s ListThingRegistrationTasksOutput) String() string
String returns the string representation
type ListThingRegistrationTasksRequest ¶ added in v0.2.0
type ListThingRegistrationTasksRequest struct { *aws.Request Input *ListThingRegistrationTasksInput Copy func(*ListThingRegistrationTasksInput) ListThingRegistrationTasksRequest }
ListThingRegistrationTasksRequest is a API request type for the ListThingRegistrationTasks API operation.
func (ListThingRegistrationTasksRequest) Send ¶ added in v0.2.0
func (r ListThingRegistrationTasksRequest) Send(ctx context.Context) (*ListThingRegistrationTasksOutput, error)
Send marshals and sends the ListThingRegistrationTasks API request.
type ListThingTypesInput ¶
type ListThingTypesInput struct { // The maximum number of results to return in this operation. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the thing type. ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` // contains filtered or unexported fields }
The input for the ListThingTypes operation.
func (ListThingTypesInput) GoString ¶
func (s ListThingTypesInput) GoString() string
GoString returns the string representation
func (ListThingTypesInput) MarshalFields ¶ added in v0.3.0
func (s ListThingTypesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingTypesInput) String ¶
func (s ListThingTypesInput) String() string
String returns the string representation
func (*ListThingTypesInput) Validate ¶
func (s *ListThingTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingTypesOutput ¶
type ListThingTypesOutput struct { // The token for the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The thing types. ThingTypes []ThingTypeDefinition `locationName:"thingTypes" type:"list"` // contains filtered or unexported fields }
The output for the ListThingTypes operation.
func (ListThingTypesOutput) GoString ¶
func (s ListThingTypesOutput) GoString() string
GoString returns the string representation
func (ListThingTypesOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingTypesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingTypesOutput) SDKResponseMetadata ¶
func (s ListThingTypesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingTypesOutput) String ¶
func (s ListThingTypesOutput) String() string
String returns the string representation
type ListThingTypesRequest ¶
type ListThingTypesRequest struct { *aws.Request Input *ListThingTypesInput Copy func(*ListThingTypesInput) ListThingTypesRequest }
ListThingTypesRequest is a API request type for the ListThingTypes API operation.
func (ListThingTypesRequest) Send ¶
func (r ListThingTypesRequest) Send(ctx context.Context) (*ListThingTypesOutput, error)
Send marshals and sends the ListThingTypes API request.
type ListThingsInBillingGroupInput ¶ added in v0.6.0
type ListThingsInBillingGroupInput struct { // The name of the billing group. // // BillingGroupName is a required field BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"` // The maximum number of results to return per request. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListThingsInBillingGroupInput) GoString ¶ added in v0.6.0
func (s ListThingsInBillingGroupInput) GoString() string
GoString returns the string representation
func (ListThingsInBillingGroupInput) MarshalFields ¶ added in v0.6.0
func (s ListThingsInBillingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingsInBillingGroupInput) String ¶ added in v0.6.0
func (s ListThingsInBillingGroupInput) String() string
String returns the string representation
func (*ListThingsInBillingGroupInput) Validate ¶ added in v0.6.0
func (s *ListThingsInBillingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingsInBillingGroupOutput ¶ added in v0.6.0
type ListThingsInBillingGroupOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // A list of things in the billing group. Things []string `locationName:"things" type:"list"` // contains filtered or unexported fields }
func (ListThingsInBillingGroupOutput) GoString ¶ added in v0.6.0
func (s ListThingsInBillingGroupOutput) GoString() string
GoString returns the string representation
func (ListThingsInBillingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s ListThingsInBillingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingsInBillingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s ListThingsInBillingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingsInBillingGroupOutput) String ¶ added in v0.6.0
func (s ListThingsInBillingGroupOutput) String() string
String returns the string representation
type ListThingsInBillingGroupRequest ¶ added in v0.6.0
type ListThingsInBillingGroupRequest struct { *aws.Request Input *ListThingsInBillingGroupInput Copy func(*ListThingsInBillingGroupInput) ListThingsInBillingGroupRequest }
ListThingsInBillingGroupRequest is a API request type for the ListThingsInBillingGroup API operation.
func (ListThingsInBillingGroupRequest) Send ¶ added in v0.6.0
func (r ListThingsInBillingGroupRequest) Send(ctx context.Context) (*ListThingsInBillingGroupOutput, error)
Send marshals and sends the ListThingsInBillingGroup API request.
type ListThingsInThingGroupInput ¶ added in v0.2.0
type ListThingsInThingGroupInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // When true, list things in this thing group and in all child groups as well. Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` // The thing group name. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListThingsInThingGroupInput) GoString ¶ added in v0.2.0
func (s ListThingsInThingGroupInput) GoString() string
GoString returns the string representation
func (ListThingsInThingGroupInput) MarshalFields ¶ added in v0.3.0
func (s ListThingsInThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingsInThingGroupInput) String ¶ added in v0.2.0
func (s ListThingsInThingGroupInput) String() string
String returns the string representation
func (*ListThingsInThingGroupInput) Validate ¶ added in v0.2.0
func (s *ListThingsInThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingsInThingGroupOutput ¶ added in v0.2.0
type ListThingsInThingGroupOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The things in the specified thing group. Things []string `locationName:"things" type:"list"` // contains filtered or unexported fields }
func (ListThingsInThingGroupOutput) GoString ¶ added in v0.2.0
func (s ListThingsInThingGroupOutput) GoString() string
GoString returns the string representation
func (ListThingsInThingGroupOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingsInThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingsInThingGroupOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListThingsInThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingsInThingGroupOutput) String ¶ added in v0.2.0
func (s ListThingsInThingGroupOutput) String() string
String returns the string representation
type ListThingsInThingGroupRequest ¶ added in v0.2.0
type ListThingsInThingGroupRequest struct { *aws.Request Input *ListThingsInThingGroupInput Copy func(*ListThingsInThingGroupInput) ListThingsInThingGroupRequest }
ListThingsInThingGroupRequest is a API request type for the ListThingsInThingGroup API operation.
func (ListThingsInThingGroupRequest) Send ¶ added in v0.2.0
func (r ListThingsInThingGroupRequest) Send(ctx context.Context) (*ListThingsInThingGroupOutput, error)
Send marshals and sends the ListThingsInThingGroup API request.
type ListThingsInput ¶
type ListThingsInput struct { // The attribute name used to search for things. AttributeName *string `location:"querystring" locationName:"attributeName" type:"string"` // The attribute value used to search for things. AttributeValue *string `location:"querystring" locationName:"attributeValue" type:"string"` // The maximum number of results to return in this operation. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The name of the thing type used to search for things. ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` // contains filtered or unexported fields }
The input for the ListThings operation.
func (ListThingsInput) GoString ¶
func (s ListThingsInput) GoString() string
GoString returns the string representation
func (ListThingsInput) MarshalFields ¶ added in v0.3.0
func (s ListThingsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingsInput) String ¶
func (s ListThingsInput) String() string
String returns the string representation
func (*ListThingsInput) Validate ¶
func (s *ListThingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListThingsOutput ¶
type ListThingsOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The things. Things []ThingAttribute `locationName:"things" type:"list"` // contains filtered or unexported fields }
The output from the ListThings operation.
func (ListThingsOutput) GoString ¶
func (s ListThingsOutput) GoString() string
GoString returns the string representation
func (ListThingsOutput) MarshalFields ¶ added in v0.3.0
func (s ListThingsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListThingsOutput) SDKResponseMetadata ¶
func (s ListThingsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListThingsOutput) String ¶
func (s ListThingsOutput) String() string
String returns the string representation
type ListThingsRequest ¶
type ListThingsRequest struct { *aws.Request Input *ListThingsInput Copy func(*ListThingsInput) ListThingsRequest }
ListThingsRequest is a API request type for the ListThings API operation.
func (ListThingsRequest) Send ¶
func (r ListThingsRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s ListTopicRulesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTopicRulesInput) String ¶
func (s ListTopicRulesInput) String() string
String returns the string representation
func (*ListTopicRulesInput) Validate ¶
func (s *ListTopicRulesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTopicRulesOutput ¶
type ListTopicRulesOutput struct { // A token used to retrieve the next value. NextToken *string `locationName:"nextToken" type:"string"` // The rules. Rules []TopicRuleListItem `locationName:"rules" type:"list"` // contains filtered or unexported fields }
The output from the ListTopicRules operation.
func (ListTopicRulesOutput) GoString ¶
func (s ListTopicRulesOutput) GoString() string
GoString returns the string representation
func (ListTopicRulesOutput) MarshalFields ¶ added in v0.3.0
func (s ListTopicRulesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListTopicRulesOutput) SDKResponseMetadata ¶
func (s ListTopicRulesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListTopicRulesOutput) String ¶
func (s ListTopicRulesOutput) String() string
String returns the string representation
type ListTopicRulesRequest ¶
type ListTopicRulesRequest struct { *aws.Request Input *ListTopicRulesInput Copy func(*ListTopicRulesInput) ListTopicRulesRequest }
ListTopicRulesRequest is a API request type for the ListTopicRules API operation.
func (ListTopicRulesRequest) Send ¶
func (r ListTopicRulesRequest) Send(ctx context.Context) (*ListTopicRulesOutput, error)
Send marshals and sends the ListTopicRules API request.
type ListV2LoggingLevelsInput ¶ added in v0.2.0
type ListV2LoggingLevelsInput struct { // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The type of resource for which you are configuring logging. Must be THING_Group. TargetType LogTargetType `location:"querystring" locationName:"targetType" type:"string" enum:"true"` // contains filtered or unexported fields }
func (ListV2LoggingLevelsInput) GoString ¶ added in v0.2.0
func (s ListV2LoggingLevelsInput) GoString() string
GoString returns the string representation
func (ListV2LoggingLevelsInput) MarshalFields ¶ added in v0.3.0
func (s ListV2LoggingLevelsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListV2LoggingLevelsInput) String ¶ added in v0.2.0
func (s ListV2LoggingLevelsInput) String() string
String returns the string representation
func (*ListV2LoggingLevelsInput) Validate ¶ added in v0.2.0
func (s *ListV2LoggingLevelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListV2LoggingLevelsOutput ¶ added in v0.2.0
type ListV2LoggingLevelsOutput struct { // The logging configuration for a target. LogTargetConfigurations []LogTargetConfiguration `locationName:"logTargetConfigurations" type:"list"` // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListV2LoggingLevelsOutput) GoString ¶ added in v0.2.0
func (s ListV2LoggingLevelsOutput) GoString() string
GoString returns the string representation
func (ListV2LoggingLevelsOutput) MarshalFields ¶ added in v0.3.0
func (s ListV2LoggingLevelsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListV2LoggingLevelsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s ListV2LoggingLevelsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListV2LoggingLevelsOutput) String ¶ added in v0.2.0
func (s ListV2LoggingLevelsOutput) String() string
String returns the string representation
type ListV2LoggingLevelsRequest ¶ added in v0.2.0
type ListV2LoggingLevelsRequest struct { *aws.Request Input *ListV2LoggingLevelsInput Copy func(*ListV2LoggingLevelsInput) ListV2LoggingLevelsRequest }
ListV2LoggingLevelsRequest is a API request type for the ListV2LoggingLevels API operation.
func (ListV2LoggingLevelsRequest) Send ¶ added in v0.2.0
func (r ListV2LoggingLevelsRequest) Send(ctx context.Context) (*ListV2LoggingLevelsOutput, error)
Send marshals and sends the ListV2LoggingLevels API request.
type ListViolationEventsInput ¶ added in v0.5.0
type ListViolationEventsInput struct { // The end time for the alerts to be listed. // // EndTime is a required field EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"` // The maximum number of results to return at one time. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // A filter to limit results to those alerts generated by the specified security // profile. SecurityProfileName *string `location:"querystring" locationName:"securityProfileName" min:"1" type:"string"` // The start time for the alerts to be listed. // // StartTime is a required field StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"` // A filter to limit results to those alerts caused by the specified thing. ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListViolationEventsInput) GoString ¶ added in v0.5.0
func (s ListViolationEventsInput) GoString() string
GoString returns the string representation
func (ListViolationEventsInput) MarshalFields ¶ added in v0.5.0
func (s ListViolationEventsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListViolationEventsInput) String ¶ added in v0.5.0
func (s ListViolationEventsInput) String() string
String returns the string representation
func (*ListViolationEventsInput) Validate ¶ added in v0.5.0
func (s *ListViolationEventsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListViolationEventsOutput ¶ added in v0.5.0
type ListViolationEventsOutput struct { // A token that can be used to retrieve the next set of results, or null if // there are no additional results. NextToken *string `locationName:"nextToken" type:"string"` // The security profile violation alerts issued for this account during the // given time frame, potentially filtered by security profile, behavior violated, // or thing (device) violating. ViolationEvents []ViolationEvent `locationName:"violationEvents" type:"list"` // contains filtered or unexported fields }
func (ListViolationEventsOutput) GoString ¶ added in v0.5.0
func (s ListViolationEventsOutput) GoString() string
GoString returns the string representation
func (ListViolationEventsOutput) MarshalFields ¶ added in v0.5.0
func (s ListViolationEventsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListViolationEventsOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ListViolationEventsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListViolationEventsOutput) String ¶ added in v0.5.0
func (s ListViolationEventsOutput) String() string
String returns the string representation
type ListViolationEventsRequest ¶ added in v0.5.0
type ListViolationEventsRequest struct { *aws.Request Input *ListViolationEventsInput Copy func(*ListViolationEventsInput) ListViolationEventsRequest }
ListViolationEventsRequest is a API request type for the ListViolationEvents API operation.
func (ListViolationEventsRequest) Send ¶ added in v0.5.0
func (r ListViolationEventsRequest) Send(ctx context.Context) (*ListViolationEventsOutput, error)
Send marshals and sends the ListViolationEvents API request.
type LogLevel ¶
type LogLevel string
const ( LogLevelDebug LogLevel = "DEBUG" LogLevelInfo LogLevel = "INFO" LogLevelError LogLevel = "ERROR" LogLevelWarn LogLevel = "WARN" LogLevelDisabled LogLevel = "DISABLED" )
Enum values for LogLevel
func (LogLevel) MarshalValue ¶ added in v0.3.0
type LogTarget ¶ added in v0.2.0
type LogTarget struct { // The target name. TargetName *string `locationName:"targetName" type:"string"` // The target type. // // TargetType is a required field TargetType LogTargetType `locationName:"targetType" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
A log target.
func (LogTarget) MarshalFields ¶ added in v0.3.0
func (s LogTarget) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type LogTargetConfiguration ¶ added in v0.2.0
type LogTargetConfiguration struct { // The logging level. LogLevel LogLevel `locationName:"logLevel" type:"string" enum:"true"` // A log target LogTarget *LogTarget `locationName:"logTarget" type:"structure"` // contains filtered or unexported fields }
The target configuration.
func (LogTargetConfiguration) GoString ¶ added in v0.2.0
func (s LogTargetConfiguration) GoString() string
GoString returns the string representation
func (LogTargetConfiguration) MarshalFields ¶ added in v0.3.0
func (s LogTargetConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LogTargetConfiguration) String ¶ added in v0.2.0
func (s LogTargetConfiguration) String() string
String returns the string representation
type LogTargetType ¶ added in v0.2.0
type LogTargetType string
const ( LogTargetTypeDefault LogTargetType = "DEFAULT" LogTargetTypeThingGroup LogTargetType = "THING_GROUP" )
Enum values for LogTargetType
func (LogTargetType) MarshalValue ¶ added in v0.3.0
func (enum LogTargetType) MarshalValue() (string, error)
func (LogTargetType) MarshalValueBuf ¶ added in v0.3.0
func (enum LogTargetType) MarshalValueBuf(b []byte) ([]byte, error)
type LoggingOptionsPayload ¶
type LoggingOptionsPayload struct { // The log level. LogLevel LogLevel `locationName:"logLevel" type:"string" enum:"true"` // The ARN of the IAM role that grants access. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes the logging options payload.
func (LoggingOptionsPayload) GoString ¶
func (s LoggingOptionsPayload) GoString() string
GoString returns the string representation
func (LoggingOptionsPayload) MarshalFields ¶ added in v0.3.0
func (s LoggingOptionsPayload) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (LoggingOptionsPayload) String ¶
func (s LoggingOptionsPayload) String() string
String returns the string representation
func (*LoggingOptionsPayload) Validate ¶
func (s *LoggingOptionsPayload) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MessageFormat ¶
type MessageFormat string
const ( MessageFormatRaw MessageFormat = "RAW" MessageFormatJson MessageFormat = "JSON" )
Enum values for MessageFormat
func (MessageFormat) MarshalValue ¶ added in v0.3.0
func (enum MessageFormat) MarshalValue() (string, error)
func (MessageFormat) MarshalValueBuf ¶ added in v0.3.0
func (enum MessageFormat) MarshalValueBuf(b []byte) ([]byte, error)
type MetricValue ¶ added in v0.5.0
type MetricValue struct { // If the comparisonOperator calls for a set of CIDRs, use this to specify that // set to be compared with the metric. Cidrs []string `locationName:"cidrs" type:"list"` // If the comparisonOperator calls for a numeric value, use this to specify // that numeric value to be compared with the metric. Count *int64 `locationName:"count" type:"long"` // If the comparisonOperator calls for a set of ports, use this to specify that // set to be compared with the metric. Ports []int64 `locationName:"ports" type:"list"` // contains filtered or unexported fields }
The value to be compared with the metric.
func (MetricValue) GoString ¶ added in v0.5.0
func (s MetricValue) GoString() string
GoString returns the string representation
func (MetricValue) MarshalFields ¶ added in v0.5.0
func (s MetricValue) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (MetricValue) String ¶ added in v0.5.0
func (s MetricValue) String() string
String returns the string representation
type NonCompliantResource ¶ added in v0.5.0
type NonCompliantResource struct { // Additional information about the non-compliant resource. AdditionalInfo map[string]string `locationName:"additionalInfo" type:"map"` // Information identifying the non-compliant resource. ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` // The type of the non-compliant resource. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // contains filtered or unexported fields }
Information about the resource that was non-compliant with the audit check.
func (NonCompliantResource) GoString ¶ added in v0.5.0
func (s NonCompliantResource) GoString() string
GoString returns the string representation
func (NonCompliantResource) MarshalFields ¶ added in v0.5.0
func (s NonCompliantResource) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (NonCompliantResource) String ¶ added in v0.5.0
func (s NonCompliantResource) String() string
String returns the string representation
type OTAUpdateFile ¶ added in v0.2.0
type OTAUpdateFile struct { // A list of name/attribute pairs. Attributes map[string]string `locationName:"attributes" type:"map"` // The code signing method of the file. CodeSigning *CodeSigning `locationName:"codeSigning" type:"structure"` // The location of the updated firmware. FileLocation *FileLocation `locationName:"fileLocation" type:"structure"` // The name of the file. FileName *string `locationName:"fileName" type:"string"` // The file version. FileVersion *string `locationName:"fileVersion" type:"string"` // contains filtered or unexported fields }
Describes a file to be associated with an OTA update.
func (OTAUpdateFile) GoString ¶ added in v0.2.0
func (s OTAUpdateFile) GoString() string
GoString returns the string representation
func (OTAUpdateFile) MarshalFields ¶ added in v0.3.0
func (s OTAUpdateFile) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OTAUpdateFile) String ¶ added in v0.2.0
func (s OTAUpdateFile) String() string
String returns the string representation
func (*OTAUpdateFile) Validate ¶ added in v0.2.0
func (s *OTAUpdateFile) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OTAUpdateInfo ¶ added in v0.2.0
type OTAUpdateInfo struct { // A collection of name/value pairs AdditionalParameters map[string]string `locationName:"additionalParameters" type:"map"` // The AWS IoT job ARN associated with the OTA update. AwsIotJobArn *string `locationName:"awsIotJobArn" type:"string"` // The AWS IoT job ID associated with the OTA update. AwsIotJobId *string `locationName:"awsIotJobId" type:"string"` // Configuration for the rollout of OTA updates. AwsJobExecutionsRolloutConfig *AwsJobExecutionsRolloutConfig `locationName:"awsJobExecutionsRolloutConfig" type:"structure"` // The date when the OTA update was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // A description of the OTA update. Description *string `locationName:"description" type:"string"` // Error information associated with the OTA update. ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"` // The date when the OTA update was last updated. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The OTA update ARN. OtaUpdateArn *string `locationName:"otaUpdateArn" type:"string"` // A list of files associated with the OTA update. OtaUpdateFiles []OTAUpdateFile `locationName:"otaUpdateFiles" min:"1" type:"list"` // The OTA update ID. OtaUpdateId *string `locationName:"otaUpdateId" min:"1" type:"string"` // The status of the OTA update. OtaUpdateStatus OTAUpdateStatus `locationName:"otaUpdateStatus" type:"string" enum:"true"` // Specifies whether the OTA update will continue to run (CONTINUOUS), or will // be complete after all those things specified as targets have completed the // OTA update (SNAPSHOT). If continuous, the OTA update may also be run on a // thing when a change is detected in a target. For example, an OTA update will // run on a thing when the thing is added to a target group, even after the // OTA update was completed by all things originally in the group. TargetSelection TargetSelection `locationName:"targetSelection" type:"string" enum:"true"` // The targets of the OTA update. Targets []string `locationName:"targets" min:"1" type:"list"` // contains filtered or unexported fields }
Information about an OTA update.
func (OTAUpdateInfo) GoString ¶ added in v0.2.0
func (s OTAUpdateInfo) GoString() string
GoString returns the string representation
func (OTAUpdateInfo) MarshalFields ¶ added in v0.3.0
func (s OTAUpdateInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OTAUpdateInfo) String ¶ added in v0.2.0
func (s OTAUpdateInfo) String() string
String returns the string representation
type OTAUpdateStatus ¶ added in v0.2.0
type OTAUpdateStatus string
const ( OTAUpdateStatusCreatePending OTAUpdateStatus = "CREATE_PENDING" OTAUpdateStatusCreateInProgress OTAUpdateStatus = "CREATE_IN_PROGRESS" OTAUpdateStatusCreateComplete OTAUpdateStatus = "CREATE_COMPLETE" OTAUpdateStatusCreateFailed OTAUpdateStatus = "CREATE_FAILED" )
Enum values for OTAUpdateStatus
func (OTAUpdateStatus) MarshalValue ¶ added in v0.3.0
func (enum OTAUpdateStatus) MarshalValue() (string, error)
func (OTAUpdateStatus) MarshalValueBuf ¶ added in v0.3.0
func (enum OTAUpdateStatus) MarshalValueBuf(b []byte) ([]byte, error)
type OTAUpdateSummary ¶ added in v0.2.0
type OTAUpdateSummary struct { // The date when the OTA update was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The OTA update ARN. OtaUpdateArn *string `locationName:"otaUpdateArn" type:"string"` // The OTA update ID. OtaUpdateId *string `locationName:"otaUpdateId" min:"1" type:"string"` // contains filtered or unexported fields }
An OTA update summary.
func (OTAUpdateSummary) GoString ¶ added in v0.2.0
func (s OTAUpdateSummary) GoString() string
GoString returns the string representation
func (OTAUpdateSummary) MarshalFields ¶ added in v0.3.0
func (s OTAUpdateSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OTAUpdateSummary) String ¶ added in v0.2.0
func (s OTAUpdateSummary) String() string
String returns the string representation
type OutgoingCertificate ¶
type OutgoingCertificate struct { // The certificate ARN. CertificateArn *string `locationName:"certificateArn" type:"string"` // The certificate ID. CertificateId *string `locationName:"certificateId" min:"64" type:"string"` // The certificate creation date. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The date the transfer was initiated. TransferDate *time.Time `locationName:"transferDate" type:"timestamp" timestampFormat:"unix"` // The transfer message. TransferMessage *string `locationName:"transferMessage" type:"string"` // The AWS account to which the transfer was made. TransferredTo *string `locationName:"transferredTo" min:"12" type:"string"` // contains filtered or unexported fields }
A certificate that has been transferred but not yet accepted.
func (OutgoingCertificate) GoString ¶
func (s OutgoingCertificate) GoString() string
GoString returns the string representation
func (OutgoingCertificate) MarshalFields ¶ added in v0.3.0
func (s OutgoingCertificate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (OutgoingCertificate) String ¶
func (s OutgoingCertificate) String() string
String returns the string representation
type Policy ¶
type Policy struct { // The policy ARN. PolicyArn *string `locationName:"policyArn" type:"string"` // The policy name. PolicyName *string `locationName:"policyName" min:"1" type:"string"` // contains filtered or unexported fields }
Describes an AWS IoT policy.
func (Policy) MarshalFields ¶ added in v0.3.0
func (s Policy) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s PolicyVersion) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PolicyVersion) String ¶
func (s PolicyVersion) String() string
String returns the string representation
type PolicyVersionIdentifier ¶ added in v0.5.0
type PolicyVersionIdentifier struct { // The name of the policy. PolicyName *string `locationName:"policyName" min:"1" type:"string"` // The ID of the version of the policy associated with the resource. PolicyVersionId *string `locationName:"policyVersionId" type:"string"` // contains filtered or unexported fields }
Information about the version of the policy associated with the resource.
func (PolicyVersionIdentifier) GoString ¶ added in v0.5.0
func (s PolicyVersionIdentifier) GoString() string
GoString returns the string representation
func (PolicyVersionIdentifier) MarshalFields ¶ added in v0.5.0
func (s PolicyVersionIdentifier) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PolicyVersionIdentifier) String ¶ added in v0.5.0
func (s PolicyVersionIdentifier) String() string
String returns the string representation
func (*PolicyVersionIdentifier) Validate ¶ added in v0.5.0
func (s *PolicyVersionIdentifier) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PresignedUrlConfig ¶ added in v0.2.0
type PresignedUrlConfig struct { // How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, // the default value is 3600 seconds. Pre-signed URLs are generated when Jobs // receives an MQTT request for the job document. ExpiresInSec *int64 `locationName:"expiresInSec" min:"60" type:"long"` // The ARN of an IAM role that grants grants permission to download files from // the S3 bucket where the job data/updates are stored. The role must also grant // permission for IoT to download the files. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // contains filtered or unexported fields }
Configuration for pre-signed S3 URLs.
func (PresignedUrlConfig) GoString ¶ added in v0.2.0
func (s PresignedUrlConfig) GoString() string
GoString returns the string representation
func (PresignedUrlConfig) MarshalFields ¶ added in v0.3.0
func (s PresignedUrlConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PresignedUrlConfig) String ¶ added in v0.2.0
func (s PresignedUrlConfig) String() string
String returns the string representation
func (*PresignedUrlConfig) Validate ¶ added in v0.2.0
func (s *PresignedUrlConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutItemInput ¶
type PutItemInput struct { // The table where the message data will be written // // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the DynamoActionVS action that specifies the DynamoDB table to which the message data will be written.
func (PutItemInput) GoString ¶
func (s PutItemInput) GoString() string
GoString returns the string representation
func (PutItemInput) MarshalFields ¶ added in v0.3.0
func (s PutItemInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutItemInput) String ¶
func (s PutItemInput) String() string
String returns the string representation
func (*PutItemInput) Validate ¶
func (s *PutItemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RateIncreaseCriteria ¶ added in v0.6.0
type RateIncreaseCriteria struct { // The threshold for number of notified things that will initiate the increase // in rate of rollout. NumberOfNotifiedThings *int64 `locationName:"numberOfNotifiedThings" min:"1" type:"integer"` // The threshold for number of succeeded things that will initiate the increase // in rate of rollout. NumberOfSucceededThings *int64 `locationName:"numberOfSucceededThings" min:"1" type:"integer"` // contains filtered or unexported fields }
Allows you to define a criteria to initiate the increase in rate of rollout for a job.
func (RateIncreaseCriteria) GoString ¶ added in v0.6.0
func (s RateIncreaseCriteria) GoString() string
GoString returns the string representation
func (RateIncreaseCriteria) MarshalFields ¶ added in v0.6.0
func (s RateIncreaseCriteria) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RateIncreaseCriteria) String ¶ added in v0.6.0
func (s RateIncreaseCriteria) String() string
String returns the string representation
func (*RateIncreaseCriteria) Validate ¶ added in v0.6.0
func (s *RateIncreaseCriteria) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterCACertificateInput ¶
type RegisterCACertificateInput struct { // Allows this CA certificate to be used for auto registration of device certificates. AllowAutoRegistration *bool `location:"querystring" locationName:"allowAutoRegistration" type:"boolean"` // The CA certificate. // // CaCertificate is a required field CaCertificate *string `locationName:"caCertificate" min:"1" type:"string" required:"true"` // Information about the registration configuration. RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` // A boolean value that specifies if the CA certificate is set to active. SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` // The private key verification certificate. // // VerificationCertificate is a required field VerificationCertificate *string `locationName:"verificationCertificate" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
The input to the RegisterCACertificate operation.
func (RegisterCACertificateInput) GoString ¶
func (s RegisterCACertificateInput) GoString() string
GoString returns the string representation
func (RegisterCACertificateInput) MarshalFields ¶ added in v0.3.0
func (s RegisterCACertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s RegisterCACertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegisterCACertificateOutput) SDKResponseMetadata ¶
func (s RegisterCACertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RegisterCACertificateOutput) String ¶
func (s RegisterCACertificateOutput) String() string
String returns the string representation
type RegisterCACertificateRequest ¶
type RegisterCACertificateRequest struct { *aws.Request Input *RegisterCACertificateInput Copy func(*RegisterCACertificateInput) RegisterCACertificateRequest }
RegisterCACertificateRequest is a API request type for the RegisterCACertificate API operation.
func (RegisterCACertificateRequest) Send ¶
func (r RegisterCACertificateRequest) Send(ctx context.Context) (*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 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) MarshalFields ¶ added in v0.3.0
func (s RegisterCertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegisterCertificateInput) String ¶
func (s RegisterCertificateInput) String() string
String returns the string representation
func (*RegisterCertificateInput) Validate ¶
func (s *RegisterCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterCertificateOutput ¶
type RegisterCertificateOutput struct { // The certificate ARN. CertificateArn *string `locationName:"certificateArn" type:"string"` // The certificate identifier. CertificateId *string `locationName:"certificateId" min:"64" type:"string"` // contains filtered or unexported fields }
The output from the RegisterCertificate operation.
func (RegisterCertificateOutput) GoString ¶
func (s RegisterCertificateOutput) GoString() string
GoString returns the string representation
func (RegisterCertificateOutput) MarshalFields ¶ added in v0.3.0
func (s RegisterCertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegisterCertificateOutput) SDKResponseMetadata ¶
func (s RegisterCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RegisterCertificateOutput) String ¶
func (s RegisterCertificateOutput) String() string
String returns the string representation
type RegisterCertificateRequest ¶
type RegisterCertificateRequest struct { *aws.Request Input *RegisterCertificateInput Copy func(*RegisterCertificateInput) RegisterCertificateRequest }
RegisterCertificateRequest is a API request type for the RegisterCertificate API operation.
func (RegisterCertificateRequest) Send ¶
func (r RegisterCertificateRequest) Send(ctx context.Context) (*RegisterCertificateOutput, error)
Send marshals and sends the RegisterCertificate API request.
type RegisterThingInput ¶ added in v0.2.0
type RegisterThingInput struct { // The parameters for provisioning a thing. See Programmatic Provisioning (https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html) // for more information. Parameters map[string]string `locationName:"parameters" type:"map"` // The provisioning template. See Programmatic Provisioning (https://docs.aws.amazon.com/iot/latest/developerguide/programmatic-provisioning.html) // for more information. // // TemplateBody is a required field TemplateBody *string `locationName:"templateBody" type:"string" required:"true"` // contains filtered or unexported fields }
func (RegisterThingInput) GoString ¶ added in v0.2.0
func (s RegisterThingInput) GoString() string
GoString returns the string representation
func (RegisterThingInput) MarshalFields ¶ added in v0.3.0
func (s RegisterThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegisterThingInput) String ¶ added in v0.2.0
func (s RegisterThingInput) String() string
String returns the string representation
func (*RegisterThingInput) Validate ¶ added in v0.2.0
func (s *RegisterThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterThingOutput ¶ added in v0.2.0
type RegisterThingOutput struct { // . CertificatePem *string `locationName:"certificatePem" min:"1" type:"string"` // ARNs for the generated resources. ResourceArns map[string]string `locationName:"resourceArns" type:"map"` // contains filtered or unexported fields }
func (RegisterThingOutput) GoString ¶ added in v0.2.0
func (s RegisterThingOutput) GoString() string
GoString returns the string representation
func (RegisterThingOutput) MarshalFields ¶ added in v0.3.0
func (s RegisterThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegisterThingOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s RegisterThingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RegisterThingOutput) String ¶ added in v0.2.0
func (s RegisterThingOutput) String() string
String returns the string representation
type RegisterThingRequest ¶ added in v0.2.0
type RegisterThingRequest struct { *aws.Request Input *RegisterThingInput Copy func(*RegisterThingInput) RegisterThingRequest }
RegisterThingRequest is a API request type for the RegisterThing API operation.
func (RegisterThingRequest) Send ¶ added in v0.2.0
func (r RegisterThingRequest) Send(ctx context.Context) (*RegisterThingOutput, error)
Send marshals and sends the RegisterThing API request.
type RegistrationConfig ¶ added in v0.2.0
type RegistrationConfig struct { // The ARN of the role. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // The template body. TemplateBody *string `locationName:"templateBody" type:"string"` // contains filtered or unexported fields }
The registration configuration.
func (RegistrationConfig) GoString ¶ added in v0.2.0
func (s RegistrationConfig) GoString() string
GoString returns the string representation
func (RegistrationConfig) MarshalFields ¶ added in v0.3.0
func (s RegistrationConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RegistrationConfig) String ¶ added in v0.2.0
func (s RegistrationConfig) String() string
String returns the string representation
func (*RegistrationConfig) Validate ¶ added in v0.2.0
func (s *RegistrationConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectCertificateTransferInput ¶
type RejectCertificateTransferInput struct { // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // The reason the certificate transfer was rejected. RejectReason *string `locationName:"rejectReason" type:"string"` // contains filtered or unexported fields }
The input for the RejectCertificateTransfer operation.
func (RejectCertificateTransferInput) GoString ¶
func (s RejectCertificateTransferInput) GoString() string
GoString returns the string representation
func (RejectCertificateTransferInput) MarshalFields ¶ added in v0.3.0
func (s RejectCertificateTransferInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s RejectCertificateTransferOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*RejectCertificateTransferInput) RejectCertificateTransferRequest }
RejectCertificateTransferRequest is a API request type for the RejectCertificateTransfer API operation.
func (RejectCertificateTransferRequest) Send ¶
func (r RejectCertificateTransferRequest) Send(ctx context.Context) (*RejectCertificateTransferOutput, error)
Send marshals and sends the RejectCertificateTransfer API request.
type RelatedResource ¶ added in v0.5.0
type RelatedResource struct { // Additional information about the resource. AdditionalInfo map[string]string `locationName:"additionalInfo" type:"map"` // Information identifying the resource. ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` // The type of resource. ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"` // contains filtered or unexported fields }
Information about a related resource.
func (RelatedResource) GoString ¶ added in v0.5.0
func (s RelatedResource) GoString() string
GoString returns the string representation
func (RelatedResource) MarshalFields ¶ added in v0.5.0
func (s RelatedResource) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RelatedResource) String ¶ added in v0.5.0
func (s RelatedResource) String() string
String returns the string representation
type RemoveThingFromBillingGroupInput ¶ added in v0.6.0
type RemoveThingFromBillingGroupInput struct { // The ARN of the billing group. BillingGroupArn *string `locationName:"billingGroupArn" type:"string"` // The name of the billing group. BillingGroupName *string `locationName:"billingGroupName" min:"1" type:"string"` // The ARN of the thing to be removed from the billing group. ThingArn *string `locationName:"thingArn" type:"string"` // The name of the thing to be removed from the billing group. ThingName *string `locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (RemoveThingFromBillingGroupInput) GoString ¶ added in v0.6.0
func (s RemoveThingFromBillingGroupInput) GoString() string
GoString returns the string representation
func (RemoveThingFromBillingGroupInput) MarshalFields ¶ added in v0.6.0
func (s RemoveThingFromBillingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RemoveThingFromBillingGroupInput) String ¶ added in v0.6.0
func (s RemoveThingFromBillingGroupInput) String() string
String returns the string representation
func (*RemoveThingFromBillingGroupInput) Validate ¶ added in v0.6.0
func (s *RemoveThingFromBillingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveThingFromBillingGroupOutput ¶ added in v0.6.0
type RemoveThingFromBillingGroupOutput struct {
// contains filtered or unexported fields
}
func (RemoveThingFromBillingGroupOutput) GoString ¶ added in v0.6.0
func (s RemoveThingFromBillingGroupOutput) GoString() string
GoString returns the string representation
func (RemoveThingFromBillingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s RemoveThingFromBillingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RemoveThingFromBillingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s RemoveThingFromBillingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RemoveThingFromBillingGroupOutput) String ¶ added in v0.6.0
func (s RemoveThingFromBillingGroupOutput) String() string
String returns the string representation
type RemoveThingFromBillingGroupRequest ¶ added in v0.6.0
type RemoveThingFromBillingGroupRequest struct { *aws.Request Input *RemoveThingFromBillingGroupInput Copy func(*RemoveThingFromBillingGroupInput) RemoveThingFromBillingGroupRequest }
RemoveThingFromBillingGroupRequest is a API request type for the RemoveThingFromBillingGroup API operation.
func (RemoveThingFromBillingGroupRequest) Send ¶ added in v0.6.0
func (r RemoveThingFromBillingGroupRequest) Send(ctx context.Context) (*RemoveThingFromBillingGroupOutput, error)
Send marshals and sends the RemoveThingFromBillingGroup API request.
type RemoveThingFromThingGroupInput ¶ added in v0.2.0
type RemoveThingFromThingGroupInput struct { // The ARN of the thing to remove from the group. ThingArn *string `locationName:"thingArn" type:"string"` // The group ARN. ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` // The group name. ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` // The name of the thing to remove from the group. ThingName *string `locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (RemoveThingFromThingGroupInput) GoString ¶ added in v0.2.0
func (s RemoveThingFromThingGroupInput) GoString() string
GoString returns the string representation
func (RemoveThingFromThingGroupInput) MarshalFields ¶ added in v0.3.0
func (s RemoveThingFromThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RemoveThingFromThingGroupInput) String ¶ added in v0.2.0
func (s RemoveThingFromThingGroupInput) String() string
String returns the string representation
func (*RemoveThingFromThingGroupInput) Validate ¶ added in v0.2.0
func (s *RemoveThingFromThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveThingFromThingGroupOutput ¶ added in v0.2.0
type RemoveThingFromThingGroupOutput struct {
// contains filtered or unexported fields
}
func (RemoveThingFromThingGroupOutput) GoString ¶ added in v0.2.0
func (s RemoveThingFromThingGroupOutput) GoString() string
GoString returns the string representation
func (RemoveThingFromThingGroupOutput) MarshalFields ¶ added in v0.3.0
func (s RemoveThingFromThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RemoveThingFromThingGroupOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s RemoveThingFromThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RemoveThingFromThingGroupOutput) String ¶ added in v0.2.0
func (s RemoveThingFromThingGroupOutput) String() string
String returns the string representation
type RemoveThingFromThingGroupRequest ¶ added in v0.2.0
type RemoveThingFromThingGroupRequest struct { *aws.Request Input *RemoveThingFromThingGroupInput Copy func(*RemoveThingFromThingGroupInput) RemoveThingFromThingGroupRequest }
RemoveThingFromThingGroupRequest is a API request type for the RemoveThingFromThingGroup API operation.
func (RemoveThingFromThingGroupRequest) Send ¶ added in v0.2.0
func (r RemoveThingFromThingGroupRequest) Send(ctx context.Context) (*RemoveThingFromThingGroupOutput, error)
Send marshals and sends the RemoveThingFromThingGroup API request.
type ReplaceTopicRuleInput ¶
type ReplaceTopicRuleInput struct { // The name of the rule. // // RuleName is a required field RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` // The rule payload. // // TopicRulePayload is a required field TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` // contains filtered or unexported fields }
The input for the ReplaceTopicRule operation.
func (ReplaceTopicRuleInput) GoString ¶
func (s ReplaceTopicRuleInput) GoString() string
GoString returns the string representation
func (ReplaceTopicRuleInput) MarshalFields ¶ added in v0.3.0
func (s ReplaceTopicRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ReplaceTopicRuleInput) String ¶
func (s ReplaceTopicRuleInput) String() string
String returns the string representation
func (*ReplaceTopicRuleInput) Validate ¶
func (s *ReplaceTopicRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReplaceTopicRuleOutput ¶
type ReplaceTopicRuleOutput struct {
// contains filtered or unexported fields
}
func (ReplaceTopicRuleOutput) GoString ¶
func (s ReplaceTopicRuleOutput) GoString() string
GoString returns the string representation
func (ReplaceTopicRuleOutput) MarshalFields ¶ added in v0.3.0
func (s ReplaceTopicRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*ReplaceTopicRuleInput) ReplaceTopicRuleRequest }
ReplaceTopicRuleRequest is a API request type for the ReplaceTopicRule API operation.
func (ReplaceTopicRuleRequest) Send ¶
func (r ReplaceTopicRuleRequest) Send(ctx context.Context) (*ReplaceTopicRuleOutput, error)
Send marshals and sends the ReplaceTopicRule API request.
type ReportType ¶ added in v0.2.0
type ReportType string
const ( ReportTypeErrors ReportType = "ERRORS" ReportTypeResults ReportType = "RESULTS" )
Enum values for ReportType
func (ReportType) MarshalValue ¶ added in v0.3.0
func (enum ReportType) MarshalValue() (string, error)
func (ReportType) MarshalValueBuf ¶ added in v0.3.0
func (enum ReportType) MarshalValueBuf(b []byte) ([]byte, error)
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) MarshalFields ¶ added in v0.3.0
func (s RepublishAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RepublishAction) String ¶
func (s RepublishAction) String() string
String returns the string representation
func (*RepublishAction) Validate ¶
func (s *RepublishAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceIdentifier ¶ added in v0.5.0
type ResourceIdentifier struct { // The account with which the resource is associated. Account *string `locationName:"account" min:"12" type:"string"` // The ID of the CA certificate used to authorize the certificate. CaCertificateId *string `locationName:"caCertificateId" min:"64" type:"string"` // The client ID. ClientId *string `locationName:"clientId" type:"string"` // The ID of the Cognito Identity Pool. CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"` // The ID of the certificate attached to the resource. DeviceCertificateId *string `locationName:"deviceCertificateId" min:"64" type:"string"` // The version of the policy associated with the resource. PolicyVersionIdentifier *PolicyVersionIdentifier `locationName:"policyVersionIdentifier" type:"structure"` // contains filtered or unexported fields }
Information identifying the non-compliant resource.
func (ResourceIdentifier) GoString ¶ added in v0.5.0
func (s ResourceIdentifier) GoString() string
GoString returns the string representation
func (ResourceIdentifier) MarshalFields ¶ added in v0.5.0
func (s ResourceIdentifier) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceIdentifier) String ¶ added in v0.5.0
func (s ResourceIdentifier) String() string
String returns the string representation
func (*ResourceIdentifier) Validate ¶ added in v0.5.0
func (s *ResourceIdentifier) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceType ¶ added in v0.5.0
type ResourceType string
const ( ResourceTypeDeviceCertificate ResourceType = "DEVICE_CERTIFICATE" ResourceTypeCaCertificate ResourceType = "CA_CERTIFICATE" ResourceTypeIotPolicy ResourceType = "IOT_POLICY" ResourceTypeCognitoIdentityPool ResourceType = "COGNITO_IDENTITY_POOL" ResourceTypeClientId ResourceType = "CLIENT_ID" ResourceTypeAccountSettings ResourceType = "ACCOUNT_SETTINGS" )
Enum values for ResourceType
func (ResourceType) MarshalValue ¶ added in v0.5.0
func (enum ResourceType) MarshalValue() (string, error)
func (ResourceType) MarshalValueBuf ¶ added in v0.5.0
func (enum ResourceType) MarshalValueBuf(b []byte) ([]byte, error)
type RoleAliasDescription ¶ added in v0.2.0
type RoleAliasDescription struct { // The UNIX timestamp of when the role alias was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The number of seconds for which the credential is valid. CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` // The UNIX timestamp of when the role alias was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The role alias owner. Owner *string `locationName:"owner" min:"12" type:"string"` // The role alias. RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"` // The ARN of the role alias. RoleAliasArn *string `locationName:"roleAliasArn" type:"string"` // The role ARN. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // contains filtered or unexported fields }
Role alias description.
func (RoleAliasDescription) GoString ¶ added in v0.2.0
func (s RoleAliasDescription) GoString() string
GoString returns the string representation
func (RoleAliasDescription) MarshalFields ¶ added in v0.3.0
func (s RoleAliasDescription) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RoleAliasDescription) String ¶ added in v0.2.0
func (s RoleAliasDescription) String() string
String returns the string representation
type S3Action ¶
type S3Action struct { // The Amazon S3 bucket. // // BucketName is a required field BucketName *string `locationName:"bucketName" type:"string" required:"true"` // The Amazon S3 canned ACL that controls access to the object identified by // the object key. For more information, see S3 canned ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl). CannedAcl CannedAccessControlList `locationName:"cannedAcl" type:"string" enum:"true"` // The object key. // // Key is a required field Key *string `locationName:"key" type:"string" required:"true"` // The ARN of the IAM role that grants access. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action to write data to an Amazon S3 bucket.
func (S3Action) MarshalFields ¶ added in v0.3.0
func (s S3Action) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type S3Destination ¶ added in v0.5.0
type S3Destination struct { // The S3 bucket that contains the updated firmware. Bucket *string `locationName:"bucket" min:"1" type:"string"` // The S3 prefix. Prefix *string `locationName:"prefix" type:"string"` // contains filtered or unexported fields }
Describes the location of updated firmware in S3.
func (S3Destination) GoString ¶ added in v0.5.0
func (s S3Destination) GoString() string
GoString returns the string representation
func (S3Destination) MarshalFields ¶ added in v0.5.0
func (s S3Destination) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (S3Destination) String ¶ added in v0.5.0
func (s S3Destination) String() string
String returns the string representation
func (*S3Destination) Validate ¶ added in v0.5.0
func (s *S3Destination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type S3Location ¶ added in v0.2.0
type S3Location struct { // The S3 bucket. Bucket *string `locationName:"bucket" min:"1" type:"string"` // The S3 key. Key *string `locationName:"key" min:"1" type:"string"` // The S3 bucket version. Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
The S3 location.
func (S3Location) GoString ¶ added in v0.2.0
func (s S3Location) GoString() string
GoString returns the string representation
func (S3Location) MarshalFields ¶ added in v0.3.0
func (s S3Location) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (S3Location) String ¶ added in v0.2.0
func (s S3Location) String() string
String returns the string representation
func (*S3Location) Validate ¶ added in v0.2.0
func (s *S3Location) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SalesforceAction ¶
type SalesforceAction struct { // The token used to authenticate access to the Salesforce IoT Cloud Input Stream. // The token is available from the Salesforce IoT Cloud platform after creation // of the Input Stream. // // Token is a required field Token *string `locationName:"token" min:"40" type:"string" required:"true"` // The URL exposed by the Salesforce IoT Cloud Input Stream. The URL is available // from the Salesforce IoT Cloud platform after creation of the Input Stream. // // Url is a required field Url *string `locationName:"url" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action to write a message to a Salesforce IoT Cloud Input Stream.
func (SalesforceAction) GoString ¶
func (s SalesforceAction) GoString() string
GoString returns the string representation
func (SalesforceAction) MarshalFields ¶ added in v0.3.0
func (s SalesforceAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SalesforceAction) String ¶
func (s SalesforceAction) String() string
String returns the string representation
func (*SalesforceAction) Validate ¶
func (s *SalesforceAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ScheduledAuditMetadata ¶ added in v0.5.0
type ScheduledAuditMetadata struct { // The day of the month on which the scheduled audit is run (if the frequency // is "MONTHLY"). If days 29-31 are specified, and the month does not have that // many days, the audit takes place on the "LAST" day of the month. DayOfMonth *string `locationName:"dayOfMonth" type:"string"` // The day of the week on which the scheduled audit is run (if the frequency // is "WEEKLY" or "BIWEEKLY"). DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"` // How often the scheduled audit takes place. Frequency AuditFrequency `locationName:"frequency" type:"string" enum:"true"` // The ARN of the scheduled audit. ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"` // The name of the scheduled audit. ScheduledAuditName *string `locationName:"scheduledAuditName" min:"1" type:"string"` // contains filtered or unexported fields }
Information about the scheduled audit.
func (ScheduledAuditMetadata) GoString ¶ added in v0.5.0
func (s ScheduledAuditMetadata) GoString() string
GoString returns the string representation
func (ScheduledAuditMetadata) MarshalFields ¶ added in v0.5.0
func (s ScheduledAuditMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ScheduledAuditMetadata) String ¶ added in v0.5.0
func (s ScheduledAuditMetadata) String() string
String returns the string representation
type SearchIndexInput ¶ added in v0.2.0
type SearchIndexInput struct { // The search index name. IndexName *string `locationName:"indexName" min:"1" type:"string"` // The maximum number of results to return at one time. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The search query string. // // QueryString is a required field QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"` // The query version. QueryVersion *string `locationName:"queryVersion" type:"string"` // contains filtered or unexported fields }
func (SearchIndexInput) GoString ¶ added in v0.2.0
func (s SearchIndexInput) GoString() string
GoString returns the string representation
func (SearchIndexInput) MarshalFields ¶ added in v0.3.0
func (s SearchIndexInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SearchIndexInput) String ¶ added in v0.2.0
func (s SearchIndexInput) String() string
String returns the string representation
func (*SearchIndexInput) Validate ¶ added in v0.2.0
func (s *SearchIndexInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SearchIndexOutput ¶ added in v0.2.0
type SearchIndexOutput struct { // The token used to get the next set of results, or null if there are no additional // results. NextToken *string `locationName:"nextToken" type:"string"` // The thing groups that match the search query. ThingGroups []ThingGroupDocument `locationName:"thingGroups" type:"list"` // The things that match the search query. Things []ThingDocument `locationName:"things" type:"list"` // contains filtered or unexported fields }
func (SearchIndexOutput) GoString ¶ added in v0.2.0
func (s SearchIndexOutput) GoString() string
GoString returns the string representation
func (SearchIndexOutput) MarshalFields ¶ added in v0.3.0
func (s SearchIndexOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SearchIndexOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s SearchIndexOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SearchIndexOutput) String ¶ added in v0.2.0
func (s SearchIndexOutput) String() string
String returns the string representation
type SearchIndexRequest ¶ added in v0.2.0
type SearchIndexRequest struct { *aws.Request Input *SearchIndexInput Copy func(*SearchIndexInput) SearchIndexRequest }
SearchIndexRequest is a API request type for the SearchIndex API operation.
func (SearchIndexRequest) Send ¶ added in v0.2.0
func (r SearchIndexRequest) Send(ctx context.Context) (*SearchIndexOutput, error)
Send marshals and sends the SearchIndex API request.
type SecurityProfileIdentifier ¶ added in v0.5.0
type SecurityProfileIdentifier struct { // The ARN of the security profile. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // The name you have given to the security profile. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Identifying information for a Device Defender security profile.
func (SecurityProfileIdentifier) GoString ¶ added in v0.5.0
func (s SecurityProfileIdentifier) GoString() string
GoString returns the string representation
func (SecurityProfileIdentifier) MarshalFields ¶ added in v0.5.0
func (s SecurityProfileIdentifier) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SecurityProfileIdentifier) String ¶ added in v0.5.0
func (s SecurityProfileIdentifier) String() string
String returns the string representation
type SecurityProfileTarget ¶ added in v0.5.0
type SecurityProfileTarget struct { // The ARN of the security profile. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` // contains filtered or unexported fields }
A target to which an alert is sent when a security profile behavior is violated.
func (SecurityProfileTarget) GoString ¶ added in v0.5.0
func (s SecurityProfileTarget) GoString() string
GoString returns the string representation
func (SecurityProfileTarget) MarshalFields ¶ added in v0.5.0
func (s SecurityProfileTarget) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SecurityProfileTarget) String ¶ added in v0.5.0
func (s SecurityProfileTarget) String() string
String returns the string representation
type SecurityProfileTargetMapping ¶ added in v0.5.0
type SecurityProfileTargetMapping struct { // Information that identifies the security profile. SecurityProfileIdentifier *SecurityProfileIdentifier `locationName:"securityProfileIdentifier" type:"structure"` // Information about the target (thing group) associated with the security profile. Target *SecurityProfileTarget `locationName:"target" type:"structure"` // contains filtered or unexported fields }
Information about a security profile and the target associated with it.
func (SecurityProfileTargetMapping) GoString ¶ added in v0.5.0
func (s SecurityProfileTargetMapping) GoString() string
GoString returns the string representation
func (SecurityProfileTargetMapping) MarshalFields ¶ added in v0.5.0
func (s SecurityProfileTargetMapping) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SecurityProfileTargetMapping) String ¶ added in v0.5.0
func (s SecurityProfileTargetMapping) String() string
String returns the string representation
type SetDefaultAuthorizerInput ¶ added in v0.2.0
type SetDefaultAuthorizerInput struct { // The authorizer name. // // AuthorizerName is a required field AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (SetDefaultAuthorizerInput) GoString ¶ added in v0.2.0
func (s SetDefaultAuthorizerInput) GoString() string
GoString returns the string representation
func (SetDefaultAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s SetDefaultAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SetDefaultAuthorizerInput) String ¶ added in v0.2.0
func (s SetDefaultAuthorizerInput) String() string
String returns the string representation
func (*SetDefaultAuthorizerInput) Validate ¶ added in v0.2.0
func (s *SetDefaultAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetDefaultAuthorizerOutput ¶ added in v0.2.0
type SetDefaultAuthorizerOutput struct { // The authorizer ARN. AuthorizerArn *string `locationName:"authorizerArn" type:"string"` // The authorizer name. AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` // contains filtered or unexported fields }
func (SetDefaultAuthorizerOutput) GoString ¶ added in v0.2.0
func (s SetDefaultAuthorizerOutput) GoString() string
GoString returns the string representation
func (SetDefaultAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s SetDefaultAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SetDefaultAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s SetDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetDefaultAuthorizerOutput) String ¶ added in v0.2.0
func (s SetDefaultAuthorizerOutput) String() string
String returns the string representation
type SetDefaultAuthorizerRequest ¶ added in v0.2.0
type SetDefaultAuthorizerRequest struct { *aws.Request Input *SetDefaultAuthorizerInput Copy func(*SetDefaultAuthorizerInput) SetDefaultAuthorizerRequest }
SetDefaultAuthorizerRequest is a API request type for the SetDefaultAuthorizer API operation.
func (SetDefaultAuthorizerRequest) Send ¶ added in v0.2.0
func (r SetDefaultAuthorizerRequest) Send(ctx context.Context) (*SetDefaultAuthorizerOutput, error)
Send marshals and sends the SetDefaultAuthorizer API request.
type SetDefaultPolicyVersionInput ¶
type SetDefaultPolicyVersionInput struct { // The policy name. // // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The policy version ID. // // PolicyVersionId is a required field PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` // contains filtered or unexported fields }
The input for the SetDefaultPolicyVersion operation.
func (SetDefaultPolicyVersionInput) GoString ¶
func (s SetDefaultPolicyVersionInput) GoString() string
GoString returns the string representation
func (SetDefaultPolicyVersionInput) MarshalFields ¶ added in v0.3.0
func (s SetDefaultPolicyVersionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s SetDefaultPolicyVersionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*SetDefaultPolicyVersionInput) SetDefaultPolicyVersionRequest }
SetDefaultPolicyVersionRequest is a API request type for the SetDefaultPolicyVersion API operation.
func (SetDefaultPolicyVersionRequest) Send ¶
func (r SetDefaultPolicyVersionRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s SetLoggingOptionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SetLoggingOptionsInput) String ¶
func (s SetLoggingOptionsInput) String() string
String returns the string representation
func (*SetLoggingOptionsInput) Validate ¶
func (s *SetLoggingOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetLoggingOptionsOutput ¶
type SetLoggingOptionsOutput struct {
// contains filtered or unexported fields
}
func (SetLoggingOptionsOutput) GoString ¶
func (s SetLoggingOptionsOutput) GoString() string
GoString returns the string representation
func (SetLoggingOptionsOutput) MarshalFields ¶ added in v0.3.0
func (s SetLoggingOptionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*SetLoggingOptionsInput) SetLoggingOptionsRequest }
SetLoggingOptionsRequest is a API request type for the SetLoggingOptions API operation.
func (SetLoggingOptionsRequest) Send ¶
func (r SetLoggingOptionsRequest) Send(ctx context.Context) (*SetLoggingOptionsOutput, error)
Send marshals and sends the SetLoggingOptions API request.
type SetV2LoggingLevelInput ¶ added in v0.2.0
type SetV2LoggingLevelInput struct { // The log level. // // LogLevel is a required field LogLevel LogLevel `locationName:"logLevel" type:"string" required:"true" enum:"true"` // The log target. // // LogTarget is a required field LogTarget *LogTarget `locationName:"logTarget" type:"structure" required:"true"` // contains filtered or unexported fields }
func (SetV2LoggingLevelInput) GoString ¶ added in v0.2.0
func (s SetV2LoggingLevelInput) GoString() string
GoString returns the string representation
func (SetV2LoggingLevelInput) MarshalFields ¶ added in v0.3.0
func (s SetV2LoggingLevelInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SetV2LoggingLevelInput) String ¶ added in v0.2.0
func (s SetV2LoggingLevelInput) String() string
String returns the string representation
func (*SetV2LoggingLevelInput) Validate ¶ added in v0.2.0
func (s *SetV2LoggingLevelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetV2LoggingLevelOutput ¶ added in v0.2.0
type SetV2LoggingLevelOutput struct {
// contains filtered or unexported fields
}
func (SetV2LoggingLevelOutput) GoString ¶ added in v0.2.0
func (s SetV2LoggingLevelOutput) GoString() string
GoString returns the string representation
func (SetV2LoggingLevelOutput) MarshalFields ¶ added in v0.3.0
func (s SetV2LoggingLevelOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SetV2LoggingLevelOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s SetV2LoggingLevelOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetV2LoggingLevelOutput) String ¶ added in v0.2.0
func (s SetV2LoggingLevelOutput) String() string
String returns the string representation
type SetV2LoggingLevelRequest ¶ added in v0.2.0
type SetV2LoggingLevelRequest struct { *aws.Request Input *SetV2LoggingLevelInput Copy func(*SetV2LoggingLevelInput) SetV2LoggingLevelRequest }
SetV2LoggingLevelRequest is a API request type for the SetV2LoggingLevel API operation.
func (SetV2LoggingLevelRequest) Send ¶ added in v0.2.0
func (r SetV2LoggingLevelRequest) Send(ctx context.Context) (*SetV2LoggingLevelOutput, error)
Send marshals and sends the SetV2LoggingLevel API request.
type SetV2LoggingOptionsInput ¶ added in v0.2.0
type SetV2LoggingOptionsInput struct { // The default logging level. DefaultLogLevel LogLevel `locationName:"defaultLogLevel" type:"string" enum:"true"` // If true all logs are disabled. The default is false. DisableAllLogs *bool `locationName:"disableAllLogs" type:"boolean"` // The ARN of the role that allows IoT to write to Cloudwatch logs. RoleArn *string `locationName:"roleArn" type:"string"` // contains filtered or unexported fields }
func (SetV2LoggingOptionsInput) GoString ¶ added in v0.2.0
func (s SetV2LoggingOptionsInput) GoString() string
GoString returns the string representation
func (SetV2LoggingOptionsInput) MarshalFields ¶ added in v0.3.0
func (s SetV2LoggingOptionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SetV2LoggingOptionsInput) String ¶ added in v0.2.0
func (s SetV2LoggingOptionsInput) String() string
String returns the string representation
type SetV2LoggingOptionsOutput ¶ added in v0.2.0
type SetV2LoggingOptionsOutput struct {
// contains filtered or unexported fields
}
func (SetV2LoggingOptionsOutput) GoString ¶ added in v0.2.0
func (s SetV2LoggingOptionsOutput) GoString() string
GoString returns the string representation
func (SetV2LoggingOptionsOutput) MarshalFields ¶ added in v0.3.0
func (s SetV2LoggingOptionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SetV2LoggingOptionsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s SetV2LoggingOptionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetV2LoggingOptionsOutput) String ¶ added in v0.2.0
func (s SetV2LoggingOptionsOutput) String() string
String returns the string representation
type SetV2LoggingOptionsRequest ¶ added in v0.2.0
type SetV2LoggingOptionsRequest struct { *aws.Request Input *SetV2LoggingOptionsInput Copy func(*SetV2LoggingOptionsInput) SetV2LoggingOptionsRequest }
SetV2LoggingOptionsRequest is a API request type for the SetV2LoggingOptions API operation.
func (SetV2LoggingOptionsRequest) Send ¶ added in v0.2.0
func (r SetV2LoggingOptionsRequest) Send(ctx context.Context) (*SetV2LoggingOptionsOutput, error)
Send marshals and sends the SetV2LoggingOptions API request.
type SigningProfileParameter ¶ added in v0.5.0
type SigningProfileParameter struct { // Certificate ARN. CertificateArn *string `locationName:"certificateArn" type:"string"` // The location of the code-signing certificate on your device. CertificatePathOnDevice *string `locationName:"certificatePathOnDevice" type:"string"` // The hardware platform of your device. Platform *string `locationName:"platform" type:"string"` // contains filtered or unexported fields }
Describes the code-signing profile.
func (SigningProfileParameter) GoString ¶ added in v0.5.0
func (s SigningProfileParameter) GoString() string
GoString returns the string representation
func (SigningProfileParameter) MarshalFields ¶ added in v0.5.0
func (s SigningProfileParameter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SigningProfileParameter) String ¶ added in v0.5.0
func (s SigningProfileParameter) String() string
String returns the string representation
type SnsAction ¶
type SnsAction struct { // (Optional) The message format of the message to publish. Accepted values // are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses // this setting to determine if the payload should be parsed and relevant platform-specific // bits of the payload should be extracted. To read more about SNS message formats, // see https://docs.aws.amazon.com/sns/latest/dg/json-formats.html (https://docs.aws.amazon.com/sns/latest/dg/json-formats.html) // refer to their official documentation. MessageFormat MessageFormat `locationName:"messageFormat" type:"string" enum:"true"` // The ARN of the IAM role that grants access. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The ARN of the SNS topic. // // TargetArn is a required field TargetArn *string `locationName:"targetArn" type:"string" required:"true"` // contains filtered or unexported fields }
Describes an action to publish to an Amazon SNS topic.
func (SnsAction) MarshalFields ¶ added in v0.3.0
func (s SnsAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type SqsAction ¶
type SqsAction struct { // The URL of the Amazon SQS queue. // // QueueUrl is a required field QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"` // The ARN of the IAM role that grants access. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // Specifies whether to use Base64 encoding. UseBase64 *bool `locationName:"useBase64" type:"boolean"` // contains filtered or unexported fields }
Describes an action to publish data to an Amazon SQS queue.
func (SqsAction) MarshalFields ¶ added in v0.3.0
func (s SqsAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type StartOnDemandAuditTaskInput ¶ added in v0.5.0
type StartOnDemandAuditTaskInput struct { // Which checks are performed during the audit. The checks you specify must // be enabled for your account or an exception occurs. Use DescribeAccountAuditConfiguration // to see the list of all checks including those that are enabled or UpdateAccountAuditConfiguration // to select which checks are enabled. // // TargetCheckNames is a required field TargetCheckNames []string `locationName:"targetCheckNames" type:"list" required:"true"` // contains filtered or unexported fields }
func (StartOnDemandAuditTaskInput) GoString ¶ added in v0.5.0
func (s StartOnDemandAuditTaskInput) GoString() string
GoString returns the string representation
func (StartOnDemandAuditTaskInput) MarshalFields ¶ added in v0.5.0
func (s StartOnDemandAuditTaskInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartOnDemandAuditTaskInput) String ¶ added in v0.5.0
func (s StartOnDemandAuditTaskInput) String() string
String returns the string representation
func (*StartOnDemandAuditTaskInput) Validate ¶ added in v0.5.0
func (s *StartOnDemandAuditTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartOnDemandAuditTaskOutput ¶ added in v0.5.0
type StartOnDemandAuditTaskOutput struct { // The ID of the on-demand audit you started. TaskId *string `locationName:"taskId" min:"1" type:"string"` // contains filtered or unexported fields }
func (StartOnDemandAuditTaskOutput) GoString ¶ added in v0.5.0
func (s StartOnDemandAuditTaskOutput) GoString() string
GoString returns the string representation
func (StartOnDemandAuditTaskOutput) MarshalFields ¶ added in v0.5.0
func (s StartOnDemandAuditTaskOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartOnDemandAuditTaskOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s StartOnDemandAuditTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StartOnDemandAuditTaskOutput) String ¶ added in v0.5.0
func (s StartOnDemandAuditTaskOutput) String() string
String returns the string representation
type StartOnDemandAuditTaskRequest ¶ added in v0.5.0
type StartOnDemandAuditTaskRequest struct { *aws.Request Input *StartOnDemandAuditTaskInput Copy func(*StartOnDemandAuditTaskInput) StartOnDemandAuditTaskRequest }
StartOnDemandAuditTaskRequest is a API request type for the StartOnDemandAuditTask API operation.
func (StartOnDemandAuditTaskRequest) Send ¶ added in v0.5.0
func (r StartOnDemandAuditTaskRequest) Send(ctx context.Context) (*StartOnDemandAuditTaskOutput, error)
Send marshals and sends the StartOnDemandAuditTask API request.
type StartSigningJobParameter ¶ added in v0.5.0
type StartSigningJobParameter struct { // The location to write the code-signed file. Destination *Destination `locationName:"destination" type:"structure"` // The code-signing profile name. SigningProfileName *string `locationName:"signingProfileName" type:"string"` // Describes the code-signing profile. SigningProfileParameter *SigningProfileParameter `locationName:"signingProfileParameter" type:"structure"` // contains filtered or unexported fields }
Information required to start a signing job.
func (StartSigningJobParameter) GoString ¶ added in v0.5.0
func (s StartSigningJobParameter) GoString() string
GoString returns the string representation
func (StartSigningJobParameter) MarshalFields ¶ added in v0.5.0
func (s StartSigningJobParameter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartSigningJobParameter) String ¶ added in v0.5.0
func (s StartSigningJobParameter) String() string
String returns the string representation
func (*StartSigningJobParameter) Validate ¶ added in v0.5.0
func (s *StartSigningJobParameter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartThingRegistrationTaskInput ¶ added in v0.2.0
type StartThingRegistrationTaskInput struct { // The S3 bucket that contains the input file. // // InputFileBucket is a required field InputFileBucket *string `locationName:"inputFileBucket" min:"3" type:"string" required:"true"` // The name of input file within the S3 bucket. This file contains a newline // delimited JSON file. Each line contains the parameter values to provision // one device (thing). // // InputFileKey is a required field InputFileKey *string `locationName:"inputFileKey" min:"1" type:"string" required:"true"` // The IAM role ARN that grants permission the input file. // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"` // The provisioning template. // // TemplateBody is a required field TemplateBody *string `locationName:"templateBody" type:"string" required:"true"` // contains filtered or unexported fields }
func (StartThingRegistrationTaskInput) GoString ¶ added in v0.2.0
func (s StartThingRegistrationTaskInput) GoString() string
GoString returns the string representation
func (StartThingRegistrationTaskInput) MarshalFields ¶ added in v0.3.0
func (s StartThingRegistrationTaskInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartThingRegistrationTaskInput) String ¶ added in v0.2.0
func (s StartThingRegistrationTaskInput) String() string
String returns the string representation
func (*StartThingRegistrationTaskInput) Validate ¶ added in v0.2.0
func (s *StartThingRegistrationTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartThingRegistrationTaskOutput ¶ added in v0.2.0
type StartThingRegistrationTaskOutput struct { // The bulk thing provisioning task ID. TaskId *string `locationName:"taskId" type:"string"` // contains filtered or unexported fields }
func (StartThingRegistrationTaskOutput) GoString ¶ added in v0.2.0
func (s StartThingRegistrationTaskOutput) GoString() string
GoString returns the string representation
func (StartThingRegistrationTaskOutput) MarshalFields ¶ added in v0.3.0
func (s StartThingRegistrationTaskOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StartThingRegistrationTaskOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s StartThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StartThingRegistrationTaskOutput) String ¶ added in v0.2.0
func (s StartThingRegistrationTaskOutput) String() string
String returns the string representation
type StartThingRegistrationTaskRequest ¶ added in v0.2.0
type StartThingRegistrationTaskRequest struct { *aws.Request Input *StartThingRegistrationTaskInput Copy func(*StartThingRegistrationTaskInput) StartThingRegistrationTaskRequest }
StartThingRegistrationTaskRequest is a API request type for the StartThingRegistrationTask API operation.
func (StartThingRegistrationTaskRequest) Send ¶ added in v0.2.0
func (r StartThingRegistrationTaskRequest) Send(ctx context.Context) (*StartThingRegistrationTaskOutput, error)
Send marshals and sends the StartThingRegistrationTask API request.
type StatisticalThreshold ¶ added in v0.8.0
type StatisticalThreshold struct { // The percentile which resolves to a threshold value by which compliance with // a behavior is determined. Metrics are collected over the specified period // (durationSeconds) from all reporting devices in your account and statistical // ranks are calculated. Then, the measurements from a device are collected // over the same period. If the accumulated measurements from the device fall // above or below (comparisonOperator) the value associated with the percentile // specified, then the device is considered to be in compliance with the behavior, // otherwise a violation occurs. Statistic *string `locationName:"statistic" type:"string"` // contains filtered or unexported fields }
A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.
func (StatisticalThreshold) GoString ¶ added in v0.8.0
func (s StatisticalThreshold) GoString() string
GoString returns the string representation
func (StatisticalThreshold) MarshalFields ¶ added in v0.8.0
func (s StatisticalThreshold) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StatisticalThreshold) String ¶ added in v0.8.0
func (s StatisticalThreshold) String() string
String returns the string representation
type Statistics ¶ added in v0.8.0
type Statistics struct { // The count of things that match the query. Count *int64 `locationName:"count" type:"integer"` // contains filtered or unexported fields }
A map of key-value pairs for all supported statistics. Currently, only count is supported.
func (Statistics) GoString ¶ added in v0.8.0
func (s Statistics) GoString() string
GoString returns the string representation
func (Statistics) MarshalFields ¶ added in v0.8.0
func (s Statistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Statistics) String ¶ added in v0.8.0
func (s Statistics) String() string
String returns the string representation
type Status ¶ added in v0.2.0
type Status string
const ( StatusInProgress Status = "InProgress" StatusCompleted Status = "Completed" StatusFailed Status = "Failed" StatusCancelled Status = "Cancelled" StatusCancelling Status = "Cancelling" )
Enum values for Status
func (Status) MarshalValue ¶ added in v0.3.0
type StepFunctionsAction ¶ added in v0.5.0
type StepFunctionsAction struct { // (Optional) A name will be given to the state machine execution consisting // of this prefix followed by a UUID. Step Functions automatically creates a // unique name for each state machine execution if one is not provided. ExecutionNamePrefix *string `locationName:"executionNamePrefix" type:"string"` // The ARN of the role that grants IoT permission to start execution of a state // machine ("Action":"states:StartExecution"). // // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The name of the Step Functions state machine whose execution will be started. // // StateMachineName is a required field StateMachineName *string `locationName:"stateMachineName" type:"string" required:"true"` // contains filtered or unexported fields }
Starts execution of a Step Functions state machine.
func (StepFunctionsAction) GoString ¶ added in v0.5.0
func (s StepFunctionsAction) GoString() string
GoString returns the string representation
func (StepFunctionsAction) MarshalFields ¶ added in v0.5.0
func (s StepFunctionsAction) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StepFunctionsAction) String ¶ added in v0.5.0
func (s StepFunctionsAction) String() string
String returns the string representation
func (*StepFunctionsAction) Validate ¶ added in v0.5.0
func (s *StepFunctionsAction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopThingRegistrationTaskInput ¶ added in v0.2.0
type StopThingRegistrationTaskInput struct { // The bulk thing provisioning task ID. // // TaskId is a required field TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` // contains filtered or unexported fields }
func (StopThingRegistrationTaskInput) GoString ¶ added in v0.2.0
func (s StopThingRegistrationTaskInput) GoString() string
GoString returns the string representation
func (StopThingRegistrationTaskInput) MarshalFields ¶ added in v0.3.0
func (s StopThingRegistrationTaskInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StopThingRegistrationTaskInput) String ¶ added in v0.2.0
func (s StopThingRegistrationTaskInput) String() string
String returns the string representation
func (*StopThingRegistrationTaskInput) Validate ¶ added in v0.2.0
func (s *StopThingRegistrationTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopThingRegistrationTaskOutput ¶ added in v0.2.0
type StopThingRegistrationTaskOutput struct {
// contains filtered or unexported fields
}
func (StopThingRegistrationTaskOutput) GoString ¶ added in v0.2.0
func (s StopThingRegistrationTaskOutput) GoString() string
GoString returns the string representation
func (StopThingRegistrationTaskOutput) MarshalFields ¶ added in v0.3.0
func (s StopThingRegistrationTaskOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StopThingRegistrationTaskOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s StopThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StopThingRegistrationTaskOutput) String ¶ added in v0.2.0
func (s StopThingRegistrationTaskOutput) String() string
String returns the string representation
type StopThingRegistrationTaskRequest ¶ added in v0.2.0
type StopThingRegistrationTaskRequest struct { *aws.Request Input *StopThingRegistrationTaskInput Copy func(*StopThingRegistrationTaskInput) StopThingRegistrationTaskRequest }
StopThingRegistrationTaskRequest is a API request type for the StopThingRegistrationTask API operation.
func (StopThingRegistrationTaskRequest) Send ¶ added in v0.2.0
func (r StopThingRegistrationTaskRequest) Send(ctx context.Context) (*StopThingRegistrationTaskOutput, error)
Send marshals and sends the StopThingRegistrationTask API request.
type Stream ¶ added in v0.2.0
type Stream struct { // The ID of a file associated with a stream. FileId *int64 `locationName:"fileId" type:"integer"` // The stream ID. StreamId *string `locationName:"streamId" min:"1" type:"string"` // contains filtered or unexported fields }
Describes a group of files that can be streamed.
func (Stream) MarshalFields ¶ added in v0.3.0
func (s Stream) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type StreamFile ¶ added in v0.2.0
type StreamFile struct { // The file ID. FileId *int64 `locationName:"fileId" type:"integer"` // The location of the file in S3. S3Location *S3Location `locationName:"s3Location" type:"structure"` // contains filtered or unexported fields }
Represents a file to stream.
func (StreamFile) GoString ¶ added in v0.2.0
func (s StreamFile) GoString() string
GoString returns the string representation
func (StreamFile) MarshalFields ¶ added in v0.3.0
func (s StreamFile) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StreamFile) String ¶ added in v0.2.0
func (s StreamFile) String() string
String returns the string representation
func (*StreamFile) Validate ¶ added in v0.2.0
func (s *StreamFile) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StreamInfo ¶ added in v0.2.0
type StreamInfo struct { // The date when the stream was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The description of the stream. Description *string `locationName:"description" type:"string"` // The files to stream. Files []StreamFile `locationName:"files" min:"1" type:"list"` // The date when the stream was last updated. LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"unix"` // An IAM role AWS IoT assumes to access your S3 files. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // The stream ARN. StreamArn *string `locationName:"streamArn" type:"string"` // The stream ID. StreamId *string `locationName:"streamId" min:"1" type:"string"` // The stream version. StreamVersion *int64 `locationName:"streamVersion" type:"integer"` // contains filtered or unexported fields }
Information about a stream.
func (StreamInfo) GoString ¶ added in v0.2.0
func (s StreamInfo) GoString() string
GoString returns the string representation
func (StreamInfo) MarshalFields ¶ added in v0.3.0
func (s StreamInfo) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StreamInfo) String ¶ added in v0.2.0
func (s StreamInfo) String() string
String returns the string representation
type StreamSummary ¶ added in v0.2.0
type StreamSummary struct { // A description of the stream. Description *string `locationName:"description" type:"string"` // The stream ARN. StreamArn *string `locationName:"streamArn" type:"string"` // The stream ID. StreamId *string `locationName:"streamId" min:"1" type:"string"` // The stream version. StreamVersion *int64 `locationName:"streamVersion" type:"integer"` // contains filtered or unexported fields }
A summary of a stream.
func (StreamSummary) GoString ¶ added in v0.2.0
func (s StreamSummary) GoString() string
GoString returns the string representation
func (StreamSummary) MarshalFields ¶ added in v0.3.0
func (s StreamSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (StreamSummary) String ¶ added in v0.2.0
func (s StreamSummary) String() string
String returns the string representation
type Tag ¶ added in v0.6.0
type Tag struct { // The tag's key. Key *string `type:"string"` // The tag's value. Value *string `type:"string"` // contains filtered or unexported fields }
A set of key/value pairs that are used to manage the resource.
func (Tag) MarshalFields ¶ added in v0.6.0
func (s Tag) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
type TagResourceInput ¶ added in v0.6.0
type TagResourceInput struct { // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` // The new or modified tags for the resource. // // Tags is a required field Tags []Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶ added in v0.6.0
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (TagResourceInput) MarshalFields ¶ added in v0.6.0
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶ added in v0.6.0
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶ added in v0.6.0
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v0.6.0
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶ added in v0.6.0
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) MarshalFields ¶ added in v0.6.0
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s TagResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (TagResourceOutput) String ¶ added in v0.6.0
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶ added in v0.6.0
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is a API request type for the TagResource API operation.
func (TagResourceRequest) Send ¶ added in v0.6.0
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceOutput, error)
Send marshals and sends the TagResource API request.
type TargetSelection ¶ added in v0.2.0
type TargetSelection string
const ( TargetSelectionContinuous TargetSelection = "CONTINUOUS" TargetSelectionSnapshot TargetSelection = "SNAPSHOT" )
Enum values for TargetSelection
func (TargetSelection) MarshalValue ¶ added in v0.3.0
func (enum TargetSelection) MarshalValue() (string, error)
func (TargetSelection) MarshalValueBuf ¶ added in v0.3.0
func (enum TargetSelection) MarshalValueBuf(b []byte) ([]byte, error)
type TaskStatistics ¶ added in v0.5.0
type TaskStatistics struct { // The number of checks that did not run because the audit was canceled. CanceledChecks *int64 `locationName:"canceledChecks" type:"integer"` // The number of checks that found compliant resources. CompliantChecks *int64 `locationName:"compliantChecks" type:"integer"` // The number of checks FailedChecks *int64 `locationName:"failedChecks" type:"integer"` // The number of checks in progress. InProgressChecks *int64 `locationName:"inProgressChecks" type:"integer"` // The number of checks that found non-compliant resources. NonCompliantChecks *int64 `locationName:"nonCompliantChecks" type:"integer"` // The number of checks in this audit. TotalChecks *int64 `locationName:"totalChecks" type:"integer"` // The number of checks waiting for data collection. WaitingForDataCollectionChecks *int64 `locationName:"waitingForDataCollectionChecks" type:"integer"` // contains filtered or unexported fields }
Statistics for the checks performed during the audit.
func (TaskStatistics) GoString ¶ added in v0.5.0
func (s TaskStatistics) GoString() string
GoString returns the string representation
func (TaskStatistics) MarshalFields ¶ added in v0.5.0
func (s TaskStatistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TaskStatistics) String ¶ added in v0.5.0
func (s TaskStatistics) String() string
String returns the string representation
type TestAuthorizationInput ¶ added in v0.2.0
type TestAuthorizationInput struct { // A list of authorization info objects. Simulating authorization will create // a response for each authInfo object in the list. // // AuthInfos is a required field AuthInfos []AuthInfo `locationName:"authInfos" min:"1" type:"list" required:"true"` // The MQTT client ID. ClientId *string `location:"querystring" locationName:"clientId" type:"string"` // The Cognito identity pool ID. CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"` // When testing custom authorization, the policies specified here are treated // as if they are attached to the principal being authorized. PolicyNamesToAdd []string `locationName:"policyNamesToAdd" type:"list"` // When testing custom authorization, the policies specified here are treated // as if they are not attached to the principal being authorized. PolicyNamesToSkip []string `locationName:"policyNamesToSkip" type:"list"` // The principal. Principal *string `locationName:"principal" type:"string"` // contains filtered or unexported fields }
func (TestAuthorizationInput) GoString ¶ added in v0.2.0
func (s TestAuthorizationInput) GoString() string
GoString returns the string representation
func (TestAuthorizationInput) MarshalFields ¶ added in v0.3.0
func (s TestAuthorizationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TestAuthorizationInput) String ¶ added in v0.2.0
func (s TestAuthorizationInput) String() string
String returns the string representation
func (*TestAuthorizationInput) Validate ¶ added in v0.2.0
func (s *TestAuthorizationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TestAuthorizationOutput ¶ added in v0.2.0
type TestAuthorizationOutput struct { // The authentication results. AuthResults []AuthResult `locationName:"authResults" type:"list"` // contains filtered or unexported fields }
func (TestAuthorizationOutput) GoString ¶ added in v0.2.0
func (s TestAuthorizationOutput) GoString() string
GoString returns the string representation
func (TestAuthorizationOutput) MarshalFields ¶ added in v0.3.0
func (s TestAuthorizationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TestAuthorizationOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s TestAuthorizationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (TestAuthorizationOutput) String ¶ added in v0.2.0
func (s TestAuthorizationOutput) String() string
String returns the string representation
type TestAuthorizationRequest ¶ added in v0.2.0
type TestAuthorizationRequest struct { *aws.Request Input *TestAuthorizationInput Copy func(*TestAuthorizationInput) TestAuthorizationRequest }
TestAuthorizationRequest is a API request type for the TestAuthorization API operation.
func (TestAuthorizationRequest) Send ¶ added in v0.2.0
func (r TestAuthorizationRequest) Send(ctx context.Context) (*TestAuthorizationOutput, error)
Send marshals and sends the TestAuthorization API request.
type TestInvokeAuthorizerInput ¶ added in v0.2.0
type TestInvokeAuthorizerInput struct { // The custom authorizer name. // // AuthorizerName is a required field AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` // The token returned by your custom authentication service. // // Token is a required field Token *string `locationName:"token" min:"1" type:"string" required:"true"` // The signature made with the token and your custom authentication service's // private key. // // TokenSignature is a required field TokenSignature *string `locationName:"tokenSignature" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (TestInvokeAuthorizerInput) GoString ¶ added in v0.2.0
func (s TestInvokeAuthorizerInput) GoString() string
GoString returns the string representation
func (TestInvokeAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s TestInvokeAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TestInvokeAuthorizerInput) String ¶ added in v0.2.0
func (s TestInvokeAuthorizerInput) String() string
String returns the string representation
func (*TestInvokeAuthorizerInput) Validate ¶ added in v0.2.0
func (s *TestInvokeAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TestInvokeAuthorizerOutput ¶ added in v0.2.0
type TestInvokeAuthorizerOutput struct { // The number of seconds after which the connection is terminated. DisconnectAfterInSeconds *int64 `locationName:"disconnectAfterInSeconds" type:"integer"` // True if the token is authenticated, otherwise false. IsAuthenticated *bool `locationName:"isAuthenticated" type:"boolean"` // IAM policy documents. PolicyDocuments []string `locationName:"policyDocuments" type:"list"` // The principal ID. PrincipalId *string `locationName:"principalId" min:"1" type:"string"` // The number of seconds after which the temporary credentials are refreshed. RefreshAfterInSeconds *int64 `locationName:"refreshAfterInSeconds" type:"integer"` // contains filtered or unexported fields }
func (TestInvokeAuthorizerOutput) GoString ¶ added in v0.2.0
func (s TestInvokeAuthorizerOutput) GoString() string
GoString returns the string representation
func (TestInvokeAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s TestInvokeAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TestInvokeAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s TestInvokeAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (TestInvokeAuthorizerOutput) String ¶ added in v0.2.0
func (s TestInvokeAuthorizerOutput) String() string
String returns the string representation
type TestInvokeAuthorizerRequest ¶ added in v0.2.0
type TestInvokeAuthorizerRequest struct { *aws.Request Input *TestInvokeAuthorizerInput Copy func(*TestInvokeAuthorizerInput) TestInvokeAuthorizerRequest }
TestInvokeAuthorizerRequest is a API request type for the TestInvokeAuthorizer API operation.
func (TestInvokeAuthorizerRequest) Send ¶ added in v0.2.0
func (r TestInvokeAuthorizerRequest) Send(ctx context.Context) (*TestInvokeAuthorizerOutput, error)
Send marshals and sends the TestInvokeAuthorizer API request.
type ThingAttribute ¶
type ThingAttribute struct { // A list of thing attributes which are name-value pairs. Attributes map[string]string `locationName:"attributes" type:"map"` // The thing ARN. ThingArn *string `locationName:"thingArn" type:"string"` // The name of the thing. ThingName *string `locationName:"thingName" min:"1" type:"string"` // The name of the thing type, if the thing has been associated with a type. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // The version of the thing record in the registry. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
The properties of the thing, including thing name, thing type name, and a list of thing attributes.
func (ThingAttribute) GoString ¶
func (s ThingAttribute) GoString() string
GoString returns the string representation
func (ThingAttribute) MarshalFields ¶ added in v0.3.0
func (s ThingAttribute) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingAttribute) String ¶
func (s ThingAttribute) String() string
String returns the string representation
type ThingConnectivity ¶ added in v0.6.0
type ThingConnectivity struct { // True if the thing is connected to the AWS IoT service; false if it is not // connected. Connected *bool `locationName:"connected" type:"boolean"` // The epoch time (in milliseconds) when the thing last connected or disconnected. // If the thing has been disconnected for more than a few weeks, the time value // might be missing. Timestamp *int64 `locationName:"timestamp" type:"long"` // contains filtered or unexported fields }
The connectivity status of the thing.
func (ThingConnectivity) GoString ¶ added in v0.6.0
func (s ThingConnectivity) GoString() string
GoString returns the string representation
func (ThingConnectivity) MarshalFields ¶ added in v0.6.0
func (s ThingConnectivity) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingConnectivity) String ¶ added in v0.6.0
func (s ThingConnectivity) String() string
String returns the string representation
type ThingConnectivityIndexingMode ¶ added in v0.6.0
type ThingConnectivityIndexingMode string
const ( ThingConnectivityIndexingModeOff ThingConnectivityIndexingMode = "OFF" ThingConnectivityIndexingModeStatus ThingConnectivityIndexingMode = "STATUS" )
Enum values for ThingConnectivityIndexingMode
func (ThingConnectivityIndexingMode) MarshalValue ¶ added in v0.6.0
func (enum ThingConnectivityIndexingMode) MarshalValue() (string, error)
func (ThingConnectivityIndexingMode) MarshalValueBuf ¶ added in v0.6.0
func (enum ThingConnectivityIndexingMode) MarshalValueBuf(b []byte) ([]byte, error)
type ThingDocument ¶ added in v0.2.0
type ThingDocument struct { // The attributes. Attributes map[string]string `locationName:"attributes" type:"map"` // Indicates whether the thing is connected to the AWS IoT service. Connectivity *ThingConnectivity `locationName:"connectivity" type:"structure"` // The shadow. Shadow *string `locationName:"shadow" type:"string"` // Thing group names. ThingGroupNames []string `locationName:"thingGroupNames" type:"list"` // The thing ID. ThingId *string `locationName:"thingId" type:"string"` // The thing name. ThingName *string `locationName:"thingName" min:"1" type:"string"` // The thing type name. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // contains filtered or unexported fields }
The thing search index document.
func (ThingDocument) GoString ¶ added in v0.2.0
func (s ThingDocument) GoString() string
GoString returns the string representation
func (ThingDocument) MarshalFields ¶ added in v0.3.0
func (s ThingDocument) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingDocument) String ¶ added in v0.2.0
func (s ThingDocument) String() string
String returns the string representation
type ThingGroupDocument ¶ added in v0.5.0
type ThingGroupDocument struct { // The thing group attributes. Attributes map[string]string `locationName:"attributes" type:"map"` // Parent group names. ParentGroupNames []string `locationName:"parentGroupNames" type:"list"` // The thing group description. ThingGroupDescription *string `locationName:"thingGroupDescription" type:"string"` // The thing group ID. ThingGroupId *string `locationName:"thingGroupId" min:"1" type:"string"` // The thing group name. ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` // contains filtered or unexported fields }
The thing group search index document.
func (ThingGroupDocument) GoString ¶ added in v0.5.0
func (s ThingGroupDocument) GoString() string
GoString returns the string representation
func (ThingGroupDocument) MarshalFields ¶ added in v0.5.0
func (s ThingGroupDocument) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingGroupDocument) String ¶ added in v0.5.0
func (s ThingGroupDocument) String() string
String returns the string representation
type ThingGroupIndexingConfiguration ¶ added in v0.5.0
type ThingGroupIndexingConfiguration struct { // Thing group indexing mode. // // ThingGroupIndexingMode is a required field ThingGroupIndexingMode ThingGroupIndexingMode `locationName:"thingGroupIndexingMode" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Thing group indexing configuration.
func (ThingGroupIndexingConfiguration) GoString ¶ added in v0.5.0
func (s ThingGroupIndexingConfiguration) GoString() string
GoString returns the string representation
func (ThingGroupIndexingConfiguration) MarshalFields ¶ added in v0.5.0
func (s ThingGroupIndexingConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingGroupIndexingConfiguration) String ¶ added in v0.5.0
func (s ThingGroupIndexingConfiguration) String() string
String returns the string representation
func (*ThingGroupIndexingConfiguration) Validate ¶ added in v0.5.0
func (s *ThingGroupIndexingConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ThingGroupIndexingMode ¶ added in v0.5.0
type ThingGroupIndexingMode string
const ( ThingGroupIndexingModeOff ThingGroupIndexingMode = "OFF" ThingGroupIndexingModeOn ThingGroupIndexingMode = "ON" )
Enum values for ThingGroupIndexingMode
func (ThingGroupIndexingMode) MarshalValue ¶ added in v0.5.0
func (enum ThingGroupIndexingMode) MarshalValue() (string, error)
func (ThingGroupIndexingMode) MarshalValueBuf ¶ added in v0.5.0
func (enum ThingGroupIndexingMode) MarshalValueBuf(b []byte) ([]byte, error)
type ThingGroupMetadata ¶ added in v0.2.0
type ThingGroupMetadata struct { // The UNIX timestamp of when the thing group was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The parent thing group name. ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"` // The root parent thing group. RootToParentThingGroups []GroupNameAndArn `locationName:"rootToParentThingGroups" type:"list"` // contains filtered or unexported fields }
Thing group metadata.
func (ThingGroupMetadata) GoString ¶ added in v0.2.0
func (s ThingGroupMetadata) GoString() string
GoString returns the string representation
func (ThingGroupMetadata) MarshalFields ¶ added in v0.3.0
func (s ThingGroupMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingGroupMetadata) String ¶ added in v0.2.0
func (s ThingGroupMetadata) String() string
String returns the string representation
type ThingGroupProperties ¶ added in v0.2.0
type ThingGroupProperties struct { // The thing group attributes in JSON format. AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"` // The thing group description. ThingGroupDescription *string `locationName:"thingGroupDescription" type:"string"` // contains filtered or unexported fields }
Thing group properties.
func (ThingGroupProperties) GoString ¶ added in v0.2.0
func (s ThingGroupProperties) GoString() string
GoString returns the string representation
func (ThingGroupProperties) MarshalFields ¶ added in v0.3.0
func (s ThingGroupProperties) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingGroupProperties) String ¶ added in v0.2.0
func (s ThingGroupProperties) String() string
String returns the string representation
type ThingIndexingConfiguration ¶ added in v0.2.0
type ThingIndexingConfiguration struct { // Thing connectivity indexing mode. Valid values are: // // * STATUS – Your thing index contains connectivity status. To enable thing // connectivity indexing, thingIndexMode must not be set to OFF. // // * OFF - Thing connectivity status indexing is disabled. ThingConnectivityIndexingMode ThingConnectivityIndexingMode `locationName:"thingConnectivityIndexingMode" type:"string" enum:"true"` // Thing indexing mode. Valid values are: // // * REGISTRY – Your thing index contains registry data only. // // * REGISTRY_AND_SHADOW - Your thing index contains registry and shadow // data. // // * OFF - Thing indexing is disabled. // // ThingIndexingMode is a required field ThingIndexingMode ThingIndexingMode `locationName:"thingIndexingMode" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
The thing indexing configuration. For more information, see Managing Thing Indexing (https://docs.aws.amazon.com/iot/latest/developerguide/managing-index.html).
func (ThingIndexingConfiguration) GoString ¶ added in v0.2.0
func (s ThingIndexingConfiguration) GoString() string
GoString returns the string representation
func (ThingIndexingConfiguration) MarshalFields ¶ added in v0.3.0
func (s ThingIndexingConfiguration) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingIndexingConfiguration) String ¶ added in v0.2.0
func (s ThingIndexingConfiguration) String() string
String returns the string representation
func (*ThingIndexingConfiguration) Validate ¶ added in v0.5.0
func (s *ThingIndexingConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ThingIndexingMode ¶ added in v0.2.0
type ThingIndexingMode string
const ( ThingIndexingModeOff ThingIndexingMode = "OFF" ThingIndexingModeRegistry ThingIndexingMode = "REGISTRY" ThingIndexingModeRegistryAndShadow ThingIndexingMode = "REGISTRY_AND_SHADOW" )
Enum values for ThingIndexingMode
func (ThingIndexingMode) MarshalValue ¶ added in v0.3.0
func (enum ThingIndexingMode) MarshalValue() (string, error)
func (ThingIndexingMode) MarshalValueBuf ¶ added in v0.3.0
func (enum ThingIndexingMode) MarshalValueBuf(b []byte) ([]byte, error)
type ThingTypeDefinition ¶
type ThingTypeDefinition struct { // The thing type ARN. ThingTypeArn *string `locationName:"thingTypeArn" type:"string"` // The ThingTypeMetadata contains additional information about the thing type // including: creation date and time, a value indicating whether the thing type // is deprecated, and a date and time when it was deprecated. ThingTypeMetadata *ThingTypeMetadata `locationName:"thingTypeMetadata" type:"structure"` // The name of the thing type. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // The ThingTypeProperties for the thing type. ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` // contains filtered or unexported fields }
The definition of the thing type, including thing type name and description.
func (ThingTypeDefinition) GoString ¶
func (s ThingTypeDefinition) GoString() string
GoString returns the string representation
func (ThingTypeDefinition) MarshalFields ¶ added in v0.3.0
func (s ThingTypeDefinition) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingTypeDefinition) String ¶
func (s ThingTypeDefinition) String() string
String returns the string representation
type ThingTypeMetadata ¶
type ThingTypeMetadata struct { // The date and time when the thing type was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" 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) MarshalFields ¶ added in v0.3.0
func (s ThingTypeMetadata) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingTypeMetadata) String ¶
func (s ThingTypeMetadata) String() string
String returns the string representation
type ThingTypeProperties ¶
type ThingTypeProperties struct { // A list of searchable thing attribute names. SearchableAttributes []string `locationName:"searchableAttributes" type:"list"` // The description of the thing type. ThingTypeDescription *string `locationName:"thingTypeDescription" type:"string"` // contains filtered or unexported fields }
The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.
func (ThingTypeProperties) GoString ¶
func (s ThingTypeProperties) GoString() string
GoString returns the string representation
func (ThingTypeProperties) MarshalFields ¶ added in v0.3.0
func (s ThingTypeProperties) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ThingTypeProperties) String ¶
func (s ThingTypeProperties) String() string
String returns the string representation
type TimeoutConfig ¶ added in v0.6.0
type TimeoutConfig struct { // Specifies the amount of time, in minutes, this device has to finish execution // of this job. The timeout interval can be anywhere between 1 minute and 7 // days (1 to 10080 minutes). The in progress timer can't be updated and will // apply to all job executions for the job. Whenever a job execution remains // in the IN_PROGRESS status for longer than this interval, the job execution // will fail and switch to the terminal TIMED_OUT status. InProgressTimeoutInMinutes *int64 `locationName:"inProgressTimeoutInMinutes" type:"long"` // contains filtered or unexported fields }
Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.
func (TimeoutConfig) GoString ¶ added in v0.6.0
func (s TimeoutConfig) GoString() string
GoString returns the string representation
func (TimeoutConfig) MarshalFields ¶ added in v0.6.0
func (s TimeoutConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TimeoutConfig) String ¶ added in v0.6.0
func (s TimeoutConfig) String() string
String returns the string representation
type TopicRule ¶
type TopicRule struct { // The actions associated with the rule. Actions []Action `locationName:"actions" type:"list"` // The version of the SQL rules engine to use when evaluating the rule. AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"` // The date and time the rule was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"` // The description of the rule. Description *string `locationName:"description" type:"string"` // The action to perform when an error occurs. ErrorAction *Action `locationName:"errorAction" type:"structure"` // Specifies whether the rule is disabled. RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` // The name of the rule. RuleName *string `locationName:"ruleName" min:"1" type:"string"` // The SQL statement used to query the topic. When using a SQL query with multiple // lines, be sure to escape the newline characters. Sql *string `locationName:"sql" type:"string"` // contains filtered or unexported fields }
Describes a rule.
func (TopicRule) MarshalFields ¶ added in v0.3.0
func (s TopicRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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) MarshalFields ¶ added in v0.3.0
func (s TopicRuleListItem) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TopicRuleListItem) String ¶
func (s TopicRuleListItem) String() string
String returns the string representation
type TopicRulePayload ¶
type TopicRulePayload struct { // The actions associated with the rule. // // Actions is a required field Actions []Action `locationName:"actions" type:"list" required:"true"` // The version of the SQL rules engine to use when evaluating the rule. AwsIotSqlVersion *string `locationName:"awsIotSqlVersion" type:"string"` // The description of the rule. Description *string `locationName:"description" type:"string"` // The action to take when an error occurs. ErrorAction *Action `locationName:"errorAction" type:"structure"` // Specifies whether the rule is disabled. RuleDisabled *bool `locationName:"ruleDisabled" type:"boolean"` // The SQL statement used to query the topic. For more information, see AWS // IoT SQL Reference (https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference) // in the AWS IoT Developer Guide. // // Sql is a required field Sql *string `locationName:"sql" type:"string" required:"true"` // contains filtered or unexported fields }
Describes a rule.
func (TopicRulePayload) GoString ¶
func (s TopicRulePayload) GoString() string
GoString returns the string representation
func (TopicRulePayload) MarshalFields ¶ added in v0.3.0
func (s TopicRulePayload) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TopicRulePayload) String ¶
func (s TopicRulePayload) String() string
String returns the string representation
func (*TopicRulePayload) Validate ¶
func (s *TopicRulePayload) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TransferCertificateInput ¶
type TransferCertificateInput struct { // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // The AWS account. // // TargetAwsAccount is a required field TargetAwsAccount *string `location:"querystring" locationName:"targetAwsAccount" min:"12" type:"string" required:"true"` // The transfer message. TransferMessage *string `locationName:"transferMessage" type:"string"` // contains filtered or unexported fields }
The input for the TransferCertificate operation.
func (TransferCertificateInput) GoString ¶
func (s TransferCertificateInput) GoString() string
GoString returns the string representation
func (TransferCertificateInput) MarshalFields ¶ added in v0.3.0
func (s TransferCertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TransferCertificateInput) String ¶
func (s TransferCertificateInput) String() string
String returns the string representation
func (*TransferCertificateInput) Validate ¶
func (s *TransferCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TransferCertificateOutput ¶
type TransferCertificateOutput struct { // The ARN of the certificate. TransferredCertificateArn *string `locationName:"transferredCertificateArn" type:"string"` // contains filtered or unexported fields }
The output from the TransferCertificate operation.
func (TransferCertificateOutput) GoString ¶
func (s TransferCertificateOutput) GoString() string
GoString returns the string representation
func (TransferCertificateOutput) MarshalFields ¶ added in v0.3.0
func (s TransferCertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TransferCertificateOutput) SDKResponseMetadata ¶
func (s TransferCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (TransferCertificateOutput) String ¶
func (s TransferCertificateOutput) String() string
String returns the string representation
type TransferCertificateRequest ¶
type TransferCertificateRequest struct { *aws.Request Input *TransferCertificateInput Copy func(*TransferCertificateInput) TransferCertificateRequest }
TransferCertificateRequest is a API request type for the TransferCertificate API operation.
func (TransferCertificateRequest) Send ¶
func (r TransferCertificateRequest) Send(ctx context.Context) (*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) MarshalFields ¶ added in v0.3.0
func (s TransferData) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TransferData) String ¶
func (s TransferData) String() string
String returns the string representation
type UntagResourceInput ¶ added in v0.6.0
type UntagResourceInput struct { // The ARN of the resource. // // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` // A list of the keys of the tags to be removed from the resource. // // TagKeys is a required field TagKeys []string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶ added in v0.6.0
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (UntagResourceInput) MarshalFields ¶ added in v0.6.0
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶ added in v0.6.0
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶ added in v0.6.0
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v0.6.0
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶ added in v0.6.0
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) MarshalFields ¶ added in v0.6.0
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s UntagResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UntagResourceOutput) String ¶ added in v0.6.0
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶ added in v0.6.0
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is a API request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶ added in v0.6.0
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceOutput, error)
Send marshals and sends the UntagResource API request.
type UpdateAccountAuditConfigurationInput ¶ added in v0.5.0
type UpdateAccountAuditConfigurationInput struct { // Specifies which audit checks are enabled and disabled for this account. Use // DescribeAccountAuditConfiguration to see the list of all checks including // those that are currently enabled. // // Note that some data collection may begin immediately when certain checks // are enabled. When a check is disabled, any data collected so far in relation // to the check is deleted. // // You cannot disable a check if it is used by any scheduled audit. You must // first delete the check from the scheduled audit or delete the scheduled audit // itself. // // On the first call to UpdateAccountAuditConfiguration this parameter is required // and must specify at least one enabled check. AuditCheckConfigurations map[string]AuditCheckConfiguration `locationName:"auditCheckConfigurations" type:"map"` // Information about the targets to which audit notifications are sent. AuditNotificationTargetConfigurations map[string]AuditNotificationTarget `locationName:"auditNotificationTargetConfigurations" type:"map"` // The ARN of the role that grants permission to AWS IoT to access information // about your devices, policies, certificates and other items as necessary when // performing an audit. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // contains filtered or unexported fields }
func (UpdateAccountAuditConfigurationInput) GoString ¶ added in v0.5.0
func (s UpdateAccountAuditConfigurationInput) GoString() string
GoString returns the string representation
func (UpdateAccountAuditConfigurationInput) MarshalFields ¶ added in v0.5.0
func (s UpdateAccountAuditConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateAccountAuditConfigurationInput) String ¶ added in v0.5.0
func (s UpdateAccountAuditConfigurationInput) String() string
String returns the string representation
func (*UpdateAccountAuditConfigurationInput) Validate ¶ added in v0.5.0
func (s *UpdateAccountAuditConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAccountAuditConfigurationOutput ¶ added in v0.5.0
type UpdateAccountAuditConfigurationOutput struct {
// contains filtered or unexported fields
}
func (UpdateAccountAuditConfigurationOutput) GoString ¶ added in v0.5.0
func (s UpdateAccountAuditConfigurationOutput) GoString() string
GoString returns the string representation
func (UpdateAccountAuditConfigurationOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateAccountAuditConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateAccountAuditConfigurationOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateAccountAuditConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateAccountAuditConfigurationOutput) String ¶ added in v0.5.0
func (s UpdateAccountAuditConfigurationOutput) String() string
String returns the string representation
type UpdateAccountAuditConfigurationRequest ¶ added in v0.5.0
type UpdateAccountAuditConfigurationRequest struct { *aws.Request Input *UpdateAccountAuditConfigurationInput Copy func(*UpdateAccountAuditConfigurationInput) UpdateAccountAuditConfigurationRequest }
UpdateAccountAuditConfigurationRequest is a API request type for the UpdateAccountAuditConfiguration API operation.
func (UpdateAccountAuditConfigurationRequest) Send ¶ added in v0.5.0
func (r UpdateAccountAuditConfigurationRequest) Send(ctx context.Context) (*UpdateAccountAuditConfigurationOutput, error)
Send marshals and sends the UpdateAccountAuditConfiguration API request.
type UpdateAuthorizerInput ¶ added in v0.2.0
type UpdateAuthorizerInput struct { // The ARN of the authorizer's Lambda function. AuthorizerFunctionArn *string `locationName:"authorizerFunctionArn" type:"string"` // The authorizer name. // // AuthorizerName is a required field AuthorizerName *string `location:"uri" locationName:"authorizerName" min:"1" type:"string" required:"true"` // The status of the update authorizer request. Status AuthorizerStatus `locationName:"status" type:"string" enum:"true"` // The key used to extract the token from the HTTP headers. TokenKeyName *string `locationName:"tokenKeyName" min:"1" type:"string"` // The public keys used to verify the token signature. TokenSigningPublicKeys map[string]string `locationName:"tokenSigningPublicKeys" type:"map"` // contains filtered or unexported fields }
func (UpdateAuthorizerInput) GoString ¶ added in v0.2.0
func (s UpdateAuthorizerInput) GoString() string
GoString returns the string representation
func (UpdateAuthorizerInput) MarshalFields ¶ added in v0.3.0
func (s UpdateAuthorizerInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateAuthorizerInput) String ¶ added in v0.2.0
func (s UpdateAuthorizerInput) String() string
String returns the string representation
func (*UpdateAuthorizerInput) Validate ¶ added in v0.2.0
func (s *UpdateAuthorizerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAuthorizerOutput ¶ added in v0.2.0
type UpdateAuthorizerOutput struct { // The authorizer ARN. AuthorizerArn *string `locationName:"authorizerArn" type:"string"` // The authorizer name. AuthorizerName *string `locationName:"authorizerName" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateAuthorizerOutput) GoString ¶ added in v0.2.0
func (s UpdateAuthorizerOutput) GoString() string
GoString returns the string representation
func (UpdateAuthorizerOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateAuthorizerOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateAuthorizerOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s UpdateAuthorizerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateAuthorizerOutput) String ¶ added in v0.2.0
func (s UpdateAuthorizerOutput) String() string
String returns the string representation
type UpdateAuthorizerRequest ¶ added in v0.2.0
type UpdateAuthorizerRequest struct { *aws.Request Input *UpdateAuthorizerInput Copy func(*UpdateAuthorizerInput) UpdateAuthorizerRequest }
UpdateAuthorizerRequest is a API request type for the UpdateAuthorizer API operation.
func (UpdateAuthorizerRequest) Send ¶ added in v0.2.0
func (r UpdateAuthorizerRequest) Send(ctx context.Context) (*UpdateAuthorizerOutput, error)
Send marshals and sends the UpdateAuthorizer API request.
type UpdateBillingGroupInput ¶ added in v0.6.0
type UpdateBillingGroupInput struct { // The name of the billing group. // // BillingGroupName is a required field BillingGroupName *string `location:"uri" locationName:"billingGroupName" min:"1" type:"string" required:"true"` // The properties of the billing group. // // BillingGroupProperties is a required field BillingGroupProperties *BillingGroupProperties `locationName:"billingGroupProperties" type:"structure" required:"true"` // The expected version of the billing group. If the version of the billing // group does not match the expected version specified in the request, the UpdateBillingGroup // request is rejected with a VersionConflictException. ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` // contains filtered or unexported fields }
func (UpdateBillingGroupInput) GoString ¶ added in v0.6.0
func (s UpdateBillingGroupInput) GoString() string
GoString returns the string representation
func (UpdateBillingGroupInput) MarshalFields ¶ added in v0.6.0
func (s UpdateBillingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateBillingGroupInput) String ¶ added in v0.6.0
func (s UpdateBillingGroupInput) String() string
String returns the string representation
func (*UpdateBillingGroupInput) Validate ¶ added in v0.6.0
func (s *UpdateBillingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateBillingGroupOutput ¶ added in v0.6.0
type UpdateBillingGroupOutput struct { // The latest version of the billing group. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
func (UpdateBillingGroupOutput) GoString ¶ added in v0.6.0
func (s UpdateBillingGroupOutput) GoString() string
GoString returns the string representation
func (UpdateBillingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s UpdateBillingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateBillingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s UpdateBillingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateBillingGroupOutput) String ¶ added in v0.6.0
func (s UpdateBillingGroupOutput) String() string
String returns the string representation
type UpdateBillingGroupRequest ¶ added in v0.6.0
type UpdateBillingGroupRequest struct { *aws.Request Input *UpdateBillingGroupInput Copy func(*UpdateBillingGroupInput) UpdateBillingGroupRequest }
UpdateBillingGroupRequest is a API request type for the UpdateBillingGroup API operation.
func (UpdateBillingGroupRequest) Send ¶ added in v0.6.0
func (r UpdateBillingGroupRequest) Send(ctx context.Context) (*UpdateBillingGroupOutput, error)
Send marshals and sends the UpdateBillingGroup API request.
type UpdateCACertificateInput ¶
type UpdateCACertificateInput struct { // The CA certificate identifier. // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` // The new value for the auto registration status. Valid values are: "ENABLE" // or "DISABLE". NewAutoRegistrationStatus AutoRegistrationStatus `location:"querystring" locationName:"newAutoRegistrationStatus" type:"string" enum:"true"` // The updated status of the CA certificate. // // Note: The status value REGISTER_INACTIVE is deprecated and should not be // used. NewStatus CACertificateStatus `location:"querystring" locationName:"newStatus" type:"string" enum:"true"` // Information about the registration configuration. RegistrationConfig *RegistrationConfig `locationName:"registrationConfig" type:"structure"` // If true, remove auto registration. RemoveAutoRegistration *bool `locationName:"removeAutoRegistration" type:"boolean"` // contains filtered or unexported fields }
The input to the UpdateCACertificate operation.
func (UpdateCACertificateInput) GoString ¶
func (s UpdateCACertificateInput) GoString() string
GoString returns the string representation
func (UpdateCACertificateInput) MarshalFields ¶ added in v0.3.0
func (s UpdateCACertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateCACertificateInput) String ¶
func (s UpdateCACertificateInput) String() string
String returns the string representation
func (*UpdateCACertificateInput) Validate ¶
func (s *UpdateCACertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateCACertificateOutput ¶
type UpdateCACertificateOutput struct {
// contains filtered or unexported fields
}
func (UpdateCACertificateOutput) GoString ¶
func (s UpdateCACertificateOutput) GoString() string
GoString returns the string representation
func (UpdateCACertificateOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateCACertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*UpdateCACertificateInput) UpdateCACertificateRequest }
UpdateCACertificateRequest is a API request type for the UpdateCACertificate API operation.
func (UpdateCACertificateRequest) Send ¶
func (r UpdateCACertificateRequest) Send(ctx context.Context) (*UpdateCACertificateOutput, error)
Send marshals and sends the UpdateCACertificate API request.
type UpdateCertificateInput ¶
type UpdateCertificateInput struct { // The ID of the certificate. (The last part of the certificate ARN contains // the certificate ID.) // // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // The new status. // // Note: Setting the status to PENDING_TRANSFER will result in an exception // being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It // is not intended for developer use. // // Note: The status value REGISTER_INACTIVE is deprecated and should not be // used. // // NewStatus is a required field NewStatus CertificateStatus `location:"querystring" locationName:"newStatus" type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
The input for the UpdateCertificate operation.
func (UpdateCertificateInput) GoString ¶
func (s UpdateCertificateInput) GoString() string
GoString returns the string representation
func (UpdateCertificateInput) MarshalFields ¶ added in v0.3.0
func (s UpdateCertificateInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateCertificateInput) String ¶
func (s UpdateCertificateInput) String() string
String returns the string representation
func (*UpdateCertificateInput) Validate ¶
func (s *UpdateCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateCertificateOutput ¶
type UpdateCertificateOutput struct {
// contains filtered or unexported fields
}
func (UpdateCertificateOutput) GoString ¶
func (s UpdateCertificateOutput) GoString() string
GoString returns the string representation
func (UpdateCertificateOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateCertificateOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*UpdateCertificateInput) UpdateCertificateRequest }
UpdateCertificateRequest is a API request type for the UpdateCertificate API operation.
func (UpdateCertificateRequest) Send ¶
func (r UpdateCertificateRequest) Send(ctx context.Context) (*UpdateCertificateOutput, error)
Send marshals and sends the UpdateCertificate API request.
type UpdateDynamicThingGroupInput ¶ added in v0.6.0
type UpdateDynamicThingGroupInput struct { // The expected version of the dynamic thing group to update. ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` // The dynamic thing group index to update. // // Currently one index is supported: 'AWS_Things'. IndexName *string `locationName:"indexName" min:"1" type:"string"` // The dynamic thing group search query string to update. QueryString *string `locationName:"queryString" min:"1" type:"string"` // The dynamic thing group query version to update. // // Currently one query version is supported: "2017-09-30". If not specified, // the query version defaults to this value. QueryVersion *string `locationName:"queryVersion" type:"string"` // The name of the dynamic thing group to update. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // The dynamic thing group properties to update. // // ThingGroupProperties is a required field ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateDynamicThingGroupInput) GoString ¶ added in v0.6.0
func (s UpdateDynamicThingGroupInput) GoString() string
GoString returns the string representation
func (UpdateDynamicThingGroupInput) MarshalFields ¶ added in v0.6.0
func (s UpdateDynamicThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDynamicThingGroupInput) String ¶ added in v0.6.0
func (s UpdateDynamicThingGroupInput) String() string
String returns the string representation
func (*UpdateDynamicThingGroupInput) Validate ¶ added in v0.6.0
func (s *UpdateDynamicThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDynamicThingGroupOutput ¶ added in v0.6.0
type UpdateDynamicThingGroupOutput struct { // The dynamic thing group version. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
func (UpdateDynamicThingGroupOutput) GoString ¶ added in v0.6.0
func (s UpdateDynamicThingGroupOutput) GoString() string
GoString returns the string representation
func (UpdateDynamicThingGroupOutput) MarshalFields ¶ added in v0.6.0
func (s UpdateDynamicThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateDynamicThingGroupOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s UpdateDynamicThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateDynamicThingGroupOutput) String ¶ added in v0.6.0
func (s UpdateDynamicThingGroupOutput) String() string
String returns the string representation
type UpdateDynamicThingGroupRequest ¶ added in v0.6.0
type UpdateDynamicThingGroupRequest struct { *aws.Request Input *UpdateDynamicThingGroupInput Copy func(*UpdateDynamicThingGroupInput) UpdateDynamicThingGroupRequest }
UpdateDynamicThingGroupRequest is a API request type for the UpdateDynamicThingGroup API operation.
func (UpdateDynamicThingGroupRequest) Send ¶ added in v0.6.0
func (r UpdateDynamicThingGroupRequest) Send(ctx context.Context) (*UpdateDynamicThingGroupOutput, error)
Send marshals and sends the UpdateDynamicThingGroup API request.
type UpdateEventConfigurationsInput ¶ added in v0.2.0
type UpdateEventConfigurationsInput struct { // The new event configuration values. EventConfigurations map[string]Configuration `locationName:"eventConfigurations" type:"map"` // contains filtered or unexported fields }
func (UpdateEventConfigurationsInput) GoString ¶ added in v0.2.0
func (s UpdateEventConfigurationsInput) GoString() string
GoString returns the string representation
func (UpdateEventConfigurationsInput) MarshalFields ¶ added in v0.3.0
func (s UpdateEventConfigurationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateEventConfigurationsInput) String ¶ added in v0.2.0
func (s UpdateEventConfigurationsInput) String() string
String returns the string representation
type UpdateEventConfigurationsOutput ¶ added in v0.2.0
type UpdateEventConfigurationsOutput struct {
// contains filtered or unexported fields
}
func (UpdateEventConfigurationsOutput) GoString ¶ added in v0.2.0
func (s UpdateEventConfigurationsOutput) GoString() string
GoString returns the string representation
func (UpdateEventConfigurationsOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateEventConfigurationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateEventConfigurationsOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s UpdateEventConfigurationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateEventConfigurationsOutput) String ¶ added in v0.2.0
func (s UpdateEventConfigurationsOutput) String() string
String returns the string representation
type UpdateEventConfigurationsRequest ¶ added in v0.2.0
type UpdateEventConfigurationsRequest struct { *aws.Request Input *UpdateEventConfigurationsInput Copy func(*UpdateEventConfigurationsInput) UpdateEventConfigurationsRequest }
UpdateEventConfigurationsRequest is a API request type for the UpdateEventConfigurations API operation.
func (UpdateEventConfigurationsRequest) Send ¶ added in v0.2.0
func (r UpdateEventConfigurationsRequest) Send(ctx context.Context) (*UpdateEventConfigurationsOutput, error)
Send marshals and sends the UpdateEventConfigurations API request.
type UpdateIndexingConfigurationInput ¶ added in v0.2.0
type UpdateIndexingConfigurationInput struct { // Thing group indexing configuration. ThingGroupIndexingConfiguration *ThingGroupIndexingConfiguration `locationName:"thingGroupIndexingConfiguration" type:"structure"` // Thing indexing configuration. ThingIndexingConfiguration *ThingIndexingConfiguration `locationName:"thingIndexingConfiguration" type:"structure"` // contains filtered or unexported fields }
func (UpdateIndexingConfigurationInput) GoString ¶ added in v0.2.0
func (s UpdateIndexingConfigurationInput) GoString() string
GoString returns the string representation
func (UpdateIndexingConfigurationInput) MarshalFields ¶ added in v0.3.0
func (s UpdateIndexingConfigurationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateIndexingConfigurationInput) String ¶ added in v0.2.0
func (s UpdateIndexingConfigurationInput) String() string
String returns the string representation
func (*UpdateIndexingConfigurationInput) Validate ¶ added in v0.5.0
func (s *UpdateIndexingConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateIndexingConfigurationOutput ¶ added in v0.2.0
type UpdateIndexingConfigurationOutput struct {
// contains filtered or unexported fields
}
func (UpdateIndexingConfigurationOutput) GoString ¶ added in v0.2.0
func (s UpdateIndexingConfigurationOutput) GoString() string
GoString returns the string representation
func (UpdateIndexingConfigurationOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateIndexingConfigurationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateIndexingConfigurationOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s UpdateIndexingConfigurationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateIndexingConfigurationOutput) String ¶ added in v0.2.0
func (s UpdateIndexingConfigurationOutput) String() string
String returns the string representation
type UpdateIndexingConfigurationRequest ¶ added in v0.2.0
type UpdateIndexingConfigurationRequest struct { *aws.Request Input *UpdateIndexingConfigurationInput Copy func(*UpdateIndexingConfigurationInput) UpdateIndexingConfigurationRequest }
UpdateIndexingConfigurationRequest is a API request type for the UpdateIndexingConfiguration API operation.
func (UpdateIndexingConfigurationRequest) Send ¶ added in v0.2.0
func (r UpdateIndexingConfigurationRequest) Send(ctx context.Context) (*UpdateIndexingConfigurationOutput, error)
Send marshals and sends the UpdateIndexingConfiguration API request.
type UpdateJobInput ¶ added in v0.6.0
type UpdateJobInput struct { // Allows you to create criteria to abort a job. AbortConfig *AbortConfig `locationName:"abortConfig" type:"structure"` // A short text description of the job. Description *string `locationName:"description" type:"string"` // Allows you to create a staged rollout of the job. JobExecutionsRolloutConfig *JobExecutionsRolloutConfig `locationName:"jobExecutionsRolloutConfig" type:"structure"` // The ID of the job to be updated. // // JobId is a required field JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"` // Configuration information for pre-signed S3 URLs. PresignedUrlConfig *PresignedUrlConfig `locationName:"presignedUrlConfig" type:"structure"` // Specifies the amount of time each device has to finish its execution of the // job. The timer is started when the job execution status is set to IN_PROGRESS. // If the job execution status is not set to another terminal state before the // time expires, it will be automatically set to TIMED_OUT. TimeoutConfig *TimeoutConfig `locationName:"timeoutConfig" type:"structure"` // contains filtered or unexported fields }
func (UpdateJobInput) GoString ¶ added in v0.6.0
func (s UpdateJobInput) GoString() string
GoString returns the string representation
func (UpdateJobInput) MarshalFields ¶ added in v0.6.0
func (s UpdateJobInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateJobInput) String ¶ added in v0.6.0
func (s UpdateJobInput) String() string
String returns the string representation
func (*UpdateJobInput) Validate ¶ added in v0.6.0
func (s *UpdateJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateJobOutput ¶ added in v0.6.0
type UpdateJobOutput struct {
// contains filtered or unexported fields
}
func (UpdateJobOutput) GoString ¶ added in v0.6.0
func (s UpdateJobOutput) GoString() string
GoString returns the string representation
func (UpdateJobOutput) MarshalFields ¶ added in v0.6.0
func (s UpdateJobOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateJobOutput) SDKResponseMetadata ¶ added in v0.6.0
func (s UpdateJobOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateJobOutput) String ¶ added in v0.6.0
func (s UpdateJobOutput) String() string
String returns the string representation
type UpdateJobRequest ¶ added in v0.6.0
type UpdateJobRequest struct { *aws.Request Input *UpdateJobInput Copy func(*UpdateJobInput) UpdateJobRequest }
UpdateJobRequest is a API request type for the UpdateJob API operation.
func (UpdateJobRequest) Send ¶ added in v0.6.0
func (r UpdateJobRequest) Send(ctx context.Context) (*UpdateJobOutput, error)
Send marshals and sends the UpdateJob API request.
type UpdateRoleAliasInput ¶ added in v0.2.0
type UpdateRoleAliasInput struct { // The number of seconds the credential will be valid. CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` // The role alias to update. // // RoleAlias is a required field RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` // The role ARN. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // contains filtered or unexported fields }
func (UpdateRoleAliasInput) GoString ¶ added in v0.2.0
func (s UpdateRoleAliasInput) GoString() string
GoString returns the string representation
func (UpdateRoleAliasInput) MarshalFields ¶ added in v0.3.0
func (s UpdateRoleAliasInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRoleAliasInput) String ¶ added in v0.2.0
func (s UpdateRoleAliasInput) String() string
String returns the string representation
func (*UpdateRoleAliasInput) Validate ¶ added in v0.2.0
func (s *UpdateRoleAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateRoleAliasOutput ¶ added in v0.2.0
type UpdateRoleAliasOutput struct { // The role alias. RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"` // The role alias ARN. RoleAliasArn *string `locationName:"roleAliasArn" type:"string"` // contains filtered or unexported fields }
func (UpdateRoleAliasOutput) GoString ¶ added in v0.2.0
func (s UpdateRoleAliasOutput) GoString() string
GoString returns the string representation
func (UpdateRoleAliasOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateRoleAliasOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateRoleAliasOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s UpdateRoleAliasOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateRoleAliasOutput) String ¶ added in v0.2.0
func (s UpdateRoleAliasOutput) String() string
String returns the string representation
type UpdateRoleAliasRequest ¶ added in v0.2.0
type UpdateRoleAliasRequest struct { *aws.Request Input *UpdateRoleAliasInput Copy func(*UpdateRoleAliasInput) UpdateRoleAliasRequest }
UpdateRoleAliasRequest is a API request type for the UpdateRoleAlias API operation.
func (UpdateRoleAliasRequest) Send ¶ added in v0.2.0
func (r UpdateRoleAliasRequest) Send(ctx context.Context) (*UpdateRoleAliasOutput, error)
Send marshals and sends the UpdateRoleAlias API request.
type UpdateScheduledAuditInput ¶ added in v0.5.0
type UpdateScheduledAuditInput struct { // The day of the month on which the scheduled audit takes place. Can be "1" // through "31" or "LAST". This field is required if the "frequency" parameter // is set to "MONTHLY". If days 29-31 are specified, and the month does not // have that many days, the audit takes place on the "LAST" day of the month. DayOfMonth *string `locationName:"dayOfMonth" type:"string"` // The day of the week on which the scheduled audit takes place. Can be one // of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required // if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY". DayOfWeek DayOfWeek `locationName:"dayOfWeek" type:"string" enum:"true"` // How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", // "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined // by the system. Frequency AuditFrequency `locationName:"frequency" type:"string" enum:"true"` // The name of the scheduled audit. (Max. 128 chars) // // ScheduledAuditName is a required field ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"` // Which checks are performed during the scheduled audit. Checks must be enabled // for your account. (Use DescribeAccountAuditConfiguration to see the list // of all checks including those that are enabled or UpdateAccountAuditConfiguration // to select which checks are enabled.) TargetCheckNames []string `locationName:"targetCheckNames" type:"list"` // contains filtered or unexported fields }
func (UpdateScheduledAuditInput) GoString ¶ added in v0.5.0
func (s UpdateScheduledAuditInput) GoString() string
GoString returns the string representation
func (UpdateScheduledAuditInput) MarshalFields ¶ added in v0.5.0
func (s UpdateScheduledAuditInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateScheduledAuditInput) String ¶ added in v0.5.0
func (s UpdateScheduledAuditInput) String() string
String returns the string representation
func (*UpdateScheduledAuditInput) Validate ¶ added in v0.5.0
func (s *UpdateScheduledAuditInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateScheduledAuditOutput ¶ added in v0.5.0
type UpdateScheduledAuditOutput struct { // The ARN of the scheduled audit. ScheduledAuditArn *string `locationName:"scheduledAuditArn" type:"string"` // contains filtered or unexported fields }
func (UpdateScheduledAuditOutput) GoString ¶ added in v0.5.0
func (s UpdateScheduledAuditOutput) GoString() string
GoString returns the string representation
func (UpdateScheduledAuditOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateScheduledAuditOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateScheduledAuditOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateScheduledAuditOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateScheduledAuditOutput) String ¶ added in v0.5.0
func (s UpdateScheduledAuditOutput) String() string
String returns the string representation
type UpdateScheduledAuditRequest ¶ added in v0.5.0
type UpdateScheduledAuditRequest struct { *aws.Request Input *UpdateScheduledAuditInput Copy func(*UpdateScheduledAuditInput) UpdateScheduledAuditRequest }
UpdateScheduledAuditRequest is a API request type for the UpdateScheduledAudit API operation.
func (UpdateScheduledAuditRequest) Send ¶ added in v0.5.0
func (r UpdateScheduledAuditRequest) Send(ctx context.Context) (*UpdateScheduledAuditOutput, error)
Send marshals and sends the UpdateScheduledAudit API request.
type UpdateSecurityProfileInput ¶ added in v0.5.0
type UpdateSecurityProfileInput struct { // A list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the profile's behaviors but it is also retained for // any metric specified here. AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"` // Where the alerts are sent. (Alerts are always sent to the console.) AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"` // Specifies the behaviors that, when violated by a device (thing), cause an // alert. Behaviors []Behavior `locationName:"behaviors" type:"list"` // If true, delete all additionalMetricsToRetain defined for this security profile. // If any additionalMetricsToRetain are defined in the current invocation an // exception occurs. DeleteAdditionalMetricsToRetain *bool `locationName:"deleteAdditionalMetricsToRetain" type:"boolean"` // If true, delete all alertTargets defined for this security profile. If any // alertTargets are defined in the current invocation an exception occurs. DeleteAlertTargets *bool `locationName:"deleteAlertTargets" type:"boolean"` // If true, delete all behaviors defined for this security profile. If any behaviors // are defined in the current invocation an exception occurs. DeleteBehaviors *bool `locationName:"deleteBehaviors" type:"boolean"` // The expected version of the security profile. A new version is generated // whenever the security profile is updated. If you specify a value that is // different than the actual version, a VersionConflictException is thrown. ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` // A description of the security profile. SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"` // The name of the security profile you want to update. // // SecurityProfileName is a required field SecurityProfileName *string `location:"uri" locationName:"securityProfileName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateSecurityProfileInput) GoString ¶ added in v0.5.0
func (s UpdateSecurityProfileInput) GoString() string
GoString returns the string representation
func (UpdateSecurityProfileInput) MarshalFields ¶ added in v0.5.0
func (s UpdateSecurityProfileInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSecurityProfileInput) String ¶ added in v0.5.0
func (s UpdateSecurityProfileInput) String() string
String returns the string representation
func (*UpdateSecurityProfileInput) Validate ¶ added in v0.5.0
func (s *UpdateSecurityProfileInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSecurityProfileOutput ¶ added in v0.5.0
type UpdateSecurityProfileOutput struct { // A list of metrics whose data is retained (stored). By default, data is retained // for any metric used in the security profile's behaviors but it is also retained // for any metric specified here. AdditionalMetricsToRetain []string `locationName:"additionalMetricsToRetain" type:"list"` // Where the alerts are sent. (Alerts are always sent to the console.) AlertTargets map[string]AlertTarget `locationName:"alertTargets" type:"map"` // Specifies the behaviors that, when violated by a device (thing), cause an // alert. Behaviors []Behavior `locationName:"behaviors" type:"list"` // The time the security profile was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix"` // The time the security profile was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp" timestampFormat:"unix"` // The ARN of the security profile that was updated. SecurityProfileArn *string `locationName:"securityProfileArn" type:"string"` // The description of the security profile. SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"` // The name of the security profile that was updated. SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"` // The updated version of the security profile. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
func (UpdateSecurityProfileOutput) GoString ¶ added in v0.5.0
func (s UpdateSecurityProfileOutput) GoString() string
GoString returns the string representation
func (UpdateSecurityProfileOutput) MarshalFields ¶ added in v0.5.0
func (s UpdateSecurityProfileOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSecurityProfileOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s UpdateSecurityProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateSecurityProfileOutput) String ¶ added in v0.5.0
func (s UpdateSecurityProfileOutput) String() string
String returns the string representation
type UpdateSecurityProfileRequest ¶ added in v0.5.0
type UpdateSecurityProfileRequest struct { *aws.Request Input *UpdateSecurityProfileInput Copy func(*UpdateSecurityProfileInput) UpdateSecurityProfileRequest }
UpdateSecurityProfileRequest is a API request type for the UpdateSecurityProfile API operation.
func (UpdateSecurityProfileRequest) Send ¶ added in v0.5.0
func (r UpdateSecurityProfileRequest) Send(ctx context.Context) (*UpdateSecurityProfileOutput, error)
Send marshals and sends the UpdateSecurityProfile API request.
type UpdateStreamInput ¶ added in v0.2.0
type UpdateStreamInput struct { // The description of the stream. Description *string `locationName:"description" type:"string"` // The files associated with the stream. Files []StreamFile `locationName:"files" min:"1" type:"list"` // An IAM role that allows the IoT service principal assumes to access your // S3 files. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // The stream ID. // // StreamId is a required field StreamId *string `location:"uri" locationName:"streamId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateStreamInput) GoString ¶ added in v0.2.0
func (s UpdateStreamInput) GoString() string
GoString returns the string representation
func (UpdateStreamInput) MarshalFields ¶ added in v0.3.0
func (s UpdateStreamInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateStreamInput) String ¶ added in v0.2.0
func (s UpdateStreamInput) String() string
String returns the string representation
func (*UpdateStreamInput) Validate ¶ added in v0.2.0
func (s *UpdateStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateStreamOutput ¶ added in v0.2.0
type UpdateStreamOutput struct { // A description of the stream. Description *string `locationName:"description" type:"string"` // The stream ARN. StreamArn *string `locationName:"streamArn" type:"string"` // The stream ID. StreamId *string `locationName:"streamId" min:"1" type:"string"` // The stream version. StreamVersion *int64 `locationName:"streamVersion" type:"integer"` // contains filtered or unexported fields }
func (UpdateStreamOutput) GoString ¶ added in v0.2.0
func (s UpdateStreamOutput) GoString() string
GoString returns the string representation
func (UpdateStreamOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateStreamOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateStreamOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s UpdateStreamOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateStreamOutput) String ¶ added in v0.2.0
func (s UpdateStreamOutput) String() string
String returns the string representation
type UpdateStreamRequest ¶ added in v0.2.0
type UpdateStreamRequest struct { *aws.Request Input *UpdateStreamInput Copy func(*UpdateStreamInput) UpdateStreamRequest }
UpdateStreamRequest is a API request type for the UpdateStream API operation.
func (UpdateStreamRequest) Send ¶ added in v0.2.0
func (r UpdateStreamRequest) Send(ctx context.Context) (*UpdateStreamOutput, error)
Send marshals and sends the UpdateStream API request.
type UpdateThingGroupInput ¶ added in v0.2.0
type UpdateThingGroupInput struct { // The expected version of the thing group. If this does not match the version // of the thing group being updated, the update will fail. ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` // The thing group to update. // // ThingGroupName is a required field ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` // The thing group properties. // // ThingGroupProperties is a required field ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateThingGroupInput) GoString ¶ added in v0.2.0
func (s UpdateThingGroupInput) GoString() string
GoString returns the string representation
func (UpdateThingGroupInput) MarshalFields ¶ added in v0.3.0
func (s UpdateThingGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateThingGroupInput) String ¶ added in v0.2.0
func (s UpdateThingGroupInput) String() string
String returns the string representation
func (*UpdateThingGroupInput) Validate ¶ added in v0.2.0
func (s *UpdateThingGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateThingGroupOutput ¶ added in v0.2.0
type UpdateThingGroupOutput struct { // The version of the updated thing group. Version *int64 `locationName:"version" type:"long"` // contains filtered or unexported fields }
func (UpdateThingGroupOutput) GoString ¶ added in v0.2.0
func (s UpdateThingGroupOutput) GoString() string
GoString returns the string representation
func (UpdateThingGroupOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateThingGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateThingGroupOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s UpdateThingGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateThingGroupOutput) String ¶ added in v0.2.0
func (s UpdateThingGroupOutput) String() string
String returns the string representation
type UpdateThingGroupRequest ¶ added in v0.2.0
type UpdateThingGroupRequest struct { *aws.Request Input *UpdateThingGroupInput Copy func(*UpdateThingGroupInput) UpdateThingGroupRequest }
UpdateThingGroupRequest is a API request type for the UpdateThingGroup API operation.
func (UpdateThingGroupRequest) Send ¶ added in v0.2.0
func (r UpdateThingGroupRequest) Send(ctx context.Context) (*UpdateThingGroupOutput, error)
Send marshals and sends the UpdateThingGroup API request.
type UpdateThingGroupsForThingInput ¶ added in v0.2.0
type UpdateThingGroupsForThingInput struct { // Override dynamic thing groups with static thing groups when 10-group limit // is reached. If a thing belongs to 10 thing groups, and one or more of those // groups are dynamic thing groups, adding a thing to a static group removes // the thing from the last dynamic group. OverrideDynamicGroups *bool `locationName:"overrideDynamicGroups" type:"boolean"` // The groups to which the thing will be added. ThingGroupsToAdd []string `locationName:"thingGroupsToAdd" type:"list"` // The groups from which the thing will be removed. ThingGroupsToRemove []string `locationName:"thingGroupsToRemove" type:"list"` // The thing whose group memberships will be updated. ThingName *string `locationName:"thingName" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateThingGroupsForThingInput) GoString ¶ added in v0.2.0
func (s UpdateThingGroupsForThingInput) GoString() string
GoString returns the string representation
func (UpdateThingGroupsForThingInput) MarshalFields ¶ added in v0.3.0
func (s UpdateThingGroupsForThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateThingGroupsForThingInput) String ¶ added in v0.2.0
func (s UpdateThingGroupsForThingInput) String() string
String returns the string representation
func (*UpdateThingGroupsForThingInput) Validate ¶ added in v0.2.0
func (s *UpdateThingGroupsForThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateThingGroupsForThingOutput ¶ added in v0.2.0
type UpdateThingGroupsForThingOutput struct {
// contains filtered or unexported fields
}
func (UpdateThingGroupsForThingOutput) GoString ¶ added in v0.2.0
func (s UpdateThingGroupsForThingOutput) GoString() string
GoString returns the string representation
func (UpdateThingGroupsForThingOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateThingGroupsForThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateThingGroupsForThingOutput) SDKResponseMetadata ¶ added in v0.2.0
func (s UpdateThingGroupsForThingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateThingGroupsForThingOutput) String ¶ added in v0.2.0
func (s UpdateThingGroupsForThingOutput) String() string
String returns the string representation
type UpdateThingGroupsForThingRequest ¶ added in v0.2.0
type UpdateThingGroupsForThingRequest struct { *aws.Request Input *UpdateThingGroupsForThingInput Copy func(*UpdateThingGroupsForThingInput) UpdateThingGroupsForThingRequest }
UpdateThingGroupsForThingRequest is a API request type for the UpdateThingGroupsForThing API operation.
func (UpdateThingGroupsForThingRequest) Send ¶ added in v0.2.0
func (r UpdateThingGroupsForThingRequest) Send(ctx context.Context) (*UpdateThingGroupsForThingOutput, error)
Send marshals and sends the UpdateThingGroupsForThing API request.
type UpdateThingInput ¶
type UpdateThingInput struct { // A list of thing attributes, a JSON string containing name-value pairs. For // example: // // {\"attributes\":{\"name1\":\"value2\"}} // // This data is used to add new attributes or update existing attributes. AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"` // The expected version of the thing record in the registry. If the version // of the record in the registry does not match the expected version specified // in the request, the UpdateThing request is rejected with a VersionConflictException. ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` // Remove a thing type association. If true, the association is removed. RemoveThingType *bool `locationName:"removeThingType" type:"boolean"` // The name of the thing to update. // // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // The name of the thing type. ThingTypeName *string `locationName:"thingTypeName" min:"1" type:"string"` // contains filtered or unexported fields }
The input for the UpdateThing operation.
func (UpdateThingInput) GoString ¶
func (s UpdateThingInput) GoString() string
GoString returns the string representation
func (UpdateThingInput) MarshalFields ¶ added in v0.3.0
func (s UpdateThingInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateThingInput) String ¶
func (s UpdateThingInput) String() string
String returns the string representation
func (*UpdateThingInput) Validate ¶
func (s *UpdateThingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateThingOutput ¶
type UpdateThingOutput struct {
// contains filtered or unexported fields
}
The output from the UpdateThing operation.
func (UpdateThingOutput) GoString ¶
func (s UpdateThingOutput) GoString() string
GoString returns the string representation
func (UpdateThingOutput) MarshalFields ¶ added in v0.3.0
func (s UpdateThingOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
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 Copy func(*UpdateThingInput) UpdateThingRequest }
UpdateThingRequest is a API request type for the UpdateThing API operation.
func (UpdateThingRequest) Send ¶
func (r UpdateThingRequest) Send(ctx context.Context) (*UpdateThingOutput, error)
Send marshals and sends the UpdateThing API request.
type ValidateSecurityProfileBehaviorsInput ¶ added in v0.5.0
type ValidateSecurityProfileBehaviorsInput struct { // Specifies the behaviors that, when violated by a device (thing), cause an // alert. // // Behaviors is a required field Behaviors []Behavior `locationName:"behaviors" type:"list" required:"true"` // contains filtered or unexported fields }
func (ValidateSecurityProfileBehaviorsInput) GoString ¶ added in v0.5.0
func (s ValidateSecurityProfileBehaviorsInput) GoString() string
GoString returns the string representation
func (ValidateSecurityProfileBehaviorsInput) MarshalFields ¶ added in v0.5.0
func (s ValidateSecurityProfileBehaviorsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ValidateSecurityProfileBehaviorsInput) String ¶ added in v0.5.0
func (s ValidateSecurityProfileBehaviorsInput) String() string
String returns the string representation
func (*ValidateSecurityProfileBehaviorsInput) Validate ¶ added in v0.5.0
func (s *ValidateSecurityProfileBehaviorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ValidateSecurityProfileBehaviorsOutput ¶ added in v0.5.0
type ValidateSecurityProfileBehaviorsOutput struct { // True if the behaviors were valid. Valid *bool `locationName:"valid" type:"boolean"` // The list of any errors found in the behaviors. ValidationErrors []ValidationError `locationName:"validationErrors" type:"list"` // contains filtered or unexported fields }
func (ValidateSecurityProfileBehaviorsOutput) GoString ¶ added in v0.5.0
func (s ValidateSecurityProfileBehaviorsOutput) GoString() string
GoString returns the string representation
func (ValidateSecurityProfileBehaviorsOutput) MarshalFields ¶ added in v0.5.0
func (s ValidateSecurityProfileBehaviorsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ValidateSecurityProfileBehaviorsOutput) SDKResponseMetadata ¶ added in v0.5.0
func (s ValidateSecurityProfileBehaviorsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ValidateSecurityProfileBehaviorsOutput) String ¶ added in v0.5.0
func (s ValidateSecurityProfileBehaviorsOutput) String() string
String returns the string representation
type ValidateSecurityProfileBehaviorsRequest ¶ added in v0.5.0
type ValidateSecurityProfileBehaviorsRequest struct { *aws.Request Input *ValidateSecurityProfileBehaviorsInput Copy func(*ValidateSecurityProfileBehaviorsInput) ValidateSecurityProfileBehaviorsRequest }
ValidateSecurityProfileBehaviorsRequest is a API request type for the ValidateSecurityProfileBehaviors API operation.
func (ValidateSecurityProfileBehaviorsRequest) Send ¶ added in v0.5.0
func (r ValidateSecurityProfileBehaviorsRequest) Send(ctx context.Context) (*ValidateSecurityProfileBehaviorsOutput, error)
Send marshals and sends the ValidateSecurityProfileBehaviors API request.
type ValidationError ¶ added in v0.5.0
type ValidationError struct { // The description of an error found in the behaviors. ErrorMessage *string `locationName:"errorMessage" type:"string"` // contains filtered or unexported fields }
Information about an error found in a behavior specification.
func (ValidationError) GoString ¶ added in v0.5.0
func (s ValidationError) GoString() string
GoString returns the string representation
func (ValidationError) MarshalFields ¶ added in v0.5.0
func (s ValidationError) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ValidationError) String ¶ added in v0.5.0
func (s ValidationError) String() string
String returns the string representation
type ViolationEvent ¶ added in v0.5.0
type ViolationEvent struct { // The behavior which was violated. Behavior *Behavior `locationName:"behavior" type:"structure"` // The value of the metric (the measurement). MetricValue *MetricValue `locationName:"metricValue" type:"structure"` // The name of the security profile whose behavior was violated. SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"` // The name of the thing responsible for the violation event. ThingName *string `locationName:"thingName" min:"1" type:"string"` // The time the violation event occurred. ViolationEventTime *time.Time `locationName:"violationEventTime" type:"timestamp" timestampFormat:"unix"` // The type of violation event. ViolationEventType ViolationEventType `locationName:"violationEventType" type:"string" enum:"true"` // The ID of the violation event. ViolationId *string `locationName:"violationId" min:"1" type:"string"` // contains filtered or unexported fields }
Information about a Device Defender security profile behavior violation.
func (ViolationEvent) GoString ¶ added in v0.5.0
func (s ViolationEvent) GoString() string
GoString returns the string representation
func (ViolationEvent) MarshalFields ¶ added in v0.5.0
func (s ViolationEvent) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ViolationEvent) String ¶ added in v0.5.0
func (s ViolationEvent) String() string
String returns the string representation
type ViolationEventType ¶ added in v0.5.0
type ViolationEventType string
const ( ViolationEventTypeInAlarm ViolationEventType = "in-alarm" ViolationEventTypeAlarmCleared ViolationEventType = "alarm-cleared" ViolationEventTypeAlarmInvalidated ViolationEventType = "alarm-invalidated" )
Enum values for ViolationEventType
func (ViolationEventType) MarshalValue ¶ added in v0.5.0
func (enum ViolationEventType) MarshalValue() (string, error)
func (ViolationEventType) MarshalValueBuf ¶ added in v0.5.0
func (enum ViolationEventType) MarshalValueBuf(b []byte) ([]byte, error)