AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ClientCertificate

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

type ClientCertificate struct { ClientCertificateId *string `locationName:"clientCertificateId" type:"string"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` ExpirationDate *time.Time `locationName:"expirationDate" type:"timestamp"` PemEncodedCertificate *string `locationName:"pemEncodedCertificate" type:"string"` }

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool. Use Client-Side Certificate (https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html)

ClientCertificateId

Type: *string

The identifier of the client certificate.

CreatedDate

Type: *time.Time

The timestamp when the client certificate was created.

Description

Type: *string

The description of the client certificate.

ExpirationDate

Type: *time.Time

The timestamp when the client certificate will expire.

PemEncodedCertificate

Type: *string

The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

Method

GoString

func (s ClientCertificate) GoString() string

GoString returns the string representation

SetClientCertificateId

func (s *ClientCertificate) SetClientCertificateId(v string) *ClientCertificate

SetClientCertificateId sets the ClientCertificateId field's value.

SetCreatedDate

func (s *ClientCertificate) SetCreatedDate(v time.Time) *ClientCertificate

SetCreatedDate sets the CreatedDate field's value.

SetDescription

func (s *ClientCertificate) SetDescription(v string) *ClientCertificate

SetDescription sets the Description field's value.

SetExpirationDate

func (s *ClientCertificate) SetExpirationDate(v time.Time) *ClientCertificate

SetExpirationDate sets the ExpirationDate field's value.

SetPemEncodedCertificate

func (s *ClientCertificate) SetPemEncodedCertificate(v string) *ClientCertificate

SetPemEncodedCertificate sets the PemEncodedCertificate field's value.

String

func (s ClientCertificate) String() string

String returns the string representation

On this page: