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.

Signer

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

type Signer struct { *client.Client }

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

Signer 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

CancelSigningProfile

func (c *Signer) CancelSigningProfile(input *CancelSigningProfileInput) (*CancelSigningProfileOutput, error)

CancelSigningProfile API operation for AWS Signer.

Changes the state of an ACTIVE signing profile to CANCELED. A canceled profile is still viewable with the ListSigningProfiles operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.

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 AWS Signer's API operation CancelSigningProfile for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A specified resource could not be found.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "ThrottlingException" The signing job has been throttled.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile

CancelSigningProfileRequest

func (c *Signer) CancelSigningProfileRequest(input *CancelSigningProfileInput) (req *request.Request, output *CancelSigningProfileOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile

CancelSigningProfileWithContext

func (c *Signer) CancelSigningProfileWithContext(ctx aws.Context, input *CancelSigningProfileInput, opts ...request.Option) (*CancelSigningProfileOutput, error)

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

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

DescribeSigningJob

func (c *Signer) DescribeSigningJob(input *DescribeSigningJobInput) (*DescribeSigningJobOutput, error)

DescribeSigningJob API operation for AWS Signer.

Returns information about a specific code signing job. You specify the job by using the jobId value that is returned by the StartSigningJob operation.

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 AWS Signer's API operation DescribeSigningJob for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A specified resource could not be found.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob

DescribeSigningJobRequest

func (c *Signer) DescribeSigningJobRequest(input *DescribeSigningJobInput) (req *request.Request, output *DescribeSigningJobOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob

DescribeSigningJobWithContext

func (c *Signer) DescribeSigningJobWithContext(ctx aws.Context, input *DescribeSigningJobInput, opts ...request.Option) (*DescribeSigningJobOutput, error)

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

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

GetSigningPlatform

func (c *Signer) GetSigningPlatform(input *GetSigningPlatformInput) (*GetSigningPlatformOutput, error)

GetSigningPlatform API operation for AWS Signer.

Returns information on a specific signing platform.

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 AWS Signer's API operation GetSigningPlatform for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A specified resource could not be found.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatform

GetSigningPlatformRequest

func (c *Signer) GetSigningPlatformRequest(input *GetSigningPlatformInput) (req *request.Request, output *GetSigningPlatformOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatform

GetSigningPlatformWithContext

func (c *Signer) GetSigningPlatformWithContext(ctx aws.Context, input *GetSigningPlatformInput, opts ...request.Option) (*GetSigningPlatformOutput, error)

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

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

GetSigningProfile

func (c *Signer) GetSigningProfile(input *GetSigningProfileInput) (*GetSigningProfileOutput, error)

GetSigningProfile API operation for AWS Signer.

Returns information on a specific signing profile.

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 AWS Signer's API operation GetSigningProfile for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A specified resource could not be found.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "ThrottlingException" The signing job has been throttled.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningProfile

GetSigningProfileRequest

func (c *Signer) GetSigningProfileRequest(input *GetSigningProfileInput) (req *request.Request, output *GetSigningProfileOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningProfile

GetSigningProfileWithContext

func (c *Signer) GetSigningProfileWithContext(ctx aws.Context, input *GetSigningProfileInput, opts ...request.Option) (*GetSigningProfileOutput, error)

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

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

ListSigningJobs

func (c *Signer) ListSigningJobs(input *ListSigningJobsInput) (*ListSigningJobsOutput, error)

ListSigningJobs API operation for AWS Signer.

Lists all your signing jobs. You can use the maxResults parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that AWS Signer returns in the nextToken parameter until all of your signing jobs have been returned.

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 AWS Signer's API operation ListSigningJobs for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" You signing certificate could not be validated.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "ThrottlingException" The signing job has been throttled.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningJobs

ListSigningJobsPages

func (c *Signer) ListSigningJobsPages(input *ListSigningJobsInput, fn func(*ListSigningJobsOutput, bool) bool) error

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

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

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

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

See Also

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

ListSigningJobsPagesWithContext

func (c *Signer) ListSigningJobsPagesWithContext(ctx aws.Context, input *ListSigningJobsInput, fn func(*ListSigningJobsOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListSigningJobsRequest

func (c *Signer) ListSigningJobsRequest(input *ListSigningJobsInput) (req *request.Request, output *ListSigningJobsOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningJobs

ListSigningJobsWithContext

func (c *Signer) ListSigningJobsWithContext(ctx aws.Context, input *ListSigningJobsInput, opts ...request.Option) (*ListSigningJobsOutput, error)

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

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

ListSigningPlatforms

func (c *Signer) ListSigningPlatforms(input *ListSigningPlatformsInput) (*ListSigningPlatformsOutput, error)

ListSigningPlatforms API operation for AWS Signer.

Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that AWS Signer returns in the nextToken parameter until all of your signing jobs have been returned.

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 AWS Signer's API operation ListSigningPlatforms for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" You signing certificate could not be validated.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "ThrottlingException" The signing job has been throttled.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningPlatforms

ListSigningPlatformsPages

func (c *Signer) ListSigningPlatformsPages(input *ListSigningPlatformsInput, fn func(*ListSigningPlatformsOutput, bool) bool) error

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

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

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

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

See Also

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

ListSigningPlatformsPagesWithContext

func (c *Signer) ListSigningPlatformsPagesWithContext(ctx aws.Context, input *ListSigningPlatformsInput, fn func(*ListSigningPlatformsOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListSigningPlatformsRequest

func (c *Signer) ListSigningPlatformsRequest(input *ListSigningPlatformsInput) (req *request.Request, output *ListSigningPlatformsOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningPlatforms

ListSigningPlatformsWithContext

func (c *Signer) ListSigningPlatformsWithContext(ctx aws.Context, input *ListSigningPlatformsInput, opts ...request.Option) (*ListSigningPlatformsOutput, error)

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

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

ListSigningProfiles

func (c *Signer) ListSigningProfiles(input *ListSigningProfilesInput) (*ListSigningProfilesOutput, error)

ListSigningProfiles API operation for AWS Signer.

Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE status unless the includeCanceled request field is set to true. If additional jobs remain to be listed, AWS Signer returns a nextToken value. Use this value in subsequent calls to ListSigningJobs to fetch the remaining values. You can continue calling ListSigningJobs with your maxResults parameter and with new values that AWS Signer returns in the nextToken parameter until all of your signing jobs have been returned.

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 AWS Signer's API operation ListSigningProfiles for usage and error information.

Returned Error Codes:

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "ThrottlingException" The signing job has been throttled.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningProfiles

ListSigningProfilesPages

func (c *Signer) ListSigningProfilesPages(input *ListSigningProfilesInput, fn func(*ListSigningProfilesOutput, bool) bool) error

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

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

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

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

See Also

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

ListSigningProfilesPagesWithContext

func (c *Signer) ListSigningProfilesPagesWithContext(ctx aws.Context, input *ListSigningProfilesInput, fn func(*ListSigningProfilesOutput, bool) bool, opts ...request.Option) error

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

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

See Also

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

ListSigningProfilesRequest

func (c *Signer) ListSigningProfilesRequest(input *ListSigningProfilesInput) (req *request.Request, output *ListSigningProfilesOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningProfiles

ListSigningProfilesWithContext

func (c *Signer) ListSigningProfilesWithContext(ctx aws.Context, input *ListSigningProfilesInput, opts ...request.Option) (*ListSigningProfilesOutput, error)

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

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

PutSigningProfile

func (c *Signer) PutSigningProfile(input *PutSigningProfileInput) (*PutSigningProfileOutput, error)

PutSigningProfile API operation for AWS Signer.

Creates a signing profile. A signing profile is an AWS Signer template that can be used to carry out a pre-defined signing job. For more information, see https://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html (https://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html)

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 AWS Signer's API operation PutSigningProfile for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A specified resource could not be found.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeValidationException "ValidationException" You signing certificate could not be validated.

  • ErrCodeThrottlingException "ThrottlingException" The signing job has been throttled.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfile

PutSigningProfileRequest

func (c *Signer) PutSigningProfileRequest(input *PutSigningProfileInput) (req *request.Request, output *PutSigningProfileOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfile

PutSigningProfileWithContext

func (c *Signer) PutSigningProfileWithContext(ctx aws.Context, input *PutSigningProfileInput, opts ...request.Option) (*PutSigningProfileOutput, error)

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

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

StartSigningJob

func (c *Signer) StartSigningJob(input *StartSigningJobInput) (*StartSigningJobOutput, error)

StartSigningJob API operation for AWS Signer.

Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the ListSigningJobs operation for two years after they are performed. Note the following requirements:

  • Your S3 source bucket must be version enabled.

  • You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.

  • You specify the name of the source and destination buckets when calling the StartSigningJob operation.

  • You must also specify a request token that identifies your request to AWS Signer.

You can call the DescribeSigningJob and the ListSigningJobs actions after you call StartSigningJob.

For a Java example that shows how to use this action, see https://docs.aws.amazon.com/acm/latest/userguide/ (https://docs.aws.amazon.com/acm/latest/userguide/)

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 AWS Signer's API operation StartSigningJob for usage and error information.

Returned Error Codes:

  • ErrCodeValidationException "ValidationException" You signing certificate could not be validated.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" A specified resource could not be found.

  • ErrCodeAccessDeniedException "AccessDeniedException" You do not have sufficient access to perform this action.

  • ErrCodeThrottlingException "ThrottlingException" The signing job has been throttled.

  • ErrCodeInternalServiceErrorException "InternalServiceErrorException" An internal error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJob

StartSigningJobRequest

func (c *Signer) StartSigningJobRequest(input *StartSigningJobInput) (req *request.Request, output *StartSigningJobOutput)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJob

StartSigningJobWithContext

func (c *Signer) StartSigningJobWithContext(ctx aws.Context, input *StartSigningJobInput, opts ...request.Option) (*StartSigningJobOutput, error)

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

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

WaitUntilSuccessfulSigningJob

func (c *Signer) WaitUntilSuccessfulSigningJob(input *DescribeSigningJobInput) error

WaitUntilSuccessfulSigningJob uses the signer API operation DescribeSigningJob to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

WaitUntilSuccessfulSigningJobWithContext

func (c *Signer) WaitUntilSuccessfulSigningJobWithContext(ctx aws.Context, input *DescribeSigningJobInput, opts ...request.WaiterOption) error

WaitUntilSuccessfulSigningJobWithContext is an extended version of WaitUntilSuccessfulSigningJob. With the support for passing in a context and options to configure the Waiter and the underlying request options.

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.

On this page: