signer

package
v1.15.28 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 9 Imported by: 22

Documentation

Overview

Package signer provides the client and types for making API requests to AWS Signer.

You can use Code Signing for Amazon FreeRTOS (AWS Signer) to sign code that you created for any of the IoT devices that Amazon Web Services supports. AWS Signer is integrated with Amazon FreeRTOS, AWS Certificate Manager, and AWS CloudTrail. Amazon FreeRTOS customers can use AWS Signer to sign code images before making them available for microcontrollers. You can use ACM to import third-party certificates to be used by AWS Signer. For general information about using AWS Signer, see the Code Signing for Amazon FreeRTOS Developer Guide (http://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html).

See https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25 for more information on this service.

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

Using the Client

To contact AWS Signer with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Signer client Signer for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/signer/#New

Index

Constants

View Source
const (
	// EncryptionAlgorithmRsa is a EncryptionAlgorithm enum value
	EncryptionAlgorithmRsa = "RSA"

	// EncryptionAlgorithmEcdsa is a EncryptionAlgorithm enum value
	EncryptionAlgorithmEcdsa = "ECDSA"
)
View Source
const (
	// HashAlgorithmSha1 is a HashAlgorithm enum value
	HashAlgorithmSha1 = "SHA1"

	// HashAlgorithmSha256 is a HashAlgorithm enum value
	HashAlgorithmSha256 = "SHA256"
)
View Source
const (
	// SigningProfileStatusActive is a SigningProfileStatus enum value
	SigningProfileStatusActive = "Active"

	// SigningProfileStatusCanceled is a SigningProfileStatus enum value
	SigningProfileStatusCanceled = "Canceled"
)
View Source
const (
	// SigningStatusInProgress is a SigningStatus enum value
	SigningStatusInProgress = "InProgress"

	// SigningStatusFailed is a SigningStatus enum value
	SigningStatusFailed = "Failed"

	// SigningStatusSucceeded is a SigningStatus enum value
	SigningStatusSucceeded = "Succeeded"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeInternalServiceErrorException for service response error code
	// "InternalServiceErrorException".
	//
	// An internal error occurred.
	ErrCodeInternalServiceErrorException = "InternalServiceErrorException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// A specified resource could not be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The signing job has been throttled.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// You signing certificate could not be validated.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "signer"    // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "signer"    // ServiceID is a unique identifer of a specific service.
)

Service information constants

View Source
const (
	// CategoryAwsioT is a Category enum value
	CategoryAwsioT = "AWSIoT"
)
View Source
const (
	// ImageFormatJson is a ImageFormat enum value
	ImageFormatJson = "JSON"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelSigningProfileInput

type CancelSigningProfileInput struct {

	// The name of the signing profile to be canceled.
	//
	// ProfileName is a required field
	ProfileName *string `location:"uri" locationName:"profileName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelSigningProfileInput) GoString

func (s CancelSigningProfileInput) GoString() string

GoString returns the string representation

func (*CancelSigningProfileInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (CancelSigningProfileInput) String

func (s CancelSigningProfileInput) String() string

String returns the string representation

func (*CancelSigningProfileInput) Validate

func (s *CancelSigningProfileInput) Validate() error

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

type CancelSigningProfileOutput

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

func (CancelSigningProfileOutput) GoString

func (s CancelSigningProfileOutput) GoString() string

GoString returns the string representation

func (CancelSigningProfileOutput) String

String returns the string representation

type DescribeSigningJobInput

type DescribeSigningJobInput struct {

	// The ID of the signing job on input.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSigningJobInput) GoString

func (s DescribeSigningJobInput) GoString() string

GoString returns the string representation

func (*DescribeSigningJobInput) SetJobId

SetJobId sets the JobId field's value.

func (DescribeSigningJobInput) String

func (s DescribeSigningJobInput) String() string

String returns the string representation

func (*DescribeSigningJobInput) Validate

func (s *DescribeSigningJobInput) Validate() error

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

type DescribeSigningJobOutput

type DescribeSigningJobOutput struct {

	// Date and time that the signing job was completed.
	CompletedAt *time.Time `locationName:"completedAt" type:"timestamp"`

	// Date and time that the signing job was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The ID of the signing job on output.
	JobId *string `locationName:"jobId" type:"string"`

	// A list of any overrides that were applied to the signing operation.
	Overrides *SigningPlatformOverrides `locationName:"overrides" type:"structure"`

	// The microcontroller platform to which your signed code image will be distributed.
	PlatformId *string `locationName:"platformId" type:"string"`

	// The name of the profile that initiated the signing operation.
	ProfileName *string `locationName:"profileName" min:"2" type:"string"`

	// The IAM principal that requested the signing job.
	RequestedBy *string `locationName:"requestedBy" type:"string"`

	// Name of the S3 bucket where the signed code image is saved by AWS Signer.
	SignedObject *SignedObject `locationName:"signedObject" type:"structure"`

	// Amazon Resource Name (ARN) of your code signing certificate.
	SigningMaterial *SigningMaterial `locationName:"signingMaterial" type:"structure"`

	// Map of user-assigned key-value pairs used during signing. These values contain
	// any information that you specified for use in your signing job.
	SigningParameters map[string]*string `locationName:"signingParameters" type:"map"`

	// The object that contains the name of your S3 bucket or your raw code.
	Source *Source `locationName:"source" type:"structure"`

	// Status of the signing job.
	Status *string `locationName:"status" type:"string" enum:"SigningStatus"`

	// String value that contains the status reason.
	StatusReason *string `locationName:"statusReason" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeSigningJobOutput) GoString

func (s DescribeSigningJobOutput) GoString() string

GoString returns the string representation

func (*DescribeSigningJobOutput) SetCompletedAt

SetCompletedAt sets the CompletedAt field's value.

func (*DescribeSigningJobOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*DescribeSigningJobOutput) SetJobId

SetJobId sets the JobId field's value.

func (*DescribeSigningJobOutput) SetOverrides

SetOverrides sets the Overrides field's value.

func (*DescribeSigningJobOutput) SetPlatformId

SetPlatformId sets the PlatformId field's value.

func (*DescribeSigningJobOutput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (*DescribeSigningJobOutput) SetRequestedBy

SetRequestedBy sets the RequestedBy field's value.

func (*DescribeSigningJobOutput) SetSignedObject

SetSignedObject sets the SignedObject field's value.

func (*DescribeSigningJobOutput) SetSigningMaterial

SetSigningMaterial sets the SigningMaterial field's value.

func (*DescribeSigningJobOutput) SetSigningParameters

func (s *DescribeSigningJobOutput) SetSigningParameters(v map[string]*string) *DescribeSigningJobOutput

SetSigningParameters sets the SigningParameters field's value.

func (*DescribeSigningJobOutput) SetSource

SetSource sets the Source field's value.

func (*DescribeSigningJobOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeSigningJobOutput) SetStatusReason

SetStatusReason sets the StatusReason field's value.

func (DescribeSigningJobOutput) String

func (s DescribeSigningJobOutput) String() string

String returns the string representation

type Destination

type Destination struct {

	// The S3Destination object.
	S3 *S3Destination `locationName:"s3" type:"structure"`
	// contains filtered or unexported fields
}

Points to an S3Destination object that contains information about your S3 bucket.

func (Destination) GoString

func (s Destination) GoString() string

GoString returns the string representation

func (*Destination) SetS3

func (s *Destination) SetS3(v *S3Destination) *Destination

SetS3 sets the S3 field's value.

func (Destination) String

func (s Destination) String() string

String returns the string representation

type EncryptionAlgorithmOptions

type EncryptionAlgorithmOptions struct {

	// The set of accepted encryption algorithms that are allowed in an AWS Signer
	// job.
	//
	// AllowedValues is a required field
	AllowedValues []*string `locationName:"allowedValues" type:"list" required:"true"`

	// The default encryption algorithm that is used by an AWS Signer job.
	//
	// DefaultValue is a required field
	DefaultValue *string `locationName:"defaultValue" type:"string" required:"true" enum:"EncryptionAlgorithm"`
	// contains filtered or unexported fields
}

The encryption algorithm options that are available to an AWS Signer job.

func (EncryptionAlgorithmOptions) GoString

func (s EncryptionAlgorithmOptions) GoString() string

GoString returns the string representation

func (*EncryptionAlgorithmOptions) SetAllowedValues

SetAllowedValues sets the AllowedValues field's value.

func (*EncryptionAlgorithmOptions) SetDefaultValue

SetDefaultValue sets the DefaultValue field's value.

func (EncryptionAlgorithmOptions) String

String returns the string representation

type GetSigningPlatformInput

type GetSigningPlatformInput struct {

	// The ID of the target signing platform.
	//
	// PlatformId is a required field
	PlatformId *string `location:"uri" locationName:"platformId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSigningPlatformInput) GoString

func (s GetSigningPlatformInput) GoString() string

GoString returns the string representation

func (*GetSigningPlatformInput) SetPlatformId

SetPlatformId sets the PlatformId field's value.

func (GetSigningPlatformInput) String

func (s GetSigningPlatformInput) String() string

String returns the string representation

func (*GetSigningPlatformInput) Validate

func (s *GetSigningPlatformInput) Validate() error

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

type GetSigningPlatformOutput

type GetSigningPlatformOutput struct {

	// The category type of the target signing platform.
	Category *string `locationName:"category" type:"string" enum:"Category"`

	// The display name of the target signing platform.
	DisplayName *string `locationName:"displayName" type:"string"`

	// The maximum size (in MB) of the payload that can be signed by the target
	// platform.
	MaxSizeInMB *int64 `locationName:"maxSizeInMB" type:"integer"`

	// A list of partner entities that use the target signing platform.
	Partner *string `locationName:"partner" type:"string"`

	// The ID of the target signing platform.
	PlatformId *string `locationName:"platformId" type:"string"`

	// A list of configurations applied to the target platform at signing.
	SigningConfiguration *SigningConfiguration `locationName:"signingConfiguration" type:"structure"`

	// The format of the target platform's signing image.
	SigningImageFormat *SigningImageFormat `locationName:"signingImageFormat" type:"structure"`

	// The validation template that is used by the target signing platform.
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

func (GetSigningPlatformOutput) GoString

func (s GetSigningPlatformOutput) GoString() string

GoString returns the string representation

func (*GetSigningPlatformOutput) SetCategory

SetCategory sets the Category field's value.

func (*GetSigningPlatformOutput) SetDisplayName

SetDisplayName sets the DisplayName field's value.

func (*GetSigningPlatformOutput) SetMaxSizeInMB

SetMaxSizeInMB sets the MaxSizeInMB field's value.

func (*GetSigningPlatformOutput) SetPartner

SetPartner sets the Partner field's value.

func (*GetSigningPlatformOutput) SetPlatformId

SetPlatformId sets the PlatformId field's value.

func (*GetSigningPlatformOutput) SetSigningConfiguration

SetSigningConfiguration sets the SigningConfiguration field's value.

func (*GetSigningPlatformOutput) SetSigningImageFormat

SetSigningImageFormat sets the SigningImageFormat field's value.

func (*GetSigningPlatformOutput) SetTarget

SetTarget sets the Target field's value.

func (GetSigningPlatformOutput) String

func (s GetSigningPlatformOutput) String() string

String returns the string representation

type GetSigningProfileInput

type GetSigningProfileInput struct {

	// The name of the target signing profile.
	//
	// ProfileName is a required field
	ProfileName *string `location:"uri" locationName:"profileName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSigningProfileInput) GoString

func (s GetSigningProfileInput) GoString() string

GoString returns the string representation

func (*GetSigningProfileInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (GetSigningProfileInput) String

func (s GetSigningProfileInput) String() string

String returns the string representation

func (*GetSigningProfileInput) Validate

func (s *GetSigningProfileInput) Validate() error

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

type GetSigningProfileOutput

type GetSigningProfileOutput struct {

	// A list of overrides applied by the target signing profile for signing operations.
	Overrides *SigningPlatformOverrides `locationName:"overrides" type:"structure"`

	// The ID of the platform that is used by the target signing profile.
	PlatformId *string `locationName:"platformId" type:"string"`

	// The name of the target signing profile.
	ProfileName *string `locationName:"profileName" min:"2" type:"string"`

	// The ARN of the certificate that the target profile uses for signing operations.
	SigningMaterial *SigningMaterial `locationName:"signingMaterial" type:"structure"`

	// A map of key-value pairs for signing operations that is attached to the target
	// signing profile.
	SigningParameters map[string]*string `locationName:"signingParameters" type:"map"`

	// The status of the target signing profile.
	Status *string `locationName:"status" type:"string" enum:"SigningProfileStatus"`
	// contains filtered or unexported fields
}

func (GetSigningProfileOutput) GoString

func (s GetSigningProfileOutput) GoString() string

GoString returns the string representation

func (*GetSigningProfileOutput) SetOverrides

SetOverrides sets the Overrides field's value.

func (*GetSigningProfileOutput) SetPlatformId

SetPlatformId sets the PlatformId field's value.

func (*GetSigningProfileOutput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (*GetSigningProfileOutput) SetSigningMaterial

SetSigningMaterial sets the SigningMaterial field's value.

func (*GetSigningProfileOutput) SetSigningParameters

func (s *GetSigningProfileOutput) SetSigningParameters(v map[string]*string) *GetSigningProfileOutput

SetSigningParameters sets the SigningParameters field's value.

func (*GetSigningProfileOutput) SetStatus

SetStatus sets the Status field's value.

func (GetSigningProfileOutput) String

func (s GetSigningProfileOutput) String() string

String returns the string representation

type HashAlgorithmOptions

type HashAlgorithmOptions struct {

	// The set of accepted hash algorithms allowed in an AWS Signer job.
	//
	// AllowedValues is a required field
	AllowedValues []*string `locationName:"allowedValues" type:"list" required:"true"`

	// The default hash algorithm that is used in an AWS Signer job.
	//
	// DefaultValue is a required field
	DefaultValue *string `locationName:"defaultValue" type:"string" required:"true" enum:"HashAlgorithm"`
	// contains filtered or unexported fields
}

The hash algorithms that are available to an AWS Signer job.

func (HashAlgorithmOptions) GoString

func (s HashAlgorithmOptions) GoString() string

GoString returns the string representation

func (*HashAlgorithmOptions) SetAllowedValues

func (s *HashAlgorithmOptions) SetAllowedValues(v []*string) *HashAlgorithmOptions

SetAllowedValues sets the AllowedValues field's value.

func (*HashAlgorithmOptions) SetDefaultValue

func (s *HashAlgorithmOptions) SetDefaultValue(v string) *HashAlgorithmOptions

SetDefaultValue sets the DefaultValue field's value.

func (HashAlgorithmOptions) String

func (s HashAlgorithmOptions) String() string

String returns the string representation

type ListSigningJobsInput

type ListSigningJobsInput struct {

	// Specifies the maximum number of items to return in the response. Use this
	// parameter when paginating results. If additional items exist beyond the number
	// you specify, the nextToken element is set in the response. Use the nextToken
	// value in a subsequent request to retrieve additional items.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// String for specifying the next set of paginated results to return. After
	// you receive a response with truncated results, use this parameter in a subsequent
	// request. Set it to the value of nextToken from the response that you just
	// received.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The ID of microcontroller platform that you specified for the distribution
	// of your code image.
	PlatformId *string `location:"querystring" locationName:"platformId" type:"string"`

	// The IAM principal that requested the signing job.
	RequestedBy *string `location:"querystring" locationName:"requestedBy" type:"string"`

	// A status value with which to filter your results.
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"SigningStatus"`
	// contains filtered or unexported fields
}

func (ListSigningJobsInput) GoString

func (s ListSigningJobsInput) GoString() string

GoString returns the string representation

func (*ListSigningJobsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListSigningJobsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSigningJobsInput) SetPlatformId

func (s *ListSigningJobsInput) SetPlatformId(v string) *ListSigningJobsInput

SetPlatformId sets the PlatformId field's value.

func (*ListSigningJobsInput) SetRequestedBy

func (s *ListSigningJobsInput) SetRequestedBy(v string) *ListSigningJobsInput

SetRequestedBy sets the RequestedBy field's value.

func (*ListSigningJobsInput) SetStatus

SetStatus sets the Status field's value.

func (ListSigningJobsInput) String

func (s ListSigningJobsInput) String() string

String returns the string representation

func (*ListSigningJobsInput) Validate

func (s *ListSigningJobsInput) Validate() error

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

type ListSigningJobsOutput

type ListSigningJobsOutput struct {

	// A list of your signing jobs.
	Jobs []*SigningJob `locationName:"jobs" type:"list"`

	// String for specifying the next set of paginated results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSigningJobsOutput) GoString

func (s ListSigningJobsOutput) GoString() string

GoString returns the string representation

func (*ListSigningJobsOutput) SetJobs

SetJobs sets the Jobs field's value.

func (*ListSigningJobsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSigningJobsOutput) String

func (s ListSigningJobsOutput) String() string

String returns the string representation

type ListSigningPlatformsInput

type ListSigningPlatformsInput struct {

	// The category type of a signing platform.
	Category *string `location:"querystring" locationName:"category" type:"string"`

	// The maximum number of results to be returned by this operation.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Value for specifying the next set of paginated results to return. After you
	// receive a response with truncated results, use this parameter in a subsequent
	// request. Set it to the value of nextToken from the response that you just
	// received.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// Any partner entities connected to a signing platform.
	Partner *string `location:"querystring" locationName:"partner" type:"string"`

	// The validation template that is used by the target signing platform.
	Target *string `location:"querystring" locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

func (ListSigningPlatformsInput) GoString

func (s ListSigningPlatformsInput) GoString() string

GoString returns the string representation

func (*ListSigningPlatformsInput) SetCategory

SetCategory sets the Category field's value.

func (*ListSigningPlatformsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListSigningPlatformsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSigningPlatformsInput) SetPartner

SetPartner sets the Partner field's value.

func (*ListSigningPlatformsInput) SetTarget

SetTarget sets the Target field's value.

func (ListSigningPlatformsInput) String

func (s ListSigningPlatformsInput) String() string

String returns the string representation

func (*ListSigningPlatformsInput) Validate

func (s *ListSigningPlatformsInput) Validate() error

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

type ListSigningPlatformsOutput

type ListSigningPlatformsOutput struct {

	// Value for specifying the next set of paginated results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of all platforms that match the request parameters.
	Platforms []*SigningPlatform `locationName:"platforms" type:"list"`
	// contains filtered or unexported fields
}

func (ListSigningPlatformsOutput) GoString

func (s ListSigningPlatformsOutput) GoString() string

GoString returns the string representation

func (*ListSigningPlatformsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSigningPlatformsOutput) SetPlatforms

SetPlatforms sets the Platforms field's value.

func (ListSigningPlatformsOutput) String

String returns the string representation

type ListSigningProfilesInput

type ListSigningProfilesInput struct {

	// Designates whether to include profiles with the status of CANCELED.
	IncludeCanceled *bool `location:"querystring" locationName:"includeCanceled" type:"boolean"`

	// The maximum number of profiles to be returned.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Value for specifying the next set of paginated results to return. After you
	// receive a response with truncated results, use this parameter in a subsequent
	// request. Set it to the value of nextToken from the response that you just
	// received.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSigningProfilesInput) GoString

func (s ListSigningProfilesInput) GoString() string

GoString returns the string representation

func (*ListSigningProfilesInput) SetIncludeCanceled

func (s *ListSigningProfilesInput) SetIncludeCanceled(v bool) *ListSigningProfilesInput

SetIncludeCanceled sets the IncludeCanceled field's value.

func (*ListSigningProfilesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListSigningProfilesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSigningProfilesInput) String

func (s ListSigningProfilesInput) String() string

String returns the string representation

func (*ListSigningProfilesInput) Validate

func (s *ListSigningProfilesInput) Validate() error

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

type ListSigningProfilesOutput

type ListSigningProfilesOutput struct {

	// Value for specifying the next set of paginated results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of profiles that are available in the AWS account. This includes profiles
	// with the status of CANCELED if the includeCanceled parameter is set to true.
	Profiles []*SigningProfile `locationName:"profiles" type:"list"`
	// contains filtered or unexported fields
}

func (ListSigningProfilesOutput) GoString

func (s ListSigningProfilesOutput) GoString() string

GoString returns the string representation

func (*ListSigningProfilesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSigningProfilesOutput) SetProfiles

SetProfiles sets the Profiles field's value.

func (ListSigningProfilesOutput) String

func (s ListSigningProfilesOutput) String() string

String returns the string representation

type PutSigningProfileInput

type PutSigningProfileInput struct {

	// A subfield of platform. This specifies any different configuration options
	// that you want to apply to the chosen platform (such as a different hash-algorithm
	// or signing-algorithm).
	Overrides *SigningPlatformOverrides `locationName:"overrides" type:"structure"`

	// The ID of the signing profile to be created.
	//
	// PlatformId is a required field
	PlatformId *string `locationName:"platformId" type:"string" required:"true"`

	// The name of the signing profile to be created.
	//
	// ProfileName is a required field
	ProfileName *string `location:"uri" locationName:"profileName" min:"2" type:"string" required:"true"`

	// The AWS Certificate Manager certificate that will be used to sign code with
	// the new signing profile.
	//
	// SigningMaterial is a required field
	SigningMaterial *SigningMaterial `locationName:"signingMaterial" type:"structure" required:"true"`

	// Map of key-value pairs for signing. These can include any information that
	// you want to use during signing.
	SigningParameters map[string]*string `locationName:"signingParameters" type:"map"`
	// contains filtered or unexported fields
}

func (PutSigningProfileInput) GoString

func (s PutSigningProfileInput) GoString() string

GoString returns the string representation

func (*PutSigningProfileInput) SetOverrides

SetOverrides sets the Overrides field's value.

func (*PutSigningProfileInput) SetPlatformId

SetPlatformId sets the PlatformId field's value.

func (*PutSigningProfileInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (*PutSigningProfileInput) SetSigningMaterial

SetSigningMaterial sets the SigningMaterial field's value.

func (*PutSigningProfileInput) SetSigningParameters

func (s *PutSigningProfileInput) SetSigningParameters(v map[string]*string) *PutSigningProfileInput

SetSigningParameters sets the SigningParameters field's value.

func (PutSigningProfileInput) String

func (s PutSigningProfileInput) String() string

String returns the string representation

func (*PutSigningProfileInput) Validate

func (s *PutSigningProfileInput) Validate() error

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

type PutSigningProfileOutput

type PutSigningProfileOutput struct {

	// The Amazon Resource Name (ARN) of the signing profile created.
	Arn *string `locationName:"arn" type:"string"`
	// contains filtered or unexported fields
}

func (PutSigningProfileOutput) GoString

func (s PutSigningProfileOutput) GoString() string

GoString returns the string representation

func (*PutSigningProfileOutput) SetArn

SetArn sets the Arn field's value.

func (PutSigningProfileOutput) String

func (s PutSigningProfileOutput) String() string

String returns the string representation

type S3Destination

type S3Destination struct {

	// Name of the S3 bucket.
	BucketName *string `locationName:"bucketName" type:"string"`

	// An Amazon S3 prefix that you can use to limit responses to those that begin
	// with the specified prefix.
	Prefix *string `locationName:"prefix" type:"string"`
	// contains filtered or unexported fields
}

The name and prefix of the S3 bucket where AWS Signer saves your signed objects.

func (S3Destination) GoString

func (s S3Destination) GoString() string

GoString returns the string representation

func (*S3Destination) SetBucketName

func (s *S3Destination) SetBucketName(v string) *S3Destination

SetBucketName sets the BucketName field's value.

func (*S3Destination) SetPrefix

func (s *S3Destination) SetPrefix(v string) *S3Destination

SetPrefix sets the Prefix field's value.

func (S3Destination) String

func (s S3Destination) String() string

String returns the string representation

type S3SignedObject

type S3SignedObject struct {

	// Name of the S3 bucket.
	BucketName *string `locationName:"bucketName" type:"string"`

	// Key name that uniquely identifies a signed code image in your bucket.
	Key *string `locationName:"key" type:"string"`
	// contains filtered or unexported fields
}

The S3 bucket name and key where AWS Signer saved your signed code image.

func (S3SignedObject) GoString

func (s S3SignedObject) GoString() string

GoString returns the string representation

func (*S3SignedObject) SetBucketName

func (s *S3SignedObject) SetBucketName(v string) *S3SignedObject

SetBucketName sets the BucketName field's value.

func (*S3SignedObject) SetKey

func (s *S3SignedObject) SetKey(v string) *S3SignedObject

SetKey sets the Key field's value.

func (S3SignedObject) String

func (s S3SignedObject) String() string

String returns the string representation

type S3Source

type S3Source struct {

	// Name of the S3 bucket.
	//
	// BucketName is a required field
	BucketName *string `locationName:"bucketName" type:"string" required:"true"`

	// Key name of the bucket object that contains your unsigned code.
	//
	// Key is a required field
	Key *string `locationName:"key" type:"string" required:"true"`

	// Version of your source image in your version enabled S3 bucket.
	//
	// Version is a required field
	Version *string `locationName:"version" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Information about the S3 bucket where you saved your unsigned code.

func (S3Source) GoString

func (s S3Source) GoString() string

GoString returns the string representation

func (*S3Source) SetBucketName

func (s *S3Source) SetBucketName(v string) *S3Source

SetBucketName sets the BucketName field's value.

func (*S3Source) SetKey

func (s *S3Source) SetKey(v string) *S3Source

SetKey sets the Key field's value.

func (*S3Source) SetVersion

func (s *S3Source) SetVersion(v string) *S3Source

SetVersion sets the Version field's value.

func (S3Source) String

func (s S3Source) String() string

String returns the string representation

func (*S3Source) Validate

func (s *S3Source) Validate() error

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

type SignedObject

type SignedObject struct {

	// The S3SignedObject.
	S3 *S3SignedObject `locationName:"s3" type:"structure"`
	// contains filtered or unexported fields
}

Points to an S3SignedObject object that contains information about your signed code image.

func (SignedObject) GoString

func (s SignedObject) GoString() string

GoString returns the string representation

func (*SignedObject) SetS3

SetS3 sets the S3 field's value.

func (SignedObject) String

func (s SignedObject) String() string

String returns the string representation

type 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.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Signer

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

Example:

// Create a Signer client from just a session.
svc := signer.New(mySession)

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

func (*Signer) 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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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

func (*Signer) 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
    })

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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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

func (*Signer) 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
    })

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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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

func (*Signer) 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
    })

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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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 http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html (http://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

func (*Signer) 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 successfuly.

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

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

func (*Signer) 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:

  • You must create an Amazon S3 source bucket. For more information, see Create a Bucket (http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html) in the Amazon S3 Getting Started Guide.

  • 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 http://docs.aws.amazon.com/acm/latest/userguide/ (http://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

func (*Signer) 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 successfuly.

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

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

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

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

type SigningConfiguration

type SigningConfiguration struct {

	// The encryption algorithm options that are available for an AWS Signer job.
	//
	// EncryptionAlgorithmOptions is a required field
	EncryptionAlgorithmOptions *EncryptionAlgorithmOptions `locationName:"encryptionAlgorithmOptions" type:"structure" required:"true"`

	// The hash algorithm options that are available for an AWS Signer job.
	//
	// HashAlgorithmOptions is a required field
	HashAlgorithmOptions *HashAlgorithmOptions `locationName:"hashAlgorithmOptions" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

The configuration of an AWS Signer operation.

func (SigningConfiguration) GoString

func (s SigningConfiguration) GoString() string

GoString returns the string representation

func (*SigningConfiguration) SetEncryptionAlgorithmOptions

func (s *SigningConfiguration) SetEncryptionAlgorithmOptions(v *EncryptionAlgorithmOptions) *SigningConfiguration

SetEncryptionAlgorithmOptions sets the EncryptionAlgorithmOptions field's value.

func (*SigningConfiguration) SetHashAlgorithmOptions

func (s *SigningConfiguration) SetHashAlgorithmOptions(v *HashAlgorithmOptions) *SigningConfiguration

SetHashAlgorithmOptions sets the HashAlgorithmOptions field's value.

func (SigningConfiguration) String

func (s SigningConfiguration) String() string

String returns the string representation

type SigningConfigurationOverrides

type SigningConfigurationOverrides struct {

	// A specified override of the default encryption algorithm that is used in
	// an AWS Signer job.
	EncryptionAlgorithm *string `locationName:"encryptionAlgorithm" type:"string" enum:"EncryptionAlgorithm"`

	// A specified override of the default hash algorithm that is used in an AWS
	// Signer job.
	HashAlgorithm *string `locationName:"hashAlgorithm" type:"string" enum:"HashAlgorithm"`
	// contains filtered or unexported fields
}

A signing configuration that overrides the default encryption or hash algorithm of a signing job.

func (SigningConfigurationOverrides) GoString

GoString returns the string representation

func (*SigningConfigurationOverrides) SetEncryptionAlgorithm

SetEncryptionAlgorithm sets the EncryptionAlgorithm field's value.

func (*SigningConfigurationOverrides) SetHashAlgorithm

SetHashAlgorithm sets the HashAlgorithm field's value.

func (SigningConfigurationOverrides) String

String returns the string representation

type SigningImageFormat

type SigningImageFormat struct {

	// The default format of an AWS Signer signing image.
	//
	// DefaultFormat is a required field
	DefaultFormat *string `locationName:"defaultFormat" type:"string" required:"true" enum:"ImageFormat"`

	// The supported formats of an AWS Signer signing image.
	//
	// SupportedFormats is a required field
	SupportedFormats []*string `locationName:"supportedFormats" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The image format of an AWS Signer platform or profile.

func (SigningImageFormat) GoString

func (s SigningImageFormat) GoString() string

GoString returns the string representation

func (*SigningImageFormat) SetDefaultFormat

func (s *SigningImageFormat) SetDefaultFormat(v string) *SigningImageFormat

SetDefaultFormat sets the DefaultFormat field's value.

func (*SigningImageFormat) SetSupportedFormats

func (s *SigningImageFormat) SetSupportedFormats(v []*string) *SigningImageFormat

SetSupportedFormats sets the SupportedFormats field's value.

func (SigningImageFormat) String

func (s SigningImageFormat) String() string

String returns the string representation

type SigningJob

type SigningJob struct {

	// The date and time that the signing job was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The ID of the signing job.
	JobId *string `locationName:"jobId" type:"string"`

	// A SignedObject structure that contains information about a signing job's
	// signed code image.
	SignedObject *SignedObject `locationName:"signedObject" type:"structure"`

	// A SigningMaterial object that contains the Amazon Resource Name (ARN) of
	// the certificate used for the signing job.
	SigningMaterial *SigningMaterial `locationName:"signingMaterial" type:"structure"`

	// A Source that contains information about a signing job's code image source.
	Source *Source `locationName:"source" type:"structure"`

	// The status of the signing job.
	Status *string `locationName:"status" type:"string" enum:"SigningStatus"`
	// contains filtered or unexported fields
}

Contains information about a signing job.

func (SigningJob) GoString

func (s SigningJob) GoString() string

GoString returns the string representation

func (*SigningJob) SetCreatedAt

func (s *SigningJob) SetCreatedAt(v time.Time) *SigningJob

SetCreatedAt sets the CreatedAt field's value.

func (*SigningJob) SetJobId

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

SetJobId sets the JobId field's value.

func (*SigningJob) SetSignedObject

func (s *SigningJob) SetSignedObject(v *SignedObject) *SigningJob

SetSignedObject sets the SignedObject field's value.

func (*SigningJob) SetSigningMaterial

func (s *SigningJob) SetSigningMaterial(v *SigningMaterial) *SigningJob

SetSigningMaterial sets the SigningMaterial field's value.

func (*SigningJob) SetSource

func (s *SigningJob) SetSource(v *Source) *SigningJob

SetSource sets the Source field's value.

func (*SigningJob) SetStatus

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

SetStatus sets the Status field's value.

func (SigningJob) String

func (s SigningJob) String() string

String returns the string representation

type SigningMaterial

type SigningMaterial struct {

	// The Amazon Resource Name (ARN) of the certificates that is used to sign your
	// code.
	//
	// CertificateArn is a required field
	CertificateArn *string `locationName:"certificateArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The ACM certificate that is used to sign your code.

func (SigningMaterial) GoString

func (s SigningMaterial) GoString() string

GoString returns the string representation

func (*SigningMaterial) SetCertificateArn

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

SetCertificateArn sets the CertificateArn field's value.

func (SigningMaterial) String

func (s SigningMaterial) String() string

String returns the string representation

func (*SigningMaterial) Validate

func (s *SigningMaterial) Validate() error

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

type SigningPlatform

type SigningPlatform struct {

	// The category of an AWS Signer platform.
	Category *string `locationName:"category" type:"string" enum:"Category"`

	// The display name of an AWS Signer platform.
	DisplayName *string `locationName:"displayName" type:"string"`

	// The maximum size (in MB) of code that can be signed by a AWS Signer platform.
	MaxSizeInMB *int64 `locationName:"maxSizeInMB" type:"integer"`

	// Any partner entities linked to an AWS Signer platform.
	Partner *string `locationName:"partner" type:"string"`

	// The ID of an AWS Signer platform.
	PlatformId *string `locationName:"platformId" type:"string"`

	// The configuration of an AWS Signer platform. This includes the designated
	// hash algorithm and encryption algorithm of a signing platform.
	SigningConfiguration *SigningConfiguration `locationName:"signingConfiguration" type:"structure"`

	// The signing image format that is used by an AWS Signer platform.
	SigningImageFormat *SigningImageFormat `locationName:"signingImageFormat" type:"structure"`

	// The types of targets that can be signed by an AWS Signer platform.
	Target *string `locationName:"target" type:"string"`
	// contains filtered or unexported fields
}

Contains information about the signing configurations and parameters that is used to perform an AWS Signer job.

func (SigningPlatform) GoString

func (s SigningPlatform) GoString() string

GoString returns the string representation

func (*SigningPlatform) SetCategory

func (s *SigningPlatform) SetCategory(v string) *SigningPlatform

SetCategory sets the Category field's value.

func (*SigningPlatform) SetDisplayName

func (s *SigningPlatform) SetDisplayName(v string) *SigningPlatform

SetDisplayName sets the DisplayName field's value.

func (*SigningPlatform) SetMaxSizeInMB

func (s *SigningPlatform) SetMaxSizeInMB(v int64) *SigningPlatform

SetMaxSizeInMB sets the MaxSizeInMB field's value.

func (*SigningPlatform) SetPartner

func (s *SigningPlatform) SetPartner(v string) *SigningPlatform

SetPartner sets the Partner field's value.

func (*SigningPlatform) SetPlatformId

func (s *SigningPlatform) SetPlatformId(v string) *SigningPlatform

SetPlatformId sets the PlatformId field's value.

func (*SigningPlatform) SetSigningConfiguration

func (s *SigningPlatform) SetSigningConfiguration(v *SigningConfiguration) *SigningPlatform

SetSigningConfiguration sets the SigningConfiguration field's value.

func (*SigningPlatform) SetSigningImageFormat

func (s *SigningPlatform) SetSigningImageFormat(v *SigningImageFormat) *SigningPlatform

SetSigningImageFormat sets the SigningImageFormat field's value.

func (*SigningPlatform) SetTarget

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

SetTarget sets the Target field's value.

func (SigningPlatform) String

func (s SigningPlatform) String() string

String returns the string representation

type SigningPlatformOverrides

type SigningPlatformOverrides struct {

	// A signing configuration that overrides the default encryption or hash algorithm
	// of a signing job.
	SigningConfiguration *SigningConfigurationOverrides `locationName:"signingConfiguration" type:"structure"`
	// contains filtered or unexported fields
}

Any overrides that are applied to the signing configuration of an AWS Signer platform.

func (SigningPlatformOverrides) GoString

func (s SigningPlatformOverrides) GoString() string

GoString returns the string representation

func (*SigningPlatformOverrides) SetSigningConfiguration

SetSigningConfiguration sets the SigningConfiguration field's value.

func (SigningPlatformOverrides) String

func (s SigningPlatformOverrides) String() string

String returns the string representation

type SigningProfile

type SigningProfile struct {

	// The ID of a platform that is available for use by a signing profile.
	PlatformId *string `locationName:"platformId" type:"string"`

	// The name of the AWS Signer profile.
	ProfileName *string `locationName:"profileName" min:"2" type:"string"`

	// The ACM certificate that is available for use by a signing profile.
	SigningMaterial *SigningMaterial `locationName:"signingMaterial" type:"structure"`

	// The parameters that are available for use by an AWS Signer user.
	SigningParameters map[string]*string `locationName:"signingParameters" type:"map"`

	// The status of an AWS Signer profile.
	Status *string `locationName:"status" type:"string" enum:"SigningProfileStatus"`
	// contains filtered or unexported fields
}

Contains information about the ACM certificates and AWS Signer configuration parameters that can be used by a given AWS Signer user.

func (SigningProfile) GoString

func (s SigningProfile) GoString() string

GoString returns the string representation

func (*SigningProfile) SetPlatformId

func (s *SigningProfile) SetPlatformId(v string) *SigningProfile

SetPlatformId sets the PlatformId field's value.

func (*SigningProfile) SetProfileName

func (s *SigningProfile) SetProfileName(v string) *SigningProfile

SetProfileName sets the ProfileName field's value.

func (*SigningProfile) SetSigningMaterial

func (s *SigningProfile) SetSigningMaterial(v *SigningMaterial) *SigningProfile

SetSigningMaterial sets the SigningMaterial field's value.

func (*SigningProfile) SetSigningParameters

func (s *SigningProfile) SetSigningParameters(v map[string]*string) *SigningProfile

SetSigningParameters sets the SigningParameters field's value.

func (*SigningProfile) SetStatus

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

SetStatus sets the Status field's value.

func (SigningProfile) String

func (s SigningProfile) String() string

String returns the string representation

type Source

type Source struct {

	// The S3Source object.
	S3 *S3Source `locationName:"s3" type:"structure"`
	// contains filtered or unexported fields
}

An S3Source object that contains information about the S3 bucket where you saved your unsigned code.

func (Source) GoString

func (s Source) GoString() string

GoString returns the string representation

func (*Source) SetS3

func (s *Source) SetS3(v *S3Source) *Source

SetS3 sets the S3 field's value.

func (Source) String

func (s Source) String() string

String returns the string representation

func (*Source) Validate

func (s *Source) Validate() error

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

type StartSigningJobInput

type StartSigningJobInput struct {

	// String that identifies the signing request. All calls after the first that
	// use this token return the same response as the first call.
	//
	// ClientRequestToken is a required field
	ClientRequestToken *string `locationName:"clientRequestToken" type:"string" required:"true" idempotencyToken:"true"`

	// The S3 bucket in which to save your signed object. The destination contains
	// the name of your bucket and an optional prefix.
	//
	// Destination is a required field
	Destination *Destination `locationName:"destination" type:"structure" required:"true"`

	// The name of the signing profile.
	ProfileName *string `locationName:"profileName" min:"2" type:"string"`

	// The S3 bucket that contains the object to sign or a BLOB that contains your
	// raw code.
	//
	// Source is a required field
	Source *Source `locationName:"source" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (StartSigningJobInput) GoString

func (s StartSigningJobInput) GoString() string

GoString returns the string representation

func (*StartSigningJobInput) SetClientRequestToken

func (s *StartSigningJobInput) SetClientRequestToken(v string) *StartSigningJobInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*StartSigningJobInput) SetDestination

func (s *StartSigningJobInput) SetDestination(v *Destination) *StartSigningJobInput

SetDestination sets the Destination field's value.

func (*StartSigningJobInput) SetProfileName

func (s *StartSigningJobInput) SetProfileName(v string) *StartSigningJobInput

SetProfileName sets the ProfileName field's value.

func (*StartSigningJobInput) SetSource

SetSource sets the Source field's value.

func (StartSigningJobInput) String

func (s StartSigningJobInput) String() string

String returns the string representation

func (*StartSigningJobInput) Validate

func (s *StartSigningJobInput) Validate() error

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

type StartSigningJobOutput

type StartSigningJobOutput struct {

	// The ID of your signing job.
	JobId *string `locationName:"jobId" type:"string"`
	// contains filtered or unexported fields
}

func (StartSigningJobOutput) GoString

func (s StartSigningJobOutput) GoString() string

GoString returns the string representation

func (*StartSigningJobOutput) SetJobId

SetJobId sets the JobId field's value.

func (StartSigningJobOutput) String

func (s StartSigningJobOutput) String() string

String returns the string representation

Directories

Path Synopsis
Package signeriface provides an interface to enable mocking the AWS Signer service client for testing your code.
Package signeriface provides an interface to enable mocking the AWS Signer service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL