aws-sdk-go: github.com/aws/aws-sdk-go/service/iot Index | Files | Directories

package iot

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

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

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

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

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

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

Using the Client

To contact 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

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // ActionTypePublish is a ActionType enum value
    ActionTypePublish = "PUBLISH"

    // ActionTypeSubscribe is a ActionType enum value
    ActionTypeSubscribe = "SUBSCRIBE"

    // ActionTypeReceive is a ActionType enum value
    ActionTypeReceive = "RECEIVE"

    // ActionTypeConnect is a ActionType enum value
    ActionTypeConnect = "CONNECT"
)
const (
    // AuditCheckRunStatusInProgress is a AuditCheckRunStatus enum value
    AuditCheckRunStatusInProgress = "IN_PROGRESS"

    // AuditCheckRunStatusWaitingForDataCollection is a AuditCheckRunStatus enum value
    AuditCheckRunStatusWaitingForDataCollection = "WAITING_FOR_DATA_COLLECTION"

    // AuditCheckRunStatusCanceled is a AuditCheckRunStatus enum value
    AuditCheckRunStatusCanceled = "CANCELED"

    // AuditCheckRunStatusCompletedCompliant is a AuditCheckRunStatus enum value
    AuditCheckRunStatusCompletedCompliant = "COMPLETED_COMPLIANT"

    // AuditCheckRunStatusCompletedNonCompliant is a AuditCheckRunStatus enum value
    AuditCheckRunStatusCompletedNonCompliant = "COMPLETED_NON_COMPLIANT"

    // AuditCheckRunStatusFailed is a AuditCheckRunStatus enum value
    AuditCheckRunStatusFailed = "FAILED"
)
const (
    // AuditFindingSeverityCritical is a AuditFindingSeverity enum value
    AuditFindingSeverityCritical = "CRITICAL"

    // AuditFindingSeverityHigh is a AuditFindingSeverity enum value
    AuditFindingSeverityHigh = "HIGH"

    // AuditFindingSeverityMedium is a AuditFindingSeverity enum value
    AuditFindingSeverityMedium = "MEDIUM"

    // AuditFindingSeverityLow is a AuditFindingSeverity enum value
    AuditFindingSeverityLow = "LOW"
)
const (
    // AuditFrequencyDaily is a AuditFrequency enum value
    AuditFrequencyDaily = "DAILY"

    // AuditFrequencyWeekly is a AuditFrequency enum value
    AuditFrequencyWeekly = "WEEKLY"

    // AuditFrequencyBiweekly is a AuditFrequency enum value
    AuditFrequencyBiweekly = "BIWEEKLY"

    // AuditFrequencyMonthly is a AuditFrequency enum value
    AuditFrequencyMonthly = "MONTHLY"
)
const (
    // AuditTaskStatusInProgress is a AuditTaskStatus enum value
    AuditTaskStatusInProgress = "IN_PROGRESS"

    // AuditTaskStatusCompleted is a AuditTaskStatus enum value
    AuditTaskStatusCompleted = "COMPLETED"

    // AuditTaskStatusFailed is a AuditTaskStatus enum value
    AuditTaskStatusFailed = "FAILED"

    // AuditTaskStatusCanceled is a AuditTaskStatus enum value
    AuditTaskStatusCanceled = "CANCELED"
)
const (
    // AuditTaskTypeOnDemandAuditTask is a AuditTaskType enum value
    AuditTaskTypeOnDemandAuditTask = "ON_DEMAND_AUDIT_TASK"

    // AuditTaskTypeScheduledAuditTask is a AuditTaskType enum value
    AuditTaskTypeScheduledAuditTask = "SCHEDULED_AUDIT_TASK"
)
const (
    // AuthDecisionAllowed is a AuthDecision enum value
    AuthDecisionAllowed = "ALLOWED"

    // AuthDecisionExplicitDeny is a AuthDecision enum value
    AuthDecisionExplicitDeny = "EXPLICIT_DENY"

    // AuthDecisionImplicitDeny is a AuthDecision enum value
    AuthDecisionImplicitDeny = "IMPLICIT_DENY"
)
const (
    // AuthorizerStatusActive is a AuthorizerStatus enum value
    AuthorizerStatusActive = "ACTIVE"

    // AuthorizerStatusInactive is a AuthorizerStatus enum value
    AuthorizerStatusInactive = "INACTIVE"
)
const (
    // AutoRegistrationStatusEnable is a AutoRegistrationStatus enum value
    AutoRegistrationStatusEnable = "ENABLE"

    // AutoRegistrationStatusDisable is a AutoRegistrationStatus enum value
    AutoRegistrationStatusDisable = "DISABLE"
)
const (
    // CACertificateStatusActive is a CACertificateStatus enum value
    CACertificateStatusActive = "ACTIVE"

    // CACertificateStatusInactive is a CACertificateStatus enum value
    CACertificateStatusInactive = "INACTIVE"
)
const (
    // CannedAccessControlListPrivate is a CannedAccessControlList enum value
    CannedAccessControlListPrivate = "private"

    // CannedAccessControlListPublicRead is a CannedAccessControlList enum value
    CannedAccessControlListPublicRead = "public-read"

    // CannedAccessControlListPublicReadWrite is a CannedAccessControlList enum value
    CannedAccessControlListPublicReadWrite = "public-read-write"

    // CannedAccessControlListAwsExecRead is a CannedAccessControlList enum value
    CannedAccessControlListAwsExecRead = "aws-exec-read"

    // CannedAccessControlListAuthenticatedRead is a CannedAccessControlList enum value
    CannedAccessControlListAuthenticatedRead = "authenticated-read"

    // CannedAccessControlListBucketOwnerRead is a CannedAccessControlList enum value
    CannedAccessControlListBucketOwnerRead = "bucket-owner-read"

    // CannedAccessControlListBucketOwnerFullControl is a CannedAccessControlList enum value
    CannedAccessControlListBucketOwnerFullControl = "bucket-owner-full-control"

    // CannedAccessControlListLogDeliveryWrite is a CannedAccessControlList enum value
    CannedAccessControlListLogDeliveryWrite = "log-delivery-write"
)
const (
    // CertificateStatusActive is a CertificateStatus enum value
    CertificateStatusActive = "ACTIVE"

    // CertificateStatusInactive is a CertificateStatus enum value
    CertificateStatusInactive = "INACTIVE"

    // CertificateStatusRevoked is a CertificateStatus enum value
    CertificateStatusRevoked = "REVOKED"

    // CertificateStatusPendingTransfer is a CertificateStatus enum value
    CertificateStatusPendingTransfer = "PENDING_TRANSFER"

    // CertificateStatusRegisterInactive is a CertificateStatus enum value
    CertificateStatusRegisterInactive = "REGISTER_INACTIVE"

    // CertificateStatusPendingActivation is a CertificateStatus enum value
    CertificateStatusPendingActivation = "PENDING_ACTIVATION"
)
const (
    // ComparisonOperatorLessThan is a ComparisonOperator enum value
    ComparisonOperatorLessThan = "less-than"

    // ComparisonOperatorLessThanEquals is a ComparisonOperator enum value
    ComparisonOperatorLessThanEquals = "less-than-equals"

    // ComparisonOperatorGreaterThan is a ComparisonOperator enum value
    ComparisonOperatorGreaterThan = "greater-than"

    // ComparisonOperatorGreaterThanEquals is a ComparisonOperator enum value
    ComparisonOperatorGreaterThanEquals = "greater-than-equals"

    // ComparisonOperatorInCidrSet is a ComparisonOperator enum value
    ComparisonOperatorInCidrSet = "in-cidr-set"

    // ComparisonOperatorNotInCidrSet is a ComparisonOperator enum value
    ComparisonOperatorNotInCidrSet = "not-in-cidr-set"

    // ComparisonOperatorInPortSet is a ComparisonOperator enum value
    ComparisonOperatorInPortSet = "in-port-set"

    // ComparisonOperatorNotInPortSet is a ComparisonOperator enum value
    ComparisonOperatorNotInPortSet = "not-in-port-set"
)
const (
    // DayOfWeekSun is a DayOfWeek enum value
    DayOfWeekSun = "SUN"

    // DayOfWeekMon is a DayOfWeek enum value
    DayOfWeekMon = "MON"

    // DayOfWeekTue is a DayOfWeek enum value
    DayOfWeekTue = "TUE"

    // DayOfWeekWed is a DayOfWeek enum value
    DayOfWeekWed = "WED"

    // DayOfWeekThu is a DayOfWeek enum value
    DayOfWeekThu = "THU"

    // DayOfWeekFri is a DayOfWeek enum value
    DayOfWeekFri = "FRI"

    // DayOfWeekSat is a DayOfWeek enum value
    DayOfWeekSat = "SAT"
)
const (
    // DynamicGroupStatusActive is a DynamicGroupStatus enum value
    DynamicGroupStatusActive = "ACTIVE"

    // DynamicGroupStatusBuilding is a DynamicGroupStatus enum value
    DynamicGroupStatusBuilding = "BUILDING"

    // DynamicGroupStatusRebuilding is a DynamicGroupStatus enum value
    DynamicGroupStatusRebuilding = "REBUILDING"
)
const (
    // DynamoKeyTypeString is a DynamoKeyType enum value
    DynamoKeyTypeString = "STRING"

    // DynamoKeyTypeNumber is a DynamoKeyType enum value
    DynamoKeyTypeNumber = "NUMBER"
)
const (
    // EventTypeThing is a EventType enum value
    EventTypeThing = "THING"

    // EventTypeThingGroup is a EventType enum value
    EventTypeThingGroup = "THING_GROUP"

    // EventTypeThingType is a EventType enum value
    EventTypeThingType = "THING_TYPE"

    // EventTypeThingGroupMembership is a EventType enum value
    EventTypeThingGroupMembership = "THING_GROUP_MEMBERSHIP"

    // EventTypeThingGroupHierarchy is a EventType enum value
    EventTypeThingGroupHierarchy = "THING_GROUP_HIERARCHY"

    // EventTypeThingTypeAssociation is a EventType enum value
    EventTypeThingTypeAssociation = "THING_TYPE_ASSOCIATION"

    // EventTypeJob is a EventType enum value
    EventTypeJob = "JOB"

    // EventTypeJobExecution is a EventType enum value
    EventTypeJobExecution = "JOB_EXECUTION"

    // EventTypePolicy is a EventType enum value
    EventTypePolicy = "POLICY"

    // EventTypeCertificate is a EventType enum value
    EventTypeCertificate = "CERTIFICATE"

    // EventTypeCaCertificate is a EventType enum value
    EventTypeCaCertificate = "CA_CERTIFICATE"
)
const (
    // IndexStatusActive is a IndexStatus enum value
    IndexStatusActive = "ACTIVE"

    // IndexStatusBuilding is a IndexStatus enum value
    IndexStatusBuilding = "BUILDING"

    // IndexStatusRebuilding is a IndexStatus enum value
    IndexStatusRebuilding = "REBUILDING"
)
const (
    // JobExecutionFailureTypeFailed is a JobExecutionFailureType enum value
    JobExecutionFailureTypeFailed = "FAILED"

    // JobExecutionFailureTypeRejected is a JobExecutionFailureType enum value
    JobExecutionFailureTypeRejected = "REJECTED"

    // JobExecutionFailureTypeTimedOut is a JobExecutionFailureType enum value
    JobExecutionFailureTypeTimedOut = "TIMED_OUT"

    // JobExecutionFailureTypeAll is a JobExecutionFailureType enum value
    JobExecutionFailureTypeAll = "ALL"
)
const (
    // JobExecutionStatusQueued is a JobExecutionStatus enum value
    JobExecutionStatusQueued = "QUEUED"

    // JobExecutionStatusInProgress is a JobExecutionStatus enum value
    JobExecutionStatusInProgress = "IN_PROGRESS"

    // JobExecutionStatusSucceeded is a JobExecutionStatus enum value
    JobExecutionStatusSucceeded = "SUCCEEDED"

    // JobExecutionStatusFailed is a JobExecutionStatus enum value
    JobExecutionStatusFailed = "FAILED"

    // JobExecutionStatusTimedOut is a JobExecutionStatus enum value
    JobExecutionStatusTimedOut = "TIMED_OUT"

    // JobExecutionStatusRejected is a JobExecutionStatus enum value
    JobExecutionStatusRejected = "REJECTED"

    // JobExecutionStatusRemoved is a JobExecutionStatus enum value
    JobExecutionStatusRemoved = "REMOVED"

    // JobExecutionStatusCanceled is a JobExecutionStatus enum value
    JobExecutionStatusCanceled = "CANCELED"
)
const (
    // JobStatusInProgress is a JobStatus enum value
    JobStatusInProgress = "IN_PROGRESS"

    // JobStatusCanceled is a JobStatus enum value
    JobStatusCanceled = "CANCELED"

    // JobStatusCompleted is a JobStatus enum value
    JobStatusCompleted = "COMPLETED"

    // JobStatusDeletionInProgress is a JobStatus enum value
    JobStatusDeletionInProgress = "DELETION_IN_PROGRESS"
)
const (
    // LogLevelDebug is a LogLevel enum value
    LogLevelDebug = "DEBUG"

    // LogLevelInfo is a LogLevel enum value
    LogLevelInfo = "INFO"

    // LogLevelError is a LogLevel enum value
    LogLevelError = "ERROR"

    // LogLevelWarn is a LogLevel enum value
    LogLevelWarn = "WARN"

    // LogLevelDisabled is a LogLevel enum value
    LogLevelDisabled = "DISABLED"
)
const (
    // LogTargetTypeDefault is a LogTargetType enum value
    LogTargetTypeDefault = "DEFAULT"

    // LogTargetTypeThingGroup is a LogTargetType enum value
    LogTargetTypeThingGroup = "THING_GROUP"
)
const (
    // MessageFormatRaw is a MessageFormat enum value
    MessageFormatRaw = "RAW"

    // MessageFormatJson is a MessageFormat enum value
    MessageFormatJson = "JSON"
)
const (
    // OTAUpdateStatusCreatePending is a OTAUpdateStatus enum value
    OTAUpdateStatusCreatePending = "CREATE_PENDING"

    // OTAUpdateStatusCreateInProgress is a OTAUpdateStatus enum value
    OTAUpdateStatusCreateInProgress = "CREATE_IN_PROGRESS"

    // OTAUpdateStatusCreateComplete is a OTAUpdateStatus enum value
    OTAUpdateStatusCreateComplete = "CREATE_COMPLETE"

    // OTAUpdateStatusCreateFailed is a OTAUpdateStatus enum value
    OTAUpdateStatusCreateFailed = "CREATE_FAILED"
)
const (
    // ReportTypeErrors is a ReportType enum value
    ReportTypeErrors = "ERRORS"

    // ReportTypeResults is a ReportType enum value
    ReportTypeResults = "RESULTS"
)
const (
    // ResourceTypeDeviceCertificate is a ResourceType enum value
    ResourceTypeDeviceCertificate = "DEVICE_CERTIFICATE"

    // ResourceTypeCaCertificate is a ResourceType enum value
    ResourceTypeCaCertificate = "CA_CERTIFICATE"

    // ResourceTypeIotPolicy is a ResourceType enum value
    ResourceTypeIotPolicy = "IOT_POLICY"

    // ResourceTypeCognitoIdentityPool is a ResourceType enum value
    ResourceTypeCognitoIdentityPool = "COGNITO_IDENTITY_POOL"

    // ResourceTypeClientId is a ResourceType enum value
    ResourceTypeClientId = "CLIENT_ID"

    // ResourceTypeAccountSettings is a ResourceType enum value
    ResourceTypeAccountSettings = "ACCOUNT_SETTINGS"
)
const (
    // StatusInProgress is a Status enum value
    StatusInProgress = "InProgress"

    // StatusCompleted is a Status enum value
    StatusCompleted = "Completed"

    // StatusFailed is a Status enum value
    StatusFailed = "Failed"

    // StatusCancelled is a Status enum value
    StatusCancelled = "Cancelled"

    // StatusCancelling is a Status enum value
    StatusCancelling = "Cancelling"
)
const (
    // TargetSelectionContinuous is a TargetSelection enum value
    TargetSelectionContinuous = "CONTINUOUS"

    // TargetSelectionSnapshot is a TargetSelection enum value
    TargetSelectionSnapshot = "SNAPSHOT"
)
const (
    // ThingConnectivityIndexingModeOff is a ThingConnectivityIndexingMode enum value
    ThingConnectivityIndexingModeOff = "OFF"

    // ThingConnectivityIndexingModeStatus is a ThingConnectivityIndexingMode enum value
    ThingConnectivityIndexingModeStatus = "STATUS"
)
const (
    // ThingGroupIndexingModeOff is a ThingGroupIndexingMode enum value
    ThingGroupIndexingModeOff = "OFF"

    // ThingGroupIndexingModeOn is a ThingGroupIndexingMode enum value
    ThingGroupIndexingModeOn = "ON"
)
const (
    // ThingIndexingModeOff is a ThingIndexingMode enum value
    ThingIndexingModeOff = "OFF"

    // ThingIndexingModeRegistry is a ThingIndexingMode enum value
    ThingIndexingModeRegistry = "REGISTRY"

    // ThingIndexingModeRegistryAndShadow is a ThingIndexingMode enum value
    ThingIndexingModeRegistryAndShadow = "REGISTRY_AND_SHADOW"
)
const (
    // ViolationEventTypeInAlarm is a ViolationEventType enum value
    ViolationEventTypeInAlarm = "in-alarm"

    // ViolationEventTypeAlarmCleared is a ViolationEventType enum value
    ViolationEventTypeAlarmCleared = "alarm-cleared"

    // ViolationEventTypeAlarmInvalidated is a ViolationEventType enum value
    ViolationEventTypeAlarmInvalidated = "alarm-invalidated"
)
const (

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ErrCodeVersionsLimitExceededException for service response error code
    // "VersionsLimitExceededException".
    //
    // The number of policy versions exceeds the limit.
    ErrCodeVersionsLimitExceededException = "VersionsLimitExceededException"
)
const (
    ServiceName = "iot"       // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "IoT"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // AbortActionCancel is a AbortAction enum value
    AbortActionCancel = "CANCEL"
)
const (
    // AlertTargetTypeSns is a AlertTargetType enum value
    AlertTargetTypeSns = "SNS"
)

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

