locationservice

package
v1.38.26-0...-e443fa6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package locationservice provides the client and types for making API requests to Amazon Location Service.

Suite of geospatial services including Maps, Places, Tracking, and Geofencing

See https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19 for more information on this service.

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

Using the Client

To contact Amazon Location Service 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 Amazon Location Service client LocationService for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/locationservice/#New

Index

Constants

View Source
const (
	// BatchItemErrorCodeAccessDeniedError is a BatchItemErrorCode enum value
	BatchItemErrorCodeAccessDeniedError = "AccessDeniedError"

	// BatchItemErrorCodeConflictError is a BatchItemErrorCode enum value
	BatchItemErrorCodeConflictError = "ConflictError"

	// BatchItemErrorCodeInternalServerError is a BatchItemErrorCode enum value
	BatchItemErrorCodeInternalServerError = "InternalServerError"

	// BatchItemErrorCodeResourceNotFoundError is a BatchItemErrorCode enum value
	BatchItemErrorCodeResourceNotFoundError = "ResourceNotFoundError"

	// BatchItemErrorCodeThrottlingError is a BatchItemErrorCode enum value
	BatchItemErrorCodeThrottlingError = "ThrottlingError"

	// BatchItemErrorCodeValidationError is a BatchItemErrorCode enum value
	BatchItemErrorCodeValidationError = "ValidationError"
)
View Source
const (
	// IntendedUseSingleUse is a IntendedUse enum value
	IntendedUseSingleUse = "SingleUse"

	// IntendedUseStorage is a IntendedUse enum value
	IntendedUseStorage = "Storage"
)
View Source
const (
	// PricingPlanRequestBasedUsage is a PricingPlan enum value
	PricingPlanRequestBasedUsage = "RequestBasedUsage"

	// PricingPlanMobileAssetTracking is a PricingPlan enum value
	PricingPlanMobileAssetTracking = "MobileAssetTracking"

	// PricingPlanMobileAssetManagement is a PricingPlan enum value
	PricingPlanMobileAssetManagement = "MobileAssetManagement"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "UnknownOperation"

	// ValidationExceptionReasonMissing is a ValidationExceptionReason enum value
	ValidationExceptionReasonMissing = "Missing"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "CannotParse"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "FieldValidationFailed"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "Other"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// The request was denied due to insufficient access or permission. Check with
	// an administrator to verify your permissions.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request was unsuccessful due to a conflict.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// The request has failed to process because of an unknown server error, exception,
	// or failure.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource that you've entered was not found in your AWS account.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The input failed to meet the constraints specified by the AWS service.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Location" // Name of service.
	EndpointsID = "geo"      // ID to lookup a service endpoint with.
	ServiceID   = "Location" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func BatchItemErrorCode_Values

func BatchItemErrorCode_Values() []string

BatchItemErrorCode_Values returns all elements of the BatchItemErrorCode enum

func IntendedUse_Values

func IntendedUse_Values() []string

IntendedUse_Values returns all elements of the IntendedUse enum

func PricingPlan_Values

func PricingPlan_Values() []string

PricingPlan_Values returns all elements of the PricingPlan enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation

type AssociateTrackerConsumerInput

type AssociateTrackerConsumerInput struct {

	// The Amazon Resource Name (ARN) for the geofence collection to be associated
	// to tracker resource. Used when you need to specify a resource across all
	// AWS.
	//
	//    * Format example: arn:partition:service:region:account-id:resource-type:resource-id
	//
	// ConsumerArn is a required field
	ConsumerArn *string `type:"string" required:"true"`

	// The name of the tracker resource to be associated with a geofence collection.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateTrackerConsumerInput) GoString

GoString returns the string representation

func (*AssociateTrackerConsumerInput) SetConsumerArn

SetConsumerArn sets the ConsumerArn field's value.

func (*AssociateTrackerConsumerInput) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (AssociateTrackerConsumerInput) String

String returns the string representation

func (*AssociateTrackerConsumerInput) Validate

func (s *AssociateTrackerConsumerInput) Validate() error

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

type AssociateTrackerConsumerOutput

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

func (AssociateTrackerConsumerOutput) GoString

GoString returns the string representation

func (AssociateTrackerConsumerOutput) String

String returns the string representation

type BatchDeleteGeofenceError

type BatchDeleteGeofenceError struct {

	// Contains details associated to the batch error.
	//
	// Error is a required field
	Error *BatchItemError `type:"structure" required:"true"`

	// The geofence associated with the error message.
	//
	// GeofenceId is a required field
	GeofenceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains error details for each geofence that failed to delete from the geofence collection.

func (BatchDeleteGeofenceError) GoString

func (s BatchDeleteGeofenceError) GoString() string

GoString returns the string representation

func (*BatchDeleteGeofenceError) SetError

SetError sets the Error field's value.

func (*BatchDeleteGeofenceError) SetGeofenceId

SetGeofenceId sets the GeofenceId field's value.

func (BatchDeleteGeofenceError) String

func (s BatchDeleteGeofenceError) String() string

String returns the string representation

type BatchDeleteGeofenceInput

type BatchDeleteGeofenceInput struct {

	// The geofence collection storing the geofences to be deleted.
	//
	// CollectionName is a required field
	CollectionName *string `location:"uri" locationName:"CollectionName" min:"1" type:"string" required:"true"`

	// The batch of geofences to be deleted.
	//
	// GeofenceIds is a required field
	GeofenceIds []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDeleteGeofenceInput) GoString

func (s BatchDeleteGeofenceInput) GoString() string

GoString returns the string representation

func (*BatchDeleteGeofenceInput) SetCollectionName

func (s *BatchDeleteGeofenceInput) SetCollectionName(v string) *BatchDeleteGeofenceInput

SetCollectionName sets the CollectionName field's value.

func (*BatchDeleteGeofenceInput) SetGeofenceIds

func (s *BatchDeleteGeofenceInput) SetGeofenceIds(v []*string) *BatchDeleteGeofenceInput

SetGeofenceIds sets the GeofenceIds field's value.

func (BatchDeleteGeofenceInput) String

func (s BatchDeleteGeofenceInput) String() string

String returns the string representation

func (*BatchDeleteGeofenceInput) Validate

func (s *BatchDeleteGeofenceInput) Validate() error

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

type BatchDeleteGeofenceOutput

type BatchDeleteGeofenceOutput struct {

	// Contains error details for each geofence that failed to delete.
	//
	// Errors is a required field
	Errors []*BatchDeleteGeofenceError `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDeleteGeofenceOutput) GoString

func (s BatchDeleteGeofenceOutput) GoString() string

GoString returns the string representation

func (*BatchDeleteGeofenceOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchDeleteGeofenceOutput) String

func (s BatchDeleteGeofenceOutput) String() string

String returns the string representation

type BatchEvaluateGeofencesError

type BatchEvaluateGeofencesError struct {

	// The device associated with the position evaluation error.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// Contains details associated to the batch error.
	//
	// Error is a required field
	Error *BatchItemError `type:"structure" required:"true"`

	// Specifies a timestamp for when the error occurred in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// SampleTime is a required field
	SampleTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains error details for each device that failed to evaluate its position against the geofences in a given geofence collection.

func (BatchEvaluateGeofencesError) GoString

func (s BatchEvaluateGeofencesError) GoString() string

GoString returns the string representation

func (*BatchEvaluateGeofencesError) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*BatchEvaluateGeofencesError) SetError

SetError sets the Error field's value.

func (*BatchEvaluateGeofencesError) SetSampleTime

SetSampleTime sets the SampleTime field's value.

func (BatchEvaluateGeofencesError) String

String returns the string representation

type BatchEvaluateGeofencesInput

type BatchEvaluateGeofencesInput struct {

	// The geofence collection used in evaluating the position of devices against
	// its geofences.
	//
	// CollectionName is a required field
	CollectionName *string `location:"uri" locationName:"CollectionName" min:"1" type:"string" required:"true"`

	// Contains device details for each device to be evaluated against the given
	// geofence collection.
	//
	// DevicePositionUpdates is a required field
	DevicePositionUpdates []*DevicePositionUpdate `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchEvaluateGeofencesInput) GoString

func (s BatchEvaluateGeofencesInput) GoString() string

GoString returns the string representation

func (*BatchEvaluateGeofencesInput) SetCollectionName

SetCollectionName sets the CollectionName field's value.

func (*BatchEvaluateGeofencesInput) SetDevicePositionUpdates

SetDevicePositionUpdates sets the DevicePositionUpdates field's value.

func (BatchEvaluateGeofencesInput) String

String returns the string representation

func (*BatchEvaluateGeofencesInput) Validate

func (s *BatchEvaluateGeofencesInput) Validate() error

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

type BatchEvaluateGeofencesOutput

type BatchEvaluateGeofencesOutput struct {

	// Contains error details for each device that failed to evaluate its position
	// against the given geofence collection.
	//
	// Errors is a required field
	Errors []*BatchEvaluateGeofencesError `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchEvaluateGeofencesOutput) GoString

func (s BatchEvaluateGeofencesOutput) GoString() string

GoString returns the string representation

func (*BatchEvaluateGeofencesOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchEvaluateGeofencesOutput) String

String returns the string representation

type BatchGetDevicePositionError

type BatchGetDevicePositionError struct {

	// The ID of the device that didn't return a position.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// Contains details related to the error code.
	//
	// Error is a required field
	Error *BatchItemError `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains error details for each device that didn't return a position.

func (BatchGetDevicePositionError) GoString

func (s BatchGetDevicePositionError) GoString() string

GoString returns the string representation

func (*BatchGetDevicePositionError) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*BatchGetDevicePositionError) SetError

SetError sets the Error field's value.

func (BatchGetDevicePositionError) String

String returns the string representation

type BatchGetDevicePositionInput

type BatchGetDevicePositionInput struct {

	// Devices whose position you want to retrieve.
	//
	//    * For example, for two devices: device-ids=DeviceId1&device-ids=DeviceId2
	//
	// DeviceIds is a required field
	DeviceIds []*string `min:"1" type:"list" required:"true"`

	// The tracker resource retrieving the device position.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetDevicePositionInput) GoString

func (s BatchGetDevicePositionInput) GoString() string

GoString returns the string representation

func (*BatchGetDevicePositionInput) SetDeviceIds

SetDeviceIds sets the DeviceIds field's value.

func (*BatchGetDevicePositionInput) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (BatchGetDevicePositionInput) String

String returns the string representation

func (*BatchGetDevicePositionInput) Validate

func (s *BatchGetDevicePositionInput) Validate() error

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

type BatchGetDevicePositionOutput

type BatchGetDevicePositionOutput struct {

	// Contains device position details such as the device ID, position, and timestamps
	// for when the position was received and sampled.
	//
	// DevicePositions is a required field
	DevicePositions []*DevicePosition `type:"list" required:"true"`

	// Contains error details for each device that failed to send its position to
	// the tracker resource.
	//
	// Errors is a required field
	Errors []*BatchGetDevicePositionError `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchGetDevicePositionOutput) GoString

func (s BatchGetDevicePositionOutput) GoString() string

GoString returns the string representation

func (*BatchGetDevicePositionOutput) SetDevicePositions

SetDevicePositions sets the DevicePositions field's value.

func (*BatchGetDevicePositionOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchGetDevicePositionOutput) String

String returns the string representation

type BatchItemError

type BatchItemError struct {

	// The error code associated with the batch request error.
	Code *string `type:"string" enum:"BatchItemErrorCode"`

	// A message with the reason for the batch request error.
	Message *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the batch request error details associated with the request.

func (BatchItemError) GoString

func (s BatchItemError) GoString() string

GoString returns the string representation

func (*BatchItemError) SetCode

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

SetCode sets the Code field's value.

func (*BatchItemError) SetMessage

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

SetMessage sets the Message field's value.

func (BatchItemError) String

func (s BatchItemError) String() string

String returns the string representation

type BatchPutGeofenceError

type BatchPutGeofenceError struct {

	// Contains details associated to the batch error.
	//
	// Error is a required field
	Error *BatchItemError `type:"structure" required:"true"`

	// The geofence associated with the error message.
	//
	// GeofenceId is a required field
	GeofenceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Contains error details for each geofence that failed to be stored in a given geofence collection.

func (BatchPutGeofenceError) GoString

func (s BatchPutGeofenceError) GoString() string

GoString returns the string representation

func (*BatchPutGeofenceError) SetError

SetError sets the Error field's value.

func (*BatchPutGeofenceError) SetGeofenceId

func (s *BatchPutGeofenceError) SetGeofenceId(v string) *BatchPutGeofenceError

SetGeofenceId sets the GeofenceId field's value.

func (BatchPutGeofenceError) String

func (s BatchPutGeofenceError) String() string

String returns the string representation

type BatchPutGeofenceInput

type BatchPutGeofenceInput struct {

	// The geofence collection storing the geofences.
	//
	// CollectionName is a required field
	CollectionName *string `location:"uri" locationName:"CollectionName" min:"1" type:"string" required:"true"`

	// The batch of geofences to be stored in a geofence collection.
	//
	// Entries is a required field
	Entries []*BatchPutGeofenceRequestEntry `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchPutGeofenceInput) GoString

func (s BatchPutGeofenceInput) GoString() string

GoString returns the string representation

func (*BatchPutGeofenceInput) SetCollectionName

func (s *BatchPutGeofenceInput) SetCollectionName(v string) *BatchPutGeofenceInput

SetCollectionName sets the CollectionName field's value.

func (*BatchPutGeofenceInput) SetEntries

SetEntries sets the Entries field's value.

func (BatchPutGeofenceInput) String

func (s BatchPutGeofenceInput) String() string

String returns the string representation

func (*BatchPutGeofenceInput) Validate

func (s *BatchPutGeofenceInput) Validate() error

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

type BatchPutGeofenceOutput

type BatchPutGeofenceOutput struct {

	// Contains additional error details for each geofence that failed to be stored
	// in a geofence collection.
	//
	// Errors is a required field
	Errors []*BatchPutGeofenceError `type:"list" required:"true"`

	// Contains each geofence that was successfully stored in a geofence collection.
	//
	// Successes is a required field
	Successes []*BatchPutGeofenceSuccess `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchPutGeofenceOutput) GoString

func (s BatchPutGeofenceOutput) GoString() string

GoString returns the string representation

func (*BatchPutGeofenceOutput) SetErrors

SetErrors sets the Errors field's value.

func (*BatchPutGeofenceOutput) SetSuccesses

SetSuccesses sets the Successes field's value.

func (BatchPutGeofenceOutput) String

func (s BatchPutGeofenceOutput) String() string

String returns the string representation

type BatchPutGeofenceRequestEntry

type BatchPutGeofenceRequestEntry struct {

	// The identifier for the geofence to be stored in a given geofence collection.
	//
	// GeofenceId is a required field
	GeofenceId *string `min:"1" type:"string" required:"true"`

	// Contains the polygon details to specify the position of the geofence.
	//
	// Each geofence polygon (https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html)
	// can have a maximum of 1,000 vertices.
	//
	// Geometry is a required field
	Geometry *GeofenceGeometry `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains geofence geometry details.

func (BatchPutGeofenceRequestEntry) GoString

func (s BatchPutGeofenceRequestEntry) GoString() string

GoString returns the string representation

func (*BatchPutGeofenceRequestEntry) SetGeofenceId

SetGeofenceId sets the GeofenceId field's value.

func (*BatchPutGeofenceRequestEntry) SetGeometry

SetGeometry sets the Geometry field's value.

func (BatchPutGeofenceRequestEntry) String

String returns the string representation

func (*BatchPutGeofenceRequestEntry) Validate

func (s *BatchPutGeofenceRequestEntry) Validate() error

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

type BatchPutGeofenceSuccess

type BatchPutGeofenceSuccess struct {

	// The timestamp for when the geofence was stored in a geofence collection in
	// ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html) format:
	// YYYY-MM-DDThh:mm:ss.sssZ
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The geofence successfully stored in a geofence collection.
	//
	// GeofenceId is a required field
	GeofenceId *string `min:"1" type:"string" required:"true"`

	// The timestamp for when the geofence was last updated in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains a summary of each geofence that was successfully stored in a given geofence collection.

func (BatchPutGeofenceSuccess) GoString

func (s BatchPutGeofenceSuccess) GoString() string

GoString returns the string representation

func (*BatchPutGeofenceSuccess) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*BatchPutGeofenceSuccess) SetGeofenceId

SetGeofenceId sets the GeofenceId field's value.

func (*BatchPutGeofenceSuccess) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (BatchPutGeofenceSuccess) String

func (s BatchPutGeofenceSuccess) String() string

String returns the string representation

type BatchUpdateDevicePositionError

type BatchUpdateDevicePositionError struct {

	// The device associated with the failed location update.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// Contains details related to the error code such as the error code and error
	// message.
	//
	// Error is a required field
	Error *BatchItemError `type:"structure" required:"true"`

	// The timestamp at which the device position was determined. Uses ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// SampleTime is a required field
	SampleTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains error details for each device that failed to update its position.

func (BatchUpdateDevicePositionError) GoString

GoString returns the string representation

func (*BatchUpdateDevicePositionError) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*BatchUpdateDevicePositionError) SetError

SetError sets the Error field's value.

func (*BatchUpdateDevicePositionError) SetSampleTime

SetSampleTime sets the SampleTime field's value.

func (BatchUpdateDevicePositionError) String

String returns the string representation

type BatchUpdateDevicePositionInput

type BatchUpdateDevicePositionInput struct {

	// The name of the tracker resource to update.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`

	// Contains the position update details for each device.
	//
	// Updates is a required field
	Updates []*DevicePositionUpdate `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchUpdateDevicePositionInput) GoString

GoString returns the string representation

func (*BatchUpdateDevicePositionInput) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (*BatchUpdateDevicePositionInput) SetUpdates

SetUpdates sets the Updates field's value.

func (BatchUpdateDevicePositionInput) String

String returns the string representation

func (*BatchUpdateDevicePositionInput) Validate

func (s *BatchUpdateDevicePositionInput) Validate() error

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

type BatchUpdateDevicePositionOutput

type BatchUpdateDevicePositionOutput struct {

	// Contains error details for each device that failed to update its position.
	//
	// Errors is a required field
	Errors []*BatchUpdateDevicePositionError `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchUpdateDevicePositionOutput) GoString

GoString returns the string representation

func (*BatchUpdateDevicePositionOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchUpdateDevicePositionOutput) String

String returns the string representation

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request was unsuccessful due to a conflict.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation

type CreateGeofenceCollectionInput

type CreateGeofenceCollectionInput struct {

	// A custom name for the geofence collection.
	//
	// Requirements:
	//
	//    * Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-),
	//    periods (.), and underscores (_).
	//
	//    * Must be a unique geofence collection name.
	//
	//    * No spaces allowed. For example, ExampleGeofenceCollection.
	//
	// CollectionName is a required field
	CollectionName *string `min:"1" type:"string" required:"true"`

	// An optional description for the geofence collection.
	Description *string `type:"string"`

	// Specifies the pricing plan for your geofence collection.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// Specifies the plan data source. Required if the Mobile Asset Tracking (MAT)
	// or the Mobile Asset Management (MAM) pricing plan is selected.
	//
	// Billing is determined by the resource usage, the associated pricing plan,
	// and the data source that was specified. For more information about each pricing
	// plan option and restrictions, see the Amazon Location Service pricing page
	// (https://aws.amazon.com/location/pricing/).
	//
	// Valid Values: Esri | Here
	PricingPlanDataSource *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateGeofenceCollectionInput) GoString

GoString returns the string representation

func (*CreateGeofenceCollectionInput) SetCollectionName

SetCollectionName sets the CollectionName field's value.

func (*CreateGeofenceCollectionInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateGeofenceCollectionInput) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (*CreateGeofenceCollectionInput) SetPricingPlanDataSource

func (s *CreateGeofenceCollectionInput) SetPricingPlanDataSource(v string) *CreateGeofenceCollectionInput

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (CreateGeofenceCollectionInput) String

String returns the string representation

func (*CreateGeofenceCollectionInput) Validate

func (s *CreateGeofenceCollectionInput) Validate() error

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

type CreateGeofenceCollectionOutput

type CreateGeofenceCollectionOutput struct {

	// The Amazon Resource Name (ARN) for the geofence collection resource. Used
	// when you need to specify a resource across all AWS.
	//
	// CollectionArn is a required field
	CollectionArn *string `type:"string" required:"true"`

	// The name for the geofence collection.
	//
	// CollectionName is a required field
	CollectionName *string `min:"1" type:"string" required:"true"`

	// The timestamp for when the geofence collection was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (CreateGeofenceCollectionOutput) GoString

GoString returns the string representation

func (*CreateGeofenceCollectionOutput) SetCollectionArn

SetCollectionArn sets the CollectionArn field's value.

func (*CreateGeofenceCollectionOutput) SetCollectionName

SetCollectionName sets the CollectionName field's value.

func (*CreateGeofenceCollectionOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (CreateGeofenceCollectionOutput) String

String returns the string representation

type CreateMapInput

type CreateMapInput struct {

	// Specifies the map style selected from an available data provider.
	//
	// Configuration is a required field
	Configuration *MapConfiguration `type:"structure" required:"true"`

	// An optional description for the map resource.
	Description *string `type:"string"`

	// The name for the map resource.
	//
	// Requirements:
	//
	//    * Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens
	//    (-), periods (.), and underscores (_).
	//
	//    * Must be a unique map resource name.
	//
	//    * No spaces allowed. For example, ExampleMap.
	//
	// MapName is a required field
	MapName *string `min:"1" type:"string" required:"true"`

	// Specifies the pricing plan for your map resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`
	// contains filtered or unexported fields
}

func (CreateMapInput) GoString

func (s CreateMapInput) GoString() string

GoString returns the string representation

func (*CreateMapInput) SetConfiguration

func (s *CreateMapInput) SetConfiguration(v *MapConfiguration) *CreateMapInput

SetConfiguration sets the Configuration field's value.

func (*CreateMapInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateMapInput) SetMapName

func (s *CreateMapInput) SetMapName(v string) *CreateMapInput

SetMapName sets the MapName field's value.

func (*CreateMapInput) SetPricingPlan

func (s *CreateMapInput) SetPricingPlan(v string) *CreateMapInput

SetPricingPlan sets the PricingPlan field's value.

func (CreateMapInput) String

func (s CreateMapInput) String() string

String returns the string representation

func (*CreateMapInput) Validate

func (s *CreateMapInput) Validate() error

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

type CreateMapOutput

type CreateMapOutput struct {

	// The timestamp for when the map resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The Amazon Resource Name (ARN) for the map resource. Used when you need to
	// specify a resource across all AWS.
	//
	//    * Format example: arn:partition:service:region:account-id:resource-type:resource-id
	//
	// MapArn is a required field
	MapArn *string `type:"string" required:"true"`

	// The name of the map resource.
	//
	// MapName is a required field
	MapName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateMapOutput) GoString

func (s CreateMapOutput) GoString() string

GoString returns the string representation

func (*CreateMapOutput) SetCreateTime

func (s *CreateMapOutput) SetCreateTime(v time.Time) *CreateMapOutput

SetCreateTime sets the CreateTime field's value.

func (*CreateMapOutput) SetMapArn

func (s *CreateMapOutput) SetMapArn(v string) *CreateMapOutput

SetMapArn sets the MapArn field's value.

func (*CreateMapOutput) SetMapName

func (s *CreateMapOutput) SetMapName(v string) *CreateMapOutput

SetMapName sets the MapName field's value.

func (CreateMapOutput) String

func (s CreateMapOutput) String() string

String returns the string representation

type CreatePlaceIndexInput

type CreatePlaceIndexInput struct {

	// Specifies the data provider of geospatial data.
	//
	// This field is case-sensitive. Enter the valid values as shown. For example,
	// entering HERE will return an error.
	//
	// Valid values include:
	//
	//    * Esri
	//
	//    * Here
	//
	// For additional details on data providers, see the Amazon Location Service
	// data providers page (https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html).
	//
	// DataSource is a required field
	DataSource *string `type:"string" required:"true"`

	// Specifies the data storage option for requesting Places.
	DataSourceConfiguration *DataSourceConfiguration `type:"structure"`

	// The optional description for the Place index resource.
	Description *string `type:"string"`

	// The name of the Place index resource.
	//
	// Requirements:
	//
	//    * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-),
	//    periods (.), and underscores (_).
	//
	//    * Must be a unique Place index resource name.
	//
	//    * No spaces allowed. For example, ExamplePlaceIndex.
	//
	// IndexName is a required field
	IndexName *string `min:"1" type:"string" required:"true"`

	// Specifies the pricing plan for your Place index resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`
	// contains filtered or unexported fields
}

func (CreatePlaceIndexInput) GoString

func (s CreatePlaceIndexInput) GoString() string

GoString returns the string representation

func (*CreatePlaceIndexInput) SetDataSource

func (s *CreatePlaceIndexInput) SetDataSource(v string) *CreatePlaceIndexInput

SetDataSource sets the DataSource field's value.

func (*CreatePlaceIndexInput) SetDataSourceConfiguration

func (s *CreatePlaceIndexInput) SetDataSourceConfiguration(v *DataSourceConfiguration) *CreatePlaceIndexInput

SetDataSourceConfiguration sets the DataSourceConfiguration field's value.

func (*CreatePlaceIndexInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreatePlaceIndexInput) SetIndexName

SetIndexName sets the IndexName field's value.

func (*CreatePlaceIndexInput) SetPricingPlan

func (s *CreatePlaceIndexInput) SetPricingPlan(v string) *CreatePlaceIndexInput

SetPricingPlan sets the PricingPlan field's value.

func (CreatePlaceIndexInput) String

func (s CreatePlaceIndexInput) String() string

String returns the string representation

func (*CreatePlaceIndexInput) Validate

func (s *CreatePlaceIndexInput) Validate() error

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

type CreatePlaceIndexOutput

type CreatePlaceIndexOutput struct {

	// The timestamp for when the Place index resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The Amazon Resource Name (ARN) for the Place index resource. Used when you
	// need to specify a resource across all AWS.
	//
	// IndexArn is a required field
	IndexArn *string `type:"string" required:"true"`

	// The name for the Place index resource.
	//
	// IndexName is a required field
	IndexName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreatePlaceIndexOutput) GoString

func (s CreatePlaceIndexOutput) GoString() string

GoString returns the string representation

func (*CreatePlaceIndexOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*CreatePlaceIndexOutput) SetIndexArn

SetIndexArn sets the IndexArn field's value.

func (*CreatePlaceIndexOutput) SetIndexName

SetIndexName sets the IndexName field's value.

func (CreatePlaceIndexOutput) String

func (s CreatePlaceIndexOutput) String() string

String returns the string representation

type CreateTrackerInput

type CreateTrackerInput struct {

	// An optional description for the tracker resource.
	Description *string `type:"string"`

	// Specifies the pricing plan for your tracker resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// Specifies the plan data source. Required if the Mobile Asset Tracking (MAT)
	// or the Mobile Asset Management (MAM) pricing plan is selected.
	//
	// Billing is determined by the resource usage, the associated pricing plan,
	// and data source that was specified. For more information about each pricing
	// plan option and restrictions, see the Amazon Location Service pricing page
	// (https://aws.amazon.com/location/pricing/).
	//
	// Valid Values: Esri | Here
	PricingPlanDataSource *string `type:"string"`

	// The name for the tracker resource.
	//
	// Requirements:
	//
	//    * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-),
	//    periods (.), and underscores (_).
	//
	//    * Must be a unique tracker resource name.
	//
	//    * No spaces allowed. For example, ExampleTracker.
	//
	// TrackerName is a required field
	TrackerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateTrackerInput) GoString

func (s CreateTrackerInput) GoString() string

GoString returns the string representation

func (*CreateTrackerInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateTrackerInput) SetPricingPlan

func (s *CreateTrackerInput) SetPricingPlan(v string) *CreateTrackerInput

SetPricingPlan sets the PricingPlan field's value.

func (*CreateTrackerInput) SetPricingPlanDataSource

func (s *CreateTrackerInput) SetPricingPlanDataSource(v string) *CreateTrackerInput

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*CreateTrackerInput) SetTrackerName

func (s *CreateTrackerInput) SetTrackerName(v string) *CreateTrackerInput

SetTrackerName sets the TrackerName field's value.

func (CreateTrackerInput) String

func (s CreateTrackerInput) String() string

String returns the string representation

func (*CreateTrackerInput) Validate

func (s *CreateTrackerInput) Validate() error

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

type CreateTrackerOutput

type CreateTrackerOutput struct {

	// The timestamp for when the tracker resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The Amazon Resource Name (ARN) for the tracker resource. Used when you need
	// to specify a resource across all AWS.
	//
	// TrackerArn is a required field
	TrackerArn *string `type:"string" required:"true"`

	// The name of the tracker resource.
	//
	// TrackerName is a required field
	TrackerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateTrackerOutput) GoString

func (s CreateTrackerOutput) GoString() string

GoString returns the string representation

func (*CreateTrackerOutput) SetCreateTime

func (s *CreateTrackerOutput) SetCreateTime(v time.Time) *CreateTrackerOutput

SetCreateTime sets the CreateTime field's value.

func (*CreateTrackerOutput) SetTrackerArn

func (s *CreateTrackerOutput) SetTrackerArn(v string) *CreateTrackerOutput

SetTrackerArn sets the TrackerArn field's value.

func (*CreateTrackerOutput) SetTrackerName

func (s *CreateTrackerOutput) SetTrackerName(v string) *CreateTrackerOutput

SetTrackerName sets the TrackerName field's value.

func (CreateTrackerOutput) String

func (s CreateTrackerOutput) String() string

String returns the string representation

type DataSourceConfiguration

type DataSourceConfiguration struct {

	// Specifies how the results of an operation will be stored by the caller.
	//
	// Valid values include:
	//
	//    * SingleUse specifies that the results won't be stored.
	//
	//    * Storage specifies that the result can be cached or stored in a database.
	//
	// Default value: SingleUse
	IntendedUse *string `type:"string" enum:"IntendedUse"`
	// contains filtered or unexported fields
}

Specifies the data storage option chosen for requesting Places.

By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.

Also, when using HERE as your data provider, you may not (a) use HERE Places for Asset Management, or (b) select the Storage option for the IntendedUse parameter when requesting Places in Japan. For more information, see the AWS Service Terms (https://aws.amazon.com/service-terms/) for Amazon Location Service.

func (DataSourceConfiguration) GoString

func (s DataSourceConfiguration) GoString() string

GoString returns the string representation

func (*DataSourceConfiguration) SetIntendedUse

SetIntendedUse sets the IntendedUse field's value.

func (DataSourceConfiguration) String

func (s DataSourceConfiguration) String() string

String returns the string representation

type DeleteGeofenceCollectionInput

type DeleteGeofenceCollectionInput struct {

	// The name of the geofence collection to be deleted.
	//
	// CollectionName is a required field
	CollectionName *string `location:"uri" locationName:"CollectionName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteGeofenceCollectionInput) GoString

GoString returns the string representation

func (*DeleteGeofenceCollectionInput) SetCollectionName

SetCollectionName sets the CollectionName field's value.

func (DeleteGeofenceCollectionInput) String

String returns the string representation

func (*DeleteGeofenceCollectionInput) Validate

func (s *DeleteGeofenceCollectionInput) Validate() error

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

type DeleteGeofenceCollectionOutput

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

func (DeleteGeofenceCollectionOutput) GoString

GoString returns the string representation

func (DeleteGeofenceCollectionOutput) String

String returns the string representation

type DeleteMapInput

type DeleteMapInput struct {

	// The name of the map resource to be deleted.
	//
	// MapName is a required field
	MapName *string `location:"uri" locationName:"MapName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMapInput) GoString

func (s DeleteMapInput) GoString() string

GoString returns the string representation

func (*DeleteMapInput) SetMapName

func (s *DeleteMapInput) SetMapName(v string) *DeleteMapInput

SetMapName sets the MapName field's value.

func (DeleteMapInput) String

func (s DeleteMapInput) String() string

String returns the string representation

func (*DeleteMapInput) Validate

func (s *DeleteMapInput) Validate() error

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

type DeleteMapOutput

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

func (DeleteMapOutput) GoString

func (s DeleteMapOutput) GoString() string

GoString returns the string representation

func (DeleteMapOutput) String

func (s DeleteMapOutput) String() string

String returns the string representation

type DeletePlaceIndexInput

type DeletePlaceIndexInput struct {

	// The name of the Place index resource to be deleted.
	//
	// IndexName is a required field
	IndexName *string `location:"uri" locationName:"IndexName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePlaceIndexInput) GoString

func (s DeletePlaceIndexInput) GoString() string

GoString returns the string representation

func (*DeletePlaceIndexInput) SetIndexName

SetIndexName sets the IndexName field's value.

func (DeletePlaceIndexInput) String

func (s DeletePlaceIndexInput) String() string

String returns the string representation

func (*DeletePlaceIndexInput) Validate

func (s *DeletePlaceIndexInput) Validate() error

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

type DeletePlaceIndexOutput

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

func (DeletePlaceIndexOutput) GoString

func (s DeletePlaceIndexOutput) GoString() string

GoString returns the string representation

func (DeletePlaceIndexOutput) String

func (s DeletePlaceIndexOutput) String() string

String returns the string representation

type DeleteTrackerInput

type DeleteTrackerInput struct {

	// The name of the tracker resource to be deleted.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTrackerInput) GoString

func (s DeleteTrackerInput) GoString() string

GoString returns the string representation

func (*DeleteTrackerInput) SetTrackerName

func (s *DeleteTrackerInput) SetTrackerName(v string) *DeleteTrackerInput

SetTrackerName sets the TrackerName field's value.

func (DeleteTrackerInput) String

func (s DeleteTrackerInput) String() string

String returns the string representation

func (*DeleteTrackerInput) Validate

func (s *DeleteTrackerInput) Validate() error

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

type DeleteTrackerOutput

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

func (DeleteTrackerOutput) GoString

func (s DeleteTrackerOutput) GoString() string

GoString returns the string representation

func (DeleteTrackerOutput) String

func (s DeleteTrackerOutput) String() string

String returns the string representation

type DescribeGeofenceCollectionInput

type DescribeGeofenceCollectionInput struct {

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

func (DescribeGeofenceCollectionInput) GoString

GoString returns the string representation

func (*DescribeGeofenceCollectionInput) SetCollectionName

SetCollectionName sets the CollectionName field's value.

func (DescribeGeofenceCollectionInput) String

String returns the string representation

func (*DescribeGeofenceCollectionInput) Validate

func (s *DescribeGeofenceCollectionInput) Validate() error

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

type DescribeGeofenceCollectionOutput

type DescribeGeofenceCollectionOutput struct {

	// The Amazon Resource Name (ARN) for the geofence collection resource. Used
	// when you need to specify a resource across all AWS.
	//
	// CollectionArn is a required field
	CollectionArn *string `type:"string" required:"true"`

	// The name of the geofence collection.
	//
	// CollectionName is a required field
	CollectionName *string `min:"1" type:"string" required:"true"`

	// The timestamp for when the geofence resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The optional description for the geofence collection.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The pricing plan selected for the specified geofence collection.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The data source selected for the geofence collection and associated pricing
	// plan.
	PricingPlanDataSource *string `type:"string"`

	// The timestamp for when the geofence collection was last updated in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeGeofenceCollectionOutput) GoString

GoString returns the string representation

func (*DescribeGeofenceCollectionOutput) SetCollectionArn

SetCollectionArn sets the CollectionArn field's value.

func (*DescribeGeofenceCollectionOutput) SetCollectionName

SetCollectionName sets the CollectionName field's value.

func (*DescribeGeofenceCollectionOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*DescribeGeofenceCollectionOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribeGeofenceCollectionOutput) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (*DescribeGeofenceCollectionOutput) SetPricingPlanDataSource

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*DescribeGeofenceCollectionOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (DescribeGeofenceCollectionOutput) String

String returns the string representation

type DescribeMapInput

type DescribeMapInput struct {

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

func (DescribeMapInput) GoString

func (s DescribeMapInput) GoString() string

GoString returns the string representation

func (*DescribeMapInput) SetMapName

func (s *DescribeMapInput) SetMapName(v string) *DescribeMapInput

SetMapName sets the MapName field's value.

func (DescribeMapInput) String

func (s DescribeMapInput) String() string

String returns the string representation

func (*DescribeMapInput) Validate

func (s *DescribeMapInput) Validate() error

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

type DescribeMapOutput

type DescribeMapOutput struct {

	// Specifies the map tile style selected from a partner data provider.
	//
	// Configuration is a required field
	Configuration *MapConfiguration `type:"structure" required:"true"`

	// The timestamp for when the map resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// Specifies the data provider for the associated map tiles.
	//
	// DataSource is a required field
	DataSource *string `type:"string" required:"true"`

	// The optional description for the map resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the map resource. Used when you need to
	// specify a resource across all AWS.
	//
	// MapArn is a required field
	MapArn *string `type:"string" required:"true"`

	// The map style selected from an available provider.
	//
	// MapName is a required field
	MapName *string `min:"1" type:"string" required:"true"`

	// The pricing plan selected for the specified map resource.
	//
	//    <p>For additional details and restrictions on each pricing plan option,
	//    see the <a href="https://aws.amazon.com/location/pricing/">Amazon Location
	//    Service pricing page</a>.</p>
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The timestamp for when the map resource was last update in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeMapOutput) GoString

func (s DescribeMapOutput) GoString() string

GoString returns the string representation

func (*DescribeMapOutput) SetConfiguration

func (s *DescribeMapOutput) SetConfiguration(v *MapConfiguration) *DescribeMapOutput

SetConfiguration sets the Configuration field's value.

func (*DescribeMapOutput) SetCreateTime

func (s *DescribeMapOutput) SetCreateTime(v time.Time) *DescribeMapOutput

SetCreateTime sets the CreateTime field's value.

func (*DescribeMapOutput) SetDataSource

func (s *DescribeMapOutput) SetDataSource(v string) *DescribeMapOutput

SetDataSource sets the DataSource field's value.

func (*DescribeMapOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*DescribeMapOutput) SetMapArn

func (s *DescribeMapOutput) SetMapArn(v string) *DescribeMapOutput

SetMapArn sets the MapArn field's value.

func (*DescribeMapOutput) SetMapName

func (s *DescribeMapOutput) SetMapName(v string) *DescribeMapOutput

SetMapName sets the MapName field's value.

func (*DescribeMapOutput) SetPricingPlan

func (s *DescribeMapOutput) SetPricingPlan(v string) *DescribeMapOutput

SetPricingPlan sets the PricingPlan field's value.

func (*DescribeMapOutput) SetUpdateTime

func (s *DescribeMapOutput) SetUpdateTime(v time.Time) *DescribeMapOutput

SetUpdateTime sets the UpdateTime field's value.

func (DescribeMapOutput) String

func (s DescribeMapOutput) String() string

String returns the string representation

type DescribePlaceIndexInput

type DescribePlaceIndexInput struct {

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

func (DescribePlaceIndexInput) GoString

func (s DescribePlaceIndexInput) GoString() string

GoString returns the string representation

func (*DescribePlaceIndexInput) SetIndexName

SetIndexName sets the IndexName field's value.

func (DescribePlaceIndexInput) String

func (s DescribePlaceIndexInput) String() string

String returns the string representation

func (*DescribePlaceIndexInput) Validate

func (s *DescribePlaceIndexInput) Validate() error

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

type DescribePlaceIndexOutput

type DescribePlaceIndexOutput struct {

	// The timestamp for when the Place index resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The data provider of geospatial data. Indicates one of the available providers:
	//
	//    * Esri
	//
	//    * Here
	//
	// For additional details on data providers, see the Amazon Location Service
	// data providers page (https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html).
	//
	// DataSource is a required field
	DataSource *string `type:"string" required:"true"`

	// The specified data storage option for requesting Places.
	//
	// DataSourceConfiguration is a required field
	DataSourceConfiguration *DataSourceConfiguration `type:"structure" required:"true"`

	// The optional description for the Place index resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) for the Place index resource. Used when you
	// need to specify a resource across all AWS.
	//
	// IndexArn is a required field
	IndexArn *string `type:"string" required:"true"`

	// The name of the Place index resource being described.
	//
	// IndexName is a required field
	IndexName *string `min:"1" type:"string" required:"true"`

	// The pricing plan selected for the specified Place index resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The timestamp for when the Place index resource was last updated in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (DescribePlaceIndexOutput) GoString

func (s DescribePlaceIndexOutput) GoString() string

GoString returns the string representation

func (*DescribePlaceIndexOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*DescribePlaceIndexOutput) SetDataSource

SetDataSource sets the DataSource field's value.

func (*DescribePlaceIndexOutput) SetDataSourceConfiguration

SetDataSourceConfiguration sets the DataSourceConfiguration field's value.

func (*DescribePlaceIndexOutput) SetDescription

SetDescription sets the Description field's value.

func (*DescribePlaceIndexOutput) SetIndexArn

SetIndexArn sets the IndexArn field's value.

func (*DescribePlaceIndexOutput) SetIndexName

SetIndexName sets the IndexName field's value.

func (*DescribePlaceIndexOutput) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (*DescribePlaceIndexOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (DescribePlaceIndexOutput) String

func (s DescribePlaceIndexOutput) String() string

String returns the string representation

type DescribeTrackerInput

type DescribeTrackerInput struct {

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

func (DescribeTrackerInput) GoString

func (s DescribeTrackerInput) GoString() string

GoString returns the string representation

func (*DescribeTrackerInput) SetTrackerName

func (s *DescribeTrackerInput) SetTrackerName(v string) *DescribeTrackerInput

SetTrackerName sets the TrackerName field's value.

func (DescribeTrackerInput) String

func (s DescribeTrackerInput) String() string

String returns the string representation

func (*DescribeTrackerInput) Validate

func (s *DescribeTrackerInput) Validate() error

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

type DescribeTrackerOutput

type DescribeTrackerOutput struct {

	// The timestamp for when the tracker resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The optional description for the tracker resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The pricing plan selected for the specified tracker resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The data source selected for the tracker resource and associated pricing
	// plan.
	PricingPlanDataSource *string `type:"string"`

	// The Amazon Resource Name (ARN) for the tracker resource. Used when you need
	// to specify a resource across all AWS.
	//
	// TrackerArn is a required field
	TrackerArn *string `type:"string" required:"true"`

	// The name of the tracker resource.
	//
	// TrackerName is a required field
	TrackerName *string `min:"1" type:"string" required:"true"`

	// The timestamp for when the tracker resource was last updated in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTrackerOutput) GoString

func (s DescribeTrackerOutput) GoString() string

GoString returns the string representation

func (*DescribeTrackerOutput) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*DescribeTrackerOutput) SetDescription

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

SetDescription sets the Description field's value.

func (*DescribeTrackerOutput) SetPricingPlan

func (s *DescribeTrackerOutput) SetPricingPlan(v string) *DescribeTrackerOutput

SetPricingPlan sets the PricingPlan field's value.

func (*DescribeTrackerOutput) SetPricingPlanDataSource

func (s *DescribeTrackerOutput) SetPricingPlanDataSource(v string) *DescribeTrackerOutput

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*DescribeTrackerOutput) SetTrackerArn

func (s *DescribeTrackerOutput) SetTrackerArn(v string) *DescribeTrackerOutput

SetTrackerArn sets the TrackerArn field's value.

func (*DescribeTrackerOutput) SetTrackerName

func (s *DescribeTrackerOutput) SetTrackerName(v string) *DescribeTrackerOutput

SetTrackerName sets the TrackerName field's value.

func (*DescribeTrackerOutput) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (DescribeTrackerOutput) String

func (s DescribeTrackerOutput) String() string

String returns the string representation

type DevicePosition

type DevicePosition struct {

	// The device whose position you retrieved.
	DeviceId *string `min:"1" type:"string"`

	// The last known device position.
	//
	// Position is a required field
	Position []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// The timestamp for when the tracker resource received the device position
	// in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html) format:
	// YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// ReceivedTime is a required field
	ReceivedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The timestamp at which the device's position was determined. Uses ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// SampleTime is a required field
	SampleTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains the device position details.

func (DevicePosition) GoString

func (s DevicePosition) GoString() string

GoString returns the string representation

func (*DevicePosition) SetDeviceId

func (s *DevicePosition) SetDeviceId(v string) *DevicePosition

SetDeviceId sets the DeviceId field's value.

func (*DevicePosition) SetPosition

func (s *DevicePosition) SetPosition(v []*float64) *DevicePosition

SetPosition sets the Position field's value.

func (*DevicePosition) SetReceivedTime

func (s *DevicePosition) SetReceivedTime(v time.Time) *DevicePosition

SetReceivedTime sets the ReceivedTime field's value.

func (*DevicePosition) SetSampleTime

func (s *DevicePosition) SetSampleTime(v time.Time) *DevicePosition

SetSampleTime sets the SampleTime field's value.

func (DevicePosition) String

func (s DevicePosition) String() string

String returns the string representation

type DevicePositionUpdate

type DevicePositionUpdate struct {

	// The device associated to the position update.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// The latest device position defined in WGS 84 (https://earth-info.nga.mil/GandG/wgs84/index.html)
	// format: [X or longitude, Y or latitude].
	//
	// Position is a required field
	Position []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// The timestamp at which the device's position was determined. Uses ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// SampleTime is a required field
	SampleTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains the position update details for a device.

func (DevicePositionUpdate) GoString

func (s DevicePositionUpdate) GoString() string

GoString returns the string representation

func (*DevicePositionUpdate) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*DevicePositionUpdate) SetPosition

func (s *DevicePositionUpdate) SetPosition(v []*float64) *DevicePositionUpdate

SetPosition sets the Position field's value.

func (*DevicePositionUpdate) SetSampleTime

func (s *DevicePositionUpdate) SetSampleTime(v time.Time) *DevicePositionUpdate

SetSampleTime sets the SampleTime field's value.

func (DevicePositionUpdate) String

func (s DevicePositionUpdate) String() string

String returns the string representation

func (*DevicePositionUpdate) Validate

func (s *DevicePositionUpdate) Validate() error

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

type DisassociateTrackerConsumerInput

type DisassociateTrackerConsumerInput struct {

	// The Amazon Resource Name (ARN) for the geofence collection to be disassociated
	// from the tracker resource. Used when you need to specify a resource across
	// all AWS.
	//
	//    * Format example: arn:partition:service:region:account-id:resource-type:resource-id
	//
	// ConsumerArn is a required field
	ConsumerArn *string `location:"uri" locationName:"ConsumerArn" type:"string" required:"true"`

	// The name of the tracker resource to be dissociated from the consumer.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateTrackerConsumerInput) GoString

GoString returns the string representation

func (*DisassociateTrackerConsumerInput) SetConsumerArn

SetConsumerArn sets the ConsumerArn field's value.

func (*DisassociateTrackerConsumerInput) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (DisassociateTrackerConsumerInput) String

String returns the string representation

func (*DisassociateTrackerConsumerInput) Validate

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

type DisassociateTrackerConsumerOutput

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

func (DisassociateTrackerConsumerOutput) GoString

GoString returns the string representation

func (DisassociateTrackerConsumerOutput) String

String returns the string representation

type GeofenceGeometry

type GeofenceGeometry struct {

	// An array of 1 or more linear rings. A linear ring is an array of 4 or more
	// vertices, where the first and last vertex are the same to form a closed boundary.
	// Each vertex is a 2-dimensional point of the form: [longitude, latitude].
	//
	// The first linear ring is an outer ring, describing the polygon's boundary.
	// Subsequent linear rings may be inner or outer rings to describe holes and
	// islands. Outer rings must list their vertices in counter-clockwise order
	// around the ring's center, where the left side is the polygon's exterior.
	// Inner rings must list their vertices in clockwise order, where the left side
	// is the polygon's interior.
	Polygon [][][]*float64 `min:"1" type:"list"`
	// contains filtered or unexported fields
}

Contains the geofence geometry details.

Amazon Location does not currently support polygons with holes, multipolygons, polygons that are wound clockwise, or that cross the antimeridian.

func (GeofenceGeometry) GoString

func (s GeofenceGeometry) GoString() string

GoString returns the string representation

func (*GeofenceGeometry) SetPolygon

func (s *GeofenceGeometry) SetPolygon(v [][][]*float64) *GeofenceGeometry

SetPolygon sets the Polygon field's value.

func (GeofenceGeometry) String

func (s GeofenceGeometry) String() string

String returns the string representation

func (*GeofenceGeometry) Validate

func (s *GeofenceGeometry) Validate() error

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

type GetDevicePositionHistoryInput

type GetDevicePositionHistoryInput struct {

	// The device whose position history you want to retrieve.
	//
	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"DeviceId" min:"1" type:"string" required:"true"`

	// Specify the end time for the position history in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time
	// that the request is made.
	//
	// Requirement:
	//
	//    * The time specified for EndTimeExclusive must be after the time for StartTimeInclusive.
	EndTimeExclusive *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The pagination token specifying which page of results to return in the response.
	// If no token is provided, the default page is the first page.
	//
	// Default value: null
	NextToken *string `min:"1" type:"string"`

	// Specify the start time for the position history in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be 24 hours
	// prior to the time that the request is made.
	//
	// Requirement:
	//
	//    * The time specified for StartTimeInclusive must be before EndTimeExclusive.
	StartTimeInclusive *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The tracker resource receiving the request for the device position history.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDevicePositionHistoryInput) GoString

GoString returns the string representation

func (*GetDevicePositionHistoryInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*GetDevicePositionHistoryInput) SetEndTimeExclusive

SetEndTimeExclusive sets the EndTimeExclusive field's value.

func (*GetDevicePositionHistoryInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetDevicePositionHistoryInput) SetStartTimeInclusive

SetStartTimeInclusive sets the StartTimeInclusive field's value.

func (*GetDevicePositionHistoryInput) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (GetDevicePositionHistoryInput) String

String returns the string representation

func (*GetDevicePositionHistoryInput) Validate

func (s *GetDevicePositionHistoryInput) Validate() error

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

type GetDevicePositionHistoryOutput

type GetDevicePositionHistoryOutput struct {

	// Contains the position history details for the requested device.
	//
	// DevicePositions is a required field
	DevicePositions []*DevicePosition `type:"list" required:"true"`

	// A pagination token indicating there are additional pages available. You can
	// use the token in a following request to fetch the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetDevicePositionHistoryOutput) GoString

GoString returns the string representation

func (*GetDevicePositionHistoryOutput) SetDevicePositions

SetDevicePositions sets the DevicePositions field's value.

func (*GetDevicePositionHistoryOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (GetDevicePositionHistoryOutput) String

String returns the string representation

type GetDevicePositionInput

type GetDevicePositionInput struct {

	// The device whose position you want to retrieve.
	//
	// DeviceId is a required field
	DeviceId *string `location:"uri" locationName:"DeviceId" min:"1" type:"string" required:"true"`

	// The tracker resource receiving the position update.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDevicePositionInput) GoString

func (s GetDevicePositionInput) GoString() string

GoString returns the string representation

func (*GetDevicePositionInput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*GetDevicePositionInput) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (GetDevicePositionInput) String

func (s GetDevicePositionInput) String() string

String returns the string representation

func (*GetDevicePositionInput) Validate

func (s *GetDevicePositionInput) Validate() error

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

type GetDevicePositionOutput

type GetDevicePositionOutput struct {

	// The device whose position you retrieved.
	DeviceId *string `min:"1" type:"string"`

	// The last known device position.
	//
	// Position is a required field
	Position []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// The timestamp for when the tracker resource received the device position
	// in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html) format:
	// YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// ReceivedTime is a required field
	ReceivedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The timestamp at which the device's position was determined. Uses ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// SampleTime is a required field
	SampleTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (GetDevicePositionOutput) GoString

func (s GetDevicePositionOutput) GoString() string

GoString returns the string representation

func (*GetDevicePositionOutput) SetDeviceId

SetDeviceId sets the DeviceId field's value.

func (*GetDevicePositionOutput) SetPosition

SetPosition sets the Position field's value.

func (*GetDevicePositionOutput) SetReceivedTime

SetReceivedTime sets the ReceivedTime field's value.

func (*GetDevicePositionOutput) SetSampleTime

SetSampleTime sets the SampleTime field's value.

func (GetDevicePositionOutput) String

func (s GetDevicePositionOutput) String() string

String returns the string representation

type GetGeofenceInput

type GetGeofenceInput struct {

	// The geofence collection storing the target geofence.
	//
	// CollectionName is a required field
	CollectionName *string `location:"uri" locationName:"CollectionName" min:"1" type:"string" required:"true"`

	// The geofence you're retrieving details for.
	//
	// GeofenceId is a required field
	GeofenceId *string `location:"uri" locationName:"GeofenceId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetGeofenceInput) GoString

func (s GetGeofenceInput) GoString() string

GoString returns the string representation

func (*GetGeofenceInput) SetCollectionName

func (s *GetGeofenceInput) SetCollectionName(v string) *GetGeofenceInput

SetCollectionName sets the CollectionName field's value.

func (*GetGeofenceInput) SetGeofenceId

func (s *GetGeofenceInput) SetGeofenceId(v string) *GetGeofenceInput

SetGeofenceId sets the GeofenceId field's value.

func (GetGeofenceInput) String

func (s GetGeofenceInput) String() string

String returns the string representation

func (*GetGeofenceInput) Validate

func (s *GetGeofenceInput) Validate() error

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

type GetGeofenceOutput

type GetGeofenceOutput struct {

	// The timestamp for when the geofence collection was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The geofence identifier.
	//
	// GeofenceId is a required field
	GeofenceId *string `min:"1" type:"string" required:"true"`

	// Contains the geofence geometry details describing a polygon.
	//
	// Geometry is a required field
	Geometry *GeofenceGeometry `type:"structure" required:"true"`

	// Identifies the state of the geofence. A geofence will hold one of the following
	// states:
	//
	//    * ACTIVE — The geofence has been indexed by the system.
	//
	//    * PENDING — The geofence is being processed by the system.
	//
	//    * FAILED — The geofence failed to be indexed by the system.
	//
	//    * DELETED — The geofence has been deleted from the system index.
	//
	//    * DELETING — The geofence is being deleted from the system index.
	//
	// Status is a required field
	Status *string `type:"string" required:"true"`

	// The timestamp for when the geofence collection was last updated in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (GetGeofenceOutput) GoString

func (s GetGeofenceOutput) GoString() string

GoString returns the string representation

func (*GetGeofenceOutput) SetCreateTime

func (s *GetGeofenceOutput) SetCreateTime(v time.Time) *GetGeofenceOutput

SetCreateTime sets the CreateTime field's value.

func (*GetGeofenceOutput) SetGeofenceId

func (s *GetGeofenceOutput) SetGeofenceId(v string) *GetGeofenceOutput

SetGeofenceId sets the GeofenceId field's value.

func (*GetGeofenceOutput) SetGeometry

SetGeometry sets the Geometry field's value.

func (*GetGeofenceOutput) SetStatus

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

SetStatus sets the Status field's value.

func (*GetGeofenceOutput) SetUpdateTime

func (s *GetGeofenceOutput) SetUpdateTime(v time.Time) *GetGeofenceOutput

SetUpdateTime sets the UpdateTime field's value.

func (GetGeofenceOutput) String

func (s GetGeofenceOutput) String() string

String returns the string representation

type GetMapGlyphsInput

type GetMapGlyphsInput struct {

	// A comma-separated list of fonts to load glyphs from in order of preference..
	// For example, Noto Sans, Arial Unicode.
	//
	// FontStack is a required field
	FontStack *string `location:"uri" locationName:"FontStack" type:"string" required:"true"`

	// A Unicode range of characters to download glyphs for. Each response will
	// contain 256 characters. For example, 0-255 includes all characters from range
	// U+0000 to 00FF. Must be aligned to multiples of 256.
	//
	// FontUnicodeRange is a required field
	FontUnicodeRange *string `location:"uri" locationName:"FontUnicodeRange" type:"string" required:"true"`

	// The map resource associated with the glyph file.
	//
	// MapName is a required field
	MapName *string `location:"uri" locationName:"MapName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMapGlyphsInput) GoString

func (s GetMapGlyphsInput) GoString() string

GoString returns the string representation

func (*GetMapGlyphsInput) SetFontStack

func (s *GetMapGlyphsInput) SetFontStack(v string) *GetMapGlyphsInput

SetFontStack sets the FontStack field's value.

func (*GetMapGlyphsInput) SetFontUnicodeRange

func (s *GetMapGlyphsInput) SetFontUnicodeRange(v string) *GetMapGlyphsInput

SetFontUnicodeRange sets the FontUnicodeRange field's value.

func (*GetMapGlyphsInput) SetMapName

func (s *GetMapGlyphsInput) SetMapName(v string) *GetMapGlyphsInput

SetMapName sets the MapName field's value.

func (GetMapGlyphsInput) String

func (s GetMapGlyphsInput) String() string

String returns the string representation

func (*GetMapGlyphsInput) Validate

func (s *GetMapGlyphsInput) Validate() error

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

type GetMapGlyphsOutput

type GetMapGlyphsOutput struct {

	// The blob's content type.
	Blob []byte `type:"blob"`

	// The map glyph content type. For example, application/octet-stream.
	ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
	// contains filtered or unexported fields
}

func (GetMapGlyphsOutput) GoString

func (s GetMapGlyphsOutput) GoString() string

GoString returns the string representation

func (*GetMapGlyphsOutput) SetBlob

func (s *GetMapGlyphsOutput) SetBlob(v []byte) *GetMapGlyphsOutput

SetBlob sets the Blob field's value.

func (*GetMapGlyphsOutput) SetContentType

func (s *GetMapGlyphsOutput) SetContentType(v string) *GetMapGlyphsOutput

SetContentType sets the ContentType field's value.

func (GetMapGlyphsOutput) String

func (s GetMapGlyphsOutput) String() string

String returns the string representation

type GetMapSpritesInput

type GetMapSpritesInput struct {

	// The name of the sprite file. Use the following file names for the sprite
	// sheet:
	//
	//    * sprites.png
	//
	//    * sprites@2x.png for high pixel density displays
	//
	// For the JSON document contain image offsets. Use the following file names:
	//
	//    * sprites.json
	//
	//    * sprites@2x.json for high pixel density displays
	//
	// FileName is a required field
	FileName *string `location:"uri" locationName:"FileName" type:"string" required:"true"`

	// The map resource associated with the sprite file.
	//
	// MapName is a required field
	MapName *string `location:"uri" locationName:"MapName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMapSpritesInput) GoString

func (s GetMapSpritesInput) GoString() string

GoString returns the string representation

func (*GetMapSpritesInput) SetFileName

func (s *GetMapSpritesInput) SetFileName(v string) *GetMapSpritesInput

SetFileName sets the FileName field's value.

func (*GetMapSpritesInput) SetMapName

func (s *GetMapSpritesInput) SetMapName(v string) *GetMapSpritesInput

SetMapName sets the MapName field's value.

func (GetMapSpritesInput) String

func (s GetMapSpritesInput) String() string

String returns the string representation

func (*GetMapSpritesInput) Validate

func (s *GetMapSpritesInput) Validate() error

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

type GetMapSpritesOutput

type GetMapSpritesOutput struct {

	// Contains the body of the sprite sheet or JSON offset file.
	Blob []byte `type:"blob"`

	// The content type of the sprite sheet and offsets. For example, the sprite
	// sheet content type is image/png, and the sprite offset JSON document is application/json.
	ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
	// contains filtered or unexported fields
}

func (GetMapSpritesOutput) GoString

func (s GetMapSpritesOutput) GoString() string

GoString returns the string representation

func (*GetMapSpritesOutput) SetBlob

func (s *GetMapSpritesOutput) SetBlob(v []byte) *GetMapSpritesOutput

SetBlob sets the Blob field's value.

func (*GetMapSpritesOutput) SetContentType

func (s *GetMapSpritesOutput) SetContentType(v string) *GetMapSpritesOutput

SetContentType sets the ContentType field's value.

func (GetMapSpritesOutput) String

func (s GetMapSpritesOutput) String() string

String returns the string representation

type GetMapStyleDescriptorInput

type GetMapStyleDescriptorInput struct {

	// The map resource to retrieve the style descriptor from.
	//
	// MapName is a required field
	MapName *string `location:"uri" locationName:"MapName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMapStyleDescriptorInput) GoString

func (s GetMapStyleDescriptorInput) GoString() string

GoString returns the string representation

func (*GetMapStyleDescriptorInput) SetMapName

SetMapName sets the MapName field's value.

func (GetMapStyleDescriptorInput) String

String returns the string representation

func (*GetMapStyleDescriptorInput) Validate

func (s *GetMapStyleDescriptorInput) Validate() error

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

type GetMapStyleDescriptorOutput

type GetMapStyleDescriptorOutput struct {

	// Contains the body of the style descriptor.
	Blob []byte `type:"blob"`

	// The style descriptor's content type. For example, application/json.
	ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
	// contains filtered or unexported fields
}

func (GetMapStyleDescriptorOutput) GoString

func (s GetMapStyleDescriptorOutput) GoString() string

GoString returns the string representation

func (*GetMapStyleDescriptorOutput) SetBlob

SetBlob sets the Blob field's value.

func (*GetMapStyleDescriptorOutput) SetContentType

SetContentType sets the ContentType field's value.

func (GetMapStyleDescriptorOutput) String

String returns the string representation

type GetMapTileInput

type GetMapTileInput struct {

	// The map resource to retrieve the map tiles from.
	//
	// MapName is a required field
	MapName *string `location:"uri" locationName:"MapName" min:"1" type:"string" required:"true"`

	// The X axis value for the map tile.
	//
	// X is a required field
	X *string `location:"uri" locationName:"X" type:"string" required:"true"`

	// The Y axis value for the map tile.
	//
	// Y is a required field
	Y *string `location:"uri" locationName:"Y" type:"string" required:"true"`

	// The zoom value for the map tile.
	//
	// Z is a required field
	Z *string `location:"uri" locationName:"Z" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMapTileInput) GoString

func (s GetMapTileInput) GoString() string

GoString returns the string representation

func (*GetMapTileInput) SetMapName

func (s *GetMapTileInput) SetMapName(v string) *GetMapTileInput

SetMapName sets the MapName field's value.

func (*GetMapTileInput) SetX

SetX sets the X field's value.

func (*GetMapTileInput) SetY

SetY sets the Y field's value.

func (*GetMapTileInput) SetZ

SetZ sets the Z field's value.

func (GetMapTileInput) String

func (s GetMapTileInput) String() string

String returns the string representation

func (*GetMapTileInput) Validate

func (s *GetMapTileInput) Validate() error

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

type GetMapTileOutput

type GetMapTileOutput struct {

	// Contains Mapbox Vector Tile (MVT) data.
	Blob []byte `type:"blob"`

	// The map tile's content type. For example, application/vnd.mapbox-vector-tile.
	ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
	// contains filtered or unexported fields
}

func (GetMapTileOutput) GoString

func (s GetMapTileOutput) GoString() string

GoString returns the string representation

func (*GetMapTileOutput) SetBlob

func (s *GetMapTileOutput) SetBlob(v []byte) *GetMapTileOutput

SetBlob sets the Blob field's value.

func (*GetMapTileOutput) SetContentType

func (s *GetMapTileOutput) SetContentType(v string) *GetMapTileOutput

SetContentType sets the ContentType field's value.

func (GetMapTileOutput) String

func (s GetMapTileOutput) String() string

String returns the string representation

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request has failed to process because of an unknown server error, exception, or failure.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation

type ListGeofenceCollectionsInput

type ListGeofenceCollectionsInput struct {

	// An optional limit for the number of resources returned in a single call.
	//
	// Default value: 100
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token specifying which page of results to return in the response.
	// If no token is provided, the default page is the first page.
	//
	// Default value: null
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGeofenceCollectionsInput) GoString

func (s ListGeofenceCollectionsInput) GoString() string

GoString returns the string representation

func (*ListGeofenceCollectionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListGeofenceCollectionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListGeofenceCollectionsInput) String

String returns the string representation

func (*ListGeofenceCollectionsInput) Validate

func (s *ListGeofenceCollectionsInput) Validate() error

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

type ListGeofenceCollectionsOutput

type ListGeofenceCollectionsOutput struct {

	// Lists the geofence collections that exist in your AWS account.
	//
	// Entries is a required field
	Entries []*ListGeofenceCollectionsResponseEntry `type:"list" required:"true"`

	// A pagination token indicating there are additional pages available. You can
	// use the token in a following request to fetch the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGeofenceCollectionsOutput) GoString

GoString returns the string representation

func (*ListGeofenceCollectionsOutput) SetEntries

SetEntries sets the Entries field's value.

func (*ListGeofenceCollectionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListGeofenceCollectionsOutput) String

String returns the string representation

type ListGeofenceCollectionsResponseEntry

type ListGeofenceCollectionsResponseEntry struct {

	// The name of the geofence collection.
	//
	// CollectionName is a required field
	CollectionName *string `min:"1" type:"string" required:"true"`

	// The timestamp for when the geofence collection was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The description for the geofence collection
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The pricing plan for the specified geofence collection.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The data source selected for the geofence collection and associated pricing
	// plan.
	PricingPlanDataSource *string `type:"string"`

	// Specifies a timestamp for when the resource was last updated in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains the geofence collection details.

func (ListGeofenceCollectionsResponseEntry) GoString

GoString returns the string representation

func (*ListGeofenceCollectionsResponseEntry) SetCollectionName

SetCollectionName sets the CollectionName field's value.

func (*ListGeofenceCollectionsResponseEntry) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ListGeofenceCollectionsResponseEntry) SetDescription

SetDescription sets the Description field's value.

func (*ListGeofenceCollectionsResponseEntry) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (*ListGeofenceCollectionsResponseEntry) SetPricingPlanDataSource

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*ListGeofenceCollectionsResponseEntry) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ListGeofenceCollectionsResponseEntry) String

String returns the string representation

type ListGeofenceResponseEntry

type ListGeofenceResponseEntry struct {

	// The timestamp for when the geofence was stored in a geofence collection in
	// ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html) format:
	// YYYY-MM-DDThh:mm:ss.sssZ
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The geofence identifier.
	//
	// GeofenceId is a required field
	GeofenceId *string `min:"1" type:"string" required:"true"`

	// Contains the geofence geometry details describing a polygon.
	//
	// Geometry is a required field
	Geometry *GeofenceGeometry `type:"structure" required:"true"`

	// Identifies the state of the geofence. A geofence will hold one of the following
	// states:
	//
	//    * ACTIVE — The geofence has been indexed by the system.
	//
	//    * PENDING — The geofence is being processed by the system.
	//
	//    * FAILED — The geofence failed to be indexed by the system.
	//
	//    * DELETED — The geofence has been deleted from the system index.
	//
	//    * DELETING — The geofence is being deleted from the system index.
	//
	// Status is a required field
	Status *string `type:"string" required:"true"`

	// The timestamp for when the geofence was last updated in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains a list of geofences stored in a given geofence collection.

func (ListGeofenceResponseEntry) GoString

func (s ListGeofenceResponseEntry) GoString() string

GoString returns the string representation

func (*ListGeofenceResponseEntry) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ListGeofenceResponseEntry) SetGeofenceId

SetGeofenceId sets the GeofenceId field's value.

func (*ListGeofenceResponseEntry) SetGeometry

SetGeometry sets the Geometry field's value.

func (*ListGeofenceResponseEntry) SetStatus

SetStatus sets the Status field's value.

func (*ListGeofenceResponseEntry) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ListGeofenceResponseEntry) String

func (s ListGeofenceResponseEntry) String() string

String returns the string representation

type ListGeofencesInput

type ListGeofencesInput struct {

	// The name of the geofence collection storing the list of geofences.
	//
	// CollectionName is a required field
	CollectionName *string `location:"uri" locationName:"CollectionName" min:"1" type:"string" required:"true"`

	// The pagination token specifying which page of results to return in the response.
	// If no token is provided, the default page is the first page.
	//
	// Default value: null
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGeofencesInput) GoString

func (s ListGeofencesInput) GoString() string

GoString returns the string representation

func (*ListGeofencesInput) SetCollectionName

func (s *ListGeofencesInput) SetCollectionName(v string) *ListGeofencesInput

SetCollectionName sets the CollectionName field's value.

func (*ListGeofencesInput) SetNextToken

func (s *ListGeofencesInput) SetNextToken(v string) *ListGeofencesInput

SetNextToken sets the NextToken field's value.

func (ListGeofencesInput) String

func (s ListGeofencesInput) String() string

String returns the string representation

func (*ListGeofencesInput) Validate

func (s *ListGeofencesInput) Validate() error

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

type ListGeofencesOutput

type ListGeofencesOutput struct {

	// Contains a list of geofences stored in the geofence collection.
	//
	// Entries is a required field
	Entries []*ListGeofenceResponseEntry `type:"list" required:"true"`

	// A pagination token indicating there are additional pages available. You can
	// use the token in a following request to fetch the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListGeofencesOutput) GoString

func (s ListGeofencesOutput) GoString() string

GoString returns the string representation

func (*ListGeofencesOutput) SetEntries

SetEntries sets the Entries field's value.

func (*ListGeofencesOutput) SetNextToken

func (s *ListGeofencesOutput) SetNextToken(v string) *ListGeofencesOutput

SetNextToken sets the NextToken field's value.

func (ListGeofencesOutput) String

func (s ListGeofencesOutput) String() string

String returns the string representation

type ListMapsInput

type ListMapsInput struct {

	// An optional limit for the number of resources returned in a single call.
	//
	// Default value: 100
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token specifying which page of results to return in the response.
	// If no token is provided, the default page is the first page.
	//
	// Default value: null
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMapsInput) GoString

func (s ListMapsInput) GoString() string

GoString returns the string representation

func (*ListMapsInput) SetMaxResults

func (s *ListMapsInput) SetMaxResults(v int64) *ListMapsInput

SetMaxResults sets the MaxResults field's value.

func (*ListMapsInput) SetNextToken

func (s *ListMapsInput) SetNextToken(v string) *ListMapsInput

SetNextToken sets the NextToken field's value.

func (ListMapsInput) String

func (s ListMapsInput) String() string

String returns the string representation

func (*ListMapsInput) Validate

func (s *ListMapsInput) Validate() error

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

type ListMapsOutput

type ListMapsOutput struct {

	// Contains a list of maps in your AWS account
	//
	// Entries is a required field
	Entries []*ListMapsResponseEntry `type:"list" required:"true"`

	// A pagination token indicating there are additional pages available. You can
	// use the token in a following request to fetch the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListMapsOutput) GoString

func (s ListMapsOutput) GoString() string

GoString returns the string representation

func (*ListMapsOutput) SetEntries

SetEntries sets the Entries field's value.

func (*ListMapsOutput) SetNextToken

func (s *ListMapsOutput) SetNextToken(v string) *ListMapsOutput

SetNextToken sets the NextToken field's value.

func (ListMapsOutput) String

func (s ListMapsOutput) String() string

String returns the string representation

type ListMapsResponseEntry

type ListMapsResponseEntry struct {

	// The timestamp for when the map resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// Specifies the data provider for the associated map tiles.
	//
	// DataSource is a required field
	DataSource *string `type:"string" required:"true"`

	// The description for the map resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The name of the associated map resource.
	//
	// MapName is a required field
	MapName *string `min:"1" type:"string" required:"true"`

	// The pricing plan for the specified map resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The timestamp for when the map resource was last updated in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains details of an existing map resource in your AWS account.

func (ListMapsResponseEntry) GoString

func (s ListMapsResponseEntry) GoString() string

GoString returns the string representation

func (*ListMapsResponseEntry) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ListMapsResponseEntry) SetDataSource

func (s *ListMapsResponseEntry) SetDataSource(v string) *ListMapsResponseEntry

SetDataSource sets the DataSource field's value.

func (*ListMapsResponseEntry) SetDescription

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

SetDescription sets the Description field's value.

func (*ListMapsResponseEntry) SetMapName

SetMapName sets the MapName field's value.

func (*ListMapsResponseEntry) SetPricingPlan

func (s *ListMapsResponseEntry) SetPricingPlan(v string) *ListMapsResponseEntry

SetPricingPlan sets the PricingPlan field's value.

func (*ListMapsResponseEntry) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ListMapsResponseEntry) String

func (s ListMapsResponseEntry) String() string

String returns the string representation

type ListPlaceIndexesInput

type ListPlaceIndexesInput struct {

	// An optional limit for the maximum number of results returned in a single
	// call.
	//
	// Default value: 100
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token specifying which page of results to return in the response.
	// If no token is provided, the default page is the first page.
	//
	// Default value: null
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListPlaceIndexesInput) GoString

func (s ListPlaceIndexesInput) GoString() string

GoString returns the string representation

func (*ListPlaceIndexesInput) SetMaxResults

func (s *ListPlaceIndexesInput) SetMaxResults(v int64) *ListPlaceIndexesInput

SetMaxResults sets the MaxResults field's value.

func (*ListPlaceIndexesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListPlaceIndexesInput) String

func (s ListPlaceIndexesInput) String() string

String returns the string representation

func (*ListPlaceIndexesInput) Validate

func (s *ListPlaceIndexesInput) Validate() error

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

type ListPlaceIndexesOutput

type ListPlaceIndexesOutput struct {

	// Lists the Place index resources that exist in your AWS account
	//
	// Entries is a required field
	Entries []*ListPlaceIndexesResponseEntry `type:"list" required:"true"`

	// A pagination token indicating there are additional pages available. You can
	// use the token in a following request to fetch the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListPlaceIndexesOutput) GoString

func (s ListPlaceIndexesOutput) GoString() string

GoString returns the string representation

func (*ListPlaceIndexesOutput) SetEntries

SetEntries sets the Entries field's value.

func (*ListPlaceIndexesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListPlaceIndexesOutput) String

func (s ListPlaceIndexesOutput) String() string

String returns the string representation

type ListPlaceIndexesResponseEntry

type ListPlaceIndexesResponseEntry struct {

	// The timestamp for when the Place index resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The data provider of geospatial data. Indicates one of the available providers:
	//
	//    * Esri
	//
	//    * HERE
	//
	// For additional details on data providers, see the Amazon Location Service
	// data providers page (https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html).
	//
	// DataSource is a required field
	DataSource *string `type:"string" required:"true"`

	// The optional description for the Place index resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The name of the Place index resource.
	//
	// IndexName is a required field
	IndexName *string `min:"1" type:"string" required:"true"`

	// The pricing plan for the specified Place index resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The timestamp for when the Place index resource was last updated in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

A Place index resource listed in your AWS account.

func (ListPlaceIndexesResponseEntry) GoString

GoString returns the string representation

func (*ListPlaceIndexesResponseEntry) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ListPlaceIndexesResponseEntry) SetDataSource

SetDataSource sets the DataSource field's value.

func (*ListPlaceIndexesResponseEntry) SetDescription

SetDescription sets the Description field's value.

func (*ListPlaceIndexesResponseEntry) SetIndexName

SetIndexName sets the IndexName field's value.

func (*ListPlaceIndexesResponseEntry) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (*ListPlaceIndexesResponseEntry) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ListPlaceIndexesResponseEntry) String

String returns the string representation

type ListTrackerConsumersInput

type ListTrackerConsumersInput struct {

	// An optional limit for the number of resources returned in a single call.
	//
	// Default value: 100
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token specifying which page of results to return in the response.
	// If no token is provided, the default page is the first page.
	//
	// Default value: null
	NextToken *string `min:"1" type:"string"`

	// The tracker resource whose associated geofence collections you want to list.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTrackerConsumersInput) GoString

func (s ListTrackerConsumersInput) GoString() string

GoString returns the string representation

func (*ListTrackerConsumersInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListTrackerConsumersInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTrackerConsumersInput) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (ListTrackerConsumersInput) String

func (s ListTrackerConsumersInput) String() string

String returns the string representation

func (*ListTrackerConsumersInput) Validate

func (s *ListTrackerConsumersInput) Validate() error

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

type ListTrackerConsumersOutput

type ListTrackerConsumersOutput struct {

	// Contains the list of geofence collection ARNs associated to the tracker resource.
	//
	// ConsumerArns is a required field
	ConsumerArns []*string `type:"list" required:"true"`

	// A pagination token indicating there are additional pages available. You can
	// use the token in a following request to fetch the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListTrackerConsumersOutput) GoString

func (s ListTrackerConsumersOutput) GoString() string

GoString returns the string representation

func (*ListTrackerConsumersOutput) SetConsumerArns

SetConsumerArns sets the ConsumerArns field's value.

func (*ListTrackerConsumersOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListTrackerConsumersOutput) String

String returns the string representation

type ListTrackersInput

type ListTrackersInput struct {

	// An optional limit for the number of resources returned in a single call.
	//
	// Default value: 100
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token specifying which page of results to return in the response.
	// If no token is provided, the default page is the first page.
	//
	// Default value: null
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListTrackersInput) GoString

func (s ListTrackersInput) GoString() string

GoString returns the string representation

func (*ListTrackersInput) SetMaxResults

func (s *ListTrackersInput) SetMaxResults(v int64) *ListTrackersInput

SetMaxResults sets the MaxResults field's value.

func (*ListTrackersInput) SetNextToken

func (s *ListTrackersInput) SetNextToken(v string) *ListTrackersInput

SetNextToken sets the NextToken field's value.

func (ListTrackersInput) String

func (s ListTrackersInput) String() string

String returns the string representation

func (*ListTrackersInput) Validate

func (s *ListTrackersInput) Validate() error

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

type ListTrackersOutput

type ListTrackersOutput struct {

	// Contains tracker resources in your AWS account. Details include tracker name,
	// description and timestamps for when the tracker was created and last updated.
	//
	// Entries is a required field
	Entries []*ListTrackersResponseEntry `type:"list" required:"true"`

	// A pagination token indicating there are additional pages available. You can
	// use the token in a following request to fetch the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListTrackersOutput) GoString

func (s ListTrackersOutput) GoString() string

GoString returns the string representation

func (*ListTrackersOutput) SetEntries

SetEntries sets the Entries field's value.

func (*ListTrackersOutput) SetNextToken

func (s *ListTrackersOutput) SetNextToken(v string) *ListTrackersOutput

SetNextToken sets the NextToken field's value.

func (ListTrackersOutput) String

func (s ListTrackersOutput) String() string

String returns the string representation

type ListTrackersResponseEntry

type ListTrackersResponseEntry struct {

	// The timestamp for when the tracker resource was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The description for the tracker resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The pricing plan for the specified tracker resource.
	//
	// For additional details and restrictions on each pricing plan option, see
	// the Amazon Location Service pricing page (https://aws.amazon.com/location/pricing/).
	//
	// PricingPlan is a required field
	PricingPlan *string `type:"string" required:"true" enum:"PricingPlan"`

	// The data source selected for the tracker resource and associated pricing
	// plan.
	PricingPlanDataSource *string `type:"string"`

	// The name of the tracker resource.
	//
	// TrackerName is a required field
	TrackerName *string `min:"1" type:"string" required:"true"`

	// The timestamp at which the device's position was determined. Uses ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

Contains the tracker resource details.

func (ListTrackersResponseEntry) GoString

func (s ListTrackersResponseEntry) GoString() string

GoString returns the string representation

func (*ListTrackersResponseEntry) SetCreateTime

SetCreateTime sets the CreateTime field's value.

func (*ListTrackersResponseEntry) SetDescription

SetDescription sets the Description field's value.

func (*ListTrackersResponseEntry) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (*ListTrackersResponseEntry) SetPricingPlanDataSource

func (s *ListTrackersResponseEntry) SetPricingPlanDataSource(v string) *ListTrackersResponseEntry

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*ListTrackersResponseEntry) SetTrackerName

SetTrackerName sets the TrackerName field's value.

func (*ListTrackersResponseEntry) SetUpdateTime

SetUpdateTime sets the UpdateTime field's value.

func (ListTrackersResponseEntry) String

func (s ListTrackersResponseEntry) String() string

String returns the string representation

type LocationService

type LocationService struct {
	*client.Client
}

LocationService provides the API operation methods for making requests to Amazon Location Service. See this package's package overview docs for details on the service.

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

func New

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

Example:

mySession := session.Must(session.NewSession())

// Create a LocationService client from just a session.
svc := locationservice.New(mySession)

// Create a LocationService client with additional configuration
svc := locationservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*LocationService) AssociateTrackerConsumer

AssociateTrackerConsumer API operation for Amazon Location Service.

Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.

Currently not supported — Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation AssociateTrackerConsumer for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • ConflictException The request was unsuccessful due to a conflict.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/AssociateTrackerConsumer

func (*LocationService) AssociateTrackerConsumerRequest

func (c *LocationService) AssociateTrackerConsumerRequest(input *AssociateTrackerConsumerInput) (req *request.Request, output *AssociateTrackerConsumerOutput)

AssociateTrackerConsumerRequest generates a "aws/request.Request" representing the client's request for the AssociateTrackerConsumer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateTrackerConsumer for more information on using the AssociateTrackerConsumer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateTrackerConsumerRequest method.
req, resp := client.AssociateTrackerConsumerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/AssociateTrackerConsumer

func (*LocationService) AssociateTrackerConsumerWithContext

func (c *LocationService) AssociateTrackerConsumerWithContext(ctx aws.Context, input *AssociateTrackerConsumerInput, opts ...request.Option) (*AssociateTrackerConsumerOutput, error)

AssociateTrackerConsumerWithContext is the same as AssociateTrackerConsumer with the addition of the ability to pass a context and additional request options.

See AssociateTrackerConsumer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) BatchDeleteGeofence

func (c *LocationService) BatchDeleteGeofence(input *BatchDeleteGeofenceInput) (*BatchDeleteGeofenceOutput, error)

BatchDeleteGeofence API operation for Amazon Location Service.

Deletes a batch of geofences from a geofence collection.

This action deletes the resource permanently. You can't undo this action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation BatchDeleteGeofence for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchDeleteGeofence

func (*LocationService) BatchDeleteGeofenceRequest

func (c *LocationService) BatchDeleteGeofenceRequest(input *BatchDeleteGeofenceInput) (req *request.Request, output *BatchDeleteGeofenceOutput)

BatchDeleteGeofenceRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteGeofence operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDeleteGeofence for more information on using the BatchDeleteGeofence API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDeleteGeofenceRequest method.
req, resp := client.BatchDeleteGeofenceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchDeleteGeofence

func (*LocationService) BatchDeleteGeofenceWithContext

func (c *LocationService) BatchDeleteGeofenceWithContext(ctx aws.Context, input *BatchDeleteGeofenceInput, opts ...request.Option) (*BatchDeleteGeofenceOutput, error)

BatchDeleteGeofenceWithContext is the same as BatchDeleteGeofence with the addition of the ability to pass a context and additional request options.

See BatchDeleteGeofence for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) BatchEvaluateGeofences

func (c *LocationService) BatchEvaluateGeofences(input *BatchEvaluateGeofencesInput) (*BatchEvaluateGeofencesOutput, error)

BatchEvaluateGeofences API operation for Amazon Location Service.

Evaluates device positions against the geofence geometries from a given geofence collection. The evaluation determines if the device has entered or exited a geofenced area, which publishes ENTER or EXIT geofence events to Amazon EventBridge.

The last geofence that a device was observed within, if any, is tracked for 30 days after the most recent device position update

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation BatchEvaluateGeofences for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchEvaluateGeofences

func (*LocationService) BatchEvaluateGeofencesRequest

func (c *LocationService) BatchEvaluateGeofencesRequest(input *BatchEvaluateGeofencesInput) (req *request.Request, output *BatchEvaluateGeofencesOutput)

BatchEvaluateGeofencesRequest generates a "aws/request.Request" representing the client's request for the BatchEvaluateGeofences operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchEvaluateGeofences for more information on using the BatchEvaluateGeofences API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchEvaluateGeofencesRequest method.
req, resp := client.BatchEvaluateGeofencesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchEvaluateGeofences

func (*LocationService) BatchEvaluateGeofencesWithContext

func (c *LocationService) BatchEvaluateGeofencesWithContext(ctx aws.Context, input *BatchEvaluateGeofencesInput, opts ...request.Option) (*BatchEvaluateGeofencesOutput, error)

BatchEvaluateGeofencesWithContext is the same as BatchEvaluateGeofences with the addition of the ability to pass a context and additional request options.

See BatchEvaluateGeofences for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) BatchGetDevicePosition

func (c *LocationService) BatchGetDevicePosition(input *BatchGetDevicePositionInput) (*BatchGetDevicePositionOutput, error)

BatchGetDevicePosition API operation for Amazon Location Service.

A batch request to retrieve all device positions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation BatchGetDevicePosition for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchGetDevicePosition

func (*LocationService) BatchGetDevicePositionRequest

func (c *LocationService) BatchGetDevicePositionRequest(input *BatchGetDevicePositionInput) (req *request.Request, output *BatchGetDevicePositionOutput)

BatchGetDevicePositionRequest generates a "aws/request.Request" representing the client's request for the BatchGetDevicePosition operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetDevicePosition for more information on using the BatchGetDevicePosition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetDevicePositionRequest method.
req, resp := client.BatchGetDevicePositionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchGetDevicePosition

func (*LocationService) BatchGetDevicePositionWithContext

func (c *LocationService) BatchGetDevicePositionWithContext(ctx aws.Context, input *BatchGetDevicePositionInput, opts ...request.Option) (*BatchGetDevicePositionOutput, error)

BatchGetDevicePositionWithContext is the same as BatchGetDevicePosition with the addition of the ability to pass a context and additional request options.

See BatchGetDevicePosition for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) BatchPutGeofence

func (c *LocationService) BatchPutGeofence(input *BatchPutGeofenceInput) (*BatchPutGeofenceOutput, error)

BatchPutGeofence API operation for Amazon Location Service.

A batch request for storing geofence geometries into a given geofence collection.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation BatchPutGeofence for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchPutGeofence

func (*LocationService) BatchPutGeofenceRequest

func (c *LocationService) BatchPutGeofenceRequest(input *BatchPutGeofenceInput) (req *request.Request, output *BatchPutGeofenceOutput)

BatchPutGeofenceRequest generates a "aws/request.Request" representing the client's request for the BatchPutGeofence operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchPutGeofence for more information on using the BatchPutGeofence API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchPutGeofenceRequest method.
req, resp := client.BatchPutGeofenceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchPutGeofence

func (*LocationService) BatchPutGeofenceWithContext

func (c *LocationService) BatchPutGeofenceWithContext(ctx aws.Context, input *BatchPutGeofenceInput, opts ...request.Option) (*BatchPutGeofenceOutput, error)

BatchPutGeofenceWithContext is the same as BatchPutGeofence with the addition of the ability to pass a context and additional request options.

See BatchPutGeofence for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) BatchUpdateDevicePosition

BatchUpdateDevicePosition API operation for Amazon Location Service.

Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when reporting the last known device position and position history.

Only one position update is stored per sample time. Location data is sampled at a fixed rate of one position per 30-second interval, and retained for one year before it is deleted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation BatchUpdateDevicePosition for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchUpdateDevicePosition

func (*LocationService) BatchUpdateDevicePositionRequest

func (c *LocationService) BatchUpdateDevicePositionRequest(input *BatchUpdateDevicePositionInput) (req *request.Request, output *BatchUpdateDevicePositionOutput)

BatchUpdateDevicePositionRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateDevicePosition operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchUpdateDevicePosition for more information on using the BatchUpdateDevicePosition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchUpdateDevicePositionRequest method.
req, resp := client.BatchUpdateDevicePositionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchUpdateDevicePosition

func (*LocationService) BatchUpdateDevicePositionWithContext

func (c *LocationService) BatchUpdateDevicePositionWithContext(ctx aws.Context, input *BatchUpdateDevicePositionInput, opts ...request.Option) (*BatchUpdateDevicePositionOutput, error)

BatchUpdateDevicePositionWithContext is the same as BatchUpdateDevicePosition with the addition of the ability to pass a context and additional request options.

See BatchUpdateDevicePosition for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) CreateGeofenceCollection

CreateGeofenceCollection API operation for Amazon Location Service.

Creates a geofence collection, which manages and stores geofences.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation CreateGeofenceCollection for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ConflictException The request was unsuccessful due to a conflict.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateGeofenceCollection

func (*LocationService) CreateGeofenceCollectionRequest

func (c *LocationService) CreateGeofenceCollectionRequest(input *CreateGeofenceCollectionInput) (req *request.Request, output *CreateGeofenceCollectionOutput)

CreateGeofenceCollectionRequest generates a "aws/request.Request" representing the client's request for the CreateGeofenceCollection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateGeofenceCollection for more information on using the CreateGeofenceCollection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateGeofenceCollectionRequest method.
req, resp := client.CreateGeofenceCollectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateGeofenceCollection

func (*LocationService) CreateGeofenceCollectionWithContext

func (c *LocationService) CreateGeofenceCollectionWithContext(ctx aws.Context, input *CreateGeofenceCollectionInput, opts ...request.Option) (*CreateGeofenceCollectionOutput, error)

CreateGeofenceCollectionWithContext is the same as CreateGeofenceCollection with the addition of the ability to pass a context and additional request options.

See CreateGeofenceCollection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) CreateMap

func (c *LocationService) CreateMap(input *CreateMapInput) (*CreateMapOutput, error)

CreateMap API operation for Amazon Location Service.

Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.

By using Maps, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using. For more information, see the AWS Service Terms (https://aws.amazon.com/service-terms/) for Amazon Location Service.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation CreateMap for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ConflictException The request was unsuccessful due to a conflict.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateMap

func (*LocationService) CreateMapRequest

func (c *LocationService) CreateMapRequest(input *CreateMapInput) (req *request.Request, output *CreateMapOutput)

CreateMapRequest generates a "aws/request.Request" representing the client's request for the CreateMap operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMap for more information on using the CreateMap API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMapRequest method.
req, resp := client.CreateMapRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateMap

func (*LocationService) CreateMapWithContext

func (c *LocationService) CreateMapWithContext(ctx aws.Context, input *CreateMapInput, opts ...request.Option) (*CreateMapOutput, error)

CreateMapWithContext is the same as CreateMap with the addition of the ability to pass a context and additional request options.

See CreateMap for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) CreatePlaceIndex

func (c *LocationService) CreatePlaceIndex(input *CreatePlaceIndexInput) (*CreatePlaceIndexOutput, error)

CreatePlaceIndex API operation for Amazon Location Service.

Creates a Place index resource in your AWS account, which supports Places functions with geospatial data sourced from your chosen data provider.

By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.

Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms (https://aws.amazon.com/service-terms/) for Amazon Location Service.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation CreatePlaceIndex for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ConflictException The request was unsuccessful due to a conflict.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreatePlaceIndex

func (*LocationService) CreatePlaceIndexRequest

func (c *LocationService) CreatePlaceIndexRequest(input *CreatePlaceIndexInput) (req *request.Request, output *CreatePlaceIndexOutput)

CreatePlaceIndexRequest generates a "aws/request.Request" representing the client's request for the CreatePlaceIndex operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePlaceIndex for more information on using the CreatePlaceIndex API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePlaceIndexRequest method.
req, resp := client.CreatePlaceIndexRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreatePlaceIndex

func (*LocationService) CreatePlaceIndexWithContext

func (c *LocationService) CreatePlaceIndexWithContext(ctx aws.Context, input *CreatePlaceIndexInput, opts ...request.Option) (*CreatePlaceIndexOutput, error)

CreatePlaceIndexWithContext is the same as CreatePlaceIndex with the addition of the ability to pass a context and additional request options.

See CreatePlaceIndex for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) CreateTracker

func (c *LocationService) CreateTracker(input *CreateTrackerInput) (*CreateTrackerOutput, error)

CreateTracker API operation for Amazon Location Service.

Creates a tracker resource in your AWS account, which lets you retrieve current and historical location of devices.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation CreateTracker for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ConflictException The request was unsuccessful due to a conflict.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateTracker

func (*LocationService) CreateTrackerRequest

func (c *LocationService) CreateTrackerRequest(input *CreateTrackerInput) (req *request.Request, output *CreateTrackerOutput)

CreateTrackerRequest generates a "aws/request.Request" representing the client's request for the CreateTracker operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateTracker for more information on using the CreateTracker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateTrackerRequest method.
req, resp := client.CreateTrackerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateTracker

func (*LocationService) CreateTrackerWithContext

func (c *LocationService) CreateTrackerWithContext(ctx aws.Context, input *CreateTrackerInput, opts ...request.Option) (*CreateTrackerOutput, error)

CreateTrackerWithContext is the same as CreateTracker with the addition of the ability to pass a context and additional request options.

See CreateTracker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DeleteGeofenceCollection

DeleteGeofenceCollection API operation for Amazon Location Service.

Deletes a geofence collection from your AWS account.

This action deletes the resource permanently. You can't undo this action. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DeleteGeofenceCollection for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteGeofenceCollection

func (*LocationService) DeleteGeofenceCollectionRequest

func (c *LocationService) DeleteGeofenceCollectionRequest(input *DeleteGeofenceCollectionInput) (req *request.Request, output *DeleteGeofenceCollectionOutput)

DeleteGeofenceCollectionRequest generates a "aws/request.Request" representing the client's request for the DeleteGeofenceCollection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteGeofenceCollection for more information on using the DeleteGeofenceCollection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteGeofenceCollectionRequest method.
req, resp := client.DeleteGeofenceCollectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteGeofenceCollection

func (*LocationService) DeleteGeofenceCollectionWithContext

func (c *LocationService) DeleteGeofenceCollectionWithContext(ctx aws.Context, input *DeleteGeofenceCollectionInput, opts ...request.Option) (*DeleteGeofenceCollectionOutput, error)

DeleteGeofenceCollectionWithContext is the same as DeleteGeofenceCollection with the addition of the ability to pass a context and additional request options.

See DeleteGeofenceCollection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DeleteMap

func (c *LocationService) DeleteMap(input *DeleteMapInput) (*DeleteMapOutput, error)

DeleteMap API operation for Amazon Location Service.

Deletes a map resource from your AWS account.

This action deletes the resource permanently. You cannot undo this action. If the map is being used in an application, the map may not render.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DeleteMap for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteMap

func (*LocationService) DeleteMapRequest

func (c *LocationService) DeleteMapRequest(input *DeleteMapInput) (req *request.Request, output *DeleteMapOutput)

DeleteMapRequest generates a "aws/request.Request" representing the client's request for the DeleteMap operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMap for more information on using the DeleteMap API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMapRequest method.
req, resp := client.DeleteMapRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteMap

func (*LocationService) DeleteMapWithContext

func (c *LocationService) DeleteMapWithContext(ctx aws.Context, input *DeleteMapInput, opts ...request.Option) (*DeleteMapOutput, error)

DeleteMapWithContext is the same as DeleteMap with the addition of the ability to pass a context and additional request options.

See DeleteMap for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DeletePlaceIndex

func (c *LocationService) DeletePlaceIndex(input *DeletePlaceIndexInput) (*DeletePlaceIndexOutput, error)

DeletePlaceIndex API operation for Amazon Location Service.

Deletes a Place index resource from your AWS account.

This action deletes the resource permanently. You cannot undo this action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DeletePlaceIndex for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeletePlaceIndex

func (*LocationService) DeletePlaceIndexRequest

func (c *LocationService) DeletePlaceIndexRequest(input *DeletePlaceIndexInput) (req *request.Request, output *DeletePlaceIndexOutput)

DeletePlaceIndexRequest generates a "aws/request.Request" representing the client's request for the DeletePlaceIndex operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePlaceIndex for more information on using the DeletePlaceIndex API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePlaceIndexRequest method.
req, resp := client.DeletePlaceIndexRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeletePlaceIndex

func (*LocationService) DeletePlaceIndexWithContext

func (c *LocationService) DeletePlaceIndexWithContext(ctx aws.Context, input *DeletePlaceIndexInput, opts ...request.Option) (*DeletePlaceIndexOutput, error)

DeletePlaceIndexWithContext is the same as DeletePlaceIndex with the addition of the ability to pass a context and additional request options.

See DeletePlaceIndex for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DeleteTracker

func (c *LocationService) DeleteTracker(input *DeleteTrackerInput) (*DeleteTrackerOutput, error)

DeleteTracker API operation for Amazon Location Service.

Deletes a tracker resource from your AWS account.

This action deletes the resource permanently. You can't undo this action. If the tracker resource is in use, you may encounter an error. Make sure that the target resource is not a dependency for your applications.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DeleteTracker for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteTracker

func (*LocationService) DeleteTrackerRequest

func (c *LocationService) DeleteTrackerRequest(input *DeleteTrackerInput) (req *request.Request, output *DeleteTrackerOutput)

DeleteTrackerRequest generates a "aws/request.Request" representing the client's request for the DeleteTracker operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTracker for more information on using the DeleteTracker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTrackerRequest method.
req, resp := client.DeleteTrackerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteTracker

func (*LocationService) DeleteTrackerWithContext

func (c *LocationService) DeleteTrackerWithContext(ctx aws.Context, input *DeleteTrackerInput, opts ...request.Option) (*DeleteTrackerOutput, error)

DeleteTrackerWithContext is the same as DeleteTracker with the addition of the ability to pass a context and additional request options.

See DeleteTracker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DescribeGeofenceCollection

DescribeGeofenceCollection API operation for Amazon Location Service.

Retrieves the geofence collection details.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DescribeGeofenceCollection for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeGeofenceCollection

func (*LocationService) DescribeGeofenceCollectionRequest

func (c *LocationService) DescribeGeofenceCollectionRequest(input *DescribeGeofenceCollectionInput) (req *request.Request, output *DescribeGeofenceCollectionOutput)

DescribeGeofenceCollectionRequest generates a "aws/request.Request" representing the client's request for the DescribeGeofenceCollection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeGeofenceCollection for more information on using the DescribeGeofenceCollection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeGeofenceCollectionRequest method.
req, resp := client.DescribeGeofenceCollectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeGeofenceCollection

func (*LocationService) DescribeGeofenceCollectionWithContext

func (c *LocationService) DescribeGeofenceCollectionWithContext(ctx aws.Context, input *DescribeGeofenceCollectionInput, opts ...request.Option) (*DescribeGeofenceCollectionOutput, error)

DescribeGeofenceCollectionWithContext is the same as DescribeGeofenceCollection with the addition of the ability to pass a context and additional request options.

See DescribeGeofenceCollection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DescribeMap

func (c *LocationService) DescribeMap(input *DescribeMapInput) (*DescribeMapOutput, error)

DescribeMap API operation for Amazon Location Service.

Retrieves the map resource details.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DescribeMap for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeMap

func (*LocationService) DescribeMapRequest

func (c *LocationService) DescribeMapRequest(input *DescribeMapInput) (req *request.Request, output *DescribeMapOutput)

DescribeMapRequest generates a "aws/request.Request" representing the client's request for the DescribeMap operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeMap for more information on using the DescribeMap API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeMapRequest method.
req, resp := client.DescribeMapRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeMap

func (*LocationService) DescribeMapWithContext

func (c *LocationService) DescribeMapWithContext(ctx aws.Context, input *DescribeMapInput, opts ...request.Option) (*DescribeMapOutput, error)

DescribeMapWithContext is the same as DescribeMap with the addition of the ability to pass a context and additional request options.

See DescribeMap for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DescribePlaceIndex

func (c *LocationService) DescribePlaceIndex(input *DescribePlaceIndexInput) (*DescribePlaceIndexOutput, error)

DescribePlaceIndex API operation for Amazon Location Service.

Retrieves the Place index resource details.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DescribePlaceIndex for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribePlaceIndex

func (*LocationService) DescribePlaceIndexRequest

func (c *LocationService) DescribePlaceIndexRequest(input *DescribePlaceIndexInput) (req *request.Request, output *DescribePlaceIndexOutput)

DescribePlaceIndexRequest generates a "aws/request.Request" representing the client's request for the DescribePlaceIndex operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribePlaceIndex for more information on using the DescribePlaceIndex API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribePlaceIndexRequest method.
req, resp := client.DescribePlaceIndexRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribePlaceIndex

func (*LocationService) DescribePlaceIndexWithContext

func (c *LocationService) DescribePlaceIndexWithContext(ctx aws.Context, input *DescribePlaceIndexInput, opts ...request.Option) (*DescribePlaceIndexOutput, error)

DescribePlaceIndexWithContext is the same as DescribePlaceIndex with the addition of the ability to pass a context and additional request options.

See DescribePlaceIndex for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DescribeTracker

func (c *LocationService) DescribeTracker(input *DescribeTrackerInput) (*DescribeTrackerOutput, error)

DescribeTracker API operation for Amazon Location Service.

Retrieves the tracker resource details.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DescribeTracker for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeTracker

func (*LocationService) DescribeTrackerRequest

func (c *LocationService) DescribeTrackerRequest(input *DescribeTrackerInput) (req *request.Request, output *DescribeTrackerOutput)

DescribeTrackerRequest generates a "aws/request.Request" representing the client's request for the DescribeTracker operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeTracker for more information on using the DescribeTracker API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeTrackerRequest method.
req, resp := client.DescribeTrackerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeTracker

func (*LocationService) DescribeTrackerWithContext

func (c *LocationService) DescribeTrackerWithContext(ctx aws.Context, input *DescribeTrackerInput, opts ...request.Option) (*DescribeTrackerOutput, error)

DescribeTrackerWithContext is the same as DescribeTracker with the addition of the ability to pass a context and additional request options.

See DescribeTracker for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) DisassociateTrackerConsumer

DisassociateTrackerConsumer API operation for Amazon Location Service.

Removes the association between a tracker resource and a geofence collection.

Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation DisassociateTrackerConsumer for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DisassociateTrackerConsumer

func (*LocationService) DisassociateTrackerConsumerRequest

func (c *LocationService) DisassociateTrackerConsumerRequest(input *DisassociateTrackerConsumerInput) (req *request.Request, output *DisassociateTrackerConsumerOutput)

DisassociateTrackerConsumerRequest generates a "aws/request.Request" representing the client's request for the DisassociateTrackerConsumer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateTrackerConsumer for more information on using the DisassociateTrackerConsumer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateTrackerConsumerRequest method.
req, resp := client.DisassociateTrackerConsumerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DisassociateTrackerConsumer

func (*LocationService) DisassociateTrackerConsumerWithContext

func (c *LocationService) DisassociateTrackerConsumerWithContext(ctx aws.Context, input *DisassociateTrackerConsumerInput, opts ...request.Option) (*DisassociateTrackerConsumerOutput, error)

DisassociateTrackerConsumerWithContext is the same as DisassociateTrackerConsumer with the addition of the ability to pass a context and additional request options.

See DisassociateTrackerConsumer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetDevicePosition

func (c *LocationService) GetDevicePosition(input *GetDevicePositionInput) (*GetDevicePositionOutput, error)

GetDevicePosition API operation for Amazon Location Service.

Retrieves a device's most recent position according to its sample time.

Device positions are deleted after one year.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation GetDevicePosition for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePosition

func (*LocationService) GetDevicePositionHistory

GetDevicePositionHistory API operation for Amazon Location Service.

Retrieves the device position history from a tracker resource within a specified range of time.

Device positions are deleted after 1 year.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation GetDevicePositionHistory for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePositionHistory

func (*LocationService) GetDevicePositionHistoryPages

func (c *LocationService) GetDevicePositionHistoryPages(input *GetDevicePositionHistoryInput, fn func(*GetDevicePositionHistoryOutput, bool) bool) error

GetDevicePositionHistoryPages iterates over the pages of a GetDevicePositionHistory operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetDevicePositionHistory method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetDevicePositionHistory operation.
pageNum := 0
err := client.GetDevicePositionHistoryPages(params,
    func(page *locationservice.GetDevicePositionHistoryOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) GetDevicePositionHistoryPagesWithContext

func (c *LocationService) GetDevicePositionHistoryPagesWithContext(ctx aws.Context, input *GetDevicePositionHistoryInput, fn func(*GetDevicePositionHistoryOutput, bool) bool, opts ...request.Option) error

GetDevicePositionHistoryPagesWithContext same as GetDevicePositionHistoryPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetDevicePositionHistoryRequest

func (c *LocationService) GetDevicePositionHistoryRequest(input *GetDevicePositionHistoryInput) (req *request.Request, output *GetDevicePositionHistoryOutput)

GetDevicePositionHistoryRequest generates a "aws/request.Request" representing the client's request for the GetDevicePositionHistory operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDevicePositionHistory for more information on using the GetDevicePositionHistory API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDevicePositionHistoryRequest method.
req, resp := client.GetDevicePositionHistoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePositionHistory

func (*LocationService) GetDevicePositionHistoryWithContext

func (c *LocationService) GetDevicePositionHistoryWithContext(ctx aws.Context, input *GetDevicePositionHistoryInput, opts ...request.Option) (*GetDevicePositionHistoryOutput, error)

GetDevicePositionHistoryWithContext is the same as GetDevicePositionHistory with the addition of the ability to pass a context and additional request options.

See GetDevicePositionHistory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetDevicePositionRequest

func (c *LocationService) GetDevicePositionRequest(input *GetDevicePositionInput) (req *request.Request, output *GetDevicePositionOutput)

GetDevicePositionRequest generates a "aws/request.Request" representing the client's request for the GetDevicePosition operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetDevicePosition for more information on using the GetDevicePosition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetDevicePositionRequest method.
req, resp := client.GetDevicePositionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePosition

func (*LocationService) GetDevicePositionWithContext

func (c *LocationService) GetDevicePositionWithContext(ctx aws.Context, input *GetDevicePositionInput, opts ...request.Option) (*GetDevicePositionOutput, error)

GetDevicePositionWithContext is the same as GetDevicePosition with the addition of the ability to pass a context and additional request options.

See GetDevicePosition for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetGeofence

func (c *LocationService) GetGeofence(input *GetGeofenceInput) (*GetGeofenceOutput, error)

GetGeofence API operation for Amazon Location Service.

Retrieves the geofence details from a geofence collection.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation GetGeofence for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetGeofence

func (*LocationService) GetGeofenceRequest

func (c *LocationService) GetGeofenceRequest(input *GetGeofenceInput) (req *request.Request, output *GetGeofenceOutput)

GetGeofenceRequest generates a "aws/request.Request" representing the client's request for the GetGeofence operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetGeofence for more information on using the GetGeofence API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetGeofenceRequest method.
req, resp := client.GetGeofenceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetGeofence

func (*LocationService) GetGeofenceWithContext

func (c *LocationService) GetGeofenceWithContext(ctx aws.Context, input *GetGeofenceInput, opts ...request.Option) (*GetGeofenceOutput, error)

GetGeofenceWithContext is the same as GetGeofence with the addition of the ability to pass a context and additional request options.

See GetGeofence for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetMapGlyphs

func (c *LocationService) GetMapGlyphs(input *GetMapGlyphsInput) (*GetMapGlyphsOutput, error)

GetMapGlyphs API operation for Amazon Location Service.

Retrieves glyphs used to display labels on a map.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation GetMapGlyphs for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapGlyphs

func (*LocationService) GetMapGlyphsRequest

func (c *LocationService) GetMapGlyphsRequest(input *GetMapGlyphsInput) (req *request.Request, output *GetMapGlyphsOutput)

GetMapGlyphsRequest generates a "aws/request.Request" representing the client's request for the GetMapGlyphs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMapGlyphs for more information on using the GetMapGlyphs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMapGlyphsRequest method.
req, resp := client.GetMapGlyphsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapGlyphs

func (*LocationService) GetMapGlyphsWithContext

func (c *LocationService) GetMapGlyphsWithContext(ctx aws.Context, input *GetMapGlyphsInput, opts ...request.Option) (*GetMapGlyphsOutput, error)

GetMapGlyphsWithContext is the same as GetMapGlyphs with the addition of the ability to pass a context and additional request options.

See GetMapGlyphs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetMapSprites

func (c *LocationService) GetMapSprites(input *GetMapSpritesInput) (*GetMapSpritesOutput, error)

GetMapSprites API operation for Amazon Location Service.

Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG image paired with a JSON document describing the offsets of individual icons that will be displayed on a rendered map.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation GetMapSprites for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapSprites

func (*LocationService) GetMapSpritesRequest

func (c *LocationService) GetMapSpritesRequest(input *GetMapSpritesInput) (req *request.Request, output *GetMapSpritesOutput)

GetMapSpritesRequest generates a "aws/request.Request" representing the client's request for the GetMapSprites operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMapSprites for more information on using the GetMapSprites API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMapSpritesRequest method.
req, resp := client.GetMapSpritesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapSprites

func (*LocationService) GetMapSpritesWithContext

func (c *LocationService) GetMapSpritesWithContext(ctx aws.Context, input *GetMapSpritesInput, opts ...request.Option) (*GetMapSpritesOutput, error)

GetMapSpritesWithContext is the same as GetMapSprites with the addition of the ability to pass a context and additional request options.

See GetMapSprites for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetMapStyleDescriptor

func (c *LocationService) GetMapStyleDescriptor(input *GetMapStyleDescriptorInput) (*GetMapStyleDescriptorOutput, error)

GetMapStyleDescriptor API operation for Amazon Location Service.

Retrieves the map style descriptor from a map resource.

The style descriptor contains specifications on how features render on a map. For example, what data to display, what order to display the data in, and the style for the data. Style descriptors follow the Mapbox Style Specification.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation GetMapStyleDescriptor for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapStyleDescriptor

func (*LocationService) GetMapStyleDescriptorRequest

func (c *LocationService) GetMapStyleDescriptorRequest(input *GetMapStyleDescriptorInput) (req *request.Request, output *GetMapStyleDescriptorOutput)

GetMapStyleDescriptorRequest generates a "aws/request.Request" representing the client's request for the GetMapStyleDescriptor operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMapStyleDescriptor for more information on using the GetMapStyleDescriptor API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMapStyleDescriptorRequest method.
req, resp := client.GetMapStyleDescriptorRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapStyleDescriptor

func (*LocationService) GetMapStyleDescriptorWithContext

func (c *LocationService) GetMapStyleDescriptorWithContext(ctx aws.Context, input *GetMapStyleDescriptorInput, opts ...request.Option) (*GetMapStyleDescriptorOutput, error)

GetMapStyleDescriptorWithContext is the same as GetMapStyleDescriptor with the addition of the ability to pass a context and additional request options.

See GetMapStyleDescriptor for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) GetMapTile

func (c *LocationService) GetMapTile(input *GetMapTileInput) (*GetMapTileOutput, error)

GetMapTile API operation for Amazon Location Service.

Retrieves a vector data tile from the map resource. Map tiles are used by clients to render a map. They are addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.

The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation GetMapTile for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapTile

func (*LocationService) GetMapTileRequest

func (c *LocationService) GetMapTileRequest(input *GetMapTileInput) (req *request.Request, output *GetMapTileOutput)

GetMapTileRequest generates a "aws/request.Request" representing the client's request for the GetMapTile operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMapTile for more information on using the GetMapTile API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMapTileRequest method.
req, resp := client.GetMapTileRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapTile

func (*LocationService) GetMapTileWithContext

func (c *LocationService) GetMapTileWithContext(ctx aws.Context, input *GetMapTileInput, opts ...request.Option) (*GetMapTileOutput, error)

GetMapTileWithContext is the same as GetMapTile with the addition of the ability to pass a context and additional request options.

See GetMapTile for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListGeofenceCollections

ListGeofenceCollections API operation for Amazon Location Service.

Lists geofence collections in your AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation ListGeofenceCollections for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofenceCollections

func (*LocationService) ListGeofenceCollectionsPages

func (c *LocationService) ListGeofenceCollectionsPages(input *ListGeofenceCollectionsInput, fn func(*ListGeofenceCollectionsOutput, bool) bool) error

ListGeofenceCollectionsPages iterates over the pages of a ListGeofenceCollections operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGeofenceCollections method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListGeofenceCollections operation.
pageNum := 0
err := client.ListGeofenceCollectionsPages(params,
    func(page *locationservice.ListGeofenceCollectionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListGeofenceCollectionsPagesWithContext

func (c *LocationService) ListGeofenceCollectionsPagesWithContext(ctx aws.Context, input *ListGeofenceCollectionsInput, fn func(*ListGeofenceCollectionsOutput, bool) bool, opts ...request.Option) error

ListGeofenceCollectionsPagesWithContext same as ListGeofenceCollectionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListGeofenceCollectionsRequest

func (c *LocationService) ListGeofenceCollectionsRequest(input *ListGeofenceCollectionsInput) (req *request.Request, output *ListGeofenceCollectionsOutput)

ListGeofenceCollectionsRequest generates a "aws/request.Request" representing the client's request for the ListGeofenceCollections operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListGeofenceCollections for more information on using the ListGeofenceCollections API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListGeofenceCollectionsRequest method.
req, resp := client.ListGeofenceCollectionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofenceCollections

func (*LocationService) ListGeofenceCollectionsWithContext

func (c *LocationService) ListGeofenceCollectionsWithContext(ctx aws.Context, input *ListGeofenceCollectionsInput, opts ...request.Option) (*ListGeofenceCollectionsOutput, error)

ListGeofenceCollectionsWithContext is the same as ListGeofenceCollections with the addition of the ability to pass a context and additional request options.

See ListGeofenceCollections for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListGeofences

func (c *LocationService) ListGeofences(input *ListGeofencesInput) (*ListGeofencesOutput, error)

ListGeofences API operation for Amazon Location Service.

Lists geofences stored in a given geofence collection.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation ListGeofences for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofences

func (*LocationService) ListGeofencesPages

func (c *LocationService) ListGeofencesPages(input *ListGeofencesInput, fn func(*ListGeofencesOutput, bool) bool) error

ListGeofencesPages iterates over the pages of a ListGeofences operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListGeofences method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListGeofences operation.
pageNum := 0
err := client.ListGeofencesPages(params,
    func(page *locationservice.ListGeofencesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListGeofencesPagesWithContext

func (c *LocationService) ListGeofencesPagesWithContext(ctx aws.Context, input *ListGeofencesInput, fn func(*ListGeofencesOutput, bool) bool, opts ...request.Option) error

ListGeofencesPagesWithContext same as ListGeofencesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListGeofencesRequest

func (c *LocationService) ListGeofencesRequest(input *ListGeofencesInput) (req *request.Request, output *ListGeofencesOutput)

ListGeofencesRequest generates a "aws/request.Request" representing the client's request for the ListGeofences operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListGeofences for more information on using the ListGeofences API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListGeofencesRequest method.
req, resp := client.ListGeofencesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofences

func (*LocationService) ListGeofencesWithContext

func (c *LocationService) ListGeofencesWithContext(ctx aws.Context, input *ListGeofencesInput, opts ...request.Option) (*ListGeofencesOutput, error)

ListGeofencesWithContext is the same as ListGeofences with the addition of the ability to pass a context and additional request options.

See ListGeofences for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListMaps

func (c *LocationService) ListMaps(input *ListMapsInput) (*ListMapsOutput, error)

ListMaps API operation for Amazon Location Service.

Lists map resources in your AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation ListMaps for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListMaps

func (*LocationService) ListMapsPages

func (c *LocationService) ListMapsPages(input *ListMapsInput, fn func(*ListMapsOutput, bool) bool) error

ListMapsPages iterates over the pages of a ListMaps operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMaps method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMaps operation.
pageNum := 0
err := client.ListMapsPages(params,
    func(page *locationservice.ListMapsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListMapsPagesWithContext

func (c *LocationService) ListMapsPagesWithContext(ctx aws.Context, input *ListMapsInput, fn func(*ListMapsOutput, bool) bool, opts ...request.Option) error

ListMapsPagesWithContext same as ListMapsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListMapsRequest

func (c *LocationService) ListMapsRequest(input *ListMapsInput) (req *request.Request, output *ListMapsOutput)

ListMapsRequest generates a "aws/request.Request" representing the client's request for the ListMaps operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMaps for more information on using the ListMaps API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMapsRequest method.
req, resp := client.ListMapsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListMaps

func (*LocationService) ListMapsWithContext

func (c *LocationService) ListMapsWithContext(ctx aws.Context, input *ListMapsInput, opts ...request.Option) (*ListMapsOutput, error)

ListMapsWithContext is the same as ListMaps with the addition of the ability to pass a context and additional request options.

See ListMaps for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListPlaceIndexes

func (c *LocationService) ListPlaceIndexes(input *ListPlaceIndexesInput) (*ListPlaceIndexesOutput, error)

ListPlaceIndexes API operation for Amazon Location Service.

Lists Place index resources in your AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation ListPlaceIndexes for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListPlaceIndexes

func (*LocationService) ListPlaceIndexesPages

func (c *LocationService) ListPlaceIndexesPages(input *ListPlaceIndexesInput, fn func(*ListPlaceIndexesOutput, bool) bool) error

ListPlaceIndexesPages iterates over the pages of a ListPlaceIndexes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPlaceIndexes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPlaceIndexes operation.
pageNum := 0
err := client.ListPlaceIndexesPages(params,
    func(page *locationservice.ListPlaceIndexesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListPlaceIndexesPagesWithContext

func (c *LocationService) ListPlaceIndexesPagesWithContext(ctx aws.Context, input *ListPlaceIndexesInput, fn func(*ListPlaceIndexesOutput, bool) bool, opts ...request.Option) error

ListPlaceIndexesPagesWithContext same as ListPlaceIndexesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListPlaceIndexesRequest

func (c *LocationService) ListPlaceIndexesRequest(input *ListPlaceIndexesInput) (req *request.Request, output *ListPlaceIndexesOutput)

ListPlaceIndexesRequest generates a "aws/request.Request" representing the client's request for the ListPlaceIndexes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPlaceIndexes for more information on using the ListPlaceIndexes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPlaceIndexesRequest method.
req, resp := client.ListPlaceIndexesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListPlaceIndexes

func (*LocationService) ListPlaceIndexesWithContext

func (c *LocationService) ListPlaceIndexesWithContext(ctx aws.Context, input *ListPlaceIndexesInput, opts ...request.Option) (*ListPlaceIndexesOutput, error)

ListPlaceIndexesWithContext is the same as ListPlaceIndexes with the addition of the ability to pass a context and additional request options.

See ListPlaceIndexes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListTrackerConsumers

func (c *LocationService) ListTrackerConsumers(input *ListTrackerConsumersInput) (*ListTrackerConsumersOutput, error)

ListTrackerConsumers API operation for Amazon Location Service.

Lists geofence collections currently associated to the given tracker resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation ListTrackerConsumers for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackerConsumers

func (*LocationService) ListTrackerConsumersPages

func (c *LocationService) ListTrackerConsumersPages(input *ListTrackerConsumersInput, fn func(*ListTrackerConsumersOutput, bool) bool) error

ListTrackerConsumersPages iterates over the pages of a ListTrackerConsumers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTrackerConsumers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTrackerConsumers operation.
pageNum := 0
err := client.ListTrackerConsumersPages(params,
    func(page *locationservice.ListTrackerConsumersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListTrackerConsumersPagesWithContext

func (c *LocationService) ListTrackerConsumersPagesWithContext(ctx aws.Context, input *ListTrackerConsumersInput, fn func(*ListTrackerConsumersOutput, bool) bool, opts ...request.Option) error

ListTrackerConsumersPagesWithContext same as ListTrackerConsumersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListTrackerConsumersRequest

func (c *LocationService) ListTrackerConsumersRequest(input *ListTrackerConsumersInput) (req *request.Request, output *ListTrackerConsumersOutput)

ListTrackerConsumersRequest generates a "aws/request.Request" representing the client's request for the ListTrackerConsumers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTrackerConsumers for more information on using the ListTrackerConsumers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTrackerConsumersRequest method.
req, resp := client.ListTrackerConsumersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackerConsumers

func (*LocationService) ListTrackerConsumersWithContext

func (c *LocationService) ListTrackerConsumersWithContext(ctx aws.Context, input *ListTrackerConsumersInput, opts ...request.Option) (*ListTrackerConsumersOutput, error)

ListTrackerConsumersWithContext is the same as ListTrackerConsumers with the addition of the ability to pass a context and additional request options.

See ListTrackerConsumers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListTrackers

func (c *LocationService) ListTrackers(input *ListTrackersInput) (*ListTrackersOutput, error)

ListTrackers API operation for Amazon Location Service.

Lists tracker resources in your AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation ListTrackers for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackers

func (*LocationService) ListTrackersPages

func (c *LocationService) ListTrackersPages(input *ListTrackersInput, fn func(*ListTrackersOutput, bool) bool) error

ListTrackersPages iterates over the pages of a ListTrackers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTrackers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTrackers operation.
pageNum := 0
err := client.ListTrackersPages(params,
    func(page *locationservice.ListTrackersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListTrackersPagesWithContext

func (c *LocationService) ListTrackersPagesWithContext(ctx aws.Context, input *ListTrackersInput, fn func(*ListTrackersOutput, bool) bool, opts ...request.Option) error

ListTrackersPagesWithContext same as ListTrackersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) ListTrackersRequest

func (c *LocationService) ListTrackersRequest(input *ListTrackersInput) (req *request.Request, output *ListTrackersOutput)

ListTrackersRequest generates a "aws/request.Request" representing the client's request for the ListTrackers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTrackers for more information on using the ListTrackers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTrackersRequest method.
req, resp := client.ListTrackersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackers

func (*LocationService) ListTrackersWithContext

func (c *LocationService) ListTrackersWithContext(ctx aws.Context, input *ListTrackersInput, opts ...request.Option) (*ListTrackersOutput, error)

ListTrackersWithContext is the same as ListTrackers with the addition of the ability to pass a context and additional request options.

See ListTrackers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) PutGeofence

func (c *LocationService) PutGeofence(input *PutGeofenceInput) (*PutGeofenceOutput, error)

PutGeofence API operation for Amazon Location Service.

Stores a geofence geometry in a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation PutGeofence for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • ConflictException The request was unsuccessful due to a conflict.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/PutGeofence

func (*LocationService) PutGeofenceRequest

func (c *LocationService) PutGeofenceRequest(input *PutGeofenceInput) (req *request.Request, output *PutGeofenceOutput)

PutGeofenceRequest generates a "aws/request.Request" representing the client's request for the PutGeofence operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutGeofence for more information on using the PutGeofence API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutGeofenceRequest method.
req, resp := client.PutGeofenceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/PutGeofence

func (*LocationService) PutGeofenceWithContext

func (c *LocationService) PutGeofenceWithContext(ctx aws.Context, input *PutGeofenceInput, opts ...request.Option) (*PutGeofenceOutput, error)

PutGeofenceWithContext is the same as PutGeofence with the addition of the ability to pass a context and additional request options.

See PutGeofence for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) SearchPlaceIndexForPosition

SearchPlaceIndexForPosition API operation for Amazon Location Service.

Reverse geocodes a given coordinate and returns a legible address. Allows you to search for Places or points of interest near a given position.

By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.

Because of licensing limitations, you may not use HERE to store results for locations in Japan. For more information, see the AWS Service Terms (https://aws.amazon.com/service-terms/) for Amazon Location Service.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation SearchPlaceIndexForPosition for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForPosition

func (*LocationService) SearchPlaceIndexForPositionRequest

func (c *LocationService) SearchPlaceIndexForPositionRequest(input *SearchPlaceIndexForPositionInput) (req *request.Request, output *SearchPlaceIndexForPositionOutput)

SearchPlaceIndexForPositionRequest generates a "aws/request.Request" representing the client's request for the SearchPlaceIndexForPosition operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SearchPlaceIndexForPosition for more information on using the SearchPlaceIndexForPosition API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SearchPlaceIndexForPositionRequest method.
req, resp := client.SearchPlaceIndexForPositionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForPosition

func (*LocationService) SearchPlaceIndexForPositionWithContext

func (c *LocationService) SearchPlaceIndexForPositionWithContext(ctx aws.Context, input *SearchPlaceIndexForPositionInput, opts ...request.Option) (*SearchPlaceIndexForPositionOutput, error)

SearchPlaceIndexForPositionWithContext is the same as SearchPlaceIndexForPosition with the addition of the ability to pass a context and additional request options.

See SearchPlaceIndexForPosition for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*LocationService) SearchPlaceIndexForText

SearchPlaceIndexForText API operation for Amazon Location Service.

Geocodes free-form text, such as an address, name, city, or region to allow you to search for Places or points of interest.

Includes the option to apply additional parameters to narrow your list of results.

You can search for places near a given position using BiasPosition, or filter results within a bounding box using FilterBBox. Providing both parameters simultaneously returns an error.

By using Places, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using.

Also, when using HERE as your data provider, you may not (a) use HERE Places for Asset Management, or (b) select the Storage option for the IntendedUse parameter when requesting Places in Japan. For more information, see the AWS Service Terms (https://aws.amazon.com/service-terms/) for Amazon Location Service.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Location Service's API operation SearchPlaceIndexForText for usage and error information.

Returned Error Types:

  • InternalServerException The request has failed to process because of an unknown server error, exception, or failure.

  • ResourceNotFoundException The resource that you've entered was not found in your AWS account.

  • AccessDeniedException The request was denied due to insufficient access or permission. Check with an administrator to verify your permissions.

  • ValidationException The input failed to meet the constraints specified by the AWS service.

  • ThrottlingException The request was denied due to request throttling.

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForText

func (*LocationService) SearchPlaceIndexForTextRequest

func (c *LocationService) SearchPlaceIndexForTextRequest(input *SearchPlaceIndexForTextInput) (req *request.Request, output *SearchPlaceIndexForTextOutput)

SearchPlaceIndexForTextRequest generates a "aws/request.Request" representing the client's request for the SearchPlaceIndexForText operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SearchPlaceIndexForText for more information on using the SearchPlaceIndexForText API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SearchPlaceIndexForTextRequest method.
req, resp := client.SearchPlaceIndexForTextRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForText

func (*LocationService) SearchPlaceIndexForTextWithContext

func (c *LocationService) SearchPlaceIndexForTextWithContext(ctx aws.Context, input *SearchPlaceIndexForTextInput, opts ...request.Option) (*SearchPlaceIndexForTextOutput, error)

SearchPlaceIndexForTextWithContext is the same as SearchPlaceIndexForText with the addition of the ability to pass a context and additional request options.

See SearchPlaceIndexForText for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type MapConfiguration

type MapConfiguration struct {

	// Specifies the map style selected from an available data provider.
	//
	// Valid styles: VectorEsriStreets, VectorEsriTopographic, VectorEsriNavigation,
	// VectorEsriDarkGrayCanvas, VectorEsriLightGrayCanvas, VectorHereBerlin.
	//
	// When using HERE as your data provider, and selecting the Style VectorHereBerlin,
	// you may not use HERE Maps for Asset Management. See the AWS Service Terms
	// (https://aws.amazon.com/service-terms/) for Amazon Location Service.
	//
	// Style is a required field
	Style *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies the map tile style selected from an available provider.

func (MapConfiguration) GoString

func (s MapConfiguration) GoString() string

GoString returns the string representation

func (*MapConfiguration) SetStyle

func (s *MapConfiguration) SetStyle(v string) *MapConfiguration

SetStyle sets the Style field's value.

func (MapConfiguration) String

func (s MapConfiguration) String() string

String returns the string representation

func (*MapConfiguration) Validate

func (s *MapConfiguration) Validate() error

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

type Place

type Place struct {

	// The numerical portion of an address, such as a building number.
	AddressNumber *string `type:"string"`

	// A country/region specified using ISO 3166 (https://www.iso.org/iso-3166-country-codes.html)
	// 3-digit country/region code. For example, CAN.
	Country *string `type:"string"`

	// Places uses a point geometry to specify a location or a Place.
	//
	// Geometry is a required field
	Geometry *PlaceGeometry `type:"structure" required:"true"`

	// The full name and address of the point of interest such as a city, region,
	// or country. For example, 123 Any Street, Any Town, USA.
	Label *string `type:"string"`

	// A name for a local area, such as a city or town name. For example, Toronto.
	Municipality *string `type:"string"`

	// The name of a community district. For example, Downtown.
	Neighborhood *string `type:"string"`

	// A group of numbers and letters in a country-specific format, which accompanies
	// the address for the purpose of identifying a location.
	PostalCode *string `type:"string"`

	// A name for an area or geographical division, such as a province or state
	// name. For example, British Columbia.
	Region *string `type:"string"`

	// The name for a street or a road to identify a location. For example, Main
	// Street.
	Street *string `type:"string"`

	// A country, or an area that's part of a larger region . For example, Metro
	// Vancouver.
	SubRegion *string `type:"string"`
	// contains filtered or unexported fields
}

Contains details about addresses or points of interest that match the search criteria.

func (Place) GoString

func (s Place) GoString() string

GoString returns the string representation

func (*Place) SetAddressNumber

func (s *Place) SetAddressNumber(v string) *Place

SetAddressNumber sets the AddressNumber field's value.

func (*Place) SetCountry

func (s *Place) SetCountry(v string) *Place

SetCountry sets the Country field's value.

func (*Place) SetGeometry

func (s *Place) SetGeometry(v *PlaceGeometry) *Place

SetGeometry sets the Geometry field's value.

func (*Place) SetLabel

func (s *Place) SetLabel(v string) *Place

SetLabel sets the Label field's value.

func (*Place) SetMunicipality

func (s *Place) SetMunicipality(v string) *Place

SetMunicipality sets the Municipality field's value.

func (*Place) SetNeighborhood

func (s *Place) SetNeighborhood(v string) *Place

SetNeighborhood sets the Neighborhood field's value.

func (*Place) SetPostalCode

func (s *Place) SetPostalCode(v string) *Place

SetPostalCode sets the PostalCode field's value.

func (*Place) SetRegion

func (s *Place) SetRegion(v string) *Place

SetRegion sets the Region field's value.

func (*Place) SetStreet

func (s *Place) SetStreet(v string) *Place

SetStreet sets the Street field's value.

func (*Place) SetSubRegion

func (s *Place) SetSubRegion(v string) *Place

SetSubRegion sets the SubRegion field's value.

func (Place) String

func (s Place) String() string

String returns the string representation

type PlaceGeometry

type PlaceGeometry struct {

	// A single point geometry specifies a location for a Place using WGS 84 (https://gisgeography.com/wgs84-world-geodetic-system/)
	// coordinates:
	//
	//    * x — Specifies the x coordinate or longitude.
	//
	//    * y — Specifies the y coordinate or latitude.
	Point []*float64 `min:"2" type:"list" sensitive:"true"`
	// contains filtered or unexported fields
}

Places uses a point geometry to specify a location or a Place.

func (PlaceGeometry) GoString

func (s PlaceGeometry) GoString() string

GoString returns the string representation

func (*PlaceGeometry) SetPoint

func (s *PlaceGeometry) SetPoint(v []*float64) *PlaceGeometry

SetPoint sets the Point field's value.

func (PlaceGeometry) String

func (s PlaceGeometry) String() string

String returns the string representation

type PutGeofenceInput

type PutGeofenceInput struct {

	// The geofence collection to store the geofence in.
	//
	// CollectionName is a required field
	CollectionName *string `location:"uri" locationName:"CollectionName" min:"1" type:"string" required:"true"`

	// An identifier for the geofence. For example, ExampleGeofence-1.
	//
	// GeofenceId is a required field
	GeofenceId *string `location:"uri" locationName:"GeofenceId" min:"1" type:"string" required:"true"`

	// Contains the polygon details to specify the position of the geofence.
	//
	// Each geofence polygon (https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html)
	// can have a maximum of 1,000 vertices.
	//
	// Geometry is a required field
	Geometry *GeofenceGeometry `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutGeofenceInput) GoString

func (s PutGeofenceInput) GoString() string

GoString returns the string representation

func (*PutGeofenceInput) SetCollectionName

func (s *PutGeofenceInput) SetCollectionName(v string) *PutGeofenceInput

SetCollectionName sets the CollectionName field's value.

func (*PutGeofenceInput) SetGeofenceId

func (s *PutGeofenceInput) SetGeofenceId(v string) *PutGeofenceInput

SetGeofenceId sets the GeofenceId field's value.

func (*PutGeofenceInput) SetGeometry

SetGeometry sets the Geometry field's value.

func (PutGeofenceInput) String

func (s PutGeofenceInput) String() string

String returns the string representation

func (*PutGeofenceInput) Validate

func (s *PutGeofenceInput) Validate() error

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

type PutGeofenceOutput

type PutGeofenceOutput struct {

	// The timestamp for when the geofence was created in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The geofence identifier entered in the request.
	//
	// GeofenceId is a required field
	GeofenceId *string `min:"1" type:"string" required:"true"`

	// The timestamp for when the geofence was last updated in ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	// format: YYYY-MM-DDThh:mm:ss.sssZ
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (PutGeofenceOutput) GoString

func (s PutGeofenceOutput) GoString() string

GoString returns the string representation

func (*PutGeofenceOutput) SetCreateTime

func (s *PutGeofenceOutput) SetCreateTime(v time.Time) *PutGeofenceOutput

SetCreateTime sets the CreateTime field's value.

func (*PutGeofenceOutput) SetGeofenceId

func (s *PutGeofenceOutput) SetGeofenceId(v string) *PutGeofenceOutput

SetGeofenceId sets the GeofenceId field's value.

func (*PutGeofenceOutput) SetUpdateTime

func (s *PutGeofenceOutput) SetUpdateTime(v time.Time) *PutGeofenceOutput

SetUpdateTime sets the UpdateTime field's value.

func (PutGeofenceOutput) String

func (s PutGeofenceOutput) String() string

String returns the string representation

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The resource that you've entered was not found in your AWS account.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation

type SearchForPositionResult

type SearchForPositionResult struct {

	// Contains details about the relevant point of interest.
	//
	// Place is a required field
	Place *Place `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Specifies a single point of interest, or Place as a result of a search query obtained from a dataset configured in the Place index Resource.

func (SearchForPositionResult) GoString

func (s SearchForPositionResult) GoString() string

GoString returns the string representation

func (*SearchForPositionResult) SetPlace

SetPlace sets the Place field's value.

func (SearchForPositionResult) String

func (s SearchForPositionResult) String() string

String returns the string representation

type SearchForTextResult

type SearchForTextResult struct {

	// Contains details about the relevant point of interest.
	//
	// Place is a required field
	Place *Place `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains relevant Places returned by calling SearchPlaceIndexForText.

func (SearchForTextResult) GoString

func (s SearchForTextResult) GoString() string

GoString returns the string representation

func (*SearchForTextResult) SetPlace

SetPlace sets the Place field's value.

func (SearchForTextResult) String

func (s SearchForTextResult) String() string

String returns the string representation

type SearchPlaceIndexForPositionInput

type SearchPlaceIndexForPositionInput struct {

	// The name of the Place index resource you want to use for the search.
	//
	// IndexName is a required field
	IndexName *string `location:"uri" locationName:"IndexName" min:"1" type:"string" required:"true"`

	// An optional paramer. The maximum number of results returned per request.
	//
	// Default value: 50
	MaxResults *int64 `min:"1" type:"integer"`

	// Specifies a coordinate for the query defined by a longitude, and latitude.
	//
	//    * The first position is the X coordinate, or longitude.
	//
	//    * The second position is the Y coordinate, or latitude.
	//
	// For example, position=xLongitude&position=yLatitude .
	//
	// Position is a required field
	Position []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (SearchPlaceIndexForPositionInput) GoString

GoString returns the string representation

func (*SearchPlaceIndexForPositionInput) SetIndexName

SetIndexName sets the IndexName field's value.

func (*SearchPlaceIndexForPositionInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*SearchPlaceIndexForPositionInput) SetPosition

SetPosition sets the Position field's value.

func (SearchPlaceIndexForPositionInput) String

String returns the string representation

func (*SearchPlaceIndexForPositionInput) Validate

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

type SearchPlaceIndexForPositionOutput

type SearchPlaceIndexForPositionOutput struct {

	// Returns a list of Places closest to the specified position. Each result contains
	// additional information about the Places returned.
	//
	// Results is a required field
	Results []*SearchForPositionResult `type:"list" required:"true"`

	// Contains a summary of the request.
	//
	// Summary is a required field
	Summary *SearchPlaceIndexForPositionSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (SearchPlaceIndexForPositionOutput) GoString

GoString returns the string representation

func (*SearchPlaceIndexForPositionOutput) SetResults

SetResults sets the Results field's value.

func (*SearchPlaceIndexForPositionOutput) SetSummary

SetSummary sets the Summary field's value.

func (SearchPlaceIndexForPositionOutput) String

String returns the string representation

type SearchPlaceIndexForPositionSummary

type SearchPlaceIndexForPositionSummary struct {

	// The data provider of geospatial data. Indicates one of the available providers:
	//
	//    * Esri
	//
	//    * HERE
	//
	// For additional details on data providers, see the Amazon Location Service
	// data providers page (https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html).
	//
	// DataSource is a required field
	DataSource *string `type:"string" required:"true"`

	// An optional parameter. The maximum number of results returned per request.
	//
	// Default value: 50
	MaxResults *int64 `min:"1" type:"integer"`

	// The position given in the reverse geocoding request.
	//
	// Position is a required field
	Position []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

A summary of the reverse geocoding request sent using SearchPlaceIndexForPosition.

func (SearchPlaceIndexForPositionSummary) GoString

GoString returns the string representation

func (*SearchPlaceIndexForPositionSummary) SetDataSource

SetDataSource sets the DataSource field's value.

func (*SearchPlaceIndexForPositionSummary) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*SearchPlaceIndexForPositionSummary) SetPosition

SetPosition sets the Position field's value.

func (SearchPlaceIndexForPositionSummary) String

String returns the string representation

type SearchPlaceIndexForTextInput

type SearchPlaceIndexForTextInput struct {

	// Searches for results closest to the given position. An optional parameter
	// defined by longitude, and latitude.
	//
	//    * The first bias position is the X coordinate, or longitude.
	//
	//    * The second bias position is the Y coordinate, or latitude.
	//
	// For example, bias=xLongitude&bias=yLatitude.
	BiasPosition []*float64 `min:"2" type:"list" sensitive:"true"`

	// Filters the results by returning only Places within the provided bounding
	// box. An optional parameter.
	//
	// The first 2 bbox parameters describe the lower southwest corner:
	//
	//    * The first bbox position is the X coordinate or longitude of the lower
	//    southwest corner.
	//
	//    * The second bbox position is the Y coordinate or latitude of the lower
	//    southwest corner.
	//
	// For example, bbox=xLongitudeSW&bbox=yLatitudeSW.
	//
	// The next bbox parameters describe the upper northeast corner:
	//
	//    * The third bbox position is the X coordinate, or longitude of the upper
	//    northeast corner.
	//
	//    * The fourth bbox position is the Y coordinate, or longitude of the upper
	//    northeast corner.
	//
	// For example, bbox=xLongitudeNE&bbox=yLatitudeNE
	FilterBBox []*float64 `min:"4" type:"list" sensitive:"true"`

	// Limits the search to the given a list of countries/regions. An optional parameter.
	//
	//    * Use the ISO 3166 (https://www.iso.org/iso-3166-country-codes.html) 3-digit
	//    country code. For example, Australia uses three upper-case characters:
	//    AUS.
	FilterCountries []*string `min:"1" type:"list"`

	// The name of the Place index resource you want to use for the search.
	//
	// IndexName is a required field
	IndexName *string `location:"uri" locationName:"IndexName" min:"1" type:"string" required:"true"`

	// An optional parameter. The maximum number of results returned per request.
	//
	// The default: 50
	MaxResults *int64 `min:"1" type:"integer"`

	// The address, name, city, or region to be used in the search. In free-form
	// text format. For example, 123 Any Street.
	//
	// Text is a required field
	Text *string `min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (SearchPlaceIndexForTextInput) GoString

func (s SearchPlaceIndexForTextInput) GoString() string

GoString returns the string representation

func (*SearchPlaceIndexForTextInput) SetBiasPosition

SetBiasPosition sets the BiasPosition field's value.

func (*SearchPlaceIndexForTextInput) SetFilterBBox

SetFilterBBox sets the FilterBBox field's value.

func (*SearchPlaceIndexForTextInput) SetFilterCountries

SetFilterCountries sets the FilterCountries field's value.

func (*SearchPlaceIndexForTextInput) SetIndexName

SetIndexName sets the IndexName field's value.

func (*SearchPlaceIndexForTextInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*SearchPlaceIndexForTextInput) SetText

SetText sets the Text field's value.

func (SearchPlaceIndexForTextInput) String

String returns the string representation

func (*SearchPlaceIndexForTextInput) Validate

func (s *SearchPlaceIndexForTextInput) Validate() error

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

type SearchPlaceIndexForTextOutput

type SearchPlaceIndexForTextOutput struct {

	// A list of Places closest to the specified position. Each result contains
	// additional information about the specific point of interest.
	//
	// Results is a required field
	Results []*SearchForTextResult `type:"list" required:"true"`

	// Contains a summary of the request. Contains the BiasPosition, DataSource,
	// FilterBBox, FilterCountries, MaxResults, ResultBBox, and Text.
	//
	// Summary is a required field
	Summary *SearchPlaceIndexForTextSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (SearchPlaceIndexForTextOutput) GoString

GoString returns the string representation

func (*SearchPlaceIndexForTextOutput) SetResults

SetResults sets the Results field's value.

func (*SearchPlaceIndexForTextOutput) SetSummary

SetSummary sets the Summary field's value.

func (SearchPlaceIndexForTextOutput) String

String returns the string representation

type SearchPlaceIndexForTextSummary

type SearchPlaceIndexForTextSummary struct {

	// Contains the coordinates for the bias position entered in the geocoding request.
	BiasPosition []*float64 `min:"2" type:"list" sensitive:"true"`

	// The data provider of geospatial data. Indicates one of the available providers:
	//
	//    * Esri
	//
	//    * HERE
	//
	// For additional details on data providers, see the Amazon Location Service
	// data providers page (https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html).
	//
	// DataSource is a required field
	DataSource *string `type:"string" required:"true"`

	// Contains the coordinates for the optional bounding box coordinated entered
	// in the geocoding request.
	FilterBBox []*float64 `min:"4" type:"list" sensitive:"true"`

	// Contains the country filter entered in the geocoding request.
	FilterCountries []*string `min:"1" type:"list"`

	// Contains the maximum number of results indicated for the request.
	MaxResults *int64 `min:"1" type:"integer"`

	// A bounding box that contains the search results within the specified area
	// indicated by FilterBBox. A subset of bounding box specified using FilterBBox.
	ResultBBox []*float64 `min:"4" type:"list" sensitive:"true"`

	// The address, name, city or region to be used in the geocoding request. In
	// free-form text format. For example, Vancouver.
	//
	// Text is a required field
	Text *string `type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

A summary of the geocoding request sent using SearchPlaceIndexForText.

func (SearchPlaceIndexForTextSummary) GoString

GoString returns the string representation

func (*SearchPlaceIndexForTextSummary) SetBiasPosition

SetBiasPosition sets the BiasPosition field's value.

func (*SearchPlaceIndexForTextSummary) SetDataSource

SetDataSource sets the DataSource field's value.

func (*SearchPlaceIndexForTextSummary) SetFilterBBox

SetFilterBBox sets the FilterBBox field's value.

func (*SearchPlaceIndexForTextSummary) SetFilterCountries

SetFilterCountries sets the FilterCountries field's value.

func (*SearchPlaceIndexForTextSummary) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*SearchPlaceIndexForTextSummary) SetResultBBox

SetResultBBox sets the ResultBBox field's value.

func (*SearchPlaceIndexForTextSummary) SetText

SetText sets the Text field's value.

func (SearchPlaceIndexForTextSummary) String

String returns the string representation

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The field where the invalid entry was detected.
	//
	// FieldList is a required field
	FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list" required:"true"`

	Message_ *string `locationName:"message" type:"string"`

	// A message with the reason for the validation exception error.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

The input failed to meet the constraints specified by the AWS service.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation

type ValidationExceptionField

type ValidationExceptionField struct {

	// A message with the reason for the validation exception error.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`

	// The field name where the invalid entry was detected.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input failed to meet the constraints specified by the AWS service in a specified field.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation

Directories

Path Synopsis
Package locationserviceiface provides an interface to enable mocking the Amazon Location Service service client for testing your code.
Package locationserviceiface provides an interface to enable mocking the Amazon Location Service service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL