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
- func RecommendationLanguage_Values() []string
- func RecommendationLifecycleStage_Values() []string
- func RecommendationPillar_Values() []string
- func RecommendationSource_Values() []string
- func RecommendationStatus_Values() []string
- func RecommendationType_Values() []string
- func ResourceStatus_Values() []string
- func UpdateRecommendationLifecycleStageReasonCode_Values() []string
- func UpdateRecommendationLifecycleStage_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AccountRecommendationLifecycleSummary
- func (s AccountRecommendationLifecycleSummary) GoString() string
- func (s *AccountRecommendationLifecycleSummary) SetAccountId(v string) *AccountRecommendationLifecycleSummary
- func (s *AccountRecommendationLifecycleSummary) SetAccountRecommendationArn(v string) *AccountRecommendationLifecycleSummary
- func (s *AccountRecommendationLifecycleSummary) SetLastUpdatedAt(v time.Time) *AccountRecommendationLifecycleSummary
- func (s *AccountRecommendationLifecycleSummary) SetLifecycleStage(v string) *AccountRecommendationLifecycleSummary
- func (s *AccountRecommendationLifecycleSummary) SetUpdateReason(v string) *AccountRecommendationLifecycleSummary
- func (s *AccountRecommendationLifecycleSummary) SetUpdateReasonCode(v string) *AccountRecommendationLifecycleSummary
- func (s *AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOf(v string) *AccountRecommendationLifecycleSummary
- func (s *AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOfJobTitle(v string) *AccountRecommendationLifecycleSummary
- func (s AccountRecommendationLifecycleSummary) String() string
- type CheckSummary
- func (s CheckSummary) GoString() string
- func (s *CheckSummary) SetArn(v string) *CheckSummary
- func (s *CheckSummary) SetAwsServices(v []*string) *CheckSummary
- func (s *CheckSummary) SetDescription(v string) *CheckSummary
- func (s *CheckSummary) SetId(v string) *CheckSummary
- func (s *CheckSummary) SetMetadata(v map[string]*string) *CheckSummary
- func (s *CheckSummary) SetName(v string) *CheckSummary
- func (s *CheckSummary) SetPillars(v []*string) *CheckSummary
- func (s *CheckSummary) SetSource(v string) *CheckSummary
- func (s CheckSummary) String() string
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type GetOrganizationRecommendationInput
- func (s GetOrganizationRecommendationInput) GoString() string
- func (s *GetOrganizationRecommendationInput) SetOrganizationRecommendationIdentifier(v string) *GetOrganizationRecommendationInput
- func (s GetOrganizationRecommendationInput) String() string
- func (s *GetOrganizationRecommendationInput) Validate() error
- type GetOrganizationRecommendationOutput
- type GetRecommendationInput
- type GetRecommendationOutput
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListChecksInput
- func (s ListChecksInput) GoString() string
- func (s *ListChecksInput) SetAwsService(v string) *ListChecksInput
- func (s *ListChecksInput) SetLanguage(v string) *ListChecksInput
- func (s *ListChecksInput) SetMaxResults(v int64) *ListChecksInput
- func (s *ListChecksInput) SetNextToken(v string) *ListChecksInput
- func (s *ListChecksInput) SetPillar(v string) *ListChecksInput
- func (s *ListChecksInput) SetSource(v string) *ListChecksInput
- func (s ListChecksInput) String() string
- func (s *ListChecksInput) Validate() error
- type ListChecksOutput
- type ListOrganizationRecommendationAccountsInput
- func (s ListOrganizationRecommendationAccountsInput) GoString() string
- func (s *ListOrganizationRecommendationAccountsInput) SetAffectedAccountId(v string) *ListOrganizationRecommendationAccountsInput
- func (s *ListOrganizationRecommendationAccountsInput) SetMaxResults(v int64) *ListOrganizationRecommendationAccountsInput
- func (s *ListOrganizationRecommendationAccountsInput) SetNextToken(v string) *ListOrganizationRecommendationAccountsInput
- func (s *ListOrganizationRecommendationAccountsInput) SetOrganizationRecommendationIdentifier(v string) *ListOrganizationRecommendationAccountsInput
- func (s ListOrganizationRecommendationAccountsInput) String() string
- func (s *ListOrganizationRecommendationAccountsInput) Validate() error
- type ListOrganizationRecommendationAccountsOutput
- func (s ListOrganizationRecommendationAccountsOutput) GoString() string
- func (s *ListOrganizationRecommendationAccountsOutput) SetAccountRecommendationLifecycleSummaries(v []*AccountRecommendationLifecycleSummary) *ListOrganizationRecommendationAccountsOutput
- func (s *ListOrganizationRecommendationAccountsOutput) SetNextToken(v string) *ListOrganizationRecommendationAccountsOutput
- func (s ListOrganizationRecommendationAccountsOutput) String() string
- type ListOrganizationRecommendationResourcesInput
- func (s ListOrganizationRecommendationResourcesInput) GoString() string
- func (s *ListOrganizationRecommendationResourcesInput) SetAffectedAccountId(v string) *ListOrganizationRecommendationResourcesInput
- func (s *ListOrganizationRecommendationResourcesInput) SetMaxResults(v int64) *ListOrganizationRecommendationResourcesInput
- func (s *ListOrganizationRecommendationResourcesInput) SetNextToken(v string) *ListOrganizationRecommendationResourcesInput
- func (s *ListOrganizationRecommendationResourcesInput) SetOrganizationRecommendationIdentifier(v string) *ListOrganizationRecommendationResourcesInput
- func (s *ListOrganizationRecommendationResourcesInput) SetRegionCode(v string) *ListOrganizationRecommendationResourcesInput
- func (s *ListOrganizationRecommendationResourcesInput) SetStatus(v string) *ListOrganizationRecommendationResourcesInput
- func (s ListOrganizationRecommendationResourcesInput) String() string
- func (s *ListOrganizationRecommendationResourcesInput) Validate() error
- type ListOrganizationRecommendationResourcesOutput
- func (s ListOrganizationRecommendationResourcesOutput) GoString() string
- func (s *ListOrganizationRecommendationResourcesOutput) SetNextToken(v string) *ListOrganizationRecommendationResourcesOutput
- func (s *ListOrganizationRecommendationResourcesOutput) SetOrganizationRecommendationResourceSummaries(v []*OrganizationRecommendationResourceSummary) *ListOrganizationRecommendationResourcesOutput
- func (s ListOrganizationRecommendationResourcesOutput) String() string
- type ListOrganizationRecommendationsInput
- func (s ListOrganizationRecommendationsInput) GoString() string
- func (s *ListOrganizationRecommendationsInput) SetAfterLastUpdatedAt(v time.Time) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetAwsService(v string) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetBeforeLastUpdatedAt(v time.Time) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetCheckIdentifier(v string) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetMaxResults(v int64) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetNextToken(v string) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetPillar(v string) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetSource(v string) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetStatus(v string) *ListOrganizationRecommendationsInput
- func (s *ListOrganizationRecommendationsInput) SetType(v string) *ListOrganizationRecommendationsInput
- func (s ListOrganizationRecommendationsInput) String() string
- func (s *ListOrganizationRecommendationsInput) Validate() error
- type ListOrganizationRecommendationsOutput
- func (s ListOrganizationRecommendationsOutput) GoString() string
- func (s *ListOrganizationRecommendationsOutput) SetNextToken(v string) *ListOrganizationRecommendationsOutput
- func (s *ListOrganizationRecommendationsOutput) SetOrganizationRecommendationSummaries(v []*OrganizationRecommendationSummary) *ListOrganizationRecommendationsOutput
- func (s ListOrganizationRecommendationsOutput) String() string
- type ListRecommendationResourcesInput
- func (s ListRecommendationResourcesInput) GoString() string
- func (s *ListRecommendationResourcesInput) SetMaxResults(v int64) *ListRecommendationResourcesInput
- func (s *ListRecommendationResourcesInput) SetNextToken(v string) *ListRecommendationResourcesInput
- func (s *ListRecommendationResourcesInput) SetRecommendationIdentifier(v string) *ListRecommendationResourcesInput
- func (s *ListRecommendationResourcesInput) SetRegionCode(v string) *ListRecommendationResourcesInput
- func (s *ListRecommendationResourcesInput) SetStatus(v string) *ListRecommendationResourcesInput
- func (s ListRecommendationResourcesInput) String() string
- func (s *ListRecommendationResourcesInput) Validate() error
- type ListRecommendationResourcesOutput
- func (s ListRecommendationResourcesOutput) GoString() string
- func (s *ListRecommendationResourcesOutput) SetNextToken(v string) *ListRecommendationResourcesOutput
- func (s *ListRecommendationResourcesOutput) SetRecommendationResourceSummaries(v []*RecommendationResourceSummary) *ListRecommendationResourcesOutput
- func (s ListRecommendationResourcesOutput) String() string
- type ListRecommendationsInput
- func (s ListRecommendationsInput) GoString() string
- func (s *ListRecommendationsInput) SetAfterLastUpdatedAt(v time.Time) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetAwsService(v string) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetBeforeLastUpdatedAt(v time.Time) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetCheckIdentifier(v string) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetMaxResults(v int64) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetNextToken(v string) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetPillar(v string) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetSource(v string) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetStatus(v string) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetType(v string) *ListRecommendationsInput
- func (s ListRecommendationsInput) String() string
- func (s *ListRecommendationsInput) Validate() error
- type ListRecommendationsOutput
- func (s ListRecommendationsOutput) GoString() string
- func (s *ListRecommendationsOutput) SetNextToken(v string) *ListRecommendationsOutput
- func (s *ListRecommendationsOutput) SetRecommendationSummaries(v []*RecommendationSummary) *ListRecommendationsOutput
- func (s ListRecommendationsOutput) String() string
- type OrganizationRecommendation
- func (s OrganizationRecommendation) GoString() string
- func (s *OrganizationRecommendation) SetArn(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetAwsServices(v []*string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetCheckArn(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetCreatedAt(v time.Time) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetCreatedBy(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetDescription(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetId(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetLastUpdatedAt(v time.Time) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetLifecycleStage(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetName(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetPillars(v []*string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetResolvedAt(v time.Time) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetResourcesAggregates(v *RecommendationResourcesAggregates) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetSource(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetStatus(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetType(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetUpdateReason(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetUpdateReasonCode(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetUpdatedOnBehalfOf(v string) *OrganizationRecommendation
- func (s *OrganizationRecommendation) SetUpdatedOnBehalfOfJobTitle(v string) *OrganizationRecommendation
- func (s OrganizationRecommendation) String() string
- type OrganizationRecommendationResourceSummary
- func (s OrganizationRecommendationResourceSummary) GoString() string
- func (s *OrganizationRecommendationResourceSummary) SetAccountId(v string) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetArn(v string) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetAwsResourceId(v string) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetId(v string) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetLastUpdatedAt(v time.Time) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetMetadata(v map[string]*string) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetRecommendationArn(v string) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetRegionCode(v string) *OrganizationRecommendationResourceSummary
- func (s *OrganizationRecommendationResourceSummary) SetStatus(v string) *OrganizationRecommendationResourceSummary
- func (s OrganizationRecommendationResourceSummary) String() string
- type OrganizationRecommendationSummary
- func (s OrganizationRecommendationSummary) GoString() string
- func (s *OrganizationRecommendationSummary) SetArn(v string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetAwsServices(v []*string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetCheckArn(v string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetCreatedAt(v time.Time) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetId(v string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetLastUpdatedAt(v time.Time) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetLifecycleStage(v string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetName(v string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetPillars(v []*string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetResourcesAggregates(v *RecommendationResourcesAggregates) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetSource(v string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetStatus(v string) *OrganizationRecommendationSummary
- func (s *OrganizationRecommendationSummary) SetType(v string) *OrganizationRecommendationSummary
- func (s OrganizationRecommendationSummary) String() string
- type Recommendation
- func (s Recommendation) GoString() string
- func (s *Recommendation) SetArn(v string) *Recommendation
- func (s *Recommendation) SetAwsServices(v []*string) *Recommendation
- func (s *Recommendation) SetCheckArn(v string) *Recommendation
- func (s *Recommendation) SetCreatedAt(v time.Time) *Recommendation
- func (s *Recommendation) SetCreatedBy(v string) *Recommendation
- func (s *Recommendation) SetDescription(v string) *Recommendation
- func (s *Recommendation) SetId(v string) *Recommendation
- func (s *Recommendation) SetLastUpdatedAt(v time.Time) *Recommendation
- func (s *Recommendation) SetLifecycleStage(v string) *Recommendation
- func (s *Recommendation) SetName(v string) *Recommendation
- func (s *Recommendation) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *Recommendation
- func (s *Recommendation) SetPillars(v []*string) *Recommendation
- func (s *Recommendation) SetResolvedAt(v time.Time) *Recommendation
- func (s *Recommendation) SetResourcesAggregates(v *RecommendationResourcesAggregates) *Recommendation
- func (s *Recommendation) SetSource(v string) *Recommendation
- func (s *Recommendation) SetStatus(v string) *Recommendation
- func (s *Recommendation) SetType(v string) *Recommendation
- func (s *Recommendation) SetUpdateReason(v string) *Recommendation
- func (s *Recommendation) SetUpdateReasonCode(v string) *Recommendation
- func (s *Recommendation) SetUpdatedOnBehalfOf(v string) *Recommendation
- func (s *Recommendation) SetUpdatedOnBehalfOfJobTitle(v string) *Recommendation
- func (s Recommendation) String() string
- type RecommendationCostOptimizingAggregates
- func (s RecommendationCostOptimizingAggregates) GoString() string
- func (s *RecommendationCostOptimizingAggregates) SetEstimatedMonthlySavings(v float64) *RecommendationCostOptimizingAggregates
- func (s *RecommendationCostOptimizingAggregates) SetEstimatedPercentMonthlySavings(v float64) *RecommendationCostOptimizingAggregates
- func (s RecommendationCostOptimizingAggregates) String() string
- type RecommendationPillarSpecificAggregates
- type RecommendationResourceSummary
- func (s RecommendationResourceSummary) GoString() string
- func (s *RecommendationResourceSummary) SetArn(v string) *RecommendationResourceSummary
- func (s *RecommendationResourceSummary) SetAwsResourceId(v string) *RecommendationResourceSummary
- func (s *RecommendationResourceSummary) SetId(v string) *RecommendationResourceSummary
- func (s *RecommendationResourceSummary) SetLastUpdatedAt(v time.Time) *RecommendationResourceSummary
- func (s *RecommendationResourceSummary) SetMetadata(v map[string]*string) *RecommendationResourceSummary
- func (s *RecommendationResourceSummary) SetRecommendationArn(v string) *RecommendationResourceSummary
- func (s *RecommendationResourceSummary) SetRegionCode(v string) *RecommendationResourceSummary
- func (s *RecommendationResourceSummary) SetStatus(v string) *RecommendationResourceSummary
- func (s RecommendationResourceSummary) String() string
- type RecommendationResourcesAggregates
- func (s RecommendationResourcesAggregates) GoString() string
- func (s *RecommendationResourcesAggregates) SetErrorCount(v int64) *RecommendationResourcesAggregates
- func (s *RecommendationResourcesAggregates) SetOkCount(v int64) *RecommendationResourcesAggregates
- func (s *RecommendationResourcesAggregates) SetWarningCount(v int64) *RecommendationResourcesAggregates
- func (s RecommendationResourcesAggregates) String() string
- type RecommendationSummary
- func (s RecommendationSummary) GoString() string
- func (s *RecommendationSummary) SetArn(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetAwsServices(v []*string) *RecommendationSummary
- func (s *RecommendationSummary) SetCheckArn(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetCreatedAt(v time.Time) *RecommendationSummary
- func (s *RecommendationSummary) SetId(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetLastUpdatedAt(v time.Time) *RecommendationSummary
- func (s *RecommendationSummary) SetLifecycleStage(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetName(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *RecommendationSummary
- func (s *RecommendationSummary) SetPillars(v []*string) *RecommendationSummary
- func (s *RecommendationSummary) SetResourcesAggregates(v *RecommendationResourcesAggregates) *RecommendationSummary
- func (s *RecommendationSummary) SetSource(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetStatus(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetType(v string) *RecommendationSummary
- func (s RecommendationSummary) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type TrustedAdvisor
- func (c *TrustedAdvisor) GetOrganizationRecommendation(input *GetOrganizationRecommendationInput) (*GetOrganizationRecommendationOutput, error)
- func (c *TrustedAdvisor) GetOrganizationRecommendationRequest(input *GetOrganizationRecommendationInput) (req *request.Request, output *GetOrganizationRecommendationOutput)
- func (c *TrustedAdvisor) GetOrganizationRecommendationWithContext(ctx aws.Context, input *GetOrganizationRecommendationInput, ...) (*GetOrganizationRecommendationOutput, error)
- func (c *TrustedAdvisor) GetRecommendation(input *GetRecommendationInput) (*GetRecommendationOutput, error)
- func (c *TrustedAdvisor) GetRecommendationRequest(input *GetRecommendationInput) (req *request.Request, output *GetRecommendationOutput)
- func (c *TrustedAdvisor) GetRecommendationWithContext(ctx aws.Context, input *GetRecommendationInput, opts ...request.Option) (*GetRecommendationOutput, error)
- func (c *TrustedAdvisor) ListChecks(input *ListChecksInput) (*ListChecksOutput, error)
- func (c *TrustedAdvisor) ListChecksPages(input *ListChecksInput, fn func(*ListChecksOutput, bool) bool) error
- func (c *TrustedAdvisor) ListChecksPagesWithContext(ctx aws.Context, input *ListChecksInput, fn func(*ListChecksOutput, bool) bool, ...) error
- func (c *TrustedAdvisor) ListChecksRequest(input *ListChecksInput) (req *request.Request, output *ListChecksOutput)
- func (c *TrustedAdvisor) ListChecksWithContext(ctx aws.Context, input *ListChecksInput, opts ...request.Option) (*ListChecksOutput, error)
- func (c *TrustedAdvisor) ListOrganizationRecommendationAccounts(input *ListOrganizationRecommendationAccountsInput) (*ListOrganizationRecommendationAccountsOutput, error)
- func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsPages(input *ListOrganizationRecommendationAccountsInput, ...) error
- func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationRecommendationAccountsInput, ...) error
- func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsRequest(input *ListOrganizationRecommendationAccountsInput) (req *request.Request, output *ListOrganizationRecommendationAccountsOutput)
- func (c *TrustedAdvisor) ListOrganizationRecommendationAccountsWithContext(ctx aws.Context, input *ListOrganizationRecommendationAccountsInput, ...) (*ListOrganizationRecommendationAccountsOutput, error)
- func (c *TrustedAdvisor) ListOrganizationRecommendationResources(input *ListOrganizationRecommendationResourcesInput) (*ListOrganizationRecommendationResourcesOutput, error)
- func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesPages(input *ListOrganizationRecommendationResourcesInput, ...) error
- func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesPagesWithContext(ctx aws.Context, input *ListOrganizationRecommendationResourcesInput, ...) error
- func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesRequest(input *ListOrganizationRecommendationResourcesInput) (req *request.Request, output *ListOrganizationRecommendationResourcesOutput)
- func (c *TrustedAdvisor) ListOrganizationRecommendationResourcesWithContext(ctx aws.Context, input *ListOrganizationRecommendationResourcesInput, ...) (*ListOrganizationRecommendationResourcesOutput, error)
- func (c *TrustedAdvisor) ListOrganizationRecommendations(input *ListOrganizationRecommendationsInput) (*ListOrganizationRecommendationsOutput, error)
- func (c *TrustedAdvisor) ListOrganizationRecommendationsPages(input *ListOrganizationRecommendationsInput, ...) error
- func (c *TrustedAdvisor) ListOrganizationRecommendationsPagesWithContext(ctx aws.Context, input *ListOrganizationRecommendationsInput, ...) error
- func (c *TrustedAdvisor) ListOrganizationRecommendationsRequest(input *ListOrganizationRecommendationsInput) (req *request.Request, output *ListOrganizationRecommendationsOutput)
- func (c *TrustedAdvisor) ListOrganizationRecommendationsWithContext(ctx aws.Context, input *ListOrganizationRecommendationsInput, ...) (*ListOrganizationRecommendationsOutput, error)
- func (c *TrustedAdvisor) ListRecommendationResources(input *ListRecommendationResourcesInput) (*ListRecommendationResourcesOutput, error)
- func (c *TrustedAdvisor) ListRecommendationResourcesPages(input *ListRecommendationResourcesInput, ...) error
- func (c *TrustedAdvisor) ListRecommendationResourcesPagesWithContext(ctx aws.Context, input *ListRecommendationResourcesInput, ...) error
- func (c *TrustedAdvisor) ListRecommendationResourcesRequest(input *ListRecommendationResourcesInput) (req *request.Request, output *ListRecommendationResourcesOutput)
- func (c *TrustedAdvisor) ListRecommendationResourcesWithContext(ctx aws.Context, input *ListRecommendationResourcesInput, ...) (*ListRecommendationResourcesOutput, error)
- func (c *TrustedAdvisor) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error)
- func (c *TrustedAdvisor) ListRecommendationsPages(input *ListRecommendationsInput, ...) error
- func (c *TrustedAdvisor) ListRecommendationsPagesWithContext(ctx aws.Context, input *ListRecommendationsInput, ...) error
- func (c *TrustedAdvisor) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput)
- func (c *TrustedAdvisor) ListRecommendationsWithContext(ctx aws.Context, input *ListRecommendationsInput, opts ...request.Option) (*ListRecommendationsOutput, error)
- func (c *TrustedAdvisor) UpdateOrganizationRecommendationLifecycle(input *UpdateOrganizationRecommendationLifecycleInput) (*UpdateOrganizationRecommendationLifecycleOutput, error)
- func (c *TrustedAdvisor) UpdateOrganizationRecommendationLifecycleRequest(input *UpdateOrganizationRecommendationLifecycleInput) (req *request.Request, output *UpdateOrganizationRecommendationLifecycleOutput)
- func (c *TrustedAdvisor) UpdateOrganizationRecommendationLifecycleWithContext(ctx aws.Context, input *UpdateOrganizationRecommendationLifecycleInput, ...) (*UpdateOrganizationRecommendationLifecycleOutput, error)
- func (c *TrustedAdvisor) UpdateRecommendationLifecycle(input *UpdateRecommendationLifecycleInput) (*UpdateRecommendationLifecycleOutput, error)
- func (c *TrustedAdvisor) UpdateRecommendationLifecycleRequest(input *UpdateRecommendationLifecycleInput) (req *request.Request, output *UpdateRecommendationLifecycleOutput)
- func (c *TrustedAdvisor) UpdateRecommendationLifecycleWithContext(ctx aws.Context, input *UpdateRecommendationLifecycleInput, ...) (*UpdateRecommendationLifecycleOutput, error)
- type UpdateOrganizationRecommendationLifecycleInput
- func (s UpdateOrganizationRecommendationLifecycleInput) GoString() string
- func (s *UpdateOrganizationRecommendationLifecycleInput) SetLifecycleStage(v string) *UpdateOrganizationRecommendationLifecycleInput
- func (s *UpdateOrganizationRecommendationLifecycleInput) SetOrganizationRecommendationIdentifier(v string) *UpdateOrganizationRecommendationLifecycleInput
- func (s *UpdateOrganizationRecommendationLifecycleInput) SetUpdateReason(v string) *UpdateOrganizationRecommendationLifecycleInput
- func (s *UpdateOrganizationRecommendationLifecycleInput) SetUpdateReasonCode(v string) *UpdateOrganizationRecommendationLifecycleInput
- func (s UpdateOrganizationRecommendationLifecycleInput) String() string
- func (s *UpdateOrganizationRecommendationLifecycleInput) Validate() error
- type UpdateOrganizationRecommendationLifecycleOutput
- type UpdateRecommendationLifecycleInput
- func (s UpdateRecommendationLifecycleInput) GoString() string
- func (s *UpdateRecommendationLifecycleInput) SetLifecycleStage(v string) *UpdateRecommendationLifecycleInput
- func (s *UpdateRecommendationLifecycleInput) SetRecommendationIdentifier(v string) *UpdateRecommendationLifecycleInput
- func (s *UpdateRecommendationLifecycleInput) SetUpdateReason(v string) *UpdateRecommendationLifecycleInput
- func (s *UpdateRecommendationLifecycleInput) SetUpdateReasonCode(v string) *UpdateRecommendationLifecycleInput
- func (s UpdateRecommendationLifecycleInput) String() string
- func (s *UpdateRecommendationLifecycleInput) Validate() error
- type UpdateRecommendationLifecycleOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
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" )
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" )
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" )
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" )
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" )
const ( // RecommendationTypeStandard is a RecommendationType enum value RecommendationTypeStandard = "standard" // RecommendationTypePriority is a RecommendationType enum value RecommendationTypePriority = "priority" )
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" )
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" )
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" )
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" )
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 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 ¶
func (s AccountRecommendationLifecycleSummary) 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 (*AccountRecommendationLifecycleSummary) SetAccountId ¶
func (s *AccountRecommendationLifecycleSummary) SetAccountId(v string) *AccountRecommendationLifecycleSummary
SetAccountId sets the AccountId field's value.
func (*AccountRecommendationLifecycleSummary) SetAccountRecommendationArn ¶
func (s *AccountRecommendationLifecycleSummary) SetAccountRecommendationArn(v string) *AccountRecommendationLifecycleSummary
SetAccountRecommendationArn sets the AccountRecommendationArn field's value.
func (*AccountRecommendationLifecycleSummary) SetLastUpdatedAt ¶
func (s *AccountRecommendationLifecycleSummary) SetLastUpdatedAt(v time.Time) *AccountRecommendationLifecycleSummary
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (*AccountRecommendationLifecycleSummary) SetLifecycleStage ¶
func (s *AccountRecommendationLifecycleSummary) SetLifecycleStage(v string) *AccountRecommendationLifecycleSummary
SetLifecycleStage sets the LifecycleStage field's value.
func (*AccountRecommendationLifecycleSummary) SetUpdateReason ¶
func (s *AccountRecommendationLifecycleSummary) SetUpdateReason(v string) *AccountRecommendationLifecycleSummary
SetUpdateReason sets the UpdateReason field's value.
func (*AccountRecommendationLifecycleSummary) SetUpdateReasonCode ¶
func (s *AccountRecommendationLifecycleSummary) SetUpdateReasonCode(v string) *AccountRecommendationLifecycleSummary
SetUpdateReasonCode sets the UpdateReasonCode field's value.
func (*AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOf ¶
func (s *AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOf(v string) *AccountRecommendationLifecycleSummary
SetUpdatedOnBehalfOf sets the UpdatedOnBehalfOf field's value.
func (*AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOfJobTitle ¶
func (s *AccountRecommendationLifecycleSummary) SetUpdatedOnBehalfOfJobTitle(v string) *AccountRecommendationLifecycleSummary
SetUpdatedOnBehalfOfJobTitle sets the UpdatedOnBehalfOfJobTitle field's value.
func (AccountRecommendationLifecycleSummary) String ¶
func (s AccountRecommendationLifecycleSummary) 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 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 ¶
func (s GetOrganizationRecommendationInput) 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 (*GetOrganizationRecommendationInput) SetOrganizationRecommendationIdentifier ¶
func (s *GetOrganizationRecommendationInput) SetOrganizationRecommendationIdentifier(v string) *GetOrganizationRecommendationInput
SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.
func (GetOrganizationRecommendationInput) String ¶
func (s GetOrganizationRecommendationInput) 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 (*GetOrganizationRecommendationInput) Validate ¶
func (s *GetOrganizationRecommendationInput) Validate() error
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 ¶
func (s GetOrganizationRecommendationOutput) 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 (*GetOrganizationRecommendationOutput) SetOrganizationRecommendation ¶
func (s *GetOrganizationRecommendationOutput) SetOrganizationRecommendation(v *OrganizationRecommendation) *GetOrganizationRecommendationOutput
SetOrganizationRecommendation sets the OrganizationRecommendation field's value.
func (GetOrganizationRecommendationOutput) String ¶
func (s GetOrganizationRecommendationOutput) 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 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 ¶
func (s *GetRecommendationOutput) SetRecommendation(v *Recommendation) *GetRecommendationOutput
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 ¶
func (s ListOrganizationRecommendationAccountsInput) 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 (*ListOrganizationRecommendationAccountsInput) SetAffectedAccountId ¶
func (s *ListOrganizationRecommendationAccountsInput) SetAffectedAccountId(v string) *ListOrganizationRecommendationAccountsInput
SetAffectedAccountId sets the AffectedAccountId field's value.
func (*ListOrganizationRecommendationAccountsInput) SetMaxResults ¶
func (s *ListOrganizationRecommendationAccountsInput) SetMaxResults(v int64) *ListOrganizationRecommendationAccountsInput
SetMaxResults sets the MaxResults field's value.
func (*ListOrganizationRecommendationAccountsInput) SetNextToken ¶
func (s *ListOrganizationRecommendationAccountsInput) SetNextToken(v string) *ListOrganizationRecommendationAccountsInput
SetNextToken sets the NextToken field's value.
func (*ListOrganizationRecommendationAccountsInput) SetOrganizationRecommendationIdentifier ¶
func (s *ListOrganizationRecommendationAccountsInput) SetOrganizationRecommendationIdentifier(v string) *ListOrganizationRecommendationAccountsInput
SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.
func (ListOrganizationRecommendationAccountsInput) String ¶
func (s ListOrganizationRecommendationAccountsInput) 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 (*ListOrganizationRecommendationAccountsInput) Validate ¶
func (s *ListOrganizationRecommendationAccountsInput) Validate() error
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 ¶
func (s ListOrganizationRecommendationAccountsOutput) 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 (*ListOrganizationRecommendationAccountsOutput) SetAccountRecommendationLifecycleSummaries ¶
func (s *ListOrganizationRecommendationAccountsOutput) SetAccountRecommendationLifecycleSummaries(v []*AccountRecommendationLifecycleSummary) *ListOrganizationRecommendationAccountsOutput
SetAccountRecommendationLifecycleSummaries sets the AccountRecommendationLifecycleSummaries field's value.
func (*ListOrganizationRecommendationAccountsOutput) SetNextToken ¶
func (s *ListOrganizationRecommendationAccountsOutput) SetNextToken(v string) *ListOrganizationRecommendationAccountsOutput
SetNextToken sets the NextToken field's value.
func (ListOrganizationRecommendationAccountsOutput) String ¶
func (s ListOrganizationRecommendationAccountsOutput) 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 ListOrganizationRecommendationResourcesInput ¶
type ListOrganizationRecommendationResourcesInput 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 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 ¶
func (s ListOrganizationRecommendationResourcesInput) 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 (*ListOrganizationRecommendationResourcesInput) SetAffectedAccountId ¶
func (s *ListOrganizationRecommendationResourcesInput) SetAffectedAccountId(v string) *ListOrganizationRecommendationResourcesInput
SetAffectedAccountId sets the AffectedAccountId field's value.
func (*ListOrganizationRecommendationResourcesInput) SetMaxResults ¶
func (s *ListOrganizationRecommendationResourcesInput) SetMaxResults(v int64) *ListOrganizationRecommendationResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListOrganizationRecommendationResourcesInput) SetNextToken ¶
func (s *ListOrganizationRecommendationResourcesInput) SetNextToken(v string) *ListOrganizationRecommendationResourcesInput
SetNextToken sets the NextToken field's value.
func (*ListOrganizationRecommendationResourcesInput) SetOrganizationRecommendationIdentifier ¶
func (s *ListOrganizationRecommendationResourcesInput) SetOrganizationRecommendationIdentifier(v string) *ListOrganizationRecommendationResourcesInput
SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.
func (*ListOrganizationRecommendationResourcesInput) SetRegionCode ¶
func (s *ListOrganizationRecommendationResourcesInput) SetRegionCode(v string) *ListOrganizationRecommendationResourcesInput
SetRegionCode sets the RegionCode field's value.
func (*ListOrganizationRecommendationResourcesInput) SetStatus ¶
func (s *ListOrganizationRecommendationResourcesInput) SetStatus(v string) *ListOrganizationRecommendationResourcesInput
SetStatus sets the Status field's value.
func (ListOrganizationRecommendationResourcesInput) String ¶
func (s ListOrganizationRecommendationResourcesInput) 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 (*ListOrganizationRecommendationResourcesInput) Validate ¶
func (s *ListOrganizationRecommendationResourcesInput) Validate() error
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 ¶
func (s ListOrganizationRecommendationResourcesOutput) 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 (*ListOrganizationRecommendationResourcesOutput) SetNextToken ¶
func (s *ListOrganizationRecommendationResourcesOutput) SetNextToken(v string) *ListOrganizationRecommendationResourcesOutput
SetNextToken sets the NextToken field's value.
func (*ListOrganizationRecommendationResourcesOutput) SetOrganizationRecommendationResourceSummaries ¶
func (s *ListOrganizationRecommendationResourcesOutput) SetOrganizationRecommendationResourceSummaries(v []*OrganizationRecommendationResourceSummary) *ListOrganizationRecommendationResourcesOutput
SetOrganizationRecommendationResourceSummaries sets the OrganizationRecommendationResourceSummaries field's value.
func (ListOrganizationRecommendationResourcesOutput) String ¶
func (s ListOrganizationRecommendationResourcesOutput) 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 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 ¶
func (s ListOrganizationRecommendationsInput) 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 (*ListOrganizationRecommendationsInput) SetAfterLastUpdatedAt ¶
func (s *ListOrganizationRecommendationsInput) SetAfterLastUpdatedAt(v time.Time) *ListOrganizationRecommendationsInput
SetAfterLastUpdatedAt sets the AfterLastUpdatedAt field's value.
func (*ListOrganizationRecommendationsInput) SetAwsService ¶
func (s *ListOrganizationRecommendationsInput) SetAwsService(v string) *ListOrganizationRecommendationsInput
SetAwsService sets the AwsService field's value.
func (*ListOrganizationRecommendationsInput) SetBeforeLastUpdatedAt ¶
func (s *ListOrganizationRecommendationsInput) SetBeforeLastUpdatedAt(v time.Time) *ListOrganizationRecommendationsInput
SetBeforeLastUpdatedAt sets the BeforeLastUpdatedAt field's value.
func (*ListOrganizationRecommendationsInput) SetCheckIdentifier ¶
func (s *ListOrganizationRecommendationsInput) SetCheckIdentifier(v string) *ListOrganizationRecommendationsInput
SetCheckIdentifier sets the CheckIdentifier field's value.
func (*ListOrganizationRecommendationsInput) SetMaxResults ¶
func (s *ListOrganizationRecommendationsInput) SetMaxResults(v int64) *ListOrganizationRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListOrganizationRecommendationsInput) SetNextToken ¶
func (s *ListOrganizationRecommendationsInput) SetNextToken(v string) *ListOrganizationRecommendationsInput
SetNextToken sets the NextToken field's value.
func (*ListOrganizationRecommendationsInput) SetPillar ¶
func (s *ListOrganizationRecommendationsInput) SetPillar(v string) *ListOrganizationRecommendationsInput
SetPillar sets the Pillar field's value.
func (*ListOrganizationRecommendationsInput) SetSource ¶
func (s *ListOrganizationRecommendationsInput) SetSource(v string) *ListOrganizationRecommendationsInput
SetSource sets the Source field's value.
func (*ListOrganizationRecommendationsInput) SetStatus ¶
func (s *ListOrganizationRecommendationsInput) SetStatus(v string) *ListOrganizationRecommendationsInput
SetStatus sets the Status field's value.
func (*ListOrganizationRecommendationsInput) SetType ¶
func (s *ListOrganizationRecommendationsInput) SetType(v string) *ListOrganizationRecommendationsInput
SetType sets the Type field's value.
func (ListOrganizationRecommendationsInput) String ¶
func (s ListOrganizationRecommendationsInput) 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 (*ListOrganizationRecommendationsInput) Validate ¶
func (s *ListOrganizationRecommendationsInput) Validate() error
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 ¶
func (s ListOrganizationRecommendationsOutput) 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 (*ListOrganizationRecommendationsOutput) SetNextToken ¶
func (s *ListOrganizationRecommendationsOutput) SetNextToken(v string) *ListOrganizationRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (*ListOrganizationRecommendationsOutput) SetOrganizationRecommendationSummaries ¶
func (s *ListOrganizationRecommendationsOutput) SetOrganizationRecommendationSummaries(v []*OrganizationRecommendationSummary) *ListOrganizationRecommendationsOutput
SetOrganizationRecommendationSummaries sets the OrganizationRecommendationSummaries field's value.
func (ListOrganizationRecommendationsOutput) String ¶
func (s ListOrganizationRecommendationsOutput) 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 ListRecommendationResourcesInput ¶
type ListRecommendationResourcesInput struct { // 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 ¶
func (s ListRecommendationResourcesInput) 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 (*ListRecommendationResourcesInput) SetMaxResults ¶
func (s *ListRecommendationResourcesInput) SetMaxResults(v int64) *ListRecommendationResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecommendationResourcesInput) SetNextToken ¶
func (s *ListRecommendationResourcesInput) SetNextToken(v string) *ListRecommendationResourcesInput
SetNextToken sets the NextToken field's value.
func (*ListRecommendationResourcesInput) SetRecommendationIdentifier ¶
func (s *ListRecommendationResourcesInput) SetRecommendationIdentifier(v string) *ListRecommendationResourcesInput
SetRecommendationIdentifier sets the RecommendationIdentifier field's value.
func (*ListRecommendationResourcesInput) SetRegionCode ¶
func (s *ListRecommendationResourcesInput) SetRegionCode(v string) *ListRecommendationResourcesInput
SetRegionCode sets the RegionCode field's value.
func (*ListRecommendationResourcesInput) SetStatus ¶
func (s *ListRecommendationResourcesInput) SetStatus(v string) *ListRecommendationResourcesInput
SetStatus sets the Status field's value.
func (ListRecommendationResourcesInput) String ¶
func (s ListRecommendationResourcesInput) 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 (*ListRecommendationResourcesInput) Validate ¶
func (s *ListRecommendationResourcesInput) Validate() error
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 ¶
func (s ListRecommendationResourcesOutput) 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 (*ListRecommendationResourcesOutput) SetNextToken ¶
func (s *ListRecommendationResourcesOutput) SetNextToken(v string) *ListRecommendationResourcesOutput
SetNextToken sets the NextToken field's value.
func (*ListRecommendationResourcesOutput) SetRecommendationResourceSummaries ¶
func (s *ListRecommendationResourcesOutput) SetRecommendationResourceSummaries(v []*RecommendationResourceSummary) *ListRecommendationResourcesOutput
SetRecommendationResourceSummaries sets the RecommendationResourceSummaries field's value.
func (ListRecommendationResourcesOutput) String ¶
func (s ListRecommendationResourcesOutput) 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 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 ¶
func (s *ListRecommendationsInput) SetAwsService(v string) *ListRecommendationsInput
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 ¶
func (s *ListRecommendationsInput) SetMaxResults(v int64) *ListRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecommendationsInput) SetNextToken ¶
func (s *ListRecommendationsInput) SetNextToken(v string) *ListRecommendationsInput
SetNextToken sets the NextToken field's value.
func (*ListRecommendationsInput) SetPillar ¶
func (s *ListRecommendationsInput) SetPillar(v string) *ListRecommendationsInput
SetPillar sets the Pillar field's value.
func (*ListRecommendationsInput) SetSource ¶
func (s *ListRecommendationsInput) SetSource(v string) *ListRecommendationsInput
SetSource sets the Source field's value.
func (*ListRecommendationsInput) SetStatus ¶
func (s *ListRecommendationsInput) SetStatus(v string) *ListRecommendationsInput
SetStatus sets the Status field's value.
func (*ListRecommendationsInput) SetType ¶
func (s *ListRecommendationsInput) SetType(v string) *ListRecommendationsInput
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 ¶
func (s *ListRecommendationsOutput) SetNextToken(v string) *ListRecommendationsOutput
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 ¶
func (s *OrganizationRecommendation) SetArn(v string) *OrganizationRecommendation
SetArn sets the Arn field's value.
func (*OrganizationRecommendation) SetAwsServices ¶
func (s *OrganizationRecommendation) SetAwsServices(v []*string) *OrganizationRecommendation
SetAwsServices sets the AwsServices field's value.
func (*OrganizationRecommendation) SetCheckArn ¶
func (s *OrganizationRecommendation) SetCheckArn(v string) *OrganizationRecommendation
SetCheckArn sets the CheckArn field's value.
func (*OrganizationRecommendation) SetCreatedAt ¶
func (s *OrganizationRecommendation) SetCreatedAt(v time.Time) *OrganizationRecommendation
SetCreatedAt sets the CreatedAt field's value.
func (*OrganizationRecommendation) SetCreatedBy ¶
func (s *OrganizationRecommendation) SetCreatedBy(v string) *OrganizationRecommendation
SetCreatedBy sets the CreatedBy field's value.
func (*OrganizationRecommendation) SetDescription ¶
func (s *OrganizationRecommendation) SetDescription(v string) *OrganizationRecommendation
SetDescription sets the Description field's value.
func (*OrganizationRecommendation) SetId ¶
func (s *OrganizationRecommendation) SetId(v string) *OrganizationRecommendation
SetId sets the Id field's value.
func (*OrganizationRecommendation) SetLastUpdatedAt ¶
func (s *OrganizationRecommendation) SetLastUpdatedAt(v time.Time) *OrganizationRecommendation
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (*OrganizationRecommendation) SetLifecycleStage ¶
func (s *OrganizationRecommendation) SetLifecycleStage(v string) *OrganizationRecommendation
SetLifecycleStage sets the LifecycleStage field's value.
func (*OrganizationRecommendation) SetName ¶
func (s *OrganizationRecommendation) SetName(v string) *OrganizationRecommendation
SetName sets the Name field's value.
func (*OrganizationRecommendation) SetPillarSpecificAggregates ¶
func (s *OrganizationRecommendation) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *OrganizationRecommendation
SetPillarSpecificAggregates sets the PillarSpecificAggregates field's value.
func (*OrganizationRecommendation) SetPillars ¶
func (s *OrganizationRecommendation) SetPillars(v []*string) *OrganizationRecommendation
SetPillars sets the Pillars field's value.
func (*OrganizationRecommendation) SetResolvedAt ¶
func (s *OrganizationRecommendation) SetResolvedAt(v time.Time) *OrganizationRecommendation
SetResolvedAt sets the ResolvedAt field's value.
func (*OrganizationRecommendation) SetResourcesAggregates ¶
func (s *OrganizationRecommendation) SetResourcesAggregates(v *RecommendationResourcesAggregates) *OrganizationRecommendation
SetResourcesAggregates sets the ResourcesAggregates field's value.
func (*OrganizationRecommendation) SetSource ¶
func (s *OrganizationRecommendation) SetSource(v string) *OrganizationRecommendation
SetSource sets the Source field's value.
func (*OrganizationRecommendation) SetStatus ¶
func (s *OrganizationRecommendation) SetStatus(v string) *OrganizationRecommendation
SetStatus sets the Status field's value.
func (*OrganizationRecommendation) SetType ¶
func (s *OrganizationRecommendation) SetType(v string) *OrganizationRecommendation
SetType sets the Type field's value.
func (*OrganizationRecommendation) SetUpdateReason ¶
func (s *OrganizationRecommendation) SetUpdateReason(v string) *OrganizationRecommendation
SetUpdateReason sets the UpdateReason field's value.
func (*OrganizationRecommendation) SetUpdateReasonCode ¶
func (s *OrganizationRecommendation) SetUpdateReasonCode(v string) *OrganizationRecommendation
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 ¶
func (s OrganizationRecommendation) 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 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 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 ¶
func (s OrganizationRecommendationResourceSummary) 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 (*OrganizationRecommendationResourceSummary) SetAccountId ¶
func (s *OrganizationRecommendationResourceSummary) SetAccountId(v string) *OrganizationRecommendationResourceSummary
SetAccountId sets the AccountId field's value.
func (*OrganizationRecommendationResourceSummary) SetArn ¶
func (s *OrganizationRecommendationResourceSummary) SetArn(v string) *OrganizationRecommendationResourceSummary
SetArn sets the Arn field's value.
func (*OrganizationRecommendationResourceSummary) SetAwsResourceId ¶
func (s *OrganizationRecommendationResourceSummary) SetAwsResourceId(v string) *OrganizationRecommendationResourceSummary
SetAwsResourceId sets the AwsResourceId field's value.
func (*OrganizationRecommendationResourceSummary) SetId ¶
func (s *OrganizationRecommendationResourceSummary) SetId(v string) *OrganizationRecommendationResourceSummary
SetId sets the Id field's value.
func (*OrganizationRecommendationResourceSummary) SetLastUpdatedAt ¶
func (s *OrganizationRecommendationResourceSummary) SetLastUpdatedAt(v time.Time) *OrganizationRecommendationResourceSummary
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (*OrganizationRecommendationResourceSummary) SetMetadata ¶
func (s *OrganizationRecommendationResourceSummary) SetMetadata(v map[string]*string) *OrganizationRecommendationResourceSummary
SetMetadata sets the Metadata field's value.
func (*OrganizationRecommendationResourceSummary) SetRecommendationArn ¶
func (s *OrganizationRecommendationResourceSummary) SetRecommendationArn(v string) *OrganizationRecommendationResourceSummary
SetRecommendationArn sets the RecommendationArn field's value.
func (*OrganizationRecommendationResourceSummary) SetRegionCode ¶
func (s *OrganizationRecommendationResourceSummary) SetRegionCode(v string) *OrganizationRecommendationResourceSummary
SetRegionCode sets the RegionCode field's value.
func (*OrganizationRecommendationResourceSummary) SetStatus ¶
func (s *OrganizationRecommendationResourceSummary) SetStatus(v string) *OrganizationRecommendationResourceSummary
SetStatus sets the Status field's value.
func (OrganizationRecommendationResourceSummary) String ¶
func (s OrganizationRecommendationResourceSummary) 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 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 ¶
func (s OrganizationRecommendationSummary) 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 (*OrganizationRecommendationSummary) SetArn ¶
func (s *OrganizationRecommendationSummary) SetArn(v string) *OrganizationRecommendationSummary
SetArn sets the Arn field's value.
func (*OrganizationRecommendationSummary) SetAwsServices ¶
func (s *OrganizationRecommendationSummary) SetAwsServices(v []*string) *OrganizationRecommendationSummary
SetAwsServices sets the AwsServices field's value.
func (*OrganizationRecommendationSummary) SetCheckArn ¶
func (s *OrganizationRecommendationSummary) SetCheckArn(v string) *OrganizationRecommendationSummary
SetCheckArn sets the CheckArn field's value.
func (*OrganizationRecommendationSummary) SetCreatedAt ¶
func (s *OrganizationRecommendationSummary) SetCreatedAt(v time.Time) *OrganizationRecommendationSummary
SetCreatedAt sets the CreatedAt field's value.
func (*OrganizationRecommendationSummary) SetId ¶
func (s *OrganizationRecommendationSummary) SetId(v string) *OrganizationRecommendationSummary
SetId sets the Id field's value.
func (*OrganizationRecommendationSummary) SetLastUpdatedAt ¶
func (s *OrganizationRecommendationSummary) SetLastUpdatedAt(v time.Time) *OrganizationRecommendationSummary
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (*OrganizationRecommendationSummary) SetLifecycleStage ¶
func (s *OrganizationRecommendationSummary) SetLifecycleStage(v string) *OrganizationRecommendationSummary
SetLifecycleStage sets the LifecycleStage field's value.
func (*OrganizationRecommendationSummary) SetName ¶
func (s *OrganizationRecommendationSummary) SetName(v string) *OrganizationRecommendationSummary
SetName sets the Name field's value.
func (*OrganizationRecommendationSummary) SetPillarSpecificAggregates ¶
func (s *OrganizationRecommendationSummary) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *OrganizationRecommendationSummary
SetPillarSpecificAggregates sets the PillarSpecificAggregates field's value.
func (*OrganizationRecommendationSummary) SetPillars ¶
func (s *OrganizationRecommendationSummary) SetPillars(v []*string) *OrganizationRecommendationSummary
SetPillars sets the Pillars field's value.
func (*OrganizationRecommendationSummary) SetResourcesAggregates ¶
func (s *OrganizationRecommendationSummary) SetResourcesAggregates(v *RecommendationResourcesAggregates) *OrganizationRecommendationSummary
SetResourcesAggregates sets the ResourcesAggregates field's value.
func (*OrganizationRecommendationSummary) SetSource ¶
func (s *OrganizationRecommendationSummary) SetSource(v string) *OrganizationRecommendationSummary
SetSource sets the Source field's value.
func (*OrganizationRecommendationSummary) SetStatus ¶
func (s *OrganizationRecommendationSummary) SetStatus(v string) *OrganizationRecommendationSummary
SetStatus sets the Status field's value.
func (*OrganizationRecommendationSummary) SetType ¶
func (s *OrganizationRecommendationSummary) SetType(v string) *OrganizationRecommendationSummary
SetType sets the Type field's value.
func (OrganizationRecommendationSummary) String ¶
func (s OrganizationRecommendationSummary) 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 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 ¶
func (s RecommendationCostOptimizingAggregates) 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 (*RecommendationCostOptimizingAggregates) SetEstimatedMonthlySavings ¶
func (s *RecommendationCostOptimizingAggregates) SetEstimatedMonthlySavings(v float64) *RecommendationCostOptimizingAggregates
SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value.
func (*RecommendationCostOptimizingAggregates) SetEstimatedPercentMonthlySavings ¶
func (s *RecommendationCostOptimizingAggregates) SetEstimatedPercentMonthlySavings(v float64) *RecommendationCostOptimizingAggregates
SetEstimatedPercentMonthlySavings sets the EstimatedPercentMonthlySavings field's value.
func (RecommendationCostOptimizingAggregates) String ¶
func (s RecommendationCostOptimizingAggregates) 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 RecommendationPillarSpecificAggregates ¶
type RecommendationPillarSpecificAggregates struct { // Cost optimizing aggregates CostOptimizing *RecommendationCostOptimizingAggregates `locationName:"costOptimizing" type:"structure"` // contains filtered or unexported fields }
Recommendation pillar aggregates
func (RecommendationPillarSpecificAggregates) GoString ¶
func (s RecommendationPillarSpecificAggregates) 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 (*RecommendationPillarSpecificAggregates) SetCostOptimizing ¶
func (s *RecommendationPillarSpecificAggregates) SetCostOptimizing(v *RecommendationCostOptimizingAggregates) *RecommendationPillarSpecificAggregates
SetCostOptimizing sets the CostOptimizing field's value.
func (RecommendationPillarSpecificAggregates) String ¶
func (s RecommendationPillarSpecificAggregates) 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 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 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 ¶
func (s RecommendationResourceSummary) 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 (*RecommendationResourceSummary) SetArn ¶
func (s *RecommendationResourceSummary) SetArn(v string) *RecommendationResourceSummary
SetArn sets the Arn field's value.
func (*RecommendationResourceSummary) SetAwsResourceId ¶
func (s *RecommendationResourceSummary) SetAwsResourceId(v string) *RecommendationResourceSummary
SetAwsResourceId sets the AwsResourceId field's value.
func (*RecommendationResourceSummary) SetId ¶
func (s *RecommendationResourceSummary) SetId(v string) *RecommendationResourceSummary
SetId sets the Id field's value.
func (*RecommendationResourceSummary) SetLastUpdatedAt ¶
func (s *RecommendationResourceSummary) SetLastUpdatedAt(v time.Time) *RecommendationResourceSummary
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (*RecommendationResourceSummary) SetMetadata ¶
func (s *RecommendationResourceSummary) SetMetadata(v map[string]*string) *RecommendationResourceSummary
SetMetadata sets the Metadata field's value.
func (*RecommendationResourceSummary) SetRecommendationArn ¶
func (s *RecommendationResourceSummary) SetRecommendationArn(v string) *RecommendationResourceSummary
SetRecommendationArn sets the RecommendationArn field's value.
func (*RecommendationResourceSummary) SetRegionCode ¶
func (s *RecommendationResourceSummary) SetRegionCode(v string) *RecommendationResourceSummary
SetRegionCode sets the RegionCode field's value.
func (*RecommendationResourceSummary) SetStatus ¶
func (s *RecommendationResourceSummary) SetStatus(v string) *RecommendationResourceSummary
SetStatus sets the Status field's value.
func (RecommendationResourceSummary) String ¶
func (s RecommendationResourceSummary) 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 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 ¶
func (s RecommendationResourcesAggregates) 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 (*RecommendationResourcesAggregates) SetErrorCount ¶
func (s *RecommendationResourcesAggregates) SetErrorCount(v int64) *RecommendationResourcesAggregates
SetErrorCount sets the ErrorCount field's value.
func (*RecommendationResourcesAggregates) SetOkCount ¶
func (s *RecommendationResourcesAggregates) SetOkCount(v int64) *RecommendationResourcesAggregates
SetOkCount sets the OkCount field's value.
func (*RecommendationResourcesAggregates) SetWarningCount ¶
func (s *RecommendationResourcesAggregates) SetWarningCount(v int64) *RecommendationResourcesAggregates
SetWarningCount sets the WarningCount field's value.
func (RecommendationResourcesAggregates) String ¶
func (s RecommendationResourcesAggregates) 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 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 ¶
func (s *RecommendationSummary) SetArn(v string) *RecommendationSummary
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 ¶
func (s *RecommendationSummary) SetCheckArn(v string) *RecommendationSummary
SetCheckArn sets the CheckArn field's value.
func (*RecommendationSummary) SetCreatedAt ¶
func (s *RecommendationSummary) SetCreatedAt(v time.Time) *RecommendationSummary
SetCreatedAt sets the CreatedAt field's value.
func (*RecommendationSummary) SetId ¶
func (s *RecommendationSummary) SetId(v string) *RecommendationSummary
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 ¶
func (s *RecommendationSummary) SetName(v string) *RecommendationSummary
SetName sets the Name field's value.
func (*RecommendationSummary) SetPillarSpecificAggregates ¶
func (s *RecommendationSummary) SetPillarSpecificAggregates(v *RecommendationPillarSpecificAggregates) *RecommendationSummary
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 ¶
func (s *RecommendationSummary) SetResourcesAggregates(v *RecommendationResourcesAggregates) *RecommendationSummary
SetResourcesAggregates sets the ResourcesAggregates field's value.
func (*RecommendationSummary) SetSource ¶
func (s *RecommendationSummary) SetSource(v string) *RecommendationSummary
SetSource sets the Source field's value.
func (*RecommendationSummary) SetStatus ¶
func (s *RecommendationSummary) SetStatus(v string) *RecommendationSummary
SetStatus sets the Status field's value.
func (*RecommendationSummary) SetType ¶
func (s *RecommendationSummary) SetType(v string) *RecommendationSummary
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 ¶
func (s *ResourceNotFoundException) Code() string
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 ¶
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) GetOrganizationRecommendation ¶
func (c *TrustedAdvisor) GetOrganizationRecommendation(input *GetOrganizationRecommendationInput) (*GetOrganizationRecommendationOutput, error)
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 ¶
func (c *TrustedAdvisor) ListOrganizationRecommendationAccounts(input *ListOrganizationRecommendationAccountsInput) (*ListOrganizationRecommendationAccountsOutput, error)
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
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) }
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 ¶
func (c *TrustedAdvisor) ListOrganizationRecommendationResources(input *ListOrganizationRecommendationResourcesInput) (*ListOrganizationRecommendationResourcesOutput, error)
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
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) }
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 ¶
func (c *TrustedAdvisor) ListOrganizationRecommendations(input *ListOrganizationRecommendationsInput) (*ListOrganizationRecommendationsOutput, error)
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 ¶
func (c *TrustedAdvisor) ListRecommendationResources(input *ListRecommendationResourcesInput) (*ListRecommendationResourcesOutput, error)
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 ¶
func (c *TrustedAdvisor) UpdateOrganizationRecommendationLifecycle(input *UpdateOrganizationRecommendationLifecycleInput) (*UpdateOrganizationRecommendationLifecycleOutput, error)
UpdateOrganizationRecommendationLifecycle API operation for TrustedAdvisor Public API.
Update the lifecyle 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
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) }
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 ¶
func (c *TrustedAdvisor) UpdateRecommendationLifecycle(input *UpdateRecommendationLifecycleInput) (*UpdateRecommendationLifecycleOutput, error)
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 ¶
func (s UpdateOrganizationRecommendationLifecycleInput) 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 (*UpdateOrganizationRecommendationLifecycleInput) SetLifecycleStage ¶
func (s *UpdateOrganizationRecommendationLifecycleInput) SetLifecycleStage(v string) *UpdateOrganizationRecommendationLifecycleInput
SetLifecycleStage sets the LifecycleStage field's value.
func (*UpdateOrganizationRecommendationLifecycleInput) SetOrganizationRecommendationIdentifier ¶
func (s *UpdateOrganizationRecommendationLifecycleInput) SetOrganizationRecommendationIdentifier(v string) *UpdateOrganizationRecommendationLifecycleInput
SetOrganizationRecommendationIdentifier sets the OrganizationRecommendationIdentifier field's value.
func (*UpdateOrganizationRecommendationLifecycleInput) SetUpdateReason ¶
func (s *UpdateOrganizationRecommendationLifecycleInput) SetUpdateReason(v string) *UpdateOrganizationRecommendationLifecycleInput
SetUpdateReason sets the UpdateReason field's value.
func (*UpdateOrganizationRecommendationLifecycleInput) SetUpdateReasonCode ¶
func (s *UpdateOrganizationRecommendationLifecycleInput) SetUpdateReasonCode(v string) *UpdateOrganizationRecommendationLifecycleInput
SetUpdateReasonCode sets the UpdateReasonCode field's value.
func (UpdateOrganizationRecommendationLifecycleInput) String ¶
func (s UpdateOrganizationRecommendationLifecycleInput) 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 (*UpdateOrganizationRecommendationLifecycleInput) Validate ¶
func (s *UpdateOrganizationRecommendationLifecycleInput) Validate() error
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 ¶
func (s UpdateOrganizationRecommendationLifecycleOutput) 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 (UpdateOrganizationRecommendationLifecycleOutput) String ¶
func (s UpdateOrganizationRecommendationLifecycleOutput) 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 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 ¶
func (s UpdateRecommendationLifecycleInput) 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 (*UpdateRecommendationLifecycleInput) SetLifecycleStage ¶
func (s *UpdateRecommendationLifecycleInput) SetLifecycleStage(v string) *UpdateRecommendationLifecycleInput
SetLifecycleStage sets the LifecycleStage field's value.
func (*UpdateRecommendationLifecycleInput) SetRecommendationIdentifier ¶
func (s *UpdateRecommendationLifecycleInput) SetRecommendationIdentifier(v string) *UpdateRecommendationLifecycleInput
SetRecommendationIdentifier sets the RecommendationIdentifier field's value.
func (*UpdateRecommendationLifecycleInput) SetUpdateReason ¶
func (s *UpdateRecommendationLifecycleInput) SetUpdateReason(v string) *UpdateRecommendationLifecycleInput
SetUpdateReason sets the UpdateReason field's value.
func (*UpdateRecommendationLifecycleInput) SetUpdateReasonCode ¶
func (s *UpdateRecommendationLifecycleInput) SetUpdateReasonCode(v string) *UpdateRecommendationLifecycleInput
SetUpdateReasonCode sets the UpdateReasonCode field's value.
func (UpdateRecommendationLifecycleInput) String ¶
func (s UpdateRecommendationLifecycleInput) 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 (*UpdateRecommendationLifecycleInput) Validate ¶
func (s *UpdateRecommendationLifecycleInput) Validate() error
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 ¶
func (s UpdateRecommendationLifecycleOutput) 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 (UpdateRecommendationLifecycleOutput) String ¶
func (s UpdateRecommendationLifecycleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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. |