Documentation

Overview

    Package signer provides the API client, operations, and parameter types for AWS Signer.

    AWS Signer is a fully managed code signing service to help you ensure the trust and integrity of your code. AWS Signer supports the following applications: With code signing for AWS Lambda, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3. With code signing for IoT, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS (http://docs.aws.amazon.com/freertos/latest/userguide/) and AWS IoT Device Management (http://docs.aws.amazon.com/iot/latest/developerguide/), and is integrated with AWS Certificate Manager (ACM) (http://docs.aws.amazon.com/acm/latest/userguide/). In order to sign code, you import a third-party code signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management. For more information about AWS Signer, see the AWS Signer Developer Guide (http://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html).

    Index

    Constants

    View Source
    const ServiceAPIVersion = "2017-08-25"
    View Source
    const ServiceID = "signer"

    Variables

    This section is empty.

    Functions

    func NewDefaultEndpointResolver

    func NewDefaultEndpointResolver() *internalendpoints.Resolver

      NewDefaultEndpointResolver constructs a new service endpoint resolver

      func WithAPIOptions

      func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

        WithAPIOptions returns a functional option for setting the Client's APIOptions option.

        func WithEndpointResolver

        func WithEndpointResolver(v EndpointResolver) func(*Options)

          WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.

          Types

          type AddProfilePermissionInput

          type AddProfilePermissionInput struct {
          
          	// The AWS Signer action permitted as part of cross-account permissions.
          	//
          	// This member is required.
          	Action *string
          
          	// The AWS principal receiving cross-account permissions. This may be an IAM role
          	// or another AWS account ID.
          	//
          	// This member is required.
          	Principal *string
          
          	// The human-readable name of the signing profile.
          	//
          	// This member is required.
          	ProfileName *string
          
          	// A unique identifier for the cross-account permission statement.
          	//
          	// This member is required.
          	StatementId *string
          
          	// The version of the signing profile.
          	ProfileVersion *string
          
          	// A unique identifier for the current profile revision.
          	RevisionId *string
          }

          type AddProfilePermissionOutput

          type AddProfilePermissionOutput struct {
          
          	// A unique identifier for the current profile revision.
          	RevisionId *string
          
          	// Metadata pertaining to the operation's result.
          	ResultMetadata middleware.Metadata
          }

          type CancelSigningProfileInput

          type CancelSigningProfileInput struct {
          
          	// The name of the signing profile to be canceled.
          	//
          	// This member is required.
          	ProfileName *string
          }

          type CancelSigningProfileOutput

          type CancelSigningProfileOutput struct {
          	// Metadata pertaining to the operation's result.
          	ResultMetadata middleware.Metadata
          }

          type Client

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

            Client provides the API client to make operations call for AWS Signer.

            func New

            func New(options Options, optFns ...func(*Options)) *Client

              New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

              func NewFromConfig

              func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

                NewFromConfig returns a new client from the provided config.

                func (*Client) AddProfilePermission

                func (c *Client) AddProfilePermission(ctx context.Context, params *AddProfilePermissionInput, optFns ...func(*Options)) (*AddProfilePermissionOutput, error)

                  Adds cross-account permissions to a signing profile.

                  func (*Client) CancelSigningProfile

                  func (c *Client) CancelSigningProfile(ctx context.Context, params *CancelSigningProfileInput, optFns ...func(*Options)) (*CancelSigningProfileOutput, error)

                    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.

                    func (*Client) DescribeSigningJob

                    func (c *Client) DescribeSigningJob(ctx context.Context, params *DescribeSigningJobInput, optFns ...func(*Options)) (*DescribeSigningJobOutput, error)

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

                      func (*Client) GetSigningPlatform

                      func (c *Client) GetSigningPlatform(ctx context.Context, params *GetSigningPlatformInput, optFns ...func(*Options)) (*GetSigningPlatformOutput, error)

                        Returns information on a specific signing platform.

                        func (*Client) GetSigningProfile

                        func (c *Client) GetSigningProfile(ctx context.Context, params *GetSigningProfileInput, optFns ...func(*Options)) (*GetSigningProfileOutput, error)

                          Returns information on a specific signing profile.

                          func (*Client) ListProfilePermissions

                          func (c *Client) ListProfilePermissions(ctx context.Context, params *ListProfilePermissionsInput, optFns ...func(*Options)) (*ListProfilePermissionsOutput, error)

                            Lists the cross-account permissions associated with a signing profile.

                            func (*Client) ListSigningJobs

                            func (c *Client) ListSigningJobs(ctx context.Context, params *ListSigningJobsInput, optFns ...func(*Options)) (*ListSigningJobsOutput, error)

                              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.

                              func (*Client) ListSigningPlatforms

                              func (c *Client) ListSigningPlatforms(ctx context.Context, params *ListSigningPlatformsInput, optFns ...func(*Options)) (*ListSigningPlatformsOutput, error)

                                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.

                                func (*Client) ListSigningProfiles

                                func (c *Client) ListSigningProfiles(ctx context.Context, params *ListSigningProfilesInput, optFns ...func(*Options)) (*ListSigningProfilesOutput, error)

                                  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.

                                  func (*Client) ListTagsForResource

                                  func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

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

                                    func (*Client) PutSigningProfile

                                    func (c *Client) PutSigningProfile(ctx context.Context, params *PutSigningProfileInput, optFns ...func(*Options)) (*PutSigningProfileOutput, error)

                                      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)

                                      func (*Client) RemoveProfilePermission

                                      func (c *Client) RemoveProfilePermission(ctx context.Context, params *RemoveProfilePermissionInput, optFns ...func(*Options)) (*RemoveProfilePermissionOutput, error)

                                        Removes cross-account permissions from a signing profile.

                                        func (*Client) RevokeSignature

                                        func (c *Client) RevokeSignature(ctx context.Context, params *RevokeSignatureInput, optFns ...func(*Options)) (*RevokeSignatureOutput, error)

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

                                          func (*Client) RevokeSigningProfile

                                          func (c *Client) RevokeSigningProfile(ctx context.Context, params *RevokeSigningProfileInput, optFns ...func(*Options)) (*RevokeSigningProfileOutput, error)

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

                                            func (*Client) StartSigningJob

                                            func (c *Client) StartSigningJob(ctx context.Context, params *StartSigningJobInput, optFns ...func(*Options)) (*StartSigningJobOutput, error)

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

                                              func (*Client) TagResource

                                              func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

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

                                                func (*Client) UntagResource

                                                func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

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

                                                  type DescribeSigningJobAPIClient

                                                  type DescribeSigningJobAPIClient interface {
                                                  	DescribeSigningJob(context.Context, *DescribeSigningJobInput, ...func(*Options)) (*DescribeSigningJobOutput, error)
                                                  }

                                                    DescribeSigningJobAPIClient is a client that implements the DescribeSigningJob operation.

                                                    type DescribeSigningJobInput

                                                    type DescribeSigningJobInput struct {
                                                    
                                                    	// The ID of the signing job on input.
                                                    	//
                                                    	// This member is required.
                                                    	JobId *string
                                                    }

                                                    type DescribeSigningJobOutput

                                                    type DescribeSigningJobOutput struct {
                                                    
                                                    	// Date and time that the signing job was completed.
                                                    	CompletedAt *time.Time
                                                    
                                                    	// Date and time that the signing job was created.
                                                    	CreatedAt *time.Time
                                                    
                                                    	// The ID of the signing job on output.
                                                    	JobId *string
                                                    
                                                    	// The IAM entity that initiated the signing job.
                                                    	JobInvoker *string
                                                    
                                                    	// The AWS account ID of the job owner.
                                                    	JobOwner *string
                                                    
                                                    	// A list of any overrides that were applied to the signing operation.
                                                    	Overrides *types.SigningPlatformOverrides
                                                    
                                                    	// A human-readable name for the signing platform associated with the signing job.
                                                    	PlatformDisplayName *string
                                                    
                                                    	// The microcontroller platform to which your signed code image will be
                                                    	// distributed.
                                                    	PlatformId *string
                                                    
                                                    	// The name of the profile that initiated the signing operation.
                                                    	ProfileName *string
                                                    
                                                    	// The version of the signing profile used to initiate the signing job.
                                                    	ProfileVersion *string
                                                    
                                                    	// The IAM principal that requested the signing job.
                                                    	RequestedBy *string
                                                    
                                                    	// A revocation record if the signature generated by the signing job has been
                                                    	// revoked. Contains a timestamp and the ID of the IAM entity that revoked the
                                                    	// signature.
                                                    	RevocationRecord *types.SigningJobRevocationRecord
                                                    
                                                    	// Thr expiration timestamp for the signature generated by the signing job.
                                                    	SignatureExpiresAt *time.Time
                                                    
                                                    	// Name of the S3 bucket where the signed code image is saved by code signing.
                                                    	SignedObject *types.SignedObject
                                                    
                                                    	// The Amazon Resource Name (ARN) of your code signing certificate.
                                                    	SigningMaterial *types.SigningMaterial
                                                    
                                                    	// 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
                                                    
                                                    	// The object that contains the name of your S3 bucket or your raw code.
                                                    	Source *types.Source
                                                    
                                                    	// Status of the signing job.
                                                    	Status types.SigningStatus
                                                    
                                                    	// String value that contains the status reason.
                                                    	StatusReason *string
                                                    
                                                    	// Metadata pertaining to the operation's result.
                                                    	ResultMetadata middleware.Metadata
                                                    }

                                                    type EndpointResolver

                                                    type EndpointResolver interface {
                                                    	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
                                                    }

                                                      EndpointResolver interface for resolving service endpoints.

                                                      func EndpointResolverFromURL

                                                      func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

                                                        EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

                                                        type EndpointResolverFunc

                                                        type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)

                                                          EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

                                                          func (EndpointResolverFunc) ResolveEndpoint

                                                          func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

                                                          type EndpointResolverOptions

                                                          type EndpointResolverOptions = internalendpoints.Options

                                                            EndpointResolverOptions is the service endpoint resolver options

                                                            type GetSigningPlatformInput

                                                            type GetSigningPlatformInput struct {
                                                            
                                                            	// The ID of the target signing platform.
                                                            	//
                                                            	// This member is required.
                                                            	PlatformId *string
                                                            }

                                                            type GetSigningPlatformOutput

                                                            type GetSigningPlatformOutput struct {
                                                            
                                                            	// The category type of the target signing platform.
                                                            	Category types.Category
                                                            
                                                            	// The display name of the target signing platform.
                                                            	DisplayName *string
                                                            
                                                            	// The maximum size (in MB) of the payload that can be signed by the target
                                                            	// platform.
                                                            	MaxSizeInMB int32
                                                            
                                                            	// A list of partner entities that use the target signing platform.
                                                            	Partner *string
                                                            
                                                            	// The ID of the target signing platform.
                                                            	PlatformId *string
                                                            
                                                            	// A flag indicating whether signatures generated for the signing platform can be
                                                            	// revoked.
                                                            	RevocationSupported bool
                                                            
                                                            	// A list of configurations applied to the target platform at signing.
                                                            	SigningConfiguration *types.SigningConfiguration
                                                            
                                                            	// The format of the target platform's signing image.
                                                            	SigningImageFormat *types.SigningImageFormat
                                                            
                                                            	// The validation template that is used by the target signing platform.
                                                            	Target *string
                                                            
                                                            	// Metadata pertaining to the operation's result.
                                                            	ResultMetadata middleware.Metadata
                                                            }

                                                            type GetSigningProfileInput

                                                            type GetSigningProfileInput struct {
                                                            
                                                            	// The name of the target signing profile.
                                                            	//
                                                            	// This member is required.
                                                            	ProfileName *string
                                                            
                                                            	// The AWS account ID of the profile owner.
                                                            	ProfileOwner *string
                                                            }

                                                            type GetSigningProfileOutput

                                                            type GetSigningProfileOutput struct {
                                                            
                                                            	// The Amazon Resource Name (ARN) for the signing profile.
                                                            	Arn *string
                                                            
                                                            	// A list of overrides applied by the target signing profile for signing
                                                            	// operations.
                                                            	Overrides *types.SigningPlatformOverrides
                                                            
                                                            	// A human-readable name for the signing platform associated with the signing
                                                            	// profile.
                                                            	PlatformDisplayName *string
                                                            
                                                            	// The ID of the platform that is used by the target signing profile.
                                                            	PlatformId *string
                                                            
                                                            	// The name of the target signing profile.
                                                            	ProfileName *string
                                                            
                                                            	// The current version of the signing profile.
                                                            	ProfileVersion *string
                                                            
                                                            	// The signing profile ARN, including the profile version.
                                                            	ProfileVersionArn *string
                                                            
                                                            	// Revocation information for a signing profile.
                                                            	RevocationRecord *types.SigningProfileRevocationRecord
                                                            
                                                            	// The validity period for a signing job.
                                                            	SignatureValidityPeriod *types.SignatureValidityPeriod
                                                            
                                                            	// The ARN of the certificate that the target profile uses for signing operations.
                                                            	SigningMaterial *types.SigningMaterial
                                                            
                                                            	// A map of key-value pairs for signing operations that is attached to the target
                                                            	// signing profile.
                                                            	SigningParameters map[string]string
                                                            
                                                            	// The status of the target signing profile.
                                                            	Status types.SigningProfileStatus
                                                            
                                                            	// Reason for the status of the target signing profile.
                                                            	StatusReason *string
                                                            
                                                            	// A list of tags associated with the signing profile.
                                                            	Tags map[string]string
                                                            
                                                            	// Metadata pertaining to the operation's result.
                                                            	ResultMetadata middleware.Metadata
                                                            }

                                                            type HTTPClient

                                                            type HTTPClient interface {
                                                            	Do(*http.Request) (*http.Response, error)
                                                            }

                                                            type HTTPSignerV4

                                                            type HTTPSignerV4 interface {
                                                            	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
                                                            }

                                                            type IdempotencyTokenProvider

                                                            type IdempotencyTokenProvider interface {
                                                            	GetIdempotencyToken() (string, error)
                                                            }

                                                              IdempotencyTokenProvider interface for providing idempotency token

                                                              type ListProfilePermissionsInput

                                                              type ListProfilePermissionsInput struct {
                                                              
                                                              	// Name of the signing profile containing the cross-account permissions.
                                                              	//
                                                              	// This member is required.
                                                              	ProfileName *string
                                                              
                                                              	// String for specifying the next set of paginated results.
                                                              	NextToken *string
                                                              }

                                                              type ListProfilePermissionsOutput

                                                              type ListProfilePermissionsOutput struct {
                                                              
                                                              	// String for specifying the next set of paginated results.
                                                              	NextToken *string
                                                              
                                                              	// List of permissions associated with the Signing Profile.
                                                              	Permissions []types.Permission
                                                              
                                                              	// Total size of the policy associated with the Signing Profile in bytes.
                                                              	PolicySizeBytes int32
                                                              
                                                              	// The identifier for the current revision of profile permissions.
                                                              	RevisionId *string
                                                              
                                                              	// Metadata pertaining to the operation's result.
                                                              	ResultMetadata middleware.Metadata
                                                              }

                                                              type ListSigningJobsAPIClient

                                                              type ListSigningJobsAPIClient interface {
                                                              	ListSigningJobs(context.Context, *ListSigningJobsInput, ...func(*Options)) (*ListSigningJobsOutput, error)
                                                              }

                                                                ListSigningJobsAPIClient is a client that implements the ListSigningJobs operation.

                                                                type ListSigningJobsInput

                                                                type ListSigningJobsInput struct {
                                                                
                                                                	// Filters results to return only signing jobs with revoked signatures.
                                                                	IsRevoked bool
                                                                
                                                                	// Filters results to return only signing jobs initiated by a specified IAM entity.
                                                                	JobInvoker *string
                                                                
                                                                	// Specifies the maximum number of items to return in the response. Use this
                                                                	// parameter when paginating results. If additional items exist beyond the number
                                                                	// you specify, the nextToken element is set in the response. Use the nextToken
                                                                	// value in a subsequent request to retrieve additional items.
                                                                	MaxResults *int32
                                                                
                                                                	// 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
                                                                
                                                                	// The ID of microcontroller platform that you specified for the distribution of
                                                                	// your code image.
                                                                	PlatformId *string
                                                                
                                                                	// The IAM principal that requested the signing job.
                                                                	RequestedBy *string
                                                                
                                                                	// Filters results to return only signing jobs with signatures expiring after a
                                                                	// specified timestamp.
                                                                	SignatureExpiresAfter *time.Time
                                                                
                                                                	// Filters results to return only signing jobs with signatures expiring before a
                                                                	// specified timestamp.
                                                                	SignatureExpiresBefore *time.Time
                                                                
                                                                	// A status value with which to filter your results.
                                                                	Status types.SigningStatus
                                                                }

                                                                type ListSigningJobsOutput

                                                                type ListSigningJobsOutput struct {
                                                                
                                                                	// A list of your signing jobs.
                                                                	Jobs []types.SigningJob
                                                                
                                                                	// String for specifying the next set of paginated results.
                                                                	NextToken *string
                                                                
                                                                	// Metadata pertaining to the operation's result.
                                                                	ResultMetadata middleware.Metadata
                                                                }

                                                                type ListSigningJobsPaginator

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

                                                                  ListSigningJobsPaginator is a paginator for ListSigningJobs

                                                                  func NewListSigningJobsPaginator

                                                                  func NewListSigningJobsPaginator(client ListSigningJobsAPIClient, params *ListSigningJobsInput, optFns ...func(*ListSigningJobsPaginatorOptions)) *ListSigningJobsPaginator

                                                                    NewListSigningJobsPaginator returns a new ListSigningJobsPaginator

                                                                    func (*ListSigningJobsPaginator) HasMorePages

                                                                    func (p *ListSigningJobsPaginator) HasMorePages() bool

                                                                      HasMorePages returns a boolean indicating whether more pages are available

                                                                      func (*ListSigningJobsPaginator) NextPage

                                                                      func (p *ListSigningJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSigningJobsOutput, error)

                                                                        NextPage retrieves the next ListSigningJobs page.

                                                                        type ListSigningJobsPaginatorOptions

                                                                        type ListSigningJobsPaginatorOptions 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.
                                                                        	Limit int32
                                                                        
                                                                        	// Set to true if pagination should stop if the service returns a pagination token
                                                                        	// that matches the most recent token provided to the service.
                                                                        	StopOnDuplicateToken bool
                                                                        }

                                                                          ListSigningJobsPaginatorOptions is the paginator options for ListSigningJobs

                                                                          type ListSigningPlatformsAPIClient

                                                                          type ListSigningPlatformsAPIClient interface {
                                                                          	ListSigningPlatforms(context.Context, *ListSigningPlatformsInput, ...func(*Options)) (*ListSigningPlatformsOutput, error)
                                                                          }

                                                                            ListSigningPlatformsAPIClient is a client that implements the ListSigningPlatforms operation.

                                                                            type ListSigningPlatformsInput

                                                                            type ListSigningPlatformsInput struct {
                                                                            
                                                                            	// The category type of a signing platform.
                                                                            	Category *string
                                                                            
                                                                            	// The maximum number of results to be returned by this operation.
                                                                            	MaxResults *int32
                                                                            
                                                                            	// 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
                                                                            
                                                                            	// Any partner entities connected to a signing platform.
                                                                            	Partner *string
                                                                            
                                                                            	// The validation template that is used by the target signing platform.
                                                                            	Target *string
                                                                            }

                                                                            type ListSigningPlatformsOutput

                                                                            type ListSigningPlatformsOutput struct {
                                                                            
                                                                            	// Value for specifying the next set of paginated results to return.
                                                                            	NextToken *string
                                                                            
                                                                            	// A list of all platforms that match the request parameters.
                                                                            	Platforms []types.SigningPlatform
                                                                            
                                                                            	// Metadata pertaining to the operation's result.
                                                                            	ResultMetadata middleware.Metadata
                                                                            }

                                                                            type ListSigningPlatformsPaginator

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

                                                                              ListSigningPlatformsPaginator is a paginator for ListSigningPlatforms

                                                                              func NewListSigningPlatformsPaginator

                                                                                NewListSigningPlatformsPaginator returns a new ListSigningPlatformsPaginator

                                                                                func (*ListSigningPlatformsPaginator) HasMorePages

                                                                                func (p *ListSigningPlatformsPaginator) HasMorePages() bool

                                                                                  HasMorePages returns a boolean indicating whether more pages are available

                                                                                  func (*ListSigningPlatformsPaginator) NextPage

                                                                                    NextPage retrieves the next ListSigningPlatforms page.

                                                                                    type ListSigningPlatformsPaginatorOptions

                                                                                    type ListSigningPlatformsPaginatorOptions struct {
                                                                                    	// The maximum number of results to be returned by this operation.
                                                                                    	Limit int32
                                                                                    
                                                                                    	// Set to true if pagination should stop if the service returns a pagination token
                                                                                    	// that matches the most recent token provided to the service.
                                                                                    	StopOnDuplicateToken bool
                                                                                    }

                                                                                      ListSigningPlatformsPaginatorOptions is the paginator options for ListSigningPlatforms

                                                                                      type ListSigningProfilesAPIClient

                                                                                      type ListSigningProfilesAPIClient interface {
                                                                                      	ListSigningProfiles(context.Context, *ListSigningProfilesInput, ...func(*Options)) (*ListSigningProfilesOutput, error)
                                                                                      }

                                                                                        ListSigningProfilesAPIClient is a client that implements the ListSigningProfiles operation.

                                                                                        type ListSigningProfilesInput

                                                                                        type ListSigningProfilesInput struct {
                                                                                        
                                                                                        	// Designates whether to include profiles with the status of CANCELED.
                                                                                        	IncludeCanceled bool
                                                                                        
                                                                                        	// The maximum number of profiles to be returned.
                                                                                        	MaxResults *int32
                                                                                        
                                                                                        	// 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
                                                                                        
                                                                                        	// Filters results to return only signing jobs initiated for a specified signing
                                                                                        	// platform.
                                                                                        	PlatformId *string
                                                                                        
                                                                                        	// Filters results to return only signing jobs with statuses in the specified list.
                                                                                        	Statuses []types.SigningProfileStatus
                                                                                        }

                                                                                        type ListSigningProfilesOutput

                                                                                        type ListSigningProfilesOutput struct {
                                                                                        
                                                                                        	// Value for specifying the next set of paginated results to return.
                                                                                        	NextToken *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 []types.SigningProfile
                                                                                        
                                                                                        	// Metadata pertaining to the operation's result.
                                                                                        	ResultMetadata middleware.Metadata
                                                                                        }

                                                                                        type ListSigningProfilesPaginator

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

                                                                                          ListSigningProfilesPaginator is a paginator for ListSigningProfiles

                                                                                          func NewListSigningProfilesPaginator

                                                                                          func NewListSigningProfilesPaginator(client ListSigningProfilesAPIClient, params *ListSigningProfilesInput, optFns ...func(*ListSigningProfilesPaginatorOptions)) *ListSigningProfilesPaginator

                                                                                            NewListSigningProfilesPaginator returns a new ListSigningProfilesPaginator

                                                                                            func (*ListSigningProfilesPaginator) HasMorePages

                                                                                            func (p *ListSigningProfilesPaginator) HasMorePages() bool

                                                                                              HasMorePages returns a boolean indicating whether more pages are available

                                                                                              func (*ListSigningProfilesPaginator) NextPage

                                                                                              func (p *ListSigningProfilesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSigningProfilesOutput, error)

                                                                                                NextPage retrieves the next ListSigningProfiles page.

                                                                                                type ListSigningProfilesPaginatorOptions

                                                                                                type ListSigningProfilesPaginatorOptions struct {
                                                                                                	// The maximum number of profiles to be returned.
                                                                                                	Limit int32
                                                                                                
                                                                                                	// Set to true if pagination should stop if the service returns a pagination token
                                                                                                	// that matches the most recent token provided to the service.
                                                                                                	StopOnDuplicateToken bool
                                                                                                }

                                                                                                  ListSigningProfilesPaginatorOptions is the paginator options for ListSigningProfiles

                                                                                                  type ListTagsForResourceInput

                                                                                                  type ListTagsForResourceInput struct {
                                                                                                  
                                                                                                  	// The Amazon Resource Name (ARN) for the signing profile.
                                                                                                  	//
                                                                                                  	// This member is required.
                                                                                                  	ResourceArn *string
                                                                                                  }

                                                                                                  type ListTagsForResourceOutput

                                                                                                  type ListTagsForResourceOutput struct {
                                                                                                  
                                                                                                  	// A list of tags associated with the signing profile.
                                                                                                  	Tags map[string]string
                                                                                                  
                                                                                                  	// Metadata pertaining to the operation's result.
                                                                                                  	ResultMetadata middleware.Metadata
                                                                                                  }

                                                                                                  type Options

                                                                                                  type Options struct {
                                                                                                  	// Set of options to modify how an operation is invoked. These apply to all
                                                                                                  	// operations invoked for this client. Use functional options on operation call to
                                                                                                  	// modify this list for per operation behavior.
                                                                                                  	APIOptions []func(*middleware.Stack) error
                                                                                                  
                                                                                                  	// Configures the events that will be sent to the configured logger.
                                                                                                  	ClientLogMode aws.ClientLogMode
                                                                                                  
                                                                                                  	// The credentials object to use when signing requests.
                                                                                                  	Credentials aws.CredentialsProvider
                                                                                                  
                                                                                                  	// The endpoint options to be used when attempting to resolve an endpoint.
                                                                                                  	EndpointOptions EndpointResolverOptions
                                                                                                  
                                                                                                  	// The service endpoint resolver.
                                                                                                  	EndpointResolver EndpointResolver
                                                                                                  
                                                                                                  	// Signature Version 4 (SigV4) Signer
                                                                                                  	HTTPSignerV4 HTTPSignerV4
                                                                                                  
                                                                                                  	// Provides idempotency tokens values that will be automatically populated into
                                                                                                  	// idempotent API operations.
                                                                                                  	IdempotencyTokenProvider IdempotencyTokenProvider
                                                                                                  
                                                                                                  	// The logger writer interface to write logging messages to.
                                                                                                  	Logger logging.Logger
                                                                                                  
                                                                                                  	// The region to send requests to. (Required)
                                                                                                  	Region string
                                                                                                  
                                                                                                  	// Retryer guides how HTTP requests should be retried in case of recoverable
                                                                                                  	// failures. When nil the API client will use a default retryer.
                                                                                                  	Retryer aws.Retryer
                                                                                                  
                                                                                                  	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
                                                                                                  	// implementation if nil.
                                                                                                  	HTTPClient HTTPClient
                                                                                                  }

                                                                                                  func (Options) Copy

                                                                                                  func (o Options) Copy() Options

                                                                                                    Copy creates a clone where the APIOptions list is deep copied.

                                                                                                    type PutSigningProfileInput

                                                                                                    type PutSigningProfileInput struct {
                                                                                                    
                                                                                                    	// The ID of the signing platform to be created.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	PlatformId *string
                                                                                                    
                                                                                                    	// The name of the signing profile to be created.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	ProfileName *string
                                                                                                    
                                                                                                    	// 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 *types.SigningPlatformOverrides
                                                                                                    
                                                                                                    	// The default validity period override for any signature generated using this
                                                                                                    	// signing profile. If unspecified, the default is 135 months.
                                                                                                    	SignatureValidityPeriod *types.SignatureValidityPeriod
                                                                                                    
                                                                                                    	// The AWS Certificate Manager certificate that will be used to sign code with the
                                                                                                    	// new signing profile.
                                                                                                    	SigningMaterial *types.SigningMaterial
                                                                                                    
                                                                                                    	// Map of key-value pairs for signing. These can include any information that you
                                                                                                    	// want to use during signing.
                                                                                                    	SigningParameters map[string]string
                                                                                                    
                                                                                                    	// Tags to be associated with the signing profile that is being created.
                                                                                                    	Tags map[string]string
                                                                                                    }

                                                                                                    type PutSigningProfileOutput

                                                                                                    type PutSigningProfileOutput struct {
                                                                                                    
                                                                                                    	// The Amazon Resource Name (ARN) of the signing profile created.
                                                                                                    	Arn *string
                                                                                                    
                                                                                                    	// The version of the signing profile being created.
                                                                                                    	ProfileVersion *string
                                                                                                    
                                                                                                    	// The signing profile ARN, including the profile version.
                                                                                                    	ProfileVersionArn *string
                                                                                                    
                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                    }

                                                                                                    type RemoveProfilePermissionInput

                                                                                                    type RemoveProfilePermissionInput struct {
                                                                                                    
                                                                                                    	// A human-readable name for the signing profile with permissions to be removed.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	ProfileName *string
                                                                                                    
                                                                                                    	// An identifier for the current revision of the signing profile permissions.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	RevisionId *string
                                                                                                    
                                                                                                    	// A unique identifier for the cross-account permissions statement.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	StatementId *string
                                                                                                    }

                                                                                                    type RemoveProfilePermissionOutput

                                                                                                    type RemoveProfilePermissionOutput struct {
                                                                                                    
                                                                                                    	// An identifier for the current revision of the profile permissions.
                                                                                                    	RevisionId *string
                                                                                                    
                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                    }

                                                                                                    type ResolveEndpoint

                                                                                                    type ResolveEndpoint struct {
                                                                                                    	Resolver EndpointResolver
                                                                                                    	Options  EndpointResolverOptions
                                                                                                    }

                                                                                                    func (*ResolveEndpoint) HandleSerialize

                                                                                                    func (*ResolveEndpoint) ID

                                                                                                    func (*ResolveEndpoint) ID() string

                                                                                                    type RevokeSignatureInput

                                                                                                    type RevokeSignatureInput struct {
                                                                                                    
                                                                                                    	// ID of the signing job to be revoked.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	JobId *string
                                                                                                    
                                                                                                    	// The reason for revoking the signing job.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	Reason *string
                                                                                                    
                                                                                                    	// AWS account ID of the job owner.
                                                                                                    	JobOwner *string
                                                                                                    }

                                                                                                    type RevokeSignatureOutput

                                                                                                    type RevokeSignatureOutput struct {
                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                    }

                                                                                                    type RevokeSigningProfileInput

                                                                                                    type RevokeSigningProfileInput struct {
                                                                                                    
                                                                                                    	// A timestamp for when revocation of a Signing Profile should become effective.
                                                                                                    	// Signatures generated using the signing profile after this timestamp are not
                                                                                                    	// trusted.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	EffectiveTime *time.Time
                                                                                                    
                                                                                                    	// The name of the signing profile to be revoked.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	ProfileName *string
                                                                                                    
                                                                                                    	// The version of the signing profile to be revoked.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	ProfileVersion *string
                                                                                                    
                                                                                                    	// The reason for revoking a signing profile.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	Reason *string
                                                                                                    }

                                                                                                    type RevokeSigningProfileOutput

                                                                                                    type RevokeSigningProfileOutput struct {
                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                    }

                                                                                                    type StartSigningJobInput

                                                                                                    type StartSigningJobInput struct {
                                                                                                    
                                                                                                    	// String that identifies the signing request. All calls after the first that use
                                                                                                    	// this token return the same response as the first call.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	ClientRequestToken *string
                                                                                                    
                                                                                                    	// The S3 bucket in which to save your signed object. The destination contains the
                                                                                                    	// name of your bucket and an optional prefix.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	Destination *types.Destination
                                                                                                    
                                                                                                    	// The name of the signing profile.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	ProfileName *string
                                                                                                    
                                                                                                    	// The S3 bucket that contains the object to sign or a BLOB that contains your raw
                                                                                                    	// code.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	Source *types.Source
                                                                                                    
                                                                                                    	// The AWS account ID of the signing profile owner.
                                                                                                    	ProfileOwner *string
                                                                                                    }

                                                                                                    type StartSigningJobOutput

                                                                                                    type StartSigningJobOutput struct {
                                                                                                    
                                                                                                    	// The ID of your signing job.
                                                                                                    	JobId *string
                                                                                                    
                                                                                                    	// The AWS account ID of the signing job owner.
                                                                                                    	JobOwner *string
                                                                                                    
                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                    }

                                                                                                    type SuccessfulSigningJobWaiter

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

                                                                                                      SuccessfulSigningJobWaiter defines the waiters for SuccessfulSigningJob

                                                                                                      func NewSuccessfulSigningJobWaiter

                                                                                                      func NewSuccessfulSigningJobWaiter(client DescribeSigningJobAPIClient, optFns ...func(*SuccessfulSigningJobWaiterOptions)) *SuccessfulSigningJobWaiter

                                                                                                        NewSuccessfulSigningJobWaiter constructs a SuccessfulSigningJobWaiter.

                                                                                                        func (*SuccessfulSigningJobWaiter) Wait

                                                                                                          Wait calls the waiter function for SuccessfulSigningJob waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

                                                                                                          type SuccessfulSigningJobWaiterOptions

                                                                                                          type SuccessfulSigningJobWaiterOptions struct {
                                                                                                          
                                                                                                          	// Set of options to modify how an operation is invoked. These apply to all
                                                                                                          	// operations invoked for this client. Use functional options on operation call to
                                                                                                          	// modify this list for per operation behavior.
                                                                                                          	APIOptions []func(*middleware.Stack) error
                                                                                                          
                                                                                                          	// MinDelay is the minimum amount of time to delay between retries. If unset,
                                                                                                          	// SuccessfulSigningJobWaiter will use default minimum delay of 20 seconds. Note
                                                                                                          	// that MinDelay must resolve to a value lesser than or equal to the MaxDelay.
                                                                                                          	MinDelay time.Duration
                                                                                                          
                                                                                                          	// MaxDelay is the maximum amount of time to delay between retries. If unset or set
                                                                                                          	// to zero, SuccessfulSigningJobWaiter will use default max delay of 120 seconds.
                                                                                                          	// Note that MaxDelay must resolve to value greater than or equal to the MinDelay.
                                                                                                          	MaxDelay time.Duration
                                                                                                          
                                                                                                          	// LogWaitAttempts is used to enable logging for waiter retry attempts
                                                                                                          	LogWaitAttempts bool
                                                                                                          
                                                                                                          	// Retryable is function that can be used to override the service defined
                                                                                                          	// waiter-behavior based on operation output, or returned error. This function is
                                                                                                          	// used by the waiter to decide if a state is retryable or a terminal state. By
                                                                                                          	// default service-modeled logic will populate this option. This option can thus be
                                                                                                          	// used to define a custom waiter state with fall-back to service-modeled waiter
                                                                                                          	// state mutators.The function returns an error in case of a failure state. In case
                                                                                                          	// of retry state, this function returns a bool value of true and nil error, while
                                                                                                          	// in case of success it returns a bool value of false and nil error.
                                                                                                          	Retryable func(context.Context, *DescribeSigningJobInput, *DescribeSigningJobOutput, error) (bool, error)
                                                                                                          }

                                                                                                            SuccessfulSigningJobWaiterOptions are waiter options for SuccessfulSigningJobWaiter

                                                                                                            type TagResourceInput

                                                                                                            type TagResourceInput struct {
                                                                                                            
                                                                                                            	// The Amazon Resource Name (ARN) for the signing profile.
                                                                                                            	//
                                                                                                            	// This member is required.
                                                                                                            	ResourceArn *string
                                                                                                            
                                                                                                            	// One or more tags to be associated with the signing profile.
                                                                                                            	//
                                                                                                            	// This member is required.
                                                                                                            	Tags map[string]string
                                                                                                            }

                                                                                                            type TagResourceOutput

                                                                                                            type TagResourceOutput struct {
                                                                                                            	// Metadata pertaining to the operation's result.
                                                                                                            	ResultMetadata middleware.Metadata
                                                                                                            }

                                                                                                            type UntagResourceInput

                                                                                                            type UntagResourceInput struct {
                                                                                                            
                                                                                                            	// The Amazon Resource Name (ARN) for the signing profile.
                                                                                                            	//
                                                                                                            	// This member is required.
                                                                                                            	ResourceArn *string
                                                                                                            
                                                                                                            	// A list of tag keys to be removed from the signing profile.
                                                                                                            	//
                                                                                                            	// This member is required.
                                                                                                            	TagKeys []string
                                                                                                            }

                                                                                                            type UntagResourceOutput

                                                                                                            type UntagResourceOutput struct {
                                                                                                            	// Metadata pertaining to the operation's result.
                                                                                                            	ResultMetadata middleware.Metadata
                                                                                                            }

                                                                                                            Directories

                                                                                                            Path Synopsis
                                                                                                            internal