AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Pinpoint

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

type Pinpoint struct { *client.Client }

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

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

Client

Type: *client.Client

Method

CreateApp

func (c *Pinpoint) CreateApp(input *CreateAppInput) (*CreateAppOutput, error)

CreateApp API operation for Amazon Pinpoint.

Creates or updates an app.

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 Pinpoint's API operation CreateApp for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp

CreateAppRequest

func (c *Pinpoint) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput)

CreateAppRequest generates a "aws/request.Request" representing the client's request for the CreateApp 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 CreateApp for more information on using the CreateApp 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 CreateAppRequest method. req, resp := client.CreateAppRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp

CreateAppWithContext

func (c *Pinpoint) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

CreateCampaign

func (c *Pinpoint) CreateCampaign(input *CreateCampaignInput) (*CreateCampaignOutput, error)

CreateCampaign API operation for Amazon Pinpoint.

Creates or updates a campaign.

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 Pinpoint's API operation CreateCampaign for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign

CreateCampaignRequest

func (c *Pinpoint) CreateCampaignRequest(input *CreateCampaignInput) (req *request.Request, output *CreateCampaignOutput)

CreateCampaignRequest generates a "aws/request.Request" representing the client's request for the CreateCampaign 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 CreateCampaign for more information on using the CreateCampaign 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 CreateCampaignRequest method. req, resp := client.CreateCampaignRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign

CreateCampaignWithContext

func (c *Pinpoint) CreateCampaignWithContext(ctx aws.Context, input *CreateCampaignInput, opts ...request.Option) (*CreateCampaignOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

CreateExportJob

func (c *Pinpoint) CreateExportJob(input *CreateExportJobInput) (*CreateExportJobOutput, error)

CreateExportJob API operation for Amazon Pinpoint.

Creates an export job.

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 Pinpoint's API operation CreateExportJob for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob

CreateExportJobRequest

func (c *Pinpoint) CreateExportJobRequest(input *CreateExportJobInput) (req *request.Request, output *CreateExportJobOutput)

CreateExportJobRequest generates a "aws/request.Request" representing the client's request for the CreateExportJob 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 CreateExportJob for more information on using the CreateExportJob 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 CreateExportJobRequest method. req, resp := client.CreateExportJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob

CreateExportJobWithContext

func (c *Pinpoint) CreateExportJobWithContext(ctx aws.Context, input *CreateExportJobInput, opts ...request.Option) (*CreateExportJobOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

CreateImportJob

func (c *Pinpoint) CreateImportJob(input *CreateImportJobInput) (*CreateImportJobOutput, error)

CreateImportJob API operation for Amazon Pinpoint.

Creates or updates an import job.

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 Pinpoint's API operation CreateImportJob for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob

CreateImportJobRequest

func (c *Pinpoint) CreateImportJobRequest(input *CreateImportJobInput) (req *request.Request, output *CreateImportJobOutput)

CreateImportJobRequest generates a "aws/request.Request" representing the client's request for the CreateImportJob 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 CreateImportJob for more information on using the CreateImportJob 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 CreateImportJobRequest method. req, resp := client.CreateImportJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob

CreateImportJobWithContext

func (c *Pinpoint) CreateImportJobWithContext(ctx aws.Context, input *CreateImportJobInput, opts ...request.Option) (*CreateImportJobOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

CreateSegment

func (c *Pinpoint) CreateSegment(input *CreateSegmentInput) (*CreateSegmentOutput, error)

CreateSegment API operation for Amazon Pinpoint.

Used to create or update a segment.

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 Pinpoint's API operation CreateSegment for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment

CreateSegmentRequest

func (c *Pinpoint) CreateSegmentRequest(input *CreateSegmentInput) (req *request.Request, output *CreateSegmentOutput)

CreateSegmentRequest generates a "aws/request.Request" representing the client's request for the CreateSegment 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 CreateSegment for more information on using the CreateSegment 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 CreateSegmentRequest method. req, resp := client.CreateSegmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment

CreateSegmentWithContext

func (c *Pinpoint) CreateSegmentWithContext(ctx aws.Context, input *CreateSegmentInput, opts ...request.Option) (*CreateSegmentOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteAdmChannel

func (c *Pinpoint) DeleteAdmChannel(input *DeleteAdmChannelInput) (*DeleteAdmChannelOutput, error)

DeleteAdmChannel API operation for Amazon Pinpoint.

Delete an ADM channel.

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 Pinpoint's API operation DeleteAdmChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannel

DeleteAdmChannelRequest

func (c *Pinpoint) DeleteAdmChannelRequest(input *DeleteAdmChannelInput) (req *request.Request, output *DeleteAdmChannelOutput)

DeleteAdmChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteAdmChannel 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 DeleteAdmChannel for more information on using the DeleteAdmChannel 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 DeleteAdmChannelRequest method. req, resp := client.DeleteAdmChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannel

DeleteAdmChannelWithContext

func (c *Pinpoint) DeleteAdmChannelWithContext(ctx aws.Context, input *DeleteAdmChannelInput, opts ...request.Option) (*DeleteAdmChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteApnsChannel

func (c *Pinpoint) DeleteApnsChannel(input *DeleteApnsChannelInput) (*DeleteApnsChannelOutput, error)

DeleteApnsChannel API operation for Amazon Pinpoint.

Deletes the APNs channel for an app.

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 Pinpoint's API operation DeleteApnsChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannel

DeleteApnsChannelRequest

func (c *Pinpoint) DeleteApnsChannelRequest(input *DeleteApnsChannelInput) (req *request.Request, output *DeleteApnsChannelOutput)

DeleteApnsChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteApnsChannel 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 DeleteApnsChannel for more information on using the DeleteApnsChannel 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 DeleteApnsChannelRequest method. req, resp := client.DeleteApnsChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannel

DeleteApnsChannelWithContext

func (c *Pinpoint) DeleteApnsChannelWithContext(ctx aws.Context, input *DeleteApnsChannelInput, opts ...request.Option) (*DeleteApnsChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteApnsSandboxChannel

func (c *Pinpoint) DeleteApnsSandboxChannel(input *DeleteApnsSandboxChannelInput) (*DeleteApnsSandboxChannelOutput, error)

DeleteApnsSandboxChannel API operation for Amazon Pinpoint.

Delete an APNS sandbox channel.

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 Pinpoint's API operation DeleteApnsSandboxChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannel

DeleteApnsSandboxChannelRequest

func (c *Pinpoint) DeleteApnsSandboxChannelRequest(input *DeleteApnsSandboxChannelInput) (req *request.Request, output *DeleteApnsSandboxChannelOutput)

DeleteApnsSandboxChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteApnsSandboxChannel 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 DeleteApnsSandboxChannel for more information on using the DeleteApnsSandboxChannel 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 DeleteApnsSandboxChannelRequest method. req, resp := client.DeleteApnsSandboxChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannel

DeleteApnsSandboxChannelWithContext

func (c *Pinpoint) DeleteApnsSandboxChannelWithContext(ctx aws.Context, input *DeleteApnsSandboxChannelInput, opts ...request.Option) (*DeleteApnsSandboxChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteApnsVoipChannel

func (c *Pinpoint) DeleteApnsVoipChannel(input *DeleteApnsVoipChannelInput) (*DeleteApnsVoipChannelOutput, error)

DeleteApnsVoipChannel API operation for Amazon Pinpoint.

Delete an APNS VoIP channel

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 Pinpoint's API operation DeleteApnsVoipChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannel

DeleteApnsVoipChannelRequest

func (c *Pinpoint) DeleteApnsVoipChannelRequest(input *DeleteApnsVoipChannelInput) (req *request.Request, output *DeleteApnsVoipChannelOutput)

DeleteApnsVoipChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteApnsVoipChannel 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 DeleteApnsVoipChannel for more information on using the DeleteApnsVoipChannel 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 DeleteApnsVoipChannelRequest method. req, resp := client.DeleteApnsVoipChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannel

DeleteApnsVoipChannelWithContext

func (c *Pinpoint) DeleteApnsVoipChannelWithContext(ctx aws.Context, input *DeleteApnsVoipChannelInput, opts ...request.Option) (*DeleteApnsVoipChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteApnsVoipSandboxChannel

func (c *Pinpoint) DeleteApnsVoipSandboxChannel(input *DeleteApnsVoipSandboxChannelInput) (*DeleteApnsVoipSandboxChannelOutput, error)

DeleteApnsVoipSandboxChannel API operation for Amazon Pinpoint.

Delete an APNS VoIP sandbox channel

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 Pinpoint's API operation DeleteApnsVoipSandboxChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannel

DeleteApnsVoipSandboxChannelRequest

func (c *Pinpoint) DeleteApnsVoipSandboxChannelRequest(input *DeleteApnsVoipSandboxChannelInput) (req *request.Request, output *DeleteApnsVoipSandboxChannelOutput)

DeleteApnsVoipSandboxChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteApnsVoipSandboxChannel 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 DeleteApnsVoipSandboxChannel for more information on using the DeleteApnsVoipSandboxChannel 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 DeleteApnsVoipSandboxChannelRequest method. req, resp := client.DeleteApnsVoipSandboxChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannel

DeleteApnsVoipSandboxChannelWithContext

func (c *Pinpoint) DeleteApnsVoipSandboxChannelWithContext(ctx aws.Context, input *DeleteApnsVoipSandboxChannelInput, opts ...request.Option) (*DeleteApnsVoipSandboxChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteApp

func (c *Pinpoint) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error)

DeleteApp API operation for Amazon Pinpoint.

Deletes an app.

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 Pinpoint's API operation DeleteApp for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp

DeleteAppRequest

func (c *Pinpoint) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput)

DeleteAppRequest generates a "aws/request.Request" representing the client's request for the DeleteApp 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 DeleteApp for more information on using the DeleteApp 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 DeleteAppRequest method. req, resp := client.DeleteAppRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp

DeleteAppWithContext

func (c *Pinpoint) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteBaiduChannel

func (c *Pinpoint) DeleteBaiduChannel(input *DeleteBaiduChannelInput) (*DeleteBaiduChannelOutput, error)

DeleteBaiduChannel API operation for Amazon Pinpoint.

Delete a BAIDU GCM channel

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 Pinpoint's API operation DeleteBaiduChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannel

DeleteBaiduChannelRequest

func (c *Pinpoint) DeleteBaiduChannelRequest(input *DeleteBaiduChannelInput) (req *request.Request, output *DeleteBaiduChannelOutput)

DeleteBaiduChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteBaiduChannel 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 DeleteBaiduChannel for more information on using the DeleteBaiduChannel 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 DeleteBaiduChannelRequest method. req, resp := client.DeleteBaiduChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannel

DeleteBaiduChannelWithContext

func (c *Pinpoint) DeleteBaiduChannelWithContext(ctx aws.Context, input *DeleteBaiduChannelInput, opts ...request.Option) (*DeleteBaiduChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteCampaign

func (c *Pinpoint) DeleteCampaign(input *DeleteCampaignInput) (*DeleteCampaignOutput, error)

DeleteCampaign API operation for Amazon Pinpoint.

Deletes a campaign.

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 Pinpoint's API operation DeleteCampaign for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign

DeleteCampaignRequest

func (c *Pinpoint) DeleteCampaignRequest(input *DeleteCampaignInput) (req *request.Request, output *DeleteCampaignOutput)

DeleteCampaignRequest generates a "aws/request.Request" representing the client's request for the DeleteCampaign 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 DeleteCampaign for more information on using the DeleteCampaign 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 DeleteCampaignRequest method. req, resp := client.DeleteCampaignRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign

DeleteCampaignWithContext

func (c *Pinpoint) DeleteCampaignWithContext(ctx aws.Context, input *DeleteCampaignInput, opts ...request.Option) (*DeleteCampaignOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteEmailChannel

func (c *Pinpoint) DeleteEmailChannel(input *DeleteEmailChannelInput) (*DeleteEmailChannelOutput, error)

DeleteEmailChannel API operation for Amazon Pinpoint.

Delete an email channel.

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 Pinpoint's API operation DeleteEmailChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannel

DeleteEmailChannelRequest

func (c *Pinpoint) DeleteEmailChannelRequest(input *DeleteEmailChannelInput) (req *request.Request, output *DeleteEmailChannelOutput)

DeleteEmailChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteEmailChannel 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 DeleteEmailChannel for more information on using the DeleteEmailChannel 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 DeleteEmailChannelRequest method. req, resp := client.DeleteEmailChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannel

DeleteEmailChannelWithContext

func (c *Pinpoint) DeleteEmailChannelWithContext(ctx aws.Context, input *DeleteEmailChannelInput, opts ...request.Option) (*DeleteEmailChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteEndpoint

func (c *Pinpoint) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error)

DeleteEndpoint API operation for Amazon Pinpoint.

Deletes an endpoint.

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 Pinpoint's API operation DeleteEndpoint for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEndpoint

DeleteEndpointRequest

func (c *Pinpoint) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput)

DeleteEndpointRequest generates a "aws/request.Request" representing the client's request for the DeleteEndpoint 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 DeleteEndpoint for more information on using the DeleteEndpoint 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 DeleteEndpointRequest method. req, resp := client.DeleteEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEndpoint

DeleteEndpointWithContext

func (c *Pinpoint) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteEventStream

func (c *Pinpoint) DeleteEventStream(input *DeleteEventStreamInput) (*DeleteEventStreamOutput, error)

DeleteEventStream API operation for Amazon Pinpoint.

Deletes the event stream for an app.

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 Pinpoint's API operation DeleteEventStream for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStream

DeleteEventStreamRequest

func (c *Pinpoint) DeleteEventStreamRequest(input *DeleteEventStreamInput) (req *request.Request, output *DeleteEventStreamOutput)

DeleteEventStreamRequest generates a "aws/request.Request" representing the client's request for the DeleteEventStream 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 DeleteEventStream for more information on using the DeleteEventStream 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 DeleteEventStreamRequest method. req, resp := client.DeleteEventStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStream

DeleteEventStreamWithContext

func (c *Pinpoint) DeleteEventStreamWithContext(ctx aws.Context, input *DeleteEventStreamInput, opts ...request.Option) (*DeleteEventStreamOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteGcmChannel

func (c *Pinpoint) DeleteGcmChannel(input *DeleteGcmChannelInput) (*DeleteGcmChannelOutput, error)

DeleteGcmChannel API operation for Amazon Pinpoint.

Deletes the GCM channel for an app.

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 Pinpoint's API operation DeleteGcmChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannel

DeleteGcmChannelRequest

func (c *Pinpoint) DeleteGcmChannelRequest(input *DeleteGcmChannelInput) (req *request.Request, output *DeleteGcmChannelOutput)

DeleteGcmChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteGcmChannel 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 DeleteGcmChannel for more information on using the DeleteGcmChannel 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 DeleteGcmChannelRequest method. req, resp := client.DeleteGcmChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannel

DeleteGcmChannelWithContext

func (c *Pinpoint) DeleteGcmChannelWithContext(ctx aws.Context, input *DeleteGcmChannelInput, opts ...request.Option) (*DeleteGcmChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteSegment

func (c *Pinpoint) DeleteSegment(input *DeleteSegmentInput) (*DeleteSegmentOutput, error)

DeleteSegment API operation for Amazon Pinpoint.

Deletes a segment.

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 Pinpoint's API operation DeleteSegment for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment

DeleteSegmentRequest

func (c *Pinpoint) DeleteSegmentRequest(input *DeleteSegmentInput) (req *request.Request, output *DeleteSegmentOutput)

DeleteSegmentRequest generates a "aws/request.Request" representing the client's request for the DeleteSegment 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 DeleteSegment for more information on using the DeleteSegment 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 DeleteSegmentRequest method. req, resp := client.DeleteSegmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment

DeleteSegmentWithContext

func (c *Pinpoint) DeleteSegmentWithContext(ctx aws.Context, input *DeleteSegmentInput, opts ...request.Option) (*DeleteSegmentOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteSmsChannel

func (c *Pinpoint) DeleteSmsChannel(input *DeleteSmsChannelInput) (*DeleteSmsChannelOutput, error)

DeleteSmsChannel API operation for Amazon Pinpoint.

Delete an SMS channel.

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 Pinpoint's API operation DeleteSmsChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannel

DeleteSmsChannelRequest

func (c *Pinpoint) DeleteSmsChannelRequest(input *DeleteSmsChannelInput) (req *request.Request, output *DeleteSmsChannelOutput)

DeleteSmsChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteSmsChannel 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 DeleteSmsChannel for more information on using the DeleteSmsChannel 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 DeleteSmsChannelRequest method. req, resp := client.DeleteSmsChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannel

DeleteSmsChannelWithContext

func (c *Pinpoint) DeleteSmsChannelWithContext(ctx aws.Context, input *DeleteSmsChannelInput, opts ...request.Option) (*DeleteSmsChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteUserEndpoints

func (c *Pinpoint) DeleteUserEndpoints(input *DeleteUserEndpointsInput) (*DeleteUserEndpointsOutput, error)

DeleteUserEndpoints API operation for Amazon Pinpoint.

Deletes endpoints that are associated with a User ID.

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 Pinpoint's API operation DeleteUserEndpoints for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteUserEndpoints

DeleteUserEndpointsRequest

func (c *Pinpoint) DeleteUserEndpointsRequest(input *DeleteUserEndpointsInput) (req *request.Request, output *DeleteUserEndpointsOutput)

DeleteUserEndpointsRequest generates a "aws/request.Request" representing the client's request for the DeleteUserEndpoints 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 DeleteUserEndpoints for more information on using the DeleteUserEndpoints 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 DeleteUserEndpointsRequest method. req, resp := client.DeleteUserEndpointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteUserEndpoints

DeleteUserEndpointsWithContext

func (c *Pinpoint) DeleteUserEndpointsWithContext(ctx aws.Context, input *DeleteUserEndpointsInput, opts ...request.Option) (*DeleteUserEndpointsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

DeleteVoiceChannel

func (c *Pinpoint) DeleteVoiceChannel(input *DeleteVoiceChannelInput) (*DeleteVoiceChannelOutput, error)

DeleteVoiceChannel API operation for Amazon Pinpoint.

Delete an Voice channel

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 Pinpoint's API operation DeleteVoiceChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannel

DeleteVoiceChannelRequest

func (c *Pinpoint) DeleteVoiceChannelRequest(input *DeleteVoiceChannelInput) (req *request.Request, output *DeleteVoiceChannelOutput)

DeleteVoiceChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteVoiceChannel 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 DeleteVoiceChannel for more information on using the DeleteVoiceChannel 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 DeleteVoiceChannelRequest method. req, resp := client.DeleteVoiceChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannel

DeleteVoiceChannelWithContext

func (c *Pinpoint) DeleteVoiceChannelWithContext(ctx aws.Context, input *DeleteVoiceChannelInput, opts ...request.Option) (*DeleteVoiceChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetAdmChannel

func (c *Pinpoint) GetAdmChannel(input *GetAdmChannelInput) (*GetAdmChannelOutput, error)

GetAdmChannel API operation for Amazon Pinpoint.

Get an ADM channel.

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 Pinpoint's API operation GetAdmChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannel

GetAdmChannelRequest

func (c *Pinpoint) GetAdmChannelRequest(input *GetAdmChannelInput) (req *request.Request, output *GetAdmChannelOutput)

GetAdmChannelRequest generates a "aws/request.Request" representing the client's request for the GetAdmChannel 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 GetAdmChannel for more information on using the GetAdmChannel 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 GetAdmChannelRequest method. req, resp := client.GetAdmChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannel

GetAdmChannelWithContext

func (c *Pinpoint) GetAdmChannelWithContext(ctx aws.Context, input *GetAdmChannelInput, opts ...request.Option) (*GetAdmChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetApnsChannel

func (c *Pinpoint) GetApnsChannel(input *GetApnsChannelInput) (*GetApnsChannelOutput, error)

GetApnsChannel API operation for Amazon Pinpoint.

Returns information about the APNs channel for an app.

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 Pinpoint's API operation GetApnsChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannel

GetApnsChannelRequest

func (c *Pinpoint) GetApnsChannelRequest(input *GetApnsChannelInput) (req *request.Request, output *GetApnsChannelOutput)

GetApnsChannelRequest generates a "aws/request.Request" representing the client's request for the GetApnsChannel 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 GetApnsChannel for more information on using the GetApnsChannel 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 GetApnsChannelRequest method. req, resp := client.GetApnsChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannel

GetApnsChannelWithContext

func (c *Pinpoint) GetApnsChannelWithContext(ctx aws.Context, input *GetApnsChannelInput, opts ...request.Option) (*GetApnsChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetApnsSandboxChannel

func (c *Pinpoint) GetApnsSandboxChannel(input *GetApnsSandboxChannelInput) (*GetApnsSandboxChannelOutput, error)

GetApnsSandboxChannel API operation for Amazon Pinpoint.

Get an APNS sandbox channel.

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 Pinpoint's API operation GetApnsSandboxChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannel

GetApnsSandboxChannelRequest

func (c *Pinpoint) GetApnsSandboxChannelRequest(input *GetApnsSandboxChannelInput) (req *request.Request, output *GetApnsSandboxChannelOutput)

GetApnsSandboxChannelRequest generates a "aws/request.Request" representing the client's request for the GetApnsSandboxChannel 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 GetApnsSandboxChannel for more information on using the GetApnsSandboxChannel 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 GetApnsSandboxChannelRequest method. req, resp := client.GetApnsSandboxChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannel

GetApnsSandboxChannelWithContext

func (c *Pinpoint) GetApnsSandboxChannelWithContext(ctx aws.Context, input *GetApnsSandboxChannelInput, opts ...request.Option) (*GetApnsSandboxChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetApnsVoipChannel

func (c *Pinpoint) GetApnsVoipChannel(input *GetApnsVoipChannelInput) (*GetApnsVoipChannelOutput, error)

GetApnsVoipChannel API operation for Amazon Pinpoint.

Get an APNS VoIP channel

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 Pinpoint's API operation GetApnsVoipChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannel

GetApnsVoipChannelRequest

func (c *Pinpoint) GetApnsVoipChannelRequest(input *GetApnsVoipChannelInput) (req *request.Request, output *GetApnsVoipChannelOutput)

GetApnsVoipChannelRequest generates a "aws/request.Request" representing the client's request for the GetApnsVoipChannel 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 GetApnsVoipChannel for more information on using the GetApnsVoipChannel 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 GetApnsVoipChannelRequest method. req, resp := client.GetApnsVoipChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannel

GetApnsVoipChannelWithContext

func (c *Pinpoint) GetApnsVoipChannelWithContext(ctx aws.Context, input *GetApnsVoipChannelInput, opts ...request.Option) (*GetApnsVoipChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetApnsVoipSandboxChannel

func (c *Pinpoint) GetApnsVoipSandboxChannel(input *GetApnsVoipSandboxChannelInput) (*GetApnsVoipSandboxChannelOutput, error)

GetApnsVoipSandboxChannel API operation for Amazon Pinpoint.

Get an APNS VoIPSandbox channel

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 Pinpoint's API operation GetApnsVoipSandboxChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannel

GetApnsVoipSandboxChannelRequest

func (c *Pinpoint) GetApnsVoipSandboxChannelRequest(input *GetApnsVoipSandboxChannelInput) (req *request.Request, output *GetApnsVoipSandboxChannelOutput)

GetApnsVoipSandboxChannelRequest generates a "aws/request.Request" representing the client's request for the GetApnsVoipSandboxChannel 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 GetApnsVoipSandboxChannel for more information on using the GetApnsVoipSandboxChannel 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 GetApnsVoipSandboxChannelRequest method. req, resp := client.GetApnsVoipSandboxChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannel

GetApnsVoipSandboxChannelWithContext

func (c *Pinpoint) GetApnsVoipSandboxChannelWithContext(ctx aws.Context, input *GetApnsVoipSandboxChannelInput, opts ...request.Option) (*GetApnsVoipSandboxChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetApp

func (c *Pinpoint) GetApp(input *GetAppInput) (*GetAppOutput, error)

GetApp API operation for Amazon Pinpoint.

Returns information about an app.

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 Pinpoint's API operation GetApp for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp

GetAppRequest

func (c *Pinpoint) GetAppRequest(input *GetAppInput) (req *request.Request, output *GetAppOutput)

GetAppRequest generates a "aws/request.Request" representing the client's request for the GetApp 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 GetApp for more information on using the GetApp 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 GetAppRequest method. req, resp := client.GetAppRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp

GetAppWithContext

func (c *Pinpoint) GetAppWithContext(ctx aws.Context, input *GetAppInput, opts ...request.Option) (*GetAppOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetApplicationSettings

func (c *Pinpoint) GetApplicationSettings(input *GetApplicationSettingsInput) (*GetApplicationSettingsOutput, error)

GetApplicationSettings API operation for Amazon Pinpoint.

Used to request the settings for an app.

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 Pinpoint's API operation GetApplicationSettings for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettings

GetApplicationSettingsRequest

func (c *Pinpoint) GetApplicationSettingsRequest(input *GetApplicationSettingsInput) (req *request.Request, output *GetApplicationSettingsOutput)

GetApplicationSettingsRequest generates a "aws/request.Request" representing the client's request for the GetApplicationSettings 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 GetApplicationSettings for more information on using the GetApplicationSettings 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 GetApplicationSettingsRequest method. req, resp := client.GetApplicationSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettings

GetApplicationSettingsWithContext

func (c *Pinpoint) GetApplicationSettingsWithContext(ctx aws.Context, input *GetApplicationSettingsInput, opts ...request.Option) (*GetApplicationSettingsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetApps

func (c *Pinpoint) GetApps(input *GetAppsInput) (*GetAppsOutput, error)

GetApps API operation for Amazon Pinpoint.

Returns information about your apps.

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 Pinpoint's API operation GetApps for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps

GetAppsRequest

func (c *Pinpoint) GetAppsRequest(input *GetAppsInput) (req *request.Request, output *GetAppsOutput)

GetAppsRequest generates a "aws/request.Request" representing the client's request for the GetApps 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 GetApps for more information on using the GetApps 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 GetAppsRequest method. req, resp := client.GetAppsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps

GetAppsWithContext

func (c *Pinpoint) GetAppsWithContext(ctx aws.Context, input *GetAppsInput, opts ...request.Option) (*GetAppsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetBaiduChannel

func (c *Pinpoint) GetBaiduChannel(input *GetBaiduChannelInput) (*GetBaiduChannelOutput, error)

GetBaiduChannel API operation for Amazon Pinpoint.

Get a BAIDU GCM channel

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 Pinpoint's API operation GetBaiduChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannel

GetBaiduChannelRequest

func (c *Pinpoint) GetBaiduChannelRequest(input *GetBaiduChannelInput) (req *request.Request, output *GetBaiduChannelOutput)

GetBaiduChannelRequest generates a "aws/request.Request" representing the client's request for the GetBaiduChannel 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 GetBaiduChannel for more information on using the GetBaiduChannel 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 GetBaiduChannelRequest method. req, resp := client.GetBaiduChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannel

GetBaiduChannelWithContext

func (c *Pinpoint) GetBaiduChannelWithContext(ctx aws.Context, input *GetBaiduChannelInput, opts ...request.Option) (*GetBaiduChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetCampaign

func (c *Pinpoint) GetCampaign(input *GetCampaignInput) (*GetCampaignOutput, error)

GetCampaign API operation for Amazon Pinpoint.

Returns information about a campaign.

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 Pinpoint's API operation GetCampaign for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign

GetCampaignActivities

func (c *Pinpoint) GetCampaignActivities(input *GetCampaignActivitiesInput) (*GetCampaignActivitiesOutput, error)

GetCampaignActivities API operation for Amazon Pinpoint.

Returns information about the activity performed by a campaign.

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 Pinpoint's API operation GetCampaignActivities for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivities

GetCampaignActivitiesRequest

func (c *Pinpoint) GetCampaignActivitiesRequest(input *GetCampaignActivitiesInput) (req *request.Request, output *GetCampaignActivitiesOutput)

GetCampaignActivitiesRequest generates a "aws/request.Request" representing the client's request for the GetCampaignActivities 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 GetCampaignActivities for more information on using the GetCampaignActivities 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 GetCampaignActivitiesRequest method. req, resp := client.GetCampaignActivitiesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivities

GetCampaignActivitiesWithContext

func (c *Pinpoint) GetCampaignActivitiesWithContext(ctx aws.Context, input *GetCampaignActivitiesInput, opts ...request.Option) (*GetCampaignActivitiesOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetCampaignRequest

func (c *Pinpoint) GetCampaignRequest(input *GetCampaignInput) (req *request.Request, output *GetCampaignOutput)

GetCampaignRequest generates a "aws/request.Request" representing the client's request for the GetCampaign 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 GetCampaign for more information on using the GetCampaign 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 GetCampaignRequest method. req, resp := client.GetCampaignRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign

GetCampaignVersion

func (c *Pinpoint) GetCampaignVersion(input *GetCampaignVersionInput) (*GetCampaignVersionOutput, error)

GetCampaignVersion API operation for Amazon Pinpoint.

Returns information about a specific version of a campaign.

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 Pinpoint's API operation GetCampaignVersion for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion

GetCampaignVersionRequest

func (c *Pinpoint) GetCampaignVersionRequest(input *GetCampaignVersionInput) (req *request.Request, output *GetCampaignVersionOutput)

GetCampaignVersionRequest generates a "aws/request.Request" representing the client's request for the GetCampaignVersion 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 GetCampaignVersion for more information on using the GetCampaignVersion 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 GetCampaignVersionRequest method. req, resp := client.GetCampaignVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion

GetCampaignVersionWithContext

func (c *Pinpoint) GetCampaignVersionWithContext(ctx aws.Context, input *GetCampaignVersionInput, opts ...request.Option) (*GetCampaignVersionOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetCampaignVersions

func (c *Pinpoint) GetCampaignVersions(input *GetCampaignVersionsInput) (*GetCampaignVersionsOutput, error)

GetCampaignVersions API operation for Amazon Pinpoint.

Returns information about your campaign versions.

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 Pinpoint's API operation GetCampaignVersions for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions

GetCampaignVersionsRequest

func (c *Pinpoint) GetCampaignVersionsRequest(input *GetCampaignVersionsInput) (req *request.Request, output *GetCampaignVersionsOutput)

GetCampaignVersionsRequest generates a "aws/request.Request" representing the client's request for the GetCampaignVersions 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 GetCampaignVersions for more information on using the GetCampaignVersions 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 GetCampaignVersionsRequest method. req, resp := client.GetCampaignVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions

GetCampaignVersionsWithContext

func (c *Pinpoint) GetCampaignVersionsWithContext(ctx aws.Context, input *GetCampaignVersionsInput, opts ...request.Option) (*GetCampaignVersionsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetCampaignWithContext

func (c *Pinpoint) GetCampaignWithContext(ctx aws.Context, input *GetCampaignInput, opts ...request.Option) (*GetCampaignOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetCampaigns

func (c *Pinpoint) GetCampaigns(input *GetCampaignsInput) (*GetCampaignsOutput, error)

GetCampaigns API operation for Amazon Pinpoint.

Returns information about your campaigns.

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 Pinpoint's API operation GetCampaigns for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns

GetCampaignsRequest

func (c *Pinpoint) GetCampaignsRequest(input *GetCampaignsInput) (req *request.Request, output *GetCampaignsOutput)

GetCampaignsRequest generates a "aws/request.Request" representing the client's request for the GetCampaigns 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 GetCampaigns for more information on using the GetCampaigns 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 GetCampaignsRequest method. req, resp := client.GetCampaignsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns

GetCampaignsWithContext

func (c *Pinpoint) GetCampaignsWithContext(ctx aws.Context, input *GetCampaignsInput, opts ...request.Option) (*GetCampaignsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetChannels

func (c *Pinpoint) GetChannels(input *GetChannelsInput) (*GetChannelsOutput, error)

GetChannels API operation for Amazon Pinpoint.

Get all channels.

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 Pinpoint's API operation GetChannels for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetChannels

GetChannelsRequest

func (c *Pinpoint) GetChannelsRequest(input *GetChannelsInput) (req *request.Request, output *GetChannelsOutput)

GetChannelsRequest generates a "aws/request.Request" representing the client's request for the GetChannels 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 GetChannels for more information on using the GetChannels 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 GetChannelsRequest method. req, resp := client.GetChannelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetChannels

GetChannelsWithContext

func (c *Pinpoint) GetChannelsWithContext(ctx aws.Context, input *GetChannelsInput, opts ...request.Option) (*GetChannelsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetEmailChannel

func (c *Pinpoint) GetEmailChannel(input *GetEmailChannelInput) (*GetEmailChannelOutput, error)

GetEmailChannel API operation for Amazon Pinpoint.

Get an email channel.

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 Pinpoint's API operation GetEmailChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannel

GetEmailChannelRequest

func (c *Pinpoint) GetEmailChannelRequest(input *GetEmailChannelInput) (req *request.Request, output *GetEmailChannelOutput)

GetEmailChannelRequest generates a "aws/request.Request" representing the client's request for the GetEmailChannel 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 GetEmailChannel for more information on using the GetEmailChannel 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 GetEmailChannelRequest method. req, resp := client.GetEmailChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannel

GetEmailChannelWithContext

func (c *Pinpoint) GetEmailChannelWithContext(ctx aws.Context, input *GetEmailChannelInput, opts ...request.Option) (*GetEmailChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetEndpoint

func (c *Pinpoint) GetEndpoint(input *GetEndpointInput) (*GetEndpointOutput, error)

GetEndpoint API operation for Amazon Pinpoint.

Returns information about an endpoint.

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 Pinpoint's API operation GetEndpoint for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpoint

GetEndpointRequest

func (c *Pinpoint) GetEndpointRequest(input *GetEndpointInput) (req *request.Request, output *GetEndpointOutput)

GetEndpointRequest generates a "aws/request.Request" representing the client's request for the GetEndpoint 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 GetEndpoint for more information on using the GetEndpoint 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 GetEndpointRequest method. req, resp := client.GetEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpoint

GetEndpointWithContext

func (c *Pinpoint) GetEndpointWithContext(ctx aws.Context, input *GetEndpointInput, opts ...request.Option) (*GetEndpointOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetEventStream

func (c *Pinpoint) GetEventStream(input *GetEventStreamInput) (*GetEventStreamOutput, error)

GetEventStream API operation for Amazon Pinpoint.

Returns the event stream for an app.

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 Pinpoint's API operation GetEventStream for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStream

GetEventStreamRequest

func (c *Pinpoint) GetEventStreamRequest(input *GetEventStreamInput) (req *request.Request, output *GetEventStreamOutput)

GetEventStreamRequest generates a "aws/request.Request" representing the client's request for the GetEventStream 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 GetEventStream for more information on using the GetEventStream 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 GetEventStreamRequest method. req, resp := client.GetEventStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStream

GetEventStreamWithContext

func (c *Pinpoint) GetEventStreamWithContext(ctx aws.Context, input *GetEventStreamInput, opts ...request.Option) (*GetEventStreamOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetExportJob

func (c *Pinpoint) GetExportJob(input *GetExportJobInput) (*GetExportJobOutput, error)

GetExportJob API operation for Amazon Pinpoint.

Returns information about an export job.

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 Pinpoint's API operation GetExportJob for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJob

GetExportJobRequest

func (c *Pinpoint) GetExportJobRequest(input *GetExportJobInput) (req *request.Request, output *GetExportJobOutput)

GetExportJobRequest generates a "aws/request.Request" representing the client's request for the GetExportJob 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 GetExportJob for more information on using the GetExportJob 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 GetExportJobRequest method. req, resp := client.GetExportJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJob

GetExportJobWithContext

func (c *Pinpoint) GetExportJobWithContext(ctx aws.Context, input *GetExportJobInput, opts ...request.Option) (*GetExportJobOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetExportJobs

func (c *Pinpoint) GetExportJobs(input *GetExportJobsInput) (*GetExportJobsOutput, error)

GetExportJobs API operation for Amazon Pinpoint.

Returns information about your export jobs.

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 Pinpoint's API operation GetExportJobs for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobs

GetExportJobsRequest

func (c *Pinpoint) GetExportJobsRequest(input *GetExportJobsInput) (req *request.Request, output *GetExportJobsOutput)

GetExportJobsRequest generates a "aws/request.Request" representing the client's request for the GetExportJobs 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 GetExportJobs for more information on using the GetExportJobs 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 GetExportJobsRequest method. req, resp := client.GetExportJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobs

GetExportJobsWithContext

func (c *Pinpoint) GetExportJobsWithContext(ctx aws.Context, input *GetExportJobsInput, opts ...request.Option) (*GetExportJobsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetGcmChannel

func (c *Pinpoint) GetGcmChannel(input *GetGcmChannelInput) (*GetGcmChannelOutput, error)

GetGcmChannel API operation for Amazon Pinpoint.

Returns information about the GCM channel for an app.

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 Pinpoint's API operation GetGcmChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannel

GetGcmChannelRequest

func (c *Pinpoint) GetGcmChannelRequest(input *GetGcmChannelInput) (req *request.Request, output *GetGcmChannelOutput)

GetGcmChannelRequest generates a "aws/request.Request" representing the client's request for the GetGcmChannel 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 GetGcmChannel for more information on using the GetGcmChannel 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 GetGcmChannelRequest method. req, resp := client.GetGcmChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannel

GetGcmChannelWithContext

func (c *Pinpoint) GetGcmChannelWithContext(ctx aws.Context, input *GetGcmChannelInput, opts ...request.Option) (*GetGcmChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetImportJob

func (c *Pinpoint) GetImportJob(input *GetImportJobInput) (*GetImportJobOutput, error)

GetImportJob API operation for Amazon Pinpoint.

Returns information about an import job.

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 Pinpoint's API operation GetImportJob for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJob

GetImportJobRequest

func (c *Pinpoint) GetImportJobRequest(input *GetImportJobInput) (req *request.Request, output *GetImportJobOutput)

GetImportJobRequest generates a "aws/request.Request" representing the client's request for the GetImportJob 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 GetImportJob for more information on using the GetImportJob 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 GetImportJobRequest method. req, resp := client.GetImportJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJob

GetImportJobWithContext

func (c *Pinpoint) GetImportJobWithContext(ctx aws.Context, input *GetImportJobInput, opts ...request.Option) (*GetImportJobOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetImportJobs

func (c *Pinpoint) GetImportJobs(input *GetImportJobsInput) (*GetImportJobsOutput, error)

GetImportJobs API operation for Amazon Pinpoint.

Returns information about your import jobs.

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 Pinpoint's API operation GetImportJobs for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobs

GetImportJobsRequest

func (c *Pinpoint) GetImportJobsRequest(input *GetImportJobsInput) (req *request.Request, output *GetImportJobsOutput)

GetImportJobsRequest generates a "aws/request.Request" representing the client's request for the GetImportJobs 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 GetImportJobs for more information on using the GetImportJobs 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 GetImportJobsRequest method. req, resp := client.GetImportJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobs

GetImportJobsWithContext

func (c *Pinpoint) GetImportJobsWithContext(ctx aws.Context, input *GetImportJobsInput, opts ...request.Option) (*GetImportJobsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetSegment

func (c *Pinpoint) GetSegment(input *GetSegmentInput) (*GetSegmentOutput, error)

GetSegment API operation for Amazon Pinpoint.

Returns information about a segment.

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 Pinpoint's API operation GetSegment for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment

GetSegmentExportJobs

func (c *Pinpoint) GetSegmentExportJobs(input *GetSegmentExportJobsInput) (*GetSegmentExportJobsOutput, error)

GetSegmentExportJobs API operation for Amazon Pinpoint.

Returns a list of export jobs for a specific segment.

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 Pinpoint's API operation GetSegmentExportJobs for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobs

GetSegmentExportJobsRequest

func (c *Pinpoint) GetSegmentExportJobsRequest(input *GetSegmentExportJobsInput) (req *request.Request, output *GetSegmentExportJobsOutput)

GetSegmentExportJobsRequest generates a "aws/request.Request" representing the client's request for the GetSegmentExportJobs 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 GetSegmentExportJobs for more information on using the GetSegmentExportJobs 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 GetSegmentExportJobsRequest method. req, resp := client.GetSegmentExportJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobs

GetSegmentExportJobsWithContext

func (c *Pinpoint) GetSegmentExportJobsWithContext(ctx aws.Context, input *GetSegmentExportJobsInput, opts ...request.Option) (*GetSegmentExportJobsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetSegmentImportJobs

func (c *Pinpoint) GetSegmentImportJobs(input *GetSegmentImportJobsInput) (*GetSegmentImportJobsOutput, error)

GetSegmentImportJobs API operation for Amazon Pinpoint.

Returns a list of import jobs for a specific segment.

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 Pinpoint's API operation GetSegmentImportJobs for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobs

GetSegmentImportJobsRequest

func (c *Pinpoint) GetSegmentImportJobsRequest(input *GetSegmentImportJobsInput) (req *request.Request, output *GetSegmentImportJobsOutput)

GetSegmentImportJobsRequest generates a "aws/request.Request" representing the client's request for the GetSegmentImportJobs 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 GetSegmentImportJobs for more information on using the GetSegmentImportJobs 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 GetSegmentImportJobsRequest method. req, resp := client.GetSegmentImportJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobs

GetSegmentImportJobsWithContext

func (c *Pinpoint) GetSegmentImportJobsWithContext(ctx aws.Context, input *GetSegmentImportJobsInput, opts ...request.Option) (*GetSegmentImportJobsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetSegmentRequest

func (c *Pinpoint) GetSegmentRequest(input *GetSegmentInput) (req *request.Request, output *GetSegmentOutput)

GetSegmentRequest generates a "aws/request.Request" representing the client's request for the GetSegment 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 GetSegment for more information on using the GetSegment 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 GetSegmentRequest method. req, resp := client.GetSegmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment

GetSegmentVersion

func (c *Pinpoint) GetSegmentVersion(input *GetSegmentVersionInput) (*GetSegmentVersionOutput, error)

GetSegmentVersion API operation for Amazon Pinpoint.

Returns information about a segment version.

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 Pinpoint's API operation GetSegmentVersion for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion

GetSegmentVersionRequest

func (c *Pinpoint) GetSegmentVersionRequest(input *GetSegmentVersionInput) (req *request.Request, output *GetSegmentVersionOutput)

GetSegmentVersionRequest generates a "aws/request.Request" representing the client's request for the GetSegmentVersion 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 GetSegmentVersion for more information on using the GetSegmentVersion 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 GetSegmentVersionRequest method. req, resp := client.GetSegmentVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion

GetSegmentVersionWithContext

func (c *Pinpoint) GetSegmentVersionWithContext(ctx aws.Context, input *GetSegmentVersionInput, opts ...request.Option) (*GetSegmentVersionOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetSegmentVersions

func (c *Pinpoint) GetSegmentVersions(input *GetSegmentVersionsInput) (*GetSegmentVersionsOutput, error)

GetSegmentVersions API operation for Amazon Pinpoint.

Returns information about your segment versions.

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 Pinpoint's API operation GetSegmentVersions for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersions

GetSegmentVersionsRequest

func (c *Pinpoint) GetSegmentVersionsRequest(input *GetSegmentVersionsInput) (req *request.Request, output *GetSegmentVersionsOutput)

GetSegmentVersionsRequest generates a "aws/request.Request" representing the client's request for the GetSegmentVersions 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 GetSegmentVersions for more information on using the GetSegmentVersions 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 GetSegmentVersionsRequest method. req, resp := client.GetSegmentVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersions

GetSegmentVersionsWithContext

func (c *Pinpoint) GetSegmentVersionsWithContext(ctx aws.Context, input *GetSegmentVersionsInput, opts ...request.Option) (*GetSegmentVersionsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetSegmentWithContext

func (c *Pinpoint) GetSegmentWithContext(ctx aws.Context, input *GetSegmentInput, opts ...request.Option) (*GetSegmentOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetSegments

func (c *Pinpoint) GetSegments(input *GetSegmentsInput) (*GetSegmentsOutput, error)

GetSegments API operation for Amazon Pinpoint.

Used to get information about your segments.

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 Pinpoint's API operation GetSegments for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegments

GetSegmentsRequest

func (c *Pinpoint) GetSegmentsRequest(input *GetSegmentsInput) (req *request.Request, output *GetSegmentsOutput)

GetSegmentsRequest generates a "aws/request.Request" representing the client's request for the GetSegments 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 GetSegments for more information on using the GetSegments 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 GetSegmentsRequest method. req, resp := client.GetSegmentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegments

GetSegmentsWithContext

func (c *Pinpoint) GetSegmentsWithContext(ctx aws.Context, input *GetSegmentsInput, opts ...request.Option) (*GetSegmentsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetSmsChannel

func (c *Pinpoint) GetSmsChannel(input *GetSmsChannelInput) (*GetSmsChannelOutput, error)

GetSmsChannel API operation for Amazon Pinpoint.

Get an SMS channel.

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 Pinpoint's API operation GetSmsChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannel

GetSmsChannelRequest

func (c *Pinpoint) GetSmsChannelRequest(input *GetSmsChannelInput) (req *request.Request, output *GetSmsChannelOutput)

GetSmsChannelRequest generates a "aws/request.Request" representing the client's request for the GetSmsChannel 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 GetSmsChannel for more information on using the GetSmsChannel 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 GetSmsChannelRequest method. req, resp := client.GetSmsChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannel

GetSmsChannelWithContext

func (c *Pinpoint) GetSmsChannelWithContext(ctx aws.Context, input *GetSmsChannelInput, opts ...request.Option) (*GetSmsChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetUserEndpoints

func (c *Pinpoint) GetUserEndpoints(input *GetUserEndpointsInput) (*GetUserEndpointsOutput, error)

GetUserEndpoints API operation for Amazon Pinpoint.

Returns information about the endpoints that are associated with a User ID.

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 Pinpoint's API operation GetUserEndpoints for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetUserEndpoints

GetUserEndpointsRequest

func (c *Pinpoint) GetUserEndpointsRequest(input *GetUserEndpointsInput) (req *request.Request, output *GetUserEndpointsOutput)

GetUserEndpointsRequest generates a "aws/request.Request" representing the client's request for the GetUserEndpoints 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 GetUserEndpoints for more information on using the GetUserEndpoints 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 GetUserEndpointsRequest method. req, resp := client.GetUserEndpointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetUserEndpoints

GetUserEndpointsWithContext

func (c *Pinpoint) GetUserEndpointsWithContext(ctx aws.Context, input *GetUserEndpointsInput, opts ...request.Option) (*GetUserEndpointsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

GetVoiceChannel

func (c *Pinpoint) GetVoiceChannel(input *GetVoiceChannelInput) (*GetVoiceChannelOutput, error)

GetVoiceChannel API operation for Amazon Pinpoint.

Get a Voice Channel

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 Pinpoint's API operation GetVoiceChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannel

GetVoiceChannelRequest

func (c *Pinpoint) GetVoiceChannelRequest(input *GetVoiceChannelInput) (req *request.Request, output *GetVoiceChannelOutput)

GetVoiceChannelRequest generates a "aws/request.Request" representing the client's request for the GetVoiceChannel 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 GetVoiceChannel for more information on using the GetVoiceChannel 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 GetVoiceChannelRequest method. req, resp := client.GetVoiceChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannel

GetVoiceChannelWithContext

func (c *Pinpoint) GetVoiceChannelWithContext(ctx aws.Context, input *GetVoiceChannelInput, opts ...request.Option) (*GetVoiceChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForResource

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

ListTagsForResource API operation for Amazon Pinpoint.

Get list of all tags for a given resource arn

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 Pinpoint's API operation ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTagsForResource

ListTagsForResourceRequest

func (c *Pinpoint) 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/pinpoint-2016-12-01/ListTagsForResource

ListTagsForResourceWithContext

func (c *Pinpoint) 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.

See Also

For more information about using this API, see AWS API Documentation.

PhoneNumberValidate

func (c *Pinpoint) PhoneNumberValidate(input *PhoneNumberValidateInput) (*PhoneNumberValidateOutput, error)

PhoneNumberValidate API operation for Amazon Pinpoint.

Returns information about the specified phone number.

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 Pinpoint's API operation PhoneNumberValidate for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PhoneNumberValidate

PhoneNumberValidateRequest

func (c *Pinpoint) PhoneNumberValidateRequest(input *PhoneNumberValidateInput) (req *request.Request, output *PhoneNumberValidateOutput)

PhoneNumberValidateRequest generates a "aws/request.Request" representing the client's request for the PhoneNumberValidate 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 PhoneNumberValidate for more information on using the PhoneNumberValidate 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 PhoneNumberValidateRequest method. req, resp := client.PhoneNumberValidateRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PhoneNumberValidate

PhoneNumberValidateWithContext

func (c *Pinpoint) PhoneNumberValidateWithContext(ctx aws.Context, input *PhoneNumberValidateInput, opts ...request.Option) (*PhoneNumberValidateOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

PutEventStream

func (c *Pinpoint) PutEventStream(input *PutEventStreamInput) (*PutEventStreamOutput, error)

PutEventStream API operation for Amazon Pinpoint.

Use to create or update the event stream for an app.

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 Pinpoint's API operation PutEventStream for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStream

PutEventStreamRequest

func (c *Pinpoint) PutEventStreamRequest(input *PutEventStreamInput) (req *request.Request, output *PutEventStreamOutput)

PutEventStreamRequest generates a "aws/request.Request" representing the client's request for the PutEventStream 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 PutEventStream for more information on using the PutEventStream 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 PutEventStreamRequest method. req, resp := client.PutEventStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStream

PutEventStreamWithContext

func (c *Pinpoint) PutEventStreamWithContext(ctx aws.Context, input *PutEventStreamInput, opts ...request.Option) (*PutEventStreamOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

PutEvents

func (c *Pinpoint) PutEvents(input *PutEventsInput) (*PutEventsOutput, error)

PutEvents API operation for Amazon Pinpoint.

Use to record events for endpoints. This method creates events and creates or updates the endpoints that those events are associated with.

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 Pinpoint's API operation PutEvents for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEvents

PutEventsRequest

func (c *Pinpoint) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput)

PutEventsRequest generates a "aws/request.Request" representing the client's request for the PutEvents 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 PutEvents for more information on using the PutEvents 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 PutEventsRequest method. req, resp := client.PutEventsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEvents

PutEventsWithContext

func (c *Pinpoint) PutEventsWithContext(ctx aws.Context, input *PutEventsInput, opts ...request.Option) (*PutEventsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

RemoveAttributes

func (c *Pinpoint) RemoveAttributes(input *RemoveAttributesInput) (*RemoveAttributesOutput, error)

RemoveAttributes API operation for Amazon Pinpoint.

Used to remove the attributes for an app

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 Pinpoint's API operation RemoveAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RemoveAttributes

RemoveAttributesRequest

func (c *Pinpoint) RemoveAttributesRequest(input *RemoveAttributesInput) (req *request.Request, output *RemoveAttributesOutput)

RemoveAttributesRequest generates a "aws/request.Request" representing the client's request for the RemoveAttributes 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 RemoveAttributes for more information on using the RemoveAttributes 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 RemoveAttributesRequest method. req, resp := client.RemoveAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RemoveAttributes

RemoveAttributesWithContext

func (c *Pinpoint) RemoveAttributesWithContext(ctx aws.Context, input *RemoveAttributesInput, opts ...request.Option) (*RemoveAttributesOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

SendMessages

func (c *Pinpoint) SendMessages(input *SendMessagesInput) (*SendMessagesOutput, error)

SendMessages API operation for Amazon Pinpoint.

Used to send a direct message.

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 Pinpoint's API operation SendMessages for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessages

SendMessagesRequest

func (c *Pinpoint) SendMessagesRequest(input *SendMessagesInput) (req *request.Request, output *SendMessagesOutput)

SendMessagesRequest generates a "aws/request.Request" representing the client's request for the SendMessages 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 SendMessages for more information on using the SendMessages 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 SendMessagesRequest method. req, resp := client.SendMessagesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessages

SendMessagesWithContext

func (c *Pinpoint) SendMessagesWithContext(ctx aws.Context, input *SendMessagesInput, opts ...request.Option) (*SendMessagesOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

SendUsersMessages

func (c *Pinpoint) SendUsersMessages(input *SendUsersMessagesInput) (*SendUsersMessagesOutput, error)

SendUsersMessages API operation for Amazon Pinpoint.

Used to send a message to a list of users.

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 Pinpoint's API operation SendUsersMessages for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessages

SendUsersMessagesRequest

func (c *Pinpoint) SendUsersMessagesRequest(input *SendUsersMessagesInput) (req *request.Request, output *SendUsersMessagesOutput)

SendUsersMessagesRequest generates a "aws/request.Request" representing the client's request for the SendUsersMessages 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 SendUsersMessages for more information on using the SendUsersMessages 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 SendUsersMessagesRequest method. req, resp := client.SendUsersMessagesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessages

SendUsersMessagesWithContext

func (c *Pinpoint) SendUsersMessagesWithContext(ctx aws.Context, input *SendUsersMessagesInput, opts ...request.Option) (*SendUsersMessagesOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

TagResource

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

TagResource API operation for Amazon Pinpoint.

Adds tags to a 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 Pinpoint's API operation TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TagResource

TagResourceRequest

func (c *Pinpoint) 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/pinpoint-2016-12-01/TagResource

TagResourceWithContext

func (c *Pinpoint) 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.

See Also

For more information about using this API, see AWS API Documentation.

UntagResource

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

UntagResource API operation for Amazon Pinpoint.

Remove tags from a 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 Pinpoint's API operation UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UntagResource

UntagResourceRequest

func (c *Pinpoint) 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/pinpoint-2016-12-01/UntagResource

UntagResourceWithContext

func (c *Pinpoint) 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.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAdmChannel

func (c *Pinpoint) UpdateAdmChannel(input *UpdateAdmChannelInput) (*UpdateAdmChannelOutput, error)

UpdateAdmChannel API operation for Amazon Pinpoint.

Update an ADM channel.

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 Pinpoint's API operation UpdateAdmChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannel

UpdateAdmChannelRequest

func (c *Pinpoint) UpdateAdmChannelRequest(input *UpdateAdmChannelInput) (req *request.Request, output *UpdateAdmChannelOutput)

UpdateAdmChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateAdmChannel 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 UpdateAdmChannel for more information on using the UpdateAdmChannel 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 UpdateAdmChannelRequest method. req, resp := client.UpdateAdmChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannel

UpdateAdmChannelWithContext

func (c *Pinpoint) UpdateAdmChannelWithContext(ctx aws.Context, input *UpdateAdmChannelInput, opts ...request.Option) (*UpdateAdmChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateApnsChannel

func (c *Pinpoint) UpdateApnsChannel(input *UpdateApnsChannelInput) (*UpdateApnsChannelOutput, error)

UpdateApnsChannel API operation for Amazon Pinpoint.

Use to update the APNs channel for an app.

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 Pinpoint's API operation UpdateApnsChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannel

UpdateApnsChannelRequest

func (c *Pinpoint) UpdateApnsChannelRequest(input *UpdateApnsChannelInput) (req *request.Request, output *UpdateApnsChannelOutput)

UpdateApnsChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateApnsChannel 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 UpdateApnsChannel for more information on using the UpdateApnsChannel 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 UpdateApnsChannelRequest method. req, resp := client.UpdateApnsChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannel

UpdateApnsChannelWithContext

func (c *Pinpoint) UpdateApnsChannelWithContext(ctx aws.Context, input *UpdateApnsChannelInput, opts ...request.Option) (*UpdateApnsChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateApnsSandboxChannel

func (c *Pinpoint) UpdateApnsSandboxChannel(input *UpdateApnsSandboxChannelInput) (*UpdateApnsSandboxChannelOutput, error)

UpdateApnsSandboxChannel API operation for Amazon Pinpoint.

Update an APNS sandbox channel.

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 Pinpoint's API operation UpdateApnsSandboxChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannel

UpdateApnsSandboxChannelRequest

func (c *Pinpoint) UpdateApnsSandboxChannelRequest(input *UpdateApnsSandboxChannelInput) (req *request.Request, output *UpdateApnsSandboxChannelOutput)

UpdateApnsSandboxChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateApnsSandboxChannel 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 UpdateApnsSandboxChannel for more information on using the UpdateApnsSandboxChannel 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 UpdateApnsSandboxChannelRequest method. req, resp := client.UpdateApnsSandboxChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannel

UpdateApnsSandboxChannelWithContext

func (c *Pinpoint) UpdateApnsSandboxChannelWithContext(ctx aws.Context, input *UpdateApnsSandboxChannelInput, opts ...request.Option) (*UpdateApnsSandboxChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateApnsVoipChannel

func (c *Pinpoint) UpdateApnsVoipChannel(input *UpdateApnsVoipChannelInput) (*UpdateApnsVoipChannelOutput, error)

UpdateApnsVoipChannel API operation for Amazon Pinpoint.

Update an APNS VoIP channel

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 Pinpoint's API operation UpdateApnsVoipChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannel

UpdateApnsVoipChannelRequest

func (c *Pinpoint) UpdateApnsVoipChannelRequest(input *UpdateApnsVoipChannelInput) (req *request.Request, output *UpdateApnsVoipChannelOutput)

UpdateApnsVoipChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateApnsVoipChannel 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 UpdateApnsVoipChannel for more information on using the UpdateApnsVoipChannel 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 UpdateApnsVoipChannelRequest method. req, resp := client.UpdateApnsVoipChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannel

UpdateApnsVoipChannelWithContext

func (c *Pinpoint) UpdateApnsVoipChannelWithContext(ctx aws.Context, input *UpdateApnsVoipChannelInput, opts ...request.Option) (*UpdateApnsVoipChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateApnsVoipSandboxChannel

func (c *Pinpoint) UpdateApnsVoipSandboxChannel(input *UpdateApnsVoipSandboxChannelInput) (*UpdateApnsVoipSandboxChannelOutput, error)

UpdateApnsVoipSandboxChannel API operation for Amazon Pinpoint.

Update an APNS VoIP sandbox channel

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 Pinpoint's API operation UpdateApnsVoipSandboxChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannel

UpdateApnsVoipSandboxChannelRequest

func (c *Pinpoint) UpdateApnsVoipSandboxChannelRequest(input *UpdateApnsVoipSandboxChannelInput) (req *request.Request, output *UpdateApnsVoipSandboxChannelOutput)

UpdateApnsVoipSandboxChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateApnsVoipSandboxChannel 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 UpdateApnsVoipSandboxChannel for more information on using the UpdateApnsVoipSandboxChannel 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 UpdateApnsVoipSandboxChannelRequest method. req, resp := client.UpdateApnsVoipSandboxChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannel

UpdateApnsVoipSandboxChannelWithContext

func (c *Pinpoint) UpdateApnsVoipSandboxChannelWithContext(ctx aws.Context, input *UpdateApnsVoipSandboxChannelInput, opts ...request.Option) (*UpdateApnsVoipSandboxChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateApplicationSettings

func (c *Pinpoint) UpdateApplicationSettings(input *UpdateApplicationSettingsInput) (*UpdateApplicationSettingsOutput, error)

UpdateApplicationSettings API operation for Amazon Pinpoint.

Used to update the settings for an app.

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 Pinpoint's API operation UpdateApplicationSettings for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettings

UpdateApplicationSettingsRequest

func (c *Pinpoint) UpdateApplicationSettingsRequest(input *UpdateApplicationSettingsInput) (req *request.Request, output *UpdateApplicationSettingsOutput)

UpdateApplicationSettingsRequest generates a "aws/request.Request" representing the client's request for the UpdateApplicationSettings 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 UpdateApplicationSettings for more information on using the UpdateApplicationSettings 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 UpdateApplicationSettingsRequest method. req, resp := client.UpdateApplicationSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettings

UpdateApplicationSettingsWithContext

func (c *Pinpoint) UpdateApplicationSettingsWithContext(ctx aws.Context, input *UpdateApplicationSettingsInput, opts ...request.Option) (*UpdateApplicationSettingsOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateBaiduChannel

func (c *Pinpoint) UpdateBaiduChannel(input *UpdateBaiduChannelInput) (*UpdateBaiduChannelOutput, error)

UpdateBaiduChannel API operation for Amazon Pinpoint.

Update a BAIDU GCM channel

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 Pinpoint's API operation UpdateBaiduChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannel

UpdateBaiduChannelRequest

func (c *Pinpoint) UpdateBaiduChannelRequest(input *UpdateBaiduChannelInput) (req *request.Request, output *UpdateBaiduChannelOutput)

UpdateBaiduChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateBaiduChannel 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 UpdateBaiduChannel for more information on using the UpdateBaiduChannel 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 UpdateBaiduChannelRequest method. req, resp := client.UpdateBaiduChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannel

UpdateBaiduChannelWithContext

func (c *Pinpoint) UpdateBaiduChannelWithContext(ctx aws.Context, input *UpdateBaiduChannelInput, opts ...request.Option) (*UpdateBaiduChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateCampaign

func (c *Pinpoint) UpdateCampaign(input *UpdateCampaignInput) (*UpdateCampaignOutput, error)

UpdateCampaign API operation for Amazon Pinpoint.

Use to update a campaign.

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 Pinpoint's API operation UpdateCampaign for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign

UpdateCampaignRequest

func (c *Pinpoint) UpdateCampaignRequest(input *UpdateCampaignInput) (req *request.Request, output *UpdateCampaignOutput)

UpdateCampaignRequest generates a "aws/request.Request" representing the client's request for the UpdateCampaign 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 UpdateCampaign for more information on using the UpdateCampaign 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 UpdateCampaignRequest method. req, resp := client.UpdateCampaignRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign

UpdateCampaignWithContext

func (c *Pinpoint) UpdateCampaignWithContext(ctx aws.Context, input *UpdateCampaignInput, opts ...request.Option) (*UpdateCampaignOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateEmailChannel

func (c *Pinpoint) UpdateEmailChannel(input *UpdateEmailChannelInput) (*UpdateEmailChannelOutput, error)

UpdateEmailChannel API operation for Amazon Pinpoint.

Update an email channel.

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 Pinpoint's API operation UpdateEmailChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannel

UpdateEmailChannelRequest

func (c *Pinpoint) UpdateEmailChannelRequest(input *UpdateEmailChannelInput) (req *request.Request, output *UpdateEmailChannelOutput)

UpdateEmailChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateEmailChannel 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 UpdateEmailChannel for more information on using the UpdateEmailChannel 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 UpdateEmailChannelRequest method. req, resp := client.UpdateEmailChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannel

UpdateEmailChannelWithContext

func (c *Pinpoint) UpdateEmailChannelWithContext(ctx aws.Context, input *UpdateEmailChannelInput, opts ...request.Option) (*UpdateEmailChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateEndpoint

func (c *Pinpoint) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error)

UpdateEndpoint API operation for Amazon Pinpoint.

Creates or updates an endpoint.

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 Pinpoint's API operation UpdateEndpoint for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpoint

UpdateEndpointRequest

func (c *Pinpoint) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput)

UpdateEndpointRequest generates a "aws/request.Request" representing the client's request for the UpdateEndpoint 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 UpdateEndpoint for more information on using the UpdateEndpoint 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 UpdateEndpointRequest method. req, resp := client.UpdateEndpointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpoint

UpdateEndpointWithContext

func (c *Pinpoint) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateEndpointsBatch

func (c *Pinpoint) UpdateEndpointsBatch(input *UpdateEndpointsBatchInput) (*UpdateEndpointsBatchOutput, error)

UpdateEndpointsBatch API operation for Amazon Pinpoint.

Use to update a batch of endpoints.

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 Pinpoint's API operation UpdateEndpointsBatch for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatch

UpdateEndpointsBatchRequest

func (c *Pinpoint) UpdateEndpointsBatchRequest(input *UpdateEndpointsBatchInput) (req *request.Request, output *UpdateEndpointsBatchOutput)

UpdateEndpointsBatchRequest generates a "aws/request.Request" representing the client's request for the UpdateEndpointsBatch 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 UpdateEndpointsBatch for more information on using the UpdateEndpointsBatch 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 UpdateEndpointsBatchRequest method. req, resp := client.UpdateEndpointsBatchRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatch

UpdateEndpointsBatchWithContext

func (c *Pinpoint) UpdateEndpointsBatchWithContext(ctx aws.Context, input *UpdateEndpointsBatchInput, opts ...request.Option) (*UpdateEndpointsBatchOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateGcmChannel

func (c *Pinpoint) UpdateGcmChannel(input *UpdateGcmChannelInput) (*UpdateGcmChannelOutput, error)

UpdateGcmChannel API operation for Amazon Pinpoint.

Use to update the GCM channel for an app.

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 Pinpoint's API operation UpdateGcmChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannel

UpdateGcmChannelRequest

func (c *Pinpoint) UpdateGcmChannelRequest(input *UpdateGcmChannelInput) (req *request.Request, output *UpdateGcmChannelOutput)

UpdateGcmChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateGcmChannel 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 UpdateGcmChannel for more information on using the UpdateGcmChannel 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 UpdateGcmChannelRequest method. req, resp := client.UpdateGcmChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannel

UpdateGcmChannelWithContext

func (c *Pinpoint) UpdateGcmChannelWithContext(ctx aws.Context, input *UpdateGcmChannelInput, opts ...request.Option) (*UpdateGcmChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateSegment

func (c *Pinpoint) UpdateSegment(input *UpdateSegmentInput) (*UpdateSegmentOutput, error)

UpdateSegment API operation for Amazon Pinpoint.

Used to update a segment.

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 Pinpoint's API operation UpdateSegment for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment

UpdateSegmentRequest

func (c *Pinpoint) UpdateSegmentRequest(input *UpdateSegmentInput) (req *request.Request, output *UpdateSegmentOutput)

UpdateSegmentRequest generates a "aws/request.Request" representing the client's request for the UpdateSegment 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 UpdateSegment for more information on using the UpdateSegment 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 UpdateSegmentRequest method. req, resp := client.UpdateSegmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment

UpdateSegmentWithContext

func (c *Pinpoint) UpdateSegmentWithContext(ctx aws.Context, input *UpdateSegmentInput, opts ...request.Option) (*UpdateSegmentOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateSmsChannel

func (c *Pinpoint) UpdateSmsChannel(input *UpdateSmsChannelInput) (*UpdateSmsChannelOutput, error)

UpdateSmsChannel API operation for Amazon Pinpoint.

Update an SMS channel.

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 Pinpoint's API operation UpdateSmsChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannel

UpdateSmsChannelRequest

func (c *Pinpoint) UpdateSmsChannelRequest(input *UpdateSmsChannelInput) (req *request.Request, output *UpdateSmsChannelOutput)

UpdateSmsChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateSmsChannel 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 UpdateSmsChannel for more information on using the UpdateSmsChannel 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 UpdateSmsChannelRequest method. req, resp := client.UpdateSmsChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannel

UpdateSmsChannelWithContext

func (c *Pinpoint) UpdateSmsChannelWithContext(ctx aws.Context, input *UpdateSmsChannelInput, opts ...request.Option) (*UpdateSmsChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

UpdateVoiceChannel

func (c *Pinpoint) UpdateVoiceChannel(input *UpdateVoiceChannelInput) (*UpdateVoiceChannelOutput, error)

UpdateVoiceChannel API operation for Amazon Pinpoint.

Update an Voice channel

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 Pinpoint's API operation UpdateVoiceChannel for usage and error information.

Returned Error Codes:

  • ErrCodeBadRequestException "BadRequestException" Simple message object.

  • ErrCodeInternalServerErrorException "InternalServerErrorException" Simple message object.

  • ErrCodeForbiddenException "ForbiddenException" Simple message object.

  • ErrCodeNotFoundException "NotFoundException" Simple message object.

  • ErrCodeMethodNotAllowedException "MethodNotAllowedException" Simple message object.

  • ErrCodeTooManyRequestsException "TooManyRequestsException" Simple message object.

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannel

UpdateVoiceChannelRequest

func (c *Pinpoint) UpdateVoiceChannelRequest(input *UpdateVoiceChannelInput) (req *request.Request, output *UpdateVoiceChannelOutput)

UpdateVoiceChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateVoiceChannel 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 UpdateVoiceChannel for more information on using the UpdateVoiceChannel 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 UpdateVoiceChannelRequest method. req, resp := client.UpdateVoiceChannelRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannel

UpdateVoiceChannelWithContext

func (c *Pinpoint) UpdateVoiceChannelWithContext(ctx aws.Context, input *UpdateVoiceChannelInput, opts ...request.Option) (*UpdateVoiceChannelOutput, error)

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

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

See Also

For more information about using this API, see AWS API Documentation.

On this page: