types

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	Code *string
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type BadRequestException

type BadRequestException struct {
	Message *string

	Code *string
}

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

func (e *BadRequestException) Error() string

func (*BadRequestException) ErrorCode

func (e *BadRequestException) ErrorCode() string

func (*BadRequestException) ErrorFault

func (e *BadRequestException) ErrorFault() smithy.ErrorFault

func (*BadRequestException) ErrorMessage

func (e *BadRequestException) ErrorMessage() string

type Category

type Category string
const (
	CategoryAWSIoT Category = "AWSIoT"
)

Enum values for Category

func (Category) Values added in v0.29.0

func (Category) Values() []Category

Values returns all known values for Category. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConflictException added in v0.31.0

type ConflictException struct {
	Message *string

	Code *string
}

The resource encountered a conflicting state.

func (*ConflictException) Error added in v0.31.0

func (e *ConflictException) Error() string

func (*ConflictException) ErrorCode added in v0.31.0

func (e *ConflictException) ErrorCode() string

func (*ConflictException) ErrorFault added in v0.31.0

func (e *ConflictException) ErrorFault() smithy.ErrorFault

func (*ConflictException) ErrorMessage added in v0.31.0

func (e *ConflictException) ErrorMessage() string

type Destination

type Destination struct {

	// The S3Destination object.
	S3 *S3Destination
}

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

type EncryptionAlgorithm

type EncryptionAlgorithm string
const (
	EncryptionAlgorithmRsa   EncryptionAlgorithm = "RSA"
	EncryptionAlgorithmEcdsa EncryptionAlgorithm = "ECDSA"
)

Enum values for EncryptionAlgorithm

func (EncryptionAlgorithm) Values added in v0.29.0

Values returns all known values for EncryptionAlgorithm. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type EncryptionAlgorithmOptions

type EncryptionAlgorithmOptions struct {

	// The set of accepted encryption algorithms that are allowed in a code signing
	// job.
	//
	// This member is required.
	AllowedValues []EncryptionAlgorithm

	// The default encryption algorithm that is used by a code signing job.
	//
	// This member is required.
	DefaultValue EncryptionAlgorithm
}

The encryption algorithm options that are available to a code signing job.

type HashAlgorithm

type HashAlgorithm string
const (
	HashAlgorithmSha1   HashAlgorithm = "SHA1"
	HashAlgorithmSha256 HashAlgorithm = "SHA256"
)

Enum values for HashAlgorithm

func (HashAlgorithm) Values added in v0.29.0

func (HashAlgorithm) Values() []HashAlgorithm

Values returns all known values for HashAlgorithm. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type HashAlgorithmOptions

type HashAlgorithmOptions struct {

	// The set of accepted hash algorithms allowed in a code signing job.
	//
	// This member is required.
	AllowedValues []HashAlgorithm

	// The default hash algorithm that is used in a code signing job.
	//
	// This member is required.
	DefaultValue HashAlgorithm
}

The hash algorithms that are available to a code signing job.

type ImageFormat

type ImageFormat string
const (
	ImageFormatJson         ImageFormat = "JSON"
	ImageFormatJSONEmbedded ImageFormat = "JSONEmbedded"
	ImageFormatJSONDetached ImageFormat = "JSONDetached"
)

Enum values for ImageFormat

func (ImageFormat) Values added in v0.29.0

func (ImageFormat) Values() []ImageFormat

Values returns all known values for ImageFormat. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type InternalServiceErrorException

type InternalServiceErrorException struct {
	Message *string

	Code *string
}

An internal error occurred.

func (*InternalServiceErrorException) Error

func (*InternalServiceErrorException) ErrorCode

func (e *InternalServiceErrorException) ErrorCode() string

func (*InternalServiceErrorException) ErrorFault

func (*InternalServiceErrorException) ErrorMessage

func (e *InternalServiceErrorException) ErrorMessage() string

type NotFoundException

type NotFoundException struct {
	Message *string

	Code *string
}

The signing profile was not found.

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

func (e *NotFoundException) ErrorFault() smithy.ErrorFault

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

type Permission added in v0.31.0

type Permission struct {

	// An AWS Signer action permitted as part of cross-account permissions.
	Action *string

	// The AWS principal that has been granted a cross-account permission.
	Principal *string

	// The signing profile version that a permission applies to.
	ProfileVersion *string

	// A unique identifier for a cross-account permission statement.
	StatementId *string
}

A cross-account permission for a signing profile.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	Code *string
}

A specified resource could not be found.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type S3Destination

type S3Destination struct {

	// Name of the S3 bucket.
	BucketName *string

	// An Amazon S3 prefix that you can use to limit responses to those that begin with
	// the specified prefix.
	Prefix *string
}

The name and prefix of the S3 bucket where code signing saves your signed objects.

type S3SignedObject

type S3SignedObject struct {

	// Name of the S3 bucket.
	BucketName *string

	// Key name that uniquely identifies a signed code image in your bucket.
	Key *string
}

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

type S3Source

type S3Source struct {

	// Name of the S3 bucket.
	//
	// This member is required.
	BucketName *string

	// Key name of the bucket object that contains your unsigned code.
	//
	// This member is required.
	Key *string

	// Version of your source image in your version enabled S3 bucket.
	//
	// This member is required.
	Version *string
}

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

type ServiceLimitExceededException added in v0.31.0

type ServiceLimitExceededException struct {
	Message *string

	Code *string
}

The client is making a request that exceeds service limits.

func (*ServiceLimitExceededException) Error added in v0.31.0

func (*ServiceLimitExceededException) ErrorCode added in v0.31.0

func (e *ServiceLimitExceededException) ErrorCode() string

func (*ServiceLimitExceededException) ErrorFault added in v0.31.0

func (*ServiceLimitExceededException) ErrorMessage added in v0.31.0

func (e *ServiceLimitExceededException) ErrorMessage() string

type SignatureValidityPeriod added in v0.31.0

type SignatureValidityPeriod struct {

	// The time unit for signature validity.
	Type ValidityType

	// The numerical value of the time unit for signature validity.
	Value int32
}

The validity period for a signing job.

type SignedObject

type SignedObject struct {

	// The S3SignedObject.
	S3 *S3SignedObject
}

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

type SigningConfiguration

type SigningConfiguration struct {

	// The encryption algorithm options that are available for a code signing job.
	//
	// This member is required.
	EncryptionAlgorithmOptions *EncryptionAlgorithmOptions

	// The hash algorithm options that are available for a code signing job.
	//
	// This member is required.
	HashAlgorithmOptions *HashAlgorithmOptions
}

The configuration of a code signing operation.

type SigningConfigurationOverrides

type SigningConfigurationOverrides struct {

	// A specified override of the default encryption algorithm that is used in a code
	// signing job.
	EncryptionAlgorithm EncryptionAlgorithm

	// A specified override of the default hash algorithm that is used in a code
	// signing job.
	HashAlgorithm HashAlgorithm
}

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

type SigningImageFormat

type SigningImageFormat struct {

	// The default format of a code signing image.
	//
	// This member is required.
	DefaultFormat ImageFormat

	// The supported formats of a code signing image.
	//
	// This member is required.
	SupportedFormats []ImageFormat
}

The image format of a code signing platform or profile.

type SigningJob

type SigningJob struct {

	// The date and time that the signing job was created.
	CreatedAt *time.Time

	// Indicates whether the signing job is revoked.
	IsRevoked bool

	// The ID of the signing job.
	JobId *string

	// The AWS account ID of the job invoker.
	JobInvoker *string

	// The AWS account ID of the job owner.
	JobOwner *string

	// The name of a signing platform.
	PlatformDisplayName *string

	// The unique identifier for a signing platform.
	PlatformId *string

	// The name of the signing profile that created a signing job.
	ProfileName *string

	// The version of the signing profile that created a signing job.
	ProfileVersion *string

	// The time when the signature of a signing job expires.
	SignatureExpiresAt *time.Time

	// A SignedObject structure that contains information about a signing job's signed
	// code image.
	SignedObject *SignedObject

	// A SigningMaterial object that contains the Amazon Resource Name (ARN) of the
	// certificate used for the signing job.
	SigningMaterial *SigningMaterial

	// A Source that contains information about a signing job's code image source.
	Source *Source

	// The status of the signing job.
	Status SigningStatus
}

Contains information about a signing job.

type SigningJobRevocationRecord added in v0.31.0

type SigningJobRevocationRecord struct {

	// A caller-supplied reason for revocation.
	Reason *string

	// The time of revocation.
	RevokedAt *time.Time

	// The identity of the revoker.
	RevokedBy *string
}

Revocation information for a signing job.

type SigningMaterial

type SigningMaterial struct {

	// The Amazon Resource Name (ARN) of the certificates that is used to sign your
	// code.
	//
	// This member is required.
	CertificateArn *string
}

The ACM certificate that is used to sign your code.

type SigningPlatform

