locationservice

package
v1.38.54 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 10 Imported by: 16

Documentation

Overview

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

Suite of geospatial services including Maps, Places, Routes, 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 (
	// DimensionUnitMeters is a DimensionUnit enum value
	DimensionUnitMeters = "Meters"

	// DimensionUnitFeet is a DimensionUnit enum value
	DimensionUnitFeet = "Feet"
)
View Source
const (
	// DistanceUnitKilometers is a DistanceUnit enum value
	DistanceUnitKilometers = "Kilometers"

	// DistanceUnitMiles is a DistanceUnit enum value
	DistanceUnitMiles = "Miles"
)
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 (
	// TravelModeCar is a TravelMode enum value
	TravelModeCar = "Car"

	// TravelModeTruck is a TravelMode enum value
	TravelModeTruck = "Truck"

	// TravelModeWalking is a TravelMode enum value
	TravelModeWalking = "Walking"
)
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 (
	// VehicleWeightUnitKilograms is a VehicleWeightUnit enum value
	VehicleWeightUnitKilograms = "Kilograms"

	// VehicleWeightUnitPounds is a VehicleWeightUnit enum value
	VehicleWeightUnitPounds = "Pounds"
)
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 DimensionUnit_Values added in v1.38.51

func DimensionUnit_Values() []string

DimensionUnit_Values returns all elements of the DimensionUnit enum

func DistanceUnit_Values added in v1.38.51

func DistanceUnit_Values() []string

DistanceUnit_Values returns all elements of the DistanceUnit 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 TravelMode_Values added in v1.38.51

func TravelMode_Values() []string

TravelMode_Values returns all elements of the TravelMode enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

func VehicleWeightUnit_Values added in v1.38.51

func VehicleWeightUnit_Values() []string

VehicleWeightUnit_Values returns all elements of the VehicleWeightUnit 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:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
	//
	// 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 BatchDeleteDevicePositionHistoryError added in v1.38.51

type BatchDeleteDevicePositionHistoryError struct {

	// The ID of the device for this position.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// Contains the batch request error details associated with the request.
	//
	// Error is a required field
	Error *BatchItemError `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Contains the tracker resource details.

func (BatchDeleteDevicePositionHistoryError) GoString added in v1.38.51

GoString returns the string representation

func (*BatchDeleteDevicePositionHistoryError) SetDeviceId added in v1.38.51

SetDeviceId sets the DeviceId field's value.

func (*BatchDeleteDevicePositionHistoryError) SetError added in v1.38.51

SetError sets the Error field's value.

func (BatchDeleteDevicePositionHistoryError) String added in v1.38.51

String returns the string representation

type BatchDeleteDevicePositionHistoryInput added in v1.38.51

type BatchDeleteDevicePositionHistoryInput struct {

	// Devices whose position history you want to delete.
	//
	//    * For example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]
	//
	// DeviceIds is a required field
	DeviceIds []*string `min:"1" type:"list" required:"true"`

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

func (BatchDeleteDevicePositionHistoryInput) GoString added in v1.38.51

GoString returns the string representation

func (*BatchDeleteDevicePositionHistoryInput) SetDeviceIds added in v1.38.51

SetDeviceIds sets the DeviceIds field's value.

func (*BatchDeleteDevicePositionHistoryInput) SetTrackerName added in v1.38.51

SetTrackerName sets the TrackerName field's value.

func (BatchDeleteDevicePositionHistoryInput) String added in v1.38.51

String returns the string representation

func (*BatchDeleteDevicePositionHistoryInput) Validate added in v1.38.51

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

type BatchDeleteDevicePositionHistoryOutput added in v1.38.51

type BatchDeleteDevicePositionHistoryOutput struct {

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

func (BatchDeleteDevicePositionHistoryOutput) GoString added in v1.38.51

GoString returns the string representation

func (*BatchDeleteDevicePositionHistoryOutput) SetErrors added in v1.38.51

SetErrors sets the Errors field's value.

func (BatchDeleteDevicePositionHistoryOutput) String added in v1.38.51

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 CalculateRouteCarModeOptions added in v1.38.51

type CalculateRouteCarModeOptions struct {

	// Avoids ferries when calculating routes.
	//
	// Default Value: false
	//
	// Valid Values: false | true
	AvoidFerries *bool `type:"boolean"`

	// Avoids tolls when calculating routes.
	//
	// Default Value: false
	//
	// Valid Values: false | true
	AvoidTolls *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Contains details about additional route preferences for requests that specify TravelMode as Car.

func (CalculateRouteCarModeOptions) GoString added in v1.38.51

func (s CalculateRouteCarModeOptions) GoString() string

GoString returns the string representation

func (*CalculateRouteCarModeOptions) SetAvoidFerries added in v1.38.51

SetAvoidFerries sets the AvoidFerries field's value.

func (*CalculateRouteCarModeOptions) SetAvoidTolls added in v1.38.51

SetAvoidTolls sets the AvoidTolls field's value.

func (CalculateRouteCarModeOptions) String added in v1.38.51

String returns the string representation

type CalculateRouteInput added in v1.38.51

type CalculateRouteInput struct {

	// The name of the route calculator resource that you want to use to calculate
	// a route.
	//
	// CalculatorName is a required field
	CalculatorName *string `location:"uri" locationName:"CalculatorName" min:"1" type:"string" required:"true"`

	// Specifies route preferences when traveling by Car, such as avoiding routes
	// that use ferries or tolls.
	//
	// Requirements: TravelMode must be specified as Car.
	CarModeOptions *CalculateRouteCarModeOptions `type:"structure"`

	// Sets the time of departure as the current time. Uses the current time to
	// calculate a route. Otherwise, the best time of day to travel with the best
	// traffic conditions is used to calculate the route.
	//
	// Default Value: false
	//
	// Valid Values: false | true
	DepartNow *bool `type:"boolean"`

	// The start position for the route. Defined in WGS 84 (https://earth-info.nga.mil/GandG/wgs84/index.html)
	// format: [longitude, latitude].
	//
	//    * For example, [-123.115, 49.285]
	//
	// If you specify a departure that's not located on a road, Amazon Location
	// moves the position to the nearest road (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road).
	//
	// Valid Values: [-180 to 180,-90 to 90]
	//
	// DeparturePosition is a required field
	DeparturePosition []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// Specifies the desired time of departure. Uses the given time to calculate
	// a route. Otherwise, the best time of day to travel with the best traffic
	// conditions is used to calculate the route.
	//
	// Setting a departure time in the past returns a 400 ValidationException error.
	//
	//    * In ISO 8601 (https://www.iso.org/iso-8601-date-and-time-format.html)
	//    format: YYYY-MM-DDThh:mm:ss.sssZ. For example, 2020–07-2T12:15:20.000Z+01:00
	DepartureTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The finish position for the route. Defined in WGS 84 (https://earth-info.nga.mil/GandG/wgs84/index.html)
	// format: [longitude, latitude].
	//
	//    * For example, [-122.339, 47.615]
	//
	// If you specify a destination that's not located on a road, Amazon Location
	// moves the position to the nearest road (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road).
	//
	// Valid Values: [-180 to 180,-90 to 90]
	//
	// DestinationPosition is a required field
	DestinationPosition []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// Set the unit system to specify the distance.
	//
	// Default Value: Kilometers
	DistanceUnit *string `type:"string" enum:"DistanceUnit"`

	// Set to include the geometry details in the result for each path between a
	// pair of positions.
	//
	// Default Value: false
	//
	// Valid Values: false | true
	IncludeLegGeometry *bool `type:"boolean"`

	// Specifies the mode of transport when calculating a route. Used in estimating
	// the speed of travel and road compatibility.
	//
	// The TravelMode you specify determines how you specify route preferences:
	//
	//    * If traveling by Car use the CarModeOptions parameter.
	//
	//    * If traveling by Truck use the TruckModeOptions parameter.
	//
	// Default Value: Car
	TravelMode *string `type:"string" enum:"TravelMode"`

	// Specifies route preferences when traveling by Truck, such as avoiding routes
	// that use ferries or tolls, and truck specifications to consider when choosing
	// an optimal road.
	//
	// Requirements: TravelMode must be specified as Truck.
	TruckModeOptions *CalculateRouteTruckModeOptions `type:"structure"`

	// Specifies an ordered list of up to 23 intermediate positions to include along
	// a route between the departure position and destination position.
	//
	//    * For example, from the DeparturePosition [-123.115, 49.285], the route
	//    follows the order that the waypoint positions are given [[-122.757, 49.0021],[-122.349,
	//    47.620]]
	//
	// If you specify a waypoint position that's not located on a road, Amazon Location
	// moves the position to the nearest road (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road).
	//
	// Specifying more than 23 waypoints returns a 400 ValidationException error.
	//
	// Valid Values: [-180 to 180,-90 to 90]
	WaypointPositions [][]*float64 `type:"list"`
	// contains filtered or unexported fields
}

func (CalculateRouteInput) GoString added in v1.38.51

func (s CalculateRouteInput) GoString() string

GoString returns the string representation

func (*CalculateRouteInput) SetCalculatorName added in v1.38.51

func (s *CalculateRouteInput) SetCalculatorName(v string) *CalculateRouteInput

SetCalculatorName sets the CalculatorName field's value.

func (*CalculateRouteInput) SetCarModeOptions added in v1.38.51

SetCarModeOptions sets the CarModeOptions field's value.

func (*CalculateRouteInput) SetDepartNow added in v1.38.51

func (s *CalculateRouteInput) SetDepartNow(v bool) *CalculateRouteInput

SetDepartNow sets the DepartNow field's value.

func (*CalculateRouteInput) SetDeparturePosition added in v1.38.51

func (s *CalculateRouteInput) SetDeparturePosition(v []*float64) *CalculateRouteInput

SetDeparturePosition sets the DeparturePosition field's value.

func (*CalculateRouteInput) SetDepartureTime added in v1.38.51

func (s *CalculateRouteInput) SetDepartureTime(v time.Time) *CalculateRouteInput

SetDepartureTime sets the DepartureTime field's value.

func (*CalculateRouteInput) SetDestinationPosition added in v1.38.51

func (s *CalculateRouteInput) SetDestinationPosition(v []*float64) *CalculateRouteInput

SetDestinationPosition sets the DestinationPosition field's value.

func (*CalculateRouteInput) SetDistanceUnit added in v1.38.51

func (s *CalculateRouteInput) SetDistanceUnit(v string) *CalculateRouteInput

SetDistanceUnit sets the DistanceUnit field's value.

func (*CalculateRouteInput) SetIncludeLegGeometry added in v1.38.51

func (s *CalculateRouteInput) SetIncludeLegGeometry(v bool) *CalculateRouteInput

SetIncludeLegGeometry sets the IncludeLegGeometry field's value.

func (*CalculateRouteInput) SetTravelMode added in v1.38.51

func (s *CalculateRouteInput) SetTravelMode(v string) *CalculateRouteInput

SetTravelMode sets the TravelMode field's value.

func (*CalculateRouteInput) SetTruckModeOptions added in v1.38.51

SetTruckModeOptions sets the TruckModeOptions field's value.

func (*CalculateRouteInput) SetWaypointPositions added in v1.38.51

func (s *CalculateRouteInput) SetWaypointPositions(v [][]*float64) *CalculateRouteInput

SetWaypointPositions sets the WaypointPositions field's value.

func (CalculateRouteInput) String added in v1.38.51

func (s CalculateRouteInput) String() string

String returns the string representation

func (*CalculateRouteInput) Validate added in v1.38.51

func (s *CalculateRouteInput) Validate() error

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

type CalculateRouteOutput added in v1.38.51

type CalculateRouteOutput struct {

	// Contains details about each path between a pair of positions included along
	// a route such as: StartPosition, EndPosition, Distance, DurationSeconds, Geometry,
	// and Steps. The number of legs returned corresponds to one less than the total
	// number of positions in the request.
	//
	// For example, a route with a departure position and destination position returns
	// one leg with the positions snapped to a nearby road (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road):
	//
	//    * The StartPosition is the departure position.
	//
	//    * The EndPosition is the destination position.
	//
	// A route with a waypoint between the departure and destination position returns
	// two legs with the positions snapped to a nearby road.:
	//
	//    * Leg 1: The StartPosition is the departure position . The EndPosition
	//    is the waypoint positon.
	//
	//    * Leg 2: The StartPosition is the waypoint position. The EndPosition is
	//    the destination position.
	//
	// Legs is a required field
	Legs []*Leg `type:"list" required:"true"`

	// Contains information about the whole route, such as: RouteBBox, DataSource,
	// Distance, DistanceUnit, and DurationSeconds
	//
	// Summary is a required field
	Summary *CalculateRouteSummary `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Returns the result of the route calculation. Metadata includes legs and route summary.

func (CalculateRouteOutput) GoString added in v1.38.51

func (s CalculateRouteOutput) GoString() string

GoString returns the string representation

func (*CalculateRouteOutput) SetLegs added in v1.38.51

func (s *CalculateRouteOutput) SetLegs(v []*Leg) *CalculateRouteOutput

SetLegs sets the Legs field's value.

func (*CalculateRouteOutput) SetSummary added in v1.38.51

SetSummary sets the Summary field's value.

func (CalculateRouteOutput) String added in v1.38.51

func (s CalculateRouteOutput) String() string

String returns the string representation

type CalculateRouteSummary added in v1.38.51

type CalculateRouteSummary struct {

	// The data provider of traffic and road network data used to calculate the
	// route. Indicates one of the available providers:
	//
	//    * Esri
	//
	//    * Here
	//
	// For more information about data providers, see Amazon Location Service data
	// providers (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 total distance covered by the route. The sum of the distance travelled
	// between every stop on the route.
	//
	// The route distance can't be greater than 250 km. If the route exceeds 250
	// km, the response returns a 400 RoutesValidationException error.
	//
	// Distance is a required field
	Distance *float64 `type:"double" required:"true"`

	// The unit of measurement for the distance.
	//
	// DistanceUnit is a required field
	DistanceUnit *string `type:"string" required:"true" enum:"DistanceUnit"`

	// The total travel time for the route measured in seconds. The sum of the travel
	// time between every stop on the route.
	//
	// DurationSeconds is a required field
	DurationSeconds *float64 `type:"double" required:"true"`

	// Specifies a geographical box surrounding a route. Used to zoom into a route
	// when displaying it in a map. For example, [min x, min y, max x, max y]
	//
	// 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.
	//
	// The next 2 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.
	//
	// RouteBBox is a required field
	RouteBBox []*float64 `min:"4" type:"list" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

A summary of the calculated route.

func (CalculateRouteSummary) GoString added in v1.38.51

func (s CalculateRouteSummary) GoString() string

GoString returns the string representation

func (*CalculateRouteSummary) SetDataSource added in v1.38.51

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

SetDataSource sets the DataSource field's value.

func (*CalculateRouteSummary) SetDistance added in v1.38.51

SetDistance sets the Distance field's value.

func (*CalculateRouteSummary) SetDistanceUnit added in v1.38.51

func (s *CalculateRouteSummary) SetDistanceUnit(v string) *CalculateRouteSummary

SetDistanceUnit sets the DistanceUnit field's value.

func (*CalculateRouteSummary) SetDurationSeconds added in v1.38.51

func (s *CalculateRouteSummary) SetDurationSeconds(v float64) *CalculateRouteSummary

SetDurationSeconds sets the DurationSeconds field's value.

func (*CalculateRouteSummary) SetRouteBBox added in v1.38.51

func (s *CalculateRouteSummary) SetRouteBBox(v []*float64) *CalculateRouteSummary

SetRouteBBox sets the RouteBBox field's value.

func (CalculateRouteSummary) String added in v1.38.51

func (s CalculateRouteSummary) String() string

String returns the string representation

type CalculateRouteTruckModeOptions added in v1.38.51

type CalculateRouteTruckModeOptions struct {

	// Avoids ferries when calculating routes.
	//
	// Default Value: false
	//
	// Valid Values: false | true
	AvoidFerries *bool `type:"boolean"`

	// Avoids ferries when calculating routes.
	//
	// Default Value: false
	//
	// Valid Values: false | true
	AvoidTolls *bool `type:"boolean"`

	// Specifies the truck's dimension specifications including length, height,
	// width, and unit of measurement. Used to avoid roads that can't support the
	// truck's dimensions.
	Dimensions *TruckDimensions `type:"structure"`

	// Specifies the truck's weight specifications including total weight and unit
	// of measurement. Used to avoid roads that can't support the truck's weight.
	Weight *TruckWeight `type:"structure"`
	// contains filtered or unexported fields
}

Contains details about additional route preferences for requests that specify TravelMode as Truck.

func (CalculateRouteTruckModeOptions) GoString added in v1.38.51

GoString returns the string representation

func (*CalculateRouteTruckModeOptions) SetAvoidFerries added in v1.38.51

SetAvoidFerries sets the AvoidFerries field's value.

func (*CalculateRouteTruckModeOptions) SetAvoidTolls added in v1.38.51

SetAvoidTolls sets the AvoidTolls field's value.

func (*CalculateRouteTruckModeOptions) SetDimensions added in v1.38.51

SetDimensions sets the Dimensions field's value.

func (*CalculateRouteTruckModeOptions) SetWeight added in v1.38.51

SetWeight sets the Weight field's value.

func (CalculateRouteTruckModeOptions) String added in v1.38.51

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

	// A key identifier for an AWS KMS customer managed key (https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html).
	// Enter a key ID, key ARN, alias name, or alias ARN.
	KmsKeyId *string `min:"1" type:"string"`

	// Specifies the pricing plan for the 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 data provider for the geofence collection.
	//
	//    * Required value for the following pricing plans: MobileAssetTracking
	//    | MobileAssetManagement
	//
	// For more information about Data Providers (https://aws.amazon.com/location/data-providers/),
	// and Pricing plans (https://aws.amazon.com/location/pricing/), see the Amazon
	// Location Service product page.
	//
	// Amazon Location Service only uses PricingPlanDataSource to calculate billing
	// for your geofence collection. Your data won't be shared with the data provider,
	// and will remain in your AWS account or Region unless you move it.
	//
	// Valid Values: Esri | Here
	PricingPlanDataSource *string `type:"string"`

	// Applies one or more tags to the geofence collection. A tag is a key-value
	// pair helps manage, identify, search, and filter your resources by labelling
	// them.
	//
	// Format: "key" : "value"
	//
	// Restrictions:
	//
	//    * Maximum 50 tags per resource
	//
	//    * Each resource tag must be unique with a maximum of one value.
	//
	//    * Maximum key length: 128 Unicode characters in UTF-8
	//
	//    * Maximum value length: 256 Unicode characters in UTF-8
	//
	//    * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
	//    characters: + - = . _ : / @.
	Tags map[string]*string `type:"map"`
	// 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) SetKmsKeyId added in v1.38.51

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateGeofenceCollectionInput) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (*CreateGeofenceCollectionInput) SetPricingPlanDataSource added in v1.38.8

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

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*CreateGeofenceCollectionInput) SetTags added in v1.38.51

SetTags sets the Tags 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.
	//
	//    * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
	//
	// 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"`

	// Applies one or more tags to the map resource. A tag is a key-value pair helps
	// manage, identify, search, and filter your resources by labelling them.
	//
	// Format: "key" : "value"
	//
	// Restrictions:
	//
	//    * Maximum 50 tags per resource
	//
	//    * Each resource tag must be unique with a maximum of one value.
	//
	//    * Maximum key length: 128 Unicode characters in UTF-8
	//
	//    * Maximum value length: 256 Unicode characters in UTF-8
	//
	//    * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
	//    characters: + - = . _ : / @.
	Tags map[string]*string `type:"map"`
	// 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) SetTags added in v1.38.51

func (s *CreateMapInput) SetTags(v map[string]*string) *CreateMapInput

SetTags sets the Tags 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:aws:geo:region:account-id:maps/ExampleMap
	//
	// 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 Place index resources using HERE as a data provider can't be used
	//    to store (https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html)
	//    results for locations in Japan. For more information, see the AWS Service
	//    Terms (https://aws.amazon.com/service-terms/) for Amazon Location Service.
	//
	// 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"`

	// Applies one or more tags to the place index resource. A tag is a key-value
	// pair helps manage, identify, search, and filter your resources by labelling
	// them.
	//
	// Format: "key" : "value"
	//
	// Restrictions:
	//
	//    * Maximum 50 tags per resource
	//
	//    * Each resource tag must be unique with a maximum of one value.
	//
	//    * Maximum key length: 128 Unicode characters in UTF-8
	//
	//    * Maximum value length: 256 Unicode characters in UTF-8
	//
	//    * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
	//    characters: + - = . _ : / @.
	Tags map[string]*string `type:"map"`
	// 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) SetTags added in v1.38.51

SetTags sets the Tags 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 to specify
	// a resource across all AWS.
	//
	//    * Format example: arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex
	//
	// 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 CreateRouteCalculatorInput added in v1.38.51

type CreateRouteCalculatorInput struct {

	// The name of the route calculator resource.
	//
	// Requirements:
	//
	//    * Can use alphanumeric characters (A–Z, a–z, 0–9) , hyphens (-),
	//    periods (.), and underscores (_).
	//
	//    * Must be a unique Route calculator resource name.
	//
	//    * No spaces allowed. For example, ExampleRouteCalculator.
	//
	// CalculatorName is a required field
	CalculatorName *string `min:"1" type:"string" required:"true"`

	// Specifies the data provider of traffic and road network data.
	//
	// This field is case-sensitive. Enter the valid values as shown. For example,
	// entering HERE returns an error.
	//
	// Valid Values: Esri | Here
	//
	// For more information about data providers, see Amazon Location Service data
	// providers (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 route calculator resource.
	Description *string `type:"string"`

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

	// Applies one or more tags to the route calculator resource. A tag is a key-value
	// pair helps manage, identify, search, and filter your resources by labelling
	// them.
	//
	//    * For example: { "tag1" : "value1", "tag2" : "value2"}
	//
	// Format: "key" : "value"
	//
	// Restrictions:
	//
	//    * Maximum 50 tags per resource
	//
	//    * Each resource tag must be unique with a maximum of one value.
	//
	//    * Maximum key length: 128 Unicode characters in UTF-8
	//
	//    * Maximum value length: 256 Unicode characters in UTF-8
	//
	//    * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
	//    characters: + - = . _ : / @.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (CreateRouteCalculatorInput) GoString added in v1.38.51

func (s CreateRouteCalculatorInput) GoString() string

GoString returns the string representation

func (*CreateRouteCalculatorInput) SetCalculatorName added in v1.38.51

SetCalculatorName sets the CalculatorName field's value.

func (*CreateRouteCalculatorInput) SetDataSource added in v1.38.51

SetDataSource sets the DataSource field's value.

func (*CreateRouteCalculatorInput) SetDescription added in v1.38.51

SetDescription sets the Description field's value.

func (*CreateRouteCalculatorInput) SetPricingPlan added in v1.38.51

SetPricingPlan sets the PricingPlan field's value.

func (*CreateRouteCalculatorInput) SetTags added in v1.38.51

SetTags sets the Tags field's value.

func (CreateRouteCalculatorInput) String added in v1.38.51

String returns the string representation

func (*CreateRouteCalculatorInput) Validate added in v1.38.51

func (s *CreateRouteCalculatorInput) Validate() error

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

type CreateRouteCalculatorOutput added in v1.38.51

type CreateRouteCalculatorOutput struct {

	// The Amazon Resource Name (ARN) for the route calculator resource. Use the
	// ARN when you specify a resource across all AWS.
	//
	//    * Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
	//
	// CalculatorArn is a required field
	CalculatorArn *string `type:"string" required:"true"`

	// The name of the route calculator resource.
	//
	//    * For example, ExampleRouteCalculator.
	//
	// CalculatorName is a required field
	CalculatorName *string `min:"1" type:"string" required:"true"`

	// The timestamp when the route calculator resource was created in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	//    * For example, 2020–07-2T12:15:20.000Z+01:00
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (CreateRouteCalculatorOutput) GoString added in v1.38.51

func (s CreateRouteCalculatorOutput) GoString() string

GoString returns the string representation

func (*CreateRouteCalculatorOutput) SetCalculatorArn added in v1.38.51

SetCalculatorArn sets the CalculatorArn field's value.

func (*CreateRouteCalculatorOutput) SetCalculatorName added in v1.38.51

SetCalculatorName sets the CalculatorName field's value.

func (*CreateRouteCalculatorOutput) SetCreateTime added in v1.38.51

SetCreateTime sets the CreateTime field's value.

func (CreateRouteCalculatorOutput) String added in v1.38.51

String returns the string representation

type CreateTrackerInput

type CreateTrackerInput struct {

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

	// A key identifier for an AWS KMS customer managed key (https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html).
	// Enter a key ID, key ARN, alias name, or alias ARN.
	KmsKeyId *string `min:"1" type:"string"`

	// Specifies the pricing plan for the 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 data provider for the tracker resource.
	//
	//    * Required value for the following pricing plans: MobileAssetTracking
	//    | MobileAssetManagement
	//
	// For more information about Data Providers (https://aws.amazon.com/location/data-providers/),
	// and Pricing plans (https://aws.amazon.com/location/pricing/), see the Amazon
	// Location Service product page.
	//
	// Amazon Location Service only uses PricingPlanDataSource to calculate billing
	// for your tracker resource. Your data will not be shared with the data provider,
	// and will remain in your AWS account or Region unless you move it.
	//
	// Valid Values: Esri | Here
	PricingPlanDataSource *string `type:"string"`

	// Applies one or more tags to the tracker resource. A tag is a key-value pair
	// helps manage, identify, search, and filter your resources by labelling them.
	//
	// Format: "key" : "value"
	//
	// Restrictions:
	//
	//    * Maximum 50 tags per resource
	//
	//    * Each resource tag must be unique with a maximum of one value.
	//
	//    * Maximum key length: 128 Unicode characters in UTF-8
	//
	//    * Maximum value length: 256 Unicode characters in UTF-8
	//
	//    * Can use alphanumeric characters (A–Z, a–z, 0–9), and the following
	//    characters: + - = . _ : / @.
	Tags map[string]*string `type:"map"`

	// 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) SetKmsKeyId added in v1.38.51

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

SetKmsKeyId sets the KmsKeyId field's value.

func (*CreateTrackerInput) SetPricingPlan

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

SetPricingPlan sets the PricingPlan field's value.

func (*CreateTrackerInput) SetPricingPlanDataSource added in v1.38.8

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

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*CreateTrackerInput) SetTags added in v1.38.51

func (s *CreateTrackerInput) SetTags(v map[string]*string) *CreateTrackerInput

SetTags sets the Tags 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.
	//
	//    * Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
	//
	// 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.
	//    Place index resources using HERE as a data provider can't be configured
	//    to store results for locations in Japan when choosing Storage for the
	//    IntendedUse parameter.
	//
	// Default value: SingleUse
	IntendedUse *string `type:"string" enum:"IntendedUse"`
	// contains filtered or unexported fields
}

Specifies the data storage option chosen for requesting Places.

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 DeleteRouteCalculatorInput added in v1.38.51

type DeleteRouteCalculatorInput struct {

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

func (DeleteRouteCalculatorInput) GoString added in v1.38.51

func (s DeleteRouteCalculatorInput) GoString() string

GoString returns the string representation

func (*DeleteRouteCalculatorInput) SetCalculatorName added in v1.38.51

SetCalculatorName sets the CalculatorName field's value.

func (DeleteRouteCalculatorInput) String added in v1.38.51

String returns the string representation

func (*DeleteRouteCalculatorInput) Validate added in v1.38.51

func (s *DeleteRouteCalculatorInput) Validate() error

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

type DeleteRouteCalculatorOutput added in v1.38.51

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

func (DeleteRouteCalculatorOutput) GoString added in v1.38.51

func (s DeleteRouteCalculatorOutput) GoString() string

GoString returns the string representation

func (DeleteRouteCalculatorOutput) String added in v1.38.51

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.
	//
	//    * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection
	//
	// 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"`

	// A key identifier for an AWS KMS customer managed key (https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html)
	// assigned to the Amazon Location resource
	KmsKeyId *string `min:"1" type:"string"`

	// 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 specified data provider for the geofence collection.
	PricingPlanDataSource *string `type:"string"`

	// Displays the key, value pairs of tags associated with this resource.
	Tags map[string]*string `type:"map"`

	// 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) SetKmsKeyId added in v1.38.51

SetKmsKeyId sets the KmsKeyId field's value.

func (*DescribeGeofenceCollectionOutput) SetPricingPlan added in v1.38.8

SetPricingPlan sets the PricingPlan field's value.

func (*DescribeGeofenceCollectionOutput) SetPricingPlanDataSource added in v1.38.8

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*DescribeGeofenceCollectionOutput) SetTags added in v1.38.51

SetTags sets the Tags 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.
	//
	//    * Format example: arn:aws:geo:region:account-id:maps/ExampleMap
	//
	// 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"`

	// Tags associated with the map resource.
	Tags map[string]*string `type:"map"`

	// 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 added in v1.38.8

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

SetPricingPlan sets the PricingPlan field's value.

func (*DescribeMapOutput) SetTags added in v1.38.51

func (s *DescribeMapOutput) SetTags(v map[string]*string) *DescribeMapOutput

SetTags sets the Tags 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 to specify
	// a resource across all AWS.
	//
	//    * Format example: arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex
	//
	// 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"`

	// Tags associated with place index resource.
	Tags map[string]*string `type:"map"`

	// 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 added in v1.38.8

SetPricingPlan sets the PricingPlan field's value.

func (*DescribePlaceIndexOutput) SetTags added in v1.38.51

SetTags sets the Tags 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 DescribeRouteCalculatorInput added in v1.38.51

type DescribeRouteCalculatorInput struct {

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

func (DescribeRouteCalculatorInput) GoString added in v1.38.51

func (s DescribeRouteCalculatorInput) GoString() string

GoString returns the string representation

func (*DescribeRouteCalculatorInput) SetCalculatorName added in v1.38.51

SetCalculatorName sets the CalculatorName field's value.

func (DescribeRouteCalculatorInput) String added in v1.38.51

String returns the string representation

func (*DescribeRouteCalculatorInput) Validate added in v1.38.51

func (s *DescribeRouteCalculatorInput) Validate() error

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

type DescribeRouteCalculatorOutput added in v1.38.51

type DescribeRouteCalculatorOutput struct {

	// The Amazon Resource Name (ARN) for the Route calculator resource. Use the
	// ARN when you specify a resource across AWS.
	//
	//    * Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator
	//
	// CalculatorArn is a required field
	CalculatorArn *string `type:"string" required:"true"`

	// The name of the route calculator resource being described.
	//
	// CalculatorName is a required field
	CalculatorName *string `min:"1" type:"string" required:"true"`

	// The timestamp when the route calculator resource was created in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	//    * For example, 2020–07-2T12:15:20.000Z+01:00
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The data provider of traffic and road network data. Indicates one of the
	// available providers:
	//
	//    * Esri
	//
	//    * Here
	//
	// For more information about data providers, see Amazon Location Service data
	// providers (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 of the route calculator resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

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

	// Tags associated with route calculator resource.
	Tags map[string]*string `type:"map"`

	// The timestamp when the route calculator 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.
	//
	//    * For example, 2020–07-2T12:15:20.000Z+01:00
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRouteCalculatorOutput) GoString added in v1.38.51

GoString returns the string representation

func (*DescribeRouteCalculatorOutput) SetCalculatorArn added in v1.38.51

SetCalculatorArn sets the CalculatorArn field's value.

func (*DescribeRouteCalculatorOutput) SetCalculatorName added in v1.38.51

SetCalculatorName sets the CalculatorName field's value.

func (*DescribeRouteCalculatorOutput) SetCreateTime added in v1.38.51

SetCreateTime sets the CreateTime field's value.

func (*DescribeRouteCalculatorOutput) SetDataSource added in v1.38.51

SetDataSource sets the DataSource field's value.

func (*DescribeRouteCalculatorOutput) SetDescription added in v1.38.51

SetDescription sets the Description field's value.

func (*DescribeRouteCalculatorOutput) SetPricingPlan added in v1.38.51

SetPricingPlan sets the PricingPlan field's value.

func (*DescribeRouteCalculatorOutput) SetTags added in v1.38.51

SetTags sets the Tags field's value.

func (*DescribeRouteCalculatorOutput) SetUpdateTime added in v1.38.51

SetUpdateTime sets the UpdateTime field's value.

func (DescribeRouteCalculatorOutput) String added in v1.38.51

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

	// A key identifier for an AWS KMS customer managed key (https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html)
	// assigned to the Amazon Location resource.
	KmsKeyId *string `min:"1" type:"string"`

	// 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 specified data provider for the tracker resource.
	PricingPlanDataSource *string `type:"string"`

	// The tags associated with the tracker resource.
	Tags map[string]*string `type:"map"`

	// The Amazon Resource Name (ARN) for the tracker resource. Used when you need
	// to specify a resource across all AWS.
	//
	//    * Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker
	//
	// 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) SetKmsKeyId added in v1.38.51

SetKmsKeyId sets the KmsKeyId field's value.

func (*DescribeTrackerOutput) SetPricingPlan added in v1.38.8

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

SetPricingPlan sets the PricingPlan field's value.

func (*DescribeTrackerOutput) SetPricingPlanDataSource added in v1.38.8

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

SetPricingPlanDataSource sets the PricingPlanDataSource field's value.

func (*DescribeTrackerOutput) SetTags added in v1.38.51

SetTags sets the Tags 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:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer
	//
	// 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 doesn't 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 Leg added in v1.38.51

type Leg struct {

	// The distance between the leg's StartPosition and EndPosition along a calculated
	// route.
	//
	//    * The default measurement is Kilometers unless the request specifies a
	//    DistanceUnit of Miles.
	//
	// Distance is a required field
	Distance *float64 `type:"double" required:"true"`

	// The estimated travel time between the leg's StartPosition and EndPosition.
	// The travel mode and departure time that you specify in the request determines
	// the calculated time.
	//
	// DurationSeconds is a required field
	DurationSeconds *float64 `type:"double" required:"true"`

	// The terminating position of the leg. Follows the format [longitude,latitude].
	//
	// If the EndPosition isn't located on a road, it's snapped to a nearby road
	// (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road).
	//
	// EndPosition is a required field
	EndPosition []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// Contains the calculated route's path as a linestring geometry.
	Geometry *LegGeometry `type:"structure"`

	// The starting position of the leg. Follows the format [longitude,latitude].
	//
	// If the StartPosition isn't located on a road, it's snapped to a nearby road
	// (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road).
	//
	// StartPosition is a required field
	StartPosition []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// Contains a list of steps, which represent subsections of a leg. Each step
	// provides instructions for how to move to the next step in the leg such as
	// the step's start position, end position, travel distance, travel duration,
	// and geometry offset.
	//
	// Steps is a required field
	Steps []*Step `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Contains the calculated route's details for each path between a pair of positions. The number of legs returned corresponds to one less than the total number of positions in the request.

For example, a route with a departure position and destination position returns one leg with the positions snapped to a nearby road (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html#snap-to-nearby-road):

  • The StartPosition is the departure position.

  • The EndPosition is the destination position.

A route with a waypoint between the departure and destination position returns two legs with the positions snapped to a nearby road.:

  • Leg 1: The StartPosition is the departure position . The EndPosition is the waypoint positon.

  • Leg 2: The StartPosition is the waypoint position. The EndPosition is the destination position.

func (Leg) GoString added in v1.38.51

func (s Leg) GoString() string

GoString returns the string representation

func (*Leg) SetDistance added in v1.38.51

func (s *Leg) SetDistance(v float64) *Leg

SetDistance sets the Distance field's value.

func (*Leg) SetDurationSeconds added in v1.38.51

func (s *Leg) SetDurationSeconds(v float64) *Leg

SetDurationSeconds sets the DurationSeconds field's value.

func (*Leg) SetEndPosition added in v1.38.51

func (s *Leg) SetEndPosition(v []*float64) *Leg

SetEndPosition sets the EndPosition field's value.

func (*Leg) SetGeometry added in v1.38.51

func (s *Leg) SetGeometry(v *LegGeometry) *Leg

SetGeometry sets the Geometry field's value.

func (*Leg) SetStartPosition added in v1.38.51

func (s *Leg) SetStartPosition(v []*float64) *Leg

SetStartPosition sets the StartPosition field's value.

func (*Leg) SetSteps added in v1.38.51

func (s *Leg) SetSteps(v []*Step) *Leg

SetSteps sets the Steps field's value.

func (Leg) String added in v1.38.51

func (s Leg) String() string

String returns the string representation

type LegGeometry added in v1.38.51

type LegGeometry struct {

	// An ordered list of positions used to plot a route on a map.
	//
	// The first position is closest to the start position for the leg, and the
	// last position is the closest to the end position for the leg.
	//
	//    * For example, [[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]
	LineString [][]*float64 `min:"2" type:"list"`
	// contains filtered or unexported fields
}

Contains the geometry details for each path between a pair of positions. Used in plotting a route leg on a map.

func (LegGeometry) GoString added in v1.38.51

func (s LegGeometry) GoString() string

GoString returns the string representation

func (*LegGeometry) SetLineString added in v1.38.51

func (s *LegGeometry) SetLineString(v [][]*float64) *LegGeometry

SetLineString sets the LineString field's value.

func (LegGeometry) String added in v1.38.51

func (s LegGeometry) String() string

String returns the string representation

type ListDevicePositionsInput added in v1.38.51

type ListDevicePositionsInput struct {

	// An optional limit for the number of entries 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 containing the requested devices.
	//
	// TrackerName is a required field
	TrackerName *string `location:"uri" locationName:"TrackerName" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListDevicePositionsInput) GoString added in v1.38.51

func (s ListDevicePositionsInput) GoString() string

GoString returns the string representation

func (*ListDevicePositionsInput) SetMaxResults added in v1.38.51

SetMaxResults sets the MaxResults field's value.

func (*ListDevicePositionsInput) SetNextToken added in v1.38.51

SetNextToken sets the NextToken field's value.

func (*ListDevicePositionsInput) SetTrackerName added in v1.38.51

SetTrackerName sets the TrackerName field's value.

func (ListDevicePositionsInput) String added in v1.38.51

func (s ListDevicePositionsInput) String() string

String returns the string representation

func (*ListDevicePositionsInput) Validate added in v1.38.51

func (s *ListDevicePositionsInput) Validate() error

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

type ListDevicePositionsOutput added in v1.38.51

type ListDevicePositionsOutput struct {

	// Contains details about each device's last known position. These details includes
	// the device ID, the time when the position was sampled on the device, the
	// time that the service received the update, and the most recent coordinates.
	//
	// Entries is a required field
	Entries []*ListDevicePositionsResponseEntry `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 (ListDevicePositionsOutput) GoString added in v1.38.51

func (s ListDevicePositionsOutput) GoString() string

GoString returns the string representation

func (*ListDevicePositionsOutput) SetEntries added in v1.38.51

SetEntries sets the Entries field's value.

func (*ListDevicePositionsOutput) SetNextToken added in v1.38.51

SetNextToken sets the NextToken field's value.

func (ListDevicePositionsOutput) String added in v1.38.51

func (s ListDevicePositionsOutput) String() string

String returns the string representation

type ListDevicePositionsResponseEntry added in v1.38.51

type ListDevicePositionsResponseEntry struct {

	// The ID of the device for this position.
	//
	// DeviceId is a required field
	DeviceId *string `min:"1" type:"string" required:"true"`

	// The last known device position. Empty if no positions currently stored.
	//
	// Position is a required field
	Position []*float64 `min:"2" type:"list" required:"true" sensitive:"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 the tracker resource details.

func (ListDevicePositionsResponseEntry) GoString added in v1.38.51

GoString returns the string representation

func (*ListDevicePositionsResponseEntry) SetDeviceId added in v1.38.51

SetDeviceId sets the DeviceId field's value.

func (*ListDevicePositionsResponseEntry) SetPosition added in v1.38.51

SetPosition sets the Position field's value.

func (*ListDevicePositionsResponseEntry) SetSampleTime added in v1.38.51

SetSampleTime sets the SampleTime field's value.

func (ListDevicePositionsResponseEntry) String added in v1.38.51

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 specified data provider for the geofence collection.
	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 added in v1.38.8

SetPricingPlan sets the PricingPlan field's value.

func (*ListGeofenceCollectionsResponseEntry) SetPricingPlanDataSource added in v1.38.8

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 added in v1.38.8

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 added in v1.38.8

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 ListRouteCalculatorsInput added in v1.38.51

type ListRouteCalculatorsInput struct {

	// An optional 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 (ListRouteCalculatorsInput) GoString added in v1.38.51

func (s ListRouteCalculatorsInput) GoString() string

GoString returns the string representation

func (*ListRouteCalculatorsInput) SetMaxResults added in v1.38.51

SetMaxResults sets the MaxResults field's value.

func (*ListRouteCalculatorsInput) SetNextToken added in v1.38.51

SetNextToken sets the NextToken field's value.

func (ListRouteCalculatorsInput) String added in v1.38.51

func (s ListRouteCalculatorsInput) String() string

String returns the string representation

func (*ListRouteCalculatorsInput) Validate added in v1.38.51

func (s *ListRouteCalculatorsInput) Validate() error

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

type ListRouteCalculatorsOutput added in v1.38.51

type ListRouteCalculatorsOutput struct {

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

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

func (ListRouteCalculatorsOutput) GoString added in v1.38.51

func (s ListRouteCalculatorsOutput) GoString() string

GoString returns the string representation

func (*ListRouteCalculatorsOutput) SetEntries added in v1.38.51

SetEntries sets the Entries field's value.

func (*ListRouteCalculatorsOutput) SetNextToken added in v1.38.51

SetNextToken sets the NextToken field's value.

func (ListRouteCalculatorsOutput) String added in v1.38.51

String returns the string representation

type ListRouteCalculatorsResponseEntry added in v1.38.51

type ListRouteCalculatorsResponseEntry struct {

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

	// The timestamp when the route calculator resource was created in ISO 8601
	// (https://www.iso.org/iso-8601-date-and-time-format.html) format: YYYY-MM-DDThh:mm:ss.sssZ.
	//
	//    * For example, 2020–07-2T12:15:20.000Z+01:00
	//
	// CreateTime is a required field
	CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The data provider of traffic and road network data. Indicates one of the
	// available providers:
	//
	//    * Esri
	//
	//    * Here
	//
	// For more information about data providers, see Amazon Location Service data
	// providers (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 of the route calculator resource.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

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

	// The timestamp when the route calculator 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.
	//
	//    * For example, 2020–07-2T12:15:20.000Z+01:00
	//
	// UpdateTime is a required field
	UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

A route calculator resource listed in your AWS account.

func (ListRouteCalculatorsResponseEntry) GoString added in v1.38.51

GoString returns the string representation

func (*ListRouteCalculatorsResponseEntry) SetCalculatorName added in v1.38.51

SetCalculatorName sets the CalculatorName field's value.

func (*ListRouteCalculatorsResponseEntry) SetCreateTime added in v1.38.51

SetCreateTime sets the CreateTime field's value.

func (*ListRouteCalculatorsResponseEntry) SetDataSource added in v1.38.51

SetDataSource sets the DataSource field's value.

func (*ListRouteCalculatorsResponseEntry) SetDescription added in v1.38.51

SetDescription sets the Description field's value.

func (*ListRouteCalculatorsResponseEntry) SetPricingPlan added in v1.38.51

SetPricingPlan sets the PricingPlan field's value.

func (*ListRouteCalculatorsResponseEntry) SetUpdateTime added in v1.38.51

SetUpdateTime sets the UpdateTime field's value.

func (ListRouteCalculatorsResponseEntry) String added in v1.38.51

String returns the string representation

type ListTagsForResourceInput added in v1.38.51

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.38.51

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn added in v1.38.51

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.38.51

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate added in v1.38.51

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v1.38.51

type ListTagsForResourceOutput struct {

	// The mapping from tag key to tag value for each tag associated with the specified
	// resource.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString added in v1.38.51

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags added in v1.38.51

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.38.51

func (s ListTagsForResourceOutput) String() 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 specified data provider for the tracker resource.
	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 added in v1.38.8

SetPricingPlan sets the PricingPlan field's value.

func (*ListTrackersResponseEntry) SetPricingPlanDataSource added in v1.38.8

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) BatchDeleteDevicePositionHistory added in v1.38.51

BatchDeleteDevicePositionHistory API operation for Amazon Location Service.

Deletes the position history of one or more devices from a 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 BatchDeleteDevicePositionHistory 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/BatchDeleteDevicePositionHistory

func (*LocationService) BatchDeleteDevicePositionHistoryRequest added in v1.38.51

func (c *LocationService) BatchDeleteDevicePositionHistoryRequest(input *BatchDeleteDevicePositionHistoryInput) (req *request.Request, output *BatchDeleteDevicePositionHistoryOutput)

BatchDeleteDevicePositionHistoryRequest generates a "aws/request.Request" representing the client's request for the BatchDeleteDevicePositionHistory 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 BatchDeleteDevicePositionHistory for more information on using the BatchDeleteDevicePositionHistory 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 BatchDeleteDevicePositionHistoryRequest method.
req, resp := client.BatchDeleteDevicePositionHistoryRequest(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/BatchDeleteDevicePositionHistory

func (*LocationService) BatchDeleteDevicePositionHistoryWithContext added in v1.38.51

func (c *LocationService) BatchDeleteDevicePositionHistoryWithContext(ctx aws.Context, input *BatchDeleteDevicePositionHistoryInput, opts ...request.Option) (*BatchDeleteDevicePositionHistoryOutput, error)

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

See BatchDeleteDevicePositionHistory 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 operation deletes the resource permanently.

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, 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 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 30 days before it's 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) CalculateRoute added in v1.38.51

func (c *LocationService) CalculateRoute(input *CalculateRouteInput) (*CalculateRouteOutput, error)

CalculateRoute API operation for Amazon Location Service.

Calculates a route (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html) given the following required parameters: DeparturePostiton and DestinationPosition. Requires that you first create aroute calculator resource (https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html)

By default, a request that doesn't specify a departure time uses the best time of day to travel with the best traffic conditions when calculating the route.

Additional options include:

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

func (*LocationService) CalculateRouteRequest added in v1.38.51

func (c *LocationService) CalculateRouteRequest(input *CalculateRouteInput) (req *request.Request, output *CalculateRouteOutput)

CalculateRouteRequest generates a "aws/request.Request" representing the client's request for the CalculateRoute 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 CalculateRoute for more information on using the CalculateRoute 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 CalculateRouteRequest method.
req, resp := client.CalculateRouteRequest(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/CalculateRoute

func (*LocationService) CalculateRouteWithContext added in v1.38.51

func (c *LocationService) CalculateRouteWithContext(ctx aws.Context, input *CalculateRouteInput, opts ...request.Option) (*CalculateRouteOutput, error)

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

See CalculateRoute 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.

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 functions with geospatial data sourced from your chosen data provider.

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) CreateRouteCalculator added in v1.38.51

func (c *LocationService) CreateRouteCalculator(input *CreateRouteCalculatorInput) (*CreateRouteCalculatorOutput, error)

CreateRouteCalculator API operation for Amazon Location Service.

Creates a route calculator resource in your AWS account.

You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.

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

func (*LocationService) CreateRouteCalculatorRequest added in v1.38.51

func (c *LocationService) CreateRouteCalculatorRequest(input *CreateRouteCalculatorInput) (req *request.Request, output *CreateRouteCalculatorOutput)

CreateRouteCalculatorRequest generates a "aws/request.Request" representing the client's request for the CreateRouteCalculator 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 CreateRouteCalculator for more information on using the CreateRouteCalculator 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 CreateRouteCalculatorRequest method.
req, resp := client.CreateRouteCalculatorRequest(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/CreateRouteCalculator

func (*LocationService) CreateRouteCalculatorWithContext added in v1.38.51

func (c *LocationService) CreateRouteCalculatorWithContext(ctx aws.Context, input *CreateRouteCalculatorInput, opts ...request.Option) (*CreateRouteCalculatorOutput, error)

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

See CreateRouteCalculator 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 operation deletes the resource permanently. 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 operation deletes the resource permanently. 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 operation deletes the resource permanently.

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) DeleteRouteCalculator added in v1.38.51

func (c *LocationService) DeleteRouteCalculator(input *DeleteRouteCalculatorInput) (*DeleteRouteCalculatorOutput, error)

DeleteRouteCalculator API operation for Amazon Location Service.

Deletes a route calculator resource from your AWS account.

This operation deletes the resource permanently.

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

func (*LocationService) DeleteRouteCalculatorRequest added in v1.38.51

func (c *LocationService) DeleteRouteCalculatorRequest(input *DeleteRouteCalculatorInput) (req *request.Request, output *DeleteRouteCalculatorOutput)

DeleteRouteCalculatorRequest generates a "aws/request.Request" representing the client's request for the DeleteRouteCalculator 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 DeleteRouteCalculator for more information on using the DeleteRouteCalculator 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 DeleteRouteCalculatorRequest method.
req, resp := client.DeleteRouteCalculatorRequest(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/DeleteRouteCalculator

func (*LocationService) DeleteRouteCalculatorWithContext added in v1.38.51

func (c *LocationService) DeleteRouteCalculatorWithContext(ctx aws.Context, input *DeleteRouteCalculatorInput, opts ...request.Option) (*DeleteRouteCalculatorOutput, error)

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

See DeleteRouteCalculator 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 operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't 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) DescribeRouteCalculator added in v1.38.51

DescribeRouteCalculator API operation for Amazon Location Service.

Retrieves the route calculator 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 DescribeRouteCalculator 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/DescribeRouteCalculator

func (*LocationService) DescribeRouteCalculatorRequest added in v1.38.51

func (c *LocationService) DescribeRouteCalculatorRequest(input *DescribeRouteCalculatorInput) (req *request.Request, output *DescribeRouteCalculatorOutput)

DescribeRouteCalculatorRequest generates a "aws/request.Request" representing the client's request for the DescribeRouteCalculator 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 DescribeRouteCalculator for more information on using the DescribeRouteCalculator 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 DescribeRouteCalculatorRequest method.
req, resp := client.DescribeRouteCalculatorRequest(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/DescribeRouteCalculator

func (*LocationService) DescribeRouteCalculatorWithContext added in v1.38.51

func (c *LocationService) DescribeRouteCalculatorWithContext(ctx aws.Context, input *DescribeRouteCalculatorInput, opts ...request.Option) (*DescribeRouteCalculatorOutput, error)

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

See DescribeRouteCalculator 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 30 days.

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 30 days.

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're 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) ListDevicePositions added in v1.38.51

func (c *LocationService) ListDevicePositions(input *ListDevicePositionsInput) (*ListDevicePositionsOutput, error)

ListDevicePositions API operation for Amazon Location Service.

Lists the latest device positions for requested 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 ListDevicePositions 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/ListDevicePositions

func (*LocationService) ListDevicePositionsPages added in v1.38.51

func (c *LocationService) ListDevicePositionsPages(input *ListDevicePositionsInput, fn func(*ListDevicePositionsOutput, bool) bool) error

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

See ListDevicePositions 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 ListDevicePositions operation.
pageNum := 0
err := client.ListDevicePositionsPages(params,
    func(page *locationservice.ListDevicePositionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListDevicePositionsPagesWithContext added in v1.38.51

func (c *LocationService) ListDevicePositionsPagesWithContext(ctx aws.Context, input *ListDevicePositionsInput, fn func(*ListDevicePositionsOutput, bool) bool, opts ...request.Option) error

ListDevicePositionsPagesWithContext same as ListDevicePositionsPages 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) ListDevicePositionsRequest added in v1.38.51

func (c *LocationService) ListDevicePositionsRequest(input *ListDevicePositionsInput) (req *request.Request, output *ListDevicePositionsOutput)

ListDevicePositionsRequest generates a "aws/request.Request" representing the client's request for the ListDevicePositions 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 ListDevicePositions for more information on using the ListDevicePositions 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 ListDevicePositionsRequest method.
req, resp := client.ListDevicePositionsRequest(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/ListDevicePositions

func (*LocationService) ListDevicePositionsWithContext added in v1.38.51

func (c *LocationService) ListDevicePositionsWithContext(ctx aws.Context, input *ListDevicePositionsInput, opts ...request.Option) (*ListDevicePositionsOutput, error)

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

See ListDevicePositions 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) ListRouteCalculators added in v1.38.51

func (c *LocationService) ListRouteCalculators(input *ListRouteCalculatorsInput) (*ListRouteCalculatorsOutput, error)

ListRouteCalculators API operation for Amazon Location Service.

Lists route calculator 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 ListRouteCalculators 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/ListRouteCalculators

func (*LocationService) ListRouteCalculatorsPages added in v1.38.51

func (c *LocationService) ListRouteCalculatorsPages(input *ListRouteCalculatorsInput, fn func(*ListRouteCalculatorsOutput, bool) bool) error

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

See ListRouteCalculators 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 ListRouteCalculators operation.
pageNum := 0
err := client.ListRouteCalculatorsPages(params,
    func(page *locationservice.ListRouteCalculatorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*LocationService) ListRouteCalculatorsPagesWithContext added in v1.38.51

func (c *LocationService) ListRouteCalculatorsPagesWithContext(ctx aws.Context, input *ListRouteCalculatorsInput, fn func(*ListRouteCalculatorsOutput, bool) bool, opts ...request.Option) error

ListRouteCalculatorsPagesWithContext same as ListRouteCalculatorsPages 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) ListRouteCalculatorsRequest added in v1.38.51

func (c *LocationService) ListRouteCalculatorsRequest(input *ListRouteCalculatorsInput) (req *request.Request, output *ListRouteCalculatorsOutput)

ListRouteCalculatorsRequest generates a "aws/request.Request" representing the client's request for the ListRouteCalculators 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 ListRouteCalculators for more information on using the ListRouteCalculators 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 ListRouteCalculatorsRequest method.
req, resp := client.ListRouteCalculatorsRequest(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/ListRouteCalculators

func (*LocationService) ListRouteCalculatorsWithContext added in v1.38.51

func (c *LocationService) ListRouteCalculatorsWithContext(ctx aws.Context, input *ListRouteCalculatorsInput, opts ...request.Option) (*ListRouteCalculatorsOutput, error)

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

See ListRouteCalculators 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) ListTagsForResource added in v1.38.51

func (c *LocationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Location Service.

Returns the tags for the specified Amazon Location Service 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 ListTagsForResource 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/ListTagsForResource

func (*LocationService) ListTagsForResourceRequest added in v1.38.51

func (c *LocationService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(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/ListTagsForResource

func (*LocationService) ListTagsForResourceWithContext added in v1.38.51

func (c *LocationService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

See ListTagsForResource 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.

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.

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.

func (*LocationService) TagResource added in v1.38.51

func (c *LocationService) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Location Service.

Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.

<p>Tags can help you organize and categorize your resources. You can also
use them to scope user permissions, by granting a user permission to access
or change only resources with certain tag values.</p> <p>Tags don't have
any semantic meaning to AWS and are interpreted strictly as strings of
characters.</p> <p>You can use the <code>TagResource</code> action with
an Amazon Location Service resource that already has tags. If you specify
a new tag key for the resource, this tag is appended to the tags already
associated with the resource. If you specify a tag key that is already
associated with the resource, the new tag value that you specify replaces
the previous value for that tag. </p> <p>You can associate as many as
50 tags with a resource.</p>

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

func (*LocationService) TagResourceRequest added in v1.38.51

func (c *LocationService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method.
req, resp := client.TagResourceRequest(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/TagResource

func (*LocationService) TagResourceWithContext added in v1.38.51

func (c *LocationService) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

See TagResource 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) UntagResource added in v1.38.51

func (c *LocationService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Location Service.

Removes one or more tags from the specified Amazon Location Service 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 UntagResource 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/UntagResource

func (*LocationService) UntagResourceRequest added in v1.38.51

func (c *LocationService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method.
req, resp := client.UntagResourceRequest(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/UntagResource

func (*LocationService) UntagResourceWithContext added in v1.38.51

func (c *LocationService) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

See UntagResource 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: RasterEsriImagery, 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 Step added in v1.38.51

type Step struct {

	// The travel distance between the step's StartPosition and EndPosition.
	//
	// Distance is a required field
	Distance *float64 `type:"double" required:"true"`

	// The estimated travel time, in seconds, from the step's StartPosition to the
	// EndPosition. . The travel mode and departure time that you specify in the
	// request determines the calculated time.
	//
	// DurationSeconds is a required field
	DurationSeconds *float64 `type:"double" required:"true"`

	// The end position of a step. If the position the last step in the leg, this
	// position is the same as the end position of the leg.
	//
	// EndPosition is a required field
	EndPosition []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`

	// Represents the start position, or index, in a sequence of steps within the
	// leg's line string geometry. For example, the index of the first step in a
	// leg geometry is 0.
	//
	// Included in the response for queries that set IncludeLegGeometry to True.
	GeometryOffset *int64 `type:"integer"`

	// The starting position of a step. If the position is the first step in the
	// leg, this position is the same as the start position of the leg.
	//
	// StartPosition is a required field
	StartPosition []*float64 `min:"2" type:"list" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg.

func (Step) GoString added in v1.38.51

func (s Step) GoString() string

GoString returns the string representation

func (*Step) SetDistance added in v1.38.51

func (s *Step) SetDistance(v float64) *Step

SetDistance sets the Distance field's value.

func (*Step) SetDurationSeconds added in v1.38.51

func (s *Step) SetDurationSeconds(v float64) *Step

SetDurationSeconds sets the DurationSeconds field's value.

func (*Step) SetEndPosition added in v1.38.51

func (s *Step) SetEndPosition(v []*float64) *Step

SetEndPosition sets the EndPosition field's value.

func (*Step) SetGeometryOffset added in v1.38.51

func (s *Step) SetGeometryOffset(v int64) *Step

SetGeometryOffset sets the GeometryOffset field's value.

func (*Step) SetStartPosition added in v1.38.51

func (s *Step) SetStartPosition(v []*float64) *Step

SetStartPosition sets the StartPosition field's value.

func (Step) String added in v1.38.51

func (s Step) String() string

String returns the string representation

type TagResourceInput added in v1.38.51

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource whose tags you want to update.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The mapping from tag key to tag value for each tag associated with the specified
	// resource.
	//
	// Tags is a required field
	Tags map[string]*string `type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.38.51

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn added in v1.38.51

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.38.51

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.38.51

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v1.38.51

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v1.38.51

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

func (TagResourceOutput) GoString added in v1.38.51

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String added in v1.38.51

func (s TagResourceOutput) String() 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 TruckDimensions added in v1.38.51

type TruckDimensions struct {

	// The height of the truck.
	//
	//    * For example, 4.5.
	Height *float64 `type:"double"`

	// The length of the truck.
	//
	//    * For example, 15.5.
	Length *float64 `type:"double"`

	// Specifies the unit of measurement for the truck dimensions.
	//
	// Default Value: Meters
	Unit *string `type:"string" enum:"DimensionUnit"`

	// The width of the truck.
	//
	//    * For example, 4.5.
	Width *float64 `type:"double"`
	// contains filtered or unexported fields
}

Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode as Truck.

func (TruckDimensions) GoString added in v1.38.51

func (s TruckDimensions) GoString() string

GoString returns the string representation

func (*TruckDimensions) SetHeight added in v1.38.51

func (s *TruckDimensions) SetHeight(v float64) *TruckDimensions

SetHeight sets the Height field's value.

func (*TruckDimensions) SetLength added in v1.38.51

func (s *TruckDimensions) SetLength(v float64) *TruckDimensions

SetLength sets the Length field's value.

func (*TruckDimensions) SetUnit added in v1.38.51

func (s *TruckDimensions) SetUnit(v string) *TruckDimensions

SetUnit sets the Unit field's value.

func (*TruckDimensions) SetWidth added in v1.38.51

func (s *TruckDimensions) SetWidth(v float64) *TruckDimensions

SetWidth sets the Width field's value.

func (TruckDimensions) String added in v1.38.51

func (s TruckDimensions) String() string

String returns the string representation

type TruckWeight added in v1.38.51

type TruckWeight struct {

	// The total weight of the truck.
	//
	//    * For example, 3500.
	Total *float64 `type:"double"`

	// The unit of measurement to use for the truck weight.
	//
	// Default Value: Kilograms
	Unit *string `type:"string" enum:"VehicleWeightUnit"`
	// contains filtered or unexported fields
}

Contains details about the truck's weight specifications. Used to avoid roads that can't support or allow the total weight for requests that specify TravelMode as Truck.

func (TruckWeight) GoString added in v1.38.51

func (s TruckWeight) GoString() string

GoString returns the string representation

func (*TruckWeight) SetTotal added in v1.38.51

func (s *TruckWeight) SetTotal(v float64) *TruckWeight

SetTotal sets the Total field's value.

func (*TruckWeight) SetUnit added in v1.38.51

func (s *TruckWeight) SetUnit(v string) *TruckWeight

SetUnit sets the Unit field's value.

func (TruckWeight) String added in v1.38.51

func (s TruckWeight) String() string

String returns the string representation

type UntagResourceInput added in v1.38.51

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource from which you want to remove
	// tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The list of tag keys to remove from the resource.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.38.51

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn added in v1.38.51

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.38.51

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.38.51

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v1.38.51

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v1.38.51

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

func (UntagResourceOutput) GoString added in v1.38.51

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String added in v1.38.51

func (s UntagResourceOutput) 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