signer

package
v1.41.1 Latest Latest
Warning

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

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

Documentation

Overview

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

AWS Signer is a fully managed code signing service to help you ensure the trust and integrity of your code.

AWS Signer supports the following applications:

With code signing for AWS Lambda, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3.

With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS (http://docs.aws.amazon.com/freertos/latest/userguide/) and AWS IoT Device Management (http://docs.aws.amazon.com/iot/latest/developerguide/), and is integrated with AWS Certificate Manager (ACM) (http://docs.aws.amazon.com/acm/latest/userguide/). In order to sign code, you import a third-party code signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management.

For more information about AWS Signer, see the AWS Signer 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 (
	// ImageFormatJson is a ImageFormat enum value
	ImageFormatJson = "JSON"

	// ImageFormatJsonembedded is a ImageFormat enum value
	ImageFormatJsonembedded = "JSONEmbedded"

	// ImageFormatJsondetached is a ImageFormat enum value
	ImageFormatJsondetached = "JSONDetached"
)
View Source
const (
	// SigningProfileStatusActive is a SigningProfileStatus enum value
	SigningProfileStatusActive = "Active"

	// SigningProfileStatusCanceled is a SigningProfileStatus enum value
	SigningProfileStatusCanceled = "Canceled"

	// SigningProfileStatusRevoked is a SigningProfileStatus enum value
	SigningProfileStatusRevoked = "Revoked"
)
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 (
	// ValidityTypeDays is a ValidityType enum value
	ValidityTypeDays = "DAYS"

	// ValidityTypeMonths is a ValidityType enum value
	ValidityTypeMonths = "MONTHS"

	// ValidityTypeYears is a ValidityType enum value
	ValidityTypeYears = "YEARS"
)
View Source
const (

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

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The request contains invalid parameters for the ARN or tags. This exception
	// also occurs when you call a tagging API on a cancelled signing profile.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The resource encountered a conflicting state.
	ErrCodeConflictException = "ConflictException"

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

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// The signing profile was not found.
	ErrCodeNotFoundException = "NotFoundException"

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

	// ErrCodeServiceLimitExceededException for service response error code
	// "ServiceLimitExceededException".
	//
	// The client is making a request that exceeds service limits.
	ErrCodeServiceLimitExceededException = "ServiceLimitExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to request throttling.
	//
	// Instead of this error, TooManyRequestsException should be used.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// The allowed number of job-signing requests has been exceeded.
	//
	// This error supersedes the error ThrottlingException.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// 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 identifier of a specific service.
)

Service information constants

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

Variables

This section is empty.

Functions

func Category_Values

func Category_Values() []string

Category_Values returns all elements of the Category enum

func EncryptionAlgorithm_Values

func EncryptionAlgorithm_Values() []string

EncryptionAlgorithm_Values returns all elements of the EncryptionAlgorithm enum

func HashAlgorithm_Values

func HashAlgorithm_Values() []string

HashAlgorithm_Values returns all elements of the HashAlgorithm enum

func ImageFormat_Values

func ImageFormat_Values() []string

ImageFormat_Values returns all elements of the ImageFormat enum

func SigningProfileStatus_Values

func SigningProfileStatus_Values() []string

SigningProfileStatus_Values returns all elements of the SigningProfileStatus enum

func SigningStatus_Values

func SigningStatus_Values() []string

SigningStatus_Values returns all elements of the SigningStatus enum

func ValidityType_Values

func ValidityType_Values() []string

ValidityType_Values returns all elements of the ValidityType enum

Types

type AccessDeniedException

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

	Code_ *string `locationName:"code" type:"string"`

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

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddProfilePermissionInput

type AddProfilePermissionInput struct {

	// The AWS Signer action permitted as part of cross-account permissions.
	//
	// Action is a required field
	Action *string `locationName:"action" type:"string" required:"true"`

	// The AWS principal receiving cross-account permissions. This may be an IAM
	// role or another AWS account ID.
	//
	// Principal is a required field
	Principal *string `locationName:"principal" type:"string" required:"true"`

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

	// The version of the signing profile.
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string"`

	// A unique identifier for the current profile revision.
	RevisionId *string `locationName:"revisionId" type:"string"`

	// A unique identifier for the cross-account permission statement.
	//
	// StatementId is a required field
	StatementId *string `locationName:"statementId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AddProfilePermissionInput) GoString

func (s AddProfilePermissionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddProfilePermissionInput) SetAction

SetAction sets the Action field's value.

func (*AddProfilePermissionInput) SetPrincipal

SetPrincipal sets the Principal field's value.

func (*AddProfilePermissionInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (*AddProfilePermissionInput) SetProfileVersion

SetProfileVersion sets the ProfileVersion field's value.

func (*AddProfilePermissionInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (*AddProfilePermissionInput) SetStatementId

SetStatementId sets the StatementId field's value.

func (AddProfilePermissionInput) String

func (s AddProfilePermissionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddProfilePermissionInput) Validate

func (s *AddProfilePermissionInput) Validate() error

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

type AddProfilePermissionOutput

type AddProfilePermissionOutput struct {

	// A unique identifier for the current profile revision.
	RevisionId *string `locationName:"revisionId" type:"string"`
	// contains filtered or unexported fields
}

func (AddProfilePermissionOutput) GoString

func (s AddProfilePermissionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddProfilePermissionOutput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (AddProfilePermissionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BadRequestException

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

	Code_ *string `locationName:"code" type:"string"`

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

The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.

func (*BadRequestException) Code

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error

func (s *BadRequestException) Error() string

func (BadRequestException) GoString

func (s BadRequestException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BadRequestException) Message

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode

func (s *BadRequestException) StatusCode() int

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

func (BadRequestException) String

func (s BadRequestException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CancelSigningProfileInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (CancelSigningProfileInput) String

func (s CancelSigningProfileInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CancelSigningProfileOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

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

	Code_ *string `locationName:"code" type:"string"`

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

The resource encountered a conflicting state.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSigningJobInput) SetJobId

SetJobId sets the JobId field's value.

func (DescribeSigningJobInput) String

func (s DescribeSigningJobInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// The IAM entity that initiated the signing job.
	JobInvoker *string `locationName:"jobInvoker" min:"12" type:"string"`

	// The AWS account ID of the job owner.
	JobOwner *string `locationName:"jobOwner" min:"12" type:"string"`

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

	// A human-readable name for the signing platform associated with the signing
	// job.
	PlatformDisplayName *string `locationName:"platformDisplayName" type:"string"`

	// 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 version of the signing profile used to initiate the signing job.
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string"`

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

	// A revocation record if the signature generated by the signing job has been
	// revoked. Contains a timestamp and the ID of the IAM entity that revoked the
	// signature.
	RevocationRecord *SigningJobRevocationRecord `locationName:"revocationRecord" type:"structure"`

	// Thr expiration timestamp for the signature generated by the signing job.
	SignatureExpiresAt *time.Time `locationName:"signatureExpiresAt" type:"timestamp"`

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

	// The 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetJobInvoker

SetJobInvoker sets the JobInvoker field's value.

func (*DescribeSigningJobOutput) SetJobOwner

SetJobOwner sets the JobOwner field's value.

func (*DescribeSigningJobOutput) SetOverrides

SetOverrides sets the Overrides field's value.

func (*DescribeSigningJobOutput) SetPlatformDisplayName

func (s *DescribeSigningJobOutput) SetPlatformDisplayName(v string) *DescribeSigningJobOutput

SetPlatformDisplayName sets the PlatformDisplayName 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) SetProfileVersion

func (s *DescribeSigningJobOutput) SetProfileVersion(v string) *DescribeSigningJobOutput

SetProfileVersion sets the ProfileVersion field's value.

func (*DescribeSigningJobOutput) SetRequestedBy

SetRequestedBy sets the RequestedBy field's value.

func (*DescribeSigningJobOutput) SetRevocationRecord

SetRevocationRecord sets the RevocationRecord field's value.

func (*DescribeSigningJobOutput) SetSignatureExpiresAt

func (s *DescribeSigningJobOutput) SetSignatureExpiresAt(v time.Time) *DescribeSigningJobOutput

SetSignatureExpiresAt sets the SignatureExpiresAt 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EncryptionAlgorithmOptions

type EncryptionAlgorithmOptions struct {

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

	// The default encryption algorithm that is used by a code signing 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 a code signing job.

func (EncryptionAlgorithmOptions) GoString

func (s EncryptionAlgorithmOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSigningPlatformInput) SetPlatformId

SetPlatformId sets the PlatformId field's value.

func (GetSigningPlatformInput) String

func (s GetSigningPlatformInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 flag indicating whether signatures generated for the signing platform can
	// be revoked.
	RevocationSupported *bool `locationName:"revocationSupported" type:"boolean"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetRevocationSupported

func (s *GetSigningPlatformOutput) SetRevocationSupported(v bool) *GetSigningPlatformOutput

SetRevocationSupported sets the RevocationSupported 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// The AWS account ID of the profile owner.
	ProfileOwner *string `location:"querystring" locationName:"profileOwner" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (GetSigningProfileInput) GoString

func (s GetSigningProfileInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSigningProfileInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (*GetSigningProfileInput) SetProfileOwner

func (s *GetSigningProfileInput) SetProfileOwner(v string) *GetSigningProfileInput

SetProfileOwner sets the ProfileOwner field's value.

func (GetSigningProfileInput) String

func (s GetSigningProfileInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// The Amazon Resource Name (ARN) for the signing profile.
	Arn *string `locationName:"arn" type:"string"`

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

	// A human-readable name for the signing platform associated with the signing
	// profile.
	PlatformDisplayName *string `locationName:"platformDisplayName" type:"string"`

	// 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 current version of the signing profile.
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string"`

	// The signing profile ARN, including the profile version.
	ProfileVersionArn *string `locationName:"profileVersionArn" min:"20" type:"string"`

	// Revocation information for a signing profile.
	RevocationRecord *SigningProfileRevocationRecord `locationName:"revocationRecord" type:"structure"`

	// The validity period for a signing job.
	SignatureValidityPeriod *SignatureValidityPeriod `locationName:"signatureValidityPeriod" type:"structure"`

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

	// Reason for the status of the target signing profile.
	StatusReason *string `locationName:"statusReason" type:"string"`

	// A list of tags associated with the signing profile.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (GetSigningProfileOutput) GoString

func (s GetSigningProfileOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSigningProfileOutput) SetArn

SetArn sets the Arn field's value.

func (*GetSigningProfileOutput) SetOverrides

SetOverrides sets the Overrides field's value.

func (*GetSigningProfileOutput) SetPlatformDisplayName

func (s *GetSigningProfileOutput) SetPlatformDisplayName(v string) *GetSigningProfileOutput

SetPlatformDisplayName sets the PlatformDisplayName 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) SetProfileVersion

func (s *GetSigningProfileOutput) SetProfileVersion(v string) *GetSigningProfileOutput

SetProfileVersion sets the ProfileVersion field's value.

func (*GetSigningProfileOutput) SetProfileVersionArn

func (s *GetSigningProfileOutput) SetProfileVersionArn(v string) *GetSigningProfileOutput

SetProfileVersionArn sets the ProfileVersionArn field's value.

func (*GetSigningProfileOutput) SetRevocationRecord

SetRevocationRecord sets the RevocationRecord field's value.

func (*GetSigningProfileOutput) SetSignatureValidityPeriod

func (s *GetSigningProfileOutput) SetSignatureValidityPeriod(v *SignatureValidityPeriod) *GetSigningProfileOutput

SetSignatureValidityPeriod sets the SignatureValidityPeriod 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) SetStatusReason

SetStatusReason sets the StatusReason field's value.

func (*GetSigningProfileOutput) SetTags

SetTags sets the Tags field's value.

func (GetSigningProfileOutput) String

func (s GetSigningProfileOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type HashAlgorithmOptions

type HashAlgorithmOptions struct {

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

	// The default hash algorithm that is used in a code signing 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 a code signing job.

func (HashAlgorithmOptions) GoString

func (s HashAlgorithmOptions) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServiceErrorException

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

	Code_ *string `locationName:"code" type:"string"`

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

An internal error occurred.

func (*InternalServiceErrorException) Code

Code returns the exception type name.

func (*InternalServiceErrorException) Error

func (InternalServiceErrorException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServiceErrorException) Message

Message returns the exception's message.

func (*InternalServiceErrorException) OrigErr

func (s *InternalServiceErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServiceErrorException) RequestID

func (s *InternalServiceErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServiceErrorException) StatusCode

func (s *InternalServiceErrorException) StatusCode() int

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

func (InternalServiceErrorException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListProfilePermissionsInput

type ListProfilePermissionsInput struct {

	// String for specifying the next set of paginated results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// Name of the signing profile containing the cross-account permissions.
	//
	// ProfileName is a required field
	ProfileName *string `location:"uri" locationName:"profileName" min:"2" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListProfilePermissionsInput) GoString

func (s ListProfilePermissionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProfilePermissionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProfilePermissionsInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (ListProfilePermissionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProfilePermissionsInput) Validate

func (s *ListProfilePermissionsInput) Validate() error

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

type ListProfilePermissionsOutput

type ListProfilePermissionsOutput struct {

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

	// List of permissions associated with the Signing Profile.
	Permissions []*Permission `locationName:"permissions" type:"list"`

	// Total size of the policy associated with the Signing Profile in bytes.
	PolicySizeBytes *int64 `locationName:"policySizeBytes" type:"integer"`

	// The identifier for the current revision of profile permissions.
	RevisionId *string `locationName:"revisionId" type:"string"`
	// contains filtered or unexported fields
}

func (ListProfilePermissionsOutput) GoString

func (s ListProfilePermissionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListProfilePermissionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListProfilePermissionsOutput) SetPermissions

SetPermissions sets the Permissions field's value.

func (*ListProfilePermissionsOutput) SetPolicySizeBytes

SetPolicySizeBytes sets the PolicySizeBytes field's value.

func (*ListProfilePermissionsOutput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ListProfilePermissionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSigningJobsInput

type ListSigningJobsInput struct {

	// Filters results to return only signing jobs with revoked signatures.
	IsRevoked *bool `location:"querystring" locationName:"isRevoked" type:"boolean"`

	// Filters results to return only signing jobs initiated by a specified IAM
	// entity.
	JobInvoker *string `location:"querystring" locationName:"jobInvoker" min:"12" type:"string"`

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

	// Filters results to return only signing jobs with signatures expiring after
	// a specified timestamp.
	SignatureExpiresAfter *time.Time `location:"querystring" locationName:"signatureExpiresAfter" type:"timestamp"`

	// Filters results to return only signing jobs with signatures expiring before
	// a specified timestamp.
	SignatureExpiresBefore *time.Time `location:"querystring" locationName:"signatureExpiresBefore" type:"timestamp"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSigningJobsInput) SetIsRevoked

func (s *ListSigningJobsInput) SetIsRevoked(v bool) *ListSigningJobsInput

SetIsRevoked sets the IsRevoked field's value.

func (*ListSigningJobsInput) SetJobInvoker

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

SetJobInvoker sets the JobInvoker field's value.

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) SetSignatureExpiresAfter

func (s *ListSigningJobsInput) SetSignatureExpiresAfter(v time.Time) *ListSigningJobsInput

SetSignatureExpiresAfter sets the SignatureExpiresAfter field's value.

func (*ListSigningJobsInput) SetSignatureExpiresBefore

func (s *ListSigningJobsInput) SetSignatureExpiresBefore(v time.Time) *ListSigningJobsInput

SetSignatureExpiresBefore sets the SignatureExpiresBefore 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// Filters results to return only signing jobs initiated for a specified signing
	// platform.
	PlatformId *string `location:"querystring" locationName:"platformId" type:"string"`

	// Filters results to return only signing jobs with statuses in the specified
	// list.
	Statuses []*string `location:"querystring" locationName:"statuses" type:"list"`
	// contains filtered or unexported fields
}

func (ListSigningProfilesInput) GoString

func (s ListSigningProfilesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetPlatformId

SetPlatformId sets the PlatformId field's value.

func (*ListSigningProfilesInput) SetStatuses

SetStatuses sets the Statuses field's value.

func (ListSigningProfilesInput) String

func (s ListSigningProfilesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) for the signing profile.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// A list of tags associated with the signing profile.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NotFoundException

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

	Code_ *string `locationName:"code" type:"string"`

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

The signing profile was not found.

func (*NotFoundException) Code

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error

func (s *NotFoundException) Error() string

func (NotFoundException) GoString

func (s NotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotFoundException) Message

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode

func (s *NotFoundException) StatusCode() int

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

func (NotFoundException) String

func (s NotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Permission

type Permission struct {

	// An AWS Signer action permitted as part of cross-account permissions.
	Action *string `locationName:"action" type:"string"`

	// The AWS principal that has been granted a cross-account permission.
	Principal *string `locationName:"principal" type:"string"`

	// The signing profile version that a permission applies to.
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string"`

	// A unique identifier for a cross-account permission statement.
	StatementId *string `locationName:"statementId" type:"string"`
	// contains filtered or unexported fields
}

A cross-account permission for a signing profile.

func (Permission) GoString

func (s Permission) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Permission) SetAction

func (s *Permission) SetAction(v string) *Permission

SetAction sets the Action field's value.

func (*Permission) SetPrincipal

func (s *Permission) SetPrincipal(v string) *Permission

SetPrincipal sets the Principal field's value.

func (*Permission) SetProfileVersion

func (s *Permission) SetProfileVersion(v string) *Permission

SetProfileVersion sets the ProfileVersion field's value.

func (*Permission) SetStatementId

func (s *Permission) SetStatementId(v string) *Permission

SetStatementId sets the StatementId field's value.

func (Permission) String

func (s Permission) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 platform 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 default validity period override for any signature generated using this
	// signing profile. If unspecified, the default is 135 months.
	SignatureValidityPeriod *SignatureValidityPeriod `locationName:"signatureValidityPeriod" type:"structure"`

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

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

	// Tags to be associated with the signing profile that is being created.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (PutSigningProfileInput) GoString

func (s PutSigningProfileInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetSignatureValidityPeriod

func (s *PutSigningProfileInput) SetSignatureValidityPeriod(v *SignatureValidityPeriod) *PutSigningProfileInput

SetSignatureValidityPeriod sets the SignatureValidityPeriod 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) SetTags

SetTags sets the Tags field's value.

func (PutSigningProfileInput) String

func (s PutSigningProfileInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// The version of the signing profile being created.
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string"`

	// The signing profile ARN, including the profile version.
	ProfileVersionArn *string `locationName:"profileVersionArn" min:"20" type:"string"`
	// contains filtered or unexported fields
}

func (PutSigningProfileOutput) GoString

func (s PutSigningProfileOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutSigningProfileOutput) SetArn

SetArn sets the Arn field's value.

func (*PutSigningProfileOutput) SetProfileVersion

func (s *PutSigningProfileOutput) SetProfileVersion(v string) *PutSigningProfileOutput

SetProfileVersion sets the ProfileVersion field's value.

func (*PutSigningProfileOutput) SetProfileVersionArn

func (s *PutSigningProfileOutput) SetProfileVersionArn(v string) *PutSigningProfileOutput

SetProfileVersionArn sets the ProfileVersionArn field's value.

func (PutSigningProfileOutput) String

func (s PutSigningProfileOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RemoveProfilePermissionInput

type RemoveProfilePermissionInput struct {

	// A human-readable name for the signing profile with permissions to be removed.
	//
	// ProfileName is a required field
	ProfileName *string `location:"uri" locationName:"profileName" min:"2" type:"string" required:"true"`

	// An identifier for the current revision of the signing profile permissions.
	//
	// RevisionId is a required field
	RevisionId *string `location:"querystring" locationName:"revisionId" type:"string" required:"true"`

	// A unique identifier for the cross-account permissions statement.
	//
	// StatementId is a required field
	StatementId *string `location:"uri" locationName:"statementId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveProfilePermissionInput) GoString

func (s RemoveProfilePermissionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveProfilePermissionInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (*RemoveProfilePermissionInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (*RemoveProfilePermissionInput) SetStatementId

SetStatementId sets the StatementId field's value.

func (RemoveProfilePermissionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveProfilePermissionInput) Validate

func (s *RemoveProfilePermissionInput) Validate() error

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

type RemoveProfilePermissionOutput

type RemoveProfilePermissionOutput struct {

	// An identifier for the current revision of the profile permissions.
	RevisionId *string `locationName:"revisionId" type:"string"`
	// contains filtered or unexported fields
}

func (RemoveProfilePermissionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RemoveProfilePermissionOutput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (RemoveProfilePermissionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

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

	Code_ *string `locationName:"code" type:"string"`

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

A specified resource could not be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RevokeSignatureInput

type RevokeSignatureInput struct {

	// ID of the signing job to be revoked.
	//
	// JobId is a required field
	JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"`

	// AWS account ID of the job owner.
	JobOwner *string `locationName:"jobOwner" min:"12" type:"string"`

	// The reason for revoking the signing job.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RevokeSignatureInput) GoString

func (s RevokeSignatureInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RevokeSignatureInput) SetJobId

SetJobId sets the JobId field's value.

func (*RevokeSignatureInput) SetJobOwner

SetJobOwner sets the JobOwner field's value.

func (*RevokeSignatureInput) SetReason

SetReason sets the Reason field's value.

func (RevokeSignatureInput) String

func (s RevokeSignatureInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RevokeSignatureInput) Validate

func (s *RevokeSignatureInput) Validate() error

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

type RevokeSignatureOutput

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

func (RevokeSignatureOutput) GoString

func (s RevokeSignatureOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RevokeSignatureOutput) String

func (s RevokeSignatureOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RevokeSigningProfileInput

type RevokeSigningProfileInput struct {

	// A timestamp for when revocation of a Signing Profile should become effective.
	// Signatures generated using the signing profile after this timestamp are not
	// trusted.
	//
	// EffectiveTime is a required field
	EffectiveTime *time.Time `locationName:"effectiveTime" type:"timestamp" required:"true"`

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

	// The version of the signing profile to be revoked.
	//
	// ProfileVersion is a required field
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string" required:"true"`

	// The reason for revoking a signing profile.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RevokeSigningProfileInput) GoString

func (s RevokeSigningProfileInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RevokeSigningProfileInput) SetEffectiveTime

SetEffectiveTime sets the EffectiveTime field's value.

func (*RevokeSigningProfileInput) SetProfileName

SetProfileName sets the ProfileName field's value.

func (*RevokeSigningProfileInput) SetProfileVersion

SetProfileVersion sets the ProfileVersion field's value.

func (*RevokeSigningProfileInput) SetReason

SetReason sets the Reason field's value.

func (RevokeSigningProfileInput) String

func (s RevokeSigningProfileInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RevokeSigningProfileInput) Validate

func (s *RevokeSigningProfileInput) Validate() error

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

type RevokeSigningProfileOutput

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

func (RevokeSigningProfileOutput) GoString

func (s RevokeSigningProfileOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RevokeSigningProfileOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 code signing saves your signed objects.

func (S3Destination) GoString

func (s S3Destination) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 code signing saved your signed code image.

func (S3SignedObject) GoString

func (s S3SignedObject) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*S3Source) Validate

func (s *S3Source) Validate() error

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

type ServiceLimitExceededException

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

	Code_ *string `locationName:"code" type:"string"`

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

The client is making a request that exceeds service limits.

func (*ServiceLimitExceededException) Code

Code returns the exception type name.

func (*ServiceLimitExceededException) Error

func (ServiceLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLimitExceededException) Message

Message returns the exception's message.

func (*ServiceLimitExceededException) OrigErr

func (s *ServiceLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceLimitExceededException) RequestID

func (s *ServiceLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceLimitExceededException) StatusCode

func (s *ServiceLimitExceededException) StatusCode() int

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

func (ServiceLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SignatureValidityPeriod

type SignatureValidityPeriod struct {

	// The time unit for signature validity.
	Type *string `locationName:"type" type:"string" enum:"ValidityType"`

	// The numerical value of the time unit for signature validity.
	Value *int64 `locationName:"value" type:"integer"`
	// contains filtered or unexported fields
}

The validity period for a signing job.

func (SignatureValidityPeriod) GoString

func (s SignatureValidityPeriod) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SignatureValidityPeriod) SetType

SetType sets the Type field's value.

func (*SignatureValidityPeriod) SetValue

SetValue sets the Value field's value.

func (SignatureValidityPeriod) String

func (s SignatureValidityPeriod) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SignedObject) SetS3

SetS3 sets the S3 field's value.

func (SignedObject) String

func (s SignedObject) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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:

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

// 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) AddProfilePermission

func (c *Signer) AddProfilePermission(input *AddProfilePermissionInput) (*AddProfilePermissionOutput, error)

AddProfilePermission API operation for AWS Signer.

Adds cross-account permissions to a 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 AddProfilePermission for usage and error information.

Returned Error Types:

  • ValidationException You signing certificate could not be validated.

  • ResourceNotFoundException A specified resource could not be found.

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

  • ServiceLimitExceededException The client is making a request that exceeds service limits.

  • ConflictException The resource encountered a conflicting state.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • InternalServiceErrorException An internal error occurred.

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

func (*Signer) AddProfilePermissionRequest

func (c *Signer) AddProfilePermissionRequest(input *AddProfilePermissionInput) (req *request.Request, output *AddProfilePermissionOutput)

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

func (*Signer) AddProfilePermissionWithContext

func (c *Signer) AddProfilePermissionWithContext(ctx aws.Context, input *AddProfilePermissionInput, opts ...request.Option) (*AddProfilePermissionOutput, error)

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

See AddProfilePermission 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) 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 Types:

  • ResourceNotFoundException A specified resource could not be found.

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 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

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 Types:

  • ResourceNotFoundException A specified resource could not be found.

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 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

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 Types:

  • ResourceNotFoundException A specified resource could not be found.

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 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

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 Types:

  • ResourceNotFoundException A specified resource could not be found.

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 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

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) ListProfilePermissions

func (c *Signer) ListProfilePermissions(input *ListProfilePermissionsInput) (*ListProfilePermissionsOutput, error)

ListProfilePermissions API operation for AWS Signer.

Lists the cross-account permissions associated with a 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 ListProfilePermissions for usage and error information.

Returned Error Types:

  • ValidationException You signing certificate could not be validated.

  • ResourceNotFoundException A specified resource could not be found.

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • InternalServiceErrorException An internal error occurred.

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

func (*Signer) ListProfilePermissionsRequest

func (c *Signer) ListProfilePermissionsRequest(input *ListProfilePermissionsInput) (req *request.Request, output *ListProfilePermissionsOutput)

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

func (*Signer) ListProfilePermissionsWithContext

func (c *Signer) ListProfilePermissionsWithContext(ctx aws.Context, input *ListProfilePermissionsInput, opts ...request.Option) (*ListProfilePermissionsOutput, error)

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

See ListProfilePermissions 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, code signing 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 code signing 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 Types:

  • ValidationException You signing certificate could not be validated.

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 *signer.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 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

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 code signing that match the request parameters. If additional jobs remain to be listed, code signing 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 code signing 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 Types:

  • ValidationException You signing certificate could not be validated.

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 *signer.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 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

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, code signing 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 code signing 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 Types:

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

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 *signer.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 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

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) ListTagsForResource

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

ListTagsForResource API operation for AWS Signer.

Returns a list of the tags associated with a signing profile resource.

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

See the AWS API reference guide for AWS Signer's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • InternalServiceErrorException An internal error occurred.

  • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.

  • NotFoundException The signing profile was not found.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

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

func (*Signer) ListTagsForResourceRequest

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

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

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

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

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

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

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

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

func (*Signer) ListTagsForResourceWithContext

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

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

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

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

func (*Signer) PutSigningProfile

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

PutSigningProfile API operation for AWS Signer.

Creates a signing profile. A signing profile is a code signing 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 Types:

  • ResourceNotFoundException A specified resource could not be found.

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

  • ValidationException You signing certificate could not be validated.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 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

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) RemoveProfilePermission

func (c *Signer) RemoveProfilePermission(input *RemoveProfilePermissionInput) (*RemoveProfilePermissionOutput, error)

RemoveProfilePermission API operation for AWS Signer.

Removes cross-account permissions from a 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 RemoveProfilePermission for usage and error information.

Returned Error Types:

  • ValidationException You signing certificate could not be validated.

  • ResourceNotFoundException A specified resource could not be found.

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

  • ConflictException The resource encountered a conflicting state.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • InternalServiceErrorException An internal error occurred.

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

func (*Signer) RemoveProfilePermissionRequest

func (c *Signer) RemoveProfilePermissionRequest(input *RemoveProfilePermissionInput) (req *request.Request, output *RemoveProfilePermissionOutput)

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

func (*Signer) RemoveProfilePermissionWithContext

func (c *Signer) RemoveProfilePermissionWithContext(ctx aws.Context, input *RemoveProfilePermissionInput, opts ...request.Option) (*RemoveProfilePermissionOutput, error)

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

See RemoveProfilePermission 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) RevokeSignature

func (c *Signer) RevokeSignature(input *RevokeSignatureInput) (*RevokeSignatureOutput, error)

RevokeSignature API operation for AWS Signer.

Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.

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 RevokeSignature for usage and error information.

Returned Error Types:

  • ValidationException You signing certificate could not be validated.

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

  • ResourceNotFoundException A specified resource could not be found.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • InternalServiceErrorException An internal error occurred.

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

func (*Signer) RevokeSignatureRequest

func (c *Signer) RevokeSignatureRequest(input *RevokeSignatureInput) (req *request.Request, output *RevokeSignatureOutput)

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

func (*Signer) RevokeSignatureWithContext

func (c *Signer) RevokeSignatureWithContext(ctx aws.Context, input *RevokeSignatureInput, opts ...request.Option) (*RevokeSignatureOutput, error)

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

See RevokeSignature 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) RevokeSigningProfile

func (c *Signer) RevokeSigningProfile(input *RevokeSigningProfileInput) (*RevokeSigningProfileOutput, error)

RevokeSigningProfile API operation for AWS Signer.

Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid.

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 RevokeSigningProfile for usage and error information.

Returned Error Types:

  • ValidationException You signing certificate could not be validated.

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

  • ResourceNotFoundException A specified resource could not be found.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • InternalServiceErrorException An internal error occurred.

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

func (*Signer) RevokeSigningProfileRequest

func (c *Signer) RevokeSigningProfileRequest(input *RevokeSigningProfileInput) (req *request.Request, output *RevokeSigningProfileOutput)

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

func (*Signer) RevokeSigningProfileWithContext

func (c *Signer) RevokeSigningProfileWithContext(ctx aws.Context, input *RevokeSigningProfileInput, opts ...request.Option) (*RevokeSigningProfileOutput, error)

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

See RevokeSigningProfile 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. Code signing 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 code signing.

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 Types:

  • ValidationException You signing certificate could not be validated.

  • ResourceNotFoundException A specified resource could not be found.

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

  • ThrottlingException The request was denied due to request throttling.

    Instead of this error, TooManyRequestsException should be used.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

  • 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 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

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

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

TagResource API operation for AWS Signer.

Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair.

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 TagResource for usage and error information.

Returned Error Types:

  • InternalServiceErrorException An internal error occurred.

  • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.

  • NotFoundException The signing profile was not found.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

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

func (*Signer) TagResourceRequest

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

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

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

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

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

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

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

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

func (*Signer) TagResourceWithContext

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

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

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

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

func (*Signer) UntagResource

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

UntagResource API operation for AWS Signer.

Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.

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 UntagResource for usage and error information.

Returned Error Types:

  • InternalServiceErrorException An internal error occurred.

  • BadRequestException The request contains invalid parameters for the ARN or tags. This exception also occurs when you call a tagging API on a cancelled signing profile.

  • NotFoundException The signing profile was not found.

  • TooManyRequestsException The allowed number of job-signing requests has been exceeded.

    This error supersedes the error ThrottlingException.

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

func (*Signer) UntagResourceRequest

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

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

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

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

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

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

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

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

func (*Signer) UntagResourceWithContext

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

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

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

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

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 a code signing job.
	//
	// EncryptionAlgorithmOptions is a required field
	EncryptionAlgorithmOptions *EncryptionAlgorithmOptions `locationName:"encryptionAlgorithmOptions" type:"structure" required:"true"`

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

The configuration of a code signing operation.

func (SigningConfiguration) GoString

func (s SigningConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SigningConfigurationOverrides

type SigningConfigurationOverrides struct {

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

	// A specified override of the default hash algorithm that is used in a code
	// signing 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SigningImageFormat

type SigningImageFormat struct {

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

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

The image format of a code signing platform or profile.

func (SigningImageFormat) GoString

func (s SigningImageFormat) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SigningJob

type SigningJob struct {

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

	// Indicates whether the signing job is revoked.
	IsRevoked *bool `locationName:"isRevoked" type:"boolean"`

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

	// The AWS account ID of the job invoker.
	JobInvoker *string `locationName:"jobInvoker" min:"12" type:"string"`

	// The AWS account ID of the job owner.
	JobOwner *string `locationName:"jobOwner" min:"12" type:"string"`

	// The name of a signing platform.
	PlatformDisplayName *string `locationName:"platformDisplayName" type:"string"`

	// The unique identifier for a signing platform.
	PlatformId *string `locationName:"platformId" type:"string"`

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

	// The version of the signing profile that created a signing job.
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string"`

	// The time when the signature of a signing job expires.
	SignatureExpiresAt *time.Time `locationName:"signatureExpiresAt" type:"timestamp"`

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SigningJob) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*SigningJob) SetIsRevoked

func (s *SigningJob) SetIsRevoked(v bool) *SigningJob

SetIsRevoked sets the IsRevoked field's value.

func (*SigningJob) SetJobId

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

SetJobId sets the JobId field's value.

func (*SigningJob) SetJobInvoker

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

SetJobInvoker sets the JobInvoker field's value.

func (*SigningJob) SetJobOwner

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

SetJobOwner sets the JobOwner field's value.

func (*SigningJob) SetPlatformDisplayName

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

SetPlatformDisplayName sets the PlatformDisplayName field's value.

func (*SigningJob) SetPlatformId

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

SetPlatformId sets the PlatformId field's value.

func (*SigningJob) SetProfileName

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

SetProfileName sets the ProfileName field's value.

func (*SigningJob) SetProfileVersion

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

SetProfileVersion sets the ProfileVersion field's value.

func (*SigningJob) SetSignatureExpiresAt

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

SetSignatureExpiresAt sets the SignatureExpiresAt 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SigningJobRevocationRecord

type SigningJobRevocationRecord struct {

	// A caller-supplied reason for revocation.
	Reason *string `locationName:"reason" type:"string"`

	// The time of revocation.
	RevokedAt *time.Time `locationName:"revokedAt" type:"timestamp"`

	// The identity of the revoker.
	RevokedBy *string `locationName:"revokedBy" type:"string"`
	// contains filtered or unexported fields
}

Revocation information for a signing job.

func (SigningJobRevocationRecord) GoString

func (s SigningJobRevocationRecord) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SigningJobRevocationRecord) SetReason

SetReason sets the Reason field's value.

func (*SigningJobRevocationRecord) SetRevokedAt

SetRevokedAt sets the RevokedAt field's value.

func (*SigningJobRevocationRecord) SetRevokedBy

SetRevokedBy sets the RevokedBy field's value.

func (SigningJobRevocationRecord) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 a code signing platform.
	Category *string `locationName:"category" type:"string" enum:"Category"`

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

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

	// Any partner entities linked to a code signing platform.
	Partner *string `locationName:"partner" type:"string"`

	// The ID of a code signing; platform.
	PlatformId *string `locationName:"platformId" type:"string"`

	// Indicates whether revocation is supported for the platform.
	RevocationSupported *bool `locationName:"revocationSupported" type:"boolean"`

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

	// The image format of a code signing platform or profile.
	SigningImageFormat *SigningImageFormat `locationName:"signingImageFormat" type:"structure"`

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

Contains information about the signing configurations and parameters that are used to perform a code signing job.

func (SigningPlatform) GoString

func (s SigningPlatform) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetRevocationSupported

func (s *SigningPlatform) SetRevocationSupported(v bool) *SigningPlatform

SetRevocationSupported sets the RevocationSupported 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// A signed image is a JSON object. When overriding the default signing platform
	// configuration, a customer can select either of two signing formats, JSONEmbedded
	// or JSONDetached. (A third format value, JSON, is reserved for future use.)
	// With JSONEmbedded, the signing image has the payload embedded in it. With
	// JSONDetached, the payload is not be embedded in the signing image.
	SigningImageFormat *string `locationName:"signingImageFormat" type:"string" enum:"ImageFormat"`
	// contains filtered or unexported fields
}

Any overrides that are applied to the signing configuration of a code signing platform.

func (SigningPlatformOverrides) GoString

func (s SigningPlatformOverrides) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SigningPlatformOverrides) SetSigningConfiguration

SetSigningConfiguration sets the SigningConfiguration field's value.

func (*SigningPlatformOverrides) SetSigningImageFormat

func (s *SigningPlatformOverrides) SetSigningImageFormat(v string) *SigningPlatformOverrides

SetSigningImageFormat sets the SigningImageFormat field's value.

func (SigningPlatformOverrides) String

func (s SigningPlatformOverrides) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SigningProfile

type SigningProfile struct {

	// The Amazon Resource Name (ARN) for the signing profile.
	Arn *string `locationName:"arn" type:"string"`

	// The name of the signing platform.
	PlatformDisplayName *string `locationName:"platformDisplayName" type:"string"`

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

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

	// The version of a signing profile.
	ProfileVersion *string `locationName:"profileVersion" min:"10" type:"string"`

	// The ARN of a signing profile, including the profile version.
	ProfileVersionArn *string `locationName:"profileVersionArn" min:"20" type:"string"`

	// The validity period for a signing job created using this signing profile.
	SignatureValidityPeriod *SignatureValidityPeriod `locationName:"signatureValidityPeriod" type:"structure"`

	// 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 a code signing user.
	SigningParameters map[string]*string `locationName:"signingParameters" type:"map"`

	// The status of a code signing profile.
	Status *string `locationName:"status" type:"string" enum:"SigningProfileStatus"`

	// A list of tags associated with the signing profile.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

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

func (SigningProfile) GoString

func (s SigningProfile) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SigningProfile) SetArn

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

SetArn sets the Arn field's value.

func (*SigningProfile) SetPlatformDisplayName

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

SetPlatformDisplayName sets the PlatformDisplayName field's value.

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) SetProfileVersion

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

SetProfileVersion sets the ProfileVersion field's value.

func (*SigningProfile) SetProfileVersionArn

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

SetProfileVersionArn sets the ProfileVersionArn field's value.

func (*SigningProfile) SetSignatureValidityPeriod

func (s *SigningProfile) SetSignatureValidityPeriod(v *SignatureValidityPeriod) *SigningProfile

SetSignatureValidityPeriod sets the SignatureValidityPeriod 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) SetTags

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

SetTags sets the Tags field's value.

func (SigningProfile) String

func (s SigningProfile) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SigningProfileRevocationRecord

type SigningProfileRevocationRecord struct {

	// The time when revocation becomes effective.
	RevocationEffectiveFrom *time.Time `locationName:"revocationEffectiveFrom" type:"timestamp"`

	// The time when the signing profile was revoked.
	RevokedAt *time.Time `locationName:"revokedAt" type:"timestamp"`

	// The identity of the revoker.
	RevokedBy *string `locationName:"revokedBy" type:"string"`
	// contains filtered or unexported fields
}

Revocation information for a signing profile.

func (SigningProfileRevocationRecord) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SigningProfileRevocationRecord) SetRevocationEffectiveFrom

func (s *SigningProfileRevocationRecord) SetRevocationEffectiveFrom(v time.Time) *SigningProfileRevocationRecord

