trustedadvisor

package
v1.52.5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Overview

Package trustedadvisor provides the client and types for making API requests to TrustedAdvisor Public API.

TrustedAdvisor Public API

See https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15 for more information on this service.

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

Using the Client

To contact TrustedAdvisor Public API 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 TrustedAdvisor Public API client TrustedAdvisor for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/trustedadvisor/#New

Index

Constants

View Source
const (
	// ExclusionStatusExcluded is a ExclusionStatus enum value
	ExclusionStatusExcluded = "excluded"

	// ExclusionStatusIncluded is a ExclusionStatus enum value
	ExclusionStatusIncluded = "included"
)
View Source
const (
	// RecommendationLanguageEn is a RecommendationLanguage enum value
	RecommendationLanguageEn = "en"

	// RecommendationLanguageJa is a RecommendationLanguage enum value
	RecommendationLanguageJa = "ja"

	// RecommendationLanguageZh is a RecommendationLanguage enum value
	RecommendationLanguageZh = "zh"

	// RecommendationLanguageFr is a RecommendationLanguage enum value
	RecommendationLanguageFr = "fr"

	// RecommendationLanguageDe is a RecommendationLanguage enum value
	RecommendationLanguageDe = "de"

	// RecommendationLanguageKo is a RecommendationLanguage enum value
	RecommendationLanguageKo = "ko"

	// RecommendationLanguageZhTw is a RecommendationLanguage enum value
	RecommendationLanguageZhTw = "zh_TW"

	// RecommendationLanguageIt is a RecommendationLanguage enum value
	RecommendationLanguageIt = "it"

	// RecommendationLanguageEs is a RecommendationLanguage enum value
	RecommendationLanguageEs = "es"

	// RecommendationLanguagePtBr is a RecommendationLanguage enum value
	RecommendationLanguagePtBr = "pt_BR"

	// RecommendationLanguageId is a RecommendationLanguage enum value
	RecommendationLanguageId = "id"
)
View Source
const (
	// RecommendationLifecycleStageInProgress is a RecommendationLifecycleStage enum value
	RecommendationLifecycleStageInProgress = "in_progress"

	// RecommendationLifecycleStagePendingResponse is a RecommendationLifecycleStage enum value
	RecommendationLifecycleStagePendingResponse = "pending_response"

	// RecommendationLifecycleStageDismissed is a RecommendationLifecycleStage enum value
	RecommendationLifecycleStageDismissed = "dismissed"

	// RecommendationLifecycleStageResolved is a RecommendationLifecycleStage enum value
	RecommendationLifecycleStageResolved = "resolved"
)
View Source
const (
	// RecommendationPillarCostOptimizing is a RecommendationPillar enum value
	RecommendationPillarCostOptimizing = "cost_optimizing"

	// RecommendationPillarPerformance is a RecommendationPillar enum value
	RecommendationPillarPerformance = "performance"

	// RecommendationPillarSecurity is a RecommendationPillar enum value
	RecommendationPillarSecurity = "security"

	// RecommendationPillarServiceLimits is a RecommendationPillar enum value
	RecommendationPillarServiceLimits = "service_limits"

	// RecommendationPillarFaultTolerance is a RecommendationPillar enum value
	RecommendationPillarFaultTolerance = "fault_tolerance"

	// RecommendationPillarOperationalExcellence is a RecommendationPillar enum value
	RecommendationPillarOperationalExcellence = "operational_excellence"
)
View Source
const (
	// RecommendationSourceAwsConfig is a RecommendationSource enum value
	RecommendationSourceAwsConfig = "aws_config"

	// RecommendationSourceComputeOptimizer is a RecommendationSource enum value
	RecommendationSourceComputeOptimizer = "compute_optimizer"

	// RecommendationSourceCostExplorer is a RecommendationSource enum value
	RecommendationSourceCostExplorer = "cost_explorer"

	// RecommendationSourceLse is a RecommendationSource enum value
	RecommendationSourceLse = "lse"

	// RecommendationSourceManual is a RecommendationSource enum value
	RecommendationSourceManual = "manual"

	// RecommendationSourcePse is a RecommendationSource enum value
	RecommendationSourcePse = "pse"

	// RecommendationSourceRds is a RecommendationSource enum value
	RecommendationSourceRds = "rds"

	// RecommendationSourceResilience is a RecommendationSource enum value
	RecommendationSourceResilience = "resilience"

	// RecommendationSourceResilienceHub is a RecommendationSource enum value
	RecommendationSourceResilienceHub = "resilience_hub"

	// RecommendationSourceSecurityHub is a RecommendationSource enum value
	RecommendationSourceSecurityHub = "security_hub"

	// RecommendationSourceStir is a RecommendationSource enum value
	RecommendationSourceStir = "stir"

	// RecommendationSourceTaCheck is a RecommendationSource enum value
	RecommendationSourceTaCheck = "ta_check"

	// RecommendationSourceWellArchitected is a RecommendationSource enum value
	RecommendationSourceWellArchitected = "well_architected"
)
View Source
const (
	// RecommendationStatusOk is a RecommendationStatus enum value
	RecommendationStatusOk = "ok"

	// RecommendationStatusWarning is a RecommendationStatus enum value
	RecommendationStatusWarning = "warning"

	// RecommendationStatusError is a RecommendationStatus enum value
	RecommendationStatusError = "error"
)
View Source
const (
	// RecommendationTypeStandard is a RecommendationType enum value
	RecommendationTypeStandard = "standard"

	// RecommendationTypePriority is a RecommendationType enum value
	RecommendationTypePriority = "priority"
)
View Source
const (
	// ResourceStatusOk is a ResourceStatus enum value
	ResourceStatusOk = "ok"

	// ResourceStatusWarning is a ResourceStatus enum value
	ResourceStatusWarning = "warning"

	// ResourceStatusError is a ResourceStatus enum value
	ResourceStatusError = "error"
)
View Source
const (
	// UpdateRecommendationLifecycleStagePendingResponse is a UpdateRecommendationLifecycleStage enum value
	UpdateRecommendationLifecycleStagePendingResponse = "pending_response"

	// UpdateRecommendationLifecycleStageInProgress is a UpdateRecommendationLifecycleStage enum value
	UpdateRecommendationLifecycleStageInProgress = "in_progress"

	// UpdateRecommendationLifecycleStageDismissed is a UpdateRecommendationLifecycleStage enum value
	UpdateRecommendationLifecycleStageDismissed = "dismissed"

	// UpdateRecommendationLifecycleStageResolved is a UpdateRecommendationLifecycleStage enum value
	UpdateRecommendationLifecycleStageResolved = "resolved"
)
View Source
const (
	// UpdateRecommendationLifecycleStageReasonCodeNonCriticalAccount is a UpdateRecommendationLifecycleStageReasonCode enum value
	UpdateRecommendationLifecycleStageReasonCodeNonCriticalAccount = "non_critical_account"

	// UpdateRecommendationLifecycleStageReasonCodeTemporaryAccount is a UpdateRecommendationLifecycleStageReasonCode enum value
	UpdateRecommendationLifecycleStageReasonCodeTemporaryAccount = "temporary_account"

	// UpdateRecommendationLifecycleStageReasonCodeValidBusinessCase is a UpdateRecommendationLifecycleStageReasonCode enum value
	UpdateRecommendationLifecycleStageReasonCodeValidBusinessCase = "valid_business_case"

	// UpdateRecommendationLifecycleStageReasonCodeOtherMethodsAvailable is a UpdateRecommendationLifecycleStageReasonCode enum value
	UpdateRecommendationLifecycleStageReasonCodeOtherMethodsAvailable = "other_methods_available"

	// UpdateRecommendationLifecycleStageReasonCodeLowPriority is a UpdateRecommendationLifecycleStageReasonCode enum value
	UpdateRecommendationLifecycleStageReasonCodeLowPriority = "low_priority"

	// UpdateRecommendationLifecycleStageReasonCodeNotApplicable is a UpdateRecommendationLifecycleStageReasonCode enum value
	UpdateRecommendationLifecycleStageReasonCodeNotApplicable = "not_applicable"

	// UpdateRecommendationLifecycleStageReasonCodeOther is a UpdateRecommendationLifecycleStageReasonCode enum value
	UpdateRecommendationLifecycleStageReasonCodeOther = "other"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// Exception that access has been denied due to insufficient access
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Exception that the request was denied due to conflictions in state
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// Exception to notify that an unexpected internal error occurred during processing
	// of the request
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Exception that the requested resource has not been found
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// Exception to notify that requests are being throttled
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Exception that the request failed to satisfy service constraints
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "TrustedAdvisor" // Name of service.
	EndpointsID = "trustedadvisor" // ID to lookup a service endpoint with.
	ServiceID   = "TrustedAdvisor" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ExclusionStatus_Values added in v1.51.31

func ExclusionStatus_Values() []string

ExclusionStatus_Values returns all elements of the ExclusionStatus enum

func RecommendationLanguage_Values

func RecommendationLanguage_Values() []string

RecommendationLanguage_Values returns all elements of the RecommendationLanguage enum

func RecommendationLifecycleStage_Values

func RecommendationLifecycleStage_Values() []string

RecommendationLifecycleStage_Values returns all elements of the RecommendationLifecycleStage enum

func RecommendationPillar_Values

func RecommendationPillar_Values() []string

RecommendationPillar_Values returns all elements of the RecommendationPillar enum

func RecommendationSource_Values

func RecommendationSource_Values() []string

RecommendationSource_Values returns all elements of the RecommendationSource enum

func RecommendationStatus_Values

func RecommendationStatus_Values() []string

RecommendationStatus_Values returns all elements of the RecommendationStatus enum

func RecommendationType_Values

func RecommendationType_Values() []string

RecommendationType_Values returns all elements of the RecommendationType enum

func ResourceStatus_Values

func ResourceStatus_Values() []string

ResourceStatus_Values returns all elements of the ResourceStatus enum

func UpdateRecommendationLifecycleStageReasonCode_Values

func UpdateRecommendationLifecycleStageReasonCode_Values() []string

UpdateRecommendationLifecycleStageReasonCode_Values returns all elements of the UpdateRecommendationLifecycleStageReasonCode enum

func UpdateRecommendationLifecycleStage_Values

func UpdateRecommendationLifecycleStage_Values() []string

UpdateRecommendationLifecycleStage_Values returns all elements of the UpdateRecommendationLifecycleStage enum

Types

type AccessDeniedException

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

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

Exception that access has been denied due to insufficient access

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 AccountRecommendationLifecycleSummary

type AccountRecommendationLifecycleSummary struct {

	// The AWS account ID
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The Recommendation ARN
	AccountRecommendationArn *string `locationName:"accountRecommendationArn" min:"20" type:"string"`

	// When the Recommendation was last updated
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The lifecycle stage from AWS Trusted Advisor Priority
	LifecycleStage *string `locationName:"lifecycleStage" type:"string" enum:"RecommendationLifecycleStage"`

	// Reason for the lifecycle stage change
	//
	// UpdateReason is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountRecommendationLifecycleSummary's
	// String and GoString methods.
	UpdateReason *string `locationName:"updateReason" min:"10" type:"string" sensitive:"true"`

	// Reason code for the lifecycle state change
	UpdateReasonCode *string `locationName:"updateReasonCode" type:"string" enum:"UpdateRecommendationLifecycleStageReasonCode"`

	// The person on whose behalf a Technical Account Manager (TAM) updated the
	// recommendation. This information is only available when a Technical Account
	// Manager takes an action on a recommendation managed by AWS Trusted Advisor
	// Priority
	UpdatedOnBehalfOf *string `locationName:"updatedOnBehalfOf" type:"string"`

	// The job title of the person on whose behalf a Technical Account Manager (TAM)
	// updated the recommendation. This information is only available when a Technical
	// Account Manager takes an action on a recommendation managed by AWS Trusted
	// Advisor Priority
	UpdatedOnBehalfOfJobTitle *string `locationName:"updatedOnBehalfOfJobTitle" type:"string"`
	// contains filtered or unexported fields
}

Summary of an AccountRecommendationLifecycle for an Organization Recommendation

func (AccountRecommendationLifecycleSummary) 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 (*AccountRecommendationLifecycleSummary) SetAccountId

SetAccountId sets the AccountId field's value.

func (*AccountRecommendationLifecycleSummary) SetAccountRecommendationArn

SetAccountRecommendationArn sets the AccountRecommendationArn field's value.

func (*AccountRecommendationLifecycleSummary) SetLastUpdatedAt

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*AccountRecommendationLifecycleSummary) SetLifecycleStage

SetLifecycleStage sets the LifecycleStage field's value.

func (*AccountRecommendationLifecycleSummary) SetUpdateReason

SetUpdateReason sets the UpdateReason field's value.

func (*AccountRecommendationLifecycleSummary) SetUpdateReasonCode

SetUpdateReasonCode sets the UpdateReasonCode field's value.

func (*AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOf

SetUpdatedOnBehalfOf sets the UpdatedOnBehalfOf field's value.

func (*AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOfJobTitle

SetUpdatedOnBehalfOfJobTitle sets the UpdatedOnBehalfOfJobTitle field's value.

func (AccountRecommendationLifecycleSummary) 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 BatchUpdateRecommendationResourceExclusionInput added in v1.51.31

type BatchUpdateRecommendationResourceExclusionInput struct {

	// A list of recommendation resource ARNs and exclusion status to update
	//
	// RecommendationResourceExclusions is a required field
	RecommendationResourceExclusions []*RecommendationResourceExclusion `locationName:"recommendationResourceExclusions" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchUpdateRecommendationResourceExclusionInput) GoString added in v1.51.31

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 (*BatchUpdateRecommendationResourceExclusionInput) SetRecommendationResourceExclusions added in v1.51.31

SetRecommendationResourceExclusions sets the RecommendationResourceExclusions field's value.

func (BatchUpdateRecommendationResourceExclusionInput) String added in v1.51.31

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 (*BatchUpdateRecommendationResourceExclusionInput) Validate added in v1.51.31

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

type BatchUpdateRecommendationResourceExclusionOutput added in v1.51.31

type BatchUpdateRecommendationResourceExclusionOutput struct {

	// A list of recommendation resource ARNs whose exclusion status failed to update,
	// if any
	//
	// BatchUpdateRecommendationResourceExclusionErrors is a required field
	BatchUpdateRecommendationResourceExclusionErrors []*UpdateRecommendationResourceExclusionError `locationName:"batchUpdateRecommendationResourceExclusionErrors" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (BatchUpdateRecommendationResourceExclusionOutput) GoString added in v1.51.31

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 (*BatchUpdateRecommendationResourceExclusionOutput) SetBatchUpdateRecommendationResourceExclusionErrors added in v1.51.31

SetBatchUpdateRecommendationResourceExclusionErrors sets the BatchUpdateRecommendationResourceExclusionErrors field's value.

func (BatchUpdateRecommendationResourceExclusionOutput) String added in v1.51.31

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 CheckSummary

type CheckSummary struct {

	// The ARN of the AWS Trusted Advisor Check
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The AWS Services that the Check applies to
	//
	// AwsServices is a required field
	AwsServices []*string `locationName:"awsServices" type:"list" required:"true"`

	// A description of what the AWS Trusted Advisor Check is monitoring
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// The unique identifier of the AWS Trusted Advisor Check
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// The column headings for the metadata returned in the resource
	//
	// Metadata is a required field
	Metadata map[string]*string `locationName:"metadata" type:"map" required:"true"`

	// The name of the AWS Trusted Advisor Check
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The Recommendation pillars that the AWS Trusted Advisor Check falls under
	//
	// Pillars is a required field
	Pillars []*string `locationName:"pillars" type:"list" required:"true" enum:"RecommendationPillar"`

	// The source of the Recommendation
	//
	// Source is a required field
	Source *string `locationName:"source" type:"string" required:"true" enum:"RecommendationSource"`
	// contains filtered or unexported fields
}

A summary of an AWS Trusted Advisor Check

func (CheckSummary) GoString

func (s CheckSummary) 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 (*CheckSummary) SetArn

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

SetArn sets the Arn field's value.

func (*CheckSummary) SetAwsServices

func (s *CheckSummary) SetAwsServices(v []*string) *CheckSummary

SetAwsServices sets the AwsServices field's value.

func (*CheckSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*CheckSummary) SetId

func (s *CheckSummary) SetId(v string) *CheckSummary

SetId sets the Id field's value.

func (*CheckSummary) SetMetadata

func (s *CheckSummary) SetMetadata(v map[string]*string) *CheckSummary

SetMetadata sets the Metadata field's value.

func (*CheckSummary) SetName

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

SetName sets the Name field's value.

func (*CheckSummary) SetPillars

func (s *CheckSummary) SetPillars(v []*string) *CheckSummary

SetPillars sets the Pillars field's value.

func (*CheckSummary) SetSource

func (s *CheckSummary) SetSource(v string) *CheckSummary

SetSource sets the Source field's value.

func (CheckSummary) String

func (s CheckSummary) 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 ConflictException

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

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

Exception that the request was denied due to conflictions in state

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) 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 (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) 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 GetOrganizationRecommendationInput

type GetOrganizationRecommendationInput struct {

	// The Recommendation identifier
	//
	// OrganizationRecommendationIdentifier is a required field
	OrganizationRecommendationIdentifier *string `location:"uri" locationName:"organizationRecommendationIdentifier" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetOrganizationRecommendationInput) 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 (*GetOrganizationRecommendationInput) SetOrganizationRecommendationIdentifier

func (s *GetOrganizationRecommendationInput) SetOrganizationRecommendationIdentifier(v string) *GetOrganizationRecommendationInput

SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.

func (GetOrganizationRecommendationInput) 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 (*GetOrganizationRecommendationInput) Validate

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

type GetOrganizationRecommendationOutput

type GetOrganizationRecommendationOutput struct {

	// The Recommendation
	OrganizationRecommendation *OrganizationRecommendation `locationName:"organizationRecommendation" type:"structure"`
	// contains filtered or unexported fields
}

func (GetOrganizationRecommendationOutput) 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 (*GetOrganizationRecommendationOutput) SetOrganizationRecommendation

SetOrganizationRecommendation sets the OrganizationRecommendation field's value.

func (GetOrganizationRecommendationOutput) 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 GetRecommendationInput

type GetRecommendationInput struct {

	// The Recommendation identifier
	//
	// RecommendationIdentifier is a required field
	RecommendationIdentifier *string `location:"uri" locationName:"recommendationIdentifier" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRecommendationInput) GoString

func (s GetRecommendationInput) 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 (*GetRecommendationInput) SetRecommendationIdentifier

func (s *GetRecommendationInput) SetRecommendationIdentifier(v string) *GetRecommendationInput

SetRecommendationIdentifier sets the RecommendationIdentifier field's value.

func (GetRecommendationInput) String

func (s GetRecommendationInput) 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 (*GetRecommendationInput) Validate

func (s *GetRecommendationInput) Validate() error

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

type GetRecommendationOutput

type GetRecommendationOutput struct {

	// The Recommendation
	Recommendation *Recommendation `locationName:"recommendation" type:"structure"`
	// contains filtered or unexported fields
}

func (GetRecommendationOutput) GoString

func (s GetRecommendationOutput) 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 (*GetRecommendationOutput) SetRecommendation

SetRecommendation sets the Recommendation field's value.

func (GetRecommendationOutput) String

func (s GetRecommendationOutput) 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 InternalServerException

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

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

Exception to notify that an unexpected internal error occurred during processing of the request

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) 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 (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) 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 ListChecksInput

type ListChecksInput struct {

	// The aws service associated with the check
	AwsService *string `location:"querystring" locationName:"awsService" min:"2" type:"string"`

	// The ISO 639-1 code for the language that you want your checks to appear in.
	Language *string `location:"querystring" locationName:"language" type:"string" enum:"RecommendationLanguage"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"4" type:"string"`

	// The pillar of the check
	Pillar *string `location:"querystring" locationName:"pillar" type:"string" enum:"RecommendationPillar"`

	// The source of the check
	Source *string `location:"querystring" locationName:"source" type:"string" enum:"RecommendationSource"`
	// contains filtered or unexported fields
}

func (ListChecksInput) GoString

func (s ListChecksInput) 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 (*ListChecksInput) SetAwsService

func (s *ListChecksInput) SetAwsService(v string) *ListChecksInput

SetAwsService sets the AwsService field's value.

func (*ListChecksInput) SetLanguage

func (s *ListChecksInput) SetLanguage(v string) *ListChecksInput

SetLanguage sets the Language field's value.

func (*ListChecksInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListChecksInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListChecksInput) SetPillar

func (s *ListChecksInput) SetPillar(v string) *ListChecksInput

SetPillar sets the Pillar field's value.

func (*ListChecksInput) SetSource

func (s *ListChecksInput) SetSource(v string) *ListChecksInput

SetSource sets the Source field's value.

func (ListChecksInput) String

func (s ListChecksInput) 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 (*ListChecksInput) Validate

func (s *ListChecksInput) Validate() error

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

type ListChecksOutput

type ListChecksOutput struct {

	// The list of Checks
	//
	// CheckSummaries is a required field
	CheckSummaries []*CheckSummary `locationName:"checkSummaries" type:"list" required:"true"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"4" type:"string"`
	// contains filtered or unexported fields
}

func (ListChecksOutput) GoString

func (s ListChecksOutput) 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 (*ListChecksOutput) SetCheckSummaries

func (s *ListChecksOutput) SetCheckSummaries(v []*CheckSummary) *ListChecksOutput

SetCheckSummaries sets the CheckSummaries field's value.

func (*ListChecksOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListChecksOutput) String

func (s ListChecksOutput) 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 ListOrganizationRecommendationAccountsInput

type ListOrganizationRecommendationAccountsInput struct {

	// An account affected by this organization recommendation
	AffectedAccountId *string `location:"querystring" locationName:"affectedAccountId" min:"12" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"4" type:"string"`

	// The Recommendation identifier
	//
	// OrganizationRecommendationIdentifier is a required field
	OrganizationRecommendationIdentifier *string `location:"uri" locationName:"organizationRecommendationIdentifier" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListOrganizationRecommendationAccountsInput) 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 (*ListOrganizationRecommendationAccountsInput) SetAffectedAccountId

SetAffectedAccountId sets the AffectedAccountId field's value.

func (*ListOrganizationRecommendationAccountsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationRecommendationAccountsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListOrganizationRecommendationAccountsInput) SetOrganizationRecommendationIdentifier

SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.

func (ListOrganizationRecommendationAccountsInput) 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 (*ListOrganizationRecommendationAccountsInput) Validate

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

type ListOrganizationRecommendationAccountsOutput

type ListOrganizationRecommendationAccountsOutput struct {

	// The account recommendations lifecycles that are applicable to the Recommendation
	//
	// AccountRecommendationLifecycleSummaries is a required field
	AccountRecommendationLifecycleSummaries []*AccountRecommendationLifecycleSummary `locationName:"accountRecommendationLifecycleSummaries" type:"list" required:"true"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"4" type:"string"`
	// contains filtered or unexported fields
}

func (ListOrganizationRecommendationAccountsOutput) 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 (*ListOrganizationRecommendationAccountsOutput) SetAccountRecommendationLifecycleSummaries

SetAccountRecommendationLifecycleSummaries sets the AccountRecommendationLifecycleSummaries field's value.

func (*ListOrganizationRecommendationAccountsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListOrganizationRecommendationAccountsOutput) 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 ListOrganizationRecommendationResourcesInput

type ListOrganizationRecommendationResourcesInput struct {

	// An account affected by this organization recommendation
	AffectedAccountId *string `location:"querystring" locationName:"affectedAccountId" min:"12" type:"string"`

	// The exclusion status of the resource
	ExclusionStatus *string `location:"querystring" locationName:"exclusionStatus" type:"string" enum:"ExclusionStatus"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"4" type:"string"`

	// The AWS Organization organization's Recommendation identifier
	//
	// OrganizationRecommendationIdentifier is a required field
	OrganizationRecommendationIdentifier *string `location:"uri" locationName:"organizationRecommendationIdentifier" min:"20" type:"string" required:"true"`

	// The AWS Region code of the resource
	RegionCode *string `location:"querystring" locationName:"regionCode" type:"string"`

	// The status of the resource
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"ResourceStatus"`
	// contains filtered or unexported fields
}

func (ListOrganizationRecommendationResourcesInput) 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 (*ListOrganizationRecommendationResourcesInput) SetAffectedAccountId

SetAffectedAccountId sets the AffectedAccountId field's value.

func (*ListOrganizationRecommendationResourcesInput) SetExclusionStatus added in v1.51.31

SetExclusionStatus sets the ExclusionStatus field's value.

func (*ListOrganizationRecommendationResourcesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationRecommendationResourcesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListOrganizationRecommendationResourcesInput) SetOrganizationRecommendationIdentifier

SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.

func (*ListOrganizationRecommendationResourcesInput) SetRegionCode

SetRegionCode sets the RegionCode field's value.

func (*ListOrganizationRecommendationResourcesInput) SetStatus

SetStatus sets the Status field's value.

func (ListOrganizationRecommendationResourcesInput) 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 (*ListOrganizationRecommendationResourcesInput) Validate

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

type ListOrganizationRecommendationResourcesOutput

type ListOrganizationRecommendationResourcesOutput struct {

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"4" type:"string"`

	// A list of Recommendation Resources
	//
	// OrganizationRecommendationResourceSummaries is a required field
	OrganizationRecommendationResourceSummaries []*OrganizationRecommendationResourceSummary `locationName:"organizationRecommendationResourceSummaries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListOrganizationRecommendationResourcesOutput) 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 (*ListOrganizationRecommendationResourcesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListOrganizationRecommendationResourcesOutput) SetOrganizationRecommendationResourceSummaries

SetOrganizationRecommendationResourceSummaries sets the OrganizationRecommendationResourceSummaries field's value.

func (ListOrganizationRecommendationResourcesOutput) 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 ListOrganizationRecommendationsInput

type ListOrganizationRecommendationsInput struct {

	// After the last update of the Recommendation
	AfterLastUpdatedAt *time.Time `location:"querystring" locationName:"afterLastUpdatedAt" type:"timestamp"`

	// The aws service associated with the Recommendation
	AwsService *string `location:"querystring" locationName:"awsService" min:"2" type:"string"`

	// Before the last update of the Recommendation
	BeforeLastUpdatedAt *time.Time `location:"querystring" locationName:"beforeLastUpdatedAt" type:"timestamp"`

	// The check identifier of the Recommendation
	CheckIdentifier *string `location:"querystring" locationName:"checkIdentifier" min:"20" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"4" type:"string"`

	// The pillar of the Recommendation
	Pillar *string `location:"querystring" locationName:"pillar" type:"string" enum:"RecommendationPillar"`

	// The source of the Recommendation
	Source *string `location:"querystring" locationName:"source" type:"string" enum:"RecommendationSource"`

	// The status of the Recommendation
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"RecommendationStatus"`

	// The type of the Recommendation
	Type *string `location:"querystring" locationName:"type" type:"string" enum:"RecommendationType"`
	// contains filtered or unexported fields
}

func (ListOrganizationRecommendationsInput) 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 (*ListOrganizationRecommendationsInput) SetAfterLastUpdatedAt

SetAfterLastUpdatedAt sets the AfterLastUpdatedAt field's value.

func (*ListOrganizationRecommendationsInput) SetAwsService

SetAwsService sets the AwsService field's value.

func (*ListOrganizationRecommendationsInput) SetBeforeLastUpdatedAt

SetBeforeLastUpdatedAt sets the BeforeLastUpdatedAt field's value.

func (*ListOrganizationRecommendationsInput) SetCheckIdentifier

SetCheckIdentifier sets the CheckIdentifier field's value.

func (*ListOrganizationRecommendationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListOrganizationRecommendationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListOrganizationRecommendationsInput) SetPillar

SetPillar sets the Pillar field's value.

func (*ListOrganizationRecommendationsInput) SetSource

SetSource sets the Source field's value.

func (*ListOrganizationRecommendationsInput) SetStatus

SetStatus sets the Status field's value.

func (*ListOrganizationRecommendationsInput) SetType

SetType sets the Type field's value.

func (ListOrganizationRecommendationsInput) 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 (*ListOrganizationRecommendationsInput) Validate

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

type ListOrganizationRecommendationsOutput

type ListOrganizationRecommendationsOutput struct {

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"4" type:"string"`

	// The list of Recommendations
	//
	// OrganizationRecommendationSummaries is a required field
	OrganizationRecommendationSummaries []*OrganizationRecommendationSummary `locationName:"organizationRecommendationSummaries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListOrganizationRecommendationsOutput) 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 (*ListOrganizationRecommendationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListOrganizationRecommendationsOutput) SetOrganizationRecommendationSummaries

SetOrganizationRecommendationSummaries sets the OrganizationRecommendationSummaries field's value.

func (ListOrganizationRecommendationsOutput) 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 ListRecommendationResourcesInput

type ListRecommendationResourcesInput struct {

	// The exclusion status of the resource
	ExclusionStatus *string `location:"querystring" locationName:"exclusionStatus" type:"string" enum:"ExclusionStatus"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"4" type:"string"`

	// The Recommendation identifier
	//
	// RecommendationIdentifier is a required field
	RecommendationIdentifier *string `location:"uri" locationName:"recommendationIdentifier" min:"20" type:"string" required:"true"`

	// The AWS Region code of the resource
	RegionCode *string `location:"querystring" locationName:"regionCode" type:"string"`

	// The status of the resource
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"ResourceStatus"`
	// contains filtered or unexported fields
}

func (ListRecommendationResourcesInput) 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 (*ListRecommendationResourcesInput) SetExclusionStatus added in v1.51.31

SetExclusionStatus sets the ExclusionStatus field's value.

func (*ListRecommendationResourcesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRecommendationResourcesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRecommendationResourcesInput) SetRecommendationIdentifier

SetRecommendationIdentifier sets the RecommendationIdentifier field's value.

func (*ListRecommendationResourcesInput) SetRegionCode

SetRegionCode sets the RegionCode field's value.

func (*ListRecommendationResourcesInput) SetStatus

SetStatus sets the Status field's value.

func (ListRecommendationResourcesInput) 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 (*ListRecommendationResourcesInput) Validate

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

type ListRecommendationResourcesOutput

type ListRecommendationResourcesOutput struct {

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"4" type:"string"`

	// A list of Recommendation Resources
	//
	// RecommendationResourceSummaries is a required field
	RecommendationResourceSummaries []*RecommendationResourceSummary `locationName:"recommendationResourceSummaries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListRecommendationResourcesOutput) 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 (*ListRecommendationResourcesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRecommendationResourcesOutput) SetRecommendationResourceSummaries

SetRecommendationResourceSummaries sets the RecommendationResourceSummaries field's value.

func (ListRecommendationResourcesOutput) 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 ListRecommendationsInput

type ListRecommendationsInput struct {

	// After the last update of the Recommendation
	AfterLastUpdatedAt *time.Time `location:"querystring" locationName:"afterLastUpdatedAt" type:"timestamp"`

	// The aws service associated with the Recommendation
	AwsService *string `location:"querystring" locationName:"awsService" min:"2" type:"string"`

	// Before the last update of the Recommendation
	BeforeLastUpdatedAt *time.Time `location:"querystring" locationName:"beforeLastUpdatedAt" type:"timestamp"`

	// The check identifier of the Recommendation
	CheckIdentifier *string `location:"querystring" locationName:"checkIdentifier" min:"20" type:"string"`

	// The maximum number of results to return per page.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"4" type:"string"`

	// The pillar of the Recommendation
	Pillar *string `location:"querystring" locationName:"pillar" type:"string" enum:"RecommendationPillar"`

	// The source of the Recommendation
	Source *string `location:"querystring" locationName:"source" type:"string" enum:"RecommendationSource"`

	// The status of the Recommendation
	Status *string `location:"querystring" locationName:"status" type:"string" enum:"RecommendationStatus"`

	// The type of the Recommendation
	Type *string `location:"querystring" locationName:"type" type:"string" enum:"RecommendationType"`
	// contains filtered or unexported fields
}

func (ListRecommendationsInput) GoString

func (s ListRecommendationsInput) 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 (*ListRecommendationsInput) SetAfterLastUpdatedAt

func (s *ListRecommendationsInput) SetAfterLastUpdatedAt(v time.Time) *ListRecommendationsInput

SetAfterLastUpdatedAt sets the AfterLastUpdatedAt field's value.

func (*ListRecommendationsInput) SetAwsService

SetAwsService sets the AwsService field's value.

func (*ListRecommendationsInput) SetBeforeLastUpdatedAt

func (s *ListRecommendationsInput) SetBeforeLastUpdatedAt(v time.Time) *ListRecommendationsInput

SetBeforeLastUpdatedAt sets the BeforeLastUpdatedAt field's value.

func (*ListRecommendationsInput) SetCheckIdentifier

func (s *ListRecommendationsInput) SetCheckIdentifier(v string) *ListRecommendationsInput

SetCheckIdentifier sets the CheckIdentifier field's value.

func (*ListRecommendationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRecommendationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRecommendationsInput) SetPillar

SetPillar sets the Pillar field's value.

func (*ListRecommendationsInput) SetSource

SetSource sets the Source field's value.

func (*ListRecommendationsInput) SetStatus

SetStatus sets the Status field's value.

func (*ListRecommendationsInput) SetType

SetType sets the Type field's value.

func (ListRecommendationsInput) String

func (s ListRecommendationsInput) 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 (*ListRecommendationsInput) Validate

func (s *ListRecommendationsInput) Validate() error

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

type ListRecommendationsOutput

type ListRecommendationsOutput struct {

	// The token for the next set of results. Use the value returned in the previous
	// response in the next request to retrieve the next set of results.
	NextToken *string `locationName:"nextToken" min:"4" type:"string"`

	// The list of Recommendations
	//
	// RecommendationSummaries is a required field
	RecommendationSummaries []*RecommendationSummary `locationName:"recommendationSummaries" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListRecommendationsOutput) GoString

func (s ListRecommendationsOutput) 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 (*ListRecommendationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRecommendationsOutput) SetRecommendationSummaries

func (s *ListRecommendationsOutput) SetRecommendationSummaries(v []*RecommendationSummary) *ListRecommendationsOutput

SetRecommendationSummaries sets the RecommendationSummaries field's value.

func (ListRecommendationsOutput) String

func (s ListRecommendationsOutput) 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 OrganizationRecommendation

type OrganizationRecommendation struct {

	// The ARN of the Recommendation
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The AWS Services that the Recommendation applies to
	AwsServices []*string `locationName:"awsServices" type:"list"`

	// The AWS Trusted Advisor Check ARN that relates to the Recommendation
	CheckArn *string `locationName:"checkArn" type:"string"`

	// When the Recommendation was created, if created by AWS Trusted Advisor Priority
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The creator, if created by AWS Trusted Advisor Priority
	CreatedBy *string `locationName:"createdBy" type:"string"`

	// A description for AWS Trusted Advisor recommendations
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// The ID which identifies where the Recommendation was produced
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When the Recommendation was last updated
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The lifecycle stage from AWS Trusted Advisor Priority
	LifecycleStage *string `locationName:"lifecycleStage" type:"string" enum:"RecommendationLifecycleStage"`

	// The name of the AWS Trusted Advisor Recommendation
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The pillar aggregations for cost savings
	PillarSpecificAggregates *RecommendationPillarSpecificAggregates `locationName:"pillarSpecificAggregates" type:"structure"`

	// The Pillars that the Recommendation is optimizing
	//
	// Pillars is a required field
	Pillars []*string `locationName:"pillars" type:"list" required:"true" enum:"RecommendationPillar"`

	// When the Recommendation was resolved
	ResolvedAt *time.Time `locationName:"resolvedAt" type:"timestamp" timestampFormat:"iso8601"`

	// An aggregation of all resources
	//
	// ResourcesAggregates is a required field
	ResourcesAggregates *RecommendationResourcesAggregates `locationName:"resourcesAggregates" type:"structure" required:"true"`

	// The source of the Recommendation
	//
	// Source is a required field
	Source *string `locationName:"source" type:"string" required:"true" enum:"RecommendationSource"`

	// The status of the Recommendation
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationStatus"`

	// Whether the Recommendation was automated or generated by AWS Trusted Advisor
	// Priority
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"RecommendationType"`

	// Reason for the lifecycle stage change
	//
	// UpdateReason is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by OrganizationRecommendation's
	// String and GoString methods.
	UpdateReason *string `locationName:"updateReason" min:"10" type:"string" sensitive:"true"`

	// Reason code for the lifecycle state change
	UpdateReasonCode *string `locationName:"updateReasonCode" type:"string" enum:"UpdateRecommendationLifecycleStageReasonCode"`

	// The person on whose behalf a Technical Account Manager (TAM) updated the
	// recommendation. This information is only available when a Technical Account
	// Manager takes an action on a recommendation managed by AWS Trusted Advisor
	// Priority
	UpdatedOnBehalfOf *string `locationName:"updatedOnBehalfOf" type:"string"`

	// The job title of the person on whose behalf a Technical Account Manager (TAM)
	// updated the recommendation. This information is only available when a Technical
	// Account Manager takes an action on a recommendation managed by AWS Trusted
	// Advisor Priority
	UpdatedOnBehalfOfJobTitle *string `locationName:"updatedOnBehalfOfJobTitle" type:"string"`
	// contains filtered or unexported fields
}

A Recommendation for accounts within an Organization

func (OrganizationRecommendation) GoString

func (s OrganizationRecommendation) 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 (*OrganizationRecommendation) SetArn

SetArn sets the Arn field's value.

func (*OrganizationRecommendation) SetAwsServices

SetAwsServices sets the AwsServices field's value.

func (*OrganizationRecommendation) SetCheckArn

SetCheckArn sets the CheckArn field's value.

func (*OrganizationRecommendation) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*OrganizationRecommendation) SetCreatedBy

SetCreatedBy sets the CreatedBy field's value.

func (*OrganizationRecommendation) SetDescription

SetDescription sets the Description field's value.

func (*OrganizationRecommendation) SetId

SetId sets the Id field's value.

func (*OrganizationRecommendation) SetLastUpdatedAt

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*OrganizationRecommendation) SetLifecycleStage

SetLifecycleStage sets the LifecycleStage field's value.

func (*OrganizationRecommendation) SetName

SetName sets the Name field's value.

func (*OrganizationRecommendation) SetPillarSpecificAggregates

SetPillarSpecificAggregates sets the PillarSpecificAggregates field's value.

func (*OrganizationRecommendation) SetPillars

SetPillars sets the Pillars field's value.

func (*OrganizationRecommendation) SetResolvedAt

SetResolvedAt sets the ResolvedAt field's value.

func (*OrganizationRecommendation) SetResourcesAggregates

SetResourcesAggregates sets the ResourcesAggregates field's value.

func (*OrganizationRecommendation) SetSource

SetSource sets the Source field's value.

func (*OrganizationRecommendation) SetStatus

SetStatus sets the Status field's value.

func (*OrganizationRecommendation) SetType

SetType sets the Type field's value.

func (*OrganizationRecommendation) SetUpdateReason

SetUpdateReason sets the UpdateReason field's value.

func (*OrganizationRecommendation) SetUpdateReasonCode

SetUpdateReasonCode sets the UpdateReasonCode field's value.

func (*OrganizationRecommendation) SetUpdatedOnBehalfOf

func (s *OrganizationRecommendation) SetUpdatedOnBehalfOf(v string) *OrganizationRecommendation

SetUpdatedOnBehalfOf sets the UpdatedOnBehalfOf field's value.

func (*OrganizationRecommendation) SetUpdatedOnBehalfOfJobTitle

func (s *OrganizationRecommendation) SetUpdatedOnBehalfOfJobTitle(v string) *OrganizationRecommendation

SetUpdatedOnBehalfOfJobTitle sets the UpdatedOnBehalfOfJobTitle field's value.

func (OrganizationRecommendation) 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 OrganizationRecommendationResourceSummary

type OrganizationRecommendationResourceSummary struct {

	// The AWS account ID
	AccountId *string `locationName:"accountId" min:"12" type:"string"`

	// The ARN of the Recommendation Resource
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The AWS resource identifier
	//
	// AwsResourceId is a required field
	AwsResourceId *string `locationName:"awsResourceId" type:"string" required:"true"`

	// The exclusion status of the Recommendation Resource
	ExclusionStatus *string `locationName:"exclusionStatus" type:"string" enum:"ExclusionStatus"`

	// The ID of the Recommendation Resource
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When the Recommendation Resource was last updated
	//
	// LastUpdatedAt is a required field
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// Metadata associated with the Recommendation Resource
	//
	// Metadata is a required field
	Metadata map[string]*string `locationName:"metadata" type:"map" required:"true"`

	// The Recommendation ARN
	//
	// RecommendationArn is a required field
	RecommendationArn *string `locationName:"recommendationArn" min:"20" type:"string" required:"true"`

	// The AWS Region code that the Recommendation Resource is in
	//
	// RegionCode is a required field
	RegionCode *string `locationName:"regionCode" min:"9" type:"string" required:"true"`

	// The current status of the Recommendation Resource
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceStatus"`
	// contains filtered or unexported fields
}

Organization Recommendation Resource Summary

func (OrganizationRecommendationResourceSummary) 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 (*OrganizationRecommendationResourceSummary) SetAccountId

SetAccountId sets the AccountId field's value.

func (*OrganizationRecommendationResourceSummary) SetArn

SetArn sets the Arn field's value.

func (*OrganizationRecommendationResourceSummary) SetAwsResourceId

SetAwsResourceId sets the AwsResourceId field's value.

func (*OrganizationRecommendationResourceSummary) SetExclusionStatus added in v1.51.31

SetExclusionStatus sets the ExclusionStatus field's value.

func (*OrganizationRecommendationResourceSummary) SetId

SetId sets the Id field's value.

func (*OrganizationRecommendationResourceSummary) SetLastUpdatedAt

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*OrganizationRecommendationResourceSummary) SetMetadata

SetMetadata sets the Metadata field's value.

func (*OrganizationRecommendationResourceSummary) SetRecommendationArn

SetRecommendationArn sets the RecommendationArn field's value.

func (*OrganizationRecommendationResourceSummary) SetRegionCode

SetRegionCode sets the RegionCode field's value.

func (*OrganizationRecommendationResourceSummary) SetStatus

SetStatus sets the Status field's value.

func (OrganizationRecommendationResourceSummary) 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 OrganizationRecommendationSummary

type OrganizationRecommendationSummary struct {

	// The ARN of the Recommendation
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The AWS Services that the Recommendation applies to
	AwsServices []*string `locationName:"awsServices" type:"list"`

	// The AWS Trusted Advisor Check ARN that relates to the Recommendation
	CheckArn *string `locationName:"checkArn" type:"string"`

	// When the Recommendation was created, if created by AWS Trusted Advisor Priority
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The ID which identifies where the Recommendation was produced
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When the Recommendation was last updated
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The lifecycle stage from AWS Trusted Advisor Priority
	LifecycleStage *string `locationName:"lifecycleStage" type:"string" enum:"RecommendationLifecycleStage"`

	// The name of the AWS Trusted Advisor Recommendation
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The pillar aggregations for cost savings
	PillarSpecificAggregates *RecommendationPillarSpecificAggregates `locationName:"pillarSpecificAggregates" type:"structure"`

	// The Pillars that the Recommendation is optimizing
	//
	// Pillars is a required field
	Pillars []*string `locationName:"pillars" type:"list" required:"true" enum:"RecommendationPillar"`

	// An aggregation of all resources
	//
	// ResourcesAggregates is a required field
	ResourcesAggregates *RecommendationResourcesAggregates `locationName:"resourcesAggregates" type:"structure" required:"true"`

	// The source of the Recommendation
	//
	// Source is a required field
	Source *string `locationName:"source" type:"string" required:"true" enum:"RecommendationSource"`

	// The status of the Recommendation
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationStatus"`

	// Whether the Recommendation was automated or generated by AWS Trusted Advisor
	// Priority
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"RecommendationType"`
	// contains filtered or unexported fields
}

Summary of recommendation for accounts within an Organization

func (OrganizationRecommendationSummary) 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 (*OrganizationRecommendationSummary) SetArn

SetArn sets the Arn field's value.

func (*OrganizationRecommendationSummary) SetAwsServices

SetAwsServices sets the AwsServices field's value.

func (*OrganizationRecommendationSummary) SetCheckArn

SetCheckArn sets the CheckArn field's value.

func (*OrganizationRecommendationSummary) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*OrganizationRecommendationSummary) SetId

SetId sets the Id field's value.

func (*OrganizationRecommendationSummary) SetLastUpdatedAt

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*OrganizationRecommendationSummary) SetLifecycleStage

SetLifecycleStage sets the LifecycleStage field's value.

func (*OrganizationRecommendationSummary) SetName

SetName sets the Name field's value.

func (*OrganizationRecommendationSummary) SetPillarSpecificAggregates

SetPillarSpecificAggregates sets the PillarSpecificAggregates field's value.

func (*OrganizationRecommendationSummary) SetPillars

SetPillars sets the Pillars field's value.

func (*OrganizationRecommendationSummary) SetResourcesAggregates

SetResourcesAggregates sets the ResourcesAggregates field's value.

func (*OrganizationRecommendationSummary) SetSource

SetSource sets the Source field's value.

func (*OrganizationRecommendationSummary) SetStatus

SetStatus sets the Status field's value.

func (*OrganizationRecommendationSummary) SetType

SetType sets the Type field's value.

func (OrganizationRecommendationSummary) 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 Recommendation

type Recommendation struct {

	// The ARN of the Recommendation
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The AWS Services that the Recommendation applies to
	AwsServices []*string `locationName:"awsServices" type:"list"`

	// The AWS Trusted Advisor Check ARN that relates to the Recommendation
	CheckArn *string `locationName:"checkArn" type:"string"`

	// When the Recommendation was created, if created by AWS Trusted Advisor Priority
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The creator, if created by AWS Trusted Advisor Priority
	CreatedBy *string `locationName:"createdBy" type:"string"`

	// A description for AWS Trusted Advisor recommendations
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// The ID which identifies where the Recommendation was produced
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When the Recommendation was last updated
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The lifecycle stage from AWS Trusted Advisor Priority
	LifecycleStage *string `locationName:"lifecycleStage" type:"string" enum:"RecommendationLifecycleStage"`

	// The name of the AWS Trusted Advisor Recommendation
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The pillar aggregations for cost savings
	PillarSpecificAggregates *RecommendationPillarSpecificAggregates `locationName:"pillarSpecificAggregates" type:"structure"`

	// The Pillars that the Recommendation is optimizing
	//
	// Pillars is a required field
	Pillars []*string `locationName:"pillars" type:"list" required:"true" enum:"RecommendationPillar"`

	// When the Recommendation was resolved
	ResolvedAt *time.Time `locationName:"resolvedAt" type:"timestamp" timestampFormat:"iso8601"`

	// An aggregation of all resources
	//
	// ResourcesAggregates is a required field
	ResourcesAggregates *RecommendationResourcesAggregates `locationName:"resourcesAggregates" type:"structure" required:"true"`

	// The source of the Recommendation
	//
	// Source is a required field
	Source *string `locationName:"source" type:"string" required:"true" enum:"RecommendationSource"`

	// The status of the Recommendation
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationStatus"`

	// Whether the Recommendation was automated or generated by AWS Trusted Advisor
	// Priority
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"RecommendationType"`

	// Reason for the lifecycle stage change
	//
	// UpdateReason is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Recommendation's
	// String and GoString methods.
	UpdateReason *string `locationName:"updateReason" min:"10" type:"string" sensitive:"true"`

	// Reason code for the lifecycle state change
	UpdateReasonCode *string `locationName:"updateReasonCode" type:"string" enum:"UpdateRecommendationLifecycleStageReasonCode"`

	// The person on whose behalf a Technical Account Manager (TAM) updated the
	// recommendation. This information is only available when a Technical Account
	// Manager takes an action on a recommendation managed by AWS Trusted Advisor
	// Priority
	UpdatedOnBehalfOf *string `locationName:"updatedOnBehalfOf" type:"string"`

	// The job title of the person on whose behalf a Technical Account Manager (TAM)
	// updated the recommendation. This information is only available when a Technical
	// Account Manager takes an action on a recommendation managed by AWS Trusted
	// Advisor Priority
	UpdatedOnBehalfOfJobTitle *string `locationName:"updatedOnBehalfOfJobTitle" type:"string"`
	// contains filtered or unexported fields
}

A Recommendation for an Account

func (Recommendation) GoString

func (s Recommendation) 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 (*Recommendation) SetArn

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

SetArn sets the Arn field's value.

func (*Recommendation) SetAwsServices

func (s *Recommendation) SetAwsServices(v []*string) *Recommendation

SetAwsServices sets the AwsServices field's value.

func (*Recommendation) SetCheckArn

func (s *Recommendation) SetCheckArn(v string) *Recommendation

SetCheckArn sets the CheckArn field's value.

func (*Recommendation) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*Recommendation) SetCreatedBy

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

SetCreatedBy sets the CreatedBy field's value.

func (*Recommendation) SetDescription

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

SetDescription sets the Description field's value.

func (*Recommendation) SetId

func (s *Recommendation) SetId(v string) *Recommendation

SetId sets the Id field's value.

func (*Recommendation) SetLastUpdatedAt

func (s *Recommendation) SetLastUpdatedAt(v time.Time) *Recommendation

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*Recommendation) SetLifecycleStage

func (s *Recommendation) SetLifecycleStage(v string) *Recommendation

SetLifecycleStage sets the LifecycleStage field's value.

func (*Recommendation) SetName

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

SetName sets the Name field's value.

func (*Recommendation) SetPillarSpecificAggregates

func (s *Recommendation) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *Recommendation

SetPillarSpecificAggregates sets the PillarSpecificAggregates field's value.

func (*Recommendation) SetPillars

func (s *Recommendation) SetPillars(v []*string) *Recommendation

SetPillars sets the Pillars field's value.

func (*Recommendation) SetResolvedAt

func (s *Recommendation) SetResolvedAt(v time.Time) *Recommendation

SetResolvedAt sets the ResolvedAt field's value.

func (*Recommendation) SetResourcesAggregates

func (s *Recommendation) SetResourcesAggregates(v *RecommendationResourcesAggregates) *Recommendation

SetResourcesAggregates sets the ResourcesAggregates field's value.

func (*Recommendation) SetSource

func (s *Recommendation) SetSource(v string) *Recommendation

SetSource sets the Source field's value.

func (*Recommendation) SetStatus

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

SetStatus sets the Status field's value.

func (*Recommendation) SetType

func (s *Recommendation) SetType(v string) *Recommendation

SetType sets the Type field's value.

func (*Recommendation) SetUpdateReason

func (s *Recommendation) SetUpdateReason(v string) *Recommendation

SetUpdateReason sets the UpdateReason field's value.

func (*Recommendation) SetUpdateReasonCode

func (s *Recommendation) SetUpdateReasonCode(v string) *Recommendation

SetUpdateReasonCode sets the UpdateReasonCode field's value.

func (*Recommendation) SetUpdatedOnBehalfOf

func (s *Recommendation) SetUpdatedOnBehalfOf(v string) *Recommendation

SetUpdatedOnBehalfOf sets the UpdatedOnBehalfOf field's value.

func (*Recommendation) SetUpdatedOnBehalfOfJobTitle

func (s *Recommendation) SetUpdatedOnBehalfOfJobTitle(v string) *Recommendation

SetUpdatedOnBehalfOfJobTitle sets the UpdatedOnBehalfOfJobTitle field's value.

func (Recommendation) String

func (s Recommendation) 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 RecommendationCostOptimizingAggregates

type RecommendationCostOptimizingAggregates struct {

	// The estimated monthly savings
	//
	// EstimatedMonthlySavings is a required field
	EstimatedMonthlySavings *float64 `locationName:"estimatedMonthlySavings" type:"double" required:"true"`

	// The estimated percently monthly savings
	//
	// EstimatedPercentMonthlySavings is a required field
	EstimatedPercentMonthlySavings *float64 `locationName:"estimatedPercentMonthlySavings" type:"double" required:"true"`
	// contains filtered or unexported fields
}

Cost optimizing aggregates for a Recommendation

func (RecommendationCostOptimizingAggregates) 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 (*RecommendationCostOptimizingAggregates) SetEstimatedMonthlySavings

SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value.

func (*RecommendationCostOptimizingAggregates) SetEstimatedPercentMonthlySavings

SetEstimatedPercentMonthlySavings sets the EstimatedPercentMonthlySavings field's value.

func (RecommendationCostOptimizingAggregates) 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 RecommendationPillarSpecificAggregates

type RecommendationPillarSpecificAggregates struct {

	// Cost optimizing aggregates
	CostOptimizing *RecommendationCostOptimizingAggregates `locationName:"costOptimizing" type:"structure"`
	// contains filtered or unexported fields
}

Recommendation pillar aggregates

func (RecommendationPillarSpecificAggregates) 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 (*RecommendationPillarSpecificAggregates) SetCostOptimizing

SetCostOptimizing sets the CostOptimizing field's value.

func (RecommendationPillarSpecificAggregates) 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 RecommendationResourceExclusion added in v1.51.31

type RecommendationResourceExclusion struct {

	// The ARN of the Recommendation Resource
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The exclusion status
	//
	// IsExcluded is a required field
	IsExcluded *bool `locationName:"isExcluded" type:"boolean" required:"true"`
	// contains filtered or unexported fields
}

The request entry for Recommendation Resource exclusion. Each entry is a combination of Recommendation Resource ARN and corresponding exclusion status

func (RecommendationResourceExclusion) GoString added in v1.51.31

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 (*RecommendationResourceExclusion) SetArn added in v1.51.31

SetArn sets the Arn field's value.

func (*RecommendationResourceExclusion) SetIsExcluded added in v1.51.31

SetIsExcluded sets the IsExcluded field's value.

func (RecommendationResourceExclusion) String added in v1.51.31

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 (*RecommendationResourceExclusion) Validate added in v1.51.31

func (s *RecommendationResourceExclusion) Validate() error

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

type RecommendationResourceSummary

type RecommendationResourceSummary struct {

	// The ARN of the Recommendation Resource
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The AWS resource identifier
	//
	// AwsResourceId is a required field
	AwsResourceId *string `locationName:"awsResourceId" type:"string" required:"true"`

	// The exclusion status of the Recommendation Resource
	ExclusionStatus *string `locationName:"exclusionStatus" type:"string" enum:"ExclusionStatus"`

	// The ID of the Recommendation Resource
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When the Recommendation Resource was last updated
	//
	// LastUpdatedAt is a required field
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// Metadata associated with the Recommendation Resource
	//
	// Metadata is a required field
	Metadata map[string]*string `locationName:"metadata" type:"map" required:"true"`

	// The Recommendation ARN
	//
	// RecommendationArn is a required field
	RecommendationArn *string `locationName:"recommendationArn" min:"20" type:"string" required:"true"`

	// The AWS Region code that the Recommendation Resource is in
	//
	// RegionCode is a required field
	RegionCode *string `locationName:"regionCode" min:"9" type:"string" required:"true"`

	// The current status of the Recommendation Resource
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceStatus"`
	// contains filtered or unexported fields
}

Summary of a Recommendation Resource

func (RecommendationResourceSummary) 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 (*RecommendationResourceSummary) SetArn

SetArn sets the Arn field's value.

func (*RecommendationResourceSummary) SetAwsResourceId

SetAwsResourceId sets the AwsResourceId field's value.

func (*RecommendationResourceSummary) SetExclusionStatus added in v1.51.31

SetExclusionStatus sets the ExclusionStatus field's value.

func (*RecommendationResourceSummary) SetId

SetId sets the Id field's value.

func (*RecommendationResourceSummary) SetLastUpdatedAt

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*RecommendationResourceSummary) SetMetadata

SetMetadata sets the Metadata field's value.

func (*RecommendationResourceSummary) SetRecommendationArn

SetRecommendationArn sets the RecommendationArn field's value.

func (*RecommendationResourceSummary) SetRegionCode

SetRegionCode sets the RegionCode field's value.

func (*RecommendationResourceSummary) SetStatus

SetStatus sets the Status field's value.

func (RecommendationResourceSummary) 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 RecommendationResourcesAggregates

type RecommendationResourcesAggregates struct {

	// The number of AWS resources that were flagged to have errors according to
	// the Trusted Advisor check
	//
	// ErrorCount is a required field
	ErrorCount *int64 `locationName:"errorCount" type:"long" required:"true"`

	// The number of AWS resources that were flagged to be OK according to the Trusted
	// Advisor check
	//
	// OkCount is a required field
	OkCount *int64 `locationName:"okCount" type:"long" required:"true"`

	// The number of AWS resources that were flagged to have warning according to
	// the Trusted Advisor check
	//
	// WarningCount is a required field
	WarningCount *int64 `locationName:"warningCount" type:"long" required:"true"`
	// contains filtered or unexported fields
}

Aggregation of Recommendation Resources

func (RecommendationResourcesAggregates) 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 (*RecommendationResourcesAggregates) SetErrorCount

SetErrorCount sets the ErrorCount field's value.

func (*RecommendationResourcesAggregates) SetOkCount

SetOkCount sets the OkCount field's value.

func (*RecommendationResourcesAggregates) SetWarningCount

SetWarningCount sets the WarningCount field's value.

func (RecommendationResourcesAggregates) 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 RecommendationSummary

type RecommendationSummary struct {

	// The ARN of the Recommendation
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The AWS Services that the Recommendation applies to
	AwsServices []*string `locationName:"awsServices" type:"list"`

	// The AWS Trusted Advisor Check ARN that relates to the Recommendation
	CheckArn *string `locationName:"checkArn" type:"string"`

	// When the Recommendation was created, if created by AWS Trusted Advisor Priority
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// The ID which identifies where the Recommendation was produced
	//
	// Id is a required field
	Id *string `locationName:"id" type:"string" required:"true"`

	// When the Recommendation was last updated
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp" timestampFormat:"iso8601"`

	// The lifecycle stage from AWS Trusted Advisor Priority
	LifecycleStage *string `locationName:"lifecycleStage" type:"string" enum:"RecommendationLifecycleStage"`

	// The name of the AWS Trusted Advisor Recommendation
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The pillar aggregations for cost savings
	PillarSpecificAggregates *RecommendationPillarSpecificAggregates `locationName:"pillarSpecificAggregates" type:"structure"`

	// The Pillars that the Recommendation is optimizing
	//
	// Pillars is a required field
	Pillars []*string `locationName:"pillars" type:"list" required:"true" enum:"RecommendationPillar"`

	// An aggregation of all resources
	//
	// ResourcesAggregates is a required field
	ResourcesAggregates *RecommendationResourcesAggregates `locationName:"resourcesAggregates" type:"structure" required:"true"`

	// The source of the Recommendation
	//
	// Source is a required field
	Source *string `locationName:"source" type:"string" required:"true" enum:"RecommendationSource"`

	// The status of the Recommendation
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationStatus"`

	// Whether the Recommendation was automated or generated by AWS Trusted Advisor
	// Priority
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"RecommendationType"`
	// contains filtered or unexported fields
}

Summary of Recommendation for an Account

func (RecommendationSummary) GoString

func (s RecommendationSummary) 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 (*RecommendationSummary) SetArn

SetArn sets the Arn field's value.

func (*RecommendationSummary) SetAwsServices

func (s *RecommendationSummary) SetAwsServices(v []*string) *RecommendationSummary

SetAwsServices sets the AwsServices field's value.

func (*RecommendationSummary) SetCheckArn

SetCheckArn sets the CheckArn field's value.

func (*RecommendationSummary) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*RecommendationSummary) SetId

SetId sets the Id field's value.

func (*RecommendationSummary) SetLastUpdatedAt

func (s *RecommendationSummary) SetLastUpdatedAt(v time.Time) *RecommendationSummary

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*RecommendationSummary) SetLifecycleStage

func (s *RecommendationSummary) SetLifecycleStage(v string) *RecommendationSummary

SetLifecycleStage sets the LifecycleStage field's value.

func (*RecommendationSummary) SetName

SetName sets the Name field's value.

func (*RecommendationSummary) SetPillarSpecificAggregates

SetPillarSpecificAggregates sets the PillarSpecificAggregates field's value.

func (*RecommendationSummary) SetPillars

func (s *RecommendationSummary) SetPillars(v []*string) *RecommendationSummary

SetPillars sets the Pillars field's value.

func (*RecommendationSummary) SetResourcesAggregates

SetResourcesAggregates sets the ResourcesAggregates field's value.

func (*RecommendationSummary) SetSource

SetSource sets the Source field's value.

func (*RecommendationSummary) SetStatus

SetStatus sets the Status field's value.

func (*RecommendationSummary) SetType

SetType sets the Type field's value.

func (RecommendationSummary) String

func (s RecommendationSummary) 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 ResourceNotFoundException

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

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

Exception that the requested resource has not been 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 ThrottlingException

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

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

Exception to notify that requests are being throttled

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) 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 (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) 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 TrustedAdvisor

type TrustedAdvisor struct {
	*client.Client
}

TrustedAdvisor provides the API operation methods for making requests to TrustedAdvisor Public API. See this package's package overview docs for details on the service.

TrustedAdvisor 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) *TrustedAdvisor

New creates a new instance of the TrustedAdvisor 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 TrustedAdvisor client from just a session.
svc := trustedadvisor.New(mySession)

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

func (*TrustedAdvisor) BatchUpdateRecommendationResourceExclusion added in v1.51.31

BatchUpdateRecommendationResourceExclusion API operation for TrustedAdvisor Public API.

Update one or more exclusion status for a list of recommendation resources

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 TrustedAdvisor Public API's API operation BatchUpdateRecommendationResourceExclusion for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • ConflictException Exception that the request was denied due to conflictions in state

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/BatchUpdateRecommendationResourceExclusion

func (*TrustedAdvisor) BatchUpdateRecommendationResourceExclusionRequest added in v1.51.31

func (c *TrustedAdvisor) BatchUpdateRecommendationResourceExclusionRequest(input *BatchUpdateRecommendationResourceExclusionInput) (req *request.Request, output *BatchUpdateRecommendationResourceExclusionOutput)

BatchUpdateRecommendationResourceExclusionRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateRecommendationResourceExclusion 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 BatchUpdateRecommendationResourceExclusion for more information on using the BatchUpdateRecommendationResourceExclusion 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 BatchUpdateRecommendationResourceExclusionRequest method.
req, resp := client.BatchUpdateRecommendationResourceExclusionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/BatchUpdateRecommendationResourceExclusion

func (*TrustedAdvisor) BatchUpdateRecommendationResourceExclusionWithContext added in v1.51.31

func (c *TrustedAdvisor) BatchUpdateRecommendationResourceExclusionWithContext(ctx aws.Context, input *BatchUpdateRecommendationResourceExclusionInput, opts ...request.Option) (*BatchUpdateRecommendationResourceExclusionOutput, error)

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

See BatchUpdateRecommendationResourceExclusion 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 (*TrustedAdvisor) GetOrganizationRecommendation

GetOrganizationRecommendation API operation for TrustedAdvisor Public API.

Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations.

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 TrustedAdvisor Public API's API operation GetOrganizationRecommendation for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ResourceNotFoundException Exception that the requested resource has not been found

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/GetOrganizationRecommendation

func (*TrustedAdvisor) GetOrganizationRecommendationRequest

func (c *TrustedAdvisor) GetOrganizationRecommendationRequest(input *GetOrganizationRecommendationInput) (req *request.Request, output *GetOrganizationRecommendationOutput)

GetOrganizationRecommendationRequest generates a "aws/request.Request" representing the client's request for the GetOrganizationRecommendation 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 GetOrganizationRecommendation for more information on using the GetOrganizationRecommendation 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 GetOrganizationRecommendationRequest method.
req, resp := client.GetOrganizationRecommendationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/GetOrganizationRecommendation

func (*TrustedAdvisor) GetOrganizationRecommendationWithContext

func (c *TrustedAdvisor) GetOrganizationRecommendationWithContext(ctx aws.Context, input *GetOrganizationRecommendationInput, opts ...request.Option) (*GetOrganizationRecommendationOutput, error)

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

See GetOrganizationRecommendation 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 (*TrustedAdvisor) GetRecommendation

func (c *TrustedAdvisor) GetRecommendation(input *GetRecommendationInput) (*GetRecommendationOutput, error)

GetRecommendation API operation for TrustedAdvisor Public API.

Get a specific Recommendation

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 TrustedAdvisor Public API's API operation GetRecommendation for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ResourceNotFoundException Exception that the requested resource has not been found

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/GetRecommendation

func (*TrustedAdvisor) GetRecommendationRequest

func (c *TrustedAdvisor) GetRecommendationRequest(input *GetRecommendationInput) (req *request.Request, output *GetRecommendationOutput)

GetRecommendationRequest generates a "aws/request.Request" representing the client's request for the GetRecommendation 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 GetRecommendation for more information on using the GetRecommendation 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 GetRecommendationRequest method.
req, resp := client.GetRecommendationRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/GetRecommendation

func (*TrustedAdvisor) GetRecommendationWithContext

func (c *TrustedAdvisor) GetRecommendationWithContext(ctx aws.Context, input *GetRecommendationInput, opts ...request.Option) (*GetRecommendationOutput, error)

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

See GetRecommendation 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 (*TrustedAdvisor) ListChecks

func (c *TrustedAdvisor) ListChecks(input *ListChecksInput) (*ListChecksOutput, error)

ListChecks API operation for TrustedAdvisor Public API.

List a filterable set of Checks

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 TrustedAdvisor Public API's API operation ListChecks for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListChecks

func (*TrustedAdvisor) ListChecksPages

func (c *TrustedAdvisor) ListChecksPages(input *ListChecksInput, fn func(*ListChecksOutput, bool) bool) error

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

See ListChecks 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 ListChecks operation.
pageNum := 0
err := client.ListChecksPages(params,
    func(page *trustedadvisor.ListChecksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TrustedAdvisor) ListChecksPagesWithContext

func (c *TrustedAdvisor) ListChecksPagesWithContext(ctx aws.Context, input *ListChecksInput, fn func(*ListChecksOutput, bool) bool, opts ...request.Option) error

ListChecksPagesWithContext same as ListChecksPages 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 (*TrustedAdvisor) ListChecksRequest

func (c *TrustedAdvisor) ListChecksRequest(input *ListChecksInput) (req *request.Request, output *ListChecksOutput)

ListChecksRequest generates a "aws/request.Request" representing the client's request for the ListChecks 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 ListChecks for more information on using the ListChecks 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 ListChecksRequest method.
req, resp := client.ListChecksRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListChecks

func (*TrustedAdvisor) ListChecksWithContext

func (c *TrustedAdvisor) ListChecksWithContext(ctx aws.Context, input *ListChecksInput, opts ...request.Option) (*ListChecksOutput, error)

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

See ListChecks 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 (*TrustedAdvisor) ListOrganizationRecommendationAccounts

ListOrganizationRecommendationAccounts API operation for TrustedAdvisor Public API.

Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations.

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 TrustedAdvisor Public API's API operation ListOrganizationRecommendationAccounts for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ResourceNotFoundException Exception that the requested resource has not been found

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendationAccounts

func (*TrustedAdvisor) ListOrganizationRecommendationAccountsPages

func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsPages(input *ListOrganizationRecommendationAccountsInput, fn func(*ListOrganizationRecommendationAccountsOutput, bool) bool) error

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

See ListOrganizationRecommendationAccounts 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 ListOrganizationRecommendationAccounts operation.
pageNum := 0
err := client.ListOrganizationRecommendationAccountsPages(params,
    func(page *trustedadvisor.ListOrganizationRecommendationAccountsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TrustedAdvisor) ListOrganizationRecommendationAccountsPagesWithContext

func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationRecommendationAccountsInput, fn func(*ListOrganizationRecommendationAccountsOutput, bool) bool, opts ...request.Option) error

ListOrganizationRecommendationAccountsPagesWithContext same as ListOrganizationRecommendationAccountsPages 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 (*TrustedAdvisor) ListOrganizationRecommendationAccountsRequest

func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsRequest(input *ListOrganizationRecommendationAccountsInput) (req *request.Request, output *ListOrganizationRecommendationAccountsOutput)

ListOrganizationRecommendationAccountsRequest generates a "aws/request.Request" representing the client's request for the ListOrganizationRecommendationAccounts 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 ListOrganizationRecommendationAccounts for more information on using the ListOrganizationRecommendationAccounts 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 ListOrganizationRecommendationAccountsRequest method.
req, resp := client.ListOrganizationRecommendationAccountsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendationAccounts

func (*TrustedAdvisor) ListOrganizationRecommendationAccountsWithContext

func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsWithContext(ctx aws.Context, input *ListOrganizationRecommendationAccountsInput, opts ...request.Option) (*ListOrganizationRecommendationAccountsOutput, error)

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

See ListOrganizationRecommendationAccounts 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 (*TrustedAdvisor) ListOrganizationRecommendationResources

ListOrganizationRecommendationResources API operation for TrustedAdvisor Public API.

List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.

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 TrustedAdvisor Public API's API operation ListOrganizationRecommendationResources for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ResourceNotFoundException Exception that the requested resource has not been found

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendationResources

func (*TrustedAdvisor) ListOrganizationRecommendationResourcesPages

func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesPages(input *ListOrganizationRecommendationResourcesInput, fn func(*ListOrganizationRecommendationResourcesOutput, bool) bool) error

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

See ListOrganizationRecommendationResources 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 ListOrganizationRecommendationResources operation.
pageNum := 0
err := client.ListOrganizationRecommendationResourcesPages(params,
    func(page *trustedadvisor.ListOrganizationRecommendationResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TrustedAdvisor) ListOrganizationRecommendationResourcesPagesWithContext

func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesPagesWithContext(ctx aws.Context, input *ListOrganizationRecommendationResourcesInput, fn func(*ListOrganizationRecommendationResourcesOutput, bool) bool, opts ...request.Option) error

ListOrganizationRecommendationResourcesPagesWithContext same as ListOrganizationRecommendationResourcesPages 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 (*TrustedAdvisor) ListOrganizationRecommendationResourcesRequest

func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesRequest(input *ListOrganizationRecommendationResourcesInput) (req *request.Request, output *ListOrganizationRecommendationResourcesOutput)

ListOrganizationRecommendationResourcesRequest generates a "aws/request.Request" representing the client's request for the ListOrganizationRecommendationResources 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 ListOrganizationRecommendationResources for more information on using the ListOrganizationRecommendationResources 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 ListOrganizationRecommendationResourcesRequest method.
req, resp := client.ListOrganizationRecommendationResourcesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendationResources

func (*TrustedAdvisor) ListOrganizationRecommendationResourcesWithContext

func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesWithContext(ctx aws.Context, input *ListOrganizationRecommendationResourcesInput, opts ...request.Option) (*ListOrganizationRecommendationResourcesOutput, error)

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

See ListOrganizationRecommendationResources 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 (*TrustedAdvisor) ListOrganizationRecommendations

ListOrganizationRecommendations API operation for TrustedAdvisor Public API.

List a filterable set of Recommendations within an Organization. This API only supports prioritized recommendations.

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 TrustedAdvisor Public API's API operation ListOrganizationRecommendations for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendations

func (*TrustedAdvisor) ListOrganizationRecommendationsPages

func (c *TrustedAdvisor) ListOrganizationRecommendationsPages(input *ListOrganizationRecommendationsInput, fn func(*ListOrganizationRecommendationsOutput, bool) bool) error

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

See ListOrganizationRecommendations 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 ListOrganizationRecommendations operation.
pageNum := 0
err := client.ListOrganizationRecommendationsPages(params,
    func(page *trustedadvisor.ListOrganizationRecommendationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TrustedAdvisor) ListOrganizationRecommendationsPagesWithContext

func (c *TrustedAdvisor) ListOrganizationRecommendationsPagesWithContext(ctx aws.Context, input *ListOrganizationRecommendationsInput, fn func(*ListOrganizationRecommendationsOutput, bool) bool, opts ...request.Option) error

ListOrganizationRecommendationsPagesWithContext same as ListOrganizationRecommendationsPages 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 (*TrustedAdvisor) ListOrganizationRecommendationsRequest

func (c *TrustedAdvisor) ListOrganizationRecommendationsRequest(input *ListOrganizationRecommendationsInput) (req *request.Request, output *ListOrganizationRecommendationsOutput)

ListOrganizationRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ListOrganizationRecommendations 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 ListOrganizationRecommendations for more information on using the ListOrganizationRecommendations 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 ListOrganizationRecommendationsRequest method.
req, resp := client.ListOrganizationRecommendationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListOrganizationRecommendations

func (*TrustedAdvisor) ListOrganizationRecommendationsWithContext

func (c *TrustedAdvisor) ListOrganizationRecommendationsWithContext(ctx aws.Context, input *ListOrganizationRecommendationsInput, opts ...request.Option) (*ListOrganizationRecommendationsOutput, error)

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

See ListOrganizationRecommendations 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 (*TrustedAdvisor) ListRecommendationResources

ListRecommendationResources API operation for TrustedAdvisor Public API.

List Resources of a Recommendation

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 TrustedAdvisor Public API's API operation ListRecommendationResources for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ResourceNotFoundException Exception that the requested resource has not been found

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListRecommendationResources

func (*TrustedAdvisor) ListRecommendationResourcesPages

func (c *TrustedAdvisor) ListRecommendationResourcesPages(input *ListRecommendationResourcesInput, fn func(*ListRecommendationResourcesOutput, bool) bool) error

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

See ListRecommendationResources 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 ListRecommendationResources operation.
pageNum := 0
err := client.ListRecommendationResourcesPages(params,
    func(page *trustedadvisor.ListRecommendationResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TrustedAdvisor) ListRecommendationResourcesPagesWithContext

func (c *TrustedAdvisor) ListRecommendationResourcesPagesWithContext(ctx aws.Context, input *ListRecommendationResourcesInput, fn func(*ListRecommendationResourcesOutput, bool) bool, opts ...request.Option) error

ListRecommendationResourcesPagesWithContext same as ListRecommendationResourcesPages 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 (*TrustedAdvisor) ListRecommendationResourcesRequest

func (c *TrustedAdvisor) ListRecommendationResourcesRequest(input *ListRecommendationResourcesInput) (req *request.Request, output *ListRecommendationResourcesOutput)

ListRecommendationResourcesRequest generates a "aws/request.Request" representing the client's request for the ListRecommendationResources 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 ListRecommendationResources for more information on using the ListRecommendationResources 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 ListRecommendationResourcesRequest method.
req, resp := client.ListRecommendationResourcesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListRecommendationResources

func (*TrustedAdvisor) ListRecommendationResourcesWithContext

func (c *TrustedAdvisor) ListRecommendationResourcesWithContext(ctx aws.Context, input *ListRecommendationResourcesInput, opts ...request.Option) (*ListRecommendationResourcesOutput, error)

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

See ListRecommendationResources 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 (*TrustedAdvisor) ListRecommendations

func (c *TrustedAdvisor) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error)

ListRecommendations API operation for TrustedAdvisor Public API.

List a filterable set of Recommendations

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 TrustedAdvisor Public API's API operation ListRecommendations for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListRecommendations

func (*TrustedAdvisor) ListRecommendationsPages

func (c *TrustedAdvisor) ListRecommendationsPages(input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool) error

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

See ListRecommendations 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 ListRecommendations operation.
pageNum := 0
err := client.ListRecommendationsPages(params,
    func(page *trustedadvisor.ListRecommendationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TrustedAdvisor) ListRecommendationsPagesWithContext

func (c *TrustedAdvisor) ListRecommendationsPagesWithContext(ctx aws.Context, input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool, opts ...request.Option) error

ListRecommendationsPagesWithContext same as ListRecommendationsPages 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 (*TrustedAdvisor) ListRecommendationsRequest

func (c *TrustedAdvisor) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput)

ListRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ListRecommendations 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 ListRecommendations for more information on using the ListRecommendations 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 ListRecommendationsRequest method.
req, resp := client.ListRecommendationsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/ListRecommendations

func (*TrustedAdvisor) ListRecommendationsWithContext

func (c *TrustedAdvisor) ListRecommendationsWithContext(ctx aws.Context, input *ListRecommendationsInput, opts ...request.Option) (*ListRecommendationsOutput, error)

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

See ListRecommendations 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 (*TrustedAdvisor) UpdateOrganizationRecommendationLifecycle

UpdateOrganizationRecommendationLifecycle API operation for TrustedAdvisor Public API.

Update the lifecycle of a Recommendation within an Organization. This API only supports prioritized recommendations.

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 TrustedAdvisor Public API's API operation UpdateOrganizationRecommendationLifecycle for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • ConflictException Exception that the request was denied due to conflictions in state

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ResourceNotFoundException Exception that the requested resource has not been found

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/UpdateOrganizationRecommendationLifecycle

func (*TrustedAdvisor) UpdateOrganizationRecommendationLifecycleRequest

func (c *TrustedAdvisor) UpdateOrganizationRecommendationLifecycleRequest(input *UpdateOrganizationRecommendationLifecycleInput) (req *request.Request, output *UpdateOrganizationRecommendationLifecycleOutput)

UpdateOrganizationRecommendationLifecycleRequest generates a "aws/request.Request" representing the client's request for the UpdateOrganizationRecommendationLifecycle 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 UpdateOrganizationRecommendationLifecycle for more information on using the UpdateOrganizationRecommendationLifecycle 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 UpdateOrganizationRecommendationLifecycleRequest method.
req, resp := client.UpdateOrganizationRecommendationLifecycleRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/UpdateOrganizationRecommendationLifecycle

func (*TrustedAdvisor) UpdateOrganizationRecommendationLifecycleWithContext

func (c *TrustedAdvisor) UpdateOrganizationRecommendationLifecycleWithContext(ctx aws.Context, input *UpdateOrganizationRecommendationLifecycleInput, opts ...request.Option) (*UpdateOrganizationRecommendationLifecycleOutput, error)

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

See UpdateOrganizationRecommendationLifecycle 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 (*TrustedAdvisor) UpdateRecommendationLifecycle

UpdateRecommendationLifecycle API operation for TrustedAdvisor Public API.

Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.

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 TrustedAdvisor Public API's API operation UpdateRecommendationLifecycle for usage and error information.

Returned Error Types:

  • AccessDeniedException Exception that access has been denied due to insufficient access

  • ConflictException Exception that the request was denied due to conflictions in state

  • InternalServerException Exception to notify that an unexpected internal error occurred during processing of the request

  • ValidationException Exception that the request failed to satisfy service constraints

  • ResourceNotFoundException Exception that the requested resource has not been found

  • ThrottlingException Exception to notify that requests are being throttled

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/UpdateRecommendationLifecycle

func (*TrustedAdvisor) UpdateRecommendationLifecycleRequest

func (c *TrustedAdvisor) UpdateRecommendationLifecycleRequest(input *UpdateRecommendationLifecycleInput) (req *request.Request, output *UpdateRecommendationLifecycleOutput)

UpdateRecommendationLifecycleRequest generates a "aws/request.Request" representing the client's request for the UpdateRecommendationLifecycle 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 UpdateRecommendationLifecycle for more information on using the UpdateRecommendationLifecycle 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 UpdateRecommendationLifecycleRequest method.
req, resp := client.UpdateRecommendationLifecycleRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/trustedadvisor-2022-09-15/UpdateRecommendationLifecycle

func (*TrustedAdvisor) UpdateRecommendationLifecycleWithContext

func (c *TrustedAdvisor) UpdateRecommendationLifecycleWithContext(ctx aws.Context, input *UpdateRecommendationLifecycleInput, opts ...request.Option) (*UpdateRecommendationLifecycleOutput, error)

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

See UpdateRecommendationLifecycle 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 UpdateOrganizationRecommendationLifecycleInput

type UpdateOrganizationRecommendationLifecycleInput struct {

	// The new lifecycle stage
	//
	// LifecycleStage is a required field
	LifecycleStage *string `locationName:"lifecycleStage" type:"string" required:"true" enum:"UpdateRecommendationLifecycleStage"`

	// The Recommendation identifier for AWS Trusted Advisor Priority recommendations
	//
	// OrganizationRecommendationIdentifier is a required field
	OrganizationRecommendationIdentifier *string `location:"uri" locationName:"organizationRecommendationIdentifier" min:"20" type:"string" required:"true"`

	// Reason for the lifecycle stage change
	//
	// UpdateReason is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateOrganizationRecommendationLifecycleInput's
	// String and GoString methods.
	UpdateReason *string `locationName:"updateReason" min:"10" type:"string" sensitive:"true"`

	// Reason code for the lifecycle state change
	UpdateReasonCode *string `locationName:"updateReasonCode" type:"string" enum:"UpdateRecommendationLifecycleStageReasonCode"`
	// contains filtered or unexported fields
}

func (UpdateOrganizationRecommendationLifecycleInput) 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 (*UpdateOrganizationRecommendationLifecycleInput) SetLifecycleStage

SetLifecycleStage sets the LifecycleStage field's value.

func (*UpdateOrganizationRecommendationLifecycleInput) SetOrganizationRecommendationIdentifier

SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.

func (*UpdateOrganizationRecommendationLifecycleInput) SetUpdateReason

SetUpdateReason sets the UpdateReason field's value.

func (*UpdateOrganizationRecommendationLifecycleInput) SetUpdateReasonCode

SetUpdateReasonCode sets the UpdateReasonCode field's value.

func (UpdateOrganizationRecommendationLifecycleInput) 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 (*UpdateOrganizationRecommendationLifecycleInput) Validate

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

type UpdateOrganizationRecommendationLifecycleOutput

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

func (UpdateOrganizationRecommendationLifecycleOutput) 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 (UpdateOrganizationRecommendationLifecycleOutput) 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 UpdateRecommendationLifecycleInput

type UpdateRecommendationLifecycleInput struct {

	// The new lifecycle stage
	//
	// LifecycleStage is a required field
	LifecycleStage *string `locationName:"lifecycleStage" type:"string" required:"true" enum:"UpdateRecommendationLifecycleStage"`

	// The Recommendation identifier for AWS Trusted Advisor Priority recommendations
	//
	// RecommendationIdentifier is a required field
	RecommendationIdentifier *string `location:"uri" locationName:"recommendationIdentifier" min:"20" type:"string" required:"true"`

	// Reason for the lifecycle stage change
	//
	// UpdateReason is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateRecommendationLifecycleInput's
	// String and GoString methods.
	UpdateReason *string `locationName:"updateReason" min:"10" type:"string" sensitive:"true"`

	// Reason code for the lifecycle state change
	UpdateReasonCode *string `locationName:"updateReasonCode" type:"string" enum:"UpdateRecommendationLifecycleStageReasonCode"`
	// contains filtered or unexported fields
}

func (UpdateRecommendationLifecycleInput) 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 (*UpdateRecommendationLifecycleInput) SetLifecycleStage

SetLifecycleStage sets the LifecycleStage field's value.

func (*UpdateRecommendationLifecycleInput) SetRecommendationIdentifier

SetRecommendationIdentifier sets the RecommendationIdentifier field's value.

func (*UpdateRecommendationLifecycleInput) SetUpdateReason

SetUpdateReason sets the UpdateReason field's value.

func (*UpdateRecommendationLifecycleInput) SetUpdateReasonCode

SetUpdateReasonCode sets the UpdateReasonCode field's value.

func (UpdateRecommendationLifecycleInput) 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 (*UpdateRecommendationLifecycleInput) Validate

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

type UpdateRecommendationLifecycleOutput

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

func (UpdateRecommendationLifecycleOutput) 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 (UpdateRecommendationLifecycleOutput) 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 UpdateRecommendationResourceExclusionError added in v1.51.31

type UpdateRecommendationResourceExclusionError struct {

	// The ARN of the Recommendation Resource
	Arn *string `locationName:"arn" min:"20" type:"string"`

	// The error code
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// The error message
	ErrorMessage *string `locationName:"errorMessage" type:"string"`
	// contains filtered or unexported fields
}

The error entry for Recommendation Resource exclusion. Each entry is a combination of Recommendation Resource ARN, error code and error message

func (UpdateRecommendationResourceExclusionError) GoString added in v1.51.31

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 (*UpdateRecommendationResourceExclusionError) SetArn added in v1.51.31

SetArn sets the Arn field's value.

func (*UpdateRecommendationResourceExclusionError) SetErrorCode added in v1.51.31

SetErrorCode sets the ErrorCode field's value.

func (*UpdateRecommendationResourceExclusionError) SetErrorMessage added in v1.51.31

SetErrorMessage sets the ErrorMessage field's value.

func (UpdateRecommendationResourceExclusionError) String added in v1.51.31

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
}

Exception that the request failed to satisfy service constraints

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 trustedadvisoriface provides an interface to enable mocking the TrustedAdvisor Public API service client for testing your code.
Package trustedadvisoriface provides an interface to enable mocking the TrustedAdvisor Public API service client for testing your code.

Jump to

Keyboard shortcuts

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