type SigningPlatform struct {

	// The category of a code signing platform.
	Category Category

	// The display name of a code signing platform.
	DisplayName *string

	// The maximum size (in MB) of code that can be signed by a code signing platform.
	MaxSizeInMB int32

	// Any partner entities linked to a code signing platform.
	Partner *string

	// The ID of a code signing; platform.
	PlatformId *string

	// Indicates whether revocation is supported for the platform.
	RevocationSupported bool

	// The configuration of a code signing platform. This includes the designated hash
	// algorithm and encryption algorithm of a signing platform.
	SigningConfiguration *SigningConfiguration

	// The image format of a code signing platform or profile.
	SigningImageFormat *SigningImageFormat

	// The types of targets that can be signed by a code signing platform.
	Target *string
}

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

type SigningPlatformOverrides

type SigningPlatformOverrides struct {

	// A signing configuration that overrides the default encryption or hash algorithm
	// of a signing job.
	SigningConfiguration *SigningConfigurationOverrides

	// 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 ImageFormat
}

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

type SigningProfile

type SigningProfile struct {

	// The Amazon Resource Name (ARN) for the signing profile.
	Arn *string

	// The name of the signing platform.
	PlatformDisplayName *string

	// The ID of a platform that is available for use by a signing profile.
	PlatformId *string

	// The name of the signing profile.
	ProfileName *string

	// The version of a signing profile.
	ProfileVersion *string

	// The ARN of a signing profile, including the profile version.
	ProfileVersionArn *string

	// The validity period for a signing job created using this signing profile.
	SignatureValidityPeriod *SignatureValidityPeriod

	// The ACM certificate that is available for use by a signing profile.
	SigningMaterial *SigningMaterial

	// The parameters that are available for use by a code signing user.
	SigningParameters map[string]string

	// The status of a code signing profile.
	Status SigningProfileStatus

	// A list of tags associated with the signing profile.
	Tags map[string]string
}

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

type SigningProfileRevocationRecord added in v0.31.0

type SigningProfileRevocationRecord struct {

	// The time when revocation becomes effective.
	RevocationEffectiveFrom *time.Time

	// The time when the signing profile was revoked.
	RevokedAt *time.Time

	// The identity of the revoker.
	RevokedBy *string
}

Revocation information for a signing profile.

type SigningProfileStatus

type SigningProfileStatus string
const (
	SigningProfileStatusActive   SigningProfileStatus = "Active"
	SigningProfileStatusCanceled SigningProfileStatus = "Canceled"
	SigningProfileStatusRevoked  SigningProfileStatus = "Revoked"
)

Enum values for SigningProfileStatus

func (SigningProfileStatus) Values added in v0.29.0

Values returns all known values for SigningProfileStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type SigningStatus

type SigningStatus string
const (
	SigningStatusInProgress SigningStatus = "InProgress"
	SigningStatusFailed     SigningStatus = "Failed"
	SigningStatusSucceeded  SigningStatus = "Succeeded"
)

Enum values for SigningStatus

func (SigningStatus) Values added in v0.29.0

func (SigningStatus) Values() []SigningStatus

Values returns all known values for SigningStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Source

type Source struct {

	// The S3Source object.
	S3 *S3Source
}

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

type ThrottlingException

type ThrottlingException struct {
	Message *string

	Code *string
}

The request was denied due to request throttling. Instead of this error, TooManyRequestsException should be used.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type TooManyRequestsException added in v0.31.0

type TooManyRequestsException struct {
	Message *string

	Code *string
}

The allowed number of job-signing requests has been exceeded. This error supersedes the error ThrottlingException.

func (*TooManyRequestsException) Error added in v0.31.0

func (e *TooManyRequestsException) Error() string

func (*TooManyRequestsException) ErrorCode added in v0.31.0

func (e *TooManyRequestsException) ErrorCode() string

func (*TooManyRequestsException) ErrorFault added in v0.31.0

func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault

func (*TooManyRequestsException) ErrorMessage added in v0.31.0

func (e *TooManyRequestsException) ErrorMessage() string

type ValidationException

type ValidationException struct {
	Message *string

	Code *string
}

You signing certificate could not be validated.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

type ValidityType added in v0.31.0

type ValidityType string
const (
	ValidityTypeDays   ValidityType = "DAYS"
	ValidityTypeMonths ValidityType = "MONTHS"
	ValidityTypeYears  ValidityType = "YEARS"
)

Enum values for ValidityType

func (ValidityType) Values added in v0.31.0

func (ValidityType) Values() []ValidityType

Values returns all known values for ValidityType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

Jump to

Keyboard shortcuts

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