SetRevocationEffectiveFrom sets the RevocationEffectiveFrom field's value.

func (*SigningProfileRevocationRecord) SetRevokedAt

SetRevokedAt sets the RevokedAt field's value.

func (*SigningProfileRevocationRecord) SetRevokedBy

SetRevokedBy sets the RevokedBy field's value.

func (SigningProfileRevocationRecord) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 *string `locationName:"clientRequestToken" type:"string" 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 is a required field
	ProfileName *string `locationName:"profileName" min:"2" type:"string" required:"true"`

	// The AWS account ID of the signing profile owner.
	ProfileOwner *string `locationName:"profileOwner" min:"12" 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) SetProfileOwner

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

SetProfileOwner sets the ProfileOwner 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

	// The AWS account ID of the signing job owner.
	JobOwner *string `locationName:"jobOwner" min:"12" type:"string"`
	// contains filtered or unexported fields
}

func (StartSigningJobOutput) GoString

func (s StartSigningJobOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*StartSigningJobOutput) SetJobId

SetJobId sets the JobId field's value.

func (*StartSigningJobOutput) SetJobOwner

SetJobOwner sets the JobOwner field's value.

func (StartSigningJobOutput) String

func (s StartSigningJobOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) for the signing profile.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// One or more tags to be associated with the signing profile.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

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

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException deprecated

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

	Code_ *string `locationName:"code" type:"string"`

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

The request was denied due to request throttling.

Instead of this error, TooManyRequestsException should be used.

Deprecated: Instead of this error, TooManyRequestsException should be used.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TooManyRequestsException

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

	Code_ *string `locationName:"code" type:"string"`

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

The allowed number of job-signing requests has been exceeded.

This error supersedes the error ThrottlingException.

func (*TooManyRequestsException) Code

func (s *TooManyRequestsException) Code() string

Code returns the exception type name.

func (*TooManyRequestsException) Error

func (s *TooManyRequestsException) Error() string

func (TooManyRequestsException) GoString

func (s TooManyRequestsException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TooManyRequestsException) Message

func (s *TooManyRequestsException) Message() string

Message returns the exception's message.

func (*TooManyRequestsException) OrigErr

func (s *TooManyRequestsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyRequestsException) RequestID

func (s *TooManyRequestsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyRequestsException) StatusCode

func (s *TooManyRequestsException) StatusCode() int

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

func (TooManyRequestsException) String

func (s TooManyRequestsException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) for the signing profile.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

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

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

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

	Code_ *string `locationName:"code" type:"string"`

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

You signing certificate could not be validated.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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