rolesanywhere

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package rolesanywhere provides the client and types for making API requests to IAM Roles Anywhere.

Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications that run outside of Amazon Web Services to obtain temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to manage long-term credentials for workloads running outside of Amazon Web Services.

To use IAM Roles Anywhere, your workloads must use X.509 certificates issued by their certificate authority (CA). You register the CA with IAM Roles Anywhere as a trust anchor to establish trust between your public key infrastructure (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you can use Private Certificate Authority to create a CA and then use that to establish trust with IAM Roles Anywhere.

This guide describes the IAM Roles Anywhere operations that you can call programmatically. For more information about IAM Roles Anywhere, see the IAM Roles Anywhere User Guide (https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html).

See https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10 for more information on this service.

See rolesanywhere package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/rolesanywhere/

Using the Client

To contact IAM Roles Anywhere with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the IAM Roles Anywhere client RolesAnywhere for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/rolesanywhere/#New

Index

Constants

View Source
const (
	// NotificationEventCaCertificateExpiry is a NotificationEvent enum value
	NotificationEventCaCertificateExpiry = "CA_CERTIFICATE_EXPIRY"

	// NotificationEventEndEntityCertificateExpiry is a NotificationEvent enum value
	NotificationEventEndEntityCertificateExpiry = "END_ENTITY_CERTIFICATE_EXPIRY"
)
View Source
const (
	// TrustAnchorTypeAwsAcmPca is a TrustAnchorType enum value
	TrustAnchorTypeAwsAcmPca = "AWS_ACM_PCA"

	// TrustAnchorTypeCertificateBundle is a TrustAnchorType enum value
	TrustAnchorTypeCertificateBundle = "CERTIFICATE_BUNDLE"

	// TrustAnchorTypeSelfSignedRepository is a TrustAnchorType enum value
	TrustAnchorTypeSelfSignedRepository = "SELF_SIGNED_REPOSITORY"
)
View Source
const (

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

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

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTagsException".
	//
	// Too many tags.
	ErrCodeTooManyTagsException = "TooManyTagsException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Validation exception error.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "RolesAnywhere" // Name of service.
	EndpointsID = "rolesanywhere" // ID to lookup a service endpoint with.
	ServiceID   = "RolesAnywhere" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// NotificationChannelAll is a NotificationChannel enum value
	NotificationChannelAll = "ALL"
)

Variables

This section is empty.

Functions

func NotificationChannel_Values

func NotificationChannel_Values() []string

NotificationChannel_Values returns all elements of the NotificationChannel enum

func NotificationEvent_Values

func NotificationEvent_Values() []string

NotificationEvent_Values returns all elements of the NotificationEvent enum

func TrustAnchorType_Values

func TrustAnchorType_Values() []string

TrustAnchorType_Values returns all elements of the TrustAnchorType enum

Types

type AccessDeniedException

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

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

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

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

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

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

type CreateProfileInput

type CreateProfileInput struct {

	// The number of seconds the vended session credentials are valid for.
	DurationSeconds *int64 `locationName:"durationSeconds" min:"900" type:"integer"`

	// Specifies whether the profile is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// A list of managed policy ARNs that apply to the vended session credentials.
	ManagedPolicyArns []*string `locationName:"managedPolicyArns" type:"list"`

	// The name of the profile.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// Specifies whether instance properties are required in temporary credential
	// requests with this profile.
	RequireInstanceProperties *bool `locationName:"requireInstanceProperties" type:"boolean"`

	// A list of IAM roles that this profile can assume in a temporary credential
	// request.
	//
	// RoleArns is a required field
	RoleArns []*string `locationName:"roleArns" type:"list" required:"true"`

	// A session policy that applies to the trust boundary of the vended session
	// credentials.
	SessionPolicy *string `locationName:"sessionPolicy" type:"string"`

	// The tags to attach to the profile.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateProfileInput) GoString

func (s CreateProfileInput) GoString() string

GoString returns the string representation.

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

func (*CreateProfileInput) SetDurationSeconds

func (s *CreateProfileInput) SetDurationSeconds(v int64) *CreateProfileInput

SetDurationSeconds sets the DurationSeconds field's value.

func (*CreateProfileInput) SetEnabled

func (s *CreateProfileInput) SetEnabled(v bool) *CreateProfileInput

SetEnabled sets the Enabled field's value.

func (*CreateProfileInput) SetManagedPolicyArns

func (s *CreateProfileInput) SetManagedPolicyArns(v []*string) *CreateProfileInput

SetManagedPolicyArns sets the ManagedPolicyArns field's value.

func (*CreateProfileInput) SetName

SetName sets the Name field's value.

func (*CreateProfileInput) SetRequireInstanceProperties

func (s *CreateProfileInput) SetRequireInstanceProperties(v bool) *CreateProfileInput

SetRequireInstanceProperties sets the RequireInstanceProperties field's value.

func (*CreateProfileInput) SetRoleArns

func (s *CreateProfileInput) SetRoleArns(v []*string) *CreateProfileInput

SetRoleArns sets the RoleArns field's value.

func (*CreateProfileInput) SetSessionPolicy

func (s *CreateProfileInput) SetSessionPolicy(v string) *CreateProfileInput

SetSessionPolicy sets the SessionPolicy field's value.

func (*CreateProfileInput) SetTags

func (s *CreateProfileInput) SetTags(v []*Tag) *CreateProfileInput

SetTags sets the Tags field's value.

func (CreateProfileInput) String

func (s CreateProfileInput) String() string

String returns the string representation.

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

func (*CreateProfileInput) Validate

func (s *CreateProfileInput) Validate() error

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

type CreateProfileOutput

type CreateProfileOutput struct {

	// The state of the profile after a read or write operation.
	Profile *ProfileDetail `locationName:"profile" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateProfileOutput) GoString

func (s CreateProfileOutput) GoString() string

GoString returns the string representation.

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

func (*CreateProfileOutput) SetProfile

SetProfile sets the Profile field's value.

func (CreateProfileOutput) String

func (s CreateProfileOutput) String() string

String returns the string representation.

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

type CreateTrustAnchorInput

type CreateTrustAnchorInput struct {

	// Specifies whether the trust anchor is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// The name of the trust anchor.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// A list of notification settings to be associated to the trust anchor.
	NotificationSettings []*NotificationSetting `locationName:"notificationSettings" type:"list"`

	// The trust anchor type and its related certificate data.
	//
	// Source is a required field
	Source *Source `locationName:"source" type:"structure" required:"true"`

	// The tags to attach to the trust anchor.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateTrustAnchorInput) GoString

func (s CreateTrustAnchorInput) GoString() string

GoString returns the string representation.

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

func (*CreateTrustAnchorInput) SetEnabled

SetEnabled sets the Enabled field's value.

func (*CreateTrustAnchorInput) SetName

SetName sets the Name field's value.

func (*CreateTrustAnchorInput) SetNotificationSettings

func (s *CreateTrustAnchorInput) SetNotificationSettings(v []*NotificationSetting) *CreateTrustAnchorInput

SetNotificationSettings sets the NotificationSettings field's value.

func (*CreateTrustAnchorInput) SetSource

SetSource sets the Source field's value.

func (*CreateTrustAnchorInput) SetTags

SetTags sets the Tags field's value.

func (CreateTrustAnchorInput) String

func (s CreateTrustAnchorInput) String() string

String returns the string representation.

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

func (*CreateTrustAnchorInput) Validate

func (s *CreateTrustAnchorInput) Validate() error

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

type CreateTrustAnchorOutput

type CreateTrustAnchorOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateTrustAnchorOutput) GoString

func (s CreateTrustAnchorOutput) GoString() string

GoString returns the string representation.

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

func (*CreateTrustAnchorOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (CreateTrustAnchorOutput) String

func (s CreateTrustAnchorOutput) String() string

String returns the string representation.

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

type CredentialSummary

type CredentialSummary struct {

	// Indicates whether the credential is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// Indicates whether the temporary credential request was successful.
	Failed *bool `locationName:"failed" type:"boolean"`

	// The fully qualified domain name of the issuing certificate for the presented
	// end-entity certificate.
	Issuer *string `locationName:"issuer" type:"string"`

	// The ISO-8601 time stamp of when the certificate was last used in a temporary
	// credential request.
	SeenAt *time.Time `locationName:"seenAt" type:"timestamp" timestampFormat:"iso8601"`

	// The serial number of the certificate.
	SerialNumber *string `locationName:"serialNumber" type:"string"`

	// The PEM-encoded data of the certificate.
	X509CertificateData *string `locationName:"x509CertificateData" type:"string"`
	// contains filtered or unexported fields
}

A record of a presented X509 credential from a temporary credential request.

func (CredentialSummary) GoString

func (s CredentialSummary) GoString() string

GoString returns the string representation.

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

func (*CredentialSummary) SetEnabled

func (s *CredentialSummary) SetEnabled(v bool) *CredentialSummary

SetEnabled sets the Enabled field's value.

func (*CredentialSummary) SetFailed

func (s *CredentialSummary) SetFailed(v bool) *CredentialSummary

SetFailed sets the Failed field's value.

func (*CredentialSummary) SetIssuer

func (s *CredentialSummary) SetIssuer(v string) *CredentialSummary

SetIssuer sets the Issuer field's value.

func (*CredentialSummary) SetSeenAt

func (s *CredentialSummary) SetSeenAt(v time.Time) *CredentialSummary

SetSeenAt sets the SeenAt field's value.

func (*CredentialSummary) SetSerialNumber

func (s *CredentialSummary) SetSerialNumber(v string) *CredentialSummary

SetSerialNumber sets the SerialNumber field's value.

func (*CredentialSummary) SetX509CertificateData

func (s *CredentialSummary) SetX509CertificateData(v string) *CredentialSummary

SetX509CertificateData sets the X509CertificateData field's value.

func (CredentialSummary) String

func (s CredentialSummary) String() string

String returns the string representation.

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

type CrlDetail

type CrlDetail struct {

	// The ISO-8601 timestamp when the certificate revocation list (CRL) was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The ARN of the certificate revocation list (CRL).
	CrlArn *string `locationName:"crlArn" type:"string"`

	// The state of the certificate revocation list (CRL) after a read or write
	// operation.
	// CrlData is automatically base64 encoded/decoded by the SDK.
	CrlData []byte `locationName:"crlData" type:"blob"`

	// The unique identifier of the certificate revocation list (CRL).
	CrlId *string `locationName:"crlId" min:"36" type:"string"`

	// Indicates whether the certificate revocation list (CRL) is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// The name of the certificate revocation list (CRL).
	Name *string `locationName:"name" type:"string"`

	// The ARN of the TrustAnchor the certificate revocation list (CRL) will provide
	// revocation for.
	TrustAnchorArn *string `locationName:"trustAnchorArn" type:"string"`

	// The ISO-8601 timestamp when the certificate revocation list (CRL) was last
	// updated.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The state of the certificate revocation list (CRL) after a read or write operation.

func (CrlDetail) GoString

func (s CrlDetail) GoString() string

GoString returns the string representation.

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

func (*CrlDetail) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*CrlDetail) SetCrlArn

func (s *CrlDetail) SetCrlArn(v string) *CrlDetail

SetCrlArn sets the CrlArn field's value.

func (*CrlDetail) SetCrlData

func (s *CrlDetail) SetCrlData(v []byte) *CrlDetail

SetCrlData sets the CrlData field's value.

func (*CrlDetail) SetCrlId

func (s *CrlDetail) SetCrlId(v string) *CrlDetail

SetCrlId sets the CrlId field's value.

func (*CrlDetail) SetEnabled

func (s *CrlDetail) SetEnabled(v bool) *CrlDetail

SetEnabled sets the Enabled field's value.

func (*CrlDetail) SetName

func (s *CrlDetail) SetName(v string) *CrlDetail

SetName sets the Name field's value.

func (*CrlDetail) SetTrustAnchorArn

func (s *CrlDetail) SetTrustAnchorArn(v string) *CrlDetail

SetTrustAnchorArn sets the TrustAnchorArn field's value.

func (*CrlDetail) SetUpdatedAt

func (s *CrlDetail) SetUpdatedAt(v time.Time) *CrlDetail

SetUpdatedAt sets the UpdatedAt field's value.

func (CrlDetail) String

func (s CrlDetail) String() string

String returns the string representation.

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

type DeleteCrlInput

type DeleteCrlInput struct {

	// The unique identifier of the certificate revocation list (CRL).
	//
	// CrlId is a required field
	CrlId *string `location:"uri" locationName:"crlId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCrlInput) GoString

func (s DeleteCrlInput) GoString() string

GoString returns the string representation.

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

func (*DeleteCrlInput) SetCrlId

func (s *DeleteCrlInput) SetCrlId(v string) *DeleteCrlInput

SetCrlId sets the CrlId field's value.

func (DeleteCrlInput) String

func (s DeleteCrlInput) String() string

String returns the string representation.

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

func (*DeleteCrlInput) Validate

func (s *DeleteCrlInput) Validate() error

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

type DeleteCrlOutput

type DeleteCrlOutput struct {

	// The state of the certificate revocation list (CRL) after a read or write
	// operation.
	//
	// Crl is a required field
	Crl *CrlDetail `locationName:"crl" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCrlOutput) GoString

func (s DeleteCrlOutput) GoString() string

GoString returns the string representation.

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

func (*DeleteCrlOutput) SetCrl

func (s *DeleteCrlOutput) SetCrl(v *CrlDetail) *DeleteCrlOutput

SetCrl sets the Crl field's value.

func (DeleteCrlOutput) String

func (s DeleteCrlOutput) String() string

String returns the string representation.

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

type DeleteProfileInput

type DeleteProfileInput struct {

	// The unique identifier of the profile.
	//
	// ProfileId is a required field
	ProfileId *string `location:"uri" locationName:"profileId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteProfileInput) GoString

func (s DeleteProfileInput) GoString() string

GoString returns the string representation.

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

func (*DeleteProfileInput) SetProfileId

func (s *DeleteProfileInput) SetProfileId(v string) *DeleteProfileInput

SetProfileId sets the ProfileId field's value.

func (DeleteProfileInput) String

func (s DeleteProfileInput) String() string

String returns the string representation.

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

func (*DeleteProfileInput) Validate

func (s *DeleteProfileInput) Validate() error

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

type DeleteProfileOutput

type DeleteProfileOutput struct {

	// The state of the profile after a read or write operation.
	Profile *ProfileDetail `locationName:"profile" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteProfileOutput) GoString

func (s DeleteProfileOutput) GoString() string

GoString returns the string representation.

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

func (*DeleteProfileOutput) SetProfile

SetProfile sets the Profile field's value.

func (DeleteProfileOutput) String

func (s DeleteProfileOutput) String() string

String returns the string representation.

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

type DeleteTrustAnchorInput

type DeleteTrustAnchorInput struct {

	// The unique identifier of the trust anchor.
	//
	// TrustAnchorId is a required field
	TrustAnchorId *string `location:"uri" locationName:"trustAnchorId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTrustAnchorInput) GoString

func (s DeleteTrustAnchorInput) GoString() string

GoString returns the string representation.

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

func (*DeleteTrustAnchorInput) SetTrustAnchorId

func (s *DeleteTrustAnchorInput) SetTrustAnchorId(v string) *DeleteTrustAnchorInput

SetTrustAnchorId sets the TrustAnchorId field's value.

func (DeleteTrustAnchorInput) String

func (s DeleteTrustAnchorInput) String() string

String returns the string representation.

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

func (*DeleteTrustAnchorInput) Validate

func (s *DeleteTrustAnchorInput) Validate() error

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

type DeleteTrustAnchorOutput

type DeleteTrustAnchorOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTrustAnchorOutput) GoString

func (s DeleteTrustAnchorOutput) GoString() string

GoString returns the string representation.

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

func (*DeleteTrustAnchorOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (DeleteTrustAnchorOutput) String

func (s DeleteTrustAnchorOutput) String() string

String returns the string representation.

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

type DisableCrlInput

type DisableCrlInput struct {

	// The unique identifier of the certificate revocation list (CRL).
	//
	// CrlId is a required field
	CrlId *string `location:"uri" locationName:"crlId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisableCrlInput) GoString

func (s DisableCrlInput) GoString() string

GoString returns the string representation.

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

func (*DisableCrlInput) SetCrlId

func (s *DisableCrlInput) SetCrlId(v string) *DisableCrlInput

SetCrlId sets the CrlId field's value.

func (DisableCrlInput) String

func (s DisableCrlInput) String() string

String returns the string representation.

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

func (*DisableCrlInput) Validate

func (s *DisableCrlInput) Validate() error

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

type DisableCrlOutput

type DisableCrlOutput struct {

	// The state of the certificate revocation list (CRL) after a read or write
	// operation.
	//
	// Crl is a required field
	Crl *CrlDetail `locationName:"crl" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DisableCrlOutput) GoString

func (s DisableCrlOutput) GoString() string

GoString returns the string representation.

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

func (*DisableCrlOutput) SetCrl

SetCrl sets the Crl field's value.

func (DisableCrlOutput) String

func (s DisableCrlOutput) String() string

String returns the string representation.

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

type DisableProfileInput

type DisableProfileInput struct {

	// The unique identifier of the profile.
	//
	// ProfileId is a required field
	ProfileId *string `location:"uri" locationName:"profileId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisableProfileInput) GoString

func (s DisableProfileInput) GoString() string

GoString returns the string representation.

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

func (*DisableProfileInput) SetProfileId

func (s *DisableProfileInput) SetProfileId(v string) *DisableProfileInput

SetProfileId sets the ProfileId field's value.

func (DisableProfileInput) String

func (s DisableProfileInput) String() string

String returns the string representation.

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

func (*DisableProfileInput) Validate

func (s *DisableProfileInput) Validate() error

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

type DisableProfileOutput

type DisableProfileOutput struct {

	// The state of the profile after a read or write operation.
	Profile *ProfileDetail `locationName:"profile" type:"structure"`
	// contains filtered or unexported fields
}

func (DisableProfileOutput) GoString

func (s DisableProfileOutput) GoString() string

GoString returns the string representation.

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

func (*DisableProfileOutput) SetProfile

SetProfile sets the Profile field's value.

func (DisableProfileOutput) String

func (s DisableProfileOutput) String() string

String returns the string representation.

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

type DisableTrustAnchorInput

type DisableTrustAnchorInput struct {

	// The unique identifier of the trust anchor.
	//
	// TrustAnchorId is a required field
	TrustAnchorId *string `location:"uri" locationName:"trustAnchorId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisableTrustAnchorInput) GoString

func (s DisableTrustAnchorInput) GoString() string

GoString returns the string representation.

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

func (*DisableTrustAnchorInput) SetTrustAnchorId

func (s *DisableTrustAnchorInput) SetTrustAnchorId(v string) *DisableTrustAnchorInput

SetTrustAnchorId sets the TrustAnchorId field's value.

func (DisableTrustAnchorInput) String

func (s DisableTrustAnchorInput) String() string

String returns the string representation.

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

func (*DisableTrustAnchorInput) Validate

func (s *DisableTrustAnchorInput) Validate() error

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

type DisableTrustAnchorOutput

type DisableTrustAnchorOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DisableTrustAnchorOutput) GoString

func (s DisableTrustAnchorOutput) GoString() string

GoString returns the string representation.

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

func (*DisableTrustAnchorOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (DisableTrustAnchorOutput) String

func (s DisableTrustAnchorOutput) String() string

String returns the string representation.

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

type EnableCrlInput

type EnableCrlInput struct {

	// The unique identifier of the certificate revocation list (CRL).
	//
	// CrlId is a required field
	CrlId *string `location:"uri" locationName:"crlId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EnableCrlInput) GoString

func (s EnableCrlInput) GoString() string

GoString returns the string representation.

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

func (*EnableCrlInput) SetCrlId

func (s *EnableCrlInput) SetCrlId(v string) *EnableCrlInput

SetCrlId sets the CrlId field's value.

func (EnableCrlInput) String

func (s EnableCrlInput) String() string

String returns the string representation.

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

func (*EnableCrlInput) Validate

func (s *EnableCrlInput) Validate() error

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

type EnableCrlOutput

type EnableCrlOutput struct {

	// The state of the certificate revocation list (CRL) after a read or write
	// operation.
	//
	// Crl is a required field
	Crl *CrlDetail `locationName:"crl" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (EnableCrlOutput) GoString

func (s EnableCrlOutput) GoString() string

GoString returns the string representation.

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

func (*EnableCrlOutput) SetCrl

func (s *EnableCrlOutput) SetCrl(v *CrlDetail) *EnableCrlOutput

SetCrl sets the Crl field's value.

func (EnableCrlOutput) String

func (s EnableCrlOutput) String() string

String returns the string representation.

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

type EnableProfileInput

type EnableProfileInput struct {

	// The unique identifier of the profile.
	//
	// ProfileId is a required field
	ProfileId *string `location:"uri" locationName:"profileId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EnableProfileInput) GoString

func (s EnableProfileInput) GoString() string

GoString returns the string representation.

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

func (*EnableProfileInput) SetProfileId

func (s *EnableProfileInput) SetProfileId(v string) *EnableProfileInput

SetProfileId sets the ProfileId field's value.

func (EnableProfileInput) String

func (s EnableProfileInput) String() string

String returns the string representation.

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

func (*EnableProfileInput) Validate

func (s *EnableProfileInput) Validate() error

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

type EnableProfileOutput

type EnableProfileOutput struct {

	// The state of the profile after a read or write operation.
	Profile *ProfileDetail `locationName:"profile" type:"structure"`
	// contains filtered or unexported fields
}

func (EnableProfileOutput) GoString

func (s EnableProfileOutput) GoString() string

GoString returns the string representation.

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

func (*EnableProfileOutput) SetProfile

SetProfile sets the Profile field's value.

func (EnableProfileOutput) String

func (s EnableProfileOutput) String() string

String returns the string representation.

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

type EnableTrustAnchorInput

type EnableTrustAnchorInput struct {

	// The unique identifier of the trust anchor.
	//
	// TrustAnchorId is a required field
	TrustAnchorId *string `location:"uri" locationName:"trustAnchorId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EnableTrustAnchorInput) GoString

func (s EnableTrustAnchorInput) GoString() string

GoString returns the string representation.

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

func (*EnableTrustAnchorInput) SetTrustAnchorId

func (s *EnableTrustAnchorInput) SetTrustAnchorId(v string) *EnableTrustAnchorInput

SetTrustAnchorId sets the TrustAnchorId field's value.

func (EnableTrustAnchorInput) String

func (s EnableTrustAnchorInput) String() string

String returns the string representation.

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

func (*EnableTrustAnchorInput) Validate

func (s *EnableTrustAnchorInput) Validate() error

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

type EnableTrustAnchorOutput

type EnableTrustAnchorOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (EnableTrustAnchorOutput) GoString

func (s EnableTrustAnchorOutput) GoString() string

GoString returns the string representation.

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

func (*EnableTrustAnchorOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (EnableTrustAnchorOutput) String

func (s EnableTrustAnchorOutput) String() string

String returns the string representation.

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

type GetCrlInput

type GetCrlInput struct {

	// The unique identifier of the certificate revocation list (CRL).
	//
	// CrlId is a required field
	CrlId *string `location:"uri" locationName:"crlId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetCrlInput) GoString

func (s GetCrlInput) GoString() string

GoString returns the string representation.

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

func (*GetCrlInput) SetCrlId

func (s *GetCrlInput) SetCrlId(v string) *GetCrlInput

SetCrlId sets the CrlId field's value.

func (GetCrlInput) String

func (s GetCrlInput) String() string

String returns the string representation.

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

func (*GetCrlInput) Validate

func (s *GetCrlInput) Validate() error

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

type GetCrlOutput

type GetCrlOutput struct {

	// The state of the certificate revocation list (CRL) after a read or write
	// operation.
	//
	// Crl is a required field
	Crl *CrlDetail `locationName:"crl" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetCrlOutput) GoString

func (s GetCrlOutput) GoString() string

GoString returns the string representation.

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

func (*GetCrlOutput) SetCrl

func (s *GetCrlOutput) SetCrl(v *CrlDetail) *GetCrlOutput

SetCrl sets the Crl field's value.

func (GetCrlOutput) String

func (s GetCrlOutput) String() string

String returns the string representation.

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

type GetProfileInput

type GetProfileInput struct {

	// The unique identifier of the profile.
	//
	// ProfileId is a required field
	ProfileId *string `location:"uri" locationName:"profileId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetProfileInput) GoString

func (s GetProfileInput) GoString() string

GoString returns the string representation.

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

func (*GetProfileInput) SetProfileId

func (s *GetProfileInput) SetProfileId(v string) *GetProfileInput

SetProfileId sets the ProfileId field's value.

func (GetProfileInput) String

func (s GetProfileInput) String() string

String returns the string representation.

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

func (*GetProfileInput) Validate

func (s *GetProfileInput) Validate() error

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

type GetProfileOutput

type GetProfileOutput struct {

	// The state of the profile after a read or write operation.
	Profile *ProfileDetail `locationName:"profile" type:"structure"`
	// contains filtered or unexported fields
}

func (GetProfileOutput) GoString

func (s GetProfileOutput) GoString() string

GoString returns the string representation.

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

func (*GetProfileOutput) SetProfile

func (s *GetProfileOutput) SetProfile(v *ProfileDetail) *GetProfileOutput

SetProfile sets the Profile field's value.

func (GetProfileOutput) String

func (s GetProfileOutput) String() string

String returns the string representation.

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

type GetSubjectInput

type GetSubjectInput struct {

	// The unique identifier of the subject.
	//
	// SubjectId is a required field
	SubjectId *string `location:"uri" locationName:"subjectId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSubjectInput) GoString

func (s GetSubjectInput) GoString() string

GoString returns the string representation.

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

func (*GetSubjectInput) SetSubjectId

func (s *GetSubjectInput) SetSubjectId(v string) *GetSubjectInput

SetSubjectId sets the SubjectId field's value.

func (GetSubjectInput) String

func (s GetSubjectInput) String() string

String returns the string representation.

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

func (*GetSubjectInput) Validate

func (s *GetSubjectInput) Validate() error

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

type GetSubjectOutput

type GetSubjectOutput struct {

	// The state of the subject after a read or write operation.
	Subject *SubjectDetail `locationName:"subject" type:"structure"`
	// contains filtered or unexported fields
}

func (GetSubjectOutput) GoString

func (s GetSubjectOutput) GoString() string

GoString returns the string representation.

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

func (*GetSubjectOutput) SetSubject

func (s *GetSubjectOutput) SetSubject(v *SubjectDetail) *GetSubjectOutput

SetSubject sets the Subject field's value.

func (GetSubjectOutput) String

func (s GetSubjectOutput) String() string

String returns the string representation.

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

type GetTrustAnchorInput

type GetTrustAnchorInput struct {

	// The unique identifier of the trust anchor.
	//
	// TrustAnchorId is a required field
	TrustAnchorId *string `location:"uri" locationName:"trustAnchorId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTrustAnchorInput) GoString

func (s GetTrustAnchorInput) GoString() string

GoString returns the string representation.

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

func (*GetTrustAnchorInput) SetTrustAnchorId

func (s *GetTrustAnchorInput) SetTrustAnchorId(v string) *GetTrustAnchorInput

SetTrustAnchorId sets the TrustAnchorId field's value.

func (GetTrustAnchorInput) String

func (s GetTrustAnchorInput) String() string

String returns the string representation.

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

func (*GetTrustAnchorInput) Validate

func (s *GetTrustAnchorInput) Validate() error

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

type GetTrustAnchorOutput

type GetTrustAnchorOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (GetTrustAnchorOutput) GoString

func (s GetTrustAnchorOutput) GoString() string

GoString returns the string representation.

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

func (*GetTrustAnchorOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (GetTrustAnchorOutput) String

func (s GetTrustAnchorOutput) String() string

String returns the string representation.

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

type ImportCrlInput

type ImportCrlInput struct {

	// The x509 v3 specified certificate revocation list (CRL).
	// CrlData is automatically base64 encoded/decoded by the SDK.
	//
	// CrlData is a required field
	CrlData []byte `locationName:"crlData" min:"1" type:"blob" required:"true"`

	// Specifies whether the certificate revocation list (CRL) is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// The name of the certificate revocation list (CRL).
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// A list of tags to attach to the certificate revocation list (CRL).
	Tags []*Tag `locationName:"tags" type:"list"`

	// The ARN of the TrustAnchor the certificate revocation list (CRL) will provide
	// revocation for.
	//
	// TrustAnchorArn is a required field
	TrustAnchorArn *string `locationName:"trustAnchorArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ImportCrlInput) GoString

func (s ImportCrlInput) GoString() string

GoString returns the string representation.

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

func (*ImportCrlInput) SetCrlData

func (s *ImportCrlInput) SetCrlData(v []byte) *ImportCrlInput

SetCrlData sets the CrlData field's value.

func (*ImportCrlInput) SetEnabled

func (s *ImportCrlInput) SetEnabled(v bool) *ImportCrlInput

SetEnabled sets the Enabled field's value.

func (*ImportCrlInput) SetName

func (s *ImportCrlInput) SetName(v string) *ImportCrlInput

SetName sets the Name field's value.

func (*ImportCrlInput) SetTags

func (s *ImportCrlInput) SetTags(v []*Tag) *ImportCrlInput

SetTags sets the Tags field's value.

func (*ImportCrlInput) SetTrustAnchorArn

func (s *ImportCrlInput) SetTrustAnchorArn(v string) *ImportCrlInput

SetTrustAnchorArn sets the TrustAnchorArn field's value.

func (ImportCrlInput) String

func (s ImportCrlInput) String() string

String returns the string representation.

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

func (*ImportCrlInput) Validate

func (s *ImportCrlInput) Validate() error

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

type ImportCrlOutput

type ImportCrlOutput struct {

	// The state of the certificate revocation list (CRL) after a read or write
	// operation.
	//
	// Crl is a required field
	Crl *CrlDetail `locationName:"crl" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ImportCrlOutput) GoString

func (s ImportCrlOutput) GoString() string

GoString returns the string representation.

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

func (*ImportCrlOutput) SetCrl

func (s *ImportCrlOutput) SetCrl(v *CrlDetail) *ImportCrlOutput

SetCrl sets the Crl field's value.

func (ImportCrlOutput) String

func (s ImportCrlOutput) String() string

String returns the string representation.

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

type InstanceProperty

type InstanceProperty struct {

	// Indicates whether the temporary credential request was successful.
	Failed *bool `locationName:"failed" type:"boolean"`

	// A list of instanceProperty objects.
	Properties map[string]*string `locationName:"properties" type:"map"`

	// The ISO-8601 time stamp of when the certificate was last used in a temporary
	// credential request.
	SeenAt *time.Time `locationName:"seenAt" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

A key-value pair you set that identifies a property of the authenticating instance.

func (InstanceProperty) GoString

func (s InstanceProperty) GoString() string

GoString returns the string representation.

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

func (*InstanceProperty) SetFailed

func (s *InstanceProperty) SetFailed(v bool) *InstanceProperty

SetFailed sets the Failed field's value.

func (*InstanceProperty) SetProperties

func (s *InstanceProperty) SetProperties(v map[string]*string) *InstanceProperty

SetProperties sets the Properties field's value.

func (*InstanceProperty) SetSeenAt

func (s *InstanceProperty) SetSeenAt(v time.Time) *InstanceProperty

SetSeenAt sets the SeenAt field's value.

func (InstanceProperty) String

func (s InstanceProperty) String() string

String returns the string representation.

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

type ListCrlsInput

type ListCrlsInput struct {

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The number of resources in the paginated list.
	PageSize *int64 `location:"querystring" locationName:"pageSize" type:"integer"`
	// contains filtered or unexported fields
}

func (ListCrlsInput) GoString

func (s ListCrlsInput) GoString() string

GoString returns the string representation.

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

func (*ListCrlsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListCrlsInput) SetPageSize

func (s *ListCrlsInput) SetPageSize(v int64) *ListCrlsInput

SetPageSize sets the PageSize field's value.

func (ListCrlsInput) String

func (s ListCrlsInput) String() string

String returns the string representation.

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

func (*ListCrlsInput) Validate

func (s *ListCrlsInput) Validate() error

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

type ListCrlsOutput

type ListCrlsOutput struct {

	// A list of certificate revocation lists (CRL).
	Crls []*CrlDetail `locationName:"crls" type:"list"`

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListCrlsOutput) GoString

func (s ListCrlsOutput) GoString() string

GoString returns the string representation.

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

func (*ListCrlsOutput) SetCrls

func (s *ListCrlsOutput) SetCrls(v []*CrlDetail) *ListCrlsOutput

SetCrls sets the Crls field's value.

func (*ListCrlsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListCrlsOutput) String

func (s ListCrlsOutput) String() string

String returns the string representation.

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

type ListProfilesInput

type ListProfilesInput struct {

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The number of resources in the paginated list.
	PageSize *int64 `location:"querystring" locationName:"pageSize" type:"integer"`
	// contains filtered or unexported fields
}

func (ListProfilesInput) GoString

func (s ListProfilesInput) GoString() string

GoString returns the string representation.

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

func (*ListProfilesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListProfilesInput) SetPageSize

func (s *ListProfilesInput) SetPageSize(v int64) *ListProfilesInput

SetPageSize sets the PageSize field's value.

func (ListProfilesInput) String

func (s ListProfilesInput) String() string

String returns the string representation.

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

func (*ListProfilesInput) Validate

func (s *ListProfilesInput) Validate() error

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

type ListProfilesOutput

type ListProfilesOutput struct {

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of profiles.
	Profiles []*ProfileDetail `locationName:"profiles" type:"list"`
	// contains filtered or unexported fields
}

func (ListProfilesOutput) GoString

func (s ListProfilesOutput) GoString() string

GoString returns the string representation.

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

func (*ListProfilesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListProfilesOutput) SetProfiles

func (s *ListProfilesOutput) SetProfiles(v []*ProfileDetail) *ListProfilesOutput

SetProfiles sets the Profiles field's value.

func (ListProfilesOutput) String

func (s ListProfilesOutput) String() string

String returns the string representation.

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

type ListSubjectsInput

type ListSubjectsInput struct {

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The number of resources in the paginated list.
	PageSize *int64 `location:"querystring" locationName:"pageSize" type:"integer"`
	// contains filtered or unexported fields
}

func (ListSubjectsInput) GoString

func (s ListSubjectsInput) GoString() string

GoString returns the string representation.

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

func (*ListSubjectsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSubjectsInput) SetPageSize

func (s *ListSubjectsInput) SetPageSize(v int64) *ListSubjectsInput

SetPageSize sets the PageSize field's value.

func (ListSubjectsInput) String

func (s ListSubjectsInput) String() string

String returns the string representation.

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

func (*ListSubjectsInput) Validate

func (s *ListSubjectsInput) Validate() error

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

type ListSubjectsOutput

type ListSubjectsOutput struct {

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of subjects.
	Subjects []*SubjectSummary `locationName:"subjects" type:"list"`
	// contains filtered or unexported fields
}

func (ListSubjectsOutput) GoString

func (s ListSubjectsOutput) GoString() string

GoString returns the string representation.

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

func (*ListSubjectsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSubjectsOutput) SetSubjects

SetSubjects sets the Subjects field's value.

func (ListSubjectsOutput) String

func (s ListSubjectsOutput) String() string

String returns the string representation.

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

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"querystring" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

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

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// A list of tags attached to the resource.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

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

type ListTrustAnchorsInput

type ListTrustAnchorsInput struct {

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`

	// The number of resources in the paginated list.
	PageSize *int64 `location:"querystring" locationName:"pageSize" type:"integer"`
	// contains filtered or unexported fields
}

func (ListTrustAnchorsInput) GoString

func (s ListTrustAnchorsInput) GoString() string

GoString returns the string representation.

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

func (*ListTrustAnchorsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTrustAnchorsInput) SetPageSize

SetPageSize sets the PageSize field's value.

func (ListTrustAnchorsInput) String

func (s ListTrustAnchorsInput) String() string

String returns the string representation.

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

func (*ListTrustAnchorsInput) Validate

func (s *ListTrustAnchorsInput) Validate() error

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

type ListTrustAnchorsOutput

type ListTrustAnchorsOutput struct {

	// A token that indicates where the output should continue from, if a previous
	// request did not show all results. To get the next results, make the request
	// again with this value.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A list of trust anchors.
	TrustAnchors []*TrustAnchorDetail `locationName:"trustAnchors" type:"list"`
	// contains filtered or unexported fields
}

func (ListTrustAnchorsOutput) GoString

func (s ListTrustAnchorsOutput) GoString() string

GoString returns the string representation.

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

func (*ListTrustAnchorsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTrustAnchorsOutput) SetTrustAnchors

SetTrustAnchors sets the TrustAnchors field's value.

func (ListTrustAnchorsOutput) String

func (s ListTrustAnchorsOutput) String() string

String returns the string representation.

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

type NotificationSetting

type NotificationSetting struct {

	// The specified channel of notification. IAM Roles Anywhere uses CloudWatch
	// metrics, EventBridge, and Health Dashboard to notify for an event.
	//
	// In the absence of a specific channel, IAM Roles Anywhere applies this setting
	// to 'ALL' channels.
	Channel *string `locationName:"channel" type:"string" enum:"NotificationChannel"`

	// Indicates whether the notification setting is enabled.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`

	// The event to which this notification setting is applied.
	//
	// Event is a required field
	Event *string `locationName:"event" type:"string" required:"true" enum:"NotificationEvent"`

	// The number of days before a notification event. This value is required for
	// a notification setting that is enabled.
	Threshold *int64 `locationName:"threshold" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Customizable notification settings that will be applied to notification events. IAM Roles Anywhere consumes these settings while notifying across multiple channels - CloudWatch metrics, EventBridge, and Health Dashboard.

func (NotificationSetting) GoString

func (s NotificationSetting) GoString() string

GoString returns the string representation.

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

func (*NotificationSetting) SetChannel

SetChannel sets the Channel field's value.

func (*NotificationSetting) SetEnabled

func (s *NotificationSetting) SetEnabled(v bool) *NotificationSetting

SetEnabled sets the Enabled field's value.

func (*NotificationSetting) SetEvent

SetEvent sets the Event field's value.

func (*NotificationSetting) SetThreshold

func (s *NotificationSetting) SetThreshold(v int64) *NotificationSetting

SetThreshold sets the Threshold field's value.

func (NotificationSetting) String

func (s NotificationSetting) String() string

String returns the string representation.

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

func (*NotificationSetting) Validate

func (s *NotificationSetting) Validate() error

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

type NotificationSettingDetail

type NotificationSettingDetail struct {

	// The specified channel of notification. IAM Roles Anywhere uses CloudWatch
	// metrics, EventBridge, and Health Dashboard to notify for an event.
	//
	// In the absence of a specific channel, IAM Roles Anywhere applies this setting
	// to 'ALL' channels.
	Channel *string `locationName:"channel" type:"string" enum:"NotificationChannel"`

	// The principal that configured the notification setting. For default settings
	// configured by IAM Roles Anywhere, the value is rolesanywhere.amazonaws.com,
	// and for customized notifications settings, it is the respective account ID.
	ConfiguredBy *string `locationName:"configuredBy" min:"1" type:"string"`

	// Indicates whether the notification setting is enabled.
	//
	// Enabled is a required field
	Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`

	// The event to which this notification setting is applied.
	//
	// Event is a required field
	Event *string `locationName:"event" type:"string" required:"true" enum:"NotificationEvent"`

	// The number of days before a notification event.
	Threshold *int64 `locationName:"threshold" min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The state of a notification setting.

A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.

func (NotificationSettingDetail) GoString

func (s NotificationSettingDetail) GoString() string

GoString returns the string representation.

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

func (*NotificationSettingDetail) SetChannel

SetChannel sets the Channel field's value.

func (*NotificationSettingDetail) SetConfiguredBy

SetConfiguredBy sets the ConfiguredBy field's value.

func (*NotificationSettingDetail) SetEnabled

SetEnabled sets the Enabled field's value.

func (*NotificationSettingDetail) SetEvent

SetEvent sets the Event field's value.

func (*NotificationSettingDetail) SetThreshold

SetThreshold sets the Threshold field's value.

func (NotificationSettingDetail) String

func (s NotificationSettingDetail) String() string

String returns the string representation.

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

type NotificationSettingKey

type NotificationSettingKey struct {

	// The specified channel of notification.
	Channel *string `locationName:"channel" type:"string" enum:"NotificationChannel"`

	// The notification setting event to reset.
	//
	// Event is a required field
	Event *string `locationName:"event" type:"string" required:"true" enum:"NotificationEvent"`
	// contains filtered or unexported fields
}

A notification setting key to reset. A notification setting key includes the event and the channel.

func (NotificationSettingKey) GoString

func (s NotificationSettingKey) GoString() string

GoString returns the string representation.

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

func (*NotificationSettingKey) SetChannel

SetChannel sets the Channel field's value.

func (*NotificationSettingKey) SetEvent

SetEvent sets the Event field's value.

func (NotificationSettingKey) String

func (s NotificationSettingKey) String() string

String returns the string representation.

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

func (*NotificationSettingKey) Validate

func (s *NotificationSettingKey) Validate() error

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

type ProfileDetail

type ProfileDetail struct {

	// The ISO-8601 timestamp when the profile was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The Amazon Web Services account that created the profile.
	CreatedBy *string `locationName:"createdBy" type:"string"`

	// The number of seconds the vended session credentials are valid for.
	DurationSeconds *int64 `locationName:"durationSeconds" type:"integer"`

	// Indicates whether the profile is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// A list of managed policy ARNs that apply to the vended session credentials.
	ManagedPolicyArns []*string `locationName:"managedPolicyArns" type:"list"`

	// The name of the profile.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The ARN of the profile.
	ProfileArn *string `locationName:"profileArn" min:"1" type:"string"`

	// The unique identifier of the profile.
	ProfileId *string `locationName:"profileId" min:"36" type:"string"`

	// Specifies whether instance properties are required in temporary credential
	// requests with this profile.
	RequireInstanceProperties *bool `locationName:"requireInstanceProperties" type:"boolean"`

	// A list of IAM roles that this profile can assume in a temporary credential
	// request.
	RoleArns []*string `locationName:"roleArns" type:"list"`

	// A session policy that applies to the trust boundary of the vended session
	// credentials.
	SessionPolicy *string `locationName:"sessionPolicy" type:"string"`

	// The ISO-8601 timestamp when the profile was last updated.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The state of the profile after a read or write operation.

func (ProfileDetail) GoString

func (s ProfileDetail) GoString() string

GoString returns the string representation.

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

func (*ProfileDetail) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*ProfileDetail) SetCreatedBy

func (s *ProfileDetail) SetCreatedBy(v string) *ProfileDetail

SetCreatedBy sets the CreatedBy field's value.

func (*ProfileDetail) SetDurationSeconds

func (s *ProfileDetail) SetDurationSeconds(v int64) *ProfileDetail

SetDurationSeconds sets the DurationSeconds field's value.

func (*ProfileDetail) SetEnabled

func (s *ProfileDetail) SetEnabled(v bool) *ProfileDetail

SetEnabled sets the Enabled field's value.

func (*ProfileDetail) SetManagedPolicyArns

func (s *ProfileDetail) SetManagedPolicyArns(v []*string) *ProfileDetail

SetManagedPolicyArns sets the ManagedPolicyArns field's value.

func (*ProfileDetail) SetName

func (s *ProfileDetail) SetName(v string) *ProfileDetail

SetName sets the Name field's value.

func (*ProfileDetail) SetProfileArn

func (s *ProfileDetail) SetProfileArn(v string) *ProfileDetail

SetProfileArn sets the ProfileArn field's value.

func (*ProfileDetail) SetProfileId

func (s *ProfileDetail) SetProfileId(v string) *ProfileDetail

SetProfileId sets the ProfileId field's value.

func (*ProfileDetail) SetRequireInstanceProperties

func (s *ProfileDetail) SetRequireInstanceProperties(v bool) *ProfileDetail

SetRequireInstanceProperties sets the RequireInstanceProperties field's value.

func (*ProfileDetail) SetRoleArns

func (s *ProfileDetail) SetRoleArns(v []*string) *ProfileDetail

SetRoleArns sets the RoleArns field's value.

func (*ProfileDetail) SetSessionPolicy

func (s *ProfileDetail) SetSessionPolicy(v string) *ProfileDetail

SetSessionPolicy sets the SessionPolicy field's value.

func (*ProfileDetail) SetUpdatedAt

func (s *ProfileDetail) SetUpdatedAt(v time.Time) *ProfileDetail

SetUpdatedAt sets the UpdatedAt field's value.

func (ProfileDetail) String

func (s ProfileDetail) String() string

String returns the string representation.

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

type PutNotificationSettingsInput

type PutNotificationSettingsInput struct {

	// A list of notification settings to be associated to the trust anchor.
	//
	// NotificationSettings is a required field
	NotificationSettings []*NotificationSetting `locationName:"notificationSettings" type:"list" required:"true"`

	// The unique identifier of the trust anchor.
	//
	// TrustAnchorId is a required field
	TrustAnchorId *string `locationName:"trustAnchorId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutNotificationSettingsInput) GoString

func (s PutNotificationSettingsInput) GoString() string

GoString returns the string representation.

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

func (*PutNotificationSettingsInput) SetNotificationSettings

SetNotificationSettings sets the NotificationSettings field's value.

func (*PutNotificationSettingsInput) SetTrustAnchorId

SetTrustAnchorId sets the TrustAnchorId field's value.

func (PutNotificationSettingsInput) String

String returns the string representation.

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

func (*PutNotificationSettingsInput) Validate

func (s *PutNotificationSettingsInput) Validate() error

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

type PutNotificationSettingsOutput

type PutNotificationSettingsOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (PutNotificationSettingsOutput) GoString

GoString returns the string representation.

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

func (*PutNotificationSettingsOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (PutNotificationSettingsOutput) String

String returns the string representation.

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

type ResetNotificationSettingsInput

type ResetNotificationSettingsInput struct {

	// A list of notification setting keys to reset. A notification setting key
	// includes the event and the channel.
	//
	// NotificationSettingKeys is a required field
	NotificationSettingKeys []*NotificationSettingKey `locationName:"notificationSettingKeys" type:"list" required:"true"`

	// The unique identifier of the trust anchor.
	//
	// TrustAnchorId is a required field
	TrustAnchorId *string `locationName:"trustAnchorId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ResetNotificationSettingsInput) GoString

GoString returns the string representation.

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

func (*ResetNotificationSettingsInput) SetNotificationSettingKeys

SetNotificationSettingKeys sets the NotificationSettingKeys field's value.

func (*ResetNotificationSettingsInput) SetTrustAnchorId

SetTrustAnchorId sets the TrustAnchorId field's value.

func (ResetNotificationSettingsInput) String

String returns the string representation.

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

func (*ResetNotificationSettingsInput) Validate

func (s *ResetNotificationSettingsInput) Validate() error

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

type ResetNotificationSettingsOutput

type ResetNotificationSettingsOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ResetNotificationSettingsOutput) GoString

GoString returns the string representation.

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

func (*ResetNotificationSettingsOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (ResetNotificationSettingsOutput) String

String returns the string representation.

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

type ResourceNotFoundException

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

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

The resource could not be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

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

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

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

type RolesAnywhere

type RolesAnywhere struct {
	*client.Client
}

RolesAnywhere provides the API operation methods for making requests to IAM Roles Anywhere. See this package's package overview docs for details on the service.

RolesAnywhere methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

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

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

Example:

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

// Create a RolesAnywhere client from just a session.
svc := rolesanywhere.New(mySession)

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

func (*RolesAnywhere) CreateProfile

func (c *RolesAnywhere) CreateProfile(input *CreateProfileInput) (*CreateProfileOutput, error)

CreateProfile API operation for IAM Roles Anywhere.

Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.

Required permissions: rolesanywhere:CreateProfile.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation CreateProfile for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/CreateProfile

func (*RolesAnywhere) CreateProfileRequest

func (c *RolesAnywhere) CreateProfileRequest(input *CreateProfileInput) (req *request.Request, output *CreateProfileOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/CreateProfile

func (*RolesAnywhere) CreateProfileWithContext

func (c *RolesAnywhere) CreateProfileWithContext(ctx aws.Context, input *CreateProfileInput, opts ...request.Option) (*CreateProfileOutput, error)

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

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

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

func (*RolesAnywhere) CreateTrustAnchor

func (c *RolesAnywhere) CreateTrustAnchor(input *CreateTrustAnchorInput) (*CreateTrustAnchorOutput, error)

CreateTrustAnchor API operation for IAM Roles Anywhere.

Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.

Required permissions: rolesanywhere:CreateTrustAnchor.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation CreateTrustAnchor for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/CreateTrustAnchor

func (*RolesAnywhere) CreateTrustAnchorRequest

func (c *RolesAnywhere) CreateTrustAnchorRequest(input *CreateTrustAnchorInput) (req *request.Request, output *CreateTrustAnchorOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/CreateTrustAnchor

func (*RolesAnywhere) CreateTrustAnchorWithContext

func (c *RolesAnywhere) CreateTrustAnchorWithContext(ctx aws.Context, input *CreateTrustAnchorInput, opts ...request.Option) (*CreateTrustAnchorOutput, error)

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

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

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

func (*RolesAnywhere) DeleteCrl

func (c *RolesAnywhere) DeleteCrl(input *DeleteCrlInput) (*DeleteCrlOutput, error)

DeleteCrl API operation for IAM Roles Anywhere.

Deletes a certificate revocation list (CRL).

Required permissions: rolesanywhere:DeleteCrl.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation DeleteCrl for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteCrl

func (*RolesAnywhere) DeleteCrlRequest

func (c *RolesAnywhere) DeleteCrlRequest(input *DeleteCrlInput) (req *request.Request, output *DeleteCrlOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteCrl

func (*RolesAnywhere) DeleteCrlWithContext

func (c *RolesAnywhere) DeleteCrlWithContext(ctx aws.Context, input *DeleteCrlInput, opts ...request.Option) (*DeleteCrlOutput, error)

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

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

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

func (*RolesAnywhere) DeleteProfile

func (c *RolesAnywhere) DeleteProfile(input *DeleteProfileInput) (*DeleteProfileOutput, error)

DeleteProfile API operation for IAM Roles Anywhere.

Deletes a profile.

Required permissions: rolesanywhere:DeleteProfile.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation DeleteProfile for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteProfile

func (*RolesAnywhere) DeleteProfileRequest

func (c *RolesAnywhere) DeleteProfileRequest(input *DeleteProfileInput) (req *request.Request, output *DeleteProfileOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteProfile

func (*RolesAnywhere) DeleteProfileWithContext

func (c *RolesAnywhere) DeleteProfileWithContext(ctx aws.Context, input *DeleteProfileInput, opts ...request.Option) (*DeleteProfileOutput, error)

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

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

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

func (*RolesAnywhere) DeleteTrustAnchor

func (c *RolesAnywhere) DeleteTrustAnchor(input *DeleteTrustAnchorInput) (*DeleteTrustAnchorOutput, error)

DeleteTrustAnchor API operation for IAM Roles Anywhere.

Deletes a trust anchor.

Required permissions: rolesanywhere:DeleteTrustAnchor.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation DeleteTrustAnchor for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteTrustAnchor

func (*RolesAnywhere) DeleteTrustAnchorRequest

func (c *RolesAnywhere) DeleteTrustAnchorRequest(input *DeleteTrustAnchorInput) (req *request.Request, output *DeleteTrustAnchorOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteTrustAnchor

func (*RolesAnywhere) DeleteTrustAnchorWithContext

func (c *RolesAnywhere) DeleteTrustAnchorWithContext(ctx aws.Context, input *DeleteTrustAnchorInput, opts ...request.Option) (*DeleteTrustAnchorOutput, error)

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

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

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

func (*RolesAnywhere) DisableCrl

func (c *RolesAnywhere) DisableCrl(input *DisableCrlInput) (*DisableCrlOutput, error)

DisableCrl API operation for IAM Roles Anywhere.

Disables a certificate revocation list (CRL).

Required permissions: rolesanywhere:DisableCrl.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation DisableCrl for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableCrl

func (*RolesAnywhere) DisableCrlRequest

func (c *RolesAnywhere) DisableCrlRequest(input *DisableCrlInput) (req *request.Request, output *DisableCrlOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableCrl

func (*RolesAnywhere) DisableCrlWithContext

func (c *RolesAnywhere) DisableCrlWithContext(ctx aws.Context, input *DisableCrlInput, opts ...request.Option) (*DisableCrlOutput, error)

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

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

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

func (*RolesAnywhere) DisableProfile

func (c *RolesAnywhere) DisableProfile(input *DisableProfileInput) (*DisableProfileOutput, error)

DisableProfile API operation for IAM Roles Anywhere.

Disables a profile. When disabled, temporary credential requests with this profile fail.

Required permissions: rolesanywhere:DisableProfile.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation DisableProfile for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableProfile

func (*RolesAnywhere) DisableProfileRequest

func (c *RolesAnywhere) DisableProfileRequest(input *DisableProfileInput) (req *request.Request, output *DisableProfileOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableProfile

func (*RolesAnywhere) DisableProfileWithContext

func (c *RolesAnywhere) DisableProfileWithContext(ctx aws.Context, input *DisableProfileInput, opts ...request.Option) (*DisableProfileOutput, error)

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

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

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

func (*RolesAnywhere) DisableTrustAnchor

func (c *RolesAnywhere) DisableTrustAnchor(input *DisableTrustAnchorInput) (*DisableTrustAnchorOutput, error)

DisableTrustAnchor API operation for IAM Roles Anywhere.

Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are unauthorized.

Required permissions: rolesanywhere:DisableTrustAnchor.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation DisableTrustAnchor for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableTrustAnchor

func (*RolesAnywhere) DisableTrustAnchorRequest

func (c *RolesAnywhere) DisableTrustAnchorRequest(input *DisableTrustAnchorInput) (req *request.Request, output *DisableTrustAnchorOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DisableTrustAnchor

func (*RolesAnywhere) DisableTrustAnchorWithContext

func (c *RolesAnywhere) DisableTrustAnchorWithContext(ctx aws.Context, input *DisableTrustAnchorInput, opts ...request.Option) (*DisableTrustAnchorOutput, error)

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

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

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

func (*RolesAnywhere) EnableCrl

func (c *RolesAnywhere) EnableCrl(input *EnableCrlInput) (*EnableCrlOutput, error)

EnableCrl API operation for IAM Roles Anywhere.

Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.

Required permissions: rolesanywhere:EnableCrl.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation EnableCrl for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableCrl

func (*RolesAnywhere) EnableCrlRequest

func (c *RolesAnywhere) EnableCrlRequest(input *EnableCrlInput) (req *request.Request, output *EnableCrlOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableCrl

func (*RolesAnywhere) EnableCrlWithContext

func (c *RolesAnywhere) EnableCrlWithContext(ctx aws.Context, input *EnableCrlInput, opts ...request.Option) (*EnableCrlOutput, error)

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

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

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

func (*RolesAnywhere) EnableProfile

func (c *RolesAnywhere) EnableProfile(input *EnableProfileInput) (*EnableProfileOutput, error)

EnableProfile API operation for IAM Roles Anywhere.

Enables temporary credential requests for a profile.

Required permissions: rolesanywhere:EnableProfile.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation EnableProfile for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableProfile

func (*RolesAnywhere) EnableProfileRequest

func (c *RolesAnywhere) EnableProfileRequest(input *EnableProfileInput) (req *request.Request, output *EnableProfileOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableProfile

func (*RolesAnywhere) EnableProfileWithContext

func (c *RolesAnywhere) EnableProfileWithContext(ctx aws.Context, input *EnableProfileInput, opts ...request.Option) (*EnableProfileOutput, error)

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

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

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

func (*RolesAnywhere) EnableTrustAnchor

func (c *RolesAnywhere) EnableTrustAnchor(input *EnableTrustAnchorInput) (*EnableTrustAnchorOutput, error)

EnableTrustAnchor API operation for IAM Roles Anywhere.

Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.

Required permissions: rolesanywhere:EnableTrustAnchor.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation EnableTrustAnchor for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableTrustAnchor

func (*RolesAnywhere) EnableTrustAnchorRequest

func (c *RolesAnywhere) EnableTrustAnchorRequest(input *EnableTrustAnchorInput) (req *request.Request, output *EnableTrustAnchorOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/EnableTrustAnchor

func (*RolesAnywhere) EnableTrustAnchorWithContext

func (c *RolesAnywhere) EnableTrustAnchorWithContext(ctx aws.Context, input *EnableTrustAnchorInput, opts ...request.Option) (*EnableTrustAnchorOutput, error)

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

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

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

func (*RolesAnywhere) GetCrl

func (c *RolesAnywhere) GetCrl(input *GetCrlInput) (*GetCrlOutput, error)

GetCrl API operation for IAM Roles Anywhere.

Gets a certificate revocation list (CRL).

Required permissions: rolesanywhere:GetCrl.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation GetCrl for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetCrl

func (*RolesAnywhere) GetCrlRequest

func (c *RolesAnywhere) GetCrlRequest(input *GetCrlInput) (req *request.Request, output *GetCrlOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetCrl

func (*RolesAnywhere) GetCrlWithContext

func (c *RolesAnywhere) GetCrlWithContext(ctx aws.Context, input *GetCrlInput, opts ...request.Option) (*GetCrlOutput, error)

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

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

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

func (*RolesAnywhere) GetProfile

func (c *RolesAnywhere) GetProfile(input *GetProfileInput) (*GetProfileOutput, error)

GetProfile API operation for IAM Roles Anywhere.

Gets a profile.

Required permissions: rolesanywhere:GetProfile.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation GetProfile for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetProfile

func (*RolesAnywhere) GetProfileRequest

func (c *RolesAnywhere) GetProfileRequest(input *GetProfileInput) (req *request.Request, output *GetProfileOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetProfile

func (*RolesAnywhere) GetProfileWithContext

func (c *RolesAnywhere) GetProfileWithContext(ctx aws.Context, input *GetProfileInput, opts ...request.Option) (*GetProfileOutput, error)

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

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

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

func (*RolesAnywhere) GetSubject

func (c *RolesAnywhere) GetSubject(input *GetSubjectInput) (*GetSubjectOutput, error)

GetSubject API operation for IAM Roles Anywhere.

Gets a subject, which associates a certificate identity with authentication attempts. The subject stores auditing information such as the status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication.

Required permissions: rolesanywhere:GetSubject.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation GetSubject for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetSubject

func (*RolesAnywhere) GetSubjectRequest

func (c *RolesAnywhere) GetSubjectRequest(input *GetSubjectInput) (req *request.Request, output *GetSubjectOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetSubject

func (*RolesAnywhere) GetSubjectWithContext

func (c *RolesAnywhere) GetSubjectWithContext(ctx aws.Context, input *GetSubjectInput, opts ...request.Option) (*GetSubjectOutput, error)

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

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

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

func (*RolesAnywhere) GetTrustAnchor

func (c *RolesAnywhere) GetTrustAnchor(input *GetTrustAnchorInput) (*GetTrustAnchorOutput, error)

GetTrustAnchor API operation for IAM Roles Anywhere.

Gets a trust anchor.

Required permissions: rolesanywhere:GetTrustAnchor.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation GetTrustAnchor for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetTrustAnchor

func (*RolesAnywhere) GetTrustAnchorRequest

func (c *RolesAnywhere) GetTrustAnchorRequest(input *GetTrustAnchorInput) (req *request.Request, output *GetTrustAnchorOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/GetTrustAnchor

func (*RolesAnywhere) GetTrustAnchorWithContext

func (c *RolesAnywhere) GetTrustAnchorWithContext(ctx aws.Context, input *GetTrustAnchorInput, opts ...request.Option) (*GetTrustAnchorOutput, error)

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

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

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

func (*RolesAnywhere) ImportCrl

func (c *RolesAnywhere) ImportCrl(input *ImportCrlInput) (*ImportCrlOutput, error)

ImportCrl API operation for IAM Roles Anywhere.

Imports the certificate revocation list (CRL). A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the CRL before issuing credentials.

Required permissions: rolesanywhere:ImportCrl.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation ImportCrl for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ImportCrl

func (*RolesAnywhere) ImportCrlRequest

func (c *RolesAnywhere) ImportCrlRequest(input *ImportCrlInput) (req *request.Request, output *ImportCrlOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ImportCrl

func (*RolesAnywhere) ImportCrlWithContext

func (c *RolesAnywhere) ImportCrlWithContext(ctx aws.Context, input *ImportCrlInput, opts ...request.Option) (*ImportCrlOutput, error)

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

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

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

func (*RolesAnywhere) ListCrls

func (c *RolesAnywhere) ListCrls(input *ListCrlsInput) (*ListCrlsOutput, error)

ListCrls API operation for IAM Roles Anywhere.

Lists all certificate revocation lists (CRL) in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListCrls.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation ListCrls for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListCrls

func (*RolesAnywhere) ListCrlsPages

func (c *RolesAnywhere) ListCrlsPages(input *ListCrlsInput, fn func(*ListCrlsOutput, bool) bool) error

ListCrlsPages iterates over the pages of a ListCrls operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCrls method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCrls operation.
pageNum := 0
err := client.ListCrlsPages(params,
    func(page *rolesanywhere.ListCrlsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RolesAnywhere) ListCrlsPagesWithContext

func (c *RolesAnywhere) ListCrlsPagesWithContext(ctx aws.Context, input *ListCrlsInput, fn func(*ListCrlsOutput, bool) bool, opts ...request.Option) error

ListCrlsPagesWithContext same as ListCrlsPages except it takes a Context and allows setting request options on the pages.

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

func (*RolesAnywhere) ListCrlsRequest

func (c *RolesAnywhere) ListCrlsRequest(input *ListCrlsInput) (req *request.Request, output *ListCrlsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListCrls

func (*RolesAnywhere) ListCrlsWithContext

func (c *RolesAnywhere) ListCrlsWithContext(ctx aws.Context, input *ListCrlsInput, opts ...request.Option) (*ListCrlsOutput, error)

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

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

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

func (*RolesAnywhere) ListProfiles

func (c *RolesAnywhere) ListProfiles(input *ListProfilesInput) (*ListProfilesOutput, error)

ListProfiles API operation for IAM Roles Anywhere.

Lists all profiles in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListProfiles.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation ListProfiles for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListProfiles

func (*RolesAnywhere) ListProfilesPages

func (c *RolesAnywhere) ListProfilesPages(input *ListProfilesInput, fn func(*ListProfilesOutput, bool) bool) error

ListProfilesPages iterates over the pages of a ListProfiles operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListProfiles method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListProfiles operation.
pageNum := 0
err := client.ListProfilesPages(params,
    func(page *rolesanywhere.ListProfilesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RolesAnywhere) ListProfilesPagesWithContext

func (c *RolesAnywhere) ListProfilesPagesWithContext(ctx aws.Context, input *ListProfilesInput, fn func(*ListProfilesOutput, bool) bool, opts ...request.Option) error

ListProfilesPagesWithContext same as ListProfilesPages except it takes a Context and allows setting request options on the pages.

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

func (*RolesAnywhere) ListProfilesRequest

func (c *RolesAnywhere) ListProfilesRequest(input *ListProfilesInput) (req *request.Request, output *ListProfilesOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListProfiles

func (*RolesAnywhere) ListProfilesWithContext

func (c *RolesAnywhere) ListProfilesWithContext(ctx aws.Context, input *ListProfilesInput, opts ...request.Option) (*ListProfilesOutput, error)

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

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

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

func (*RolesAnywhere) ListSubjects

func (c *RolesAnywhere) ListSubjects(input *ListSubjectsInput) (*ListSubjectsOutput, error)

ListSubjects API operation for IAM Roles Anywhere.

Lists the subjects in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListSubjects.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation ListSubjects for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListSubjects

func (*RolesAnywhere) ListSubjectsPages

func (c *RolesAnywhere) ListSubjectsPages(input *ListSubjectsInput, fn func(*ListSubjectsOutput, bool) bool) error

ListSubjectsPages iterates over the pages of a ListSubjects operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSubjects method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSubjects operation.
pageNum := 0
err := client.ListSubjectsPages(params,
    func(page *rolesanywhere.ListSubjectsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RolesAnywhere) ListSubjectsPagesWithContext

func (c *RolesAnywhere) ListSubjectsPagesWithContext(ctx aws.Context, input *ListSubjectsInput, fn func(*ListSubjectsOutput, bool) bool, opts ...request.Option) error

ListSubjectsPagesWithContext same as ListSubjectsPages except it takes a Context and allows setting request options on the pages.

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

func (*RolesAnywhere) ListSubjectsRequest

func (c *RolesAnywhere) ListSubjectsRequest(input *ListSubjectsInput) (req *request.Request, output *ListSubjectsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListSubjects

func (*RolesAnywhere) ListSubjectsWithContext

func (c *RolesAnywhere) ListSubjectsWithContext(ctx aws.Context, input *ListSubjectsInput, opts ...request.Option) (*ListSubjectsOutput, error)

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

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

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

func (*RolesAnywhere) ListTagsForResource

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

ListTagsForResource API operation for IAM Roles Anywhere.

Lists the tags attached to the resource.

Required permissions: rolesanywhere:ListTagsForResource.

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

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

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListTagsForResource

func (*RolesAnywhere) ListTagsForResourceRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListTagsForResource

func (*RolesAnywhere) ListTagsForResourceWithContext

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

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

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

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

func (*RolesAnywhere) ListTrustAnchors

func (c *RolesAnywhere) ListTrustAnchors(input *ListTrustAnchorsInput) (*ListTrustAnchorsOutput, error)

ListTrustAnchors API operation for IAM Roles Anywhere.

Lists the trust anchors in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListTrustAnchors.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation ListTrustAnchors for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListTrustAnchors

func (*RolesAnywhere) ListTrustAnchorsPages

func (c *RolesAnywhere) ListTrustAnchorsPages(input *ListTrustAnchorsInput, fn func(*ListTrustAnchorsOutput, bool) bool) error

ListTrustAnchorsPages iterates over the pages of a ListTrustAnchors operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTrustAnchors method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTrustAnchors operation.
pageNum := 0
err := client.ListTrustAnchorsPages(params,
    func(page *rolesanywhere.ListTrustAnchorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RolesAnywhere) ListTrustAnchorsPagesWithContext

func (c *RolesAnywhere) ListTrustAnchorsPagesWithContext(ctx aws.Context, input *ListTrustAnchorsInput, fn func(*ListTrustAnchorsOutput, bool) bool, opts ...request.Option) error

ListTrustAnchorsPagesWithContext same as ListTrustAnchorsPages except it takes a Context and allows setting request options on the pages.

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

func (*RolesAnywhere) ListTrustAnchorsRequest

func (c *RolesAnywhere) ListTrustAnchorsRequest(input *ListTrustAnchorsInput) (req *request.Request, output *ListTrustAnchorsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ListTrustAnchors

func (*RolesAnywhere) ListTrustAnchorsWithContext

func (c *RolesAnywhere) ListTrustAnchorsWithContext(ctx aws.Context, input *ListTrustAnchorsInput, opts ...request.Option) (*ListTrustAnchorsOutput, error)

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

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

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

func (*RolesAnywhere) PutNotificationSettings

func (c *RolesAnywhere) PutNotificationSettings(input *PutNotificationSettingsInput) (*PutNotificationSettingsOutput, error)

PutNotificationSettings API operation for IAM Roles Anywhere.

Attaches a list of notification settings to a trust anchor.

A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.

Required permissions: rolesanywhere:PutNotificationSettings.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation PutNotificationSettings for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutNotificationSettings

func (*RolesAnywhere) PutNotificationSettingsRequest

func (c *RolesAnywhere) PutNotificationSettingsRequest(input *PutNotificationSettingsInput) (req *request.Request, output *PutNotificationSettingsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutNotificationSettings

func (*RolesAnywhere) PutNotificationSettingsWithContext

func (c *RolesAnywhere) PutNotificationSettingsWithContext(ctx aws.Context, input *PutNotificationSettingsInput, opts ...request.Option) (*PutNotificationSettingsOutput, error)

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

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

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

func (*RolesAnywhere) ResetNotificationSettings

func (c *RolesAnywhere) ResetNotificationSettings(input *ResetNotificationSettingsInput) (*ResetNotificationSettingsOutput, error)

ResetNotificationSettings API operation for IAM Roles Anywhere.

Resets the custom notification setting to IAM Roles Anywhere default setting.

Required permissions: rolesanywhere:ResetNotificationSettings.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation ResetNotificationSettings for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ResetNotificationSettings

func (*RolesAnywhere) ResetNotificationSettingsRequest

func (c *RolesAnywhere) ResetNotificationSettingsRequest(input *ResetNotificationSettingsInput) (req *request.Request, output *ResetNotificationSettingsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/ResetNotificationSettings

func (*RolesAnywhere) ResetNotificationSettingsWithContext

func (c *RolesAnywhere) ResetNotificationSettingsWithContext(ctx aws.Context, input *ResetNotificationSettingsInput, opts ...request.Option) (*ResetNotificationSettingsOutput, error)

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

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

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

func (*RolesAnywhere) TagResource

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

TagResource API operation for IAM Roles Anywhere.

Attaches tags to a resource.

Required permissions: rolesanywhere:TagResource.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation TagResource for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

  • TooManyTagsException Too many tags.

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/TagResource

func (*RolesAnywhere) TagResourceRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/TagResource

func (*RolesAnywhere) TagResourceWithContext

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

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

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

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

func (*RolesAnywhere) UntagResource

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

UntagResource API operation for IAM Roles Anywhere.

Removes tags from the resource.

Required permissions: rolesanywhere:UntagResource.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation UntagResource for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UntagResource

func (*RolesAnywhere) UntagResourceRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UntagResource

func (*RolesAnywhere) UntagResourceWithContext

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

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

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

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

func (*RolesAnywhere) UpdateCrl

func (c *RolesAnywhere) UpdateCrl(input *UpdateCrlInput) (*UpdateCrlOutput, error)

UpdateCrl API operation for IAM Roles Anywhere.

Updates the certificate revocation list (CRL). A CRL is a list of certificates that have been revoked by the issuing certificate authority (CA). IAM Roles Anywhere validates against the CRL before issuing credentials.

Required permissions: rolesanywhere:UpdateCrl.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation UpdateCrl for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateCrl

func (*RolesAnywhere) UpdateCrlRequest

func (c *RolesAnywhere) UpdateCrlRequest(input *UpdateCrlInput) (req *request.Request, output *UpdateCrlOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateCrl

func (*RolesAnywhere) UpdateCrlWithContext

func (c *RolesAnywhere) UpdateCrlWithContext(ctx aws.Context, input *UpdateCrlInput, opts ...request.Option) (*UpdateCrlOutput, error)

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

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

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

func (*RolesAnywhere) UpdateProfile

func (c *RolesAnywhere) UpdateProfile(input *UpdateProfileInput) (*UpdateProfileOutput, error)

UpdateProfile API operation for IAM Roles Anywhere.

Updates a profile, a list of the roles that IAM Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.

Required permissions: rolesanywhere:UpdateProfile.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation UpdateProfile for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateProfile

func (*RolesAnywhere) UpdateProfileRequest

func (c *RolesAnywhere) UpdateProfileRequest(input *UpdateProfileInput) (req *request.Request, output *UpdateProfileOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateProfile

func (*RolesAnywhere) UpdateProfileWithContext

func (c *RolesAnywhere) UpdateProfileWithContext(ctx aws.Context, input *UpdateProfileInput, opts ...request.Option) (*UpdateProfileOutput, error)

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

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

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

func (*RolesAnywhere) UpdateTrustAnchor

func (c *RolesAnywhere) UpdateTrustAnchor(input *UpdateTrustAnchorInput) (*UpdateTrustAnchorOutput, error)

UpdateTrustAnchor API operation for IAM Roles Anywhere.

Updates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.

Required permissions: rolesanywhere:UpdateTrustAnchor.

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

See the AWS API reference guide for IAM Roles Anywhere's API operation UpdateTrustAnchor for usage and error information.

Returned Error Types:

  • ValidationException Validation exception error.

  • ResourceNotFoundException The resource could not be found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateTrustAnchor

func (*RolesAnywhere) UpdateTrustAnchorRequest

func (c *RolesAnywhere) UpdateTrustAnchorRequest(input *UpdateTrustAnchorInput) (req *request.Request, output *UpdateTrustAnchorOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/UpdateTrustAnchor

func (*RolesAnywhere) UpdateTrustAnchorWithContext

func (c *RolesAnywhere) UpdateTrustAnchorWithContext(ctx aws.Context, input *UpdateTrustAnchorInput, opts ...request.Option) (*UpdateTrustAnchorOutput, error)

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

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

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

type Source

type Source struct {

	// The data field of the trust anchor depending on its type.
	SourceData *SourceData `locationName:"sourceData" type:"structure"`

	// The type of the trust anchor.
	SourceType *string `locationName:"sourceType" type:"string" enum:"TrustAnchorType"`
	// contains filtered or unexported fields
}

The trust anchor type and its related certificate data.

func (Source) GoString

func (s Source) GoString() string

GoString returns the string representation.

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

func (*Source) SetSourceData

func (s *Source) SetSourceData(v *SourceData) *Source

SetSourceData sets the SourceData field's value.

func (*Source) SetSourceType

func (s *Source) SetSourceType(v string) *Source

SetSourceType sets the SourceType field's value.

func (Source) String

func (s Source) String() string

String returns the string representation.

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

func (*Source) Validate

func (s *Source) Validate() error

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

type SourceData

type SourceData struct {

	// The root certificate of the Private Certificate Authority specified by this
	// ARN is used in trust validation for temporary credential requests. Included
	// for trust anchors of type AWS_ACM_PCA.
	AcmPcaArn *string `locationName:"acmPcaArn" type:"string"`

	// The PEM-encoded data for the certificate anchor. Included for trust anchors
	// of type CERTIFICATE_BUNDLE.
	X509CertificateData *string `locationName:"x509CertificateData" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The data field of the trust anchor depending on its type.

func (SourceData) GoString

func (s SourceData) GoString() string

GoString returns the string representation.

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

func (*SourceData) SetAcmPcaArn

func (s *SourceData) SetAcmPcaArn(v string) *SourceData

SetAcmPcaArn sets the AcmPcaArn field's value.

func (*SourceData) SetX509CertificateData

func (s *SourceData) SetX509CertificateData(v string) *SourceData

SetX509CertificateData sets the X509CertificateData field's value.

func (SourceData) String

func (s SourceData) String() string

String returns the string representation.

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

func (*SourceData) Validate

func (s *SourceData) Validate() error

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

type SubjectDetail

type SubjectDetail struct {

	// The ISO-8601 timestamp when the subject was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The temporary session credentials vended at the last authenticating call
	// with this subject.
	Credentials []*CredentialSummary `locationName:"credentials" type:"list"`

	// The enabled status of the subject.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// The specified instance properties associated with the request.
	InstanceProperties []*InstanceProperty `locationName:"instanceProperties" type:"list"`

	// The ISO-8601 timestamp of the last time this subject requested temporary
	// session credentials.
	LastSeenAt *time.Time `locationName:"lastSeenAt" type:"timestamp" timestampFormat:"iso8601"`

	// The ARN of the resource.
	SubjectArn *string `locationName:"subjectArn" type:"string"`

	// The id of the resource
	SubjectId *string `locationName:"subjectId" min:"36" type:"string"`

	// The ISO-8601 timestamp when the subject was last updated.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The x509 principal identifier of the authenticating certificate.
	X509Subject *string `locationName:"x509Subject" type:"string"`
	// contains filtered or unexported fields
}

The state of the subject after a read or write operation.

func (SubjectDetail) GoString

func (s SubjectDetail) GoString() string

GoString returns the string representation.

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

func (*SubjectDetail) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*SubjectDetail) SetCredentials

func (s *SubjectDetail) SetCredentials(v []*CredentialSummary) *SubjectDetail

SetCredentials sets the Credentials field's value.

func (*SubjectDetail) SetEnabled

func (s *SubjectDetail) SetEnabled(v bool) *SubjectDetail

SetEnabled sets the Enabled field's value.

func (*SubjectDetail) SetInstanceProperties

func (s *SubjectDetail) SetInstanceProperties(v []*InstanceProperty) *SubjectDetail

SetInstanceProperties sets the InstanceProperties field's value.

func (*SubjectDetail) SetLastSeenAt

func (s *SubjectDetail) SetLastSeenAt(v time.Time) *SubjectDetail

SetLastSeenAt sets the LastSeenAt field's value.

func (*SubjectDetail) SetSubjectArn

func (s *SubjectDetail) SetSubjectArn(v string) *SubjectDetail

SetSubjectArn sets the SubjectArn field's value.

func (*SubjectDetail) SetSubjectId

func (s *SubjectDetail) SetSubjectId(v string) *SubjectDetail

SetSubjectId sets the SubjectId field's value.

func (*SubjectDetail) SetUpdatedAt

func (s *SubjectDetail) SetUpdatedAt(v time.Time) *SubjectDetail

SetUpdatedAt sets the UpdatedAt field's value.

func (*SubjectDetail) SetX509Subject

func (s *SubjectDetail) SetX509Subject(v string) *SubjectDetail

SetX509Subject sets the X509Subject field's value.

func (SubjectDetail) String

func (s SubjectDetail) String() string

String returns the string representation.

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

type SubjectSummary

type SubjectSummary struct {

	// The ISO-8601 time stamp of when the certificate was first used in a temporary
	// credential request.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The enabled status of the subject.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// The ISO-8601 time stamp of when the certificate was last used in a temporary
	// credential request.
	LastSeenAt *time.Time `locationName:"lastSeenAt" type:"timestamp" timestampFormat:"iso8601"`

	// The ARN of the resource.
	SubjectArn *string `locationName:"subjectArn" type:"string"`

	// The id of the resource.
	SubjectId *string `locationName:"subjectId" min:"36" type:"string"`

	// The ISO-8601 timestamp when the subject was last updated.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The x509 principal identifier of the authenticating certificate.
	X509Subject *string `locationName:"x509Subject" type:"string"`
	// contains filtered or unexported fields
}

A summary representation of subjects.

func (SubjectSummary) GoString

func (s SubjectSummary) GoString() string

GoString returns the string representation.

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

func (*SubjectSummary) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*SubjectSummary) SetEnabled

func (s *SubjectSummary) SetEnabled(v bool) *SubjectSummary

SetEnabled sets the Enabled field's value.

func (*SubjectSummary) SetLastSeenAt

func (s *SubjectSummary) SetLastSeenAt(v time.Time) *SubjectSummary

SetLastSeenAt sets the LastSeenAt field's value.

func (*SubjectSummary) SetSubjectArn

func (s *SubjectSummary) SetSubjectArn(v string) *SubjectSummary

SetSubjectArn sets the SubjectArn field's value.

func (*SubjectSummary) SetSubjectId

func (s *SubjectSummary) SetSubjectId(v string) *SubjectSummary

SetSubjectId sets the SubjectId field's value.

func (*SubjectSummary) SetUpdatedAt

func (s *SubjectSummary) SetUpdatedAt(v time.Time) *SubjectSummary

SetUpdatedAt sets the UpdatedAt field's value.

func (*SubjectSummary) SetX509Subject

func (s *SubjectSummary) SetX509Subject(v string) *SubjectSummary

SetX509Subject sets the X509Subject field's value.

func (SubjectSummary) String

func (s SubjectSummary) String() string

String returns the string representation.

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

type Tag

type Tag struct {

	// The tag key.
	//
	// Key is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Tag's
	// String and GoString methods.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true" sensitive:"true"`

	// The tag value.
	//
	// Value is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Tag's
	// String and GoString methods.
	//
	// Value is a required field
	Value *string `locationName:"value" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

A label that consists of a key and value you define.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

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

func (*Tag) SetKey

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

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

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

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tags to attach to the resource.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

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

func (*TagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

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

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

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

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

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

type TooManyTagsException

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

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

Too many tags.

func (*TooManyTagsException) Code

func (s *TooManyTagsException) Code() string

Code returns the exception type name.

func (*TooManyTagsException) Error

func (s *TooManyTagsException) Error() string

func (TooManyTagsException) GoString

func (s TooManyTagsException) GoString() string

GoString returns the string representation.

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

func (*TooManyTagsException) Message

func (s *TooManyTagsException) Message() string

Message returns the exception's message.

func (*TooManyTagsException) OrigErr

func (s *TooManyTagsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TooManyTagsException) RequestID

func (s *TooManyTagsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TooManyTagsException) StatusCode

func (s *TooManyTagsException) StatusCode() int

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

func (TooManyTagsException) String

func (s TooManyTagsException) String() string

String returns the string representation.

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

type TrustAnchorDetail

type TrustAnchorDetail struct {

	// The ISO-8601 timestamp when the trust anchor was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// Indicates whether the trust anchor is enabled.
	Enabled *bool `locationName:"enabled" type:"boolean"`

	// The name of the trust anchor.
	Name *string `locationName:"name" min:"1" type:"string"`

	// A list of notification settings to be associated to the trust anchor.
	NotificationSettings []*NotificationSettingDetail `locationName:"notificationSettings" type:"list"`

	// The trust anchor type and its related certificate data.
	Source *Source `locationName:"source" type:"structure"`

	// The ARN of the trust anchor.
	TrustAnchorArn *string `locationName:"trustAnchorArn" type:"string"`

	// The unique identifier of the trust anchor.
	TrustAnchorId *string `locationName:"trustAnchorId" min:"36" type:"string"`

	// The ISO-8601 timestamp when the trust anchor was last updated.
	UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The state of the trust anchor after a read or write operation.

func (TrustAnchorDetail) GoString

func (s TrustAnchorDetail) GoString() string

GoString returns the string representation.

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

func (*TrustAnchorDetail) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*TrustAnchorDetail) SetEnabled

func (s *TrustAnchorDetail) SetEnabled(v bool) *TrustAnchorDetail

SetEnabled sets the Enabled field's value.

func (*TrustAnchorDetail) SetName

SetName sets the Name field's value.

func (*TrustAnchorDetail) SetNotificationSettings

func (s *TrustAnchorDetail) SetNotificationSettings(v []*NotificationSettingDetail) *TrustAnchorDetail

SetNotificationSettings sets the NotificationSettings field's value.

func (*TrustAnchorDetail) SetSource

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

SetSource sets the Source field's value.

func (*TrustAnchorDetail) SetTrustAnchorArn

func (s *TrustAnchorDetail) SetTrustAnchorArn(v string) *TrustAnchorDetail

SetTrustAnchorArn sets the TrustAnchorArn field's value.

func (*TrustAnchorDetail) SetTrustAnchorId

func (s *TrustAnchorDetail) SetTrustAnchorId(v string) *TrustAnchorDetail

SetTrustAnchorId sets the TrustAnchorId field's value.

func (*TrustAnchorDetail) SetUpdatedAt

func (s *TrustAnchorDetail) SetUpdatedAt(v time.Time) *TrustAnchorDetail

SetUpdatedAt sets the UpdatedAt field's value.

func (TrustAnchorDetail) String

func (s TrustAnchorDetail) String() string

String returns the string representation.

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

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// A list of keys. Tag keys are the unique identifiers of tags.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

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

func (*UntagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

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

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

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

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

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

type UpdateCrlInput

type UpdateCrlInput struct {

	// The x509 v3 specified certificate revocation list (CRL).
	// CrlData is automatically base64 encoded/decoded by the SDK.
	CrlData []byte `locationName:"crlData" min:"1" type:"blob"`

	// The unique identifier of the certificate revocation list (CRL).
	//
	// CrlId is a required field
	CrlId *string `location:"uri" locationName:"crlId" min:"36" type:"string" required:"true"`

	// The name of the Crl.
	Name *string `locationName:"name" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateCrlInput) GoString

func (s UpdateCrlInput) GoString() string

GoString returns the string representation.

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

func (*UpdateCrlInput) SetCrlData

func (s *UpdateCrlInput) SetCrlData(v []byte) *UpdateCrlInput

SetCrlData sets the CrlData field's value.

func (*UpdateCrlInput) SetCrlId

func (s *UpdateCrlInput) SetCrlId(v string) *UpdateCrlInput

SetCrlId sets the CrlId field's value.

func (*UpdateCrlInput) SetName

func (s *UpdateCrlInput) SetName(v string) *UpdateCrlInput

SetName sets the Name field's value.

func (UpdateCrlInput) String

func (s UpdateCrlInput) String() string

String returns the string representation.

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

func (*UpdateCrlInput) Validate

func (s *UpdateCrlInput) Validate() error

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

type UpdateCrlOutput

type UpdateCrlOutput struct {

	// The state of the certificate revocation list (CRL) after a read or write
	// operation.
	//
	// Crl is a required field
	Crl *CrlDetail `locationName:"crl" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateCrlOutput) GoString

func (s UpdateCrlOutput) GoString() string

GoString returns the string representation.

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

func (*UpdateCrlOutput) SetCrl

func (s *UpdateCrlOutput) SetCrl(v *CrlDetail) *UpdateCrlOutput

SetCrl sets the Crl field's value.

func (UpdateCrlOutput) String

func (s UpdateCrlOutput) String() string

String returns the string representation.

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

type UpdateProfileInput

type UpdateProfileInput struct {

	// The number of seconds the vended session credentials are valid for.
	DurationSeconds *int64 `locationName:"durationSeconds" min:"900" type:"integer"`

	// A list of managed policy ARNs that apply to the vended session credentials.
	ManagedPolicyArns []*string `locationName:"managedPolicyArns" type:"list"`

	// The name of the profile.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The unique identifier of the profile.
	//
	// ProfileId is a required field
	ProfileId *string `location:"uri" locationName:"profileId" min:"36" type:"string" required:"true"`

	// A list of IAM roles that this profile can assume in a temporary credential
	// request.
	RoleArns []*string `locationName:"roleArns" type:"list"`

	// A session policy that applies to the trust boundary of the vended session
	// credentials.
	SessionPolicy *string `locationName:"sessionPolicy" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateProfileInput) GoString

func (s UpdateProfileInput) GoString() string

GoString returns the string representation.

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

func (*UpdateProfileInput) SetDurationSeconds

func (s *UpdateProfileInput) SetDurationSeconds(v int64) *UpdateProfileInput

SetDurationSeconds sets the DurationSeconds field's value.

func (*UpdateProfileInput) SetManagedPolicyArns

func (s *UpdateProfileInput) SetManagedPolicyArns(v []*string) *UpdateProfileInput

SetManagedPolicyArns sets the ManagedPolicyArns field's value.

func (*UpdateProfileInput) SetName

SetName sets the Name field's value.

func (*UpdateProfileInput) SetProfileId

func (s *UpdateProfileInput) SetProfileId(v string) *UpdateProfileInput

SetProfileId sets the ProfileId field's value.

func (*UpdateProfileInput) SetRoleArns

func (s *UpdateProfileInput) SetRoleArns(v []*string) *UpdateProfileInput

SetRoleArns sets the RoleArns field's value.

func (*UpdateProfileInput) SetSessionPolicy

func (s *UpdateProfileInput) SetSessionPolicy(v string) *UpdateProfileInput

SetSessionPolicy sets the SessionPolicy field's value.

func (UpdateProfileInput) String

func (s UpdateProfileInput) String() string

String returns the string representation.

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

func (*UpdateProfileInput) Validate

func (s *UpdateProfileInput) Validate() error

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

type UpdateProfileOutput

type UpdateProfileOutput struct {

	// The state of the profile after a read or write operation.
	Profile *ProfileDetail `locationName:"profile" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateProfileOutput) GoString

func (s UpdateProfileOutput) GoString() string

GoString returns the string representation.

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

func (*UpdateProfileOutput) SetProfile

SetProfile sets the Profile field's value.

func (UpdateProfileOutput) String

func (s UpdateProfileOutput) String() string

String returns the string representation.

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

type UpdateTrustAnchorInput

type UpdateTrustAnchorInput struct {

	// The name of the trust anchor.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The trust anchor type and its related certificate data.
	Source *Source `locationName:"source" type:"structure"`

	// The unique identifier of the trust anchor.
	//
	// TrustAnchorId is a required field
	TrustAnchorId *string `location:"uri" locationName:"trustAnchorId" min:"36" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateTrustAnchorInput) GoString

func (s UpdateTrustAnchorInput) GoString() string

GoString returns the string representation.

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

func (*UpdateTrustAnchorInput) SetName

SetName sets the Name field's value.

func (*UpdateTrustAnchorInput) SetSource

SetSource sets the Source field's value.

func (*UpdateTrustAnchorInput) SetTrustAnchorId

func (s *UpdateTrustAnchorInput) SetTrustAnchorId(v string) *UpdateTrustAnchorInput

SetTrustAnchorId sets the TrustAnchorId field's value.

func (UpdateTrustAnchorInput) String

func (s UpdateTrustAnchorInput) String() string

String returns the string representation.

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

func (*UpdateTrustAnchorInput) Validate

func (s *UpdateTrustAnchorInput) Validate() error

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

type UpdateTrustAnchorOutput

type UpdateTrustAnchorOutput struct {

	// The state of the trust anchor after a read or write operation.
	//
	// TrustAnchor is a required field
	TrustAnchor *TrustAnchorDetail `locationName:"trustAnchor" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateTrustAnchorOutput) GoString

func (s UpdateTrustAnchorOutput) GoString() string

GoString returns the string representation.

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

func (*UpdateTrustAnchorOutput) SetTrustAnchor

SetTrustAnchor sets the TrustAnchor field's value.

func (UpdateTrustAnchorOutput) String

func (s UpdateTrustAnchorOutput) String() string

String returns the string representation.

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

type ValidationException

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

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

Validation exception error.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

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

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

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

Directories

Path Synopsis
Package rolesanywhereiface provides an interface to enable mocking the IAM Roles Anywhere service client for testing your code.
Package rolesanywhereiface provides an interface to enable mocking the IAM Roles Anywhere service client for testing your code.

Jump to

Keyboard shortcuts

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