func AdditionalResourceType_Values() []string
AdditionalResourceType_Values returns all elements of the AdditionalResourceType enum
func AnswerReason_Values() []string
AnswerReason_Values returns all elements of the AnswerReason enum
func CheckFailureReason_Values() []string
CheckFailureReason_Values returns all elements of the CheckFailureReason enum
func CheckProvider_Values() []string
CheckProvider_Values returns all elements of the CheckProvider enum
func CheckStatus_Values() []string
CheckStatus_Values returns all elements of the CheckStatus enum
func ChoiceReason_Values() []string
ChoiceReason_Values returns all elements of the ChoiceReason enum
func ChoiceStatus_Values() []string
ChoiceStatus_Values returns all elements of the ChoiceStatus enum
func DifferenceStatus_Values() []string
DifferenceStatus_Values returns all elements of the DifferenceStatus enum
func ImportLensStatus_Values() []string
ImportLensStatus_Values returns all elements of the ImportLensStatus enum
func LensStatusType_Values() []string
LensStatusType_Values returns all elements of the LensStatusType enum
func LensStatus_Values() []string
LensStatus_Values returns all elements of the LensStatus enum
func LensType_Values() []string
LensType_Values returns all elements of the LensType enum
func NotificationType_Values() []string
NotificationType_Values returns all elements of the NotificationType enum
func OrganizationSharingStatus_Values() []string
OrganizationSharingStatus_Values returns all elements of the OrganizationSharingStatus enum
func PermissionType_Values() []string
PermissionType_Values returns all elements of the PermissionType enum
func Risk_Values() []string
Risk_Values returns all elements of the Risk enum
func ShareInvitationAction_Values() []string
ShareInvitationAction_Values returns all elements of the ShareInvitationAction enum
func ShareResourceType_Values() []string
ShareResourceType_Values returns all elements of the ShareResourceType enum
func ShareStatus_Values() []string
ShareStatus_Values returns all elements of the ShareStatus enum
func TrustedAdvisorIntegrationStatus_Values() []string
TrustedAdvisorIntegrationStatus_Values returns all elements of the TrustedAdvisorIntegrationStatus enum
func ValidationExceptionReason_Values() []string
ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum
func WorkloadEnvironment_Values() []string
WorkloadEnvironment_Values returns all elements of the WorkloadEnvironment enum
func WorkloadImprovementStatus_Values() []string
WorkloadImprovementStatus_Values returns all elements of the WorkloadImprovementStatus enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
User does not have sufficient access to perform this action.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
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 (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 AdditionalResources struct { // The URLs for additional resources, either helpful resources or improvement // plans. Up to five additional URLs can be specified. Content []*ChoiceContent `type:"list"` // Type of additional resource. Type *string `type:"string" enum:"AdditionalResourceType"` // contains filtered or unexported fields }
The choice level additional resources.
func (s AdditionalResources) 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 (s *AdditionalResources) SetContent(v []*ChoiceContent) *AdditionalResources
SetContent sets the Content field's value.
func (s *AdditionalResources) SetType(v string) *AdditionalResources
SetType sets the Type field's value.
func (s AdditionalResources) 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 Answer struct { // A list of selected choices to a question in your workload. ChoiceAnswers []*ChoiceAnswer `type:"list"` // List of choices available for a question. Choices []*Choice `type:"list"` // The helpful resource text to be displayed. HelpfulResourceDisplayText *string `min:"1" type:"string"` // The helpful resource URL for a question. HelpfulResourceUrl *string `min:"1" type:"string"` // The improvement plan URL for a question. // // This value is only available if the question has been answered. ImprovementPlanUrl *string `min:"1" type:"string"` // Defines whether this question is applicable to a lens review. IsApplicable *bool `type:"boolean"` // The notes associated with the workload. Notes *string `type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `min:"1" type:"string"` // The description of the question. QuestionDescription *string `min:"1" type:"string"` // The ID of the question. QuestionId *string `min:"1" type:"string"` // The title of the question. QuestionTitle *string `min:"1" type:"string"` // The reason why the question is not applicable to your workload. Reason *string `type:"string" enum:"AnswerReason"` // The risk for a given workload, lens review, pillar, or question. Risk *string `type:"string" enum:"Risk"` // List of selected choice IDs in a question answer. // // The values entered replace the previously selected choices. SelectedChoices []*string `type:"list"` // contains filtered or unexported fields }
An answer of the question.
func (s Answer) 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 (s *Answer) SetChoiceAnswers(v []*ChoiceAnswer) *Answer
SetChoiceAnswers sets the ChoiceAnswers field's value.
func (s *Answer) SetChoices(v []*Choice) *Answer
SetChoices sets the Choices field's value.
func (s *Answer) SetHelpfulResourceDisplayText(v string) *Answer
SetHelpfulResourceDisplayText sets the HelpfulResourceDisplayText field's value.
func (s *Answer) SetHelpfulResourceUrl(v string) *Answer
SetHelpfulResourceUrl sets the HelpfulResourceUrl field's value.
func (s *Answer) SetImprovementPlanUrl(v string) *Answer
SetImprovementPlanUrl sets the ImprovementPlanUrl field's value.
func (s *Answer) SetIsApplicable(v bool) *Answer
SetIsApplicable sets the IsApplicable field's value.
func (s *Answer) SetNotes(v string) *Answer
SetNotes sets the Notes field's value.
func (s *Answer) SetPillarId(v string) *Answer
SetPillarId sets the PillarId field's value.
func (s *Answer) SetQuestionDescription(v string) *Answer
SetQuestionDescription sets the QuestionDescription field's value.
func (s *Answer) SetQuestionId(v string) *Answer
SetQuestionId sets the QuestionId field's value.
func (s *Answer) SetQuestionTitle(v string) *Answer
SetQuestionTitle sets the QuestionTitle field's value.
func (s *Answer) SetReason(v string) *Answer
SetReason sets the Reason field's value.
func (s *Answer) SetRisk(v string) *Answer
SetRisk sets the Risk field's value.
func (s *Answer) SetSelectedChoices(v []*string) *Answer
SetSelectedChoices sets the SelectedChoices field's value.
func (s Answer) 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 AnswerSummary struct { // A list of selected choices to a question in your workload. ChoiceAnswerSummaries []*ChoiceAnswerSummary `type:"list"` // List of choices available for a question. Choices []*Choice `type:"list"` // Defines whether this question is applicable to a lens review. IsApplicable *bool `type:"boolean"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `min:"1" type:"string"` // The ID of the question. QuestionId *string `min:"1" type:"string"` // The title of the question. QuestionTitle *string `min:"1" type:"string"` // The reason why a choice is non-applicable to a question in your workload. Reason *string `type:"string" enum:"AnswerReason"` // The risk for a given workload, lens review, pillar, or question. Risk *string `type:"string" enum:"Risk"` // List of selected choice IDs in a question answer. // // The values entered replace the previously selected choices. SelectedChoices []*string `type:"list"` // contains filtered or unexported fields }
An answer summary of a lens review in a workload.
func (s AnswerSummary) 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 (s *AnswerSummary) SetChoiceAnswerSummaries(v []*ChoiceAnswerSummary) *AnswerSummary
SetChoiceAnswerSummaries sets the ChoiceAnswerSummaries field's value.
func (s *AnswerSummary) SetChoices(v []*Choice) *AnswerSummary
SetChoices sets the Choices field's value.
func (s *AnswerSummary) SetIsApplicable(v bool) *AnswerSummary
SetIsApplicable sets the IsApplicable field's value.
func (s *AnswerSummary) SetPillarId(v string) *AnswerSummary
SetPillarId sets the PillarId field's value.
func (s *AnswerSummary) SetQuestionId(v string) *AnswerSummary
SetQuestionId sets the QuestionId field's value.
func (s *AnswerSummary) SetQuestionTitle(v string) *AnswerSummary
SetQuestionTitle sets the QuestionTitle field's value.
func (s *AnswerSummary) SetReason(v string) *AnswerSummary
SetReason sets the Reason field's value.
func (s *AnswerSummary) SetRisk(v string) *AnswerSummary
SetRisk sets the Risk field's value.
func (s *AnswerSummary) SetSelectedChoices(v []*string) *AnswerSummary
SetSelectedChoices sets the SelectedChoices field's value.
func (s AnswerSummary) 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 AssociateLensesInput struct { // List of lens aliases to associate or disassociate with a workload. Up to // 10 lenses can be specified. // // Identify a lens using its LensSummary$LensAlias. // // LensAliases is a required field LensAliases []*string `min:"1" type:"list" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to associate lens reviews.
func (s AssociateLensesInput) 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 (s *AssociateLensesInput) SetLensAliases(v []*string) *AssociateLensesInput
SetLensAliases sets the LensAliases field's value.
func (s *AssociateLensesInput) SetWorkloadId(v string) *AssociateLensesInput
SetWorkloadId sets the WorkloadId field's value.
func (s AssociateLensesInput) 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 (s *AssociateLensesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateLensesOutput struct {
// contains filtered or unexported fields
}
func (s AssociateLensesOutput) 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 (s AssociateLensesOutput) 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 CheckDetail struct { // An Amazon Web Services account ID. AccountId *string `type:"string"` // The ID of a choice. ChoiceId *string `min:"1" type:"string"` // Trusted Advisor check description. Description *string `type:"string"` // Count of flagged resources associated to the check. FlaggedResources *int64 `min:"1" type:"integer"` // Trusted Advisor check ID. Id *string `type:"string"` // Well-Architected Lens ARN associated to the check. LensArn *string `type:"string"` // Trusted Advisor check name. Name *string `type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `min:"1" type:"string"` // Provider of the check related to the best practice. Provider *string `type:"string" enum:"CheckProvider"` // The ID of the question. QuestionId *string `min:"1" type:"string"` // Reason associated to the check. Reason *string `type:"string" enum:"CheckFailureReason"` // Status associated to the check. Status *string `type:"string" enum:"CheckStatus"` // The date and time recorded. UpdatedAt *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Account details for a Well-Architected best practice in relation to Trusted Advisor checks.
func (s CheckDetail) 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 (s *CheckDetail) SetAccountId(v string) *CheckDetail
SetAccountId sets the AccountId field's value.
func (s *CheckDetail) SetChoiceId(v string) *CheckDetail
SetChoiceId sets the ChoiceId field's value.
func (s *CheckDetail) SetDescription(v string) *CheckDetail
SetDescription sets the Description field's value.
func (s *CheckDetail) SetFlaggedResources(v int64) *CheckDetail
SetFlaggedResources sets the FlaggedResources field's value.
func (s *CheckDetail) SetId(v string) *CheckDetail
SetId sets the Id field's value.
func (s *CheckDetail) SetLensArn(v string) *CheckDetail
SetLensArn sets the LensArn field's value.
func (s *CheckDetail) SetName(v string) *CheckDetail
SetName sets the Name field's value.
func (s *CheckDetail) SetPillarId(v string) *CheckDetail
SetPillarId sets the PillarId field's value.
func (s *CheckDetail) SetProvider(v string) *CheckDetail
SetProvider sets the Provider field's value.
func (s *CheckDetail) SetQuestionId(v string) *CheckDetail
SetQuestionId sets the QuestionId field's value.
func (s *CheckDetail) SetReason(v string) *CheckDetail
SetReason sets the Reason field's value.
func (s *CheckDetail) SetStatus(v string) *CheckDetail
SetStatus sets the Status field's value.
func (s *CheckDetail) SetUpdatedAt(v time.Time) *CheckDetail
SetUpdatedAt sets the UpdatedAt field's value.
func (s CheckDetail) 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 struct { // Account summary associated to the check. AccountSummary map[string]*int64 `type:"map"` // The ID of a choice. ChoiceId *string `min:"1" type:"string"` // Trusted Advisor check description. Description *string `type:"string"` // Trusted Advisor check ID. Id *string `type:"string"` // Well-Architected Lens ARN associated to the check. LensArn *string `type:"string"` // Trusted Advisor check name. Name *string `type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `min:"1" type:"string"` // Provider of the check related to the best practice. Provider *string `type:"string" enum:"CheckProvider"` // The ID of the question. QuestionId *string `min:"1" type:"string"` // Status associated to the check. Status *string `type:"string" enum:"CheckStatus"` // The date and time recorded. UpdatedAt *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Trusted Advisor check summary.
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 (s *CheckSummary) SetAccountSummary(v map[string]*int64) *CheckSummary
SetAccountSummary sets the AccountSummary field's value.
func (s *CheckSummary) SetChoiceId(v string) *CheckSummary
SetChoiceId sets the ChoiceId field's value.
func (s *CheckSummary) SetDescription(v string) *CheckSummary
SetDescription sets the Description field's value.
func (s *CheckSummary) SetId(v string) *CheckSummary
SetId sets the Id field's value.
func (s *CheckSummary) SetLensArn(v string) *CheckSummary
SetLensArn sets the LensArn field's value.
func (s *CheckSummary) SetName(v string) *CheckSummary
SetName sets the Name field's value.
func (s *CheckSummary) SetPillarId(v string) *CheckSummary
SetPillarId sets the PillarId field's value.
func (s *CheckSummary) SetProvider(v string) *CheckSummary
SetProvider sets the Provider field's value.
func (s *CheckSummary) SetQuestionId(v string) *CheckSummary
SetQuestionId sets the QuestionId field's value.
func (s *CheckSummary) SetStatus(v string) *CheckSummary
SetStatus sets the Status field's value.
func (s *CheckSummary) SetUpdatedAt(v time.Time) *CheckSummary
SetUpdatedAt sets the UpdatedAt field's value.
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 Choice struct { // The additional resources for a choice. A choice can have up to two additional // resources: one of type HELPFUL_RESOURCE, one of type IMPROVEMENT_PLAN, or // both. AdditionalResources []*AdditionalResources `type:"list"` // The ID of a choice. ChoiceId *string `min:"1" type:"string"` // The description of a choice. Description *string `min:"1" type:"string"` // The choice level helpful resource. HelpfulResource *ChoiceContent `type:"structure"` // The choice level improvement plan. ImprovementPlan *ChoiceContent `type:"structure"` // The title of a choice. Title *string `min:"1" type:"string"` // contains filtered or unexported fields }
A choice available to answer question.
func (s Choice) 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 (s *Choice) SetAdditionalResources(v []*AdditionalResources) *Choice
SetAdditionalResources sets the AdditionalResources field's value.
func (s *Choice) SetChoiceId(v string) *Choice
SetChoiceId sets the ChoiceId field's value.
func (s *Choice) SetDescription(v string) *Choice
SetDescription sets the Description field's value.
func (s *Choice) SetHelpfulResource(v *ChoiceContent) *Choice
SetHelpfulResource sets the HelpfulResource field's value.
func (s *Choice) SetImprovementPlan(v *ChoiceContent) *Choice
SetImprovementPlan sets the ImprovementPlan field's value.
func (s *Choice) SetTitle(v string) *Choice
SetTitle sets the Title field's value.
func (s Choice) 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 ChoiceAnswer struct { // The ID of a choice. ChoiceId *string `min:"1" type:"string"` // The notes associated with a choice. Notes *string `type:"string"` // The reason why a choice is non-applicable to a question in your workload. Reason *string `type:"string" enum:"ChoiceReason"` // The status of a choice. Status *string `type:"string" enum:"ChoiceStatus"` // contains filtered or unexported fields }
A choice that has been answered on a question in your workload.
func (s ChoiceAnswer) 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 (s *ChoiceAnswer) SetChoiceId(v string) *ChoiceAnswer
SetChoiceId sets the ChoiceId field's value.
func (s *ChoiceAnswer) SetNotes(v string) *ChoiceAnswer
SetNotes sets the Notes field's value.
func (s *ChoiceAnswer) SetReason(v string) *ChoiceAnswer
SetReason sets the Reason field's value.
func (s *ChoiceAnswer) SetStatus(v string) *ChoiceAnswer
SetStatus sets the Status field's value.
func (s ChoiceAnswer) 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 ChoiceAnswerSummary struct { // The ID of a choice. ChoiceId *string `min:"1" type:"string"` // The reason why a choice is non-applicable to a question in your workload. Reason *string `type:"string" enum:"ChoiceReason"` // The status of a choice. Status *string `type:"string" enum:"ChoiceStatus"` // contains filtered or unexported fields }
A choice summary that has been answered on a question in your workload.
func (s ChoiceAnswerSummary) 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 (s *ChoiceAnswerSummary) SetChoiceId(v string) *ChoiceAnswerSummary
SetChoiceId sets the ChoiceId field's value.
func (s *ChoiceAnswerSummary) SetReason(v string) *ChoiceAnswerSummary
SetReason sets the Reason field's value.
func (s *ChoiceAnswerSummary) SetStatus(v string) *ChoiceAnswerSummary
SetStatus sets the Status field's value.
func (s ChoiceAnswerSummary) 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 ChoiceContent struct { // The display text for the choice content. DisplayText *string `min:"1" type:"string"` // The URL for the choice content. Url *string `min:"1" type:"string"` // contains filtered or unexported fields }
The choice content.
func (s ChoiceContent) 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 (s *ChoiceContent) SetDisplayText(v string) *ChoiceContent
SetDisplayText sets the DisplayText field's value.
func (s *ChoiceContent) SetUrl(v string) *ChoiceContent
SetUrl sets the Url field's value.
func (s ChoiceContent) 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 ChoiceImprovementPlan struct { // The ID of a choice. ChoiceId *string `min:"1" type:"string"` // The display text for the improvement plan. DisplayText *string `min:"1" type:"string"` // The improvement plan URL for a question. // // This value is only available if the question has been answered. ImprovementPlanUrl *string `min:"1" type:"string"` // contains filtered or unexported fields }
The choice level improvement plan.
func (s ChoiceImprovementPlan) 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 (s *ChoiceImprovementPlan) SetChoiceId(v string) *ChoiceImprovementPlan
SetChoiceId sets the ChoiceId field's value.
func (s *ChoiceImprovementPlan) SetDisplayText(v string) *ChoiceImprovementPlan
SetDisplayText sets the DisplayText field's value.
func (s *ChoiceImprovementPlan) SetImprovementPlanUrl(v string) *ChoiceImprovementPlan
SetImprovementPlanUrl sets the ImprovementPlanUrl field's value.
func (s ChoiceImprovementPlan) 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 ChoiceUpdate struct { // The notes associated with a choice. Notes *string `type:"string"` // The reason why a choice is non-applicable to a question in your workload. Reason *string `type:"string" enum:"ChoiceReason"` // The status of a choice. // // Status is a required field Status *string `type:"string" required:"true" enum:"ChoiceStatus"` // contains filtered or unexported fields }
A list of choices to be updated.
func (s ChoiceUpdate) 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 (s *ChoiceUpdate) SetNotes(v string) *ChoiceUpdate
SetNotes sets the Notes field's value.
func (s *ChoiceUpdate) SetReason(v string) *ChoiceUpdate
SetReason sets the Reason field's value.
func (s *ChoiceUpdate) SetStatus(v string) *ChoiceUpdate
SetStatus sets the Status field's value.
func (s ChoiceUpdate) 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 (s *ChoiceUpdate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"Message" type:"string"` // Identifier of the resource affected. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Type of the resource affected. // // ResourceType is a required field ResourceType *string `type:"string" required:"true"` // contains filtered or unexported fields }
The resource already exists.
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
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 (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 CreateLensShareInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `type:"string" idempotencyToken:"true"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the workload is shared. // // SharedWith is a required field SharedWith *string `min:"12" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateLensShareInput) 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 (s *CreateLensShareInput) SetClientRequestToken(v string) *CreateLensShareInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateLensShareInput) SetLensAlias(v string) *CreateLensShareInput
SetLensAlias sets the LensAlias field's value.
func (s *CreateLensShareInput) SetSharedWith(v string) *CreateLensShareInput
SetSharedWith sets the SharedWith field's value.
func (s CreateLensShareInput) 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 (s *CreateLensShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLensShareOutput struct { // The ID associated with the workload share. ShareId *string `type:"string"` // contains filtered or unexported fields }
func (s CreateLensShareOutput) 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 (s *CreateLensShareOutput) SetShareId(v string) *CreateLensShareOutput
SetShareId sets the ShareId field's value.
func (s CreateLensShareOutput) 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 CreateLensVersionInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `type:"string" idempotencyToken:"true"` // Set to true if this new major lens version. IsMajorVersion *bool `type:"boolean"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The version of the lens being created. // // LensVersion is a required field LensVersion *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateLensVersionInput) 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 (s *CreateLensVersionInput) SetClientRequestToken(v string) *CreateLensVersionInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateLensVersionInput) SetIsMajorVersion(v bool) *CreateLensVersionInput
SetIsMajorVersion sets the IsMajorVersion field's value.
func (s *CreateLensVersionInput) SetLensAlias(v string) *CreateLensVersionInput
SetLensAlias sets the LensAlias field's value.
func (s *CreateLensVersionInput) SetLensVersion(v string) *CreateLensVersionInput
SetLensVersion sets the LensVersion field's value.
func (s CreateLensVersionInput) 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 (s *CreateLensVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLensVersionOutput struct { // The ARN for the lens. LensArn *string `type:"string"` // The version of the lens. LensVersion *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s CreateLensVersionOutput) 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 (s *CreateLensVersionOutput) SetLensArn(v string) *CreateLensVersionOutput
SetLensArn sets the LensArn field's value.
func (s *CreateLensVersionOutput) SetLensVersion(v string) *CreateLensVersionOutput
SetLensVersion sets the LensVersion field's value.
func (s CreateLensVersionOutput) 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 CreateMilestoneInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `type:"string" idempotencyToken:"true"` // The name of the milestone in a workload. // // Milestone names must be unique within a workload. // // MilestoneName is a required field MilestoneName *string `min:"3" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for milestone creation.
func (s CreateMilestoneInput) 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 (s *CreateMilestoneInput) SetClientRequestToken(v string) *CreateMilestoneInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateMilestoneInput) SetMilestoneName(v string) *CreateMilestoneInput
SetMilestoneName sets the MilestoneName field's value.
func (s *CreateMilestoneInput) SetWorkloadId(v string) *CreateMilestoneInput
SetWorkloadId sets the WorkloadId field's value.
func (s CreateMilestoneInput) 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 (s *CreateMilestoneInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMilestoneOutput struct { // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a create milestone call.
func (s CreateMilestoneOutput) 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 (s *CreateMilestoneOutput) SetMilestoneNumber(v int64) *CreateMilestoneOutput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *CreateMilestoneOutput) SetWorkloadId(v string) *CreateMilestoneOutput
SetWorkloadId sets the WorkloadId field's value.
func (s CreateMilestoneOutput) 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 CreateWorkloadInput struct { // The list of Amazon Web Services account IDs associated with the workload. AccountIds []*string `type:"list"` // List of AppRegistry application ARNs associated to the workload. Applications []*string `type:"list"` // The URL of the architectural design for the workload. ArchitecturalDesign *string `type:"string"` // The list of Amazon Web Services Regions associated with the workload, for // example, us-east-2, or ca-central-1. AwsRegions []*string `type:"list"` // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `type:"string" idempotencyToken:"true"` // The description for the workload. // // Description is a required field Description *string `min:"3" type:"string" required:"true"` // Well-Architected discovery configuration settings associated to the workload. DiscoveryConfig *WorkloadDiscoveryConfig `type:"structure"` // The environment for the workload. // // Environment is a required field Environment *string `type:"string" required:"true" enum:"WorkloadEnvironment"` // The industry for the workload. Industry *string `type:"string"` // The industry type for the workload. // // If specified, must be one of the following: // // * Agriculture // // * Automobile // // * Defense // // * Design and Engineering // // * Digital Advertising // // * Education // // * Environmental Protection // // * Financial Services // // * Gaming // // * General Public Services // // * Healthcare // // * Hospitality // // * InfoTech // // * Justice and Public Safety // // * Life Sciences // // * Manufacturing // // * Media & Entertainment // // * Mining & Resources // // * Oil & Gas // // * Power & Utilities // // * Professional Services // // * Real Estate & Construction // // * Retail & Wholesale // // * Social Protection // // * Telecommunications // // * Travel, Transportation & Logistics // // * Other IndustryType *string `type:"string"` // The list of lenses associated with the workload. Each lens is identified // by its LensSummary$LensAlias. // // Lenses is a required field Lenses []*string `type:"list" required:"true"` // The list of non-Amazon Web Services Regions associated with the workload. NonAwsRegions []*string `type:"list"` // The notes associated with the workload. Notes *string `type:"string"` // The priorities of the pillars, which are used to order items in the improvement // plan. Each pillar is represented by its PillarReviewSummary$PillarId. PillarPriorities []*string `type:"list"` // The review owner of the workload. The name, email address, or identifier // for the primary group or individual that owns the workload review process. ReviewOwner *string `min:"3" type:"string"` // The tags to be associated with the workload. Tags map[string]*string `min:"1" type:"map"` // The name of the workload. // // The name must be unique within an account within an Amazon Web Services Region. // Spaces and capitalization are ignored when checking for uniqueness. // // WorkloadName is a required field WorkloadName *string `min:"3" type:"string" required:"true"` // contains filtered or unexported fields }
Input for workload creation.
func (s CreateWorkloadInput) 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 (s *CreateWorkloadInput) SetAccountIds(v []*string) *CreateWorkloadInput
SetAccountIds sets the AccountIds field's value.
func (s *CreateWorkloadInput) SetApplications(v []*string) *CreateWorkloadInput
SetApplications sets the Applications field's value.
func (s *CreateWorkloadInput) SetArchitecturalDesign(v string) *CreateWorkloadInput
SetArchitecturalDesign sets the ArchitecturalDesign field's value.
func (s *CreateWorkloadInput) SetAwsRegions(v []*string) *CreateWorkloadInput
SetAwsRegions sets the AwsRegions field's value.
func (s *CreateWorkloadInput) SetClientRequestToken(v string) *CreateWorkloadInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateWorkloadInput) SetDescription(v string) *CreateWorkloadInput
SetDescription sets the Description field's value.
func (s *CreateWorkloadInput) SetDiscoveryConfig(v *WorkloadDiscoveryConfig) *CreateWorkloadInput
SetDiscoveryConfig sets the DiscoveryConfig field's value.
func (s *CreateWorkloadInput) SetEnvironment(v string) *CreateWorkloadInput
SetEnvironment sets the Environment field's value.
func (s *CreateWorkloadInput) SetIndustry(v string) *CreateWorkloadInput
SetIndustry sets the Industry field's value.
func (s *CreateWorkloadInput) SetIndustryType(v string) *CreateWorkloadInput
SetIndustryType sets the IndustryType field's value.
func (s *CreateWorkloadInput) SetLenses(v []*string) *CreateWorkloadInput
SetLenses sets the Lenses field's value.
func (s *CreateWorkloadInput) SetNonAwsRegions(v []*string) *CreateWorkloadInput
SetNonAwsRegions sets the NonAwsRegions field's value.
func (s *CreateWorkloadInput) SetNotes(v string) *CreateWorkloadInput
SetNotes sets the Notes field's value.
func (s *CreateWorkloadInput) SetPillarPriorities(v []*string) *CreateWorkloadInput
SetPillarPriorities sets the PillarPriorities field's value.
func (s *CreateWorkloadInput) SetReviewOwner(v string) *CreateWorkloadInput
SetReviewOwner sets the ReviewOwner field's value.
func (s *CreateWorkloadInput) SetTags(v map[string]*string) *CreateWorkloadInput
SetTags sets the Tags field's value.
func (s *CreateWorkloadInput) SetWorkloadName(v string) *CreateWorkloadInput
SetWorkloadName sets the WorkloadName field's value.
func (s CreateWorkloadInput) 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 (s *CreateWorkloadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateWorkloadOutput struct { // The ARN for the workload. WorkloadArn *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a create workload call.
func (s CreateWorkloadOutput) 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 (s *CreateWorkloadOutput) SetWorkloadArn(v string) *CreateWorkloadOutput
SetWorkloadArn sets the WorkloadArn field's value.
func (s *CreateWorkloadOutput) SetWorkloadId(v string) *CreateWorkloadOutput
SetWorkloadId sets the WorkloadId field's value.
func (s CreateWorkloadOutput) 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 CreateWorkloadShareInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `type:"string" idempotencyToken:"true"` // Permission granted on a workload share. // // PermissionType is a required field PermissionType *string `type:"string" required:"true" enum:"PermissionType"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the workload is shared. // // SharedWith is a required field SharedWith *string `min:"12" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for Create Workload Share
func (s CreateWorkloadShareInput) 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 (s *CreateWorkloadShareInput) SetClientRequestToken(v string) *CreateWorkloadShareInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *CreateWorkloadShareInput) SetPermissionType(v string) *CreateWorkloadShareInput
SetPermissionType sets the PermissionType field's value.
func (s *CreateWorkloadShareInput) SetSharedWith(v string) *CreateWorkloadShareInput
SetSharedWith sets the SharedWith field's value.
func (s *CreateWorkloadShareInput) SetWorkloadId(v string) *CreateWorkloadShareInput
SetWorkloadId sets the WorkloadId field's value.
func (s CreateWorkloadShareInput) 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 (s *CreateWorkloadShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateWorkloadShareOutput struct { // The ID associated with the workload share. ShareId *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Input for Create Workload Share
func (s CreateWorkloadShareOutput) 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 (s *CreateWorkloadShareOutput) SetShareId(v string) *CreateWorkloadShareOutput
SetShareId sets the ShareId field's value.
func (s *CreateWorkloadShareOutput) SetWorkloadId(v string) *CreateWorkloadShareOutput
SetWorkloadId sets the WorkloadId field's value.
func (s CreateWorkloadShareOutput) 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 DeleteLensInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `location:"querystring" locationName:"ClientRequestToken" type:"string" idempotencyToken:"true"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The status of the lens to be deleted. // // LensStatus is a required field LensStatus *string `location:"querystring" locationName:"LensStatus" type:"string" required:"true" enum:"LensStatusType"` // contains filtered or unexported fields }
func (s DeleteLensInput) 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 (s *DeleteLensInput) SetClientRequestToken(v string) *DeleteLensInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *DeleteLensInput) SetLensAlias(v string) *DeleteLensInput
SetLensAlias sets the LensAlias field's value.
func (s *DeleteLensInput) SetLensStatus(v string) *DeleteLensInput
SetLensStatus sets the LensStatus field's value.
func (s DeleteLensInput) 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 (s *DeleteLensInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLensOutput struct {
// contains filtered or unexported fields
}
func (s DeleteLensOutput) 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 (s DeleteLensOutput) 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 DeleteLensShareInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `location:"querystring" locationName:"ClientRequestToken" type:"string" idempotencyToken:"true"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The ID associated with the workload share. // // ShareId is a required field ShareId *string `location:"uri" locationName:"ShareId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteLensShareInput) 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 (s *DeleteLensShareInput) SetClientRequestToken(v string) *DeleteLensShareInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *DeleteLensShareInput) SetLensAlias(v string) *DeleteLensShareInput
SetLensAlias sets the LensAlias field's value.
func (s *DeleteLensShareInput) SetShareId(v string) *DeleteLensShareInput
SetShareId sets the ShareId field's value.
func (s DeleteLensShareInput) 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 (s *DeleteLensShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLensShareOutput struct {
// contains filtered or unexported fields
}
func (s DeleteLensShareOutput) 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 (s DeleteLensShareOutput) 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 DeleteWorkloadInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `location:"querystring" locationName:"ClientRequestToken" type:"string" idempotencyToken:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for workload deletion.
func (s DeleteWorkloadInput) 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 (s *DeleteWorkloadInput) SetClientRequestToken(v string) *DeleteWorkloadInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *DeleteWorkloadInput) SetWorkloadId(v string) *DeleteWorkloadInput
SetWorkloadId sets the WorkloadId field's value.
func (s DeleteWorkloadInput) 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 (s *DeleteWorkloadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteWorkloadOutput struct {
// contains filtered or unexported fields
}
func (s DeleteWorkloadOutput) 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 (s DeleteWorkloadOutput) 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 DeleteWorkloadShareInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `location:"querystring" locationName:"ClientRequestToken" type:"string" idempotencyToken:"true"` // The ID associated with the workload share. // // ShareId is a required field ShareId *string `location:"uri" locationName:"ShareId" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for Delete Workload Share
func (s DeleteWorkloadShareInput) 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 (s *DeleteWorkloadShareInput) SetClientRequestToken(v string) *DeleteWorkloadShareInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *DeleteWorkloadShareInput) SetShareId(v string) *DeleteWorkloadShareInput
SetShareId sets the ShareId field's value.
func (s *DeleteWorkloadShareInput) SetWorkloadId(v string) *DeleteWorkloadShareInput
SetWorkloadId sets the WorkloadId field's value.
func (s DeleteWorkloadShareInput) 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 (s *DeleteWorkloadShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteWorkloadShareOutput struct {
// contains filtered or unexported fields
}
func (s DeleteWorkloadShareOutput) 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 (s DeleteWorkloadShareOutput) 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 DisassociateLensesInput struct { // List of lens aliases to associate or disassociate with a workload. Up to // 10 lenses can be specified. // // Identify a lens using its LensSummary$LensAlias. // // LensAliases is a required field LensAliases []*string `min:"1" type:"list" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to disassociate lens reviews.
func (s DisassociateLensesInput) 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 (s *DisassociateLensesInput) SetLensAliases(v []*string) *DisassociateLensesInput
SetLensAliases sets the LensAliases field's value.
func (s *DisassociateLensesInput) SetWorkloadId(v string) *DisassociateLensesInput
SetWorkloadId sets the WorkloadId field's value.
func (s DisassociateLensesInput) 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 (s *DisassociateLensesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateLensesOutput struct {
// contains filtered or unexported fields
}
func (s DisassociateLensesOutput) 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 (s DisassociateLensesOutput) 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 ExportLensInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The lens version to be exported. LensVersion *string `location:"querystring" locationName:"LensVersion" min:"1" type:"string"` // contains filtered or unexported fields }
func (s ExportLensInput) 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 (s *ExportLensInput) SetLensAlias(v string) *ExportLensInput
SetLensAlias sets the LensAlias field's value.
func (s *ExportLensInput) SetLensVersion(v string) *ExportLensInput
SetLensVersion sets the LensVersion field's value.
func (s ExportLensInput) 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 (s *ExportLensInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExportLensOutput struct { // The JSON for the lens. LensJSON *string `min:"2" type:"string"` // contains filtered or unexported fields }
func (s ExportLensOutput) 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 (s *ExportLensOutput) SetLensJSON(v string) *ExportLensOutput
SetLensJSON sets the LensJSON field's value.
func (s ExportLensOutput) 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 GetAnswerInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `location:"querystring" locationName:"MilestoneNumber" min:"1" type:"integer"` // The ID of the question. // // QuestionId is a required field QuestionId *string `location:"uri" locationName:"QuestionId" min:"1" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to get answer.
func (s GetAnswerInput) 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 (s *GetAnswerInput) SetLensAlias(v string) *GetAnswerInput
SetLensAlias sets the LensAlias field's value.
func (s *GetAnswerInput) SetMilestoneNumber(v int64) *GetAnswerInput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *GetAnswerInput) SetQuestionId(v string) *GetAnswerInput
SetQuestionId sets the QuestionId field's value.
func (s *GetAnswerInput) SetWorkloadId(v string) *GetAnswerInput
SetWorkloadId sets the WorkloadId field's value.
func (s GetAnswerInput) 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 (s *GetAnswerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetAnswerOutput struct { // An answer of the question. Answer *Answer `type:"structure"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a get answer call.
func (s GetAnswerOutput) 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 (s *GetAnswerOutput) SetAnswer(v *Answer) *GetAnswerOutput
SetAnswer sets the Answer field's value.
func (s *GetAnswerOutput) SetLensAlias(v string) *GetAnswerOutput
SetLensAlias sets the LensAlias field's value.
func (s *GetAnswerOutput) SetLensArn(v string) *GetAnswerOutput
SetLensArn sets the LensArn field's value.
func (s *GetAnswerOutput) SetMilestoneNumber(v int64) *GetAnswerOutput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *GetAnswerOutput) SetWorkloadId(v string) *GetAnswerOutput
SetWorkloadId sets the WorkloadId field's value.
func (s GetAnswerOutput) 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 GetLensInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The lens version to be retrieved. LensVersion *string `location:"querystring" locationName:"LensVersion" min:"1" type:"string"` // contains filtered or unexported fields }
func (s GetLensInput) 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 (s *GetLensInput) SetLensAlias(v string) *GetLensInput
SetLensAlias sets the LensAlias field's value.
func (s *GetLensInput) SetLensVersion(v string) *GetLensInput
SetLensVersion sets the LensVersion field's value.
func (s GetLensInput) 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 (s *GetLensInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLensOutput struct { // A lens return object. Lens *Lens `type:"structure"` // contains filtered or unexported fields }
func (s GetLensOutput) 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 (s *GetLensOutput) SetLens(v *Lens) *GetLensOutput
SetLens sets the Lens field's value.
func (s GetLensOutput) 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 GetLensReviewInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `location:"querystring" locationName:"MilestoneNumber" min:"1" type:"integer"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to get lens review.
func (s GetLensReviewInput) 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 (s *GetLensReviewInput) SetLensAlias(v string) *GetLensReviewInput
SetLensAlias sets the LensAlias field's value.
func (s *GetLensReviewInput) SetMilestoneNumber(v int64) *GetLensReviewInput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *GetLensReviewInput) SetWorkloadId(v string) *GetLensReviewInput
SetWorkloadId sets the WorkloadId field's value.
func (s GetLensReviewInput) 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 (s *GetLensReviewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLensReviewOutput struct { // A lens review of a question. LensReview *LensReview `type:"structure"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a get lens review call.
func (s GetLensReviewOutput) 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 (s *GetLensReviewOutput) SetLensReview(v *LensReview) *GetLensReviewOutput
SetLensReview sets the LensReview field's value.
func (s *GetLensReviewOutput) SetMilestoneNumber(v int64) *GetLensReviewOutput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *GetLensReviewOutput) SetWorkloadId(v string) *GetLensReviewOutput
SetWorkloadId sets the WorkloadId field's value.
func (s GetLensReviewOutput) 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 GetLensReviewReportInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `location:"querystring" locationName:"MilestoneNumber" min:"1" type:"integer"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to get lens review report.
func (s GetLensReviewReportInput) 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 (s *GetLensReviewReportInput) SetLensAlias(v string) *GetLensReviewReportInput
SetLensAlias sets the LensAlias field's value.
func (s *GetLensReviewReportInput) SetMilestoneNumber(v int64) *GetLensReviewReportInput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *GetLensReviewReportInput) SetWorkloadId(v string) *GetLensReviewReportInput
SetWorkloadId sets the WorkloadId field's value.
func (s GetLensReviewReportInput) 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 (s *GetLensReviewReportInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLensReviewReportOutput struct { // A report of a lens review. LensReviewReport *LensReviewReport `type:"structure"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a get lens review report call.
func (s GetLensReviewReportOutput) 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 (s *GetLensReviewReportOutput) SetLensReviewReport(v *LensReviewReport) *GetLensReviewReportOutput
SetLensReviewReport sets the LensReviewReport field's value.
func (s *GetLensReviewReportOutput) SetMilestoneNumber(v int64) *GetLensReviewReportOutput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *GetLensReviewReportOutput) SetWorkloadId(v string) *GetLensReviewReportOutput
SetWorkloadId sets the WorkloadId field's value.
func (s GetLensReviewReportOutput) 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 GetLensVersionDifferenceInput struct { // The base version of the lens. BaseLensVersion *string `location:"querystring" locationName:"BaseLensVersion" min:"1" type:"string"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The lens version to target a difference for. TargetLensVersion *string `location:"querystring" locationName:"TargetLensVersion" min:"1" type:"string"` // contains filtered or unexported fields }
func (s GetLensVersionDifferenceInput) 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 (s *GetLensVersionDifferenceInput) SetBaseLensVersion(v string) *GetLensVersionDifferenceInput
SetBaseLensVersion sets the BaseLensVersion field's value.
func (s *GetLensVersionDifferenceInput) SetLensAlias(v string) *GetLensVersionDifferenceInput
SetLensAlias sets the LensAlias field's value.
func (s *GetLensVersionDifferenceInput) SetTargetLensVersion(v string) *GetLensVersionDifferenceInput
SetTargetLensVersion sets the TargetLensVersion field's value.
func (s GetLensVersionDifferenceInput) 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 (s *GetLensVersionDifferenceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLensVersionDifferenceOutput struct { // The base version of the lens. BaseLensVersion *string `min:"1" type:"string"` // The latest version of the lens. LatestLensVersion *string `min:"1" type:"string"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The target lens version for the lens. TargetLensVersion *string `min:"1" type:"string"` // The differences between the base and latest versions of the lens. VersionDifferences *VersionDifferences `type:"structure"` // contains filtered or unexported fields }
func (s GetLensVersionDifferenceOutput) 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 (s *GetLensVersionDifferenceOutput) SetBaseLensVersion(v string) *GetLensVersionDifferenceOutput
SetBaseLensVersion sets the BaseLensVersion field's value.
func (s *GetLensVersionDifferenceOutput) SetLatestLensVersion(v string) *GetLensVersionDifferenceOutput
SetLatestLensVersion sets the LatestLensVersion field's value.
func (s *GetLensVersionDifferenceOutput) SetLensAlias(v string) *GetLensVersionDifferenceOutput
SetLensAlias sets the LensAlias field's value.
func (s *GetLensVersionDifferenceOutput) SetLensArn(v string) *GetLensVersionDifferenceOutput
SetLensArn sets the LensArn field's value.
func (s *GetLensVersionDifferenceOutput) SetTargetLensVersion(v string) *GetLensVersionDifferenceOutput
SetTargetLensVersion sets the TargetLensVersion field's value.
func (s *GetLensVersionDifferenceOutput) SetVersionDifferences(v *VersionDifferences) *GetLensVersionDifferenceOutput
SetVersionDifferences sets the VersionDifferences field's value.
func (s GetLensVersionDifferenceOutput) 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 GetMilestoneInput struct { // The milestone number. // // A workload can have a maximum of 100 milestones. // // MilestoneNumber is a required field MilestoneNumber *int64 `location:"uri" locationName:"MilestoneNumber" min:"1" type:"integer" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to get a milestone.
func (s GetMilestoneInput) 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 (s *GetMilestoneInput) SetMilestoneNumber(v int64) *GetMilestoneInput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *GetMilestoneInput) SetWorkloadId(v string) *GetMilestoneInput
SetWorkloadId sets the WorkloadId field's value.
func (s GetMilestoneInput) 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 (s *GetMilestoneInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMilestoneOutput struct { // A milestone return object. Milestone *Milestone `type:"structure"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a get milestone call.
func (s GetMilestoneOutput) 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 (s *GetMilestoneOutput) SetMilestone(v *Milestone) *GetMilestoneOutput
SetMilestone sets the Milestone field's value.
func (s *GetMilestoneOutput) SetWorkloadId(v string) *GetMilestoneOutput
SetWorkloadId sets the WorkloadId field's value.
func (s GetMilestoneOutput) 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 GetWorkloadInput struct { // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to get a workload.
func (s GetWorkloadInput) 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 (s *GetWorkloadInput) SetWorkloadId(v string) *GetWorkloadInput
SetWorkloadId sets the WorkloadId field's value.
func (s GetWorkloadInput) 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 (s *GetWorkloadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetWorkloadOutput struct { // A workload return object. Workload *Workload `type:"structure"` // contains filtered or unexported fields }
Output of a get workload call.
func (s GetWorkloadOutput) 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 (s *GetWorkloadOutput) SetWorkload(v *Workload) *GetWorkloadOutput
SetWorkload sets the Workload field's value.
func (s GetWorkloadOutput) 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 ImportLensInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `type:"string" idempotencyToken:"true"` // The JSON representation of a lens. // // JSONString is a required field JSONString *string `min:"2" type:"string" required:"true"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // Tags to associate to a lens. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (s ImportLensInput) 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 (s *ImportLensInput) SetClientRequestToken(v string) *ImportLensInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *ImportLensInput) SetJSONString(v string) *ImportLensInput
SetJSONString sets the JSONString field's value.
func (s *ImportLensInput) SetLensAlias(v string) *ImportLensInput
SetLensAlias sets the LensAlias field's value.
func (s *ImportLensInput) SetTags(v map[string]*string) *ImportLensInput
SetTags sets the Tags field's value.
func (s ImportLensInput) 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 (s *ImportLensInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ImportLensOutput struct { // The ARN for the lens. LensArn *string `type:"string"` // The status of the imported lens. Status *string `type:"string" enum:"ImportLensStatus"` // contains filtered or unexported fields }
func (s ImportLensOutput) 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 (s *ImportLensOutput) SetLensArn(v string) *ImportLensOutput
SetLensArn sets the LensArn field's value.
func (s *ImportLensOutput) SetStatus(v string) *ImportLensOutput
SetStatus sets the Status field's value.
func (s ImportLensOutput) 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 ImprovementSummary struct { // The improvement plan URL for a question. // // This value is only available if the question has been answered. ImprovementPlanUrl *string `min:"1" type:"string"` // The improvement plan details. ImprovementPlans []*ChoiceImprovementPlan `type:"list"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `min:"1" type:"string"` // The ID of the question. QuestionId *string `min:"1" type:"string"` // The title of the question. QuestionTitle *string `min:"1" type:"string"` // The risk for a given workload, lens review, pillar, or question. Risk *string `type:"string" enum:"Risk"` // contains filtered or unexported fields }
An improvement summary of a lens review in a workload.
func (s ImprovementSummary) 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 (s *ImprovementSummary) SetImprovementPlanUrl(v string) *ImprovementSummary
SetImprovementPlanUrl sets the ImprovementPlanUrl field's value.
func (s *ImprovementSummary) SetImprovementPlans(v []*ChoiceImprovementPlan) *ImprovementSummary
SetImprovementPlans sets the ImprovementPlans field's value.
func (s *ImprovementSummary) SetPillarId(v string) *ImprovementSummary
SetPillarId sets the PillarId field's value.
func (s *ImprovementSummary) SetQuestionId(v string) *ImprovementSummary
SetQuestionId sets the QuestionId field's value.
func (s *ImprovementSummary) SetQuestionTitle(v string) *ImprovementSummary
SetQuestionTitle sets the QuestionTitle field's value.
func (s *ImprovementSummary) SetRisk(v string) *ImprovementSummary
SetRisk sets the Risk field's value.
func (s ImprovementSummary) 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 struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
There is a problem with the Well-Architected Tool API service.
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
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 (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 Lens struct { // The description of the lens. Description *string `min:"1" type:"string"` // The ARN of a lens. LensArn *string `type:"string"` // The version of a lens. LensVersion *string `min:"1" type:"string"` // The full name of the lens. Name *string `min:"1" type:"string"` // The Amazon Web Services account ID that owns the lens. Owner *string `type:"string"` // The ID assigned to the share invitation. ShareInvitationId *string `type:"string"` // The tags assigned to the lens. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
A lens return object.
func (s Lens) 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 (s *Lens) SetDescription(v string) *Lens
SetDescription sets the Description field's value.
func (s *Lens) SetLensArn(v string) *Lens
SetLensArn sets the LensArn field's value.
func (s *Lens) SetLensVersion(v string) *Lens
SetLensVersion sets the LensVersion field's value.
func (s *Lens) SetName(v string) *Lens
SetName sets the Name field's value.
func (s *Lens) SetOwner(v string) *Lens
SetOwner sets the Owner field's value.
func (s *Lens) SetShareInvitationId(v string) *Lens
SetShareInvitationId sets the ShareInvitationId field's value.
func (s *Lens) SetTags(v map[string]*string) *Lens
SetTags sets the Tags field's value.
func (s Lens) 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 LensReview struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The full name of the lens. LensName *string `min:"1" type:"string"` // The status of the lens. LensStatus *string `type:"string" enum:"LensStatus"` // The version of the lens. LensVersion *string `min:"1" type:"string"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The notes associated with the workload. Notes *string `type:"string"` // List of pillar review summaries of lens review in a workload. PillarReviewSummaries []*PillarReviewSummary `type:"list"` // A map from risk names to the count of how questions have that rating. RiskCounts map[string]*int64 `type:"map"` // The date and time recorded. UpdatedAt *time.Time `type:"timestamp"` // contains filtered or unexported fields }
A lens review of a question.
func (s LensReview) 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 (s *LensReview) SetLensAlias(v string) *LensReview
SetLensAlias sets the LensAlias field's value.
func (s *LensReview) SetLensArn(v string) *LensReview
SetLensArn sets the LensArn field's value.
func (s *LensReview) SetLensName(v string) *LensReview
SetLensName sets the LensName field's value.
func (s *LensReview) SetLensStatus(v string) *LensReview
SetLensStatus sets the LensStatus field's value.
func (s *LensReview) SetLensVersion(v string) *LensReview
SetLensVersion sets the LensVersion field's value.
func (s *LensReview) SetNextToken(v string) *LensReview
SetNextToken sets the NextToken field's value.
func (s *LensReview) SetNotes(v string) *LensReview
SetNotes sets the Notes field's value.
func (s *LensReview) SetPillarReviewSummaries(v []*PillarReviewSummary) *LensReview
SetPillarReviewSummaries sets the PillarReviewSummaries field's value.
func (s *LensReview) SetRiskCounts(v map[string]*int64) *LensReview
SetRiskCounts sets the RiskCounts field's value.
func (s *LensReview) SetUpdatedAt(v time.Time) *LensReview
SetUpdatedAt sets the UpdatedAt field's value.
func (s LensReview) 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 LensReviewReport struct { // The Base64-encoded string representation of a lens review report. // // This data can be used to create a PDF file. Base64String *string `type:"string"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // contains filtered or unexported fields }
A report of a lens review.
func (s LensReviewReport) 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 (s *LensReviewReport) SetBase64String(v string) *LensReviewReport
SetBase64String sets the Base64String field's value.
func (s *LensReviewReport) SetLensAlias(v string) *LensReviewReport
SetLensAlias sets the LensAlias field's value.
func (s *LensReviewReport) SetLensArn(v string) *LensReviewReport
SetLensArn sets the LensArn field's value.
func (s LensReviewReport) 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 LensReviewSummary struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The full name of the lens. LensName *string `min:"1" type:"string"` // The status of the lens. LensStatus *string `type:"string" enum:"LensStatus"` // The version of the lens. LensVersion *string `min:"1" type:"string"` // A map from risk names to the count of how questions have that rating. RiskCounts map[string]*int64 `type:"map"` // The date and time recorded. UpdatedAt *time.Time `type:"timestamp"` // contains filtered or unexported fields }
A lens review summary of a workload.
func (s LensReviewSummary) 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 (s *LensReviewSummary) SetLensAlias(v string) *LensReviewSummary
SetLensAlias sets the LensAlias field's value.
func (s *LensReviewSummary) SetLensArn(v string) *LensReviewSummary
SetLensArn sets the LensArn field's value.
func (s *LensReviewSummary) SetLensName(v string) *LensReviewSummary
SetLensName sets the LensName field's value.
func (s *LensReviewSummary) SetLensStatus(v string) *LensReviewSummary
SetLensStatus sets the LensStatus field's value.
func (s *LensReviewSummary) SetLensVersion(v string) *LensReviewSummary
SetLensVersion sets the LensVersion field's value.
func (s *LensReviewSummary) SetRiskCounts(v map[string]*int64) *LensReviewSummary
SetRiskCounts sets the RiskCounts field's value.
func (s *LensReviewSummary) SetUpdatedAt(v time.Time) *LensReviewSummary
SetUpdatedAt sets the UpdatedAt field's value.
func (s LensReviewSummary) 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 LensShareSummary struct { // The ID associated with the workload share. ShareId *string `type:"string"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the workload is shared. SharedWith *string `min:"12" type:"string"` // The status of a workload share. Status *string `type:"string" enum:"ShareStatus"` // Optional message to compliment the Status field. StatusMessage *string `min:"1" type:"string"` // contains filtered or unexported fields }
A lens share summary return object.
func (s LensShareSummary) 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 (s *LensShareSummary) SetShareId(v string) *LensShareSummary
SetShareId sets the ShareId field's value.
func (s *LensShareSummary) SetSharedWith(v string) *LensShareSummary
SetSharedWith sets the SharedWith field's value.
func (s *LensShareSummary) SetStatus(v string) *LensShareSummary
SetStatus sets the Status field's value.
func (s *LensShareSummary) SetStatusMessage(v string) *LensShareSummary
SetStatusMessage sets the StatusMessage field's value.
func (s LensShareSummary) 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 LensSummary struct { // The date and time recorded. CreatedAt *time.Time `type:"timestamp"` // The description of the lens. Description *string `min:"1" type:"string"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN of the lens. LensArn *string `type:"string"` // The full name of the lens. LensName *string `min:"1" type:"string"` // The status of the lens. LensStatus *string `type:"string" enum:"LensStatus"` // The type of the lens. LensType *string `type:"string" enum:"LensType"` // The version of the lens. LensVersion *string `min:"1" type:"string"` // An Amazon Web Services account ID. Owner *string `type:"string"` // The date and time recorded. UpdatedAt *time.Time `type:"timestamp"` // contains filtered or unexported fields }
A lens summary of a lens.
func (s LensSummary) 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 (s *LensSummary) SetCreatedAt(v time.Time) *LensSummary
SetCreatedAt sets the CreatedAt field's value.
func (s *LensSummary) SetDescription(v string) *LensSummary
SetDescription sets the Description field's value.
func (s *LensSummary) SetLensAlias(v string) *LensSummary
SetLensAlias sets the LensAlias field's value.
func (s *LensSummary) SetLensArn(v string) *LensSummary
SetLensArn sets the LensArn field's value.
func (s *LensSummary) SetLensName(v string) *LensSummary
SetLensName sets the LensName field's value.
func (s *LensSummary) SetLensStatus(v string) *LensSummary
SetLensStatus sets the LensStatus field's value.
func (s *LensSummary) SetLensType(v string) *LensSummary
SetLensType sets the LensType field's value.
func (s *LensSummary) SetLensVersion(v string) *LensSummary
SetLensVersion sets the LensVersion field's value.
func (s *LensSummary) SetOwner(v string) *LensSummary
SetOwner sets the Owner field's value.
func (s *LensSummary) SetUpdatedAt(v time.Time) *LensSummary
SetUpdatedAt sets the UpdatedAt field's value.
func (s LensSummary) 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 LensUpgradeSummary struct { // The current version of the lens. CurrentLensVersion *string `min:"1" type:"string"` // The latest version of the lens. LatestLensVersion *string `min:"1" type:"string"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // The name of the workload. // // The name must be unique within an account within an Amazon Web Services Region. // Spaces and capitalization are ignored when checking for uniqueness. WorkloadName *string `min:"3" type:"string"` // contains filtered or unexported fields }
Lens upgrade summary return object.
func (s LensUpgradeSummary) 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 (s *LensUpgradeSummary) SetCurrentLensVersion(v string) *LensUpgradeSummary
SetCurrentLensVersion sets the CurrentLensVersion field's value.
func (s *LensUpgradeSummary) SetLatestLensVersion(v string) *LensUpgradeSummary
SetLatestLensVersion sets the LatestLensVersion field's value.
func (s *LensUpgradeSummary) SetLensAlias(v string) *LensUpgradeSummary
SetLensAlias sets the LensAlias field's value.
func (s *LensUpgradeSummary) SetLensArn(v string) *LensUpgradeSummary
SetLensArn sets the LensArn field's value.
func (s *LensUpgradeSummary) SetWorkloadId(v string) *LensUpgradeSummary
SetWorkloadId sets the WorkloadId field's value.
func (s *LensUpgradeSummary) SetWorkloadName(v string) *LensUpgradeSummary
SetWorkloadName sets the WorkloadName field's value.
func (s LensUpgradeSummary) 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 ListAnswersInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The maximum number of results to return for this request. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `location:"querystring" locationName:"MilestoneNumber" min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `location:"querystring" locationName:"PillarId" min:"1" type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to list answers.
func (s ListAnswersInput) 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 (s *ListAnswersInput) SetLensAlias(v string) *ListAnswersInput
SetLensAlias sets the LensAlias field's value.
func (s *ListAnswersInput) SetMaxResults(v int64) *ListAnswersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAnswersInput) SetMilestoneNumber(v int64) *ListAnswersInput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *ListAnswersInput) SetNextToken(v string) *ListAnswersInput
SetNextToken sets the NextToken field's value.
func (s *ListAnswersInput) SetPillarId(v string) *ListAnswersInput
SetPillarId sets the PillarId field's value.
func (s *ListAnswersInput) SetWorkloadId(v string) *ListAnswersInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListAnswersInput) 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 (s *ListAnswersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAnswersOutput struct { // List of answer summaries of lens review in a workload. AnswerSummaries []*AnswerSummary `type:"list"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a list answers call.
func (s ListAnswersOutput) 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 (s *ListAnswersOutput) SetAnswerSummaries(v []*AnswerSummary) *ListAnswersOutput
SetAnswerSummaries sets the AnswerSummaries field's value.
func (s *ListAnswersOutput) SetLensAlias(v string) *ListAnswersOutput
SetLensAlias sets the LensAlias field's value.
func (s *ListAnswersOutput) SetLensArn(v string) *ListAnswersOutput
SetLensArn sets the LensArn field's value.
func (s *ListAnswersOutput) SetMilestoneNumber(v int64) *ListAnswersOutput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *ListAnswersOutput) SetNextToken(v string) *ListAnswersOutput
SetNextToken sets the NextToken field's value.
func (s *ListAnswersOutput) SetWorkloadId(v string) *ListAnswersOutput
SetWorkloadId sets the WorkloadId field's value.
func (s ListAnswersOutput) 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 ListCheckDetailsInput struct { // The ID of a choice. // // ChoiceId is a required field ChoiceId *string `min:"1" type:"string" required:"true"` // Well-Architected Lens ARN. // // LensArn is a required field LensArn *string `type:"string" required:"true"` // The maximum number of results to return for this request. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. // // PillarId is a required field PillarId *string `min:"1" type:"string" required:"true"` // The ID of the question. // // QuestionId is a required field QuestionId *string `min:"1" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListCheckDetailsInput) 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 (s *ListCheckDetailsInput) SetChoiceId(v string) *ListCheckDetailsInput
SetChoiceId sets the ChoiceId field's value.
func (s *ListCheckDetailsInput) SetLensArn(v string) *ListCheckDetailsInput
SetLensArn sets the LensArn field's value.
func (s *ListCheckDetailsInput) SetMaxResults(v int64) *ListCheckDetailsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListCheckDetailsInput) SetNextToken(v string) *ListCheckDetailsInput
SetNextToken sets the NextToken field's value.
func (s *ListCheckDetailsInput) SetPillarId(v string) *ListCheckDetailsInput
SetPillarId sets the PillarId field's value.
func (s *ListCheckDetailsInput) SetQuestionId(v string) *ListCheckDetailsInput
SetQuestionId sets the QuestionId field's value.
func (s *ListCheckDetailsInput) SetWorkloadId(v string) *ListCheckDetailsInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListCheckDetailsInput) 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 (s *ListCheckDetailsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCheckDetailsOutput struct { // The details about the Trusted Advisor checks related to the Well-Architected // best practice. CheckDetails []*CheckDetail `type:"list"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListCheckDetailsOutput) 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 (s *ListCheckDetailsOutput) SetCheckDetails(v []*CheckDetail) *ListCheckDetailsOutput
SetCheckDetails sets the CheckDetails field's value.
func (s *ListCheckDetailsOutput) SetNextToken(v string) *ListCheckDetailsOutput
SetNextToken sets the NextToken field's value.
func (s ListCheckDetailsOutput) 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 ListCheckSummariesInput struct { // The ID of a choice. // // ChoiceId is a required field ChoiceId *string `min:"1" type:"string" required:"true"` // Well-Architected Lens ARN. // // LensArn is a required field LensArn *string `type:"string" required:"true"` // The maximum number of results to return for this request. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. // // PillarId is a required field PillarId *string `min:"1" type:"string" required:"true"` // The ID of the question. // // QuestionId is a required field QuestionId *string `min:"1" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListCheckSummariesInput) 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 (s *ListCheckSummariesInput) SetChoiceId(v string) *ListCheckSummariesInput
SetChoiceId sets the ChoiceId field's value.
func (s *ListCheckSummariesInput) SetLensArn(v string) *ListCheckSummariesInput
SetLensArn sets the LensArn field's value.
func (s *ListCheckSummariesInput) SetMaxResults(v int64) *ListCheckSummariesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListCheckSummariesInput) SetNextToken(v string) *ListCheckSummariesInput
SetNextToken sets the NextToken field's value.
func (s *ListCheckSummariesInput) SetPillarId(v string) *ListCheckSummariesInput
SetPillarId sets the PillarId field's value.
func (s *ListCheckSummariesInput) SetQuestionId(v string) *ListCheckSummariesInput
SetQuestionId sets the QuestionId field's value.
func (s *ListCheckSummariesInput) SetWorkloadId(v string) *ListCheckSummariesInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListCheckSummariesInput) 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 (s *ListCheckSummariesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCheckSummariesOutput struct { // List of Trusted Advisor summaries related to the Well-Architected best practice. CheckSummaries []*CheckSummary `type:"list"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListCheckSummariesOutput) 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 (s *ListCheckSummariesOutput) SetCheckSummaries(v []*CheckSummary) *ListCheckSummariesOutput
SetCheckSummaries sets the CheckSummaries field's value.
func (s *ListCheckSummariesOutput) SetNextToken(v string) *ListCheckSummariesOutput
SetNextToken sets the NextToken field's value.
func (s ListCheckSummariesOutput) 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 ListLensReviewImprovementsInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The maximum number of results to return for this request. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `location:"querystring" locationName:"MilestoneNumber" min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `location:"querystring" locationName:"PillarId" min:"1" type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to list lens review improvements.
func (s ListLensReviewImprovementsInput) 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 (s *ListLensReviewImprovementsInput) SetLensAlias(v string) *ListLensReviewImprovementsInput
SetLensAlias sets the LensAlias field's value.
func (s *ListLensReviewImprovementsInput) SetMaxResults(v int64) *ListLensReviewImprovementsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLensReviewImprovementsInput) SetMilestoneNumber(v int64) *ListLensReviewImprovementsInput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *ListLensReviewImprovementsInput) SetNextToken(v string) *ListLensReviewImprovementsInput
SetNextToken sets the NextToken field's value.
func (s *ListLensReviewImprovementsInput) SetPillarId(v string) *ListLensReviewImprovementsInput
SetPillarId sets the PillarId field's value.
func (s *ListLensReviewImprovementsInput) SetWorkloadId(v string) *ListLensReviewImprovementsInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListLensReviewImprovementsInput) 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 (s *ListLensReviewImprovementsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLensReviewImprovementsOutput struct { // List of improvement summaries of lens review in a workload. ImprovementSummaries []*ImprovementSummary `type:"list"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a list lens review improvements call.
func (s ListLensReviewImprovementsOutput) 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 (s *ListLensReviewImprovementsOutput) SetImprovementSummaries(v []*ImprovementSummary) *ListLensReviewImprovementsOutput
SetImprovementSummaries sets the ImprovementSummaries field's value.
func (s *ListLensReviewImprovementsOutput) SetLensAlias(v string) *ListLensReviewImprovementsOutput
SetLensAlias sets the LensAlias field's value.
func (s *ListLensReviewImprovementsOutput) SetLensArn(v string) *ListLensReviewImprovementsOutput
SetLensArn sets the LensArn field's value.
func (s *ListLensReviewImprovementsOutput) SetMilestoneNumber(v int64) *ListLensReviewImprovementsOutput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *ListLensReviewImprovementsOutput) SetNextToken(v string) *ListLensReviewImprovementsOutput
SetNextToken sets the NextToken field's value.
func (s *ListLensReviewImprovementsOutput) SetWorkloadId(v string) *ListLensReviewImprovementsOutput
SetWorkloadId sets the WorkloadId field's value.
func (s ListLensReviewImprovementsOutput) 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 ListLensReviewsInput struct { // The maximum number of results to return for this request. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `location:"querystring" locationName:"MilestoneNumber" min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to list lens reviews.
func (s ListLensReviewsInput) 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 (s *ListLensReviewsInput) SetMaxResults(v int64) *ListLensReviewsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLensReviewsInput) SetMilestoneNumber(v int64) *ListLensReviewsInput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *ListLensReviewsInput) SetNextToken(v string) *ListLensReviewsInput
SetNextToken sets the NextToken field's value.
func (s *ListLensReviewsInput) SetWorkloadId(v string) *ListLensReviewsInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListLensReviewsInput) 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 (s *ListLensReviewsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLensReviewsOutput struct { // List of lens summaries of lens reviews of a workload. LensReviewSummaries []*LensReviewSummary `type:"list"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a list lens reviews call.
func (s ListLensReviewsOutput) 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 (s *ListLensReviewsOutput) SetLensReviewSummaries(v []*LensReviewSummary) *ListLensReviewsOutput
SetLensReviewSummaries sets the LensReviewSummaries field's value.
func (s *ListLensReviewsOutput) SetMilestoneNumber(v int64) *ListLensReviewsOutput
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *ListLensReviewsOutput) SetNextToken(v string) *ListLensReviewsOutput
SetNextToken sets the NextToken field's value.
func (s *ListLensReviewsOutput) SetWorkloadId(v string) *ListLensReviewsOutput
SetWorkloadId sets the WorkloadId field's value.
func (s ListLensReviewsOutput) 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 ListLensSharesInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The maximum number of results to return for this request. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the lens is shared. SharedWithPrefix *string `location:"querystring" locationName:"SharedWithPrefix" type:"string"` // The status of a workload share. Status *string `location:"querystring" locationName:"Status" type:"string" enum:"ShareStatus"` // contains filtered or unexported fields }
func (s ListLensSharesInput) 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 (s *ListLensSharesInput) SetLensAlias(v string) *ListLensSharesInput
SetLensAlias sets the LensAlias field's value.
func (s *ListLensSharesInput) SetMaxResults(v int64) *ListLensSharesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLensSharesInput) SetNextToken(v string) *ListLensSharesInput
SetNextToken sets the NextToken field's value.
func (s *ListLensSharesInput) SetSharedWithPrefix(v string) *ListLensSharesInput
SetSharedWithPrefix sets the SharedWithPrefix field's value.
func (s *ListLensSharesInput) SetStatus(v string) *ListLensSharesInput
SetStatus sets the Status field's value.
func (s ListLensSharesInput) 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 (s *ListLensSharesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLensSharesOutput struct { // A list of lens share summaries. LensShareSummaries []*LensShareSummary `type:"list"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListLensSharesOutput) 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 (s *ListLensSharesOutput) SetLensShareSummaries(v []*LensShareSummary) *ListLensSharesOutput
SetLensShareSummaries sets the LensShareSummaries field's value.
func (s *ListLensSharesOutput) SetNextToken(v string) *ListLensSharesOutput
SetNextToken sets the NextToken field's value.
func (s ListLensSharesOutput) 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 ListLensesInput struct { // The full name of the lens. LensName *string `location:"querystring" locationName:"LensName" min:"1" type:"string"` // The status of lenses to be returned. LensStatus *string `location:"querystring" locationName:"LensStatus" type:"string" enum:"LensStatusType"` // The type of lenses to be returned. LensType *string `location:"querystring" locationName:"LensType" type:"string" enum:"LensType"` // The maximum number of results to return for this request. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // contains filtered or unexported fields }
Input to list lenses.
func (s ListLensesInput) 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 (s *ListLensesInput) SetLensName(v string) *ListLensesInput
SetLensName sets the LensName field's value.
func (s *ListLensesInput) SetLensStatus(v string) *ListLensesInput
SetLensStatus sets the LensStatus field's value.
func (s *ListLensesInput) SetLensType(v string) *ListLensesInput
SetLensType sets the LensType field's value.
func (s *ListLensesInput) SetMaxResults(v int64) *ListLensesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLensesInput) SetNextToken(v string) *ListLensesInput
SetNextToken sets the NextToken field's value.
func (s ListLensesInput) 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 (s *ListLensesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLensesOutput struct { // List of lens summaries of available lenses. LensSummaries []*LensSummary `type:"list"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
Output of a list lenses call.
func (s ListLensesOutput) 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 (s *ListLensesOutput) SetLensSummaries(v []*LensSummary) *ListLensesOutput
SetLensSummaries sets the LensSummaries field's value.
func (s *ListLensesOutput) SetNextToken(v string) *ListLensesOutput
SetNextToken sets the NextToken field's value.
func (s ListLensesOutput) 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 ListMilestonesInput struct { // The maximum number of results to return for this request. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to list all milestones for a workload.
func (s ListMilestonesInput) 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 (s *ListMilestonesInput) SetMaxResults(v int64) *ListMilestonesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMilestonesInput) SetNextToken(v string) *ListMilestonesInput
SetNextToken sets the NextToken field's value.
func (s *ListMilestonesInput) SetWorkloadId(v string) *ListMilestonesInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListMilestonesInput) 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 (s *ListMilestonesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListMilestonesOutput struct { // A list of milestone summaries. MilestoneSummaries []*MilestoneSummary `type:"list"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a list milestones call.
func (s ListMilestonesOutput) 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 (s *ListMilestonesOutput) SetMilestoneSummaries(v []*MilestoneSummary) *ListMilestonesOutput
SetMilestoneSummaries sets the MilestoneSummaries field's value.
func (s *ListMilestonesOutput) SetNextToken(v string) *ListMilestonesOutput
SetNextToken sets the NextToken field's value.
func (s *ListMilestonesOutput) SetWorkloadId(v string) *ListMilestonesOutput
SetWorkloadId sets the WorkloadId field's value.
func (s ListMilestonesOutput) 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 ListNotificationsInput struct { // The maximum number of results to return for this request. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
func (s ListNotificationsInput) 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 (s *ListNotificationsInput) SetMaxResults(v int64) *ListNotificationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListNotificationsInput) SetNextToken(v string) *ListNotificationsInput
SetNextToken sets the NextToken field's value.
func (s *ListNotificationsInput) SetWorkloadId(v string) *ListNotificationsInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListNotificationsInput) 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 (s *ListNotificationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListNotificationsOutput struct { // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // List of lens notification summaries in a workload. NotificationSummaries []*NotificationSummary `type:"list"` // contains filtered or unexported fields }
func (s ListNotificationsOutput) 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 (s *ListNotificationsOutput) SetNextToken(v string) *ListNotificationsOutput
SetNextToken sets the NextToken field's value.
func (s *ListNotificationsOutput) SetNotificationSummaries(v []*NotificationSummary) *ListNotificationsOutput
SetNotificationSummaries sets the NotificationSummaries field's value.
func (s ListNotificationsOutput) 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 ListShareInvitationsInput struct { // An optional string added to the beginning of each lens name returned in the // results. LensNamePrefix *string `location:"querystring" locationName:"LensNamePrefix" type:"string"` // The maximum number of results to return for this request. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The type of share invitations to be returned. ShareResourceType *string `location:"querystring" locationName:"ShareResourceType" type:"string" enum:"ShareResourceType"` // An optional string added to the beginning of each workload name returned // in the results. WorkloadNamePrefix *string `location:"querystring" locationName:"WorkloadNamePrefix" type:"string"` // contains filtered or unexported fields }
Input for List Share Invitations
func (s ListShareInvitationsInput) 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 (s *ListShareInvitationsInput) SetLensNamePrefix(v string) *ListShareInvitationsInput
SetLensNamePrefix sets the LensNamePrefix field's value.
func (s *ListShareInvitationsInput) SetMaxResults(v int64) *ListShareInvitationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListShareInvitationsInput) SetNextToken(v string) *ListShareInvitationsInput
SetNextToken sets the NextToken field's value.
func (s *ListShareInvitationsInput) SetShareResourceType(v string) *ListShareInvitationsInput
SetShareResourceType sets the ShareResourceType field's value.
func (s *ListShareInvitationsInput) SetWorkloadNamePrefix(v string) *ListShareInvitationsInput
SetWorkloadNamePrefix sets the WorkloadNamePrefix field's value.
func (s ListShareInvitationsInput) 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 (s *ListShareInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListShareInvitationsOutput struct { // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // List of share invitation summaries in a workload. ShareInvitationSummaries []*ShareInvitationSummary `type:"list"` // contains filtered or unexported fields }
Input for List Share Invitations
func (s ListShareInvitationsOutput) 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 (s *ListShareInvitationsOutput) SetNextToken(v string) *ListShareInvitationsOutput
SetNextToken sets the NextToken field's value.
func (s *ListShareInvitationsOutput) SetShareInvitationSummaries(v []*ShareInvitationSummary) *ListShareInvitationsOutput
SetShareInvitationSummaries sets the ShareInvitationSummaries field's value.
func (s ListShareInvitationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // The ARN for the workload. // // WorkloadArn is a required field WorkloadArn *string `location:"uri" locationName:"WorkloadArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetWorkloadArn(v string) *ListTagsForResourceInput
SetWorkloadArn sets the WorkloadArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // The tags for the resource. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListWorkloadSharesInput struct { // The maximum number of results to return for this request. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the workload is shared. SharedWithPrefix *string `location:"querystring" locationName:"SharedWithPrefix" type:"string"` // The status of a workload share. Status *string `location:"querystring" locationName:"Status" type:"string" enum:"ShareStatus"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for List Workload Share
func (s ListWorkloadSharesInput) 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 (s *ListWorkloadSharesInput) SetMaxResults(v int64) *ListWorkloadSharesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListWorkloadSharesInput) SetNextToken(v string) *ListWorkloadSharesInput
SetNextToken sets the NextToken field's value.
func (s *ListWorkloadSharesInput) SetSharedWithPrefix(v string) *ListWorkloadSharesInput
SetSharedWithPrefix sets the SharedWithPrefix field's value.
func (s *ListWorkloadSharesInput) SetStatus(v string) *ListWorkloadSharesInput
SetStatus sets the Status field's value.
func (s *ListWorkloadSharesInput) SetWorkloadId(v string) *ListWorkloadSharesInput
SetWorkloadId sets the WorkloadId field's value.
func (s ListWorkloadSharesInput) 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 (s *ListWorkloadSharesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListWorkloadSharesOutput struct { // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // A list of workload share summaries. WorkloadShareSummaries []*WorkloadShareSummary `type:"list"` // contains filtered or unexported fields }
Input for List Workload Share
func (s ListWorkloadSharesOutput) 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 (s *ListWorkloadSharesOutput) SetNextToken(v string) *ListWorkloadSharesOutput
SetNextToken sets the NextToken field's value.
func (s *ListWorkloadSharesOutput) SetWorkloadId(v string) *ListWorkloadSharesOutput
SetWorkloadId sets the WorkloadId field's value.
func (s *ListWorkloadSharesOutput) SetWorkloadShareSummaries(v []*WorkloadShareSummary) *ListWorkloadSharesOutput
SetWorkloadShareSummaries sets the WorkloadShareSummaries field's value.
func (s ListWorkloadSharesOutput) 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 ListWorkloadsInput struct { // The maximum number of results to return for this request. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // An optional string added to the beginning of each workload name returned // in the results. WorkloadNamePrefix *string `type:"string"` // contains filtered or unexported fields }
Input to list all workloads.
func (s ListWorkloadsInput) 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 (s *ListWorkloadsInput) SetMaxResults(v int64) *ListWorkloadsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListWorkloadsInput) SetNextToken(v string) *ListWorkloadsInput
SetNextToken sets the NextToken field's value.
func (s *ListWorkloadsInput) SetWorkloadNamePrefix(v string) *ListWorkloadsInput
SetWorkloadNamePrefix sets the WorkloadNamePrefix field's value.
func (s ListWorkloadsInput) 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 (s *ListWorkloadsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListWorkloadsOutput struct { // The token to use to retrieve the next set of results. NextToken *string `type:"string"` // A list of workload summaries. WorkloadSummaries []*WorkloadSummary `type:"list"` // contains filtered or unexported fields }
Output of a list workloads call.
func (s ListWorkloadsOutput) 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 (s *ListWorkloadsOutput) SetNextToken(v string) *ListWorkloadsOutput
SetNextToken sets the NextToken field's value.
func (s *ListWorkloadsOutput) SetWorkloadSummaries(v []*WorkloadSummary) *ListWorkloadsOutput
SetWorkloadSummaries sets the WorkloadSummaries field's value.
func (s ListWorkloadsOutput) 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 Milestone struct { // The name of the milestone in a workload. // // Milestone names must be unique within a workload. MilestoneName *string `min:"3" type:"string"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The date and time recorded. RecordedAt *time.Time `type:"timestamp"` // A workload return object. Workload *Workload `type:"structure"` // contains filtered or unexported fields }
A milestone return object.
func (s Milestone) 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 (s *Milestone) SetMilestoneName(v string) *Milestone
SetMilestoneName sets the MilestoneName field's value.
func (s *Milestone) SetMilestoneNumber(v int64) *Milestone
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *Milestone) SetRecordedAt(v time.Time) *Milestone
SetRecordedAt sets the RecordedAt field's value.
func (s *Milestone) SetWorkload(v *Workload) *Milestone
SetWorkload sets the Workload field's value.
func (s Milestone) 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 MilestoneSummary struct { // The name of the milestone in a workload. // // Milestone names must be unique within a workload. MilestoneName *string `min:"3" type:"string"` // The milestone number. // // A workload can have a maximum of 100 milestones. MilestoneNumber *int64 `min:"1" type:"integer"` // The date and time recorded. RecordedAt *time.Time `type:"timestamp"` // A workload summary return object. WorkloadSummary *WorkloadSummary `type:"structure"` // contains filtered or unexported fields }
A milestone summary return object.
func (s MilestoneSummary) 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 (s *MilestoneSummary) SetMilestoneName(v string) *MilestoneSummary
SetMilestoneName sets the MilestoneName field's value.
func (s *MilestoneSummary) SetMilestoneNumber(v int64) *MilestoneSummary
SetMilestoneNumber sets the MilestoneNumber field's value.
func (s *MilestoneSummary) SetRecordedAt(v time.Time) *MilestoneSummary
SetRecordedAt sets the RecordedAt field's value.
func (s *MilestoneSummary) SetWorkloadSummary(v *WorkloadSummary) *MilestoneSummary
SetWorkloadSummary sets the WorkloadSummary field's value.
func (s MilestoneSummary) 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 NotificationSummary struct { // Summary of lens upgrade. LensUpgradeSummary *LensUpgradeSummary `type:"structure"` // The type of notification. Type *string `type:"string" enum:"NotificationType"` // contains filtered or unexported fields }
A notification summary return object.
func (s NotificationSummary) 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 (s *NotificationSummary) SetLensUpgradeSummary(v *LensUpgradeSummary) *NotificationSummary
SetLensUpgradeSummary sets the LensUpgradeSummary field's value.
func (s *NotificationSummary) SetType(v string) *NotificationSummary
SetType sets the Type field's value.
func (s NotificationSummary) 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 PillarDifference struct { // Indicates the type of change to the pillar. DifferenceStatus *string `type:"string" enum:"DifferenceStatus"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `min:"1" type:"string"` // The name of the pillar. PillarName *string `min:"1" type:"string"` // List of question differences. QuestionDifferences []*QuestionDifference `type:"list"` // contains filtered or unexported fields }
A pillar difference return object.
func (s PillarDifference) 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 (s *PillarDifference) SetDifferenceStatus(v string) *PillarDifference
SetDifferenceStatus sets the DifferenceStatus field's value.
func (s *PillarDifference) SetPillarId(v string) *PillarDifference
SetPillarId sets the PillarId field's value.
func (s *PillarDifference) SetPillarName(v string) *PillarDifference
SetPillarName sets the PillarName field's value.
func (s *PillarDifference) SetQuestionDifferences(v []*QuestionDifference) *PillarDifference
SetQuestionDifferences sets the QuestionDifferences field's value.
func (s PillarDifference) 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 PillarReviewSummary struct { // The notes associated with the workload. Notes *string `type:"string"` // The ID used to identify a pillar, for example, security. // // A pillar is identified by its PillarReviewSummary$PillarId. PillarId *string `min:"1" type:"string"` // The name of the pillar. PillarName *string `min:"1" type:"string"` // A map from risk names to the count of how questions have that rating. RiskCounts map[string]*int64 `type:"map"` // contains filtered or unexported fields }
A pillar review summary of a lens review.
func (s PillarReviewSummary) 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 (s *PillarReviewSummary) SetNotes(v string) *PillarReviewSummary
SetNotes sets the Notes field's value.
func (s *PillarReviewSummary) SetPillarId(v string) *PillarReviewSummary
SetPillarId sets the PillarId field's value.
func (s *PillarReviewSummary) SetPillarName(v string) *PillarReviewSummary
SetPillarName sets the PillarName field's value.
func (s *PillarReviewSummary) SetRiskCounts(v map[string]*int64) *PillarReviewSummary
SetRiskCounts sets the RiskCounts field's value.
func (s PillarReviewSummary) 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 QuestionDifference struct { // Indicates the type of change to the question. DifferenceStatus *string `type:"string" enum:"DifferenceStatus"` // The ID of the question. QuestionId *string `min:"1" type:"string"` // The title of the question. QuestionTitle *string `min:"1" type:"string"` // contains filtered or unexported fields }
A question difference return object.
func (s QuestionDifference) 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 (s *QuestionDifference) SetDifferenceStatus(v string) *QuestionDifference
SetDifferenceStatus sets the DifferenceStatus field's value.
func (s *QuestionDifference) SetQuestionId(v string) *QuestionDifference
SetQuestionId sets the QuestionId field's value.
func (s *QuestionDifference) SetQuestionTitle(v string) *QuestionDifference
SetQuestionTitle sets the QuestionTitle field's value.
func (s QuestionDifference) 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 struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"Message" type:"string"` // Identifier of the resource affected. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Type of the resource affected. // // ResourceType is a required field ResourceType *string `type:"string" required:"true"` // contains filtered or unexported fields }
The requested resource was not found.
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
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 (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"Message" type:"string"` // Service Quotas requirement to identify originating quota. // // QuotaCode is a required field QuotaCode *string `type:"string" required:"true"` // Identifier of the resource affected. ResourceId *string `type:"string"` // Type of the resource affected. ResourceType *string `type:"string"` // Service Quotas requirement to identify originating service. // // ServiceCode is a required field ServiceCode *string `type:"string" required:"true"` // contains filtered or unexported fields }
The user has reached their resource quota.
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) 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 (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) 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 ShareInvitation struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The ID assigned to the share invitation. ShareInvitationId *string `type:"string"` // The resource type of the share invitation. ShareResourceType *string `type:"string" enum:"ShareResourceType"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
The share invitation.
func (s ShareInvitation) 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 (s *ShareInvitation) SetLensAlias(v string) *ShareInvitation
SetLensAlias sets the LensAlias field's value.
func (s *ShareInvitation) SetLensArn(v string) *ShareInvitation
SetLensArn sets the LensArn field's value.
func (s *ShareInvitation) SetShareInvitationId(v string) *ShareInvitation
SetShareInvitationId sets the ShareInvitationId field's value.
func (s *ShareInvitation) SetShareResourceType(v string) *ShareInvitation
SetShareResourceType sets the ShareResourceType field's value.
func (s *ShareInvitation) SetWorkloadId(v string) *ShareInvitation
SetWorkloadId sets the WorkloadId field's value.
func (s ShareInvitation) 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 ShareInvitationSummary struct { // The ARN for the lens. LensArn *string `type:"string"` // The full name of the lens. LensName *string `min:"1" type:"string"` // Permission granted on a workload share. PermissionType *string `type:"string" enum:"PermissionType"` // The ID assigned to the share invitation. ShareInvitationId *string `type:"string"` // The resource type of the share invitation. ShareResourceType *string `type:"string" enum:"ShareResourceType"` // An Amazon Web Services account ID. SharedBy *string `type:"string"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the workload is shared. SharedWith *string `min:"12" type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // The name of the workload. // // The name must be unique within an account within an Amazon Web Services Region. // Spaces and capitalization are ignored when checking for uniqueness. WorkloadName *string `min:"3" type:"string"` // contains filtered or unexported fields }
A share invitation summary return object.
func (s ShareInvitationSummary) 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 (s *ShareInvitationSummary) SetLensArn(v string) *ShareInvitationSummary
SetLensArn sets the LensArn field's value.
func (s *ShareInvitationSummary) SetLensName(v string) *ShareInvitationSummary
SetLensName sets the LensName field's value.
func (s *ShareInvitationSummary) SetPermissionType(v string) *ShareInvitationSummary
SetPermissionType sets the PermissionType field's value.
func (s *ShareInvitationSummary) SetShareInvitationId(v string) *ShareInvitationSummary
SetShareInvitationId sets the ShareInvitationId field's value.
func (s *ShareInvitationSummary) SetShareResourceType(v string) *ShareInvitationSummary
SetShareResourceType sets the ShareResourceType field's value.
func (s *ShareInvitationSummary) SetSharedBy(v string) *ShareInvitationSummary
SetSharedBy sets the SharedBy field's value.
func (s *ShareInvitationSummary) SetSharedWith(v string) *ShareInvitationSummary
SetSharedWith sets the SharedWith field's value.
func (s *ShareInvitationSummary) SetWorkloadId(v string) *ShareInvitationSummary
SetWorkloadId sets the WorkloadId field's value.
func (s *ShareInvitationSummary) SetWorkloadName(v string) *ShareInvitationSummary
SetWorkloadName sets the WorkloadName field's value.
func (s ShareInvitationSummary) 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 TagResourceInput struct { // The tags for the resource. // // Tags is a required field Tags map[string]*string `min:"1" type:"map" required:"true"` // The ARN for the workload. // // WorkloadArn is a required field WorkloadArn *string `location:"uri" locationName:"WorkloadArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (s *TagResourceInput) SetWorkloadArn(v string) *TagResourceInput
SetWorkloadArn sets the WorkloadArn field's value.
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // Description of the error. Message_ *string `locationName:"Message" type:"string"` // Service Quotas requirement to identify originating quota. QuotaCode *string `type:"string"` // Service Quotas requirement to identify originating service. ServiceCode *string `type:"string"` // contains filtered or unexported fields }
Request was denied due to request throttling.
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
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 (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 UntagResourceInput struct { // A list of tag keys. Existing tags of the resource whose keys are members // of this list are removed from the resource. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // The ARN for the workload. // // WorkloadArn is a required field WorkloadArn *string `location:"uri" locationName:"WorkloadArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s *UntagResourceInput) SetWorkloadArn(v string) *UntagResourceInput
SetWorkloadArn sets the WorkloadArn field's value.
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateAnswerInput struct { // A list of choices to update on a question in your workload. The String key // corresponds to the choice ID to be updated. ChoiceUpdates map[string]*ChoiceUpdate `type:"map"` // Defines whether this question is applicable to a lens review. IsApplicable *bool `type:"boolean"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The notes associated with the workload. Notes *string `type:"string"` // The ID of the question. // // QuestionId is a required field QuestionId *string `location:"uri" locationName:"QuestionId" min:"1" type:"string" required:"true"` // The reason why a question is not applicable to your workload. Reason *string `type:"string" enum:"AnswerReason"` // List of selected choice IDs in a question answer. // // The values entered replace the previously selected choices. SelectedChoices []*string `type:"list"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input to update answer.
func (s UpdateAnswerInput) 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 (s *UpdateAnswerInput) SetChoiceUpdates(v map[string]*ChoiceUpdate) *UpdateAnswerInput
SetChoiceUpdates sets the ChoiceUpdates field's value.
func (s *UpdateAnswerInput) SetIsApplicable(v bool) *UpdateAnswerInput
SetIsApplicable sets the IsApplicable field's value.
func (s *UpdateAnswerInput) SetLensAlias(v string) *UpdateAnswerInput
SetLensAlias sets the LensAlias field's value.
func (s *UpdateAnswerInput) SetNotes(v string) *UpdateAnswerInput
SetNotes sets the Notes field's value.
func (s *UpdateAnswerInput) SetQuestionId(v string) *UpdateAnswerInput
SetQuestionId sets the QuestionId field's value.
func (s *UpdateAnswerInput) SetReason(v string) *UpdateAnswerInput
SetReason sets the Reason field's value.
func (s *UpdateAnswerInput) SetSelectedChoices(v []*string) *UpdateAnswerInput
SetSelectedChoices sets the SelectedChoices field's value.
func (s *UpdateAnswerInput) SetWorkloadId(v string) *UpdateAnswerInput
SetWorkloadId sets the WorkloadId field's value.
func (s UpdateAnswerInput) 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 (s *UpdateAnswerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAnswerOutput struct { // An answer of the question. Answer *Answer `type:"structure"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. LensAlias *string `min:"1" type:"string"` // The ARN for the lens. LensArn *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a update answer call.
func (s UpdateAnswerOutput) 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 (s *UpdateAnswerOutput) SetAnswer(v *Answer) *UpdateAnswerOutput
SetAnswer sets the Answer field's value.
func (s *UpdateAnswerOutput) SetLensAlias(v string) *UpdateAnswerOutput
SetLensAlias sets the LensAlias field's value.
func (s *UpdateAnswerOutput) SetLensArn(v string) *UpdateAnswerOutput
SetLensArn sets the LensArn field's value.
func (s *UpdateAnswerOutput) SetWorkloadId(v string) *UpdateAnswerOutput
SetWorkloadId sets the WorkloadId field's value.
func (s UpdateAnswerOutput) 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 UpdateGlobalSettingsInput struct { // The status of organization sharing settings. OrganizationSharingStatus *string `type:"string" enum:"OrganizationSharingStatus"` // contains filtered or unexported fields }
func (s UpdateGlobalSettingsInput) 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 (s *UpdateGlobalSettingsInput) SetOrganizationSharingStatus(v string) *UpdateGlobalSettingsInput
SetOrganizationSharingStatus sets the OrganizationSharingStatus field's value.
func (s UpdateGlobalSettingsInput) 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 UpdateGlobalSettingsOutput struct {
// contains filtered or unexported fields
}
func (s UpdateGlobalSettingsOutput) 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 (s UpdateGlobalSettingsOutput) 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 UpdateLensReviewInput struct { // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The notes associated with the workload. LensNotes *string `type:"string"` // List of pillar notes of a lens review in a workload. PillarNotes map[string]*string `type:"map"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for update lens review.
func (s UpdateLensReviewInput) 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 (s *UpdateLensReviewInput) SetLensAlias(v string) *UpdateLensReviewInput
SetLensAlias sets the LensAlias field's value.
func (s *UpdateLensReviewInput) SetLensNotes(v string) *UpdateLensReviewInput
SetLensNotes sets the LensNotes field's value.
func (s *UpdateLensReviewInput) SetPillarNotes(v map[string]*string) *UpdateLensReviewInput
SetPillarNotes sets the PillarNotes field's value.
func (s *UpdateLensReviewInput) SetWorkloadId(v string) *UpdateLensReviewInput
SetWorkloadId sets the WorkloadId field's value.
func (s UpdateLensReviewInput) 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 (s *UpdateLensReviewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLensReviewOutput struct { // A lens review of a question. LensReview *LensReview `type:"structure"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // contains filtered or unexported fields }
Output of a update lens review call.
func (s UpdateLensReviewOutput) 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 (s *UpdateLensReviewOutput) SetLensReview(v *LensReview) *UpdateLensReviewOutput
SetLensReview sets the LensReview field's value.
func (s *UpdateLensReviewOutput) SetWorkloadId(v string) *UpdateLensReviewOutput
SetWorkloadId sets the WorkloadId field's value.
func (s UpdateLensReviewOutput) 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 UpdateShareInvitationInput struct { // Share invitation action taken by contributor. // // ShareInvitationAction is a required field ShareInvitationAction *string `type:"string" required:"true" enum:"ShareInvitationAction"` // The ID assigned to the share invitation. // // ShareInvitationId is a required field ShareInvitationId *string `location:"uri" locationName:"ShareInvitationId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for Update Share Invitation
func (s UpdateShareInvitationInput) 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 (s *UpdateShareInvitationInput) SetShareInvitationAction(v string) *UpdateShareInvitationInput
SetShareInvitationAction sets the ShareInvitationAction field's value.
func (s *UpdateShareInvitationInput) SetShareInvitationId(v string) *UpdateShareInvitationInput
SetShareInvitationId sets the ShareInvitationId field's value.
func (s UpdateShareInvitationInput) 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 (s *UpdateShareInvitationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateShareInvitationOutput struct { // The updated workload or custom lens share invitation. ShareInvitation *ShareInvitation `type:"structure"` // contains filtered or unexported fields }
func (s UpdateShareInvitationOutput) 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 (s *UpdateShareInvitationOutput) SetShareInvitation(v *ShareInvitation) *UpdateShareInvitationOutput
SetShareInvitation sets the ShareInvitation field's value.
func (s UpdateShareInvitationOutput) 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 UpdateWorkloadInput struct { // The list of Amazon Web Services account IDs associated with the workload. AccountIds []*string `type:"list"` // List of AppRegistry application ARNs to associate to the workload. Applications []*string `type:"list"` // The URL of the architectural design for the workload. ArchitecturalDesign *string `type:"string"` // The list of Amazon Web Services Regions associated with the workload, for // example, us-east-2, or ca-central-1. AwsRegions []*string `type:"list"` // The description for the workload. Description *string `min:"3" type:"string"` // Well-Architected discovery configuration settings to associate to the workload. DiscoveryConfig *WorkloadDiscoveryConfig `type:"structure"` // The environment for the workload. Environment *string `type:"string" enum:"WorkloadEnvironment"` // The improvement status for a workload. ImprovementStatus *string `type:"string" enum:"WorkloadImprovementStatus"` // The industry for the workload. Industry *string `type:"string"` // The industry type for the workload. // // If specified, must be one of the following: // // * Agriculture // // * Automobile // // * Defense // // * Design and Engineering // // * Digital Advertising // // * Education // // * Environmental Protection // // * Financial Services // // * Gaming // // * General Public Services // // * Healthcare // // * Hospitality // // * InfoTech // // * Justice and Public Safety // // * Life Sciences // // * Manufacturing // // * Media & Entertainment // // * Mining & Resources // // * Oil & Gas // // * Power & Utilities // // * Professional Services // // * Real Estate & Construction // // * Retail & Wholesale // // * Social Protection // // * Telecommunications // // * Travel, Transportation & Logistics // // * Other IndustryType *string `type:"string"` // Flag indicating whether the workload owner has acknowledged that the Review // owner field is required. // // If a Review owner is not added to the workload within 60 days of acknowledgement, // access to the workload is restricted until an owner is added. IsReviewOwnerUpdateAcknowledged *bool `type:"boolean"` // The list of non-Amazon Web Services Regions associated with the workload. NonAwsRegions []*string `type:"list"` // The notes associated with the workload. Notes *string `type:"string"` // The priorities of the pillars, which are used to order items in the improvement // plan. Each pillar is represented by its PillarReviewSummary$PillarId. PillarPriorities []*string `type:"list"` // The review owner of the workload. The name, email address, or identifier // for the primary group or individual that owns the workload review process. ReviewOwner *string `min:"3" type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // The name of the workload. // // The name must be unique within an account within an Amazon Web Services Region. // Spaces and capitalization are ignored when checking for uniqueness. WorkloadName *string `min:"3" type:"string"` // contains filtered or unexported fields }
Input to update a workload.
func (s UpdateWorkloadInput) 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 (s *UpdateWorkloadInput) SetAccountIds(v []*string) *UpdateWorkloadInput
SetAccountIds sets the AccountIds field's value.
func (s *UpdateWorkloadInput) SetApplications(v []*string) *UpdateWorkloadInput
SetApplications sets the Applications field's value.
func (s *UpdateWorkloadInput) SetArchitecturalDesign(v string) *UpdateWorkloadInput
SetArchitecturalDesign sets the ArchitecturalDesign field's value.
func (s *UpdateWorkloadInput) SetAwsRegions(v []*string) *UpdateWorkloadInput
SetAwsRegions sets the AwsRegions field's value.
func (s *UpdateWorkloadInput) SetDescription(v string) *UpdateWorkloadInput
SetDescription sets the Description field's value.
func (s *UpdateWorkloadInput) SetDiscoveryConfig(v *WorkloadDiscoveryConfig) *UpdateWorkloadInput
SetDiscoveryConfig sets the DiscoveryConfig field's value.
func (s *UpdateWorkloadInput) SetEnvironment(v string) *UpdateWorkloadInput
SetEnvironment sets the Environment field's value.
func (s *UpdateWorkloadInput) SetImprovementStatus(v string) *UpdateWorkloadInput
SetImprovementStatus sets the ImprovementStatus field's value.
func (s *UpdateWorkloadInput) SetIndustry(v string) *UpdateWorkloadInput
SetIndustry sets the Industry field's value.
func (s *UpdateWorkloadInput) SetIndustryType(v string) *UpdateWorkloadInput
SetIndustryType sets the IndustryType field's value.
func (s *UpdateWorkloadInput) SetIsReviewOwnerUpdateAcknowledged(v bool) *UpdateWorkloadInput
SetIsReviewOwnerUpdateAcknowledged sets the IsReviewOwnerUpdateAcknowledged field's value.
func (s *UpdateWorkloadInput) SetNonAwsRegions(v []*string) *UpdateWorkloadInput
SetNonAwsRegions sets the NonAwsRegions field's value.
func (s *UpdateWorkloadInput) SetNotes(v string) *UpdateWorkloadInput
SetNotes sets the Notes field's value.
func (s *UpdateWorkloadInput) SetPillarPriorities(v []*string) *UpdateWorkloadInput
SetPillarPriorities sets the PillarPriorities field's value.
func (s *UpdateWorkloadInput) SetReviewOwner(v string) *UpdateWorkloadInput
SetReviewOwner sets the ReviewOwner field's value.
func (s *UpdateWorkloadInput) SetWorkloadId(v string) *UpdateWorkloadInput
SetWorkloadId sets the WorkloadId field's value.
func (s *UpdateWorkloadInput) SetWorkloadName(v string) *UpdateWorkloadInput
SetWorkloadName sets the WorkloadName field's value.
func (s UpdateWorkloadInput) 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 (s *UpdateWorkloadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateWorkloadOutput struct { // A workload return object. Workload *Workload `type:"structure"` // contains filtered or unexported fields }
Output of an update workload call.
func (s UpdateWorkloadOutput) 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 (s *UpdateWorkloadOutput) SetWorkload(v *Workload) *UpdateWorkloadOutput
SetWorkload sets the Workload field's value.
func (s UpdateWorkloadOutput) 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 UpdateWorkloadShareInput struct { // Permission granted on a workload share. // // PermissionType is a required field PermissionType *string `type:"string" required:"true" enum:"PermissionType"` // The ID associated with the workload share. // // ShareId is a required field ShareId *string `location:"uri" locationName:"ShareId" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
Input for Update Workload Share
func (s UpdateWorkloadShareInput) 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 (s *UpdateWorkloadShareInput) SetPermissionType(v string) *UpdateWorkloadShareInput
SetPermissionType sets the PermissionType field's value.
func (s *UpdateWorkloadShareInput) SetShareId(v string) *UpdateWorkloadShareInput
SetShareId sets the ShareId field's value.
func (s *UpdateWorkloadShareInput) SetWorkloadId(v string) *UpdateWorkloadShareInput
SetWorkloadId sets the WorkloadId field's value.
func (s UpdateWorkloadShareInput) 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 (s *UpdateWorkloadShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateWorkloadShareOutput struct { // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // A workload share return object. WorkloadShare *WorkloadShare `type:"structure"` // contains filtered or unexported fields }
Input for Update Workload Share
func (s UpdateWorkloadShareOutput) 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 (s *UpdateWorkloadShareOutput) SetWorkloadId(v string) *UpdateWorkloadShareOutput
SetWorkloadId sets the WorkloadId field's value.
func (s *UpdateWorkloadShareOutput) SetWorkloadShare(v *WorkloadShare) *UpdateWorkloadShareOutput
SetWorkloadShare sets the WorkloadShare field's value.
func (s UpdateWorkloadShareOutput) 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 UpgradeLensReviewInput struct { // A unique case-sensitive string used to ensure that this request is idempotent // (executes only once). // // You should not reuse the same token for other requests. If you retry a request // with the same client request token and the same parameters after it has completed // successfully, the result of the original request is returned. // // This token is listed as required, however, if you do not specify it, the // Amazon Web Services SDKs automatically generate one for you. If you are not // using the Amazon Web Services SDK or the CLI, you must provide this token // or the request will fail. ClientRequestToken *string `type:"string"` // The alias of the lens. // // For Amazon Web Services official lenses, this is either the lens alias, such // as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-west-2::lens/serverless. // // For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens. // // Each lens is identified by its LensSummary$LensAlias. // // LensAlias is a required field LensAlias *string `location:"uri" locationName:"LensAlias" min:"1" type:"string" required:"true"` // The name of the milestone in a workload. // // Milestone names must be unique within a workload. // // MilestoneName is a required field MilestoneName *string `min:"3" type:"string" required:"true"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // // WorkloadId is a required field WorkloadId *string `location:"uri" locationName:"WorkloadId" type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpgradeLensReviewInput) 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 (s *UpgradeLensReviewInput) SetClientRequestToken(v string) *UpgradeLensReviewInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (s *UpgradeLensReviewInput) SetLensAlias(v string) *UpgradeLensReviewInput
SetLensAlias sets the LensAlias field's value.
func (s *UpgradeLensReviewInput) SetMilestoneName(v string) *UpgradeLensReviewInput
SetMilestoneName sets the MilestoneName field's value.
func (s *UpgradeLensReviewInput) SetWorkloadId(v string) *UpgradeLensReviewInput
SetWorkloadId sets the WorkloadId field's value.
func (s UpgradeLensReviewInput) 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 (s *UpgradeLensReviewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpgradeLensReviewOutput struct {
// contains filtered or unexported fields
}
func (s UpgradeLensReviewOutput) 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 (s UpgradeLensReviewOutput) 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 struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The fields that caused the error, if applicable. Fields []*ValidationExceptionField `type:"list"` // Description of the error. Message_ *string `locationName:"Message" type:"string"` // The reason why the request failed validation. Reason *string `type:"string" enum:"ValidationExceptionReason"` // contains filtered or unexported fields }
The user input is not valid.
func (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
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 (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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".
type ValidationExceptionField struct { // Description of the error. // // Message is a required field Message *string `type:"string" required:"true"` // The field name for which validation failed. // // Name is a required field Name *string `type:"string" required:"true"` // contains filtered or unexported fields }
Stores information about a field passed inside a request that resulted in an exception.
func (s ValidationExceptionField) 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 (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField
SetMessage sets the Message field's value.
func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField
SetName sets the Name field's value.
func (s ValidationExceptionField) 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 VersionDifferences struct { // The differences between the base and latest versions of the lens. PillarDifferences []*PillarDifference `type:"list"` // contains filtered or unexported fields }
The differences between the base and latest versions of the lens.
func (s VersionDifferences) 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 (s *VersionDifferences) SetPillarDifferences(v []*PillarDifference) *VersionDifferences
SetPillarDifferences sets the PillarDifferences field's value.
func (s VersionDifferences) 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 WellArchitected struct { *client.Client }
WellArchitected provides the API operation methods for making requests to AWS Well-Architected Tool. See this package's package overview docs for details on the service.
WellArchitected methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(p client.ConfigProvider, cfgs ...*aws.Config) *WellArchitected
New creates a new instance of the WellArchitected 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 WellArchitected client from just a session. svc := wellarchitected.New(mySession) // Create a WellArchitected client with additional configuration svc := wellarchitected.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *WellArchitected) AssociateLenses(input *AssociateLensesInput) (*AssociateLensesOutput, error)
AssociateLenses API operation for AWS Well-Architected Tool.
Associate a lens to a workload.
Up to 10 lenses can be associated with a workload in a single API operation. A maximum of 20 lenses can be associated with a workload.
By accessing and/or applying custom lenses created by another Amazon Web Services user or account, you acknowledge that custom lenses created by other users and shared with you are Third Party Content as defined in the Amazon Web Services Customer Agreement.
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 AWS Well-Architected Tool's API operation AssociateLenses for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/AssociateLenses
func (c *WellArchitected) AssociateLensesRequest(input *AssociateLensesInput) (req *request.Request, output *AssociateLensesOutput)
AssociateLensesRequest generates a "aws/request.Request" representing the client's request for the AssociateLenses 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 AssociateLenses for more information on using the AssociateLenses 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 AssociateLensesRequest method. req, resp := client.AssociateLensesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/AssociateLenses
func (c *WellArchitected) AssociateLensesWithContext(ctx aws.Context, input *AssociateLensesInput, opts ...request.Option) (*AssociateLensesOutput, error)
AssociateLensesWithContext is the same as AssociateLenses with the addition of the ability to pass a context and additional request options.
See AssociateLenses 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 (c *WellArchitected) CreateLensShare(input *CreateLensShareInput) (*CreateLensShareOutput, error)
CreateLensShare API operation for AWS Well-Architected Tool.
Create a lens share.
The owner of a lens can share it with other Amazon Web Services accounts, IAM users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Shared access to a lens is not removed until the lens invitation is deleted.
By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
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 AWS Well-Architected Tool's API operation CreateLensShare for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
ServiceQuotaExceededException The user has reached their resource quota.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensShare
func (c *WellArchitected) CreateLensShareRequest(input *CreateLensShareInput) (req *request.Request, output *CreateLensShareOutput)
CreateLensShareRequest generates a "aws/request.Request" representing the client's request for the CreateLensShare 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 CreateLensShare for more information on using the CreateLensShare 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 CreateLensShareRequest method. req, resp := client.CreateLensShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensShare
func (c *WellArchitected) CreateLensShareWithContext(ctx aws.Context, input *CreateLensShareInput, opts ...request.Option) (*CreateLensShareOutput, error)
CreateLensShareWithContext is the same as CreateLensShare with the addition of the ability to pass a context and additional request options.
See CreateLensShare 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 (c *WellArchitected) CreateLensVersion(input *CreateLensVersionInput) (*CreateLensVersionOutput, error)
CreateLensVersion API operation for AWS Well-Architected Tool.
Create a new lens version.
A lens can have up to 100 versions.
After a lens has been imported, create a new lens version to publish it. The owner of a lens can share the lens with other Amazon Web Services accounts and IAM users in the same Amazon Web Services Region. Only the owner of a lens can delete it.
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 AWS Well-Architected Tool's API operation CreateLensVersion for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ServiceQuotaExceededException The user has reached their resource quota.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensVersion
func (c *WellArchitected) CreateLensVersionRequest(input *CreateLensVersionInput) (req *request.Request, output *CreateLensVersionOutput)
CreateLensVersionRequest generates a "aws/request.Request" representing the client's request for the CreateLensVersion 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 CreateLensVersion for more information on using the CreateLensVersion 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 CreateLensVersionRequest method. req, resp := client.CreateLensVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensVersion
func (c *WellArchitected) CreateLensVersionWithContext(ctx aws.Context, input *CreateLensVersionInput, opts ...request.Option) (*CreateLensVersionOutput, error)
CreateLensVersionWithContext is the same as CreateLensVersion with the addition of the ability to pass a context and additional request options.
See CreateLensVersion 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 (c *WellArchitected) CreateMilestone(input *CreateMilestoneInput) (*CreateMilestoneOutput, error)
CreateMilestone API operation for AWS Well-Architected Tool.
Create a milestone for an existing workload.
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 AWS Well-Architected Tool's API operation CreateMilestone for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
ServiceQuotaExceededException The user has reached their resource quota.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateMilestone
func (c *WellArchitected) CreateMilestoneRequest(input *CreateMilestoneInput) (req *request.Request, output *CreateMilestoneOutput)
CreateMilestoneRequest generates a "aws/request.Request" representing the client's request for the CreateMilestone 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 CreateMilestone for more information on using the CreateMilestone 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 CreateMilestoneRequest method. req, resp := client.CreateMilestoneRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateMilestone
func (c *WellArchitected) CreateMilestoneWithContext(ctx aws.Context, input *CreateMilestoneInput, opts ...request.Option) (*CreateMilestoneOutput, error)
CreateMilestoneWithContext is the same as CreateMilestone with the addition of the ability to pass a context and additional request options.
See CreateMilestone 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 (c *WellArchitected) CreateWorkload(input *CreateWorkloadInput) (*CreateWorkloadOutput, error)
CreateWorkload API operation for AWS Well-Architected Tool.
Create a new workload.
The owner of a workload can share the workload with other Amazon Web Services accounts, IAM users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it.
For more information, see Defining a Workload (https://docs.aws.amazon.com/wellarchitected/latest/userguide/define-workload.html) in the Well-Architected Tool User Guide.
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 AWS Well-Architected Tool's API operation CreateWorkload for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ConflictException The resource already exists.
ServiceQuotaExceededException The user has reached their resource quota.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkload
func (c *WellArchitected) CreateWorkloadRequest(input *CreateWorkloadInput) (req *request.Request, output *CreateWorkloadOutput)
CreateWorkloadRequest generates a "aws/request.Request" representing the client's request for the CreateWorkload 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 CreateWorkload for more information on using the CreateWorkload 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 CreateWorkloadRequest method. req, resp := client.CreateWorkloadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkload
func (c *WellArchitected) CreateWorkloadShare(input *CreateWorkloadShareInput) (*CreateWorkloadShareOutput, error)
CreateWorkloadShare API operation for AWS Well-Architected Tool.
Create a workload share.
The owner of a workload can share it with other Amazon Web Services accounts and IAM users in the same Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is deleted.
For more information, see Sharing a Workload (https://docs.aws.amazon.com/wellarchitected/latest/userguide/workloads-sharing.html) in the Well-Architected Tool User Guide.
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 AWS Well-Architected Tool's API operation CreateWorkloadShare for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
ServiceQuotaExceededException The user has reached their resource quota.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkloadShare
func (c *WellArchitected) CreateWorkloadShareRequest(input *CreateWorkloadShareInput) (req *request.Request, output *CreateWorkloadShareOutput)
CreateWorkloadShareRequest generates a "aws/request.Request" representing the client's request for the CreateWorkloadShare 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 CreateWorkloadShare for more information on using the CreateWorkloadShare 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 CreateWorkloadShareRequest method. req, resp := client.CreateWorkloadShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkloadShare
func (c *WellArchitected) CreateWorkloadShareWithContext(ctx aws.Context, input *CreateWorkloadShareInput, opts ...request.Option) (*CreateWorkloadShareOutput, error)
CreateWorkloadShareWithContext is the same as CreateWorkloadShare with the addition of the ability to pass a context and additional request options.
See CreateWorkloadShare 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 (c *WellArchitected) CreateWorkloadWithContext(ctx aws.Context, input *CreateWorkloadInput, opts ...request.Option) (*CreateWorkloadOutput, error)
CreateWorkloadWithContext is the same as CreateWorkload with the addition of the ability to pass a context and additional request options.
See CreateWorkload 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 (c *WellArchitected) DeleteLens(input *DeleteLensInput) (*DeleteLensOutput, error)
DeleteLens API operation for AWS Well-Architected Tool.
Delete an existing lens.
Only the owner of a lens can delete it. After the lens is deleted, Amazon Web Services accounts and IAM users that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.
By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
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 AWS Well-Architected Tool's API operation DeleteLens for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLens
func (c *WellArchitected) DeleteLensRequest(input *DeleteLensInput) (req *request.Request, output *DeleteLensOutput)
DeleteLensRequest generates a "aws/request.Request" representing the client's request for the DeleteLens 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 DeleteLens for more information on using the DeleteLens 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 DeleteLensRequest method. req, resp := client.DeleteLensRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLens
func (c *WellArchitected) DeleteLensShare(input *DeleteLensShareInput) (*DeleteLensShareOutput, error)
DeleteLensShare API operation for AWS Well-Architected Tool.
Delete a lens share.
After the lens share is deleted, Amazon Web Services accounts, IAM users, organizations, and organizational units (OUs) that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.
By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
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 AWS Well-Architected Tool's API operation DeleteLensShare for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLensShare
func (c *WellArchitected) DeleteLensShareRequest(input *DeleteLensShareInput) (req *request.Request, output *DeleteLensShareOutput)
DeleteLensShareRequest generates a "aws/request.Request" representing the client's request for the DeleteLensShare 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 DeleteLensShare for more information on using the DeleteLensShare 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 DeleteLensShareRequest method. req, resp := client.DeleteLensShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLensShare
func (c *WellArchitected) DeleteLensShareWithContext(ctx aws.Context, input *DeleteLensShareInput, opts ...request.Option) (*DeleteLensShareOutput, error)
DeleteLensShareWithContext is the same as DeleteLensShare with the addition of the ability to pass a context and additional request options.
See DeleteLensShare 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 (c *WellArchitected) DeleteLensWithContext(ctx aws.Context, input *DeleteLensInput, opts ...request.Option) (*DeleteLensOutput, error)
DeleteLensWithContext is the same as DeleteLens with the addition of the ability to pass a context and additional request options.
See DeleteLens 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 (c *WellArchitected) DeleteWorkload(input *DeleteWorkloadInput) (*DeleteWorkloadOutput, error)
DeleteWorkload API operation for AWS Well-Architected Tool.
Delete an existing workload.
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 AWS Well-Architected Tool's API operation DeleteWorkload for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkload
func (c *WellArchitected) DeleteWorkloadRequest(input *DeleteWorkloadInput) (req *request.Request, output *DeleteWorkloadOutput)
DeleteWorkloadRequest generates a "aws/request.Request" representing the client's request for the DeleteWorkload 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 DeleteWorkload for more information on using the DeleteWorkload 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 DeleteWorkloadRequest method. req, resp := client.DeleteWorkloadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkload
func (c *WellArchitected) DeleteWorkloadShare(input *DeleteWorkloadShareInput) (*DeleteWorkloadShareOutput, error)
DeleteWorkloadShare API operation for AWS Well-Architected Tool.
Delete a workload share.
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 AWS Well-Architected Tool's API operation DeleteWorkloadShare for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkloadShare
func (c *WellArchitected) DeleteWorkloadShareRequest(input *DeleteWorkloadShareInput) (req *request.Request, output *DeleteWorkloadShareOutput)
DeleteWorkloadShareRequest generates a "aws/request.Request" representing the client's request for the DeleteWorkloadShare 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 DeleteWorkloadShare for more information on using the DeleteWorkloadShare 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 DeleteWorkloadShareRequest method. req, resp := client.DeleteWorkloadShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkloadShare
func (c *WellArchitected) DeleteWorkloadShareWithContext(ctx aws.Context, input *DeleteWorkloadShareInput, opts ...request.Option) (*DeleteWorkloadShareOutput, error)
DeleteWorkloadShareWithContext is the same as DeleteWorkloadShare with the addition of the ability to pass a context and additional request options.
See DeleteWorkloadShare 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 (c *WellArchitected) DeleteWorkloadWithContext(ctx aws.Context, input *DeleteWorkloadInput, opts ...request.Option) (*DeleteWorkloadOutput, error)
DeleteWorkloadWithContext is the same as DeleteWorkload with the addition of the ability to pass a context and additional request options.
See DeleteWorkload 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 (c *WellArchitected) DisassociateLenses(input *DisassociateLensesInput) (*DisassociateLensesOutput, error)
DisassociateLenses API operation for AWS Well-Architected Tool.
Disassociate a lens from a workload.
Up to 10 lenses can be disassociated from a workload in a single API operation.
The Amazon Web Services Well-Architected Framework lens (wellarchitected) cannot be removed from a workload.
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 AWS Well-Architected Tool's API operation DisassociateLenses for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DisassociateLenses
func (c *WellArchitected) DisassociateLensesRequest(input *DisassociateLensesInput) (req *request.Request, output *DisassociateLensesOutput)
DisassociateLensesRequest generates a "aws/request.Request" representing the client's request for the DisassociateLenses 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 DisassociateLenses for more information on using the DisassociateLenses 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 DisassociateLensesRequest method. req, resp := client.DisassociateLensesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DisassociateLenses
func (c *WellArchitected) DisassociateLensesWithContext(ctx aws.Context, input *DisassociateLensesInput, opts ...request.Option) (*DisassociateLensesOutput, error)
DisassociateLensesWithContext is the same as DisassociateLenses with the addition of the ability to pass a context and additional request options.
See DisassociateLenses 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 (c *WellArchitected) ExportLens(input *ExportLensInput) (*ExportLensOutput, error)
ExportLens API operation for AWS Well-Architected Tool.
Export an existing lens.
Lenses are defined in JSON. For more information, see JSON format specification (https://docs.aws.amazon.com/wellarchitected/latest/userguide/lenses-format-specification.html) in the Well-Architected Tool User Guide. Only the owner of a lens can export it.
Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
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 AWS Well-Architected Tool's API operation ExportLens for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ExportLens
func (c *WellArchitected) ExportLensRequest(input *ExportLensInput) (req *request.Request, output *ExportLensOutput)
ExportLensRequest generates a "aws/request.Request" representing the client's request for the ExportLens 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 ExportLens for more information on using the ExportLens 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 ExportLensRequest method. req, resp := client.ExportLensRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ExportLens
func (c *WellArchitected) ExportLensWithContext(ctx aws.Context, input *ExportLensInput, opts ...request.Option) (*ExportLensOutput, error)
ExportLensWithContext is the same as ExportLens with the addition of the ability to pass a context and additional request options.
See ExportLens 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 (c *WellArchitected) GetAnswer(input *GetAnswerInput) (*GetAnswerOutput, error)
GetAnswer API operation for AWS Well-Architected Tool.
Get the answer to a specific question in a workload review.
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 AWS Well-Architected Tool's API operation GetAnswer for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetAnswer
func (c *WellArchitected) GetAnswerRequest(input *GetAnswerInput) (req *request.Request, output *GetAnswerOutput)
GetAnswerRequest generates a "aws/request.Request" representing the client's request for the GetAnswer 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 GetAnswer for more information on using the GetAnswer 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 GetAnswerRequest method. req, resp := client.GetAnswerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetAnswer
func (c *WellArchitected) GetAnswerWithContext(ctx aws.Context, input *GetAnswerInput, opts ...request.Option) (*GetAnswerOutput, error)
GetAnswerWithContext is the same as GetAnswer with the addition of the ability to pass a context and additional request options.
See GetAnswer 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 (c *WellArchitected) GetLens(input *GetLensInput) (*GetLensOutput, error)
GetLens API operation for AWS Well-Architected Tool.
Get an existing lens.
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 AWS Well-Architected Tool's API operation GetLens for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLens
func (c *WellArchitected) GetLensRequest(input *GetLensInput) (req *request.Request, output *GetLensOutput)
GetLensRequest generates a "aws/request.Request" representing the client's request for the GetLens 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 GetLens for more information on using the GetLens 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 GetLensRequest method. req, resp := client.GetLensRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLens
func (c *WellArchitected) GetLensReview(input *GetLensReviewInput) (*GetLensReviewOutput, error)
GetLensReview API operation for AWS Well-Architected Tool.
Get lens review.
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 AWS Well-Architected Tool's API operation GetLensReview for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReview
func (c *WellArchitected) GetLensReviewReport(input *GetLensReviewReportInput) (*GetLensReviewReportOutput, error)
GetLensReviewReport API operation for AWS Well-Architected Tool.
Get lens review report.
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 AWS Well-Architected Tool's API operation GetLensReviewReport for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReviewReport
func (c *WellArchitected) GetLensReviewReportRequest(input *GetLensReviewReportInput) (req *request.Request, output *GetLensReviewReportOutput)
GetLensReviewReportRequest generates a "aws/request.Request" representing the client's request for the GetLensReviewReport 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 GetLensReviewReport for more information on using the GetLensReviewReport 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 GetLensReviewReportRequest method. req, resp := client.GetLensReviewReportRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReviewReport
func (c *WellArchitected) GetLensReviewReportWithContext(ctx aws.Context, input *GetLensReviewReportInput, opts ...request.Option) (*GetLensReviewReportOutput, error)
GetLensReviewReportWithContext is the same as GetLensReviewReport with the addition of the ability to pass a context and additional request options.
See GetLensReviewReport 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 (c *WellArchitected) GetLensReviewRequest(input *GetLensReviewInput) (req *request.Request, output *GetLensReviewOutput)
GetLensReviewRequest generates a "aws/request.Request" representing the client's request for the GetLensReview 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 GetLensReview for more information on using the GetLensReview 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 GetLensReviewRequest method. req, resp := client.GetLensReviewRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReview
func (c *WellArchitected) GetLensReviewWithContext(ctx aws.Context, input *GetLensReviewInput, opts ...request.Option) (*GetLensReviewOutput, error)
GetLensReviewWithContext is the same as GetLensReview with the addition of the ability to pass a context and additional request options.
See GetLensReview 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 (c *WellArchitected) GetLensVersionDifference(input *GetLensVersionDifferenceInput) (*GetLensVersionDifferenceOutput, error)
GetLensVersionDifference API operation for AWS Well-Architected Tool.
Get lens version differences.
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 AWS Well-Architected Tool's API operation GetLensVersionDifference for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensVersionDifference
func (c *WellArchitected) GetLensVersionDifferenceRequest(input *GetLensVersionDifferenceInput) (req *request.Request, output *GetLensVersionDifferenceOutput)
GetLensVersionDifferenceRequest generates a "aws/request.Request" representing the client's request for the GetLensVersionDifference 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 GetLensVersionDifference for more information on using the GetLensVersionDifference 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 GetLensVersionDifferenceRequest method. req, resp := client.GetLensVersionDifferenceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensVersionDifference
func (c *WellArchitected) GetLensVersionDifferenceWithContext(ctx aws.Context, input *GetLensVersionDifferenceInput, opts ...request.Option) (*GetLensVersionDifferenceOutput, error)
GetLensVersionDifferenceWithContext is the same as GetLensVersionDifference with the addition of the ability to pass a context and additional request options.
See GetLensVersionDifference 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 (c *WellArchitected) GetLensWithContext(ctx aws.Context, input *GetLensInput, opts ...request.Option) (*GetLensOutput, error)
GetLensWithContext is the same as GetLens with the addition of the ability to pass a context and additional request options.
See GetLens 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 (c *WellArchitected) GetMilestone(input *GetMilestoneInput) (*GetMilestoneOutput, error)
GetMilestone API operation for AWS Well-Architected Tool.
Get a milestone for an existing workload.
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 AWS Well-Architected Tool's API operation GetMilestone for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetMilestone
func (c *WellArchitected) GetMilestoneRequest(input *GetMilestoneInput) (req *request.Request, output *GetMilestoneOutput)
GetMilestoneRequest generates a "aws/request.Request" representing the client's request for the GetMilestone 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 GetMilestone for more information on using the GetMilestone 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 GetMilestoneRequest method. req, resp := client.GetMilestoneRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetMilestone
func (c *WellArchitected) GetMilestoneWithContext(ctx aws.Context, input *GetMilestoneInput, opts ...request.Option) (*GetMilestoneOutput, error)
GetMilestoneWithContext is the same as GetMilestone with the addition of the ability to pass a context and additional request options.
See GetMilestone 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 (c *WellArchitected) GetWorkload(input *GetWorkloadInput) (*GetWorkloadOutput, error)
GetWorkload API operation for AWS Well-Architected Tool.
Get an existing workload.
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 AWS Well-Architected Tool's API operation GetWorkload for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetWorkload
func (c *WellArchitected) GetWorkloadRequest(input *GetWorkloadInput) (req *request.Request, output *GetWorkloadOutput)
GetWorkloadRequest generates a "aws/request.Request" representing the client's request for the GetWorkload 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 GetWorkload for more information on using the GetWorkload 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 GetWorkloadRequest method. req, resp := client.GetWorkloadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetWorkload
func (c *WellArchitected) GetWorkloadWithContext(ctx aws.Context, input *GetWorkloadInput, opts ...request.Option) (*GetWorkloadOutput, error)
GetWorkloadWithContext is the same as GetWorkload with the addition of the ability to pass a context and additional request options.
See GetWorkload 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 (c *WellArchitected) ImportLens(input *ImportLensInput) (*ImportLensOutput, error)
ImportLens API operation for AWS Well-Architected Tool.
Import a new lens.
The lens cannot be applied to workloads or shared with other Amazon Web Services accounts until it's published with CreateLensVersion
Lenses are defined in JSON. For more information, see JSON format specification (https://docs.aws.amazon.com/wellarchitected/latest/userguide/lenses-format-specification.html) in the Well-Architected Tool User Guide.
A custom lens cannot exceed 500 KB in size.
Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
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 AWS Well-Architected Tool's API operation ImportLens for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ConflictException The resource already exists.
ResourceNotFoundException The requested resource was not found.
ServiceQuotaExceededException The user has reached their resource quota.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ImportLens
func (c *WellArchitected) ImportLensRequest(input *ImportLensInput) (req *request.Request, output *ImportLensOutput)
ImportLensRequest generates a "aws/request.Request" representing the client's request for the ImportLens 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 ImportLens for more information on using the ImportLens 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 ImportLensRequest method. req, resp := client.ImportLensRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ImportLens
func (c *WellArchitected) ImportLensWithContext(ctx aws.Context, input *ImportLensInput, opts ...request.Option) (*ImportLensOutput, error)
ImportLensWithContext is the same as ImportLens with the addition of the ability to pass a context and additional request options.
See ImportLens 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 (c *WellArchitected) ListAnswers(input *ListAnswersInput) (*ListAnswersOutput, error)
ListAnswers API operation for AWS Well-Architected Tool.
List of answers.
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 AWS Well-Architected Tool's API operation ListAnswers for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListAnswers
func (c *WellArchitected) ListAnswersPages(input *ListAnswersInput, fn func(*ListAnswersOutput, bool) bool) error
ListAnswersPages iterates over the pages of a ListAnswers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAnswers 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 ListAnswers operation. pageNum := 0 err := client.ListAnswersPages(params, func(page *wellarchitected.ListAnswersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListAnswersPagesWithContext(ctx aws.Context, input *ListAnswersInput, fn func(*ListAnswersOutput, bool) bool, opts ...request.Option) error
ListAnswersPagesWithContext same as ListAnswersPages 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 (c *WellArchitected) ListAnswersRequest(input *ListAnswersInput) (req *request.Request, output *ListAnswersOutput)
ListAnswersRequest generates a "aws/request.Request" representing the client's request for the ListAnswers 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 ListAnswers for more information on using the ListAnswers 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 ListAnswersRequest method. req, resp := client.ListAnswersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListAnswers
func (c *WellArchitected) ListAnswersWithContext(ctx aws.Context, input *ListAnswersInput, opts ...request.Option) (*ListAnswersOutput, error)
ListAnswersWithContext is the same as ListAnswers with the addition of the ability to pass a context and additional request options.
See ListAnswers 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 (c *WellArchitected) ListCheckDetails(input *ListCheckDetailsInput) (*ListCheckDetailsOutput, error)
ListCheckDetails API operation for AWS Well-Architected Tool.
List of Trusted Advisor check details by account related to the workload.
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 AWS Well-Architected Tool's API operation ListCheckDetails for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckDetails
func (c *WellArchitected) ListCheckDetailsPages(input *ListCheckDetailsInput, fn func(*ListCheckDetailsOutput, bool) bool) error
ListCheckDetailsPages iterates over the pages of a ListCheckDetails operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCheckDetails 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 ListCheckDetails operation. pageNum := 0 err := client.ListCheckDetailsPages(params, func(page *wellarchitected.ListCheckDetailsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListCheckDetailsPagesWithContext(ctx aws.Context, input *ListCheckDetailsInput, fn func(*ListCheckDetailsOutput, bool) bool, opts ...request.Option) error
ListCheckDetailsPagesWithContext same as ListCheckDetailsPages 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 (c *WellArchitected) ListCheckDetailsRequest(input *ListCheckDetailsInput) (req *request.Request, output *ListCheckDetailsOutput)
ListCheckDetailsRequest generates a "aws/request.Request" representing the client's request for the ListCheckDetails 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 ListCheckDetails for more information on using the ListCheckDetails 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 ListCheckDetailsRequest method. req, resp := client.ListCheckDetailsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckDetails
func (c *WellArchitected) ListCheckDetailsWithContext(ctx aws.Context, input *ListCheckDetailsInput, opts ...request.Option) (*ListCheckDetailsOutput, error)
ListCheckDetailsWithContext is the same as ListCheckDetails with the addition of the ability to pass a context and additional request options.
See ListCheckDetails 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 (c *WellArchitected) ListCheckSummaries(input *ListCheckSummariesInput) (*ListCheckSummariesOutput, error)
ListCheckSummaries API operation for AWS Well-Architected Tool.
List of Trusted Advisor checks summarized for all accounts related to the workload.
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 AWS Well-Architected Tool's API operation ListCheckSummaries for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckSummaries
func (c *WellArchitected) ListCheckSummariesPages(input *ListCheckSummariesInput, fn func(*ListCheckSummariesOutput, bool) bool) error
ListCheckSummariesPages iterates over the pages of a ListCheckSummaries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCheckSummaries 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 ListCheckSummaries operation. pageNum := 0 err := client.ListCheckSummariesPages(params, func(page *wellarchitected.ListCheckSummariesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListCheckSummariesPagesWithContext(ctx aws.Context, input *ListCheckSummariesInput, fn func(*ListCheckSummariesOutput, bool) bool, opts ...request.Option) error
ListCheckSummariesPagesWithContext same as ListCheckSummariesPages 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 (c *WellArchitected) ListCheckSummariesRequest(input *ListCheckSummariesInput) (req *request.Request, output *ListCheckSummariesOutput)
ListCheckSummariesRequest generates a "aws/request.Request" representing the client's request for the ListCheckSummaries 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 ListCheckSummaries for more information on using the ListCheckSummaries 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 ListCheckSummariesRequest method. req, resp := client.ListCheckSummariesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListCheckSummaries
func (c *WellArchitected) ListCheckSummariesWithContext(ctx aws.Context, input *ListCheckSummariesInput, opts ...request.Option) (*ListCheckSummariesOutput, error)
ListCheckSummariesWithContext is the same as ListCheckSummaries with the addition of the ability to pass a context and additional request options.
See ListCheckSummaries 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 (c *WellArchitected) ListLensReviewImprovements(input *ListLensReviewImprovementsInput) (*ListLensReviewImprovementsOutput, error)
ListLensReviewImprovements API operation for AWS Well-Architected Tool.
List lens review improvements.
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 AWS Well-Architected Tool's API operation ListLensReviewImprovements for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviewImprovements
func (c *WellArchitected) ListLensReviewImprovementsPages(input *ListLensReviewImprovementsInput, fn func(*ListLensReviewImprovementsOutput, bool) bool) error
ListLensReviewImprovementsPages iterates over the pages of a ListLensReviewImprovements operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListLensReviewImprovements 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 ListLensReviewImprovements operation. pageNum := 0 err := client.ListLensReviewImprovementsPages(params, func(page *wellarchitected.ListLensReviewImprovementsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListLensReviewImprovementsPagesWithContext(ctx aws.Context, input *ListLensReviewImprovementsInput, fn func(*ListLensReviewImprovementsOutput, bool) bool, opts ...request.Option) error
ListLensReviewImprovementsPagesWithContext same as ListLensReviewImprovementsPages 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 (c *WellArchitected) ListLensReviewImprovementsRequest(input *ListLensReviewImprovementsInput) (req *request.Request, output *ListLensReviewImprovementsOutput)
ListLensReviewImprovementsRequest generates a "aws/request.Request" representing the client's request for the ListLensReviewImprovements 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 ListLensReviewImprovements for more information on using the ListLensReviewImprovements 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 ListLensReviewImprovementsRequest method. req, resp := client.ListLensReviewImprovementsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviewImprovements
func (c *WellArchitected) ListLensReviewImprovementsWithContext(ctx aws.Context, input *ListLensReviewImprovementsInput, opts ...request.Option) (*ListLensReviewImprovementsOutput, error)
ListLensReviewImprovementsWithContext is the same as ListLensReviewImprovements with the addition of the ability to pass a context and additional request options.
See ListLensReviewImprovements 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 (c *WellArchitected) ListLensReviews(input *ListLensReviewsInput) (*ListLensReviewsOutput, error)
ListLensReviews API operation for AWS Well-Architected Tool.
List lens reviews.
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 AWS Well-Architected Tool's API operation ListLensReviews for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviews
func (c *WellArchitected) ListLensReviewsPages(input *ListLensReviewsInput, fn func(*ListLensReviewsOutput, bool) bool) error
ListLensReviewsPages iterates over the pages of a ListLensReviews operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListLensReviews 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 ListLensReviews operation. pageNum := 0 err := client.ListLensReviewsPages(params, func(page *wellarchitected.ListLensReviewsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListLensReviewsPagesWithContext(ctx aws.Context, input *ListLensReviewsInput, fn func(*ListLensReviewsOutput, bool) bool, opts ...request.Option) error
ListLensReviewsPagesWithContext same as ListLensReviewsPages 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 (c *WellArchitected) ListLensReviewsRequest(input *ListLensReviewsInput) (req *request.Request, output *ListLensReviewsOutput)
ListLensReviewsRequest generates a "aws/request.Request" representing the client's request for the ListLensReviews 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 ListLensReviews for more information on using the ListLensReviews 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 ListLensReviewsRequest method. req, resp := client.ListLensReviewsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviews
func (c *WellArchitected) ListLensReviewsWithContext(ctx aws.Context, input *ListLensReviewsInput, opts ...request.Option) (*ListLensReviewsOutput, error)
ListLensReviewsWithContext is the same as ListLensReviews with the addition of the ability to pass a context and additional request options.
See ListLensReviews 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 (c *WellArchitected) ListLensShares(input *ListLensSharesInput) (*ListLensSharesOutput, error)
ListLensShares API operation for AWS Well-Architected Tool.
List the lens shares associated with the lens.
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 AWS Well-Architected Tool's API operation ListLensShares for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensShares
func (c *WellArchitected) ListLensSharesPages(input *ListLensSharesInput, fn func(*ListLensSharesOutput, bool) bool) error
ListLensSharesPages iterates over the pages of a ListLensShares operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListLensShares 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 ListLensShares operation. pageNum := 0 err := client.ListLensSharesPages(params, func(page *wellarchitected.ListLensSharesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListLensSharesPagesWithContext(ctx aws.Context, input *ListLensSharesInput, fn func(*ListLensSharesOutput, bool) bool, opts ...request.Option) error
ListLensSharesPagesWithContext same as ListLensSharesPages 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 (c *WellArchitected) ListLensSharesRequest(input *ListLensSharesInput) (req *request.Request, output *ListLensSharesOutput)
ListLensSharesRequest generates a "aws/request.Request" representing the client's request for the ListLensShares 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 ListLensShares for more information on using the ListLensShares 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 ListLensSharesRequest method. req, resp := client.ListLensSharesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensShares
func (c *WellArchitected) ListLensSharesWithContext(ctx aws.Context, input *ListLensSharesInput, opts ...request.Option) (*ListLensSharesOutput, error)
ListLensSharesWithContext is the same as ListLensShares with the addition of the ability to pass a context and additional request options.
See ListLensShares 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 (c *WellArchitected) ListLenses(input *ListLensesInput) (*ListLensesOutput, error)
ListLenses API operation for AWS Well-Architected Tool.
List the available lenses.
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 AWS Well-Architected Tool's API operation ListLenses for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLenses
func (c *WellArchitected) ListLensesPages(input *ListLensesInput, fn func(*ListLensesOutput, bool) bool) error
ListLensesPages iterates over the pages of a ListLenses operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListLenses 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 ListLenses operation. pageNum := 0 err := client.ListLensesPages(params, func(page *wellarchitected.ListLensesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListLensesPagesWithContext(ctx aws.Context, input *ListLensesInput, fn func(*ListLensesOutput, bool) bool, opts ...request.Option) error
ListLensesPagesWithContext same as ListLensesPages 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 (c *WellArchitected) ListLensesRequest(input *ListLensesInput) (req *request.Request, output *ListLensesOutput)
ListLensesRequest generates a "aws/request.Request" representing the client's request for the ListLenses 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 ListLenses for more information on using the ListLenses 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 ListLensesRequest method. req, resp := client.ListLensesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLenses
func (c *WellArchitected) ListLensesWithContext(ctx aws.Context, input *ListLensesInput, opts ...request.Option) (*ListLensesOutput, error)
ListLensesWithContext is the same as ListLenses with the addition of the ability to pass a context and additional request options.
See ListLenses 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 (c *WellArchitected) ListMilestones(input *ListMilestonesInput) (*ListMilestonesOutput, error)
ListMilestones API operation for AWS Well-Architected Tool.
List all milestones for an existing workload.
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 AWS Well-Architected Tool's API operation ListMilestones for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListMilestones
func (c *WellArchitected) ListMilestonesPages(input *ListMilestonesInput, fn func(*ListMilestonesOutput, bool) bool) error
ListMilestonesPages iterates over the pages of a ListMilestones operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListMilestones 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 ListMilestones operation. pageNum := 0 err := client.ListMilestonesPages(params, func(page *wellarchitected.ListMilestonesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListMilestonesPagesWithContext(ctx aws.Context, input *ListMilestonesInput, fn func(*ListMilestonesOutput, bool) bool, opts ...request.Option) error
ListMilestonesPagesWithContext same as ListMilestonesPages 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 (c *WellArchitected) ListMilestonesRequest(input *ListMilestonesInput) (req *request.Request, output *ListMilestonesOutput)
ListMilestonesRequest generates a "aws/request.Request" representing the client's request for the ListMilestones 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 ListMilestones for more information on using the ListMilestones 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 ListMilestonesRequest method. req, resp := client.ListMilestonesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListMilestones
func (c *WellArchitected) ListMilestonesWithContext(ctx aws.Context, input *ListMilestonesInput, opts ...request.Option) (*ListMilestonesOutput, error)
ListMilestonesWithContext is the same as ListMilestones with the addition of the ability to pass a context and additional request options.
See ListMilestones 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 (c *WellArchitected) ListNotifications(input *ListNotificationsInput) (*ListNotificationsOutput, error)
ListNotifications API operation for AWS Well-Architected Tool.
List lens notifications.
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 AWS Well-Architected Tool's API operation ListNotifications for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListNotifications
func (c *WellArchitected) ListNotificationsPages(input *ListNotificationsInput, fn func(*ListNotificationsOutput, bool) bool) error
ListNotificationsPages iterates over the pages of a ListNotifications operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListNotifications 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 ListNotifications operation. pageNum := 0 err := client.ListNotificationsPages(params, func(page *wellarchitected.ListNotificationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListNotificationsPagesWithContext(ctx aws.Context, input *ListNotificationsInput, fn func(*ListNotificationsOutput, bool) bool, opts ...request.Option) error
ListNotificationsPagesWithContext same as ListNotificationsPages 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 (c *WellArchitected) ListNotificationsRequest(input *ListNotificationsInput) (req *request.Request, output *ListNotificationsOutput)
ListNotificationsRequest generates a "aws/request.Request" representing the client's request for the ListNotifications 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 ListNotifications for more information on using the ListNotifications 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 ListNotificationsRequest method. req, resp := client.ListNotificationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListNotifications
func (c *WellArchitected) ListNotificationsWithContext(ctx aws.Context, input *ListNotificationsInput, opts ...request.Option) (*ListNotificationsOutput, error)
ListNotificationsWithContext is the same as ListNotifications with the addition of the ability to pass a context and additional request options.
See ListNotifications 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 (c *WellArchitected) ListShareInvitations(input *ListShareInvitationsInput) (*ListShareInvitationsOutput, error)
ListShareInvitations API operation for AWS Well-Architected Tool.
List the workload invitations.
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 AWS Well-Architected Tool's API operation ListShareInvitations for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListShareInvitations
func (c *WellArchitected) ListShareInvitationsPages(input *ListShareInvitationsInput, fn func(*ListShareInvitationsOutput, bool) bool) error
ListShareInvitationsPages iterates over the pages of a ListShareInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListShareInvitations 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 ListShareInvitations operation. pageNum := 0 err := client.ListShareInvitationsPages(params, func(page *wellarchitected.ListShareInvitationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListShareInvitationsPagesWithContext(ctx aws.Context, input *ListShareInvitationsInput, fn func(*ListShareInvitationsOutput, bool) bool, opts ...request.Option) error
ListShareInvitationsPagesWithContext same as ListShareInvitationsPages 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 (c *WellArchitected) ListShareInvitationsRequest(input *ListShareInvitationsInput) (req *request.Request, output *ListShareInvitationsOutput)
ListShareInvitationsRequest generates a "aws/request.Request" representing the client's request for the ListShareInvitations 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 ListShareInvitations for more information on using the ListShareInvitations 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 ListShareInvitationsRequest method. req, resp := client.ListShareInvitationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListShareInvitations
func (c *WellArchitected) ListShareInvitationsWithContext(ctx aws.Context, input *ListShareInvitationsInput, opts ...request.Option) (*ListShareInvitationsOutput, error)
ListShareInvitationsWithContext is the same as ListShareInvitations with the addition of the ability to pass a context and additional request options.
See ListShareInvitations 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 (c *WellArchitected) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS Well-Architected Tool.
List the tags for a resource.
The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
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 AWS Well-Architected Tool's API operation ListTagsForResource for usage and error information.
Returned Error Types:
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListTagsForResource
func (c *WellArchitected) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListTagsForResource
func (c *WellArchitected) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *WellArchitected) ListWorkloadShares(input *ListWorkloadSharesInput) (*ListWorkloadSharesOutput, error)
ListWorkloadShares API operation for AWS Well-Architected Tool.
List the workload shares associated with the workload.
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 AWS Well-Architected Tool's API operation ListWorkloadShares for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloadShares
func (c *WellArchitected) ListWorkloadSharesPages(input *ListWorkloadSharesInput, fn func(*ListWorkloadSharesOutput, bool) bool) error
ListWorkloadSharesPages iterates over the pages of a ListWorkloadShares operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListWorkloadShares 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 ListWorkloadShares operation. pageNum := 0 err := client.ListWorkloadSharesPages(params, func(page *wellarchitected.ListWorkloadSharesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListWorkloadSharesPagesWithContext(ctx aws.Context, input *ListWorkloadSharesInput, fn func(*ListWorkloadSharesOutput, bool) bool, opts ...request.Option) error
ListWorkloadSharesPagesWithContext same as ListWorkloadSharesPages 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 (c *WellArchitected) ListWorkloadSharesRequest(input *ListWorkloadSharesInput) (req *request.Request, output *ListWorkloadSharesOutput)
ListWorkloadSharesRequest generates a "aws/request.Request" representing the client's request for the ListWorkloadShares 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 ListWorkloadShares for more information on using the ListWorkloadShares 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 ListWorkloadSharesRequest method. req, resp := client.ListWorkloadSharesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloadShares
func (c *WellArchitected) ListWorkloadSharesWithContext(ctx aws.Context, input *ListWorkloadSharesInput, opts ...request.Option) (*ListWorkloadSharesOutput, error)
ListWorkloadSharesWithContext is the same as ListWorkloadShares with the addition of the ability to pass a context and additional request options.
See ListWorkloadShares 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 (c *WellArchitected) ListWorkloads(input *ListWorkloadsInput) (*ListWorkloadsOutput, error)
ListWorkloads API operation for AWS Well-Architected Tool.
List workloads. Paginated.
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 AWS Well-Architected Tool's API operation ListWorkloads for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloads
func (c *WellArchitected) ListWorkloadsPages(input *ListWorkloadsInput, fn func(*ListWorkloadsOutput, bool) bool) error
ListWorkloadsPages iterates over the pages of a ListWorkloads operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListWorkloads 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 ListWorkloads operation. pageNum := 0 err := client.ListWorkloadsPages(params, func(page *wellarchitected.ListWorkloadsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *WellArchitected) ListWorkloadsPagesWithContext(ctx aws.Context, input *ListWorkloadsInput, fn func(*ListWorkloadsOutput, bool) bool, opts ...request.Option) error
ListWorkloadsPagesWithContext same as ListWorkloadsPages 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 (c *WellArchitected) ListWorkloadsRequest(input *ListWorkloadsInput) (req *request.Request, output *ListWorkloadsOutput)
ListWorkloadsRequest generates a "aws/request.Request" representing the client's request for the ListWorkloads 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 ListWorkloads for more information on using the ListWorkloads 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 ListWorkloadsRequest method. req, resp := client.ListWorkloadsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloads
func (c *WellArchitected) ListWorkloadsWithContext(ctx aws.Context, input *ListWorkloadsInput, opts ...request.Option) (*ListWorkloadsOutput, error)
ListWorkloadsWithContext is the same as ListWorkloads with the addition of the ability to pass a context and additional request options.
See ListWorkloads 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 (c *WellArchitected) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS Well-Architected Tool.
Adds one or more tags to the specified resource.
The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
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 AWS Well-Architected Tool's API operation TagResource for usage and error information.
Returned Error Types:
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResource
func (c *WellArchitected) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResource
func (c *WellArchitected) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *WellArchitected) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS Well-Architected Tool.
Deletes specified tags from a resource.
The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
To specify multiple tags, use separate tagKeys parameters, for example:
DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2
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 AWS Well-Architected Tool's API operation UntagResource for usage and error information.
Returned Error Types:
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UntagResource
func (c *WellArchitected) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UntagResource
func (c *WellArchitected) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *WellArchitected) UpdateAnswer(input *UpdateAnswerInput) (*UpdateAnswerOutput, error)
UpdateAnswer API operation for AWS Well-Architected Tool.
Update the answer to a specific question in a workload review.
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 AWS Well-Architected Tool's API operation UpdateAnswer for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateAnswer
func (c *WellArchitected) UpdateAnswerRequest(input *UpdateAnswerInput) (req *request.Request, output *UpdateAnswerOutput)
UpdateAnswerRequest generates a "aws/request.Request" representing the client's request for the UpdateAnswer 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 UpdateAnswer for more information on using the UpdateAnswer 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 UpdateAnswerRequest method. req, resp := client.UpdateAnswerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateAnswer
func (c *WellArchitected) UpdateAnswerWithContext(ctx aws.Context, input *UpdateAnswerInput, opts ...request.Option) (*UpdateAnswerOutput, error)
UpdateAnswerWithContext is the same as UpdateAnswer with the addition of the ability to pass a context and additional request options.
See UpdateAnswer 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 (c *WellArchitected) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error)
UpdateGlobalSettings API operation for AWS Well-Architected Tool.
Updates whether the Amazon Web Services account is opted into organization sharing features.
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 AWS Well-Architected Tool's API operation UpdateGlobalSettings for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateGlobalSettings
func (c *WellArchitected) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput)
UpdateGlobalSettingsRequest generates a "aws/request.Request" representing the client's request for the UpdateGlobalSettings 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 UpdateGlobalSettings for more information on using the UpdateGlobalSettings 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 UpdateGlobalSettingsRequest method. req, resp := client.UpdateGlobalSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateGlobalSettings
func (c *WellArchitected) UpdateGlobalSettingsWithContext(ctx aws.Context, input *UpdateGlobalSettingsInput, opts ...request.Option) (*UpdateGlobalSettingsOutput, error)
UpdateGlobalSettingsWithContext is the same as UpdateGlobalSettings with the addition of the ability to pass a context and additional request options.
See UpdateGlobalSettings 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 (c *WellArchitected) UpdateLensReview(input *UpdateLensReviewInput) (*UpdateLensReviewOutput, error)
UpdateLensReview API operation for AWS Well-Architected Tool.
Update lens review.
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 AWS Well-Architected Tool's API operation UpdateLensReview for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateLensReview
func (c *WellArchitected) UpdateLensReviewRequest(input *UpdateLensReviewInput) (req *request.Request, output *UpdateLensReviewOutput)
UpdateLensReviewRequest generates a "aws/request.Request" representing the client's request for the UpdateLensReview 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 UpdateLensReview for more information on using the UpdateLensReview 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 UpdateLensReviewRequest method. req, resp := client.UpdateLensReviewRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateLensReview
func (c *WellArchitected) UpdateLensReviewWithContext(ctx aws.Context, input *UpdateLensReviewInput, opts ...request.Option) (*UpdateLensReviewOutput, error)
UpdateLensReviewWithContext is the same as UpdateLensReview with the addition of the ability to pass a context and additional request options.
See UpdateLensReview 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 (c *WellArchitected) UpdateShareInvitation(input *UpdateShareInvitationInput) (*UpdateShareInvitationOutput, error)
UpdateShareInvitation API operation for AWS Well-Architected Tool.
Update a workload or custom lens share invitation.
This API operation can be called independently of any resource. Previous documentation implied that a workload ARN must be specified.
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 AWS Well-Architected Tool's API operation UpdateShareInvitation for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateShareInvitation
func (c *WellArchitected) UpdateShareInvitationRequest(input *UpdateShareInvitationInput) (req *request.Request, output *UpdateShareInvitationOutput)
UpdateShareInvitationRequest generates a "aws/request.Request" representing the client's request for the UpdateShareInvitation 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 UpdateShareInvitation for more information on using the UpdateShareInvitation 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 UpdateShareInvitationRequest method. req, resp := client.UpdateShareInvitationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateShareInvitation
func (c *WellArchitected) UpdateShareInvitationWithContext(ctx aws.Context, input *UpdateShareInvitationInput, opts ...request.Option) (*UpdateShareInvitationOutput, error)
UpdateShareInvitationWithContext is the same as UpdateShareInvitation with the addition of the ability to pass a context and additional request options.
See UpdateShareInvitation 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 (c *WellArchitected) UpdateWorkload(input *UpdateWorkloadInput) (*UpdateWorkloadOutput, error)
UpdateWorkload API operation for AWS Well-Architected Tool.
Update an existing workload.
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 AWS Well-Architected Tool's API operation UpdateWorkload for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkload
func (c *WellArchitected) UpdateWorkloadRequest(input *UpdateWorkloadInput) (req *request.Request, output *UpdateWorkloadOutput)
UpdateWorkloadRequest generates a "aws/request.Request" representing the client's request for the UpdateWorkload 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 UpdateWorkload for more information on using the UpdateWorkload 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 UpdateWorkloadRequest method. req, resp := client.UpdateWorkloadRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkload
func (c *WellArchitected) UpdateWorkloadShare(input *UpdateWorkloadShareInput) (*UpdateWorkloadShareOutput, error)
UpdateWorkloadShare API operation for AWS Well-Architected Tool.
Update a workload share.
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 AWS Well-Architected Tool's API operation UpdateWorkloadShare for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
InternalServerException There is a problem with the Well-Architected Tool API service.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkloadShare
func (c *WellArchitected) UpdateWorkloadShareRequest(input *UpdateWorkloadShareInput) (req *request.Request, output *UpdateWorkloadShareOutput)
UpdateWorkloadShareRequest generates a "aws/request.Request" representing the client's request for the UpdateWorkloadShare 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 UpdateWorkloadShare for more information on using the UpdateWorkloadShare 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 UpdateWorkloadShareRequest method. req, resp := client.UpdateWorkloadShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkloadShare
func (c *WellArchitected) UpdateWorkloadShareWithContext(ctx aws.Context, input *UpdateWorkloadShareInput, opts ...request.Option) (*UpdateWorkloadShareOutput, error)
UpdateWorkloadShareWithContext is the same as UpdateWorkloadShare with the addition of the ability to pass a context and additional request options.
See UpdateWorkloadShare 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 (c *WellArchitected) UpdateWorkloadWithContext(ctx aws.Context, input *UpdateWorkloadInput, opts ...request.Option) (*UpdateWorkloadOutput, error)
UpdateWorkloadWithContext is the same as UpdateWorkload with the addition of the ability to pass a context and additional request options.
See UpdateWorkload 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 (c *WellArchitected) UpgradeLensReview(input *UpgradeLensReviewInput) (*UpgradeLensReviewOutput, error)
UpgradeLensReview API operation for AWS Well-Architected Tool.
Upgrade lens review.
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 AWS Well-Architected Tool's API operation UpgradeLensReview for usage and error information.
Returned Error Types:
ValidationException The user input is not valid.
ResourceNotFoundException The requested resource was not found.
ConflictException The resource already exists.
InternalServerException There is a problem with the Well-Architected Tool API service.
AccessDeniedException User does not have sufficient access to perform this action.
ThrottlingException Request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpgradeLensReview
func (c *WellArchitected) UpgradeLensReviewRequest(input *UpgradeLensReviewInput) (req *request.Request, output *UpgradeLensReviewOutput)
UpgradeLensReviewRequest generates a "aws/request.Request" representing the client's request for the UpgradeLensReview 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 UpgradeLensReview for more information on using the UpgradeLensReview 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 UpgradeLensReviewRequest method. req, resp := client.UpgradeLensReviewRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpgradeLensReview
func (c *WellArchitected) UpgradeLensReviewWithContext(ctx aws.Context, input *UpgradeLensReviewInput, opts ...request.Option) (*UpgradeLensReviewOutput, error)
UpgradeLensReviewWithContext is the same as UpgradeLensReview with the addition of the ability to pass a context and additional request options.
See UpgradeLensReview 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 Workload struct { // The list of Amazon Web Services account IDs associated with the workload. AccountIds []*string `type:"list"` // List of AppRegistry application ARNs associated to the workload. Applications []*string `type:"list"` // The URL of the architectural design for the workload. ArchitecturalDesign *string `type:"string"` // The list of Amazon Web Services Regions associated with the workload, for // example, us-east-2, or ca-central-1. AwsRegions []*string `type:"list"` // The description for the workload. Description *string `min:"3" type:"string"` // Discovery configuration associated to the workload. DiscoveryConfig *WorkloadDiscoveryConfig `type:"structure"` // The environment for the workload. Environment *string `type:"string" enum:"WorkloadEnvironment"` // The improvement status for a workload. ImprovementStatus *string `type:"string" enum:"WorkloadImprovementStatus"` // The industry for the workload. Industry *string `type:"string"` // The industry type for the workload. // // If specified, must be one of the following: // // * Agriculture // // * Automobile // // * Defense // // * Design and Engineering // // * Digital Advertising // // * Education // // * Environmental Protection // // * Financial Services // // * Gaming // // * General Public Services // // * Healthcare // // * Hospitality // // * InfoTech // // * Justice and Public Safety // // * Life Sciences // // * Manufacturing // // * Media & Entertainment // // * Mining & Resources // // * Oil & Gas // // * Power & Utilities // // * Professional Services // // * Real Estate & Construction // // * Retail & Wholesale // // * Social Protection // // * Telecommunications // // * Travel, Transportation & Logistics // // * Other IndustryType *string `type:"string"` // Flag indicating whether the workload owner has acknowledged that the Review // owner field is required. // // If a Review owner is not added to the workload within 60 days of acknowledgement, // access to the workload is restricted until an owner is added. IsReviewOwnerUpdateAcknowledged *bool `type:"boolean"` // The list of lenses associated with the workload. Each lens is identified // by its LensSummary$LensAlias. Lenses []*string `type:"list"` // The list of non-Amazon Web Services Regions associated with the workload. NonAwsRegions []*string `type:"list"` // The notes associated with the workload. Notes *string `type:"string"` // An Amazon Web Services account ID. Owner *string `type:"string"` // The priorities of the pillars, which are used to order items in the improvement // plan. Each pillar is represented by its PillarReviewSummary$PillarId. PillarPriorities []*string `type:"list"` // The review owner of the workload. The name, email address, or identifier // for the primary group or individual that owns the workload review process. ReviewOwner *string `min:"3" type:"string"` // The date and time recorded. ReviewRestrictionDate *time.Time `type:"timestamp"` // A map from risk names to the count of how questions have that rating. RiskCounts map[string]*int64 `type:"map"` // The ID assigned to the share invitation. ShareInvitationId *string `type:"string"` // The tags associated with the workload. Tags map[string]*string `min:"1" type:"map"` // The date and time recorded. UpdatedAt *time.Time `type:"timestamp"` // The ARN for the workload. WorkloadArn *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // The name of the workload. // // The name must be unique within an account within an Amazon Web Services Region. // Spaces and capitalization are ignored when checking for uniqueness. WorkloadName *string `min:"3" type:"string"` // contains filtered or unexported fields }
A workload return object.
func (s Workload) 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 (s *Workload) SetAccountIds(v []*string) *Workload
SetAccountIds sets the AccountIds field's value.
func (s *Workload) SetApplications(v []*string) *Workload
SetApplications sets the Applications field's value.
func (s *Workload) SetArchitecturalDesign(v string) *Workload
SetArchitecturalDesign sets the ArchitecturalDesign field's value.
func (s *Workload) SetAwsRegions(v []*string) *Workload
SetAwsRegions sets the AwsRegions field's value.
func (s *Workload) SetDescription(v string) *Workload
SetDescription sets the Description field's value.
func (s *Workload) SetDiscoveryConfig(v *WorkloadDiscoveryConfig) *Workload
SetDiscoveryConfig sets the DiscoveryConfig field's value.
func (s *Workload) SetEnvironment(v string) *Workload
SetEnvironment sets the Environment field's value.
func (s *Workload) SetImprovementStatus(v string) *Workload
SetImprovementStatus sets the ImprovementStatus field's value.
func (s *Workload) SetIndustry(v string) *Workload
SetIndustry sets the Industry field's value.
func (s *Workload) SetIndustryType(v string) *Workload
SetIndustryType sets the IndustryType field's value.
func (s *Workload) SetIsReviewOwnerUpdateAcknowledged(v bool) *Workload
SetIsReviewOwnerUpdateAcknowledged sets the IsReviewOwnerUpdateAcknowledged field's value.
func (s *Workload) SetLenses(v []*string) *Workload
SetLenses sets the Lenses field's value.
func (s *Workload) SetNonAwsRegions(v []*string) *Workload
SetNonAwsRegions sets the NonAwsRegions field's value.
func (s *Workload) SetNotes(v string) *Workload
SetNotes sets the Notes field's value.
func (s *Workload) SetOwner(v string) *Workload
SetOwner sets the Owner field's value.
func (s *Workload) SetPillarPriorities(v []*string) *Workload
SetPillarPriorities sets the PillarPriorities field's value.
func (s *Workload) SetReviewOwner(v string) *Workload
SetReviewOwner sets the ReviewOwner field's value.
func (s *Workload) SetReviewRestrictionDate(v time.Time) *Workload
SetReviewRestrictionDate sets the ReviewRestrictionDate field's value.
func (s *Workload) SetRiskCounts(v map[string]*int64) *Workload
SetRiskCounts sets the RiskCounts field's value.
func (s *Workload) SetShareInvitationId(v string) *Workload
SetShareInvitationId sets the ShareInvitationId field's value.
func (s *Workload) SetTags(v map[string]*string) *Workload
SetTags sets the Tags field's value.
func (s *Workload) SetUpdatedAt(v time.Time) *Workload
SetUpdatedAt sets the UpdatedAt field's value.
func (s *Workload) SetWorkloadArn(v string) *Workload
SetWorkloadArn sets the WorkloadArn field's value.
func (s *Workload) SetWorkloadId(v string) *Workload
SetWorkloadId sets the WorkloadId field's value.
func (s *Workload) SetWorkloadName(v string) *Workload
SetWorkloadName sets the WorkloadName field's value.
func (s Workload) 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 WorkloadDiscoveryConfig struct { // Discovery integration status in respect to Trusted Advisor for the workload. TrustedAdvisorIntegrationStatus *string `type:"string" enum:"TrustedAdvisorIntegrationStatus"` // contains filtered or unexported fields }
Discovery configuration associated to the workload.
func (s WorkloadDiscoveryConfig) 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 (s *WorkloadDiscoveryConfig) SetTrustedAdvisorIntegrationStatus(v string) *WorkloadDiscoveryConfig
SetTrustedAdvisorIntegrationStatus sets the TrustedAdvisorIntegrationStatus field's value.
func (s WorkloadDiscoveryConfig) 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 WorkloadShare struct { // Permission granted on a workload share. PermissionType *string `type:"string" enum:"PermissionType"` // The ID associated with the workload share. ShareId *string `type:"string"` // An Amazon Web Services account ID. SharedBy *string `type:"string"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the workload is shared. SharedWith *string `min:"12" type:"string"` // The status of a workload share. Status *string `type:"string" enum:"ShareStatus"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // The name of the workload. // // The name must be unique within an account within an Amazon Web Services Region. // Spaces and capitalization are ignored when checking for uniqueness. WorkloadName *string `min:"3" type:"string"` // contains filtered or unexported fields }
A workload share return object.
func (s WorkloadShare) 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 (s *WorkloadShare) SetPermissionType(v string) *WorkloadShare
SetPermissionType sets the PermissionType field's value.
func (s *WorkloadShare) SetShareId(v string) *WorkloadShare
SetShareId sets the ShareId field's value.
func (s *WorkloadShare) SetSharedBy(v string) *WorkloadShare
SetSharedBy sets the SharedBy field's value.
func (s *WorkloadShare) SetSharedWith(v string) *WorkloadShare
SetSharedWith sets the SharedWith field's value.
func (s *WorkloadShare) SetStatus(v string) *WorkloadShare
SetStatus sets the Status field's value.
func (s *WorkloadShare) SetWorkloadId(v string) *WorkloadShare
SetWorkloadId sets the WorkloadId field's value.
func (s *WorkloadShare) SetWorkloadName(v string) *WorkloadShare
SetWorkloadName sets the WorkloadName field's value.
func (s WorkloadShare) 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 WorkloadShareSummary struct { // Permission granted on a workload share. PermissionType *string `type:"string" enum:"PermissionType"` // The ID associated with the workload share. ShareId *string `type:"string"` // The Amazon Web Services account ID, IAM role, organization ID, or organizational // unit (OU) ID with which the workload is shared. SharedWith *string `min:"12" type:"string"` // The status of a workload share. Status *string `type:"string" enum:"ShareStatus"` // Optional message to compliment the Status field. StatusMessage *string `min:"1" type:"string"` // contains filtered or unexported fields }
A workload share summary return object.
func (s WorkloadShareSummary) 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 (s *WorkloadShareSummary) SetPermissionType(v string) *WorkloadShareSummary
SetPermissionType sets the PermissionType field's value.
func (s *WorkloadShareSummary) SetShareId(v string) *WorkloadShareSummary
SetShareId sets the ShareId field's value.
func (s *WorkloadShareSummary) SetSharedWith(v string) *WorkloadShareSummary
SetSharedWith sets the SharedWith field's value.
func (s *WorkloadShareSummary) SetStatus(v string) *WorkloadShareSummary
SetStatus sets the Status field's value.
func (s *WorkloadShareSummary) SetStatusMessage(v string) *WorkloadShareSummary
SetStatusMessage sets the StatusMessage field's value.
func (s WorkloadShareSummary) 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 WorkloadSummary struct { // The improvement status for a workload. ImprovementStatus *string `type:"string" enum:"WorkloadImprovementStatus"` // The list of lenses associated with the workload. Each lens is identified // by its LensSummary$LensAlias. Lenses []*string `type:"list"` // An Amazon Web Services account ID. Owner *string `type:"string"` // A map from risk names to the count of how questions have that rating. RiskCounts map[string]*int64 `type:"map"` // The date and time recorded. UpdatedAt *time.Time `type:"timestamp"` // The ARN for the workload. WorkloadArn *string `type:"string"` // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. WorkloadId *string `type:"string"` // The name of the workload. // // The name must be unique within an account within an Amazon Web Services Region. // Spaces and capitalization are ignored when checking for uniqueness. WorkloadName *string `min:"3" type:"string"` // contains filtered or unexported fields }
A workload summary return object.
func (s WorkloadSummary) 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 (s *WorkloadSummary) SetImprovementStatus(v string) *WorkloadSummary
SetImprovementStatus sets the ImprovementStatus field's value.
func (s *WorkloadSummary) SetLenses(v []*string) *WorkloadSummary
SetLenses sets the Lenses field's value.
func (s *WorkloadSummary) SetOwner(v string) *WorkloadSummary
SetOwner sets the Owner field's value.
func (s *WorkloadSummary) SetRiskCounts(v map[string]*int64) *WorkloadSummary
SetRiskCounts sets the RiskCounts field's value.
func (s *WorkloadSummary) SetUpdatedAt(v time.Time) *WorkloadSummary
SetUpdatedAt sets the UpdatedAt field's value.
func (s *WorkloadSummary) SetWorkloadArn(v string) *WorkloadSummary
SetWorkloadArn sets the WorkloadArn field's value.
func (s *WorkloadSummary) SetWorkloadId(v string) *WorkloadSummary
SetWorkloadId sets the WorkloadId field's value.
func (s *WorkloadSummary) SetWorkloadName(v string) *WorkloadSummary
SetWorkloadName sets the WorkloadName field's value.
func (s WorkloadSummary) 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".