aws-sdk-go: github.com/aws/aws-sdk-go/service/signer Index | Files | Directories

package signer

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

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

With code signing for IoT, you can sign code that you create for any IoT device that is supported by Amazon Web Services (AWS). Code signing is available through Amazon FreeRTOS (http://docs.aws.amazon.com/freertos/latest/userguide/) and AWS IoT Device Management (http://docs.aws.amazon.com/iot/latest/developerguide/), and 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 with ACM that is used to sign updates in Amazon FreeRTOS and AWS IoT Device Management. For general information about using code signing, see the Code Signing for IoT 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

Package Files

api.go doc.go errors.go service.go waiters.go

Constants

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

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

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

    // SigningProfileStatusCanceled is a SigningProfileStatus enum value
    SigningProfileStatusCanceled = "Canceled"
)
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"
)
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"

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

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

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

Service information constants

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

type CancelSigningProfileInput Uses

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 Uses

func (s CancelSigningProfileInput) GoString() string

GoString returns the string representation

func (*CancelSigningProfileInput) SetProfileName Uses

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

SetProfileName sets the ProfileName field's value.

func (CancelSigningProfileInput) String Uses

func (s CancelSigningProfileInput) String() string

String returns the string representation

func (*CancelSigningProfileInput) Validate Uses

func (s *CancelSigningProfileInput) Validate() error

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

type CancelSigningProfileOutput Uses

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

func (CancelSigningProfileOutput) GoString Uses

func (s CancelSigningProfileOutput) GoString() string

GoString returns the string representation

func (CancelSigningProfileOutput) String Uses

func (s CancelSigningProfileOutput) String() string

String returns the string representation

type DescribeSigningJobInput Uses

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 Uses

func (s DescribeSigningJobInput) GoString() string

GoString returns the string representation

func (*DescribeSigningJobInput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (DescribeSigningJobInput) String Uses

func (s DescribeSigningJobInput) String() string

String returns the string representation

func (*DescribeSigningJobInput) Validate Uses

func (s *DescribeSigningJobInput) Validate() error

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

type DescribeSigningJobOutput Uses

type DescribeSigningJobOutput struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

func (DescribeSigningJobOutput) GoString Uses

func (s DescribeSigningJobOutput) GoString() string

GoString returns the string representation

func (*DescribeSigningJobOutput) SetCompletedAt Uses

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

SetCompletedAt sets the CompletedAt field's value.

func (*DescribeSigningJobOutput) SetCreatedAt Uses

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

SetCreatedAt sets the CreatedAt field's value.

func (*DescribeSigningJobOutput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (*DescribeSigningJobOutput) SetOverrides Uses

func (s *DescribeSigningJobOutput) SetOverrides(v *SigningPlatformOverrides) *DescribeSigningJobOutput

SetOverrides sets the Overrides field's value.

func (*DescribeSigningJobOutput) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (*DescribeSigningJobOutput) SetProfileName Uses

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

SetProfileName sets the ProfileName field's value.

func (*DescribeSigningJobOutput) SetRequestedBy Uses

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

SetRequestedBy sets the RequestedBy field's value.

func (*DescribeSigningJobOutput) SetSignedObject Uses

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

SetSignedObject sets the SignedObject field's value.

func (*DescribeSigningJobOutput) SetSigningMaterial Uses

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

SetSigningMaterial sets the SigningMaterial field's value.

func (*DescribeSigningJobOutput) SetSigningParameters Uses

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

SetSigningParameters sets the SigningParameters field's value.

func (*DescribeSigningJobOutput) SetSource Uses

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

SetSource sets the Source field's value.

func (*DescribeSigningJobOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*DescribeSigningJobOutput) SetStatusReason Uses

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

SetStatusReason sets the StatusReason field's value.

func (DescribeSigningJobOutput) String Uses

func (s DescribeSigningJobOutput) String() string

String returns the string representation

type Destination Uses

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 Uses

func (s Destination) GoString() string

GoString returns the string representation

func (*Destination) SetS3 Uses

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

SetS3 sets the S3 field's value.

func (Destination) String Uses

func (s Destination) String() string

String returns the string representation

type EncryptionAlgorithmOptions Uses

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 Uses

func (s EncryptionAlgorithmOptions) GoString() string

GoString returns the string representation

func (*EncryptionAlgorithmOptions) SetAllowedValues Uses

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

SetAllowedValues sets the AllowedValues field's value.

func (*EncryptionAlgorithmOptions) SetDefaultValue Uses

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

SetDefaultValue sets the DefaultValue field's value.

func (EncryptionAlgorithmOptions) String Uses

func (s EncryptionAlgorithmOptions) String() string

String returns the string representation

type GetSigningPlatformInput Uses

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 Uses

func (s GetSigningPlatformInput) GoString() string

GoString returns the string representation

func (*GetSigningPlatformInput) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (GetSigningPlatformInput) String Uses

func (s GetSigningPlatformInput) String() string

String returns the string representation

func (*GetSigningPlatformInput) Validate Uses

func (s *GetSigningPlatformInput) Validate() error

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

type GetSigningPlatformOutput Uses

type GetSigningPlatformOutput struct {

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

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

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

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

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

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

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

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

func (GetSigningPlatformOutput) GoString Uses

func (s GetSigningPlatformOutput) GoString() string

GoString returns the string representation

func (*GetSigningPlatformOutput) SetCategory Uses

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

SetCategory sets the Category field's value.

func (*GetSigningPlatformOutput) SetDisplayName Uses

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

SetDisplayName sets the DisplayName field's value.

func (*GetSigningPlatformOutput) SetMaxSizeInMB Uses

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

SetMaxSizeInMB sets the MaxSizeInMB field's value.

func (*GetSigningPlatformOutput) SetPartner Uses

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

SetPartner sets the Partner field's value.

func (*GetSigningPlatformOutput) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (*GetSigningPlatformOutput) SetSigningConfiguration Uses

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

SetSigningConfiguration sets the SigningConfiguration field's value.

func (*GetSigningPlatformOutput) SetSigningImageFormat Uses

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

SetSigningImageFormat sets the SigningImageFormat field's value.

func (*GetSigningPlatformOutput) SetTarget Uses

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

SetTarget sets the Target field's value.

func (GetSigningPlatformOutput) String Uses

func (s GetSigningPlatformOutput) String() string

String returns the string representation

type GetSigningProfileInput Uses

type GetSigningProfileInput struct {

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

func (GetSigningProfileInput) GoString Uses

func (s GetSigningProfileInput) GoString() string

GoString returns the string representation

func (*GetSigningProfileInput) SetProfileName Uses

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

SetProfileName sets the ProfileName field's value.

func (GetSigningProfileInput) String Uses

func (s GetSigningProfileInput) String() string

String returns the string representation

func (*GetSigningProfileInput) Validate Uses

func (s *GetSigningProfileInput) Validate() error

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

type GetSigningProfileOutput Uses

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

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

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

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

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

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

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

func (s GetSigningProfileOutput) GoString() string

GoString returns the string representation

func (*GetSigningProfileOutput) SetArn Uses

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

SetArn sets the Arn field's value.

func (*GetSigningProfileOutput) SetOverrides Uses

func (s *GetSigningProfileOutput) SetOverrides(v *SigningPlatformOverrides) *GetSigningProfileOutput

SetOverrides sets the Overrides field's value.

func (*GetSigningProfileOutput) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (*GetSigningProfileOutput) SetProfileName Uses

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

SetProfileName sets the ProfileName field's value.

func (*GetSigningProfileOutput) SetSigningMaterial Uses

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

SetSigningMaterial sets the SigningMaterial field's value.

func (*GetSigningProfileOutput) SetSigningParameters Uses

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

SetSigningParameters sets the SigningParameters field's value.

func (*GetSigningProfileOutput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*GetSigningProfileOutput) SetTags Uses

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

SetTags sets the Tags field's value.

func (GetSigningProfileOutput) String Uses

func (s GetSigningProfileOutput) String() string

String returns the string representation

type HashAlgorithmOptions Uses

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 Uses

func (s HashAlgorithmOptions) GoString() string

GoString returns the string representation

func (*HashAlgorithmOptions) SetAllowedValues Uses

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

SetAllowedValues sets the AllowedValues field's value.

func (*HashAlgorithmOptions) SetDefaultValue Uses

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

SetDefaultValue sets the DefaultValue field's value.

func (HashAlgorithmOptions) String Uses

func (s HashAlgorithmOptions) String() string

String returns the string representation

type ListSigningJobsInput Uses

type ListSigningJobsInput struct {

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

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

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

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

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

func (ListSigningJobsInput) GoString Uses

func (s ListSigningJobsInput) GoString() string

GoString returns the string representation

func (*ListSigningJobsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListSigningJobsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSigningJobsInput) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (*ListSigningJobsInput) SetRequestedBy Uses

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

SetRequestedBy sets the RequestedBy field's value.

func (*ListSigningJobsInput) SetStatus Uses

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

SetStatus sets the Status field's value.

func (ListSigningJobsInput) String Uses

func (s ListSigningJobsInput) String() string

String returns the string representation

func (*ListSigningJobsInput) Validate Uses

func (s *ListSigningJobsInput) Validate() error

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

type ListSigningJobsOutput Uses

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 Uses

func (s ListSigningJobsOutput) GoString() string

GoString returns the string representation

func (*ListSigningJobsOutput) SetJobs Uses

func (s *ListSigningJobsOutput) SetJobs(v []*SigningJob) *ListSigningJobsOutput

SetJobs sets the Jobs field's value.

func (*ListSigningJobsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListSigningJobsOutput) String Uses

func (s ListSigningJobsOutput) String() string

String returns the string representation

type ListSigningPlatformsInput Uses

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 Uses

func (s ListSigningPlatformsInput) GoString() string

GoString returns the string representation

func (*ListSigningPlatformsInput) SetCategory Uses

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

SetCategory sets the Category field's value.

func (*ListSigningPlatformsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListSigningPlatformsInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSigningPlatformsInput) SetPartner Uses

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

SetPartner sets the Partner field's value.

func (*ListSigningPlatformsInput) SetTarget Uses

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

SetTarget sets the Target field's value.

func (ListSigningPlatformsInput) String Uses

func (s ListSigningPlatformsInput) String() string

String returns the string representation

func (*ListSigningPlatformsInput) Validate Uses

func (s *ListSigningPlatformsInput) Validate() error

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

type ListSigningPlatformsOutput Uses

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 Uses

func (s ListSigningPlatformsOutput) GoString() string

GoString returns the string representation

func (*ListSigningPlatformsOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSigningPlatformsOutput) SetPlatforms Uses

func (s *ListSigningPlatformsOutput) SetPlatforms(v []*SigningPlatform) *ListSigningPlatformsOutput

SetPlatforms sets the Platforms field's value.

func (ListSigningPlatformsOutput) String Uses

func (s ListSigningPlatformsOutput) String() string

String returns the string representation

type ListSigningProfilesInput Uses

type ListSigningProfilesInput struct {

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

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

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

func (ListSigningProfilesInput) GoString Uses

func (s ListSigningProfilesInput) GoString() string

GoString returns the string representation

func (*ListSigningProfilesInput) SetIncludeCanceled Uses

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

SetIncludeCanceled sets the IncludeCanceled field's value.

func (*ListSigningProfilesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListSigningProfilesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (ListSigningProfilesInput) String Uses

func (s ListSigningProfilesInput) String() string

String returns the string representation

func (*ListSigningProfilesInput) Validate Uses

func (s *ListSigningProfilesInput) Validate() error

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

type ListSigningProfilesOutput Uses

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 Uses

func (s ListSigningProfilesOutput) GoString() string

GoString returns the string representation

func (*ListSigningProfilesOutput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListSigningProfilesOutput) SetProfiles Uses

func (s *ListSigningProfilesOutput) SetProfiles(v []*SigningProfile) *ListSigningProfilesOutput

SetProfiles sets the Profiles field's value.

func (ListSigningProfilesOutput) String Uses

func (s ListSigningProfilesOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

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 Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput Uses

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 Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags Uses

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

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type PutSigningProfileInput Uses

type PutSigningProfileInput struct {

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

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

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

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

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

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

func (PutSigningProfileInput) GoString Uses

func (s PutSigningProfileInput) GoString() string

GoString returns the string representation

func (*PutSigningProfileInput) SetOverrides Uses

func (s *PutSigningProfileInput) SetOverrides(v *SigningPlatformOverrides) *PutSigningProfileInput

SetOverrides sets the Overrides field's value.

func (*PutSigningProfileInput) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (*PutSigningProfileInput) SetProfileName Uses

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

SetProfileName sets the ProfileName field's value.

func (*PutSigningProfileInput) SetSigningMaterial Uses

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

SetSigningMaterial sets the SigningMaterial field's value.

func (*PutSigningProfileInput) SetSigningParameters Uses

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

SetSigningParameters sets the SigningParameters field's value.

func (*PutSigningProfileInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (PutSigningProfileInput) String Uses

func (s PutSigningProfileInput) String() string

String returns the string representation

func (*PutSigningProfileInput) Validate Uses

func (s *PutSigningProfileInput) Validate() error

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

type PutSigningProfileOutput Uses

type PutSigningProfileOutput struct {

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

func (PutSigningProfileOutput) GoString Uses

func (s PutSigningProfileOutput) GoString() string

GoString returns the string representation

func (*PutSigningProfileOutput) SetArn Uses

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

SetArn sets the Arn field's value.

func (PutSigningProfileOutput) String Uses

func (s PutSigningProfileOutput) String() string

String returns the string representation

type S3Destination Uses

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 Uses

func (s S3Destination) GoString() string

GoString returns the string representation

func (*S3Destination) SetBucketName Uses

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

SetBucketName sets the BucketName field's value.

func (*S3Destination) SetPrefix Uses

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

SetPrefix sets the Prefix field's value.

func (S3Destination) String Uses

func (s S3Destination) String() string

String returns the string representation

type S3SignedObject Uses

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 Uses

func (s S3SignedObject) GoString() string

GoString returns the string representation

func (*S3SignedObject) SetBucketName Uses

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

SetBucketName sets the BucketName field's value.

func (*S3SignedObject) SetKey Uses

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

SetKey sets the Key field's value.

func (S3SignedObject) String Uses

func (s S3SignedObject) String() string

String returns the string representation

type S3Source Uses

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 Uses

func (s S3Source) GoString() string

GoString returns the string representation

func (*S3Source) SetBucketName Uses

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

SetBucketName sets the BucketName field's value.

func (*S3Source) SetKey Uses

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

SetKey sets the Key field's value.

func (*S3Source) SetVersion Uses

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

SetVersion sets the Version field's value.

func (S3Source) String Uses

func (s S3Source) String() string

String returns the string representation

func (*S3Source) Validate Uses

func (s *S3Source) Validate() error

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

type SignedObject Uses

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 Uses

func (s SignedObject) GoString() string

GoString returns the string representation

func (*SignedObject) SetS3 Uses

func (s *SignedObject) SetS3(v *S3SignedObject) *SignedObject

SetS3 sets the S3 field's value.

func (SignedObject) String Uses

func (s SignedObject) String() string

String returns the string representation

type Signer Uses

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 Uses

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

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

Example:

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

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

func (*Signer) CancelSigningProfile Uses

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

CancelSigningProfile API operation for AWS Signer.

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

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

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

Returned Error Codes:

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

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) CancelSigningProfileRequest Uses

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 Uses

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 Uses

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

DescribeSigningJob API operation for AWS Signer.

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

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

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

Returned Error Codes:

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) DescribeSigningJobRequest Uses

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 Uses

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 Uses

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

GetSigningPlatform API operation for AWS Signer.

Returns information on a specific signing platform.

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

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

Returned Error Codes:

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) GetSigningPlatformRequest Uses

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 Uses

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 Uses

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

GetSigningProfile API operation for AWS Signer.

Returns information on a specific signing profile.

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

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

Returned Error Codes:

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

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) GetSigningProfileRequest Uses

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 Uses

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

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

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

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

func (*Signer) ListSigningJobs Uses

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

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

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) ListSigningJobsPages Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) ListSigningPlatformsPages Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) ListSigningProfilesPages Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

* ErrCodeBadRequestException "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.

* ErrCodeNotFoundException "NotFoundException"
The signing profile was not found.

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

func (*Signer) ListTagsForResourceRequest Uses

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 Uses

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 Uses

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

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

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

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) PutSigningProfileRequest Uses

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 Uses

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

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

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

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

func (*Signer) StartSigningJob Uses

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

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

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

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

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

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

func (*Signer) StartSigningJobRequest Uses

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 Uses

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 Uses

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. You specify the signing profile using its Amazon Resource Name (ARN). You specify the tag by using 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 Codes:

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

* ErrCodeBadRequestException "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.

* ErrCodeNotFoundException "NotFoundException"
The signing profile was not found.

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

func (*Signer) TagResourceRequest Uses

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 Uses

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 Uses

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

UntagResource API operation for AWS Signer.

Remove one or more tags from a signing profile. Specify a list of tag keys to remove the tags.

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

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
An internal error occurred.

* ErrCodeBadRequestException "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.

* ErrCodeNotFoundException "NotFoundException"
The signing profile was not found.

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

func (*Signer) UntagResourceRequest Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

func (s SigningConfiguration) GoString() string

GoString returns the string representation

func (*SigningConfiguration) SetEncryptionAlgorithmOptions Uses

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

SetEncryptionAlgorithmOptions sets the EncryptionAlgorithmOptions field's value.

func (*SigningConfiguration) SetHashAlgorithmOptions Uses

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

SetHashAlgorithmOptions sets the HashAlgorithmOptions field's value.

func (SigningConfiguration) String Uses

func (s SigningConfiguration) String() string

String returns the string representation

type SigningConfigurationOverrides Uses

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 Uses

func (s SigningConfigurationOverrides) GoString() string

GoString returns the string representation

func (*SigningConfigurationOverrides) SetEncryptionAlgorithm Uses

func (s *SigningConfigurationOverrides) SetEncryptionAlgorithm(v string) *SigningConfigurationOverrides

SetEncryptionAlgorithm sets the EncryptionAlgorithm field's value.

func (*SigningConfigurationOverrides) SetHashAlgorithm Uses

func (s *SigningConfigurationOverrides) SetHashAlgorithm(v string) *SigningConfigurationOverrides

SetHashAlgorithm sets the HashAlgorithm field's value.

func (SigningConfigurationOverrides) String Uses

func (s SigningConfigurationOverrides) String() string

String returns the string representation

type SigningImageFormat Uses

type SigningImageFormat struct {

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

    // The supported formats of a code signing 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 Uses

func (s SigningImageFormat) GoString() string

GoString returns the string representation

func (*SigningImageFormat) SetDefaultFormat Uses

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

SetDefaultFormat sets the DefaultFormat field's value.

func (*SigningImageFormat) SetSupportedFormats Uses

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

SetSupportedFormats sets the SupportedFormats field's value.

func (SigningImageFormat) String Uses

func (s SigningImageFormat) String() string

String returns the string representation

type SigningJob Uses

type SigningJob struct {

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

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

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

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

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

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

Contains information about a signing job.

func (SigningJob) GoString Uses

func (s SigningJob) GoString() string

GoString returns the string representation

func (*SigningJob) SetCreatedAt Uses

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

SetCreatedAt sets the CreatedAt field's value.

func (*SigningJob) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (*SigningJob) SetSignedObject Uses

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

SetSignedObject sets the SignedObject field's value.

func (*SigningJob) SetSigningMaterial Uses

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

SetSigningMaterial sets the SigningMaterial field's value.

func (*SigningJob) SetSource Uses

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

SetSource sets the Source field's value.

func (*SigningJob) SetStatus Uses

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

SetStatus sets the Status field's value.

func (SigningJob) String Uses

func (s SigningJob) String() string

String returns the string representation

type SigningMaterial Uses

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 Uses

func (s SigningMaterial) GoString() string

GoString returns the string representation

func (*SigningMaterial) SetCertificateArn Uses

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

SetCertificateArn sets the CertificateArn field's value.

func (SigningMaterial) String Uses

func (s SigningMaterial) String() string

String returns the string representation

func (*SigningMaterial) Validate Uses

func (s *SigningMaterial) Validate() error

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

type SigningPlatform Uses

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

    // 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 is used to perform a code signing job.

func (SigningPlatform) GoString Uses

func (s SigningPlatform) GoString() string

GoString returns the string representation

func (*SigningPlatform) SetCategory Uses

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

SetCategory sets the Category field's value.

func (*SigningPlatform) SetDisplayName Uses

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

SetDisplayName sets the DisplayName field's value.

func (*SigningPlatform) SetMaxSizeInMB Uses

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

SetMaxSizeInMB sets the MaxSizeInMB field's value.

func (*SigningPlatform) SetPartner Uses

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

SetPartner sets the Partner field's value.

func (*SigningPlatform) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (*SigningPlatform) SetSigningConfiguration Uses

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

SetSigningConfiguration sets the SigningConfiguration field's value.

func (*SigningPlatform) SetSigningImageFormat Uses

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

SetSigningImageFormat sets the SigningImageFormat field's value.

func (*SigningPlatform) SetTarget Uses

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

SetTarget sets the Target field's value.

func (SigningPlatform) String Uses

func (s SigningPlatform) String() string

String returns the string representation

type SigningPlatformOverrides Uses

type SigningPlatformOverrides struct {

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

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

func (SigningPlatformOverrides) GoString Uses

func (s SigningPlatformOverrides) GoString() string

GoString returns the string representation

func (*SigningPlatformOverrides) SetSigningConfiguration Uses

func (s *SigningPlatformOverrides) SetSigningConfiguration(v *SigningConfigurationOverrides) *SigningPlatformOverrides

SetSigningConfiguration sets the SigningConfiguration field's value.

func (SigningPlatformOverrides) String Uses

func (s SigningPlatformOverrides) String() string

String returns the string representation

type SigningProfile Uses

type SigningProfile struct {

    // Amazon Resource Name (ARN) for the signing profile.
    Arn *string `locationName:"arn" 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 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 Uses

func (s SigningProfile) GoString() string

GoString returns the string representation

func (*SigningProfile) SetArn Uses

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

SetArn sets the Arn field's value.

func (*SigningProfile) SetPlatformId Uses

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

SetPlatformId sets the PlatformId field's value.

func (*SigningProfile) SetProfileName Uses

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

SetProfileName sets the ProfileName field's value.

func (*SigningProfile) SetSigningMaterial Uses

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

SetSigningMaterial sets the SigningMaterial field's value.

func (*SigningProfile) SetSigningParameters Uses

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

SetSigningParameters sets the SigningParameters field's value.

func (*SigningProfile) SetStatus Uses

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

SetStatus sets the Status field's value.

func (*SigningProfile) SetTags Uses

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

SetTags sets the Tags field's value.

func (SigningProfile) String Uses

func (s SigningProfile) String() string

String returns the string representation

type Source Uses

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 Uses

func (s Source) GoString() string

GoString returns the string representation

func (*Source) SetS3 Uses

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

SetS3 sets the S3 field's value.

func (Source) String Uses

func (s Source) String() string

String returns the string representation

func (*Source) Validate Uses

func (s *Source) Validate() error

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

type StartSigningJobInput Uses

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 *string `locationName:"profileName" min:"2" type:"string"`

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

func (StartSigningJobInput) GoString Uses

func (s StartSigningJobInput) GoString() string

GoString returns the string representation

func (*StartSigningJobInput) SetClientRequestToken Uses

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

SetClientRequestToken sets the ClientRequestToken field's value.

func (*StartSigningJobInput) SetDestination Uses

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

SetDestination sets the Destination field's value.

func (*StartSigningJobInput) SetProfileName Uses

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

SetProfileName sets the ProfileName field's value.

func (*StartSigningJobInput) SetSource Uses

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

SetSource sets the Source field's value.

func (StartSigningJobInput) String Uses

func (s StartSigningJobInput) String() string

String returns the string representation

func (*StartSigningJobInput) Validate Uses

func (s *StartSigningJobInput) Validate() error

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

type StartSigningJobOutput Uses

type StartSigningJobOutput struct {

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

func (StartSigningJobOutput) GoString Uses

func (s StartSigningJobOutput) GoString() string

GoString returns the string representation

func (*StartSigningJobOutput) SetJobId Uses

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

SetJobId sets the JobId field's value.

func (StartSigningJobOutput) String Uses

func (s StartSigningJobOutput) String() string

String returns the string representation

type TagResourceInput Uses

type TagResourceInput struct {

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

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags Uses

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

SetTags sets the Tags field's value.

func (TagResourceInput) String Uses

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate Uses

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput Uses

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

func (TagResourceOutput) GoString Uses

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String Uses

func (s TagResourceOutput) String() string

String returns the string representation

type UntagResourceInput Uses

type UntagResourceInput struct {

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

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn Uses

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys Uses

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String Uses

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate Uses

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput Uses

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

func (UntagResourceOutput) GoString Uses

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String Uses

func (s UntagResourceOutput) String() string

String returns the string representation

Directories

PathSynopsis
signerifacePackage signeriface provides an interface to enable mocking the AWS Signer service client for testing your code.

Package signer imports 9 packages (graph) and is imported by 11 packages. Updated 2019-11-14. Refresh now. Tools for package owners.