const (
    // AuditNotificationTypeSns is a AuditNotificationType enum value
    AuditNotificationTypeSns = "SNS"
)

type AbortConfig Uses

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 Uses

func (s AbortConfig) GoString() string

GoString returns the string representation

func (*AbortConfig) SetCriteriaList Uses

func (s *AbortConfig) SetCriteriaList(v []*AbortCriteria) *AbortConfig

SetCriteriaList sets the CriteriaList field's value.

func (AbortConfig) String Uses

func (s AbortConfig) String() string

String returns the string representation

func (*AbortConfig) Validate Uses

func (s *AbortConfig) Validate() error

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

type AbortCriteria Uses

type AbortCriteria struct {

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

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

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

func (s AbortCriteria) GoString() string

GoString returns the string representation

func (*AbortCriteria) SetAction Uses

func (s *AbortCriteria) SetAction(v string) *AbortCriteria

SetAction sets the Action field's value.

func (*AbortCriteria) SetFailureType Uses

func (s *AbortCriteria) SetFailureType(v string) *AbortCriteria

SetFailureType sets the FailureType field's value.

func (*AbortCriteria) SetMinNumberOfExecutedThings Uses

func (s *AbortCriteria) SetMinNumberOfExecutedThings(v int64) *AbortCriteria

SetMinNumberOfExecutedThings sets the MinNumberOfExecutedThings field's value.

func (*AbortCriteria) SetThresholdPercentage Uses

func (s *AbortCriteria) SetThresholdPercentage(v float64) *AbortCriteria

SetThresholdPercentage sets the ThresholdPercentage field's value.

func (AbortCriteria) String Uses

func (s AbortCriteria) String() string

String returns the string representation

func (*AbortCriteria) Validate Uses

func (s *AbortCriteria) Validate() error

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

type AcceptCertificateTransferInput Uses

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 Uses

func (s AcceptCertificateTransferInput) GoString() string

GoString returns the string representation

func (*AcceptCertificateTransferInput) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (*AcceptCertificateTransferInput) SetSetAsActive Uses

func (s *AcceptCertificateTransferInput) SetSetAsActive(v bool) *AcceptCertificateTransferInput

SetSetAsActive sets the SetAsActive field's value.

func (AcceptCertificateTransferInput) String Uses

func (s AcceptCertificateTransferInput) String() string

String returns the string representation

func (*AcceptCertificateTransferInput) Validate Uses

func (s *AcceptCertificateTransferInput) Validate() error

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

type AcceptCertificateTransferOutput Uses

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

func (AcceptCertificateTransferOutput) GoString Uses

func (s AcceptCertificateTransferOutput) GoString() string

GoString returns the string representation

func (AcceptCertificateTransferOutput) String Uses

func (s AcceptCertificateTransferOutput) String() string

String returns the string representation

type Action Uses

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

func (s Action) GoString() string

GoString returns the string representation

func (*Action) SetCloudwatchAlarm Uses

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

SetCloudwatchAlarm sets the CloudwatchAlarm field's value.

func (*Action) SetCloudwatchMetric Uses

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

SetCloudwatchMetric sets the CloudwatchMetric field's value.

func (*Action) SetDynamoDB Uses

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

SetDynamoDB sets the DynamoDB field's value.

func (*Action) SetDynamoDBv2 Uses

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

SetDynamoDBv2 sets the DynamoDBv2 field's value.

func (*Action) SetElasticsearch Uses

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

SetElasticsearch sets the Elasticsearch field's value.

func (*Action) SetFirehose Uses

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

SetFirehose sets the Firehose field's value.

func (*Action) SetIotAnalytics Uses

func (s *Action) SetIotAnalytics(v *IotAnalyticsAction) *Action

SetIotAnalytics sets the IotAnalytics field's value.

func (*Action) SetIotEvents Uses

func (s *Action) SetIotEvents(v *IotEventsAction) *Action

SetIotEvents sets the IotEvents field's value.

func (*Action) SetKinesis Uses

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

SetKinesis sets the Kinesis field's value.

func (*Action) SetLambda Uses

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

SetLambda sets the Lambda field's value.

func (*Action) SetRepublish Uses

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

SetRepublish sets the Republish field's value.

func (*Action) SetS3 Uses

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

SetS3 sets the S3 field's value.

func (*Action) SetSalesforce Uses

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

SetSalesforce sets the Salesforce field's value.

func (*Action) SetSns Uses

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

SetSns sets the Sns field's value.

func (*Action) SetSqs Uses

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

SetSqs sets the Sqs field's value.

func (*Action) SetStepFunctions Uses

func (s *Action) SetStepFunctions(v *StepFunctionsAction) *Action

SetStepFunctions sets the StepFunctions field's value.

func (Action) String Uses

func (s Action) String() string

String returns the string representation

func (*Action) Validate Uses

func (s *Action) Validate() error

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

type ActiveViolation Uses

type ActiveViolation struct {

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

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

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

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

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

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

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

Information about an active Device Defender security profile behavior violation.

func (ActiveViolation) GoString Uses

func (s ActiveViolation) GoString() string

GoString returns the string representation

func (*ActiveViolation) SetBehavior Uses

func (s *ActiveViolation) SetBehavior(v *Behavior) *ActiveViolation

SetBehavior sets the Behavior field's value.

func (*ActiveViolation) SetLastViolationTime Uses

func (s *ActiveViolation) SetLastViolationTime(v time.Time) *ActiveViolation

SetLastViolationTime sets the LastViolationTime field's value.

func (*ActiveViolation) SetLastViolationValue Uses

func (s *ActiveViolation) SetLastViolationValue(v *MetricValue) *ActiveViolation

SetLastViolationValue sets the LastViolationValue field's value.

func (*ActiveViolation) SetSecurityProfileName Uses

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

SetSecurityProfileName sets the SecurityProfileName field's value.

func (*ActiveViolation) SetThingName Uses

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

SetThingName sets the ThingName field's value.

func (*ActiveViolation) SetViolationId Uses

func (s *ActiveViolation) SetViolationId(v string) *ActiveViolation

SetViolationId sets the ViolationId field's value.

func (*ActiveViolation) SetViolationStartTime Uses

func (s *ActiveViolation) SetViolationStartTime(v time.Time) *ActiveViolation

SetViolationStartTime sets the ViolationStartTime field's value.

func (ActiveViolation) String Uses

func (s ActiveViolation) String() string

String returns the string representation

type AddThingToBillingGroupInput Uses

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 Uses

func (s AddThingToBillingGroupInput) GoString() string

GoString returns the string representation

func (*AddThingToBillingGroupInput) SetBillingGroupArn Uses

func (s *AddThingToBillingGroupInput) SetBillingGroupArn(v string) *AddThingToBillingGroupInput

SetBillingGroupArn sets the BillingGroupArn field's value.

func (*AddThingToBillingGroupInput) SetBillingGroupName Uses

func (s *AddThingToBillingGroupInput) SetBillingGroupName(v string) *AddThingToBillingGroupInput

SetBillingGroupName sets the BillingGroupName field's value.

func (*AddThingToBillingGroupInput) SetThingArn Uses

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

SetThingArn sets the ThingArn field's value.

func (*AddThingToBillingGroupInput) SetThingName Uses

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

SetThingName sets the ThingName field's value.

func (AddThingToBillingGroupInput) String Uses

func (s AddThingToBillingGroupInput) String() string

String returns the string representation

func (*AddThingToBillingGroupInput) Validate Uses

func (s *AddThingToBillingGroupInput) Validate() error

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

type AddThingToBillingGroupOutput Uses

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

func (AddThingToBillingGroupOutput) GoString Uses

func (s AddThingToBillingGroupOutput) GoString() string

GoString returns the string representation

func (AddThingToBillingGroupOutput) String Uses

func (s AddThingToBillingGroupOutput) String() string

String returns the string representation

type AddThingToThingGroupInput Uses

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 Uses

func (s AddThingToThingGroupInput) GoString() string

GoString returns the string representation

func (*AddThingToThingGroupInput) SetOverrideDynamicGroups Uses

func (s *AddThingToThingGroupInput) SetOverrideDynamicGroups(v bool) *AddThingToThingGroupInput

SetOverrideDynamicGroups sets the OverrideDynamicGroups field's value.

func (*AddThingToThingGroupInput) SetThingArn Uses

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

SetThingArn sets the ThingArn field's value.

func (*AddThingToThingGroupInput) SetThingGroupArn Uses

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

SetThingGroupArn sets the ThingGroupArn field's value.

func (*AddThingToThingGroupInput) SetThingGroupName Uses

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

SetThingGroupName sets the ThingGroupName field's value.

func (*AddThingToThingGroupInput) SetThingName Uses

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

SetThingName sets the ThingName field's value.

func (AddThingToThingGroupInput) String Uses

func (s AddThingToThingGroupInput) String() string

String returns the string representation

func (*AddThingToThingGroupInput) Validate Uses

func (s *AddThingToThingGroupInput) Validate() error

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

type AddThingToThingGroupOutput Uses

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

func (AddThingToThingGroupOutput) GoString Uses

func (s AddThingToThingGroupOutput) GoString() string

GoString returns the string representation

func (AddThingToThingGroupOutput) String Uses

func (s AddThingToThingGroupOutput) String() string

String returns the string representation

type AlertTarget Uses

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 Uses

func (s AlertTarget) GoString() string

GoString returns the string representation

func (*AlertTarget) SetAlertTargetArn Uses

func (s *AlertTarget) SetAlertTargetArn(v string) *AlertTarget

SetAlertTargetArn sets the AlertTargetArn field's value.

func (*AlertTarget) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (AlertTarget) String Uses

func (s AlertTarget) String() string

String returns the string representation

func (*AlertTarget) Validate Uses

func (s *AlertTarget) Validate() error

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

type Allowed Uses

type Allowed struct {

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

Contains information that allowed the authorization.

func (Allowed) GoString Uses

func (s Allowed) GoString() string

GoString returns the string representation

func (*Allowed) SetPolicies Uses

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

SetPolicies sets the Policies field's value.

func (Allowed) String Uses

func (s Allowed) String() string

String returns the string representation

type AssociateTargetsWithJobInput Uses

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 Uses

func (s AssociateTargetsWithJobInput) GoString() string

GoString returns the string representation

func (*AssociateTargetsWithJobInput) SetComment Uses

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

SetComment sets the Comment field's value.

func (*AssociateTargetsWithJobInput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (*AssociateTargetsWithJobInput) SetTargets Uses

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

SetTargets sets the Targets field's value.

func (AssociateTargetsWithJobInput) String Uses

func (s AssociateTargetsWithJobInput) String() string

String returns the string representation

func (*AssociateTargetsWithJobInput) Validate Uses

func (s *AssociateTargetsWithJobInput) Validate() error

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

type AssociateTargetsWithJobOutput Uses

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 Uses

func (s AssociateTargetsWithJobOutput) GoString() string

GoString returns the string representation

func (*AssociateTargetsWithJobOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*AssociateTargetsWithJobOutput) SetJobArn Uses

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

SetJobArn sets the JobArn field's value.

func (*AssociateTargetsWithJobOutput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (AssociateTargetsWithJobOutput) String Uses

func (s AssociateTargetsWithJobOutput) String() string

String returns the string representation

type AttachPolicyInput Uses

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 Uses

func (s AttachPolicyInput) GoString() string

GoString returns the string representation

func (*AttachPolicyInput) SetPolicyName Uses

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

SetPolicyName sets the PolicyName field's value.

func (*AttachPolicyInput) SetTarget Uses

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

SetTarget sets the Target field's value.

func (AttachPolicyInput) String Uses

func (s AttachPolicyInput) String() string

String returns the string representation

func (*AttachPolicyInput) Validate Uses

func (s *AttachPolicyInput) Validate() error

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

type AttachPolicyOutput Uses

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

func (AttachPolicyOutput) GoString Uses

func (s AttachPolicyOutput) GoString() string

GoString returns the string representation

func (AttachPolicyOutput) String Uses

func (s AttachPolicyOutput) String() string

String returns the string representation

type AttachPrincipalPolicyInput Uses

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 Uses

func (s AttachPrincipalPolicyInput) GoString() string

GoString returns the string representation

func (*AttachPrincipalPolicyInput) SetPolicyName Uses

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

SetPolicyName sets the PolicyName field's value.

func (*AttachPrincipalPolicyInput) SetPrincipal Uses

func (s *AttachPrincipalPolicyInput) SetPrincipal(v string) *AttachPrincipalPolicyInput

SetPrincipal sets the Principal field's value.

func (AttachPrincipalPolicyInput) String Uses

func (s AttachPrincipalPolicyInput) String() string

String returns the string representation

func (*AttachPrincipalPolicyInput) Validate Uses

func (s *AttachPrincipalPolicyInput) Validate() error

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

type AttachPrincipalPolicyOutput Uses

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

func (AttachPrincipalPolicyOutput) GoString Uses

func (s AttachPrincipalPolicyOutput) GoString() string

GoString returns the string representation

func (AttachPrincipalPolicyOutput) String Uses

func (s AttachPrincipalPolicyOutput) String() string

String returns the string representation

type AttachSecurityProfileInput Uses

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 Uses

func (s AttachSecurityProfileInput) GoString() string

GoString returns the string representation

func (*AttachSecurityProfileInput) SetSecurityProfileName Uses

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

SetSecurityProfileName sets the SecurityProfileName field's value.

func (*AttachSecurityProfileInput) SetSecurityProfileTargetArn Uses

func (s *AttachSecurityProfileInput) SetSecurityProfileTargetArn(v string) *AttachSecurityProfileInput

SetSecurityProfileTargetArn sets the SecurityProfileTargetArn field's value.

func (AttachSecurityProfileInput) String Uses

func (s AttachSecurityProfileInput) String() string

String returns the string representation

func (*AttachSecurityProfileInput) Validate Uses

func (s *AttachSecurityProfileInput) Validate() error

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

type AttachSecurityProfileOutput Uses

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

func (AttachSecurityProfileOutput) GoString Uses

func (s AttachSecurityProfileOutput) GoString() string

GoString returns the string representation

func (AttachSecurityProfileOutput) String Uses

func (s AttachSecurityProfileOutput) String() string

String returns the string representation

type AttachThingPrincipalInput Uses

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 Uses

func (s AttachThingPrincipalInput) GoString() string

GoString returns the string representation

func (*AttachThingPrincipalInput) SetPrincipal Uses

func (s *AttachThingPrincipalInput) SetPrincipal(v string) *AttachThingPrincipalInput

SetPrincipal sets the Principal field's value.

func (*AttachThingPrincipalInput) SetThingName Uses

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

SetThingName sets the ThingName field's value.

func (AttachThingPrincipalInput) String Uses

func (s AttachThingPrincipalInput) String() string

String returns the string representation

func (*AttachThingPrincipalInput) Validate Uses

func (s *AttachThingPrincipalInput) Validate() error

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

type AttachThingPrincipalOutput Uses

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

The output from the AttachThingPrincipal operation.

func (AttachThingPrincipalOutput) GoString Uses

func (s AttachThingPrincipalOutput) GoString() string

GoString returns the string representation

func (AttachThingPrincipalOutput) String Uses

func (s AttachThingPrincipalOutput) String() string

String returns the string representation

type AttributePayload Uses

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 Uses

func (s AttributePayload) GoString() string

GoString returns the string representation

func (*AttributePayload) SetAttributes Uses

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

SetAttributes sets the Attributes field's value.

func (*AttributePayload) SetMerge Uses

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

SetMerge sets the Merge field's value.

func (AttributePayload) String Uses

func (s AttributePayload) String() string

String returns the string representation

type AuditCheckConfiguration Uses

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 Uses

func (s AuditCheckConfiguration) GoString() string

GoString returns the string representation

func (*AuditCheckConfiguration) SetEnabled Uses

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

SetEnabled sets the Enabled field's value.

func (AuditCheckConfiguration) String Uses

func (s AuditCheckConfiguration) String() string

String returns the string representation

type AuditCheckDetails Uses

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 *string `locationName:"checkRunStatus" type:"string" enum:"AuditCheckRunStatus"`

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

func (s AuditCheckDetails) GoString() string

GoString returns the string representation

func (*AuditCheckDetails) SetCheckCompliant Uses

func (s *AuditCheckDetails) SetCheckCompliant(v bool) *AuditCheckDetails

SetCheckCompliant sets the CheckCompliant field's value.

func (*AuditCheckDetails) SetCheckRunStatus Uses

func (s *AuditCheckDetails) SetCheckRunStatus(v string) *AuditCheckDetails

SetCheckRunStatus sets the CheckRunStatus field's value.

func (*AuditCheckDetails) SetErrorCode Uses

func (s *AuditCheckDetails) SetErrorCode(v string) *AuditCheckDetails

SetErrorCode sets the ErrorCode field's value.

func (*AuditCheckDetails) SetMessage Uses

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

SetMessage sets the Message field's value.

func (*AuditCheckDetails) SetNonCompliantResourcesCount Uses

func (s *AuditCheckDetails) SetNonCompliantResourcesCount(v int64) *AuditCheckDetails

SetNonCompliantResourcesCount sets the NonCompliantResourcesCount field's value.

func (*AuditCheckDetails) SetTotalResourcesCount Uses

func (s *AuditCheckDetails) SetTotalResourcesCount(v int64) *AuditCheckDetails

SetTotalResourcesCount sets the TotalResourcesCount field's value.

func (AuditCheckDetails) String Uses

func (s AuditCheckDetails) String() string

String returns the string representation

type AuditFinding Uses

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

    // 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 *string `locationName:"severity" type:"string" enum:"AuditFindingSeverity"`

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

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

The findings (results) of the audit.

func (AuditFinding) GoString Uses

func (s AuditFinding) GoString() string

GoString returns the string representation

func (*AuditFinding) SetCheckName Uses

func (s *AuditFinding) SetCheckName(v string) *AuditFinding

SetCheckName sets the CheckName field's value.

func (*AuditFinding) SetFindingTime Uses

func (s *AuditFinding) SetFindingTime(v time.Time) *AuditFinding

SetFindingTime sets the FindingTime field's value.

func (*AuditFinding) SetNonCompliantResource Uses

func (s *AuditFinding) SetNonCompliantResource(v *NonCompliantResource) *AuditFinding

SetNonCompliantResource sets the NonCompliantResource field's value.

func (*AuditFinding) SetReasonForNonCompliance Uses

func (s *AuditFinding) SetReasonForNonCompliance(v string) *AuditFinding

SetReasonForNonCompliance sets the ReasonForNonCompliance field's value.

func (*AuditFinding) SetReasonForNonComplianceCode Uses

func (s *AuditFinding) SetReasonForNonComplianceCode(v string) *AuditFinding

SetReasonForNonComplianceCode sets the ReasonForNonComplianceCode field's value.

func (*AuditFinding) SetRelatedResources Uses

func (s *AuditFinding) SetRelatedResources(v []*RelatedResource) *AuditFinding

SetRelatedResources sets the RelatedResources field's value.

func (*AuditFinding) SetSeverity Uses

func (s *AuditFinding) SetSeverity(v string) *AuditFinding

SetSeverity sets the Severity field's value.

func (*AuditFinding) SetTaskId Uses

func (s *AuditFinding) SetTaskId(v string) *AuditFinding

SetTaskId sets the TaskId field's value.

func (*AuditFinding) SetTaskStartTime Uses

func (s *AuditFinding) SetTaskStartTime(v time.Time) *AuditFinding

SetTaskStartTime sets the TaskStartTime field's value.

func (AuditFinding) String Uses

func (s AuditFinding) String() string

String returns the string representation

type AuditNotificationTarget Uses

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 Uses

func (s AuditNotificationTarget) GoString() string

GoString returns the string representation

func (*AuditNotificationTarget) SetEnabled Uses

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

SetEnabled sets the Enabled field's value.

func (*AuditNotificationTarget) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (*AuditNotificationTarget) SetTargetArn Uses

func (s *AuditNotificationTarget) SetTargetArn(v string) *AuditNotificationTarget

SetTargetArn sets the TargetArn field's value.

func (AuditNotificationTarget) String Uses

func (s AuditNotificationTarget) String() string

String returns the string representation

func (*AuditNotificationTarget) Validate Uses

func (s *AuditNotificationTarget) Validate() error

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

type AuditTaskMetadata Uses

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 *string `locationName:"taskStatus" type:"string" enum:"AuditTaskStatus"`

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

The audits that were performed.

func (AuditTaskMetadata) GoString Uses

func (s AuditTaskMetadata) GoString() string

GoString returns the string representation

func (*AuditTaskMetadata) SetTaskId Uses

func (s *AuditTaskMetadata) SetTaskId(v string) *AuditTaskMetadata

SetTaskId sets the TaskId field's value.

func (*AuditTaskMetadata) SetTaskStatus Uses

func (s *AuditTaskMetadata) SetTaskStatus(v string) *AuditTaskMetadata

SetTaskStatus sets the TaskStatus field's value.

func (*AuditTaskMetadata) SetTaskType Uses

func (s *AuditTaskMetadata) SetTaskType(v string) *AuditTaskMetadata

SetTaskType sets the TaskType field's value.

func (AuditTaskMetadata) String Uses

func (s AuditTaskMetadata) String() string

String returns the string representation

type AuthInfo Uses

type AuthInfo struct {

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

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

A collection of authorization information.

func (AuthInfo) GoString Uses

func (s AuthInfo) GoString() string

GoString returns the string representation

func (*AuthInfo) SetActionType Uses

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

SetActionType sets the ActionType field's value.

func (*AuthInfo) SetResources Uses

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

SetResources sets the Resources field's value.

func (AuthInfo) String Uses

func (s AuthInfo) String() string

String returns the string representation

type AuthResult Uses

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 *string `locationName:"authDecision" type:"string" enum:"AuthDecision"`

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

func (s AuthResult) GoString() string

GoString returns the string representation

func (*AuthResult) SetAllowed Uses

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

SetAllowed sets the Allowed field's value.

func (*AuthResult) SetAuthDecision Uses

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

SetAuthDecision sets the AuthDecision field's value.

func (*AuthResult) SetAuthInfo Uses

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

SetAuthInfo sets the AuthInfo field's value.

func (*AuthResult) SetDenied Uses

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

SetDenied sets the Denied field's value.

func (*AuthResult) SetMissingContextValues Uses

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

SetMissingContextValues sets the MissingContextValues field's value.

func (AuthResult) String Uses

func (s AuthResult) String() string

String returns the string representation

type AuthorizerDescription Uses

type AuthorizerDescription struct {

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

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

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

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

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

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

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

func (s AuthorizerDescription) GoString() string

GoString returns the string representation

func (*AuthorizerDescription) SetAuthorizerArn Uses

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

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*AuthorizerDescription) SetAuthorizerFunctionArn Uses

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

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

func (*AuthorizerDescription) SetAuthorizerName Uses

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

SetAuthorizerName sets the AuthorizerName field's value.

func (*AuthorizerDescription) SetCreationDate Uses

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

SetCreationDate sets the CreationDate field's value.

func (*AuthorizerDescription) SetLastModifiedDate Uses

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*AuthorizerDescription) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*AuthorizerDescription) SetTokenKeyName Uses

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

SetTokenKeyName sets the TokenKeyName field's value.

func (*AuthorizerDescription) SetTokenSigningPublicKeys Uses

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

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

func (AuthorizerDescription) String Uses

func (s AuthorizerDescription) String() string

String returns the string representation

type AuthorizerSummary Uses

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 Uses

func (s AuthorizerSummary) GoString() string

GoString returns the string representation

func (*AuthorizerSummary) SetAuthorizerArn Uses

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

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*AuthorizerSummary) SetAuthorizerName Uses

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

SetAuthorizerName sets the AuthorizerName field's value.

func (AuthorizerSummary) String Uses

func (s AuthorizerSummary) String() string

String returns the string representation

type AwsJobExecutionsRolloutConfig Uses

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 Uses

func (s AwsJobExecutionsRolloutConfig) GoString() string

GoString returns the string representation

func (*AwsJobExecutionsRolloutConfig) SetMaximumPerMinute Uses

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

SetMaximumPerMinute sets the MaximumPerMinute field's value.

func (AwsJobExecutionsRolloutConfig) String Uses

func (s AwsJobExecutionsRolloutConfig) String() string

String returns the string representation

func (*AwsJobExecutionsRolloutConfig) Validate Uses

func (s *AwsJobExecutionsRolloutConfig) Validate() error

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

type Behavior Uses

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

func (s Behavior) GoString() string

GoString returns the string representation

func (*Behavior) SetCriteria Uses

func (s *Behavior) SetCriteria(v *BehaviorCriteria) *Behavior

SetCriteria sets the Criteria field's value.

func (*Behavior) SetMetric Uses

func (s *Behavior) SetMetric(v string) *Behavior

SetMetric sets the Metric field's value.

func (*Behavior) SetName Uses

func (s *Behavior) SetName(v string) *Behavior

SetName sets the Name field's value.

func (Behavior) String Uses

func (s Behavior) String() string

String returns the string representation

func (*Behavior) Validate Uses

func (s *Behavior) Validate() error

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

type BehaviorCriteria Uses

type BehaviorCriteria struct {

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

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

func (s BehaviorCriteria) GoString() string

GoString returns the string representation

func (*BehaviorCriteria) SetComparisonOperator Uses

func (s *BehaviorCriteria) SetComparisonOperator(v string) *BehaviorCriteria

SetComparisonOperator sets the ComparisonOperator field's value.

func (*BehaviorCriteria) SetConsecutiveDatapointsToAlarm Uses

func (s *BehaviorCriteria) SetConsecutiveDatapointsToAlarm(v int64) *BehaviorCriteria

SetConsecutiveDatapointsToAlarm sets the ConsecutiveDatapointsToAlarm field's value.

func (*BehaviorCriteria) SetConsecutiveDatapointsToClear Uses

func (s *BehaviorCriteria) SetConsecutiveDatapointsToClear(v int64) *BehaviorCriteria

SetConsecutiveDatapointsToClear sets the ConsecutiveDatapointsToClear field's value.

func (*BehaviorCriteria) SetDurationSeconds Uses

func (s *BehaviorCriteria) SetDurationSeconds(v int64) *BehaviorCriteria

SetDurationSeconds sets the DurationSeconds field's value.

func (*BehaviorCriteria) SetStatisticalThreshold Uses

func (s *BehaviorCriteria) SetStatisticalThreshold(v *StatisticalThreshold) *BehaviorCriteria

SetStatisticalThreshold sets the StatisticalThreshold field's value.

func (*BehaviorCriteria) SetValue Uses

func (s *BehaviorCriteria) SetValue(v *MetricValue) *BehaviorCriteria

SetValue sets the Value field's value.

func (BehaviorCriteria) String Uses

func (s BehaviorCriteria) String() string

String returns the string representation

func (*BehaviorCriteria) Validate Uses

func (s *BehaviorCriteria) Validate() error

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

type BillingGroupMetadata Uses

type BillingGroupMetadata struct {

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

Additional information about the billing group.

func (BillingGroupMetadata) GoString Uses

func (s BillingGroupMetadata) GoString() string

GoString returns the string representation

func (*BillingGroupMetadata) SetCreationDate Uses

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

SetCreationDate sets the CreationDate field's value.

func (BillingGroupMetadata) String Uses

func (s BillingGroupMetadata) String() string

String returns the string representation

type BillingGroupProperties Uses

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 Uses

func (s BillingGroupProperties) GoString() string

GoString returns the string representation

func (*BillingGroupProperties) SetBillingGroupDescription Uses

func (s *BillingGroupProperties) SetBillingGroupDescription(v string) *BillingGroupProperties

SetBillingGroupDescription sets the BillingGroupDescription field's value.

func (BillingGroupProperties) String Uses

func (s BillingGroupProperties) String() string

String returns the string representation

type CACertificate Uses

type CACertificate struct {

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

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

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

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

A CA certificate.

func (CACertificate) GoString Uses

func (s CACertificate) GoString() string

GoString returns the string representation

func (*CACertificate) SetCertificateArn Uses

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

SetCertificateArn sets the CertificateArn field's value.

func (*CACertificate) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (*CACertificate) SetCreationDate Uses

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

SetCreationDate sets the CreationDate field's value.

func (*CACertificate) SetStatus Uses

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

SetStatus sets the Status field's value.

func (CACertificate) String Uses

func (s CACertificate) String() string

String returns the string representation

type CACertificateDescription Uses

type CACertificateDescription struct {

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

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

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

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

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

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

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

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

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

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

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

Describes a CA certificate.

func (CACertificateDescription) GoString Uses

func (s CACertificateDescription) GoString() string

GoString returns the string representation

func (*CACertificateDescription) SetAutoRegistrationStatus Uses

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

SetAutoRegistrationStatus sets the AutoRegistrationStatus field's value.

func (*CACertificateDescription) SetCertificateArn Uses

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

SetCertificateArn sets the CertificateArn field's value.

func (*CACertificateDescription) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (*CACertificateDescription) SetCertificatePem Uses

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

SetCertificatePem sets the CertificatePem field's value.

func (*CACertificateDescription) SetCreationDate Uses

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

SetCreationDate sets the CreationDate field's value.

func (*CACertificateDescription) SetCustomerVersion Uses

func (s *CACertificateDescription) SetCustomerVersion(v int64) *CACertificateDescription

SetCustomerVersion sets the CustomerVersion field's value.

func (*CACertificateDescription) SetGenerationId Uses

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

SetGenerationId sets the GenerationId field's value.

func (*CACertificateDescription) SetLastModifiedDate Uses

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*CACertificateDescription) SetOwnedBy Uses

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

SetOwnedBy sets the OwnedBy field's value.

func (*CACertificateDescription) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*CACertificateDescription) SetValidity Uses

func (s *CACertificateDescription) SetValidity(v *CertificateValidity) *CACertificateDescription

SetValidity sets the Validity field's value.

func (CACertificateDescription) String Uses

func (s CACertificateDescription) String() string

String returns the string representation

type CancelAuditTaskInput Uses

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 Uses

func (s CancelAuditTaskInput) GoString() string

GoString returns the string representation

func (*CancelAuditTaskInput) SetTaskId Uses

func (s *CancelAuditTaskInput) SetTaskId(v string) *CancelAuditTaskInput

SetTaskId sets the TaskId field's value.

func (CancelAuditTaskInput) String Uses

func (s CancelAuditTaskInput) String() string

String returns the string representation

func (*CancelAuditTaskInput) Validate Uses

func (s *CancelAuditTaskInput) Validate() error

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

type CancelAuditTaskOutput Uses

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

func (CancelAuditTaskOutput) GoString Uses

func (s CancelAuditTaskOutput) GoString() string

GoString returns the string representation

func (CancelAuditTaskOutput) String Uses

func (s CancelAuditTaskOutput) String() string

String returns the string representation

type CancelCertificateTransferInput Uses

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 Uses

func (s CancelCertificateTransferInput) GoString() string

GoString returns the string representation

func (*CancelCertificateTransferInput) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (CancelCertificateTransferInput) String Uses

func (s CancelCertificateTransferInput) String() string

String returns the string representation

func (*CancelCertificateTransferInput) Validate Uses

func (s *CancelCertificateTransferInput) Validate() error

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

type CancelCertificateTransferOutput Uses

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

func (CancelCertificateTransferOutput) GoString Uses

func (s CancelCertificateTransferOutput) GoString() string

GoString returns the string representation

func (CancelCertificateTransferOutput) String Uses

func (s CancelCertificateTransferOutput) String() string

String returns the string representation

type CancelJobExecutionInput Uses

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 Uses

func (s CancelJobExecutionInput) GoString() string

GoString returns the string representation

func (*CancelJobExecutionInput) SetExpectedVersion Uses

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

SetExpectedVersion sets the ExpectedVersion field's value.

func (*CancelJobExecutionInput) SetForce Uses

func (s *CancelJobExecutionInput) SetForce(v bool) *CancelJobExecutionInput

SetForce sets the Force field's value.

func (*CancelJobExecutionInput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (*CancelJobExecutionInput) SetStatusDetails Uses

func (s *CancelJobExecutionInput) SetStatusDetails(v map[string]*string) *CancelJobExecutionInput

SetStatusDetails sets the StatusDetails field's value.

func (*CancelJobExecutionInput) SetThingName Uses

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

SetThingName sets the ThingName field's value.

func (CancelJobExecutionInput) String Uses

func (s CancelJobExecutionInput) String() string

String returns the string representation

func (*CancelJobExecutionInput) Validate Uses

func (s *CancelJobExecutionInput) Validate() error

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

type CancelJobExecutionOutput Uses

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

func (CancelJobExecutionOutput) GoString Uses

func (s CancelJobExecutionOutput) GoString() string

GoString returns the string representation

func (CancelJobExecutionOutput) String Uses

func (s CancelJobExecutionOutput) String() string

String returns the string representation

type CancelJobInput Uses

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 Uses

func (s CancelJobInput) GoString() string

GoString returns the string representation

func (*CancelJobInput) SetComment Uses

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

SetComment sets the Comment field's value.

func (*CancelJobInput) SetForce Uses

func (s *CancelJobInput) SetForce(v bool) *CancelJobInput

SetForce sets the Force field's value.

func (*CancelJobInput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (*CancelJobInput) SetReasonCode Uses

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

SetReasonCode sets the ReasonCode field's value.

func (CancelJobInput) String Uses

func (s CancelJobInput) String() string

String returns the string representation

func (*CancelJobInput) Validate Uses

func (s *CancelJobInput) Validate() error

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

type CancelJobOutput Uses

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 Uses

func (s CancelJobOutput) GoString() string

GoString returns the string representation

func (*CancelJobOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CancelJobOutput) SetJobArn Uses

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

SetJobArn sets the JobArn field's value.

func (*CancelJobOutput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (CancelJobOutput) String Uses

func (s CancelJobOutput) String() string

String returns the string representation

type Certificate Uses

type Certificate struct {

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

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

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

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

Information about a certificate.

func (Certificate) GoString Uses

func (s Certificate) GoString() string

GoString returns the string representation

func (*Certificate) SetCertificateArn Uses

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

SetCertificateArn sets the CertificateArn field's value.

func (*Certificate) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (*Certificate) SetCreationDate Uses

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

SetCreationDate sets the CreationDate field's value.

func (*Certificate) SetStatus Uses

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

SetStatus sets the Status field's value.

func (Certificate) String Uses

func (s Certificate) String() string

String returns the string representation

type CertificateDescription Uses

type CertificateDescription struct {

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

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

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

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

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

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

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

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

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

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

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

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

func (s CertificateDescription) GoString() string

GoString returns the string representation

func (*CertificateDescription) SetCaCertificateId Uses

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

SetCaCertificateId sets the CaCertificateId field's value.

func (*CertificateDescription) SetCertificateArn Uses

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

SetCertificateArn sets the CertificateArn field's value.

func (*CertificateDescription) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (*CertificateDescription) SetCertificatePem Uses

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

SetCertificatePem sets the CertificatePem field's value.

func (*CertificateDescription) SetCreationDate Uses

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

SetCreationDate sets the CreationDate field's value.

func (*CertificateDescription) SetCustomerVersion Uses

func (s *CertificateDescription) SetCustomerVersion(v int64) *CertificateDescription

SetCustomerVersion sets the CustomerVersion field's value.

func (*CertificateDescription) SetGenerationId Uses

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

SetGenerationId sets the GenerationId field's value.

func (*CertificateDescription) SetLastModifiedDate Uses

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

SetLastModifiedDate sets the LastModifiedDate field's value.

func (*CertificateDescription) SetOwnedBy Uses

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

SetOwnedBy sets the OwnedBy field's value.

func (*CertificateDescription) SetPreviousOwnedBy Uses

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

SetPreviousOwnedBy sets the PreviousOwnedBy field's value.

func (*CertificateDescription) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*CertificateDescription) SetTransferData Uses

func (s *CertificateDescription) SetTransferData(v *TransferData) *CertificateDescription

SetTransferData sets the TransferData field's value.

func (*CertificateDescription) SetValidity Uses

func (s *CertificateDescription) SetValidity(v *CertificateValidity) *CertificateDescription

SetValidity sets the Validity field's value.

func (CertificateDescription) String Uses

func (s CertificateDescription) String() string

String returns the string representation

type CertificateValidity Uses

type CertificateValidity struct {

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

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

When the certificate is valid.

func (CertificateValidity) GoString Uses

func (s CertificateValidity) GoString() string

GoString returns the string representation

func (*CertificateValidity) SetNotAfter Uses

func (s *CertificateValidity) SetNotAfter(v time.Time) *CertificateValidity

SetNotAfter sets the NotAfter field's value.

func (*CertificateValidity) SetNotBefore Uses

func (s *CertificateValidity) SetNotBefore(v time.Time) *CertificateValidity

SetNotBefore sets the NotBefore field's value.

func (CertificateValidity) String Uses

func (s CertificateValidity) String() string

String returns the string representation

type ClearDefaultAuthorizerInput Uses

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

func (ClearDefaultAuthorizerInput) GoString Uses

func (s ClearDefaultAuthorizerInput) GoString() string

GoString returns the string representation

func (ClearDefaultAuthorizerInput) String Uses

func (s ClearDefaultAuthorizerInput) String() string

String returns the string representation

type ClearDefaultAuthorizerOutput Uses

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

func (ClearDefaultAuthorizerOutput) GoString Uses

func (s ClearDefaultAuthorizerOutput) GoString() string

GoString returns the string representation

func (ClearDefaultAuthorizerOutput) String Uses

func (s ClearDefaultAuthorizerOutput) String() string

String returns the string representation

type CloudwatchAlarmAction Uses

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 Uses

func (s CloudwatchAlarmAction) GoString() string

GoString returns the string representation

func (*CloudwatchAlarmAction) SetAlarmName Uses

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

SetAlarmName sets the AlarmName field's value.

func (*CloudwatchAlarmAction) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (*CloudwatchAlarmAction) SetStateReason Uses

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

SetStateReason sets the StateReason field's value.

func (*CloudwatchAlarmAction) SetStateValue Uses

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

SetStateValue sets the StateValue field's value.

func (CloudwatchAlarmAction) String Uses

func (s CloudwatchAlarmAction) String() string

String returns the string representation

func (*CloudwatchAlarmAction) Validate Uses

func (s *CloudwatchAlarmAction) Validate() error

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

type CloudwatchMetricAction Uses

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 Uses

func (s CloudwatchMetricAction) GoString() string

GoString returns the string representation

func (*CloudwatchMetricAction) SetMetricName Uses

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

SetMetricName sets the MetricName field's value.

func (*CloudwatchMetricAction) SetMetricNamespace Uses

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

SetMetricNamespace sets the MetricNamespace field's value.

func (*CloudwatchMetricAction) SetMetricTimestamp Uses

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

SetMetricTimestamp sets the MetricTimestamp field's value.

func (*CloudwatchMetricAction) SetMetricUnit Uses

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

SetMetricUnit sets the MetricUnit field's value.

func (*CloudwatchMetricAction) SetMetricValue Uses

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

SetMetricValue sets the MetricValue field's value.

func (*CloudwatchMetricAction) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (CloudwatchMetricAction) String Uses

func (s CloudwatchMetricAction) String() string

String returns the string representation

func (*CloudwatchMetricAction) Validate Uses

func (s *CloudwatchMetricAction) Validate() error

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

type CodeSigning Uses

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 Uses

func (s CodeSigning) GoString() string

GoString returns the string representation

func (*CodeSigning) SetAwsSignerJobId Uses

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

SetAwsSignerJobId sets the AwsSignerJobId field's value.

func (*CodeSigning) SetCustomCodeSigning Uses

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

SetCustomCodeSigning sets the CustomCodeSigning field's value.

func (*CodeSigning) SetStartSigningJobParameter Uses

func (s *CodeSigning) SetStartSigningJobParameter(v *StartSigningJobParameter) *CodeSigning

SetStartSigningJobParameter sets the StartSigningJobParameter field's value.

func (CodeSigning) String Uses

func (s CodeSigning) String() string

String returns the string representation

func (*CodeSigning) Validate Uses

func (s *CodeSigning) Validate() error

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

type CodeSigningCertificateChain Uses

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 Uses

func (s CodeSigningCertificateChain) GoString() string

GoString returns the string representation

func (*CodeSigningCertificateChain) SetCertificateName Uses

func (s *CodeSigningCertificateChain) SetCertificateName(v string) *CodeSigningCertificateChain

SetCertificateName sets the CertificateName field's value.

func (*CodeSigningCertificateChain) SetInlineDocument Uses

func (s *CodeSigningCertificateChain) SetInlineDocument(v string) *CodeSigningCertificateChain

SetInlineDocument sets the InlineDocument field's value.

func (CodeSigningCertificateChain) String Uses

func (s CodeSigningCertificateChain) String() string

String returns the string representation

type CodeSigningSignature Uses

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 Uses

func (s CodeSigningSignature) GoString() string

GoString returns the string representation

func (*CodeSigningSignature) SetInlineDocument Uses

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

SetInlineDocument sets the InlineDocument field's value.

func (CodeSigningSignature) String Uses

func (s CodeSigningSignature) String() string

String returns the string representation

type Configuration Uses

type Configuration struct {

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

Configuration.

func (Configuration) GoString Uses

func (s Configuration) GoString() string

GoString returns the string representation

func (*Configuration) SetEnabled Uses

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

SetEnabled sets the Enabled field's value.

func (Configuration) String Uses

func (s Configuration) String() string

String returns the string representation

type CreateAuthorizerInput Uses

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 *string `locationName:"status" type:"string" enum:"AuthorizerStatus"`

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

func (s CreateAuthorizerInput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerInput) SetAuthorizerFunctionArn Uses

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

SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value.

func (*CreateAuthorizerInput) SetAuthorizerName Uses

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

SetAuthorizerName sets the AuthorizerName field's value.

func (*CreateAuthorizerInput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*CreateAuthorizerInput) SetTokenKeyName Uses

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

SetTokenKeyName sets the TokenKeyName field's value.

func (*CreateAuthorizerInput) SetTokenSigningPublicKeys Uses

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

SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value.

func (CreateAuthorizerInput) String Uses

func (s CreateAuthorizerInput) String() string

String returns the string representation

func (*CreateAuthorizerInput) Validate Uses

func (s *CreateAuthorizerInput) Validate() error

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

type CreateAuthorizerOutput Uses

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 Uses

func (s CreateAuthorizerOutput) GoString() string

GoString returns the string representation

func (*CreateAuthorizerOutput) SetAuthorizerArn Uses

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

SetAuthorizerArn sets the AuthorizerArn field's value.

func (*CreateAuthorizerOutput) SetAuthorizerName Uses

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

SetAuthorizerName sets the AuthorizerName field's value.

func (CreateAuthorizerOutput) String Uses

func (s CreateAuthorizerOutput) String() string

String returns the string representation

type CreateBillingGroupInput Uses

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 Uses

func (s CreateBillingGroupInput) GoString() string

GoString returns the string representation

func (*CreateBillingGroupInput) SetBillingGroupName Uses

func (s *CreateBillingGroupInput) SetBillingGroupName(v string) *CreateBillingGroupInput

SetBillingGroupName sets the BillingGroupName field's value.

func (*CreateBillingGroupInput) SetBillingGroupProperties Uses

func (s *CreateBillingGroupInput) SetBillingGroupProperties(v *BillingGroupProperties) *CreateBillingGroupInput

SetBillingGroupProperties sets the BillingGroupProperties field's value.

func (*CreateBillingGroupInput) SetTags Uses

func (s *CreateBillingGroupInput) SetTags(v []*Tag) *CreateBillingGroupInput

SetTags sets the Tags field's value.

func (CreateBillingGroupInput) String Uses

func (s CreateBillingGroupInput) String() string

String returns the string representation

func (*CreateBillingGroupInput) Validate Uses

func (s *CreateBillingGroupInput) Validate() error

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

type CreateBillingGroupOutput Uses

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 Uses

func (s CreateBillingGroupOutput) GoString() string

GoString returns the string representation

func (*CreateBillingGroupOutput) SetBillingGroupArn Uses

func (s *CreateBillingGroupOutput) SetBillingGroupArn(v string) *CreateBillingGroupOutput

SetBillingGroupArn sets the BillingGroupArn field's value.

func (*CreateBillingGroupOutput) SetBillingGroupId Uses

func (s *CreateBillingGroupOutput) SetBillingGroupId(v string) *CreateBillingGroupOutput

SetBillingGroupId sets the BillingGroupId field's value.

func (*CreateBillingGroupOutput) SetBillingGroupName Uses

func (s *CreateBillingGroupOutput) SetBillingGroupName(v string) *CreateBillingGroupOutput

SetBillingGroupName sets the BillingGroupName field's value.

func (CreateBillingGroupOutput) String Uses

func (s CreateBillingGroupOutput) String() string

String returns the string representation

type CreateCertificateFromCsrInput Uses

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 Uses

func (s CreateCertificateFromCsrInput) GoString() string

GoString returns the string representation

func (*CreateCertificateFromCsrInput) SetCertificateSigningRequest Uses

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

SetCertificateSigningRequest sets the CertificateSigningRequest field's value.

func (*CreateCertificateFromCsrInput) SetSetAsActive Uses

func (s *CreateCertificateFromCsrInput) SetSetAsActive(v bool) *CreateCertificateFromCsrInput

SetSetAsActive sets the SetAsActive field's value.

func (CreateCertificateFromCsrInput) String Uses

func (s CreateCertificateFromCsrInput) String() string

String returns the string representation

func (*CreateCertificateFromCsrInput) Validate Uses

func (s *CreateCertificateFromCsrInput) Validate() error

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

type CreateCertificateFromCsrOutput Uses

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 Uses

func (s CreateCertificateFromCsrOutput) GoString() string

GoString returns the string representation

func (*CreateCertificateFromCsrOutput) SetCertificateArn Uses

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

SetCertificateArn sets the CertificateArn field's value.

func (*CreateCertificateFromCsrOutput) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (*CreateCertificateFromCsrOutput) SetCertificatePem Uses

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

SetCertificatePem sets the CertificatePem field's value.

func (CreateCertificateFromCsrOutput) String Uses

func (s CreateCertificateFromCsrOutput) String() string

String returns the string representation

type CreateDynamicThingGroupInput Uses

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 Uses

func (s CreateDynamicThingGroupInput) GoString() string

GoString returns the string representation

func (*CreateDynamicThingGroupInput) SetIndexName Uses

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

SetIndexName sets the IndexName field's value.

func (*CreateDynamicThingGroupInput) SetQueryString Uses

func (s *CreateDynamicThingGroupInput) SetQueryString(v string) *CreateDynamicThingGroupInput

SetQueryString sets the QueryString field's value.

func (*CreateDynamicThingGroupInput) SetQueryVersion Uses

func (s *CreateDynamicThingGroupInput) SetQueryVersion(v string) *CreateDynamicThingGroupInput

SetQueryVersion sets the QueryVersion field's value.

func (*CreateDynamicThingGroupInput) SetTags Uses

func (s *CreateDynamicThingGroupInput) SetTags(v []*Tag) *CreateDynamicThingGroupInput

SetTags sets the Tags field's value.

func (*CreateDynamicThingGroupInput) SetThingGroupName Uses

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

SetThingGroupName sets the ThingGroupName field's value.

func (*CreateDynamicThingGroupInput) SetThingGroupProperties Uses

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

SetThingGroupProperties sets the ThingGroupProperties field's value.

func (CreateDynamicThingGroupInput) String Uses

func (s CreateDynamicThingGroupInput) String() string

String returns the string representation

func (*CreateDynamicThingGroupInput) Validate Uses

func (s *CreateDynamicThingGroupInput) Validate() error

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

type CreateDynamicThingGroupOutput Uses

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 Uses

func (s CreateDynamicThingGroupOutput) GoString() string

GoString returns the string representation

func (*CreateDynamicThingGroupOutput) SetIndexName Uses

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

SetIndexName sets the IndexName field's value.

func (*CreateDynamicThingGroupOutput) SetQueryString Uses

func (s *CreateDynamicThingGroupOutput) SetQueryString(v string) *CreateDynamicThingGroupOutput

SetQueryString sets the QueryString field's value.

func (*CreateDynamicThingGroupOutput) SetQueryVersion Uses

func (s *CreateDynamicThingGroupOutput) SetQueryVersion(v string) *CreateDynamicThingGroupOutput

SetQueryVersion sets the QueryVersion field's value.

func (*CreateDynamicThingGroupOutput) SetThingGroupArn Uses

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

SetThingGroupArn sets the ThingGroupArn field's value.

func (*CreateDynamicThingGroupOutput) SetThingGroupId Uses

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

SetThingGroupId sets the ThingGroupId field's value.

func (*CreateDynamicThingGroupOutput) SetThingGroupName Uses

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

SetThingGroupName sets the ThingGroupName field's value.

func (CreateDynamicThingGroupOutput) String Uses

func (s CreateDynamicThingGroupOutput) String() string

String returns the string representation

type CreateJobInput Uses

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 *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"`

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

func (s CreateJobInput) GoString() string

GoString returns the string representation

func (*CreateJobInput) SetAbortConfig Uses

func (s *CreateJobInput) SetAbortConfig(v *AbortConfig) *CreateJobInput

SetAbortConfig sets the AbortConfig field's value.

func (*CreateJobInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateJobInput) SetDocument Uses

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

SetDocument sets the Document field's value.

func (*CreateJobInput) SetDocumentSource Uses

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

SetDocumentSource sets the DocumentSource field's value.

func (*CreateJobInput) SetJobExecutionsRolloutConfig Uses

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

SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value.

func (*CreateJobInput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (*CreateJobInput) SetPresignedUrlConfig Uses

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

SetPresignedUrlConfig sets the PresignedUrlConfig field's value.

func (*CreateJobInput) SetTags Uses

func (s *CreateJobInput) SetTags(v []*Tag) *CreateJobInput

SetTags sets the Tags field's value.

func (*CreateJobInput) SetTargetSelection Uses

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

SetTargetSelection sets the TargetSelection field's value.

func (*CreateJobInput) SetTargets Uses

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

SetTargets sets the Targets field's value.

func (*CreateJobInput) SetTimeoutConfig Uses

func (s *CreateJobInput) SetTimeoutConfig(v *TimeoutConfig) *CreateJobInput

SetTimeoutConfig sets the TimeoutConfig field's value.

func (CreateJobInput) String Uses

func (s CreateJobInput) String() string

String returns the string representation

func (*CreateJobInput) Validate Uses

func (s *CreateJobInput) Validate() error

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

type CreateJobOutput Uses

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 Uses

func (s CreateJobOutput) GoString() string

GoString returns the string representation

func (*CreateJobOutput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateJobOutput) SetJobArn Uses

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

SetJobArn sets the JobArn field's value.

func (*CreateJobOutput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (CreateJobOutput) String Uses

func (s CreateJobOutput) String() string

String returns the string representation

type CreateKeysAndCertificateInput Uses

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 Uses

func (s CreateKeysAndCertificateInput) GoString() string

GoString returns the string representation

func (*CreateKeysAndCertificateInput) SetSetAsActive Uses

func (s *CreateKeysAndCertificateInput) SetSetAsActive(v bool) *CreateKeysAndCertificateInput

SetSetAsActive sets the SetAsActive field's value.

func (CreateKeysAndCertificateInput) String Uses

func (s CreateKeysAndCertificateInput) String() string

String returns the string representation

type CreateKeysAndCertificateOutput Uses

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 Uses

func (s CreateKeysAndCertificateOutput) GoString() string

GoString returns the string representation

func (*CreateKeysAndCertificateOutput) SetCertificateArn Uses

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

SetCertificateArn sets the CertificateArn field's value.

func (*CreateKeysAndCertificateOutput) SetCertificateId Uses

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

SetCertificateId sets the CertificateId field's value.

func (*CreateKeysAndCertificateOutput) SetCertificatePem Uses

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

SetCertificatePem sets the CertificatePem field's value.

func (*CreateKeysAndCertificateOutput) SetKeyPair Uses

func (s *CreateKeysAndCertificateOutput) SetKeyPair(v *KeyPair) *CreateKeysAndCertificateOutput

SetKeyPair sets the KeyPair field's value.

func (CreateKeysAndCertificateOutput) String Uses

func (s CreateKeysAndCertificateOutput) String() string

String returns the string representation

type CreateOTAUpdateInput Uses

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 *string `locationName:"targetSelection" type:"string" enum:"TargetSelection"`

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

func (s CreateOTAUpdateInput) GoString() string

GoString returns the string representation

func (*CreateOTAUpdateInput) SetAdditionalParameters Uses

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

SetAdditionalParameters sets the AdditionalParameters field's value.

func (*CreateOTAUpdateInput) SetAwsJobExecutionsRolloutConfig Uses

func (s *CreateOTAUpdateInput) SetAwsJobExecutionsRolloutConfig(v *AwsJobExecutionsRolloutConfig) *CreateOTAUpdateInput

SetAwsJobExecutionsRolloutConfig sets the AwsJobExecutionsRolloutConfig field's value.

func (*CreateOTAUpdateInput) SetDescription Uses

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

SetDescription sets the Description field's value.

func (*CreateOTAUpdateInput) SetFiles Uses

func (s *CreateOTAUpdateInput) SetFiles(v []*OTAUpdateFile) *CreateOTAUpdateInput

SetFiles sets the Files field's value.

func (*CreateOTAUpdateInput) SetOtaUpdateId Uses

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

SetOtaUpdateId sets the OtaUpdateId field's value.

func (*CreateOTAUpdateInput) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (*CreateOTAUpdateInput) SetTags Uses

func (s *CreateOTAUpdateInput) SetTags(v []*Tag) *CreateOTAUpdateInput

SetTags sets the Tags field's value.

func (*CreateOTAUpdateInput) SetTargetSelection Uses

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

SetTargetSelection sets the TargetSelection field's value.

func (*CreateOTAUpdateInput) SetTargets Uses

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

SetTargets sets the Targets field's value.

func (CreateOTAUpdateInput) String Uses

func (s CreateOTAUpdateInput) String() string

String returns the string representation

func (*CreateOTAUpdateInput) Validate Uses

func (s *CreateOTAUpdateInput) Validate() error

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

type CreateOTAUpdateOutput Uses

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 *string `locationName:"otaUpdateStatus" type:"string" enum:"OTAUpdateStatus"`
    // contains filtered or unexported fields
}

func (CreateOTAUpdateOutput) GoString Uses

func (s CreateOTAUpdateOutput) GoString() string

GoString returns the string representation

func (*CreateOTAUpdateOutput) SetAwsIotJobArn Uses

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

SetAwsIotJobArn sets the AwsIotJobArn field's value.

func (*CreateOTAUpdateOutput) SetAwsIotJobId Uses

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

SetAwsIotJobId sets the AwsIotJobId field's value.

func (*CreateOTAUpdateOutput) SetOtaUpdateArn Uses

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

SetOtaUpdateArn sets the OtaUpdateArn field's value.

func (*CreateOTAUpdateOutput) SetOtaUpdateId Uses

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

SetOtaUpdateId sets the OtaUpdateId field's value.

func (*CreateOTAUpdateOutput) SetOtaUpdateStatus Uses

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

SetOtaUpdateStatus sets the OtaUpdateStatus field's value.

func (CreateOTAUpdateOutput) String Uses

func (s CreateOTAUpdateOutput) String() string

String returns the string representation

type CreatePolicyInput Uses

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 Uses

func (s CreatePolicyInput) GoString() string

GoString returns the string representation

func (*CreatePolicyInput) SetPolicyDocument Uses

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

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyInput) SetPolicyName Uses

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

SetPolicyName sets the PolicyName field's value.

func (CreatePolicyInput) String Uses

func (s CreatePolicyInput) String() string

String returns the string representation

func (*CreatePolicyInput) Validate Uses

func (s *CreatePolicyInput) Validate() error

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

type CreatePolicyOutput Uses

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 Uses

func (s CreatePolicyOutput) GoString() string

GoString returns the string representation

func (*CreatePolicyOutput) SetPolicyArn Uses

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

SetPolicyArn sets the PolicyArn field's value.

func (*CreatePolicyOutput) SetPolicyDocument Uses

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

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyOutput) SetPolicyName Uses

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

SetPolicyName sets the PolicyName field's value.

func (*CreatePolicyOutput) SetPolicyVersionId Uses

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

SetPolicyVersionId sets the PolicyVersionId field's value.

func (CreatePolicyOutput) String Uses

func (s CreatePolicyOutput) String() string

String returns the string representation

type CreatePolicyVersionInput Uses

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 Uses

func (s CreatePolicyVersionInput) GoString() string

GoString returns the string representation

func (*CreatePolicyVersionInput) SetPolicyDocument Uses

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

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyVersionInput) SetPolicyName Uses

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

SetPolicyName sets the PolicyName field's value.

func (*CreatePolicyVersionInput) SetSetAsDefault Uses

func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput

SetSetAsDefault sets the SetAsDefault field's value.

func (CreatePolicyVersionInput) String Uses

func (s CreatePolicyVersionInput) String() string

String returns the string representation

func (*CreatePolicyVersionInput) Validate Uses

func (s *CreatePolicyVersionInput) Validate() error

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

type CreatePolicyVersionOutput Uses

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 Uses

func (s CreatePolicyVersionOutput) GoString() string

GoString returns the string representation

func (*CreatePolicyVersionOutput) SetIsDefaultVersion Uses

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

SetIsDefaultVersion sets the IsDefaultVersion field's value.

func (*CreatePolicyVersionOutput) SetPolicyArn Uses

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

SetPolicyArn sets the PolicyArn field's value.

func (*CreatePolicyVersionOutput) SetPolicyDocument Uses

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

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyVersionOutput) SetPolicyVersionId Uses

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

SetPolicyVersionId sets the PolicyVersionId field's value.

func (CreatePolicyVersionOutput) String Uses

func (s CreatePolicyVersionOutput) String() string

String returns the string representation

type CreateRoleAliasInput Uses

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 Uses

func (s CreateRoleAliasInput) GoString() string

GoString returns the string representation

func (*CreateRoleAliasInput) SetCredentialDurationSeconds Uses

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

SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value.

func (*CreateRoleAliasInput) SetRoleAlias Uses

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

SetRoleAlias sets the RoleAlias field's value.

func (*CreateRoleAliasInput) SetRoleArn Uses

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

SetRoleArn sets the RoleArn field's value.

func (CreateRoleAliasInput) String Uses

func (s CreateRoleAliasInput) String() string

String returns the string representation

func (*CreateRoleAliasInput) Validate Uses

func (s *CreateRoleAliasInput) Validate() error

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

type CreateRoleAliasOutput Uses

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 Uses

func (s CreateRoleAliasOutput) GoString() string

GoString returns the string representation

func (*CreateRoleAliasOutput) SetRoleAlias Uses

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

SetRoleAlias sets the RoleAlias field's value.

func (*CreateRoleAliasOutput) SetRoleAliasArn