resiliencehub

package
v1.44.35 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 10 Imported by: 11

Documentation

Overview

Package resiliencehub provides the client and types for making API requests to AWS Resilience Hub.

AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.

See https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30 for more information on this service.

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

Using the Client

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

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

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

See the AWS Resilience Hub client ResilienceHub for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/resiliencehub/#New

Index

Constants

View Source
const (
	// AlarmTypeMetric is a AlarmType enum value
	AlarmTypeMetric = "Metric"

	// AlarmTypeComposite is a AlarmType enum value
	AlarmTypeComposite = "Composite"

	// AlarmTypeCanary is a AlarmType enum value
	AlarmTypeCanary = "Canary"

	// AlarmTypeLogs is a AlarmType enum value
	AlarmTypeLogs = "Logs"

	// AlarmTypeEvent is a AlarmType enum value
	AlarmTypeEvent = "Event"
)
View Source
const (
	// AppAssessmentScheduleTypeDisabled is a AppAssessmentScheduleType enum value
	AppAssessmentScheduleTypeDisabled = "Disabled"

	// AppAssessmentScheduleTypeDaily is a AppAssessmentScheduleType enum value
	AppAssessmentScheduleTypeDaily = "Daily"
)
View Source
const (
	// AppComplianceStatusTypePolicyBreached is a AppComplianceStatusType enum value
	AppComplianceStatusTypePolicyBreached = "PolicyBreached"

	// AppComplianceStatusTypePolicyMet is a AppComplianceStatusType enum value
	AppComplianceStatusTypePolicyMet = "PolicyMet"

	// AppComplianceStatusTypeNotAssessed is a AppComplianceStatusType enum value
	AppComplianceStatusTypeNotAssessed = "NotAssessed"

	// AppComplianceStatusTypeChangesDetected is a AppComplianceStatusType enum value
	AppComplianceStatusTypeChangesDetected = "ChangesDetected"
)
View Source
const (
	// AppStatusTypeActive is a AppStatusType enum value
	AppStatusTypeActive = "Active"

	// AppStatusTypeDeleting is a AppStatusType enum value
	AppStatusTypeDeleting = "Deleting"
)
View Source
const (
	// AssessmentInvokerUser is a AssessmentInvoker enum value
	AssessmentInvokerUser = "User"

	// AssessmentInvokerSystem is a AssessmentInvoker enum value
	AssessmentInvokerSystem = "System"
)
View Source
const (
	// AssessmentStatusPending is a AssessmentStatus enum value
	AssessmentStatusPending = "Pending"

	// AssessmentStatusInProgress is a AssessmentStatus enum value
	AssessmentStatusInProgress = "InProgress"

	// AssessmentStatusFailed is a AssessmentStatus enum value
	AssessmentStatusFailed = "Failed"

	// AssessmentStatusSuccess is a AssessmentStatus enum value
	AssessmentStatusSuccess = "Success"
)
View Source
const (
	// ComplianceStatusPolicyBreached is a ComplianceStatus enum value
	ComplianceStatusPolicyBreached = "PolicyBreached"

	// ComplianceStatusPolicyMet is a ComplianceStatus enum value
	ComplianceStatusPolicyMet = "PolicyMet"
)
View Source
const (
	// ConfigRecommendationOptimizationTypeLeastCost is a ConfigRecommendationOptimizationType enum value
	ConfigRecommendationOptimizationTypeLeastCost = "LeastCost"

	// ConfigRecommendationOptimizationTypeLeastChange is a ConfigRecommendationOptimizationType enum value
	ConfigRecommendationOptimizationTypeLeastChange = "LeastChange"

	// ConfigRecommendationOptimizationTypeBestAzrecovery is a ConfigRecommendationOptimizationType enum value
	ConfigRecommendationOptimizationTypeBestAzrecovery = "BestAZRecovery"

	// ConfigRecommendationOptimizationTypeLeastErrors is a ConfigRecommendationOptimizationType enum value
	ConfigRecommendationOptimizationTypeLeastErrors = "LeastErrors"

	// ConfigRecommendationOptimizationTypeBestAttainable is a ConfigRecommendationOptimizationType enum value
	ConfigRecommendationOptimizationTypeBestAttainable = "BestAttainable"
)
View Source
const (
	// CostFrequencyHourly is a CostFrequency enum value
	CostFrequencyHourly = "Hourly"

	// CostFrequencyDaily is a CostFrequency enum value
	CostFrequencyDaily = "Daily"

	// CostFrequencyMonthly is a CostFrequency enum value
	CostFrequencyMonthly = "Monthly"

	// CostFrequencyYearly is a CostFrequency enum value
	CostFrequencyYearly = "Yearly"
)
View Source
const (
	// DataLocationConstraintAnyLocation is a DataLocationConstraint enum value
	DataLocationConstraintAnyLocation = "AnyLocation"

	// DataLocationConstraintSameContinent is a DataLocationConstraint enum value
	DataLocationConstraintSameContinent = "SameContinent"

	// DataLocationConstraintSameCountry is a DataLocationConstraint enum value
	DataLocationConstraintSameCountry = "SameCountry"
)
View Source
const (
	// DisruptionTypeSoftware is a DisruptionType enum value
	DisruptionTypeSoftware = "Software"

	// DisruptionTypeHardware is a DisruptionType enum value
	DisruptionTypeHardware = "Hardware"

	// DisruptionTypeAz is a DisruptionType enum value
	DisruptionTypeAz = "AZ"

	// DisruptionTypeRegion is a DisruptionType enum value
	DisruptionTypeRegion = "Region"
)
View Source
const (
	// EstimatedCostTierL1 is a EstimatedCostTier enum value
	EstimatedCostTierL1 = "L1"

	// EstimatedCostTierL2 is a EstimatedCostTier enum value
	EstimatedCostTierL2 = "L2"

	// EstimatedCostTierL3 is a EstimatedCostTier enum value
	EstimatedCostTierL3 = "L3"

	// EstimatedCostTierL4 is a EstimatedCostTier enum value
	EstimatedCostTierL4 = "L4"
)
View Source
const (
	// HaArchitectureMultiSite is a HaArchitecture enum value
	HaArchitectureMultiSite = "MultiSite"

	// HaArchitectureWarmStandby is a HaArchitecture enum value
	HaArchitectureWarmStandby = "WarmStandby"

	// HaArchitecturePilotLight is a HaArchitecture enum value
	HaArchitecturePilotLight = "PilotLight"

	// HaArchitectureBackupAndRestore is a HaArchitecture enum value
	HaArchitectureBackupAndRestore = "BackupAndRestore"

	// HaArchitectureNoRecoveryPlan is a HaArchitecture enum value
	HaArchitectureNoRecoveryPlan = "NoRecoveryPlan"
)
View Source
const (
	// PhysicalIdentifierTypeArn is a PhysicalIdentifierType enum value
	PhysicalIdentifierTypeArn = "Arn"

	// PhysicalIdentifierTypeNative is a PhysicalIdentifierType enum value
	PhysicalIdentifierTypeNative = "Native"
)
View Source
const (
	// RecommendationComplianceStatusBreachedUnattainable is a RecommendationComplianceStatus enum value
	RecommendationComplianceStatusBreachedUnattainable = "BreachedUnattainable"

	// RecommendationComplianceStatusBreachedCanMeet is a RecommendationComplianceStatus enum value
	RecommendationComplianceStatusBreachedCanMeet = "BreachedCanMeet"

	// RecommendationComplianceStatusMetCanImprove is a RecommendationComplianceStatus enum value
	RecommendationComplianceStatusMetCanImprove = "MetCanImprove"
)
View Source
const (
	// RecommendationTemplateStatusPending is a RecommendationTemplateStatus enum value
	RecommendationTemplateStatusPending = "Pending"

	// RecommendationTemplateStatusInProgress is a RecommendationTemplateStatus enum value
	RecommendationTemplateStatusInProgress = "InProgress"

	// RecommendationTemplateStatusFailed is a RecommendationTemplateStatus enum value
	RecommendationTemplateStatusFailed = "Failed"

	// RecommendationTemplateStatusSuccess is a RecommendationTemplateStatus enum value
	RecommendationTemplateStatusSuccess = "Success"
)
View Source
const (
	// RenderRecommendationTypeAlarm is a RenderRecommendationType enum value
	RenderRecommendationTypeAlarm = "Alarm"

	// RenderRecommendationTypeSop is a RenderRecommendationType enum value
	RenderRecommendationTypeSop = "Sop"

	// RenderRecommendationTypeTest is a RenderRecommendationType enum value
	RenderRecommendationTypeTest = "Test"
)
View Source
const (
	// ResiliencyPolicyTierMissionCritical is a ResiliencyPolicyTier enum value
	ResiliencyPolicyTierMissionCritical = "MissionCritical"

	// ResiliencyPolicyTierCritical is a ResiliencyPolicyTier enum value
	ResiliencyPolicyTierCritical = "Critical"

	// ResiliencyPolicyTierImportant is a ResiliencyPolicyTier enum value
	ResiliencyPolicyTierImportant = "Important"

	// ResiliencyPolicyTierCoreServices is a ResiliencyPolicyTier enum value
	ResiliencyPolicyTierCoreServices = "CoreServices"

	// ResiliencyPolicyTierNonCritical is a ResiliencyPolicyTier enum value
	ResiliencyPolicyTierNonCritical = "NonCritical"
)
View Source
const (
	// ResourceImportStatusTypePending is a ResourceImportStatusType enum value
	ResourceImportStatusTypePending = "Pending"

	// ResourceImportStatusTypeInProgress is a ResourceImportStatusType enum value
	ResourceImportStatusTypeInProgress = "InProgress"

	// ResourceImportStatusTypeFailed is a ResourceImportStatusType enum value
	ResourceImportStatusTypeFailed = "Failed"

	// ResourceImportStatusTypeSuccess is a ResourceImportStatusType enum value
	ResourceImportStatusTypeSuccess = "Success"
)
View Source
const (
	// ResourceMappingTypeCfnStack is a ResourceMappingType enum value
	ResourceMappingTypeCfnStack = "CfnStack"

	// ResourceMappingTypeResource is a ResourceMappingType enum value
	ResourceMappingTypeResource = "Resource"

	// ResourceMappingTypeAppRegistryApp is a ResourceMappingType enum value
	ResourceMappingTypeAppRegistryApp = "AppRegistryApp"

	// ResourceMappingTypeResourceGroup is a ResourceMappingType enum value
	ResourceMappingTypeResourceGroup = "ResourceGroup"

	// ResourceMappingTypeTerraform is a ResourceMappingType enum value
	ResourceMappingTypeTerraform = "Terraform"
)
View Source
const (
	// ResourceResolutionStatusTypePending is a ResourceResolutionStatusType enum value
	ResourceResolutionStatusTypePending = "Pending"

	// ResourceResolutionStatusTypeInProgress is a ResourceResolutionStatusType enum value
	ResourceResolutionStatusTypeInProgress = "InProgress"

	// ResourceResolutionStatusTypeFailed is a ResourceResolutionStatusType enum value
	ResourceResolutionStatusTypeFailed = "Failed"

	// ResourceResolutionStatusTypeSuccess is a ResourceResolutionStatusType enum value
	ResourceResolutionStatusTypeSuccess = "Success"
)
View Source
const (
	// TemplateFormatCfnYaml is a TemplateFormat enum value
	TemplateFormatCfnYaml = "CfnYaml"

	// TemplateFormatCfnJson is a TemplateFormat enum value
	TemplateFormatCfnJson = "CfnJson"
)
View Source
const (
	// TestRiskSmall is a TestRisk enum value
	TestRiskSmall = "Small"

	// TestRiskMedium is a TestRisk enum value
	TestRiskMedium = "Medium"

	// TestRiskHigh is a TestRisk enum value
	TestRiskHigh = "High"
)
View Source
const (
	// TestTypeSoftware is a TestType enum value
	TestTypeSoftware = "Software"

	// TestTypeHardware is a TestType enum value
	TestTypeHardware = "Hardware"

	// TestTypeAz is a TestType enum value
	TestTypeAz = "AZ"

	// TestTypeRegion is a TestType enum value
	TestTypeRegion = "Region"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You don't have permissions to perform the requested operation. The user or
	// role that is making the request must have at least one IAM permissions policy
	// attached that grants the required permissions.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Occurs when a conflict with a previous successful write is detected. This
	// generally occurs when the previous write did not have time to propagate to
	// the host serving the current request. A retry (with appropriate backoff logic)
	// is the recommended response to this exception.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// This exception occurs when there is an internal failure in the AWS Resilience
	// Hub service.
	ErrCodeInternalServerException = "InternalServerException"

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

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// You have exceeded your service quota. To perform the requested action, remove
	// some of the relevant resources, or use Service Quotas to request a service
	// quota increase.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The limit on the number of requests per second was exceeded.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Indicates that a request was not valid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "resiliencehub" // Name of service.
	EndpointsID = ServiceName     // ID to lookup a service endpoint with.
	ServiceID   = "resiliencehub" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// SopServiceTypeSsm is a SopServiceType enum value
	SopServiceTypeSsm = "SSM"
)

Variables

This section is empty.

Functions

func AlarmType_Values

func AlarmType_Values() []string

AlarmType_Values returns all elements of the AlarmType enum

func AppAssessmentScheduleType_Values added in v1.44.15

func AppAssessmentScheduleType_Values() []string

AppAssessmentScheduleType_Values returns all elements of the AppAssessmentScheduleType enum

func AppComplianceStatusType_Values

func AppComplianceStatusType_Values() []string

AppComplianceStatusType_Values returns all elements of the AppComplianceStatusType enum

func AppStatusType_Values

func AppStatusType_Values() []string

AppStatusType_Values returns all elements of the AppStatusType enum

func AssessmentInvoker_Values

func AssessmentInvoker_Values() []string

AssessmentInvoker_Values returns all elements of the AssessmentInvoker enum

func AssessmentStatus_Values

func AssessmentStatus_Values() []string

AssessmentStatus_Values returns all elements of the AssessmentStatus enum

func ComplianceStatus_Values

func ComplianceStatus_Values() []string

ComplianceStatus_Values returns all elements of the ComplianceStatus enum

func ConfigRecommendationOptimizationType_Values

func ConfigRecommendationOptimizationType_Values() []string

ConfigRecommendationOptimizationType_Values returns all elements of the ConfigRecommendationOptimizationType enum

func CostFrequency_Values

func CostFrequency_Values() []string

CostFrequency_Values returns all elements of the CostFrequency enum

func DataLocationConstraint_Values

func DataLocationConstraint_Values() []string

DataLocationConstraint_Values returns all elements of the DataLocationConstraint enum

func DisruptionType_Values

func DisruptionType_Values() []string

DisruptionType_Values returns all elements of the DisruptionType enum

func EstimatedCostTier_Values

func EstimatedCostTier_Values() []string

EstimatedCostTier_Values returns all elements of the EstimatedCostTier enum

func HaArchitecture_Values

func HaArchitecture_Values() []string

HaArchitecture_Values returns all elements of the HaArchitecture enum

func PhysicalIdentifierType_Values

func PhysicalIdentifierType_Values() []string

PhysicalIdentifierType_Values returns all elements of the PhysicalIdentifierType enum

func RecommendationComplianceStatus_Values

func RecommendationComplianceStatus_Values() []string

RecommendationComplianceStatus_Values returns all elements of the RecommendationComplianceStatus enum

func RecommendationTemplateStatus_Values

func RecommendationTemplateStatus_Values() []string

RecommendationTemplateStatus_Values returns all elements of the RecommendationTemplateStatus enum

func RenderRecommendationType_Values

func RenderRecommendationType_Values() []string

RenderRecommendationType_Values returns all elements of the RenderRecommendationType enum

func ResiliencyPolicyTier_Values

func ResiliencyPolicyTier_Values() []string

ResiliencyPolicyTier_Values returns all elements of the ResiliencyPolicyTier enum

func ResourceImportStatusType_Values

func ResourceImportStatusType_Values() []string

ResourceImportStatusType_Values returns all elements of the ResourceImportStatusType enum

func ResourceMappingType_Values

func ResourceMappingType_Values() []string

ResourceMappingType_Values returns all elements of the ResourceMappingType enum

func ResourceResolutionStatusType_Values

func ResourceResolutionStatusType_Values() []string

ResourceResolutionStatusType_Values returns all elements of the ResourceResolutionStatusType enum

func SopServiceType_Values

func SopServiceType_Values() []string

SopServiceType_Values returns all elements of the SopServiceType enum

func TemplateFormat_Values

func TemplateFormat_Values() []string

TemplateFormat_Values returns all elements of the TemplateFormat enum

func TestRisk_Values

func TestRisk_Values() []string

TestRisk_Values returns all elements of the TestRisk enum

func TestType_Values

func TestType_Values() []string

TestType_Values returns all elements of the TestType enum

Types

type AccessDeniedException

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

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

You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

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

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

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

type AddDraftAppVersionResourceMappingsInput

type AddDraftAppVersionResourceMappingsInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// Mappings used to map logical resources from the template to physical resources.
	// You can use the mapping type CFN_STACK if the application template uses a
	// logical stack name. Or you can map individual resources by using the mapping
	// type RESOURCE. We recommend using the mapping type CFN_STACK if the application
	// is backed by a CloudFormation stack.
	//
	// ResourceMappings is a required field
	ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AddDraftAppVersionResourceMappingsInput) GoString

GoString returns the string representation.

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

func (*AddDraftAppVersionResourceMappingsInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*AddDraftAppVersionResourceMappingsInput) SetResourceMappings

SetResourceMappings sets the ResourceMappings field's value.

func (AddDraftAppVersionResourceMappingsInput) String

String returns the string representation.

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

func (*AddDraftAppVersionResourceMappingsInput) Validate

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

type AddDraftAppVersionResourceMappingsOutput

type AddDraftAppVersionResourceMappingsOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// Mappings used to map logical resources from the template to physical resources.
	// You can use the mapping type CFN_STACK if the application template uses a
	// logical stack name. Or you can map individual resources by using the mapping
	// type RESOURCE. We recommend using the mapping type CFN_STACK if the application
	// is backed by a CloudFormation stack.
	//
	// ResourceMappings is a required field
	ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AddDraftAppVersionResourceMappingsOutput) GoString

GoString returns the string representation.

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

func (*AddDraftAppVersionResourceMappingsOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*AddDraftAppVersionResourceMappingsOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*AddDraftAppVersionResourceMappingsOutput) SetResourceMappings

SetResourceMappings sets the ResourceMappings field's value.

func (AddDraftAppVersionResourceMappingsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 AlarmRecommendation

type AlarmRecommendation struct {

	// The application component for the CloudWatch alarm recommendation.
	AppComponentName *string `locationName:"appComponentName" type:"string"`

	// The description of the recommendation.
	Description *string `locationName:"description" type:"string"`

	// The list of CloudWatch alarm recommendations.
	Items []*RecommendationItem `locationName:"items" type:"list"`

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

	// The prerequisite for the alarm recommendation.
	Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`

	// The identifier of the alarm recommendation.
	//
	// RecommendationId is a required field
	RecommendationId *string `locationName:"recommendationId" type:"string" required:"true"`

	// The reference identifier of the alarm recommendation.
	//
	// ReferenceId is a required field
	ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`

	// The type of alarm recommendation.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"AlarmType"`
	// contains filtered or unexported fields
}

Defines a recommendation for a CloudWatch alarm.

func (AlarmRecommendation) GoString

func (s AlarmRecommendation) 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 (*AlarmRecommendation) SetAppComponentName

func (s *AlarmRecommendation) SetAppComponentName(v string) *AlarmRecommendation

SetAppComponentName sets the AppComponentName field's value.

func (*AlarmRecommendation) SetDescription

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

SetDescription sets the Description field's value.

func (*AlarmRecommendation) SetItems

SetItems sets the Items field's value.

func (*AlarmRecommendation) SetName

SetName sets the Name field's value.

func (*AlarmRecommendation) SetPrerequisite

func (s *AlarmRecommendation) SetPrerequisite(v string) *AlarmRecommendation

SetPrerequisite sets the Prerequisite field's value.

func (*AlarmRecommendation) SetRecommendationId

func (s *AlarmRecommendation) SetRecommendationId(v string) *AlarmRecommendation

SetRecommendationId sets the RecommendationId field's value.

func (*AlarmRecommendation) SetReferenceId

func (s *AlarmRecommendation) SetReferenceId(v string) *AlarmRecommendation

SetReferenceId sets the ReferenceId field's value.

func (*AlarmRecommendation) SetType

SetType sets the Type field's value.

func (AlarmRecommendation) String

func (s AlarmRecommendation) 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 App

type App struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// Assessment execution schedule with 'Daily' or 'Disabled' values.
	AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`

	// The current status of compliance for the resiliency policy.
	ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"AppComplianceStatusType"`

	// The timestamp for when the app was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`

	// The optional description for an app.
	Description *string `locationName:"description" type:"string"`

	// The timestamp for the most recent compliance evaluation.
	LastAppComplianceEvaluationTime *time.Time `locationName:"lastAppComplianceEvaluationTime" type:"timestamp"`

	// The timestamp for the most recent resiliency score evaluation.
	LastResiliencyScoreEvaluationTime *time.Time `locationName:"lastResiliencyScoreEvaluationTime" type:"timestamp"`

	// The name for the application.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The current resiliency score for the application.
	ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`

	// The status of the action.
	Status *string `locationName:"status" type:"string" enum:"AppStatusType"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by App's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

Defines a Resilience Hub application.

func (App) GoString

func (s App) 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 (*App) SetAppArn

func (s *App) SetAppArn(v string) *App

SetAppArn sets the AppArn field's value.

func (*App) SetAssessmentSchedule added in v1.44.15

func (s *App) SetAssessmentSchedule(v string) *App

SetAssessmentSchedule sets the AssessmentSchedule field's value.

func (*App) SetComplianceStatus

func (s *App) SetComplianceStatus(v string) *App

SetComplianceStatus sets the ComplianceStatus field's value.

func (*App) SetCreationTime

func (s *App) SetCreationTime(v time.Time) *App

SetCreationTime sets the CreationTime field's value.

func (*App) SetDescription

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

SetDescription sets the Description field's value.

func (*App) SetLastAppComplianceEvaluationTime

func (s *App) SetLastAppComplianceEvaluationTime(v time.Time) *App

SetLastAppComplianceEvaluationTime sets the LastAppComplianceEvaluationTime field's value.

func (*App) SetLastResiliencyScoreEvaluationTime

func (s *App) SetLastResiliencyScoreEvaluationTime(v time.Time) *App

SetLastResiliencyScoreEvaluationTime sets the LastResiliencyScoreEvaluationTime field's value.

func (*App) SetName

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

SetName sets the Name field's value.

func (*App) SetPolicyArn

func (s *App) SetPolicyArn(v string) *App

SetPolicyArn sets the PolicyArn field's value.

func (*App) SetResiliencyScore

func (s *App) SetResiliencyScore(v float64) *App

SetResiliencyScore sets the ResiliencyScore field's value.

func (*App) SetStatus

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

SetStatus sets the Status field's value.

func (*App) SetTags

func (s *App) SetTags(v map[string]*string) *App

SetTags sets the Tags field's value.

func (App) String

func (s App) 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 AppAssessment

type AppAssessment struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	AppArn *string `locationName:"appArn" type:"string"`

	// The version of the application.
	AppVersion *string `locationName:"appVersion" type:"string"`

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The name of the assessment.
	AssessmentName *string `locationName:"assessmentName" type:"string"`

	// The current status of the assessment for the resiliency policy.
	//
	// AssessmentStatus is a required field
	AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`

	// The application compliance against the resiliency policy.
	Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`

	// The current status of the compliance for the resiliency policy.
	ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`

	// The cost for the application.
	Cost *Cost `locationName:"cost" type:"structure"`

	// The end time for the action.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The entity that invoked the assessment.
	//
	// Invoker is a required field
	Invoker *string `locationName:"invoker" type:"string" required:"true" enum:"AssessmentInvoker"`

	// Error or warning message from the assessment execution
	Message *string `locationName:"message" min:"1" type:"string"`

	// The resiliency policy.
	Policy *ResiliencyPolicy `locationName:"policy" type:"structure"`

	// The current resiliency score for the application.
	ResiliencyScore *ResiliencyScore `locationName:"resiliencyScore" type:"structure"`

	// A resource error object containing a list of errors retrieving an application's
	// resources.
	ResourceErrorsDetails *ResourceErrorsDetails `locationName:"resourceErrorsDetails" type:"structure"`

	// The starting time for the action.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AppAssessment's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

Defines an application assessment.

func (AppAssessment) GoString

func (s AppAssessment) 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 (*AppAssessment) SetAppArn

func (s *AppAssessment) SetAppArn(v string) *AppAssessment

SetAppArn sets the AppArn field's value.

func (*AppAssessment) SetAppVersion

func (s *AppAssessment) SetAppVersion(v string) *AppAssessment

SetAppVersion sets the AppVersion field's value.

func (*AppAssessment) SetAssessmentArn

func (s *AppAssessment) SetAssessmentArn(v string) *AppAssessment

SetAssessmentArn sets the AssessmentArn field's value.

func (*AppAssessment) SetAssessmentName

func (s *AppAssessment) SetAssessmentName(v string) *AppAssessment

SetAssessmentName sets the AssessmentName field's value.

func (*AppAssessment) SetAssessmentStatus

func (s *AppAssessment) SetAssessmentStatus(v string) *AppAssessment

SetAssessmentStatus sets the AssessmentStatus field's value.

func (*AppAssessment) SetCompliance

func (s *AppAssessment) SetCompliance(v map[string]*DisruptionCompliance) *AppAssessment

SetCompliance sets the Compliance field's value.

func (*AppAssessment) SetComplianceStatus

func (s *AppAssessment) SetComplianceStatus(v string) *AppAssessment

SetComplianceStatus sets the ComplianceStatus field's value.

func (*AppAssessment) SetCost

func (s *AppAssessment) SetCost(v *Cost) *AppAssessment

SetCost sets the Cost field's value.

func (*AppAssessment) SetEndTime

func (s *AppAssessment) SetEndTime(v time.Time) *AppAssessment

SetEndTime sets the EndTime field's value.

func (*AppAssessment) SetInvoker

func (s *AppAssessment) SetInvoker(v string) *AppAssessment

SetInvoker sets the Invoker field's value.

func (*AppAssessment) SetMessage

func (s *AppAssessment) SetMessage(v string) *AppAssessment

SetMessage sets the Message field's value.

func (*AppAssessment) SetPolicy

func (s *AppAssessment) SetPolicy(v *ResiliencyPolicy) *AppAssessment

SetPolicy sets the Policy field's value.

func (*AppAssessment) SetResiliencyScore

func (s *AppAssessment) SetResiliencyScore(v *ResiliencyScore) *AppAssessment

SetResiliencyScore sets the ResiliencyScore field's value.

func (*AppAssessment) SetResourceErrorsDetails added in v1.44.15

func (s *AppAssessment) SetResourceErrorsDetails(v *ResourceErrorsDetails) *AppAssessment

SetResourceErrorsDetails sets the ResourceErrorsDetails field's value.

func (*AppAssessment) SetStartTime

func (s *AppAssessment) SetStartTime(v time.Time) *AppAssessment

SetStartTime sets the StartTime field's value.

func (*AppAssessment) SetTags

func (s *AppAssessment) SetTags(v map[string]*string) *AppAssessment

SetTags sets the Tags field's value.

func (AppAssessment) String

func (s AppAssessment) 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 AppAssessmentSummary

type AppAssessmentSummary struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	AppArn *string `locationName:"appArn" type:"string"`

	// The version of the application.
	AppVersion *string `locationName:"appVersion" type:"string"`

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The name of the assessment.
	AssessmentName *string `locationName:"assessmentName" type:"string"`

	// The current status of the assessment for the resiliency policy.
	//
	// AssessmentStatus is a required field
	AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`

	// The current status of compliance for the resiliency policy.
	ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`

	// The cost for the application.
	Cost *Cost `locationName:"cost" type:"structure"`

	// The end time for the action.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The entity that invoked the assessment.
	Invoker *string `locationName:"invoker" type:"string" enum:"AssessmentInvoker"`

	// The message from the assessment run.
	Message *string `locationName:"message" min:"1" type:"string"`

	// The current resiliency score for the application.
	ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`

	// The starting time for the action.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`
	// contains filtered or unexported fields
}

Defines an application assessment summary.

func (AppAssessmentSummary) GoString

func (s AppAssessmentSummary) 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 (*AppAssessmentSummary) SetAppArn

SetAppArn sets the AppArn field's value.

func (*AppAssessmentSummary) SetAppVersion

func (s *AppAssessmentSummary) SetAppVersion(v string) *AppAssessmentSummary

SetAppVersion sets the AppVersion field's value.

func (*AppAssessmentSummary) SetAssessmentArn

func (s *AppAssessmentSummary) SetAssessmentArn(v string) *AppAssessmentSummary

SetAssessmentArn sets the AssessmentArn field's value.

func (*AppAssessmentSummary) SetAssessmentName

func (s *AppAssessmentSummary) SetAssessmentName(v string) *AppAssessmentSummary

SetAssessmentName sets the AssessmentName field's value.

func (*AppAssessmentSummary) SetAssessmentStatus

func (s *AppAssessmentSummary) SetAssessmentStatus(v string) *AppAssessmentSummary

SetAssessmentStatus sets the AssessmentStatus field's value.

func (*AppAssessmentSummary) SetComplianceStatus

func (s *AppAssessmentSummary) SetComplianceStatus(v string) *AppAssessmentSummary

SetComplianceStatus sets the ComplianceStatus field's value.

func (*AppAssessmentSummary) SetCost

SetCost sets the Cost field's value.

func (*AppAssessmentSummary) SetEndTime

SetEndTime sets the EndTime field's value.

func (*AppAssessmentSummary) SetInvoker

SetInvoker sets the Invoker field's value.

func (*AppAssessmentSummary) SetMessage

SetMessage sets the Message field's value.

func (*AppAssessmentSummary) SetResiliencyScore

func (s *AppAssessmentSummary) SetResiliencyScore(v float64) *AppAssessmentSummary

SetResiliencyScore sets the ResiliencyScore field's value.

func (*AppAssessmentSummary) SetStartTime

func (s *AppAssessmentSummary) SetStartTime(v time.Time) *AppAssessmentSummary

SetStartTime sets the StartTime field's value.

func (AppAssessmentSummary) String

func (s AppAssessmentSummary) 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 AppComponent

type AppComponent struct {

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

	// The type of application component.
	//
	// Type is a required field
	Type *string `locationName:"type" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines an application component.

func (AppComponent) GoString

func (s AppComponent) 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 (*AppComponent) SetName

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

SetName sets the Name field's value.

func (*AppComponent) SetType

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

SetType sets the Type field's value.

func (AppComponent) String

func (s AppComponent) 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 AppComponentCompliance

type AppComponentCompliance struct {

	// The name of the application component.
	AppComponentName *string `locationName:"appComponentName" type:"string"`

	// The compliance of the application component against the resiliency policy.
	Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`

	// The cost for the application.
	Cost *Cost `locationName:"cost" type:"structure"`

	// The compliance message.
	Message *string `locationName:"message" min:"1" type:"string"`

	// The current resiliency score for the application.
	ResiliencyScore *ResiliencyScore `locationName:"resiliencyScore" type:"structure"`

	// The status of the action.
	Status *string `locationName:"status" type:"string" enum:"ComplianceStatus"`
	// contains filtered or unexported fields
}

Defines the compliance of an application component against the resiliency policy.

func (AppComponentCompliance) GoString

func (s AppComponentCompliance) 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 (*AppComponentCompliance) SetAppComponentName

func (s *AppComponentCompliance) SetAppComponentName(v string) *AppComponentCompliance

SetAppComponentName sets the AppComponentName field's value.

func (*AppComponentCompliance) SetCompliance

SetCompliance sets the Compliance field's value.

func (*AppComponentCompliance) SetCost

SetCost sets the Cost field's value.

func (*AppComponentCompliance) SetMessage

SetMessage sets the Message field's value.

func (*AppComponentCompliance) SetResiliencyScore

SetResiliencyScore sets the ResiliencyScore field's value.

func (*AppComponentCompliance) SetStatus

SetStatus sets the Status field's value.

func (AppComponentCompliance) String

func (s AppComponentCompliance) 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 AppSummary

type AppSummary struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// Assessment execution schedule with 'Daily' or 'Disabled' values.
	AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`

	// The current status of compliance for the resiliency policy.
	ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"AppComplianceStatusType"`

	// The timestamp for when the app was created.
	//
	// CreationTime is a required field
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`

	// The optional description for an app.
	Description *string `locationName:"description" type:"string"`

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

	// The current resiliency score for the application.
	ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`
	// contains filtered or unexported fields
}

Defines an application summary.

func (AppSummary) GoString

func (s AppSummary) 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 (*AppSummary) SetAppArn

func (s *AppSummary) SetAppArn(v string) *AppSummary

SetAppArn sets the AppArn field's value.

func (*AppSummary) SetAssessmentSchedule added in v1.44.15

func (s *AppSummary) SetAssessmentSchedule(v string) *AppSummary

SetAssessmentSchedule sets the AssessmentSchedule field's value.

func (*AppSummary) SetComplianceStatus

func (s *AppSummary) SetComplianceStatus(v string) *AppSummary

SetComplianceStatus sets the ComplianceStatus field's value.

func (*AppSummary) SetCreationTime

func (s *AppSummary) SetCreationTime(v time.Time) *AppSummary

SetCreationTime sets the CreationTime field's value.

func (*AppSummary) SetDescription

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

SetDescription sets the Description field's value.

func (*AppSummary) SetName

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

SetName sets the Name field's value.

func (*AppSummary) SetResiliencyScore

func (s *AppSummary) SetResiliencyScore(v float64) *AppSummary

SetResiliencyScore sets the ResiliencyScore field's value.

func (AppSummary) String

func (s AppSummary) 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 AppVersionSummary

type AppVersionSummary struct {

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The version of the application.

func (AppVersionSummary) GoString

func (s AppVersionSummary) 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 (*AppVersionSummary) SetAppVersion

func (s *AppVersionSummary) SetAppVersion(v string) *AppVersionSummary

SetAppVersion sets the AppVersion field's value.

func (AppVersionSummary) String

func (s AppVersionSummary) 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 ComponentRecommendation

type ComponentRecommendation struct {

	// The name of the application component.
	//
	// AppComponentName is a required field
	AppComponentName *string `locationName:"appComponentName" type:"string" required:"true"`

	// The list of recommendations.
	//
	// ConfigRecommendations is a required field
	ConfigRecommendations []*ConfigRecommendation `locationName:"configRecommendations" type:"list" required:"true"`

	// The recommendation status.
	//
	// RecommendationStatus is a required field
	RecommendationStatus *string `locationName:"recommendationStatus" type:"string" required:"true" enum:"RecommendationComplianceStatus"`
	// contains filtered or unexported fields
}

Defines recommendations for a Resilience Hub application component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.

func (ComponentRecommendation) GoString

func (s ComponentRecommendation) 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 (*ComponentRecommendation) SetAppComponentName

func (s *ComponentRecommendation) SetAppComponentName(v string) *ComponentRecommendation

SetAppComponentName sets the AppComponentName field's value.

func (*ComponentRecommendation) SetConfigRecommendations

func (s *ComponentRecommendation) SetConfigRecommendations(v []*ConfigRecommendation) *ComponentRecommendation

SetConfigRecommendations sets the ConfigRecommendations field's value.

func (*ComponentRecommendation) SetRecommendationStatus

func (s *ComponentRecommendation) SetRecommendationStatus(v string) *ComponentRecommendation

SetRecommendationStatus sets the RecommendationStatus field's value.

func (ComponentRecommendation) String

func (s ComponentRecommendation) 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 ConfigRecommendation

type ConfigRecommendation struct {

	// The application component name.
	AppComponentName *string `locationName:"appComponentName" type:"string"`

	// The current compliance against the resiliency policy before applying the
	// configuration change.
	Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`

	// The cost for the application.
	Cost *Cost `locationName:"cost" type:"structure"`

	// The optional description for an app.
	Description *string `locationName:"description" type:"string"`

	// The architecture type.
	HaArchitecture *string `locationName:"haArchitecture" type:"string" enum:"HaArchitecture"`

	// The name of the recommendation configuration.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The type of optimization.
	//
	// OptimizationType is a required field
	OptimizationType *string `locationName:"optimizationType" type:"string" required:"true" enum:"ConfigRecommendationOptimizationType"`

	// The expected compliance against the resiliency policy after applying the
	// configuration change.
	RecommendationCompliance map[string]*RecommendationDisruptionCompliance `locationName:"recommendationCompliance" type:"map"`

	// The reference identifier for the recommendation configuration.
	//
	// ReferenceId is a required field
	ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`

	// List of the suggested configuration changes.
	SuggestedChanges []*string `locationName:"suggestedChanges" type:"list"`
	// contains filtered or unexported fields
}

Defines a configuration recommendation.

func (ConfigRecommendation) GoString

func (s ConfigRecommendation) 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 (*ConfigRecommendation) SetAppComponentName

func (s *ConfigRecommendation) SetAppComponentName(v string) *ConfigRecommendation

SetAppComponentName sets the AppComponentName field's value.

func (*ConfigRecommendation) SetCompliance

SetCompliance sets the Compliance field's value.

func (*ConfigRecommendation) SetCost

SetCost sets the Cost field's value.

func (*ConfigRecommendation) SetDescription

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

SetDescription sets the Description field's value.

func (*ConfigRecommendation) SetHaArchitecture

func (s *ConfigRecommendation) SetHaArchitecture(v string) *ConfigRecommendation

SetHaArchitecture sets the HaArchitecture field's value.

func (*ConfigRecommendation) SetName

SetName sets the Name field's value.

func (*ConfigRecommendation) SetOptimizationType

func (s *ConfigRecommendation) SetOptimizationType(v string) *ConfigRecommendation

SetOptimizationType sets the OptimizationType field's value.

func (*ConfigRecommendation) SetRecommendationCompliance

SetRecommendationCompliance sets the RecommendationCompliance field's value.

func (*ConfigRecommendation) SetReferenceId

func (s *ConfigRecommendation) SetReferenceId(v string) *ConfigRecommendation

SetReferenceId sets the ReferenceId field's value.

func (*ConfigRecommendation) SetSuggestedChanges

func (s *ConfigRecommendation) SetSuggestedChanges(v []*string) *ConfigRecommendation

SetSuggestedChanges sets the SuggestedChanges field's value.

func (ConfigRecommendation) String

func (s ConfigRecommendation) String() string

String returns the string representation.

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

type ConflictException

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

	Message_ *string `locationName:"message" min:"1" type:"string"`

	// The identifier of the resource that the exception applies to.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of the resource that the exception applies to.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

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

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

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

type Cost

type Cost struct {

	// The cost amount.
	//
	// Amount is a required field
	Amount *float64 `locationName:"amount" type:"double" required:"true"`

	// The cost currency, for example USD.
	//
	// Currency is a required field
	Currency *string `locationName:"currency" type:"string" required:"true"`

	// The cost frequency.
	//
	// Frequency is a required field
	Frequency *string `locationName:"frequency" type:"string" required:"true" enum:"CostFrequency"`
	// contains filtered or unexported fields
}

Defines a cost object.

func (Cost) GoString

func (s Cost) 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 (*Cost) SetAmount

func (s *Cost) SetAmount(v float64) *Cost

SetAmount sets the Amount field's value.

func (*Cost) SetCurrency

func (s *Cost) SetCurrency(v string) *Cost

SetCurrency sets the Currency field's value.

func (*Cost) SetFrequency

func (s *Cost) SetFrequency(v string) *Cost

SetFrequency sets the Frequency field's value.

func (Cost) String

func (s Cost) 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 CreateAppInput

type CreateAppInput struct {

	// Assessment execution schedule with 'Daily' or 'Disabled' values.
	AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The optional description for an app.
	Description *string `locationName:"description" type:"string"`

	// The name for the application.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateAppInput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (CreateAppInput) GoString

func (s CreateAppInput) 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 (*CreateAppInput) SetAssessmentSchedule added in v1.44.15

func (s *CreateAppInput) SetAssessmentSchedule(v string) *CreateAppInput

SetAssessmentSchedule sets the AssessmentSchedule field's value.

func (*CreateAppInput) SetClientToken

func (s *CreateAppInput) SetClientToken(v string) *CreateAppInput

SetClientToken sets the ClientToken field's value.

func (*CreateAppInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateAppInput) SetName

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

SetName sets the Name field's value.

func (*CreateAppInput) SetPolicyArn

func (s *CreateAppInput) SetPolicyArn(v string) *CreateAppInput

SetPolicyArn sets the PolicyArn field's value.

func (*CreateAppInput) SetTags

func (s *CreateAppInput) SetTags(v map[string]*string) *CreateAppInput

SetTags sets the Tags field's value.

func (CreateAppInput) String

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

func (s *CreateAppInput) Validate() error

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

type CreateAppOutput

type CreateAppOutput struct {

	// The created application returned as an object with details including compliance
	// status, creation time, description, resiliency score, and more.
	//
	// App is a required field
	App *App `locationName:"app" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateAppOutput) GoString

func (s CreateAppOutput) 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 (*CreateAppOutput) SetApp

func (s *CreateAppOutput) SetApp(v *App) *CreateAppOutput

SetApp sets the App field's value.

func (CreateAppOutput) String

func (s CreateAppOutput) 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 CreateRecommendationTemplateInput

type CreateRecommendationTemplateInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The name of the Amazon S3 bucket that will contain the recommendation template.
	BucketName *string `locationName:"bucketName" type:"string"`

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The format for the recommendation template.
	//
	// CfnJson
	//
	// The template is CloudFormation JSON.
	//
	// CfnYaml
	//
	// The template is CloudFormation YAML.
	Format *string `locationName:"format" type:"string" enum:"TemplateFormat"`

	// The name for the recommendation template.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// Identifiers for the recommendations used to create a recommendation template.
	RecommendationIds []*string `locationName:"recommendationIds" min:"1" type:"list"`

	// An array of strings that specify the recommendation template type or types.
	//
	// Alarm
	//
	// The template is an AlarmRecommendation template.
	//
	// Sop
	//
	// The template is a SopRecommendation template.
	//
	// Test
	//
	// The template is a TestRecommendation template.
	RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" enum:"RenderRecommendationType"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateRecommendationTemplateInput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (CreateRecommendationTemplateInput) GoString

GoString returns the string representation.

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

func (*CreateRecommendationTemplateInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*CreateRecommendationTemplateInput) SetBucketName

SetBucketName sets the BucketName field's value.

func (*CreateRecommendationTemplateInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateRecommendationTemplateInput) SetFormat

SetFormat sets the Format field's value.

func (*CreateRecommendationTemplateInput) SetName

SetName sets the Name field's value.

func (*CreateRecommendationTemplateInput) SetRecommendationIds

SetRecommendationIds sets the RecommendationIds field's value.

func (*CreateRecommendationTemplateInput) SetRecommendationTypes

SetRecommendationTypes sets the RecommendationTypes field's value.

func (*CreateRecommendationTemplateInput) SetTags

SetTags sets the Tags field's value.

func (CreateRecommendationTemplateInput) String

String returns the string representation.

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

func (*CreateRecommendationTemplateInput) Validate

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

type CreateRecommendationTemplateOutput

type CreateRecommendationTemplateOutput struct {

	// The newly created recommendation template, returned as an object. This object
	// includes the template's name, format, status, tags, Amazon S3 bucket location,
	// and more.
	RecommendationTemplate *RecommendationTemplate `locationName:"recommendationTemplate" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateRecommendationTemplateOutput) GoString

GoString returns the string representation.

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

func (*CreateRecommendationTemplateOutput) SetRecommendationTemplate

SetRecommendationTemplate sets the RecommendationTemplate field's value.

func (CreateRecommendationTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 CreateResiliencyPolicyInput

type CreateResiliencyPolicyInput struct {

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// Specifies a high-level geographical location constraint for where your resilience
	// policy data can be stored.
	DataLocationConstraint *string `locationName:"dataLocationConstraint" type:"string" enum:"DataLocationConstraint"`

	// The type of resiliency policy to be created, including the recovery time
	// objective (RTO) and recovery point objective (RPO) in seconds.
	//
	// Policy is a required field
	Policy map[string]*FailurePolicy `locationName:"policy" type:"map" required:"true"`

	// The description for the policy.
	PolicyDescription *string `locationName:"policyDescription" type:"string"`

	// The name of the policy
	//
	// PolicyName is a required field
	PolicyName *string `locationName:"policyName" type:"string" required:"true"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateResiliencyPolicyInput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`

	// The tier for this resiliency policy, ranging from the highest severity (MissionCritical)
	// to lowest (NonCritical).
	//
	// Tier is a required field
	Tier *string `locationName:"tier" type:"string" required:"true" enum:"ResiliencyPolicyTier"`
	// contains filtered or unexported fields
}

func (CreateResiliencyPolicyInput) GoString

func (s CreateResiliencyPolicyInput) 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 (*CreateResiliencyPolicyInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateResiliencyPolicyInput) SetDataLocationConstraint

func (s *CreateResiliencyPolicyInput) SetDataLocationConstraint(v string) *CreateResiliencyPolicyInput

SetDataLocationConstraint sets the DataLocationConstraint field's value.

func (*CreateResiliencyPolicyInput) SetPolicy

SetPolicy sets the Policy field's value.

func (*CreateResiliencyPolicyInput) SetPolicyDescription

SetPolicyDescription sets the PolicyDescription field's value.

func (*CreateResiliencyPolicyInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*CreateResiliencyPolicyInput) SetTags

SetTags sets the Tags field's value.

func (*CreateResiliencyPolicyInput) SetTier

SetTier sets the Tier field's value.

func (CreateResiliencyPolicyInput) String

String returns the string representation.

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

func (*CreateResiliencyPolicyInput) Validate

func (s *CreateResiliencyPolicyInput) Validate() error

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

type CreateResiliencyPolicyOutput

type CreateResiliencyPolicyOutput struct {

	// The type of resiliency policy that was created, including the recovery time
	// objective (RTO) and recovery point objective (RPO) in seconds.
	//
	// Policy is a required field
	Policy *ResiliencyPolicy `locationName:"policy" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateResiliencyPolicyOutput) GoString

func (s CreateResiliencyPolicyOutput) 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 (*CreateResiliencyPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (CreateResiliencyPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DeleteAppAssessmentInput

type DeleteAppAssessmentInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
	// contains filtered or unexported fields
}

func (DeleteAppAssessmentInput) GoString

func (s DeleteAppAssessmentInput) 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 (*DeleteAppAssessmentInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*DeleteAppAssessmentInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (DeleteAppAssessmentInput) String

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

func (s *DeleteAppAssessmentInput) Validate() error

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

type DeleteAppAssessmentOutput

type DeleteAppAssessmentOutput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The current status of the assessment for the resiliency policy.
	//
	// AssessmentStatus is a required field
	AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`
	// contains filtered or unexported fields
}

func (DeleteAppAssessmentOutput) GoString

func (s DeleteAppAssessmentOutput) 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 (*DeleteAppAssessmentOutput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*DeleteAppAssessmentOutput) SetAssessmentStatus

func (s *DeleteAppAssessmentOutput) SetAssessmentStatus(v string) *DeleteAppAssessmentOutput

SetAssessmentStatus sets the AssessmentStatus field's value.

func (DeleteAppAssessmentOutput) String

func (s DeleteAppAssessmentOutput) 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 DeleteAppInput

type DeleteAppInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// A boolean option to force the deletion of a Resilience Hub application.
	ForceDelete *bool `locationName:"forceDelete" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeleteAppInput) GoString

func (s DeleteAppInput) 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 (*DeleteAppInput) SetAppArn

func (s *DeleteAppInput) SetAppArn(v string) *DeleteAppInput

SetAppArn sets the AppArn field's value.

func (*DeleteAppInput) SetClientToken

func (s *DeleteAppInput) SetClientToken(v string) *DeleteAppInput

SetClientToken sets the ClientToken field's value.

func (*DeleteAppInput) SetForceDelete

func (s *DeleteAppInput) SetForceDelete(v bool) *DeleteAppInput

SetForceDelete sets the ForceDelete field's value.

func (DeleteAppInput) String

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

func (s *DeleteAppInput) Validate() error

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

type DeleteAppOutput

type DeleteAppOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAppOutput) GoString

func (s DeleteAppOutput) 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 (*DeleteAppOutput) SetAppArn

func (s *DeleteAppOutput) SetAppArn(v string) *DeleteAppOutput

SetAppArn sets the AppArn field's value.

func (DeleteAppOutput) String

func (s DeleteAppOutput) 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 DeleteRecommendationTemplateInput

type DeleteRecommendationTemplateInput struct {

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Resource Name (ARN) for a recommendation template.
	//
	// RecommendationTemplateArn is a required field
	RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRecommendationTemplateInput) GoString

GoString returns the string representation.

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

func (*DeleteRecommendationTemplateInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeleteRecommendationTemplateInput) SetRecommendationTemplateArn

SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.

func (DeleteRecommendationTemplateInput) String

String returns the string representation.

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

func (*DeleteRecommendationTemplateInput) Validate

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

type DeleteRecommendationTemplateOutput

type DeleteRecommendationTemplateOutput struct {

	// The Amazon Resource Name (ARN) for a recommendation template.
	//
	// RecommendationTemplateArn is a required field
	RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`

	// The status of the action.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationTemplateStatus"`
	// contains filtered or unexported fields
}

func (DeleteRecommendationTemplateOutput) GoString

GoString returns the string representation.

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

func (*DeleteRecommendationTemplateOutput) SetRecommendationTemplateArn

SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.

func (*DeleteRecommendationTemplateOutput) SetStatus

SetStatus sets the Status field's value.

func (DeleteRecommendationTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DeleteResiliencyPolicyInput

type DeleteResiliencyPolicyInput struct {

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// PolicyArn is a required field
	PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResiliencyPolicyInput) GoString

func (s DeleteResiliencyPolicyInput) 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 (*DeleteResiliencyPolicyInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeleteResiliencyPolicyInput) SetPolicyArn

SetPolicyArn sets the PolicyArn field's value.

func (DeleteResiliencyPolicyInput) String

String returns the string representation.

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

func (*DeleteResiliencyPolicyInput) Validate

func (s *DeleteResiliencyPolicyInput) Validate() error

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

type DeleteResiliencyPolicyOutput

type DeleteResiliencyPolicyOutput struct {

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// PolicyArn is a required field
	PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResiliencyPolicyOutput) GoString

func (s DeleteResiliencyPolicyOutput) 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 (*DeleteResiliencyPolicyOutput) SetPolicyArn

SetPolicyArn sets the PolicyArn field's value.

func (DeleteResiliencyPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DescribeAppAssessmentInput

type DescribeAppAssessmentInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAppAssessmentInput) GoString

func (s DescribeAppAssessmentInput) 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 (*DescribeAppAssessmentInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (DescribeAppAssessmentInput) String

String returns the string representation.

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

func (*DescribeAppAssessmentInput) Validate

func (s *DescribeAppAssessmentInput) Validate() error

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

type DescribeAppAssessmentOutput

type DescribeAppAssessmentOutput struct {

	// The assessment for an AWS Resilience Hub application, returned as an object.
	// This object includes Amazon Resource Names (ARNs), compliance information,
	// compliance status, cost, messages, resiliency scores, and more.
	//
	// Assessment is a required field
	Assessment *AppAssessment `locationName:"assessment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAppAssessmentOutput) GoString

func (s DescribeAppAssessmentOutput) 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 (*DescribeAppAssessmentOutput) SetAssessment

SetAssessment sets the Assessment field's value.

func (DescribeAppAssessmentOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DescribeAppInput

type DescribeAppInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAppInput) GoString

func (s DescribeAppInput) 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 (*DescribeAppInput) SetAppArn

func (s *DescribeAppInput) SetAppArn(v string) *DescribeAppInput

SetAppArn sets the AppArn field's value.

func (DescribeAppInput) String

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

func (s *DescribeAppInput) Validate() error

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

type DescribeAppOutput

type DescribeAppOutput struct {

	// The specified application, returned as an object with details including compliance
	// status, creation time, description, resiliency score, and more.
	//
	// App is a required field
	App *App `locationName:"app" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAppOutput) GoString

func (s DescribeAppOutput) 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 (*DescribeAppOutput) SetApp

func (s *DescribeAppOutput) SetApp(v *App) *DescribeAppOutput

SetApp sets the App field's value.

func (DescribeAppOutput) String

func (s DescribeAppOutput) 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 DescribeAppVersionResourcesResolutionStatusInput

type DescribeAppVersionResourcesResolutionStatusInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The identifier for a specific resolution.
	ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAppVersionResourcesResolutionStatusInput) GoString

GoString returns the string representation.

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

func (*DescribeAppVersionResourcesResolutionStatusInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*DescribeAppVersionResourcesResolutionStatusInput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*DescribeAppVersionResourcesResolutionStatusInput) SetResolutionId

SetResolutionId sets the ResolutionId field's value.

func (DescribeAppVersionResourcesResolutionStatusInput) String

String returns the string representation.

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

func (*DescribeAppVersionResourcesResolutionStatusInput) Validate

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

type DescribeAppVersionResourcesResolutionStatusOutput

type DescribeAppVersionResourcesResolutionStatusOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The returned error message for the request.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

	// The identifier for a specific resolution.
	//
	// ResolutionId is a required field
	ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`

	// The status of the action.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceResolutionStatusType"`
	// contains filtered or unexported fields
}

func (DescribeAppVersionResourcesResolutionStatusOutput) GoString

GoString returns the string representation.

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

func (*DescribeAppVersionResourcesResolutionStatusOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*DescribeAppVersionResourcesResolutionStatusOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*DescribeAppVersionResourcesResolutionStatusOutput) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*DescribeAppVersionResourcesResolutionStatusOutput) SetResolutionId

SetResolutionId sets the ResolutionId field's value.

func (*DescribeAppVersionResourcesResolutionStatusOutput) SetStatus

SetStatus sets the Status field's value.

func (DescribeAppVersionResourcesResolutionStatusOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DescribeAppVersionTemplateInput

type DescribeAppVersionTemplateInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAppVersionTemplateInput) GoString

GoString returns the string representation.

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

func (*DescribeAppVersionTemplateInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*DescribeAppVersionTemplateInput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (DescribeAppVersionTemplateInput) String

String returns the string representation.

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

func (*DescribeAppVersionTemplateInput) Validate

func (s *DescribeAppVersionTemplateInput) Validate() error

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

type DescribeAppVersionTemplateOutput

type DescribeAppVersionTemplateOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The body of the template.
	//
	// AppTemplateBody is a required field
	AppTemplateBody *string `locationName:"appTemplateBody" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeAppVersionTemplateOutput) GoString

GoString returns the string representation.

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

func (*DescribeAppVersionTemplateOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*DescribeAppVersionTemplateOutput) SetAppTemplateBody

SetAppTemplateBody sets the AppTemplateBody field's value.

func (*DescribeAppVersionTemplateOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (DescribeAppVersionTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DescribeDraftAppVersionResourcesImportStatusInput

type DescribeDraftAppVersionResourcesImportStatusInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeDraftAppVersionResourcesImportStatusInput) GoString

GoString returns the string representation.

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

func (*DescribeDraftAppVersionResourcesImportStatusInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (DescribeDraftAppVersionResourcesImportStatusInput) String

String returns the string representation.

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

func (*DescribeDraftAppVersionResourcesImportStatusInput) Validate

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

type DescribeDraftAppVersionResourcesImportStatusOutput

type DescribeDraftAppVersionResourcesImportStatusOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The returned error message for the request.
	ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`

	// The status of the action.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceImportStatusType"`

	// The timestamp for when the status last changed.
	//
	// StatusChangeTime is a required field
	StatusChangeTime *time.Time `locationName:"statusChangeTime" type:"timestamp" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeDraftAppVersionResourcesImportStatusOutput) GoString

GoString returns the string representation.

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

func (*DescribeDraftAppVersionResourcesImportStatusOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*DescribeDraftAppVersionResourcesImportStatusOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*DescribeDraftAppVersionResourcesImportStatusOutput) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*DescribeDraftAppVersionResourcesImportStatusOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeDraftAppVersionResourcesImportStatusOutput) SetStatusChangeTime

SetStatusChangeTime sets the StatusChangeTime field's value.

func (DescribeDraftAppVersionResourcesImportStatusOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DescribeResiliencyPolicyInput

type DescribeResiliencyPolicyInput struct {

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// PolicyArn is a required field
	PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeResiliencyPolicyInput) GoString

GoString returns the string representation.

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

func (*DescribeResiliencyPolicyInput) SetPolicyArn

SetPolicyArn sets the PolicyArn field's value.

func (DescribeResiliencyPolicyInput) String

String returns the string representation.

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

func (*DescribeResiliencyPolicyInput) Validate

func (s *DescribeResiliencyPolicyInput) Validate() error

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

type DescribeResiliencyPolicyOutput

type DescribeResiliencyPolicyOutput struct {

	// Information about the specific resiliency policy, returned as an object.
	// This object includes creation time, data location constraints, its name,
	// description, tags, the recovery time objective (RTO) and recovery point objective
	// (RPO) in seconds, and more.
	//
	// Policy is a required field
	Policy *ResiliencyPolicy `locationName:"policy" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeResiliencyPolicyOutput) GoString

GoString returns the string representation.

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

func (*DescribeResiliencyPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (DescribeResiliencyPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 DisruptionCompliance

type DisruptionCompliance struct {

	// The Recovery Point Objective (RPO) that is achievable, in seconds.
	AchievableRpoInSecs *int64 `locationName:"achievableRpoInSecs" type:"integer"`

	// The Recovery Time Objective (RTO) that is achievable, in seconds
	AchievableRtoInSecs *int64 `locationName:"achievableRtoInSecs" type:"integer"`

	// The current status of compliance for the resiliency policy.
	//
	// ComplianceStatus is a required field
	ComplianceStatus *string `locationName:"complianceStatus" type:"string" required:"true" enum:"ComplianceStatus"`

	// The current RPO, in seconds.
	CurrentRpoInSecs *int64 `locationName:"currentRpoInSecs" type:"integer"`

	// The current RTO, in seconds.
	CurrentRtoInSecs *int64 `locationName:"currentRtoInSecs" type:"integer"`

	// The disruption compliance message.
	Message *string `locationName:"message" min:"1" type:"string"`

	// The RPO description.
	RpoDescription *string `locationName:"rpoDescription" min:"1" type:"string"`

	// The RPO reference identifier.
	RpoReferenceId *string `locationName:"rpoReferenceId" min:"1" type:"string"`

	// The RTO description.
	RtoDescription *string `locationName:"rtoDescription" min:"1" type:"string"`

	// The RTO reference identifier.
	RtoReferenceId *string `locationName:"rtoReferenceId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Defines the compliance against the resiliency policy for a disruption.

func (DisruptionCompliance) GoString

func (s DisruptionCompliance) 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 (*DisruptionCompliance) SetAchievableRpoInSecs

func (s *DisruptionCompliance) SetAchievableRpoInSecs(v int64) *DisruptionCompliance

SetAchievableRpoInSecs sets the AchievableRpoInSecs field's value.

func (*DisruptionCompliance) SetAchievableRtoInSecs

func (s *DisruptionCompliance) SetAchievableRtoInSecs(v int64) *DisruptionCompliance

SetAchievableRtoInSecs sets the AchievableRtoInSecs field's value.

func (*DisruptionCompliance) SetComplianceStatus

func (s *DisruptionCompliance) SetComplianceStatus(v string) *DisruptionCompliance

SetComplianceStatus sets the ComplianceStatus field's value.

func (*DisruptionCompliance) SetCurrentRpoInSecs

func (s *DisruptionCompliance) SetCurrentRpoInSecs(v int64) *DisruptionCompliance

SetCurrentRpoInSecs sets the CurrentRpoInSecs field's value.

func (*DisruptionCompliance) SetCurrentRtoInSecs

func (s *DisruptionCompliance) SetCurrentRtoInSecs(v int64) *DisruptionCompliance

SetCurrentRtoInSecs sets the CurrentRtoInSecs field's value.

func (*DisruptionCompliance) SetMessage

SetMessage sets the Message field's value.

func (*DisruptionCompliance) SetRpoDescription

func (s *DisruptionCompliance) SetRpoDescription(v string) *DisruptionCompliance

SetRpoDescription sets the RpoDescription field's value.

func (*DisruptionCompliance) SetRpoReferenceId

func (s *DisruptionCompliance) SetRpoReferenceId(v string) *DisruptionCompliance

SetRpoReferenceId sets the RpoReferenceId field's value.

func (*DisruptionCompliance) SetRtoDescription

func (s *DisruptionCompliance) SetRtoDescription(v string) *DisruptionCompliance

SetRtoDescription sets the RtoDescription field's value.

func (*DisruptionCompliance) SetRtoReferenceId

func (s *DisruptionCompliance) SetRtoReferenceId(v string) *DisruptionCompliance

SetRtoReferenceId sets the RtoReferenceId field's value.

func (DisruptionCompliance) String

func (s DisruptionCompliance) 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 FailurePolicy

type FailurePolicy struct {

	// The Recovery Point Objective (RPO), in seconds.
	//
	// RpoInSecs is a required field
	RpoInSecs *int64 `locationName:"rpoInSecs" type:"integer" required:"true"`

	// The Recovery Time Objective (RTO), in seconds.
	//
	// RtoInSecs is a required field
	RtoInSecs *int64 `locationName:"rtoInSecs" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Defines a failure policy.

func (FailurePolicy) GoString

func (s FailurePolicy) 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 (*FailurePolicy) SetRpoInSecs

func (s *FailurePolicy) SetRpoInSecs(v int64) *FailurePolicy

SetRpoInSecs sets the RpoInSecs field's value.

func (*FailurePolicy) SetRtoInSecs

func (s *FailurePolicy) SetRtoInSecs(v int64) *FailurePolicy

SetRtoInSecs sets the RtoInSecs field's value.

func (FailurePolicy) String

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

func (s *FailurePolicy) Validate() error

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

type ImportResourcesToDraftAppVersionInput

type ImportResourcesToDraftAppVersionInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The Amazon Resource Names (ARNs) for the resources that you want to import.
	SourceArns []*string `locationName:"sourceArns" type:"list"`

	// A list of terraform file s3 URLs you need to import.
	TerraformSources []*TerraformSource `locationName:"terraformSources" type:"list"`
	// contains filtered or unexported fields
}

func (ImportResourcesToDraftAppVersionInput) GoString

GoString returns the string representation.

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

func (*ImportResourcesToDraftAppVersionInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ImportResourcesToDraftAppVersionInput) SetSourceArns

SetSourceArns sets the SourceArns field's value.

func (*ImportResourcesToDraftAppVersionInput) SetTerraformSources added in v1.44.15

SetTerraformSources sets the TerraformSources field's value.

func (ImportResourcesToDraftAppVersionInput) String

String returns the string representation.

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

func (*ImportResourcesToDraftAppVersionInput) Validate

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

type ImportResourcesToDraftAppVersionOutput

type ImportResourcesToDraftAppVersionOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The Amazon Resource Names (ARNs) for the resources that you imported.
	SourceArns []*string `locationName:"sourceArns" type:"list"`

	// The status of the action.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceImportStatusType"`

	// A list of terraform file s3 URLs you need to import.
	TerraformSources []*TerraformSource `locationName:"terraformSources" type:"list"`
	// contains filtered or unexported fields
}

func (ImportResourcesToDraftAppVersionOutput) GoString

GoString returns the string representation.

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

func (*ImportResourcesToDraftAppVersionOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ImportResourcesToDraftAppVersionOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*ImportResourcesToDraftAppVersionOutput) SetSourceArns

SetSourceArns sets the SourceArns field's value.

func (*ImportResourcesToDraftAppVersionOutput) SetStatus

SetStatus sets the Status field's value.

func (*ImportResourcesToDraftAppVersionOutput) SetTerraformSources added in v1.44.15

SetTerraformSources sets the TerraformSources field's value.

func (ImportResourcesToDraftAppVersionOutput) String

String returns the string representation.

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

type InternalServerException

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

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

This exception occurs when there is an internal failure in the AWS Resilience Hub service.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

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

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

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

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

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

type ListAlarmRecommendationsInput

type ListAlarmRecommendationsInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAlarmRecommendationsInput) GoString

GoString returns the string representation.

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

func (*ListAlarmRecommendationsInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*ListAlarmRecommendationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAlarmRecommendationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAlarmRecommendationsInput) String

String returns the string representation.

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

func (*ListAlarmRecommendationsInput) Validate

func (s *ListAlarmRecommendationsInput) Validate() error

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

type ListAlarmRecommendationsOutput

type ListAlarmRecommendationsOutput struct {

	// The alarm recommendations for an AWS Resilience Hub application, returned
	// as an object. This object includes application component names, descriptions,
	// information about whether a recommendation has already been implemented or
	// not, prerequisites, and more.
	//
	// AlarmRecommendations is a required field
	AlarmRecommendations []*AlarmRecommendation `locationName:"alarmRecommendations" type:"list" required:"true"`

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAlarmRecommendationsOutput) GoString

GoString returns the string representation.

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

func (*ListAlarmRecommendationsOutput) SetAlarmRecommendations

SetAlarmRecommendations sets the AlarmRecommendations field's value.

func (*ListAlarmRecommendationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAlarmRecommendationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListAppAssessmentsInput

type ListAppAssessmentsInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	AppArn *string `location:"querystring" locationName:"appArn" type:"string"`

	// The name for the assessment.
	AssessmentName *string `location:"querystring" locationName:"assessmentName" type:"string"`

	// The current status of the assessment for the resiliency policy.
	AssessmentStatus []*string `location:"querystring" locationName:"assessmentStatus" min:"1" type:"list" enum:"AssessmentStatus"`

	// The current status of compliance for the resiliency policy.
	ComplianceStatus *string `location:"querystring" locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`

	// Specifies the entity that invoked a specific assessment, either a User or
	// the System.
	Invoker *string `location:"querystring" locationName:"invoker" type:"string" enum:"AssessmentInvoker"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The default is to sort by ascending startTime. To sort by descending startTime,
	// set reverseOrder to true.
	ReverseOrder *bool `location:"querystring" locationName:"reverseOrder" type:"boolean"`
	// contains filtered or unexported fields
}

func (ListAppAssessmentsInput) GoString

func (s ListAppAssessmentsInput) 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 (*ListAppAssessmentsInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ListAppAssessmentsInput) SetAssessmentName

func (s *ListAppAssessmentsInput) SetAssessmentName(v string) *ListAppAssessmentsInput

SetAssessmentName sets the AssessmentName field's value.

func (*ListAppAssessmentsInput) SetAssessmentStatus

func (s *ListAppAssessmentsInput) SetAssessmentStatus(v []*string) *ListAppAssessmentsInput

SetAssessmentStatus sets the AssessmentStatus field's value.

func (*ListAppAssessmentsInput) SetComplianceStatus

func (s *ListAppAssessmentsInput) SetComplianceStatus(v string) *ListAppAssessmentsInput

SetComplianceStatus sets the ComplianceStatus field's value.

func (*ListAppAssessmentsInput) SetInvoker

SetInvoker sets the Invoker field's value.

func (*ListAppAssessmentsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAppAssessmentsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAppAssessmentsInput) SetReverseOrder

func (s *ListAppAssessmentsInput) SetReverseOrder(v bool) *ListAppAssessmentsInput

SetReverseOrder sets the ReverseOrder field's value.

func (ListAppAssessmentsInput) String

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

func (s *ListAppAssessmentsInput) Validate() error

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

type ListAppAssessmentsOutput

type ListAppAssessmentsOutput struct {

	// The summaries for the specified assessments, returned as an object. This
	// object includes application versions, associated Amazon Resource Numbers
	// (ARNs), cost, messages, resiliency scores, and more.
	//
	// AssessmentSummaries is a required field
	AssessmentSummaries []*AppAssessmentSummary `locationName:"assessmentSummaries" type:"list" required:"true"`

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppAssessmentsOutput) GoString

func (s ListAppAssessmentsOutput) 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 (*ListAppAssessmentsOutput) SetAssessmentSummaries

SetAssessmentSummaries sets the AssessmentSummaries field's value.

func (*ListAppAssessmentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAppAssessmentsOutput) String

func (s ListAppAssessmentsOutput) 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 ListAppComponentCompliancesInput

type ListAppComponentCompliancesInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppComponentCompliancesInput) GoString

GoString returns the string representation.

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

func (*ListAppComponentCompliancesInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*ListAppComponentCompliancesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAppComponentCompliancesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAppComponentCompliancesInput) String

String returns the string representation.

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

func (*ListAppComponentCompliancesInput) Validate

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

type ListAppComponentCompliancesOutput

type ListAppComponentCompliancesOutput struct {

	// The compliances for an AWS Resilience Hub application component, returned
	// as an object. This object contains component names, compliances, costs, resiliency
	// scores, outage scores, and more.
	//
	// ComponentCompliances is a required field
	ComponentCompliances []*AppComponentCompliance `locationName:"componentCompliances" type:"list" required:"true"`

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppComponentCompliancesOutput) GoString

GoString returns the string representation.

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

func (*ListAppComponentCompliancesOutput) SetComponentCompliances

SetComponentCompliances sets the ComponentCompliances field's value.

func (*ListAppComponentCompliancesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAppComponentCompliancesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListAppComponentRecommendationsInput

type ListAppComponentRecommendationsInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppComponentRecommendationsInput) GoString

GoString returns the string representation.

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

func (*ListAppComponentRecommendationsInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*ListAppComponentRecommendationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAppComponentRecommendationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAppComponentRecommendationsInput) String

String returns the string representation.

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

func (*ListAppComponentRecommendationsInput) Validate

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

type ListAppComponentRecommendationsOutput

type ListAppComponentRecommendationsOutput struct {

	// The recommendations for an Resilience Hub application component, returned
	// as an object. This object contains component names, configuration recommendations,
	// and recommendation statuses.
	//
	// ComponentRecommendations is a required field
	ComponentRecommendations []*ComponentRecommendation `locationName:"componentRecommendations" type:"list" required:"true"`

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppComponentRecommendationsOutput) GoString

GoString returns the string representation.

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

func (*ListAppComponentRecommendationsOutput) SetComponentRecommendations

SetComponentRecommendations sets the ComponentRecommendations field's value.

func (*ListAppComponentRecommendationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAppComponentRecommendationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListAppVersionResourceMappingsInput

type ListAppVersionResourceMappingsInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppVersionResourceMappingsInput) GoString

GoString returns the string representation.

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

func (*ListAppVersionResourceMappingsInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ListAppVersionResourceMappingsInput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*ListAppVersionResourceMappingsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAppVersionResourceMappingsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAppVersionResourceMappingsInput) String

String returns the string representation.

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

func (*ListAppVersionResourceMappingsInput) Validate

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

type ListAppVersionResourceMappingsOutput

type ListAppVersionResourceMappingsOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Mappings used to map logical resources from the template to physical resources.
	// You can use the mapping type CFN_STACK if the application template uses a
	// logical stack name. Or you can map individual resources by using the mapping
	// type RESOURCE. We recommend using the mapping type CFN_STACK if the application
	// is backed by a CloudFormation stack.
	//
	// ResourceMappings is a required field
	ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListAppVersionResourceMappingsOutput) GoString

GoString returns the string representation.

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

func (*ListAppVersionResourceMappingsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAppVersionResourceMappingsOutput) SetResourceMappings

SetResourceMappings sets the ResourceMappings field's value.

func (ListAppVersionResourceMappingsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListAppVersionResourcesInput

type ListAppVersionResourcesInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The identifier for a specific resolution.
	ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppVersionResourcesInput) GoString

func (s ListAppVersionResourcesInput) 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 (*ListAppVersionResourcesInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ListAppVersionResourcesInput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*ListAppVersionResourcesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAppVersionResourcesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAppVersionResourcesInput) SetResolutionId

SetResolutionId sets the ResolutionId field's value.

func (ListAppVersionResourcesInput) String

String returns the string representation.

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

func (*ListAppVersionResourcesInput) Validate

func (s *ListAppVersionResourcesInput) Validate() error

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

type ListAppVersionResourcesOutput

type ListAppVersionResourcesOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The physical resources in the application version.
	//
	// PhysicalResources is a required field
	PhysicalResources []*PhysicalResource `locationName:"physicalResources" type:"list" required:"true"`

	// The identifier for a specific resolution.
	//
	// ResolutionId is a required field
	ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAppVersionResourcesOutput) GoString

GoString returns the string representation.

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

func (*ListAppVersionResourcesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAppVersionResourcesOutput) SetPhysicalResources

SetPhysicalResources sets the PhysicalResources field's value.

func (*ListAppVersionResourcesOutput) SetResolutionId

SetResolutionId sets the ResolutionId field's value.

func (ListAppVersionResourcesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListAppVersionsInput

type ListAppVersionsInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppVersionsInput) GoString

func (s ListAppVersionsInput) 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 (*ListAppVersionsInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ListAppVersionsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListAppVersionsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAppVersionsInput) String

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

func (s *ListAppVersionsInput) Validate() error

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

type ListAppVersionsOutput

type ListAppVersionsOutput struct {

	// The version of the application.
	//
	// AppVersions is a required field
	AppVersions []*AppVersionSummary `locationName:"appVersions" type:"list" required:"true"`

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppVersionsOutput) GoString

func (s ListAppVersionsOutput) 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 (*ListAppVersionsOutput) SetAppVersions

SetAppVersions sets the AppVersions field's value.

func (*ListAppVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAppVersionsOutput) String

func (s ListAppVersionsOutput) 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 ListAppsInput

type ListAppsInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	AppArn *string `location:"querystring" locationName:"appArn" type:"string"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The name for the one of the listed applications.
	Name *string `location:"querystring" locationName:"name" type:"string"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppsInput) GoString

func (s ListAppsInput) 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 (*ListAppsInput) SetAppArn

func (s *ListAppsInput) SetAppArn(v string) *ListAppsInput

SetAppArn sets the AppArn field's value.

func (*ListAppsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListAppsInput) SetName

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

SetName sets the Name field's value.

func (*ListAppsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAppsInput) String

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

func (s *ListAppsInput) Validate() error

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

type ListAppsOutput

type ListAppsOutput struct {

	// Summaries for the Resilience Hub application.
	//
	// AppSummaries is a required field
	AppSummaries []*AppSummary `locationName:"appSummaries" type:"list" required:"true"`

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListAppsOutput) GoString

func (s ListAppsOutput) 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 (*ListAppsOutput) SetAppSummaries

func (s *ListAppsOutput) SetAppSummaries(v []*AppSummary) *ListAppsOutput

SetAppSummaries sets the AppSummaries field's value.

func (*ListAppsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListAppsOutput) String

func (s ListAppsOutput) 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 ListRecommendationTemplatesInput

type ListRecommendationTemplatesInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `location:"querystring" locationName:"assessmentArn" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The name for one of the listed recommendation templates.
	Name *string `location:"querystring" locationName:"name" type:"string"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The Amazon Resource Name (ARN) for a recommendation template.
	RecommendationTemplateArn *string `location:"querystring" locationName:"recommendationTemplateArn" type:"string"`

	// The default is to sort by ascending startTime. To sort by descending startTime,
	// set reverseOrder to true.
	ReverseOrder *bool `location:"querystring" locationName:"reverseOrder" type:"boolean"`

	// The status of the action.
	Status []*string `location:"querystring" locationName:"status" min:"1" type:"list" enum:"RecommendationTemplateStatus"`
	// contains filtered or unexported fields
}

func (ListRecommendationTemplatesInput) GoString

GoString returns the string representation.

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

func (*ListRecommendationTemplatesInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*ListRecommendationTemplatesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRecommendationTemplatesInput) SetName

SetName sets the Name field's value.

func (*ListRecommendationTemplatesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRecommendationTemplatesInput) SetRecommendationTemplateArn

func (s *ListRecommendationTemplatesInput) SetRecommendationTemplateArn(v string) *ListRecommendationTemplatesInput

SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.

func (*ListRecommendationTemplatesInput) SetReverseOrder

SetReverseOrder sets the ReverseOrder field's value.

func (*ListRecommendationTemplatesInput) SetStatus

SetStatus sets the Status field's value.

func (ListRecommendationTemplatesInput) String

String returns the string representation.

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

func (*ListRecommendationTemplatesInput) Validate

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

type ListRecommendationTemplatesOutput

type ListRecommendationTemplatesOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The recommendation templates for the Resilience Hub applications.
	RecommendationTemplates []*RecommendationTemplate `locationName:"recommendationTemplates" type:"list"`
	// contains filtered or unexported fields
}

func (ListRecommendationTemplatesOutput) GoString

GoString returns the string representation.

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

func (*ListRecommendationTemplatesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRecommendationTemplatesOutput) SetRecommendationTemplates

SetRecommendationTemplates sets the RecommendationTemplates field's value.

func (ListRecommendationTemplatesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListResiliencyPoliciesInput

type ListResiliencyPoliciesInput struct {

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// The name of the policy
	PolicyName *string `location:"querystring" locationName:"policyName" type:"string"`
	// contains filtered or unexported fields
}

func (ListResiliencyPoliciesInput) GoString

func (s ListResiliencyPoliciesInput) 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 (*ListResiliencyPoliciesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListResiliencyPoliciesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListResiliencyPoliciesInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (ListResiliencyPoliciesInput) String

String returns the string representation.

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

func (*ListResiliencyPoliciesInput) Validate

func (s *ListResiliencyPoliciesInput) Validate() error

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

type ListResiliencyPoliciesOutput

type ListResiliencyPoliciesOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The resiliency policies for the Resilience Hub applications.
	//
	// ResiliencyPolicies is a required field
	ResiliencyPolicies []*ResiliencyPolicy `locationName:"resiliencyPolicies" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListResiliencyPoliciesOutput) GoString

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

SetNextToken sets the NextToken field's value.

func (*ListResiliencyPoliciesOutput) SetResiliencyPolicies

SetResiliencyPolicies sets the ResiliencyPolicies field's value.

func (ListResiliencyPoliciesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListSopRecommendationsInput

type ListSopRecommendationsInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSopRecommendationsInput) GoString

func (s ListSopRecommendationsInput) 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 (*ListSopRecommendationsInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*ListSopRecommendationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListSopRecommendationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSopRecommendationsInput) String

String returns the string representation.

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

func (*ListSopRecommendationsInput) Validate

func (s *ListSopRecommendationsInput) Validate() error

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

type ListSopRecommendationsOutput

type ListSopRecommendationsOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The standard operating procedure (SOP) recommendations for the Resilience
	// Hub applications.
	//
	// SopRecommendations is a required field
	SopRecommendations []*SopRecommendation `locationName:"sopRecommendations" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListSopRecommendationsOutput) GoString

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

SetNextToken sets the NextToken field's value.

func (*ListSopRecommendationsOutput) SetSopRecommendations

SetSopRecommendations sets the SopRecommendations field's value.

func (ListSopRecommendationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListSuggestedResiliencyPoliciesInput

type ListSuggestedResiliencyPoliciesInput struct {

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSuggestedResiliencyPoliciesInput) GoString

GoString returns the string representation.

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

func (*ListSuggestedResiliencyPoliciesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListSuggestedResiliencyPoliciesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSuggestedResiliencyPoliciesInput) String

String returns the string representation.

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

func (*ListSuggestedResiliencyPoliciesInput) Validate

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

type ListSuggestedResiliencyPoliciesOutput

type ListSuggestedResiliencyPoliciesOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The suggested resiliency policies for the Resilience Hub applications.
	//
	// ResiliencyPolicies is a required field
	ResiliencyPolicies []*ResiliencyPolicy `locationName:"resiliencyPolicies" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListSuggestedResiliencyPoliciesOutput) GoString

GoString returns the string representation.

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

func (*ListSuggestedResiliencyPoliciesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSuggestedResiliencyPoliciesOutput) SetResiliencyPolicies

SetResiliencyPolicies sets the ResiliencyPolicies field's value.

func (ListSuggestedResiliencyPoliciesOutput) String

String returns the string representation.

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

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) for a specific resource in your Resilience
	// Hub application.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

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

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ListTagsForResourceOutput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

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

type ListTestRecommendationsInput

type ListTestRecommendationsInput struct {

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListTestRecommendationsInput) GoString

func (s ListTestRecommendationsInput) 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 (*ListTestRecommendationsInput) SetAssessmentArn

SetAssessmentArn sets the AssessmentArn field's value.

func (*ListTestRecommendationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListTestRecommendationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListTestRecommendationsInput) String

String returns the string representation.

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

func (*ListTestRecommendationsInput) Validate

func (s *ListTestRecommendationsInput) Validate() error

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

type ListTestRecommendationsOutput

type ListTestRecommendationsOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The test recommendations for the Resilience Hub application.
	//
	// TestRecommendations is a required field
	TestRecommendations []*TestRecommendation `locationName:"testRecommendations" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListTestRecommendationsOutput) GoString

GoString returns the string representation.

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

func (*ListTestRecommendationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTestRecommendationsOutput) SetTestRecommendations

SetTestRecommendations sets the TestRecommendations field's value.

func (ListTestRecommendationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ListUnsupportedAppVersionResourcesInput

type ListUnsupportedAppVersionResourcesInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The maximum number of results to include in the response. If more results
	// exist than the specified MaxResults value, a token is included in the response
	// so that the remaining results can be retrieved.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Null, or the token from a previous call to get the next set of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The identifier for a specific resolution.
	ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListUnsupportedAppVersionResourcesInput) GoString

GoString returns the string representation.

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

func (*ListUnsupportedAppVersionResourcesInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ListUnsupportedAppVersionResourcesInput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*ListUnsupportedAppVersionResourcesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListUnsupportedAppVersionResourcesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListUnsupportedAppVersionResourcesInput) SetResolutionId

SetResolutionId sets the ResolutionId field's value.

func (ListUnsupportedAppVersionResourcesInput) String

String returns the string representation.

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

func (*ListUnsupportedAppVersionResourcesInput) Validate

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

type ListUnsupportedAppVersionResourcesOutput

type ListUnsupportedAppVersionResourcesOutput struct {

	// The token for the next set of results, or null if there are no more results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The identifier for a specific resolution.
	//
	// ResolutionId is a required field
	ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`

	// The unsupported resources for the application.
	//
	// UnsupportedResources is a required field
	UnsupportedResources []*UnsupportedResource `locationName:"unsupportedResources" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListUnsupportedAppVersionResourcesOutput) GoString

GoString returns the string representation.

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

func (*ListUnsupportedAppVersionResourcesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListUnsupportedAppVersionResourcesOutput) SetResolutionId

SetResolutionId sets the ResolutionId field's value.

func (*ListUnsupportedAppVersionResourcesOutput) SetUnsupportedResources

SetUnsupportedResources sets the UnsupportedResources field's value.

func (ListUnsupportedAppVersionResourcesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 LogicalResourceId

type LogicalResourceId struct {

	// The identifier of the resource.
	//
	// Identifier is a required field
	Identifier *string `locationName:"identifier" min:"1" type:"string" required:"true"`

	// The name of the CloudFormation stack this resource belongs to.
	LogicalStackName *string `locationName:"logicalStackName" min:"1" type:"string"`

	// The name of the resource group that this resource belongs to.
	ResourceGroupName *string `locationName:"resourceGroupName" type:"string"`

	// The name of the Terraform S3 state file this resource belongs to.
	TerraformSourceName *string `locationName:"terraformSourceName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Defines a logical resource identifier.

func (LogicalResourceId) GoString

func (s LogicalResourceId) 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 (*LogicalResourceId) SetIdentifier

func (s *LogicalResourceId) SetIdentifier(v string) *LogicalResourceId

SetIdentifier sets the Identifier field's value.

func (*LogicalResourceId) SetLogicalStackName

func (s *LogicalResourceId) SetLogicalStackName(v string) *LogicalResourceId

SetLogicalStackName sets the LogicalStackName field's value.

func (*LogicalResourceId) SetResourceGroupName

func (s *LogicalResourceId) SetResourceGroupName(v string) *LogicalResourceId

SetResourceGroupName sets the ResourceGroupName field's value.

func (*LogicalResourceId) SetTerraformSourceName added in v1.44.15

func (s *LogicalResourceId) SetTerraformSourceName(v string) *LogicalResourceId

SetTerraformSourceName sets the TerraformSourceName field's value.

func (LogicalResourceId) String

func (s LogicalResourceId) 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 PhysicalResource

type PhysicalResource struct {

	// The application components that belong to this resource.
	AppComponents []*AppComponent `locationName:"appComponents" type:"list"`

	// The logical identifier of the resource.
	//
	// LogicalResourceId is a required field
	LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure" required:"true"`

	// The physical identifier of the resource.
	//
	// PhysicalResourceId is a required field
	PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`

	// The name of the resource.
	ResourceName *string `locationName:"resourceName" type:"string"`

	// The type of resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.

func (PhysicalResource) GoString

func (s PhysicalResource) 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 (*PhysicalResource) SetAppComponents

func (s *PhysicalResource) SetAppComponents(v []*AppComponent) *PhysicalResource

SetAppComponents sets the AppComponents field's value.

func (*PhysicalResource) SetLogicalResourceId

func (s *PhysicalResource) SetLogicalResourceId(v *LogicalResourceId) *PhysicalResource

SetLogicalResourceId sets the LogicalResourceId field's value.

func (*PhysicalResource) SetPhysicalResourceId

func (s *PhysicalResource) SetPhysicalResourceId(v *PhysicalResourceId) *PhysicalResource

SetPhysicalResourceId sets the PhysicalResourceId field's value.

func (*PhysicalResource) SetResourceName

func (s *PhysicalResource) SetResourceName(v string) *PhysicalResource

SetResourceName sets the ResourceName field's value.

func (*PhysicalResource) SetResourceType

func (s *PhysicalResource) SetResourceType(v string) *PhysicalResource

SetResourceType sets the ResourceType field's value.

func (PhysicalResource) String

func (s PhysicalResource) 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 PhysicalResourceId

type PhysicalResourceId struct {

	// The Amazon Web Services account that owns the physical resource.
	AwsAccountId *string `locationName:"awsAccountId" type:"string"`

	// The Amazon Web Services Region that the physical resource is located in.
	AwsRegion *string `locationName:"awsRegion" type:"string"`

	// The identifier of the physical resource.
	//
	// Identifier is a required field
	Identifier *string `locationName:"identifier" min:"1" type:"string" required:"true"`

	// Specifies the type of physical resource identifier.
	//
	// Arn
	//
	// The resource identifier is an Amazon Resource Name (ARN) .
	//
	// Native
	//
	// The resource identifier is a Resilience Hub-native identifier.
	//
	// Type is a required field
	Type *string `locationName:"type" type:"string" required:"true" enum:"PhysicalIdentifierType"`
	// contains filtered or unexported fields
}

Defines a physical resource identifier.

func (PhysicalResourceId) GoString

func (s PhysicalResourceId) 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 (*PhysicalResourceId) SetAwsAccountId

func (s *PhysicalResourceId) SetAwsAccountId(v string) *PhysicalResourceId

SetAwsAccountId sets the AwsAccountId field's value.

func (*PhysicalResourceId) SetAwsRegion

func (s *PhysicalResourceId) SetAwsRegion(v string) *PhysicalResourceId

SetAwsRegion sets the AwsRegion field's value.

func (*PhysicalResourceId) SetIdentifier

func (s *PhysicalResourceId) SetIdentifier(v string) *PhysicalResourceId

SetIdentifier sets the Identifier field's value.

func (*PhysicalResourceId) SetType

SetType sets the Type field's value.

func (PhysicalResourceId) String

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

func (s *PhysicalResourceId) Validate() error

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

type PublishAppVersionInput

type PublishAppVersionInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PublishAppVersionInput) GoString

func (s PublishAppVersionInput) 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 (*PublishAppVersionInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (PublishAppVersionInput) String

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

func (s *PublishAppVersionInput) Validate() error

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

type PublishAppVersionOutput

type PublishAppVersionOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	AppVersion *string `locationName:"appVersion" type:"string"`
	// contains filtered or unexported fields
}

func (PublishAppVersionOutput) GoString

func (s PublishAppVersionOutput) 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 (*PublishAppVersionOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*PublishAppVersionOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (PublishAppVersionOutput) String

func (s PublishAppVersionOutput) 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 PutDraftAppVersionTemplateInput

type PutDraftAppVersionTemplateInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// A JSON string that contains the body of the app template.
	//
	// AppTemplateBody is a required field
	AppTemplateBody *string `locationName:"appTemplateBody" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutDraftAppVersionTemplateInput) GoString

GoString returns the string representation.

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

func (*PutDraftAppVersionTemplateInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*PutDraftAppVersionTemplateInput) SetAppTemplateBody

SetAppTemplateBody sets the AppTemplateBody field's value.

func (PutDraftAppVersionTemplateInput) String

String returns the string representation.

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

func (*PutDraftAppVersionTemplateInput) Validate

func (s *PutDraftAppVersionTemplateInput) Validate() error

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

type PutDraftAppVersionTemplateOutput

type PutDraftAppVersionTemplateOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	AppArn *string `locationName:"appArn" type:"string"`

	// The version of the application.
	AppVersion *string `locationName:"appVersion" type:"string"`
	// contains filtered or unexported fields
}

func (PutDraftAppVersionTemplateOutput) GoString

GoString returns the string representation.

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

func (*PutDraftAppVersionTemplateOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*PutDraftAppVersionTemplateOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (PutDraftAppVersionTemplateOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 RecommendationDisruptionCompliance

type RecommendationDisruptionCompliance struct {

	// The expected compliance status after applying the recommended configuration
	// change.
	//
	// ExpectedComplianceStatus is a required field
	ExpectedComplianceStatus *string `locationName:"expectedComplianceStatus" type:"string" required:"true" enum:"ComplianceStatus"`

	// The expected Recovery Point Objective (RPO) description after applying the
	// recommended configuration change.
	ExpectedRpoDescription *string `locationName:"expectedRpoDescription" min:"1" type:"string"`

	// The expected RPO after applying the recommended configuration change.
	ExpectedRpoInSecs *int64 `locationName:"expectedRpoInSecs" type:"integer"`

	// The expected Recovery Time Objective (RTO) description after applying the
	// recommended configuration change.
	ExpectedRtoDescription *string `locationName:"expectedRtoDescription" min:"1" type:"string"`

	// The expected RTO after applying the recommended configuration change.
	ExpectedRtoInSecs *int64 `locationName:"expectedRtoInSecs" type:"integer"`
	// contains filtered or unexported fields
}

Defines a disruption compliance recommendation.

func (RecommendationDisruptionCompliance) GoString

GoString returns the string representation.

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

func (*RecommendationDisruptionCompliance) SetExpectedComplianceStatus

SetExpectedComplianceStatus sets the ExpectedComplianceStatus field's value.

func (*RecommendationDisruptionCompliance) SetExpectedRpoDescription

SetExpectedRpoDescription sets the ExpectedRpoDescription field's value.

func (*RecommendationDisruptionCompliance) SetExpectedRpoInSecs

SetExpectedRpoInSecs sets the ExpectedRpoInSecs field's value.

func (*RecommendationDisruptionCompliance) SetExpectedRtoDescription

SetExpectedRtoDescription sets the ExpectedRtoDescription field's value.

func (*RecommendationDisruptionCompliance) SetExpectedRtoInSecs

SetExpectedRtoInSecs sets the ExpectedRtoInSecs field's value.

func (RecommendationDisruptionCompliance) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 RecommendationItem

type RecommendationItem struct {

	// Specifies if the recommendation has already been implemented.
	AlreadyImplemented *bool `locationName:"alreadyImplemented" type:"boolean"`

	// The resource identifier.
	ResourceId *string `locationName:"resourceId" min:"1" type:"string"`

	// The target account identifier.
	TargetAccountId *string `locationName:"targetAccountId" type:"string"`

	// The target region.
	TargetRegion *string `locationName:"targetRegion" type:"string"`
	// contains filtered or unexported fields
}

Defines a recommendation.

func (RecommendationItem) GoString

func (s RecommendationItem) 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 (*RecommendationItem) SetAlreadyImplemented

func (s *RecommendationItem) SetAlreadyImplemented(v bool) *RecommendationItem

SetAlreadyImplemented sets the AlreadyImplemented field's value.

func (*RecommendationItem) SetResourceId

func (s *RecommendationItem) SetResourceId(v string) *RecommendationItem

SetResourceId sets the ResourceId field's value.

func (*RecommendationItem) SetTargetAccountId

func (s *RecommendationItem) SetTargetAccountId(v string) *RecommendationItem

SetTargetAccountId sets the TargetAccountId field's value.

func (*RecommendationItem) SetTargetRegion

func (s *RecommendationItem) SetTargetRegion(v string) *RecommendationItem

SetTargetRegion sets the TargetRegion field's value.

func (RecommendationItem) String

func (s RecommendationItem) 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 RecommendationTemplate

type RecommendationTemplate struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	AppArn *string `locationName:"appArn" type:"string"`

	// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
	// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AssessmentArn is a required field
	AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`

	// The end time for the action.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The format of the recommendation template.
	//
	// CfnJson
	//
	// The template is CloudFormation JSON.
	//
	// CfnYaml
	//
	// The template is CloudFormation YAML.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"TemplateFormat"`

	// The message for the recommendation template.
	Message *string `locationName:"message" min:"1" type:"string"`

	// The name for the recommendation template.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// Indicates if replacements are needed.
	NeedsReplacements *bool `locationName:"needsReplacements" type:"boolean"`

	// Identifiers for the recommendations used in the recommendation template.
	RecommendationIds []*string `locationName:"recommendationIds" min:"1" type:"list"`

	// The Amazon Resource Name (ARN) for the recommendation template.
	//
	// RecommendationTemplateArn is a required field
	RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`

	// An array of strings that specify the recommendation template type or types.
	//
	// Alarm
	//
	// The template is an AlarmRecommendation template.
	//
	// Sop
	//
	// The template is a SopRecommendation template.
	//
	// Test
	//
	// The template is a TestRecommendation template.
	//
	// RecommendationTypes is a required field
	RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" required:"true" enum:"RenderRecommendationType"`

	// The start time for the action.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// The status of the action.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationTemplateStatus"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by RecommendationTemplate's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`

	// The file location of the template.
	TemplatesLocation *S3Location `locationName:"templatesLocation" type:"structure"`
	// contains filtered or unexported fields
}

Defines a recommendation template created with the CreateRecommendationTemplate action.

func (RecommendationTemplate) GoString

func (s RecommendationTemplate) 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 (*RecommendationTemplate) SetAppArn

SetAppArn sets the AppArn field's value.

func (*RecommendationTemplate) SetAssessmentArn

func (s *RecommendationTemplate) SetAssessmentArn(v string) *RecommendationTemplate

SetAssessmentArn sets the AssessmentArn field's value.

func (*RecommendationTemplate) SetEndTime

SetEndTime sets the EndTime field's value.

func (*RecommendationTemplate) SetFormat

SetFormat sets the Format field's value.

func (*RecommendationTemplate) SetMessage

SetMessage sets the Message field's value.

func (*RecommendationTemplate) SetName

SetName sets the Name field's value.

func (*RecommendationTemplate) SetNeedsReplacements

func (s *RecommendationTemplate) SetNeedsReplacements(v bool) *RecommendationTemplate

SetNeedsReplacements sets the NeedsReplacements field's value.

func (*RecommendationTemplate) SetRecommendationIds

func (s *RecommendationTemplate) SetRecommendationIds(v []*string) *RecommendationTemplate

SetRecommendationIds sets the RecommendationIds field's value.

func (*RecommendationTemplate) SetRecommendationTemplateArn

func (s *RecommendationTemplate) SetRecommendationTemplateArn(v string) *RecommendationTemplate

SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.

func (*RecommendationTemplate) SetRecommendationTypes

func (s *RecommendationTemplate) SetRecommendationTypes(v []*string) *RecommendationTemplate

SetRecommendationTypes sets the RecommendationTypes field's value.

func (*RecommendationTemplate) SetStartTime

SetStartTime sets the StartTime field's value.

func (*RecommendationTemplate) SetStatus

SetStatus sets the Status field's value.

func (*RecommendationTemplate) SetTags

SetTags sets the Tags field's value.

func (*RecommendationTemplate) SetTemplatesLocation

func (s *RecommendationTemplate) SetTemplatesLocation(v *S3Location) *RecommendationTemplate

SetTemplatesLocation sets the TemplatesLocation field's value.

func (RecommendationTemplate) String

func (s RecommendationTemplate) 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 RemoveDraftAppVersionResourceMappingsInput

type RemoveDraftAppVersionResourceMappingsInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The names of the registered applications to remove from the resource mappings.
	AppRegistryAppNames []*string `locationName:"appRegistryAppNames" type:"list"`

	// The names of the CloudFormation stacks to remove from the resource mappings.
	LogicalStackNames []*string `locationName:"logicalStackNames" type:"list"`

	// The names of the resource groups to remove from the resource mappings.
	ResourceGroupNames []*string `locationName:"resourceGroupNames" type:"list"`

	// The names of the resources to remove from the resource mappings.
	ResourceNames []*string `locationName:"resourceNames" type:"list"`

	TerraformSourceNames []*string `locationName:"terraformSourceNames" type:"list"`
	// contains filtered or unexported fields
}

func (RemoveDraftAppVersionResourceMappingsInput) GoString

GoString returns the string representation.

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

func (*RemoveDraftAppVersionResourceMappingsInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*RemoveDraftAppVersionResourceMappingsInput) SetAppRegistryAppNames

SetAppRegistryAppNames sets the AppRegistryAppNames field's value.

func (*RemoveDraftAppVersionResourceMappingsInput) SetLogicalStackNames

SetLogicalStackNames sets the LogicalStackNames field's value.

func (*RemoveDraftAppVersionResourceMappingsInput) SetResourceGroupNames

SetResourceGroupNames sets the ResourceGroupNames field's value.

func (*RemoveDraftAppVersionResourceMappingsInput) SetResourceNames

SetResourceNames sets the ResourceNames field's value.

func (*RemoveDraftAppVersionResourceMappingsInput) SetTerraformSourceNames added in v1.44.15

SetTerraformSourceNames sets the TerraformSourceNames field's value.

func (RemoveDraftAppVersionResourceMappingsInput) String

String returns the string representation.

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

func (*RemoveDraftAppVersionResourceMappingsInput) Validate

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

type RemoveDraftAppVersionResourceMappingsOutput

type RemoveDraftAppVersionResourceMappingsOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	AppArn *string `locationName:"appArn" type:"string"`

	// The version of the application.
	AppVersion *string `locationName:"appVersion" type:"string"`
	// contains filtered or unexported fields
}

func (RemoveDraftAppVersionResourceMappingsOutput) GoString

GoString returns the string representation.

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

func (*RemoveDraftAppVersionResourceMappingsOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*RemoveDraftAppVersionResourceMappingsOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (RemoveDraftAppVersionResourceMappingsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ResilienceHub

type ResilienceHub struct {
	*client.Client
}

ResilienceHub provides the API operation methods for making requests to AWS Resilience Hub. See this package's package overview docs for details on the service.

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

func New

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

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

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

func (*ResilienceHub) AddDraftAppVersionResourceMappings

AddDraftAppVersionResourceMappings API operation for AWS Resilience Hub.

Adds the resource mapping for the draft application version.

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 Resilience Hub's API operation AddDraftAppVersionResourceMappings for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappings

func (*ResilienceHub) AddDraftAppVersionResourceMappingsRequest

func (c *ResilienceHub) AddDraftAppVersionResourceMappingsRequest(input *AddDraftAppVersionResourceMappingsInput) (req *request.Request, output *AddDraftAppVersionResourceMappingsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappings

func (*ResilienceHub) AddDraftAppVersionResourceMappingsWithContext

func (c *ResilienceHub) AddDraftAppVersionResourceMappingsWithContext(ctx aws.Context, input *AddDraftAppVersionResourceMappingsInput, opts ...request.Option) (*AddDraftAppVersionResourceMappingsOutput, error)

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

See AddDraftAppVersionResourceMappings 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 (*ResilienceHub) CreateApp

func (c *ResilienceHub) CreateApp(input *CreateAppInput) (*CreateAppOutput, error)

CreateApp API operation for AWS Resilience Hub.

Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.

<p>After you create a Resilience Hub application, you publish it so that
you can run a resiliency assessment on it. You can then use recommendations
from the assessment to improve resiliency by running another assessment,
comparing results, and then iterating the process until you achieve your
goals for recovery time objective (RTO) and recovery point objective (RPO).</p>

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 Resilience Hub's API operation CreateApp for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ServiceQuotaExceededException You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateApp

func (*ResilienceHub) CreateAppRequest

func (c *ResilienceHub) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateApp

func (*ResilienceHub) CreateAppWithContext

func (c *ResilienceHub) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error)

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

See CreateApp 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 (*ResilienceHub) CreateRecommendationTemplate

CreateRecommendationTemplate API operation for AWS Resilience Hub.

Creates a new recommendation template.

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 Resilience Hub's API operation CreateRecommendationTemplate for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateRecommendationTemplate

func (*ResilienceHub) CreateRecommendationTemplateRequest

func (c *ResilienceHub) CreateRecommendationTemplateRequest(input *CreateRecommendationTemplateInput) (req *request.Request, output *CreateRecommendationTemplateOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateRecommendationTemplate

func (*ResilienceHub) CreateRecommendationTemplateWithContext

func (c *ResilienceHub) CreateRecommendationTemplateWithContext(ctx aws.Context, input *CreateRecommendationTemplateInput, opts ...request.Option) (*CreateRecommendationTemplateOutput, error)

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

See CreateRecommendationTemplate 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 (*ResilienceHub) CreateResiliencyPolicy

func (c *ResilienceHub) CreateResiliencyPolicy(input *CreateResiliencyPolicyInput) (*CreateResiliencyPolicyOutput, error)

CreateResiliencyPolicy API operation for AWS Resilience Hub.

Creates a resiliency policy for an application.

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 Resilience Hub's API operation CreateResiliencyPolicy for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ServiceQuotaExceededException You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicy

func (*ResilienceHub) CreateResiliencyPolicyRequest

func (c *ResilienceHub) CreateResiliencyPolicyRequest(input *CreateResiliencyPolicyInput) (req *request.Request, output *CreateResiliencyPolicyOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicy

func (*ResilienceHub) CreateResiliencyPolicyWithContext

func (c *ResilienceHub) CreateResiliencyPolicyWithContext(ctx aws.Context, input *CreateResiliencyPolicyInput, opts ...request.Option) (*CreateResiliencyPolicyOutput, error)

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

See CreateResiliencyPolicy 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 (*ResilienceHub) DeleteApp

func (c *ResilienceHub) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error)

DeleteApp API operation for AWS Resilience Hub.

Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.

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 Resilience Hub's API operation DeleteApp for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteApp

func (*ResilienceHub) DeleteAppAssessment

func (c *ResilienceHub) DeleteAppAssessment(input *DeleteAppAssessmentInput) (*DeleteAppAssessmentOutput, error)

DeleteAppAssessment API operation for AWS Resilience Hub.

Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.

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 Resilience Hub's API operation DeleteAppAssessment for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppAssessment

func (*ResilienceHub) DeleteAppAssessmentRequest

func (c *ResilienceHub) DeleteAppAssessmentRequest(input *DeleteAppAssessmentInput) (req *request.Request, output *DeleteAppAssessmentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppAssessment

func (*ResilienceHub) DeleteAppAssessmentWithContext

func (c *ResilienceHub) DeleteAppAssessmentWithContext(ctx aws.Context, input *DeleteAppAssessmentInput, opts ...request.Option) (*DeleteAppAssessmentOutput, error)

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

See DeleteAppAssessment 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 (*ResilienceHub) DeleteAppRequest

func (c *ResilienceHub) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteApp

func (*ResilienceHub) DeleteAppWithContext

func (c *ResilienceHub) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error)

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

See DeleteApp 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 (*ResilienceHub) DeleteRecommendationTemplate

DeleteRecommendationTemplate API operation for AWS Resilience Hub.

Deletes a recommendation template. This is a destructive action that can't be undone.

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 Resilience Hub's API operation DeleteRecommendationTemplate for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate

func (*ResilienceHub) DeleteRecommendationTemplateRequest

func (c *ResilienceHub) DeleteRecommendationTemplateRequest(input *DeleteRecommendationTemplateInput) (req *request.Request, output *DeleteRecommendationTemplateOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate

func (*ResilienceHub) DeleteRecommendationTemplateWithContext

func (c *ResilienceHub) DeleteRecommendationTemplateWithContext(ctx aws.Context, input *DeleteRecommendationTemplateInput, opts ...request.Option) (*DeleteRecommendationTemplateOutput, error)

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

See DeleteRecommendationTemplate 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 (*ResilienceHub) DeleteResiliencyPolicy

func (c *ResilienceHub) DeleteResiliencyPolicy(input *DeleteResiliencyPolicyInput) (*DeleteResiliencyPolicyOutput, error)

DeleteResiliencyPolicy API operation for AWS Resilience Hub.

Deletes a resiliency policy. This is a destructive action that can't be undone.

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 Resilience Hub's API operation DeleteResiliencyPolicy for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy

func (*ResilienceHub) DeleteResiliencyPolicyRequest

func (c *ResilienceHub) DeleteResiliencyPolicyRequest(input *DeleteResiliencyPolicyInput) (req *request.Request, output *DeleteResiliencyPolicyOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy

func (*ResilienceHub) DeleteResiliencyPolicyWithContext

func (c *ResilienceHub) DeleteResiliencyPolicyWithContext(ctx aws.Context, input *DeleteResiliencyPolicyInput, opts ...request.Option) (*DeleteResiliencyPolicyOutput, error)

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

See DeleteResiliencyPolicy 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 (*ResilienceHub) DescribeApp

func (c *ResilienceHub) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error)

DescribeApp API operation for AWS Resilience Hub.

Describes an AWS Resilience Hub application.

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 Resilience Hub's API operation DescribeApp for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp

func (*ResilienceHub) DescribeAppAssessment

func (c *ResilienceHub) DescribeAppAssessment(input *DescribeAppAssessmentInput) (*DescribeAppAssessmentOutput, error)

DescribeAppAssessment API operation for AWS Resilience Hub.

Describes an assessment for an AWS Resilience Hub application.

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 Resilience Hub's API operation DescribeAppAssessment for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment

func (*ResilienceHub) DescribeAppAssessmentRequest

func (c *ResilienceHub) DescribeAppAssessmentRequest(input *DescribeAppAssessmentInput) (req *request.Request, output *DescribeAppAssessmentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment

func (*ResilienceHub) DescribeAppAssessmentWithContext

func (c *ResilienceHub) DescribeAppAssessmentWithContext(ctx aws.Context, input *DescribeAppAssessmentInput, opts ...request.Option) (*DescribeAppAssessmentOutput, error)

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

See DescribeAppAssessment 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 (*ResilienceHub) DescribeAppRequest

func (c *ResilienceHub) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp

func (*ResilienceHub) DescribeAppVersionResourcesResolutionStatus

DescribeAppVersionResourcesResolutionStatus API operation for AWS Resilience Hub.

Returns the resolution status for the specified resolution identifier for an application version. If resolutionId is not specified, the current resolution status is returned.

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 Resilience Hub's API operation DescribeAppVersionResourcesResolutionStatus for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus

func (*ResilienceHub) DescribeAppVersionResourcesResolutionStatusRequest

func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusRequest(input *DescribeAppVersionResourcesResolutionStatusInput) (req *request.Request, output *DescribeAppVersionResourcesResolutionStatusOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus

func (*ResilienceHub) DescribeAppVersionResourcesResolutionStatusWithContext

func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusWithContext(ctx aws.Context, input *DescribeAppVersionResourcesResolutionStatusInput, opts ...request.Option) (*DescribeAppVersionResourcesResolutionStatusOutput, error)

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

See DescribeAppVersionResourcesResolutionStatus 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 (*ResilienceHub) DescribeAppVersionTemplate

func (c *ResilienceHub) DescribeAppVersionTemplate(input *DescribeAppVersionTemplateInput) (*DescribeAppVersionTemplateOutput, error)

DescribeAppVersionTemplate API operation for AWS Resilience Hub.

Describes details about an AWS Resilience Hub

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 Resilience Hub's API operation DescribeAppVersionTemplate for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate

func (*ResilienceHub) DescribeAppVersionTemplateRequest

func (c *ResilienceHub) DescribeAppVersionTemplateRequest(input *DescribeAppVersionTemplateInput) (req *request.Request, output *DescribeAppVersionTemplateOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate

func (*ResilienceHub) DescribeAppVersionTemplateWithContext

func (c *ResilienceHub) DescribeAppVersionTemplateWithContext(ctx aws.Context, input *DescribeAppVersionTemplateInput, opts ...request.Option) (*DescribeAppVersionTemplateOutput, error)

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

See DescribeAppVersionTemplate 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 (*ResilienceHub) DescribeAppWithContext

func (c *ResilienceHub) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error)

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

See DescribeApp 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 (*ResilienceHub) DescribeDraftAppVersionResourcesImportStatus

DescribeDraftAppVersionResourcesImportStatus API operation for AWS Resilience Hub.

Describes the status of importing resources to an application version.

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 Resilience Hub's API operation DescribeDraftAppVersionResourcesImportStatus for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus

func (*ResilienceHub) DescribeDraftAppVersionResourcesImportStatusRequest

func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusRequest(input *DescribeDraftAppVersionResourcesImportStatusInput) (req *request.Request, output *DescribeDraftAppVersionResourcesImportStatusOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus

func (*ResilienceHub) DescribeDraftAppVersionResourcesImportStatusWithContext

func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusWithContext(ctx aws.Context, input *DescribeDraftAppVersionResourcesImportStatusInput, opts ...request.Option) (*DescribeDraftAppVersionResourcesImportStatusOutput, error)

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

See DescribeDraftAppVersionResourcesImportStatus 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 (*ResilienceHub) DescribeResiliencyPolicy

func (c *ResilienceHub) DescribeResiliencyPolicy(input *DescribeResiliencyPolicyInput) (*DescribeResiliencyPolicyOutput, error)

DescribeResiliencyPolicy API operation for AWS Resilience Hub.

Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.

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 Resilience Hub's API operation DescribeResiliencyPolicy for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy

func (*ResilienceHub) DescribeResiliencyPolicyRequest

func (c *ResilienceHub) DescribeResiliencyPolicyRequest(input *DescribeResiliencyPolicyInput) (req *request.Request, output *DescribeResiliencyPolicyOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy

func (*ResilienceHub) DescribeResiliencyPolicyWithContext

func (c *ResilienceHub) DescribeResiliencyPolicyWithContext(ctx aws.Context, input *DescribeResiliencyPolicyInput, opts ...request.Option) (*DescribeResiliencyPolicyOutput, error)

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

See DescribeResiliencyPolicy 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 (*ResilienceHub) ImportResourcesToDraftAppVersion

ImportResourcesToDraftAppVersion API operation for AWS Resilience Hub.

Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.

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 Resilience Hub's API operation ImportResourcesToDraftAppVersion for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion

func (*ResilienceHub) ImportResourcesToDraftAppVersionRequest

func (c *ResilienceHub) ImportResourcesToDraftAppVersionRequest(input *ImportResourcesToDraftAppVersionInput) (req *request.Request, output *ImportResourcesToDraftAppVersionOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion

func (*ResilienceHub) ImportResourcesToDraftAppVersionWithContext

func (c *ResilienceHub) ImportResourcesToDraftAppVersionWithContext(ctx aws.Context, input *ImportResourcesToDraftAppVersionInput, opts ...request.Option) (*ImportResourcesToDraftAppVersionOutput, error)

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

See ImportResourcesToDraftAppVersion 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 (*ResilienceHub) ListAlarmRecommendations

func (c *ResilienceHub) ListAlarmRecommendations(input *ListAlarmRecommendationsInput) (*ListAlarmRecommendationsOutput, error)

ListAlarmRecommendations API operation for AWS Resilience Hub.

Lists the alarm recommendations for a AWS Resilience Hub application.

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 Resilience Hub's API operation ListAlarmRecommendations for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations

func (*ResilienceHub) ListAlarmRecommendationsPages

func (c *ResilienceHub) ListAlarmRecommendationsPages(input *ListAlarmRecommendationsInput, fn func(*ListAlarmRecommendationsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAlarmRecommendationsPagesWithContext

func (c *ResilienceHub) ListAlarmRecommendationsPagesWithContext(ctx aws.Context, input *ListAlarmRecommendationsInput, fn func(*ListAlarmRecommendationsOutput, bool) bool, opts ...request.Option) error

ListAlarmRecommendationsPagesWithContext same as ListAlarmRecommendationsPages 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 (*ResilienceHub) ListAlarmRecommendationsRequest

func (c *ResilienceHub) ListAlarmRecommendationsRequest(input *ListAlarmRecommendationsInput) (req *request.Request, output *ListAlarmRecommendationsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations

func (*ResilienceHub) ListAlarmRecommendationsWithContext

func (c *ResilienceHub) ListAlarmRecommendationsWithContext(ctx aws.Context, input *ListAlarmRecommendationsInput, opts ...request.Option) (*ListAlarmRecommendationsOutput, error)

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

See ListAlarmRecommendations 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 (*ResilienceHub) ListAppAssessments

func (c *ResilienceHub) ListAppAssessments(input *ListAppAssessmentsInput) (*ListAppAssessmentsOutput, error)

ListAppAssessments API operation for AWS Resilience Hub.

Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.

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 Resilience Hub's API operation ListAppAssessments for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments

func (*ResilienceHub) ListAppAssessmentsPages

func (c *ResilienceHub) ListAppAssessmentsPages(input *ListAppAssessmentsInput, fn func(*ListAppAssessmentsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAppAssessmentsPagesWithContext

func (c *ResilienceHub) ListAppAssessmentsPagesWithContext(ctx aws.Context, input *ListAppAssessmentsInput, fn func(*ListAppAssessmentsOutput, bool) bool, opts ...request.Option) error

ListAppAssessmentsPagesWithContext same as ListAppAssessmentsPages 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 (*ResilienceHub) ListAppAssessmentsRequest

func (c *ResilienceHub) ListAppAssessmentsRequest(input *ListAppAssessmentsInput) (req *request.Request, output *ListAppAssessmentsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments

func (*ResilienceHub) ListAppAssessmentsWithContext

func (c *ResilienceHub) ListAppAssessmentsWithContext(ctx aws.Context, input *ListAppAssessmentsInput, opts ...request.Option) (*ListAppAssessmentsOutput, error)

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

See ListAppAssessments 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 (*ResilienceHub) ListAppComponentCompliances

ListAppComponentCompliances API operation for AWS Resilience Hub.

Lists the compliances for an AWS Resilience Hub component.

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 Resilience Hub's API operation ListAppComponentCompliances for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances

func (*ResilienceHub) ListAppComponentCompliancesPages

func (c *ResilienceHub) ListAppComponentCompliancesPages(input *ListAppComponentCompliancesInput, fn func(*ListAppComponentCompliancesOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAppComponentCompliancesPagesWithContext

func (c *ResilienceHub) ListAppComponentCompliancesPagesWithContext(ctx aws.Context, input *ListAppComponentCompliancesInput, fn func(*ListAppComponentCompliancesOutput, bool) bool, opts ...request.Option) error

ListAppComponentCompliancesPagesWithContext same as ListAppComponentCompliancesPages 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 (*ResilienceHub) ListAppComponentCompliancesRequest

func (c *ResilienceHub) ListAppComponentCompliancesRequest(input *ListAppComponentCompliancesInput) (req *request.Request, output *ListAppComponentCompliancesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances

func (*ResilienceHub) ListAppComponentCompliancesWithContext

func (c *ResilienceHub) ListAppComponentCompliancesWithContext(ctx aws.Context, input *ListAppComponentCompliancesInput, opts ...request.Option) (*ListAppComponentCompliancesOutput, error)

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

See ListAppComponentCompliances 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 (*ResilienceHub) ListAppComponentRecommendations

ListAppComponentRecommendations API operation for AWS Resilience Hub.

Lists the recommendations for an AWS Resilience Hub component.

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 Resilience Hub's API operation ListAppComponentRecommendations for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations

func (*ResilienceHub) ListAppComponentRecommendationsPages

func (c *ResilienceHub) ListAppComponentRecommendationsPages(input *ListAppComponentRecommendationsInput, fn func(*ListAppComponentRecommendationsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAppComponentRecommendationsPagesWithContext

func (c *ResilienceHub) ListAppComponentRecommendationsPagesWithContext(ctx aws.Context, input *ListAppComponentRecommendationsInput, fn func(*ListAppComponentRecommendationsOutput, bool) bool, opts ...request.Option) error

ListAppComponentRecommendationsPagesWithContext same as ListAppComponentRecommendationsPages 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 (*ResilienceHub) ListAppComponentRecommendationsRequest

func (c *ResilienceHub) ListAppComponentRecommendationsRequest(input *ListAppComponentRecommendationsInput) (req *request.Request, output *ListAppComponentRecommendationsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations

func (*ResilienceHub) ListAppComponentRecommendationsWithContext

func (c *ResilienceHub) ListAppComponentRecommendationsWithContext(ctx aws.Context, input *ListAppComponentRecommendationsInput, opts ...request.Option) (*ListAppComponentRecommendationsOutput, error)

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

See ListAppComponentRecommendations 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 (*ResilienceHub) ListAppVersionResourceMappings

ListAppVersionResourceMappings API operation for AWS Resilience Hub.

Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.

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 Resilience Hub's API operation ListAppVersionResourceMappings for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings

func (*ResilienceHub) ListAppVersionResourceMappingsPages

func (c *ResilienceHub) ListAppVersionResourceMappingsPages(input *ListAppVersionResourceMappingsInput, fn func(*ListAppVersionResourceMappingsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAppVersionResourceMappingsPagesWithContext

func (c *ResilienceHub) ListAppVersionResourceMappingsPagesWithContext(ctx aws.Context, input *ListAppVersionResourceMappingsInput, fn func(*ListAppVersionResourceMappingsOutput, bool) bool, opts ...request.Option) error

ListAppVersionResourceMappingsPagesWithContext same as ListAppVersionResourceMappingsPages 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 (*ResilienceHub) ListAppVersionResourceMappingsRequest

func (c *ResilienceHub) ListAppVersionResourceMappingsRequest(input *ListAppVersionResourceMappingsInput) (req *request.Request, output *ListAppVersionResourceMappingsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings

func (*ResilienceHub) ListAppVersionResourceMappingsWithContext

func (c *ResilienceHub) ListAppVersionResourceMappingsWithContext(ctx aws.Context, input *ListAppVersionResourceMappingsInput, opts ...request.Option) (*ListAppVersionResourceMappingsOutput, error)

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

See ListAppVersionResourceMappings 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 (*ResilienceHub) ListAppVersionResources

func (c *ResilienceHub) ListAppVersionResources(input *ListAppVersionResourcesInput) (*ListAppVersionResourcesOutput, error)

ListAppVersionResources API operation for AWS Resilience Hub.

Lists all the resources in an application version.

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 Resilience Hub's API operation ListAppVersionResources for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources

func (*ResilienceHub) ListAppVersionResourcesPages

func (c *ResilienceHub) ListAppVersionResourcesPages(input *ListAppVersionResourcesInput, fn func(*ListAppVersionResourcesOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAppVersionResourcesPagesWithContext

func (c *ResilienceHub) ListAppVersionResourcesPagesWithContext(ctx aws.Context, input *ListAppVersionResourcesInput, fn func(*ListAppVersionResourcesOutput, bool) bool, opts ...request.Option) error

ListAppVersionResourcesPagesWithContext same as ListAppVersionResourcesPages 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 (*ResilienceHub) ListAppVersionResourcesRequest

func (c *ResilienceHub) ListAppVersionResourcesRequest(input *ListAppVersionResourcesInput) (req *request.Request, output *ListAppVersionResourcesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources

func (*ResilienceHub) ListAppVersionResourcesWithContext

func (c *ResilienceHub) ListAppVersionResourcesWithContext(ctx aws.Context, input *ListAppVersionResourcesInput, opts ...request.Option) (*ListAppVersionResourcesOutput, error)

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

See ListAppVersionResources 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 (*ResilienceHub) ListAppVersions

func (c *ResilienceHub) ListAppVersions(input *ListAppVersionsInput) (*ListAppVersionsOutput, error)

ListAppVersions API operation for AWS Resilience Hub.

Lists the different versions for the Resilience Hub applications.

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 Resilience Hub's API operation ListAppVersions for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions

func (*ResilienceHub) ListAppVersionsPages

func (c *ResilienceHub) ListAppVersionsPages(input *ListAppVersionsInput, fn func(*ListAppVersionsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAppVersionsPagesWithContext

func (c *ResilienceHub) ListAppVersionsPagesWithContext(ctx aws.Context, input *ListAppVersionsInput, fn func(*ListAppVersionsOutput, bool) bool, opts ...request.Option) error

ListAppVersionsPagesWithContext same as ListAppVersionsPages 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 (*ResilienceHub) ListAppVersionsRequest

func (c *ResilienceHub) ListAppVersionsRequest(input *ListAppVersionsInput) (req *request.Request, output *ListAppVersionsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions

func (*ResilienceHub) ListAppVersionsWithContext

func (c *ResilienceHub) ListAppVersionsWithContext(ctx aws.Context, input *ListAppVersionsInput, opts ...request.Option) (*ListAppVersionsOutput, error)

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

See ListAppVersions 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 (*ResilienceHub) ListApps

func (c *ResilienceHub) ListApps(input *ListAppsInput) (*ListAppsOutput, error)

ListApps API operation for AWS Resilience Hub.

Lists your Resilience Hub applications.

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 Resilience Hub's API operation ListApps for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps

func (*ResilienceHub) ListAppsPages

func (c *ResilienceHub) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListAppsPagesWithContext

func (c *ResilienceHub) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error

ListAppsPagesWithContext same as ListAppsPages 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 (*ResilienceHub) ListAppsRequest

func (c *ResilienceHub) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps

func (*ResilienceHub) ListAppsWithContext

func (c *ResilienceHub) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error)

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

See ListApps 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 (*ResilienceHub) ListRecommendationTemplates

ListRecommendationTemplates API operation for AWS Resilience Hub.

Lists the recommendation templates for the Resilience Hub applications.

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 Resilience Hub's API operation ListRecommendationTemplates for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates

func (*ResilienceHub) ListRecommendationTemplatesPages

func (c *ResilienceHub) ListRecommendationTemplatesPages(input *ListRecommendationTemplatesInput, fn func(*ListRecommendationTemplatesOutput, bool) bool) error

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

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

func (*ResilienceHub) ListRecommendationTemplatesPagesWithContext

func (c *ResilienceHub) ListRecommendationTemplatesPagesWithContext(ctx aws.Context, input *ListRecommendationTemplatesInput, fn func(*ListRecommendationTemplatesOutput, bool) bool, opts ...request.Option) error

ListRecommendationTemplatesPagesWithContext same as ListRecommendationTemplatesPages 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 (*ResilienceHub) ListRecommendationTemplatesRequest

func (c *ResilienceHub) ListRecommendationTemplatesRequest(input *ListRecommendationTemplatesInput) (req *request.Request, output *ListRecommendationTemplatesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates

func (*ResilienceHub) ListRecommendationTemplatesWithContext

func (c *ResilienceHub) ListRecommendationTemplatesWithContext(ctx aws.Context, input *ListRecommendationTemplatesInput, opts ...request.Option) (*ListRecommendationTemplatesOutput, error)

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

See ListRecommendationTemplates 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 (*ResilienceHub) ListResiliencyPolicies

func (c *ResilienceHub) ListResiliencyPolicies(input *ListResiliencyPoliciesInput) (*ListResiliencyPoliciesOutput, error)

ListResiliencyPolicies API operation for AWS Resilience Hub.

Lists the resiliency policies for the Resilience Hub applications.

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 Resilience Hub's API operation ListResiliencyPolicies for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies

func (*ResilienceHub) ListResiliencyPoliciesPages

func (c *ResilienceHub) ListResiliencyPoliciesPages(input *ListResiliencyPoliciesInput, fn func(*ListResiliencyPoliciesOutput, bool) bool) error

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

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

func (*ResilienceHub) ListResiliencyPoliciesPagesWithContext

func (c *ResilienceHub) ListResiliencyPoliciesPagesWithContext(ctx aws.Context, input *ListResiliencyPoliciesInput, fn func(*ListResiliencyPoliciesOutput, bool) bool, opts ...request.Option) error

ListResiliencyPoliciesPagesWithContext same as ListResiliencyPoliciesPages 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 (*ResilienceHub) ListResiliencyPoliciesRequest

func (c *ResilienceHub) ListResiliencyPoliciesRequest(input *ListResiliencyPoliciesInput) (req *request.Request, output *ListResiliencyPoliciesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies

func (*ResilienceHub) ListResiliencyPoliciesWithContext

func (c *ResilienceHub) ListResiliencyPoliciesWithContext(ctx aws.Context, input *ListResiliencyPoliciesInput, opts ...request.Option) (*ListResiliencyPoliciesOutput, error)

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

See ListResiliencyPolicies 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 (*ResilienceHub) ListSopRecommendations

func (c *ResilienceHub) ListSopRecommendations(input *ListSopRecommendationsInput) (*ListSopRecommendationsOutput, error)

ListSopRecommendations API operation for AWS Resilience Hub.

Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.

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 Resilience Hub's API operation ListSopRecommendations for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations

func (*ResilienceHub) ListSopRecommendationsPages

func (c *ResilienceHub) ListSopRecommendationsPages(input *ListSopRecommendationsInput, fn func(*ListSopRecommendationsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListSopRecommendationsPagesWithContext

func (c *ResilienceHub) ListSopRecommendationsPagesWithContext(ctx aws.Context, input *ListSopRecommendationsInput, fn func(*ListSopRecommendationsOutput, bool) bool, opts ...request.Option) error

ListSopRecommendationsPagesWithContext same as ListSopRecommendationsPages 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 (*ResilienceHub) ListSopRecommendationsRequest

func (c *ResilienceHub) ListSopRecommendationsRequest(input *ListSopRecommendationsInput) (req *request.Request, output *ListSopRecommendationsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations

func (*ResilienceHub) ListSopRecommendationsWithContext

func (c *ResilienceHub) ListSopRecommendationsWithContext(ctx aws.Context, input *ListSopRecommendationsInput, opts ...request.Option) (*ListSopRecommendationsOutput, error)

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

See ListSopRecommendations 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 (*ResilienceHub) ListSuggestedResiliencyPolicies

ListSuggestedResiliencyPolicies API operation for AWS Resilience Hub.

Lists the suggested resiliency policies for the Resilience Hub applications.

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 Resilience Hub's API operation ListSuggestedResiliencyPolicies for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies

func (*ResilienceHub) ListSuggestedResiliencyPoliciesPages

func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPages(input *ListSuggestedResiliencyPoliciesInput, fn func(*ListSuggestedResiliencyPoliciesOutput, bool) bool) error

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

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

func (*ResilienceHub) ListSuggestedResiliencyPoliciesPagesWithContext

func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPagesWithContext(ctx aws.Context, input *ListSuggestedResiliencyPoliciesInput, fn func(*ListSuggestedResiliencyPoliciesOutput, bool) bool, opts ...request.Option) error

ListSuggestedResiliencyPoliciesPagesWithContext same as ListSuggestedResiliencyPoliciesPages 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 (*ResilienceHub) ListSuggestedResiliencyPoliciesRequest

func (c *ResilienceHub) ListSuggestedResiliencyPoliciesRequest(input *ListSuggestedResiliencyPoliciesInput) (req *request.Request, output *ListSuggestedResiliencyPoliciesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies

func (*ResilienceHub) ListSuggestedResiliencyPoliciesWithContext

func (c *ResilienceHub) ListSuggestedResiliencyPoliciesWithContext(ctx aws.Context, input *ListSuggestedResiliencyPoliciesInput, opts ...request.Option) (*ListSuggestedResiliencyPoliciesOutput, error)

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

See ListSuggestedResiliencyPolicies 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 (*ResilienceHub) ListTagsForResource

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

ListTagsForResource API operation for AWS Resilience Hub.

Lists the tags for your resources in your Resilience Hub applications.

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 Resilience Hub's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResource

func (*ResilienceHub) ListTagsForResourceRequest

func (c *ResilienceHub) 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/resiliencehub-2020-04-30/ListTagsForResource

func (*ResilienceHub) ListTagsForResourceWithContext

func (c *ResilienceHub) 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 (*ResilienceHub) ListTestRecommendations

func (c *ResilienceHub) ListTestRecommendations(input *ListTestRecommendationsInput) (*ListTestRecommendationsOutput, error)

ListTestRecommendations API operation for AWS Resilience Hub.

Lists the test recommendations for the Resilience Hub application.

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 Resilience Hub's API operation ListTestRecommendations for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations

func (*ResilienceHub) ListTestRecommendationsPages

func (c *ResilienceHub) ListTestRecommendationsPages(input *ListTestRecommendationsInput, fn func(*ListTestRecommendationsOutput, bool) bool) error

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

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

func (*ResilienceHub) ListTestRecommendationsPagesWithContext

func (c *ResilienceHub) ListTestRecommendationsPagesWithContext(ctx aws.Context, input *ListTestRecommendationsInput, fn func(*ListTestRecommendationsOutput, bool) bool, opts ...request.Option) error

ListTestRecommendationsPagesWithContext same as ListTestRecommendationsPages 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 (*ResilienceHub) ListTestRecommendationsRequest

func (c *ResilienceHub) ListTestRecommendationsRequest(input *ListTestRecommendationsInput) (req *request.Request, output *ListTestRecommendationsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations

func (*ResilienceHub) ListTestRecommendationsWithContext

func (c *ResilienceHub) ListTestRecommendationsWithContext(ctx aws.Context, input *ListTestRecommendationsInput, opts ...request.Option) (*ListTestRecommendationsOutput, error)

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

See ListTestRecommendations 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 (*ResilienceHub) ListUnsupportedAppVersionResources

ListUnsupportedAppVersionResources API operation for AWS Resilience Hub.

Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.

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 Resilience Hub's API operation ListUnsupportedAppVersionResources for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources

func (*ResilienceHub) ListUnsupportedAppVersionResourcesPages

func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPages(input *ListUnsupportedAppVersionResourcesInput, fn func(*ListUnsupportedAppVersionResourcesOutput, bool) bool) error

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

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

func (*ResilienceHub) ListUnsupportedAppVersionResourcesPagesWithContext

func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPagesWithContext(ctx aws.Context, input *ListUnsupportedAppVersionResourcesInput, fn func(*ListUnsupportedAppVersionResourcesOutput, bool) bool, opts ...request.Option) error

ListUnsupportedAppVersionResourcesPagesWithContext same as ListUnsupportedAppVersionResourcesPages 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 (*ResilienceHub) ListUnsupportedAppVersionResourcesRequest

func (c *ResilienceHub) ListUnsupportedAppVersionResourcesRequest(input *ListUnsupportedAppVersionResourcesInput) (req *request.Request, output *ListUnsupportedAppVersionResourcesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources

func (*ResilienceHub) ListUnsupportedAppVersionResourcesWithContext

func (c *ResilienceHub) ListUnsupportedAppVersionResourcesWithContext(ctx aws.Context, input *ListUnsupportedAppVersionResourcesInput, opts ...request.Option) (*ListUnsupportedAppVersionResourcesOutput, error)

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

See ListUnsupportedAppVersionResources 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 (*ResilienceHub) PublishAppVersion

func (c *ResilienceHub) PublishAppVersion(input *PublishAppVersionInput) (*PublishAppVersionOutput, error)

PublishAppVersion API operation for AWS Resilience Hub.

Publishes a new version of a specific Resilience Hub application.

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 Resilience Hub's API operation PublishAppVersion for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion

func (*ResilienceHub) PublishAppVersionRequest

func (c *ResilienceHub) PublishAppVersionRequest(input *PublishAppVersionInput) (req *request.Request, output *PublishAppVersionOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion

func (*ResilienceHub) PublishAppVersionWithContext

func (c *ResilienceHub) PublishAppVersionWithContext(ctx aws.Context, input *PublishAppVersionInput, opts ...request.Option) (*PublishAppVersionOutput, error)

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

See PublishAppVersion 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 (*ResilienceHub) PutDraftAppVersionTemplate

func (c *ResilienceHub) PutDraftAppVersionTemplate(input *PutDraftAppVersionTemplateInput) (*PutDraftAppVersionTemplateOutput, error)

PutDraftAppVersionTemplate API operation for AWS Resilience Hub.

Adds or updates the app template for a draft version of a Resilience Hub app.

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 Resilience Hub's API operation PutDraftAppVersionTemplate for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate

func (*ResilienceHub) PutDraftAppVersionTemplateRequest

func (c *ResilienceHub) PutDraftAppVersionTemplateRequest(input *PutDraftAppVersionTemplateInput) (req *request.Request, output *PutDraftAppVersionTemplateOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate

func (*ResilienceHub) PutDraftAppVersionTemplateWithContext

func (c *ResilienceHub) PutDraftAppVersionTemplateWithContext(ctx aws.Context, input *PutDraftAppVersionTemplateInput, opts ...request.Option) (*PutDraftAppVersionTemplateOutput, error)

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

See PutDraftAppVersionTemplate 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 (*ResilienceHub) RemoveDraftAppVersionResourceMappings

RemoveDraftAppVersionResourceMappings API operation for AWS Resilience Hub.

Removes resource mappings from a draft application version.

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 Resilience Hub's API operation RemoveDraftAppVersionResourceMappings for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings

func (*ResilienceHub) RemoveDraftAppVersionResourceMappingsRequest

func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsRequest(input *RemoveDraftAppVersionResourceMappingsInput) (req *request.Request, output *RemoveDraftAppVersionResourceMappingsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings

func (*ResilienceHub) RemoveDraftAppVersionResourceMappingsWithContext

func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsWithContext(ctx aws.Context, input *RemoveDraftAppVersionResourceMappingsInput, opts ...request.Option) (*RemoveDraftAppVersionResourceMappingsOutput, error)

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

See RemoveDraftAppVersionResourceMappings 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 (*ResilienceHub) ResolveAppVersionResources

func (c *ResilienceHub) ResolveAppVersionResources(input *ResolveAppVersionResourcesInput) (*ResolveAppVersionResourcesOutput, error)

ResolveAppVersionResources API operation for AWS Resilience Hub.

Resolves the resources for an application version.

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 Resilience Hub's API operation ResolveAppVersionResources for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources

func (*ResilienceHub) ResolveAppVersionResourcesRequest

func (c *ResilienceHub) ResolveAppVersionResourcesRequest(input *ResolveAppVersionResourcesInput) (req *request.Request, output *ResolveAppVersionResourcesOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources

func (*ResilienceHub) ResolveAppVersionResourcesWithContext

func (c *ResilienceHub) ResolveAppVersionResourcesWithContext(ctx aws.Context, input *ResolveAppVersionResourcesInput, opts ...request.Option) (*ResolveAppVersionResourcesOutput, error)

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

See ResolveAppVersionResources 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 (*ResilienceHub) StartAppAssessment

func (c *ResilienceHub) StartAppAssessment(input *StartAppAssessmentInput) (*StartAppAssessmentOutput, error)

StartAppAssessment API operation for AWS Resilience Hub.

Creates a new application assessment for an application.

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 Resilience Hub's API operation StartAppAssessment for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ServiceQuotaExceededException You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment

func (*ResilienceHub) StartAppAssessmentRequest

func (c *ResilienceHub) StartAppAssessmentRequest(input *StartAppAssessmentInput) (req *request.Request, output *StartAppAssessmentOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment

func (*ResilienceHub) StartAppAssessmentWithContext

func (c *ResilienceHub) StartAppAssessmentWithContext(ctx aws.Context, input *StartAppAssessmentInput, opts ...request.Option) (*StartAppAssessmentOutput, error)

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

See StartAppAssessment 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 (*ResilienceHub) TagResource

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

TagResource API operation for AWS Resilience Hub.

Applies one or more tags to a resource.

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 Resilience Hub's API operation TagResource for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResource

func (*ResilienceHub) TagResourceRequest

func (c *ResilienceHub) 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/resiliencehub-2020-04-30/TagResource

func (*ResilienceHub) TagResourceWithContext

func (c *ResilienceHub) 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 (*ResilienceHub) UntagResource

func (c *ResilienceHub) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Resilience Hub.

Removes one or more tags from a resource.

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 Resilience Hub's API operation UntagResource for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResource

func (*ResilienceHub) UntagResourceRequest

func (c *ResilienceHub) 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/resiliencehub-2020-04-30/UntagResource

func (*ResilienceHub) UntagResourceWithContext

func (c *ResilienceHub) 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 (*ResilienceHub) UpdateApp

func (c *ResilienceHub) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error)

UpdateApp API operation for AWS Resilience Hub.

Updates an application.

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 Resilience Hub's API operation UpdateApp for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp

func (*ResilienceHub) UpdateAppRequest

func (c *ResilienceHub) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp

func (*ResilienceHub) UpdateAppWithContext

func (c *ResilienceHub) UpdateAppWithContext(ctx aws.Context, input *UpdateAppInput, opts ...request.Option) (*UpdateAppOutput, error)

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

See UpdateApp 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 (*ResilienceHub) UpdateResiliencyPolicy

func (c *ResilienceHub) UpdateResiliencyPolicy(input *UpdateResiliencyPolicyInput) (*UpdateResiliencyPolicyOutput, error)

UpdateResiliencyPolicy API operation for AWS Resilience Hub.

Updates a resiliency policy.

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 Resilience Hub's API operation UpdateResiliencyPolicy for usage and error information.

Returned Error Types:

  • InternalServerException This exception occurs when there is an internal failure in the AWS Resilience Hub service.

  • ResourceNotFoundException The specified resource could not be found.

  • ConflictException Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException Indicates that a request was not valid.

  • AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy

func (*ResilienceHub) UpdateResiliencyPolicyRequest

func (c *ResilienceHub) UpdateResiliencyPolicyRequest(input *UpdateResiliencyPolicyInput) (req *request.Request, output *UpdateResiliencyPolicyOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy

func (*ResilienceHub) UpdateResiliencyPolicyWithContext

func (c *ResilienceHub) UpdateResiliencyPolicyWithContext(ctx aws.Context, input *UpdateResiliencyPolicyInput, opts ...request.Option) (*UpdateResiliencyPolicyOutput, error)

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

See UpdateResiliencyPolicy 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 ResiliencyPolicy

type ResiliencyPolicy struct {

	// The timestamp for when the resiliency policy was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// Specifies a high-level geographical location constraint for where your resilience
	// policy data can be stored.
	DataLocationConstraint *string `locationName:"dataLocationConstraint" type:"string" enum:"DataLocationConstraint"`

	// Specifies the estimated cost tier of the resiliency policy.
	EstimatedCostTier *string `locationName:"estimatedCostTier" type:"string" enum:"EstimatedCostTier"`

	// The resiliency policy.
	Policy map[string]*FailurePolicy `locationName:"policy" type:"map"`

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	PolicyArn *string `locationName:"policyArn" type:"string"`

	// The description for the policy.
	PolicyDescription *string `locationName:"policyDescription" type:"string"`

	// The name of the policy
	PolicyName *string `locationName:"policyName" type:"string"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ResiliencyPolicy's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`

	// The tier for this resiliency policy, ranging from the highest severity (MissionCritical)
	// to lowest (NonCritical).
	Tier *string `locationName:"tier" type:"string" enum:"ResiliencyPolicyTier"`
	// contains filtered or unexported fields
}

Defines a resiliency policy.

func (ResiliencyPolicy) GoString

func (s ResiliencyPolicy) 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 (*ResiliencyPolicy) SetCreationTime

func (s *ResiliencyPolicy) SetCreationTime(v time.Time) *ResiliencyPolicy

SetCreationTime sets the CreationTime field's value.

func (*ResiliencyPolicy) SetDataLocationConstraint

func (s *ResiliencyPolicy) SetDataLocationConstraint(v string) *ResiliencyPolicy

SetDataLocationConstraint sets the DataLocationConstraint field's value.

func (*ResiliencyPolicy) SetEstimatedCostTier

func (s *ResiliencyPolicy) SetEstimatedCostTier(v string) *ResiliencyPolicy

SetEstimatedCostTier sets the EstimatedCostTier field's value.

func (*ResiliencyPolicy) SetPolicy

func (s *ResiliencyPolicy) SetPolicy(v map[string]*FailurePolicy) *ResiliencyPolicy

SetPolicy sets the Policy field's value.

func (*ResiliencyPolicy) SetPolicyArn

func (s *ResiliencyPolicy) SetPolicyArn(v string) *ResiliencyPolicy

SetPolicyArn sets the PolicyArn field's value.

func (*ResiliencyPolicy) SetPolicyDescription

func (s *ResiliencyPolicy) SetPolicyDescription(v string) *ResiliencyPolicy

SetPolicyDescription sets the PolicyDescription field's value.

func (*ResiliencyPolicy) SetPolicyName

func (s *ResiliencyPolicy) SetPolicyName(v string) *ResiliencyPolicy

SetPolicyName sets the PolicyName field's value.

func (*ResiliencyPolicy) SetTags

func (s *ResiliencyPolicy) SetTags(v map[string]*string) *ResiliencyPolicy

SetTags sets the Tags field's value.

func (*ResiliencyPolicy) SetTier

func (s *ResiliencyPolicy) SetTier(v string) *ResiliencyPolicy

SetTier sets the Tier field's value.

func (ResiliencyPolicy) String

func (s ResiliencyPolicy) 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 ResiliencyScore

type ResiliencyScore struct {

	// The disruption score for a valid key.
	//
	// DisruptionScore is a required field
	DisruptionScore map[string]*float64 `locationName:"disruptionScore" type:"map" required:"true"`

	// The outage score for a valid key.
	//
	// Score is a required field
	Score *float64 `locationName:"score" type:"double" required:"true"`
	// contains filtered or unexported fields
}

The overall resiliency score, returned as an object that includes the disruption score and outage score.

func (ResiliencyScore) GoString

func (s ResiliencyScore) 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 (*ResiliencyScore) SetDisruptionScore

func (s *ResiliencyScore) SetDisruptionScore(v map[string]*float64) *ResiliencyScore

SetDisruptionScore sets the DisruptionScore field's value.

func (*ResiliencyScore) SetScore

func (s *ResiliencyScore) SetScore(v float64) *ResiliencyScore

SetScore sets the Score field's value.

func (ResiliencyScore) String

func (s ResiliencyScore) 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 ResolveAppVersionResourcesInput

type ResolveAppVersionResourcesInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ResolveAppVersionResourcesInput) GoString

GoString returns the string representation.

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

func (*ResolveAppVersionResourcesInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ResolveAppVersionResourcesInput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (ResolveAppVersionResourcesInput) String

String returns the string representation.

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

func (*ResolveAppVersionResourcesInput) Validate

func (s *ResolveAppVersionResourcesInput) Validate() error

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

type ResolveAppVersionResourcesOutput

type ResolveAppVersionResourcesOutput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The identifier for a specific resolution.
	//
	// ResolutionId is a required field
	ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`

	// The status of the action.
	//
	// Status is a required field
	Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceResolutionStatusType"`
	// contains filtered or unexported fields
}

func (ResolveAppVersionResourcesOutput) GoString

GoString returns the string representation.

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

func (*ResolveAppVersionResourcesOutput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*ResolveAppVersionResourcesOutput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*ResolveAppVersionResourcesOutput) SetResolutionId

SetResolutionId sets the ResolutionId field's value.

func (*ResolveAppVersionResourcesOutput) SetStatus

SetStatus sets the Status field's value.

func (ResolveAppVersionResourcesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 ResourceError added in v1.44.15

type ResourceError struct {

	// This is the identifier of the resource.
	LogicalResourceId *string `locationName:"logicalResourceId" min:"1" type:"string"`

	// This is the identifier of the physical resource.
	PhysicalResourceId *string `locationName:"physicalResourceId" min:"1" type:"string"`

	// This is the error message.
	Reason *string `locationName:"reason" type:"string"`
	// contains filtered or unexported fields
}

Defines application resource errors.

func (ResourceError) GoString added in v1.44.15

func (s ResourceError) 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 (*ResourceError) SetLogicalResourceId added in v1.44.15

func (s *ResourceError) SetLogicalResourceId(v string) *ResourceError

SetLogicalResourceId sets the LogicalResourceId field's value.

func (*ResourceError) SetPhysicalResourceId added in v1.44.15

func (s *ResourceError) SetPhysicalResourceId(v string) *ResourceError

SetPhysicalResourceId sets the PhysicalResourceId field's value.

func (*ResourceError) SetReason added in v1.44.15

func (s *ResourceError) SetReason(v string) *ResourceError

SetReason sets the Reason field's value.

func (ResourceError) String added in v1.44.15

func (s ResourceError) 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 ResourceErrorsDetails added in v1.44.15

type ResourceErrorsDetails struct {

	// This indicates if there are more errors not listed in the resourceErrors
	// list.
	HasMoreErrors *bool `locationName:"hasMoreErrors" type:"boolean"`

	// A list of errors retrieving an application's resources.
	ResourceErrors []*ResourceError `locationName:"resourceErrors" type:"list"`
	// contains filtered or unexported fields
}

A list of errors retrieving an application's resources.

func (ResourceErrorsDetails) GoString added in v1.44.15

func (s ResourceErrorsDetails) 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 (*ResourceErrorsDetails) SetHasMoreErrors added in v1.44.15

func (s *ResourceErrorsDetails) SetHasMoreErrors(v bool) *ResourceErrorsDetails

SetHasMoreErrors sets the HasMoreErrors field's value.

func (*ResourceErrorsDetails) SetResourceErrors added in v1.44.15

func (s *ResourceErrorsDetails) SetResourceErrors(v []*ResourceError) *ResourceErrorsDetails

SetResourceErrors sets the ResourceErrors field's value.

func (ResourceErrorsDetails) String added in v1.44.15

func (s ResourceErrorsDetails) 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 ResourceMapping

type ResourceMapping struct {

	// The name of the application this resource is mapped to.
	AppRegistryAppName *string `locationName:"appRegistryAppName" type:"string"`

	// The name of the CloudFormation stack this resource is mapped to.
	LogicalStackName *string `locationName:"logicalStackName" min:"1" type:"string"`

	// Specifies the type of resource mapping.
	//
	// AppRegistryApp
	//
	// The resource is mapped to another application. The name of the application
	// is contained in the appRegistryAppName property.
	//
	// CfnStack
	//
	// The resource is mapped to a CloudFormation stack. The name of the CloudFormation
	// stack is contained in the logicalStackName property.
	//
	// Resource
	//
	// The resource is mapped to another resource. The name of the resource is contained
	// in the resourceName property.
	//
	// ResourceGroup
	//
	// The resource is mapped to a resource group. The name of the resource group
	// is contained in the resourceGroupName property.
	//
	// MappingType is a required field
	MappingType *string `locationName:"mappingType" type:"string" required:"true" enum:"ResourceMappingType"`

	// The identifier of this resource.
	//
	// PhysicalResourceId is a required field
	PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`

	// The name of the resource group this resource is mapped to.
	ResourceGroupName *string `locationName:"resourceGroupName" type:"string"`

	// The name of the resource this resource is mapped to.
	ResourceName *string `locationName:"resourceName" type:"string"`

	// The short name of the Terraform source.
	TerraformSourceName *string `locationName:"terraformSourceName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

Defines a resource mapping.

func (ResourceMapping) GoString

func (s ResourceMapping) 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 (*ResourceMapping) SetAppRegistryAppName

func (s *ResourceMapping) SetAppRegistryAppName(v string) *ResourceMapping

SetAppRegistryAppName sets the AppRegistryAppName field's value.

func (*ResourceMapping) SetLogicalStackName

func (s *ResourceMapping) SetLogicalStackName(v string) *ResourceMapping

SetLogicalStackName sets the LogicalStackName field's value.

func (*ResourceMapping) SetMappingType

func (s *ResourceMapping) SetMappingType(v string) *ResourceMapping

SetMappingType sets the MappingType field's value.

func (*ResourceMapping) SetPhysicalResourceId

func (s *ResourceMapping) SetPhysicalResourceId(v *PhysicalResourceId) *ResourceMapping

SetPhysicalResourceId sets the PhysicalResourceId field's value.

func (*ResourceMapping) SetResourceGroupName

func (s *ResourceMapping) SetResourceGroupName(v string) *ResourceMapping

SetResourceGroupName sets the ResourceGroupName field's value.

func (*ResourceMapping) SetResourceName

func (s *ResourceMapping) SetResourceName(v string) *ResourceMapping

SetResourceName sets the ResourceName field's value.

func (*ResourceMapping) SetTerraformSourceName added in v1.44.15

func (s *ResourceMapping) SetTerraformSourceName(v string) *ResourceMapping

SetTerraformSourceName sets the TerraformSourceName field's value.

func (ResourceMapping) String

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

func (s *ResourceMapping) Validate() error

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

type ResourceNotFoundException

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

	Message_ *string `locationName:"message" min:"1" type:"string"`

	// The identifier of the resource that the exception applies to.
	ResourceId *string `locationName:"resourceId" type:"string"`

	// The type of the resource that the exception applies to.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

The specified resource could not be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

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

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

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

type S3Location

type S3Location struct {

	// The name of the Amazon S3 bucket.
	Bucket *string `locationName:"bucket" min:"1" type:"string"`

	// The prefix for the Amazon S3 bucket.
	Prefix *string `locationName:"prefix" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The location of the Amazon S3 bucket.

func (S3Location) GoString

func (s S3Location) 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 (*S3Location) SetBucket

func (s *S3Location) SetBucket(v string) *S3Location

SetBucket sets the Bucket field's value.

func (*S3Location) SetPrefix

func (s *S3Location) SetPrefix(v string) *S3Location

SetPrefix sets the Prefix field's value.

func (S3Location) String

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

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

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

You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

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

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in 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 SopRecommendation

type SopRecommendation struct {

	// The application component name.
	AppComponentName *string `locationName:"appComponentName" type:"string"`

	// The description of the SOP recommendation.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The recommendation items.
	Items []*RecommendationItem `locationName:"items" type:"list"`

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

	// The prerequisite for the SOP recommendation.
	Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`

	// Identifier for the SOP recommendation.
	//
	// RecommendationId is a required field
	RecommendationId *string `locationName:"recommendationId" type:"string" required:"true"`

	// The reference identifier for the SOP recommendation.
	//
	// ReferenceId is a required field
	ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`

	// The service type.
	//
	// ServiceType is a required field
	ServiceType *string `locationName:"serviceType" type:"string" required:"true" enum:"SopServiceType"`
	// contains filtered or unexported fields
}

Defines a standard operating procedure (SOP) recommendation.

func (SopRecommendation) GoString

func (s SopRecommendation) 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 (*SopRecommendation) SetAppComponentName

func (s *SopRecommendation) SetAppComponentName(v string) *SopRecommendation

SetAppComponentName sets the AppComponentName field's value.

func (*SopRecommendation) SetDescription

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

SetDescription sets the Description field's value.

func (*SopRecommendation) SetItems

SetItems sets the Items field's value.

func (*SopRecommendation) SetName

SetName sets the Name field's value.

func (*SopRecommendation) SetPrerequisite

func (s *SopRecommendation) SetPrerequisite(v string) *SopRecommendation

SetPrerequisite sets the Prerequisite field's value.

func (*SopRecommendation) SetRecommendationId

func (s *SopRecommendation) SetRecommendationId(v string) *SopRecommendation

SetRecommendationId sets the RecommendationId field's value.

func (*SopRecommendation) SetReferenceId

func (s *SopRecommendation) SetReferenceId(v string) *SopRecommendation

SetReferenceId sets the ReferenceId field's value.

func (*SopRecommendation) SetServiceType

func (s *SopRecommendation) SetServiceType(v string) *SopRecommendation

SetServiceType sets the ServiceType field's value.

func (SopRecommendation) String

func (s SopRecommendation) 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 StartAppAssessmentInput

type StartAppAssessmentInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// The version of the application.
	//
	// AppVersion is a required field
	AppVersion *string `locationName:"appVersion" type:"string" required:"true"`

	// The name for the assessment.
	//
	// AssessmentName is a required field
	AssessmentName *string `locationName:"assessmentName" type:"string" required:"true"`

	// Used for an idempotency token. A client token is a unique, case-sensitive
	// string of up to 64 ASCII characters. You should not reuse the same client
	// token for other API requests.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The tags assigned to the resource. A tag is a label that you assign to an
	// Amazon Web Services resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by StartAppAssessmentInput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (StartAppAssessmentInput) GoString

func (s StartAppAssessmentInput) 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 (*StartAppAssessmentInput) SetAppArn

SetAppArn sets the AppArn field's value.

func (*StartAppAssessmentInput) SetAppVersion

SetAppVersion sets the AppVersion field's value.

func (*StartAppAssessmentInput) SetAssessmentName

func (s *StartAppAssessmentInput) SetAssessmentName(v string) *StartAppAssessmentInput

SetAssessmentName sets the AssessmentName field's value.

func (*StartAppAssessmentInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*StartAppAssessmentInput) SetTags

SetTags sets the Tags field's value.

func (StartAppAssessmentInput) String

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

func (s *StartAppAssessmentInput) Validate() error

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

type StartAppAssessmentOutput

type StartAppAssessmentOutput struct {

	// The assessment created.
	//
	// Assessment is a required field
	Assessment *AppAssessment `locationName:"assessment" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (StartAppAssessmentOutput) GoString

func (s StartAppAssessmentOutput) 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 (*StartAppAssessmentOutput) SetAssessment

SetAssessment sets the Assessment field's value.

func (StartAppAssessmentOutput) String

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

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The tags to assign to the resource. Each tag consists of a key/value pair.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by TagResourceInput's
	// String and GoString methods.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

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

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

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

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

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

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

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

type TerraformSource added in v1.44.15

type TerraformSource struct {

	// The Terraform s3 state file you need to import.
	//
	// S3StateFileUrl is a required field
	S3StateFileUrl *string `locationName:"s3StateFileUrl" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The Terraform s3 state file you need to import.

func (TerraformSource) GoString added in v1.44.15

func (s TerraformSource) 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 (*TerraformSource) SetS3StateFileUrl added in v1.44.15

func (s *TerraformSource) SetS3StateFileUrl(v string) *TerraformSource

SetS3StateFileUrl sets the S3StateFileUrl field's value.

func (TerraformSource) String added in v1.44.15

func (s TerraformSource) 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 (*TerraformSource) Validate added in v1.44.15

func (s *TerraformSource) Validate() error

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

type TestRecommendation

type TestRecommendation struct {

	// The name of the application component.
	AppComponentName *string `locationName:"appComponentName" type:"string"`

	// A list of recommended alarms that are used in the test and must be exported
	// before or with the test.
	DependsOnAlarms []*string `locationName:"dependsOnAlarms" min:"1" type:"list"`

	// The description for the test recommendation.
	Description *string `locationName:"description" min:"1" type:"string"`

	// The intent of the test recommendation.
	Intent *string `locationName:"intent" type:"string"`

	// The test recommendation items.
	Items []*RecommendationItem `locationName:"items" type:"list"`

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

	// The prerequisite of the test recommendation.
	Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`

	// Identifier for the test recommendation.
	RecommendationId *string `locationName:"recommendationId" type:"string"`

	// The reference identifier for the test recommendation.
	//
	// ReferenceId is a required field
	ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`

	// The level of risk for this test recommendation.
	Risk *string `locationName:"risk" type:"string" enum:"TestRisk"`

	// The type of test recommendation.
	Type *string `locationName:"type" type:"string" enum:"TestType"`
	// contains filtered or unexported fields
}

Defines a test recommendation.

func (TestRecommendation) GoString

func (s TestRecommendation) 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 (*TestRecommendation) SetAppComponentName

func (s *TestRecommendation) SetAppComponentName(v string) *TestRecommendation

SetAppComponentName sets the AppComponentName field's value.

func (*TestRecommendation) SetDependsOnAlarms added in v1.44.15

func (s *TestRecommendation) SetDependsOnAlarms(v []*string) *TestRecommendation

SetDependsOnAlarms sets the DependsOnAlarms field's value.

func (*TestRecommendation) SetDescription

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

SetDescription sets the Description field's value.

func (*TestRecommendation) SetIntent

func (s *TestRecommendation) SetIntent(v string) *TestRecommendation

SetIntent sets the Intent field's value.

func (*TestRecommendation) SetItems

SetItems sets the Items field's value.

func (*TestRecommendation) SetName

SetName sets the Name field's value.

func (*TestRecommendation) SetPrerequisite

func (s *TestRecommendation) SetPrerequisite(v string) *TestRecommendation

SetPrerequisite sets the Prerequisite field's value.

func (*TestRecommendation) SetRecommendationId

func (s *TestRecommendation) SetRecommendationId(v string) *TestRecommendation

SetRecommendationId sets the RecommendationId field's value.

func (*TestRecommendation) SetReferenceId

func (s *TestRecommendation) SetReferenceId(v string) *TestRecommendation

SetReferenceId sets the ReferenceId field's value.

func (*TestRecommendation) SetRisk

SetRisk sets the Risk field's value.

func (*TestRecommendation) SetType

SetType sets the Type field's value.

func (TestRecommendation) String

func (s TestRecommendation) String() string

String returns the string representation.

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

type ThrottlingException

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

	Message_ *string `locationName:"message" min:"1" type:"string"`

	// The number of seconds to wait before retrying the operation.
	RetryAfterSeconds *int64 `locationName:"retryAfterSeconds" type:"integer"`
	// contains filtered or unexported fields
}

The limit on the number of requests per second was exceeded.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

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

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

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

type UnsupportedResource

type UnsupportedResource struct {

	// The logical resource identifier for the unsupported resource.
	//
	// LogicalResourceId is a required field
	LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure" required:"true"`

	// The physical resource identifier for the unsupported resource.
	//
	// PhysicalResourceId is a required field
	PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`

	// The type of resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Defines a resource that is not supported by Resilience Hub.

func (UnsupportedResource) GoString

func (s UnsupportedResource) 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 (*UnsupportedResource) SetLogicalResourceId

func (s *UnsupportedResource) SetLogicalResourceId(v *LogicalResourceId) *UnsupportedResource

SetLogicalResourceId sets the LogicalResourceId field's value.

func (*UnsupportedResource) SetPhysicalResourceId

func (s *UnsupportedResource) SetPhysicalResourceId(v *PhysicalResourceId) *UnsupportedResource

SetPhysicalResourceId sets the PhysicalResourceId field's value.

func (*UnsupportedResource) SetResourceType

func (s *UnsupportedResource) SetResourceType(v string) *UnsupportedResource

SetResourceType sets the ResourceType field's value.

func (UnsupportedResource) String

func (s UnsupportedResource) String() string

String returns the string representation.

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

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The keys of the tags to remove.
	//
	// TagKeys is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UntagResourceInput's
	// String and GoString methods.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

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

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

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

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

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

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

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

type UpdateAppInput

type UpdateAppInput struct {

	// The Amazon Resource Name (ARN) of the application. The format for this ARN
	// is: arn:partition:resiliencehub:region:account:app/app-id. For more information
	// about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// AppArn is a required field
	AppArn *string `locationName:"appArn" type:"string" required:"true"`

	// Assessment execution schedule with 'Daily' or 'Disabled' values.
	AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`

	// Specifies if the resiliency policy ARN should be cleared.
	ClearResiliencyPolicyArn *bool `locationName:"clearResiliencyPolicyArn" type:"boolean"`

	// The optional description for an app.
	Description *string `locationName:"description" type:"string"`

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	PolicyArn *string `locationName:"policyArn" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateAppInput) GoString

func (s UpdateAppInput) 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 (*UpdateAppInput) SetAppArn

func (s *UpdateAppInput) SetAppArn(v string) *UpdateAppInput

SetAppArn sets the AppArn field's value.

func (*UpdateAppInput) SetAssessmentSchedule added in v1.44.15

func (s *UpdateAppInput) SetAssessmentSchedule(v string) *UpdateAppInput

SetAssessmentSchedule sets the AssessmentSchedule field's value.

func (*UpdateAppInput) SetClearResiliencyPolicyArn

func (s *UpdateAppInput) SetClearResiliencyPolicyArn(v bool) *UpdateAppInput

SetClearResiliencyPolicyArn sets the ClearResiliencyPolicyArn field's value.

func (*UpdateAppInput) SetDescription

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

SetDescription sets the Description field's value.

func (*UpdateAppInput) SetPolicyArn

func (s *UpdateAppInput) SetPolicyArn(v string) *UpdateAppInput

SetPolicyArn sets the PolicyArn field's value.

func (UpdateAppInput) String

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

func (s *UpdateAppInput) Validate() error

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

type UpdateAppOutput

type UpdateAppOutput struct {

	// The specified application, returned as an object with details including compliance
	// status, creation time, description, resiliency score, and more.
	//
	// App is a required field
	App *App `locationName:"app" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateAppOutput) GoString

func (s UpdateAppOutput) 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 (*UpdateAppOutput) SetApp

func (s *UpdateAppOutput) SetApp(v *App) *UpdateAppOutput

SetApp sets the App field's value.

func (UpdateAppOutput) String

func (s UpdateAppOutput) 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 UpdateResiliencyPolicyInput

type UpdateResiliencyPolicyInput struct {

	// Specifies a high-level geographical location constraint for where your resilience
	// policy data can be stored.
	DataLocationConstraint *string `locationName:"dataLocationConstraint" type:"string" enum:"DataLocationConstraint"`

	// The type of resiliency policy to be created, including the recovery time
	// objective (RTO) and recovery point objective (RPO) in seconds.
	Policy map[string]*FailurePolicy `locationName:"policy" type:"map"`

	// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
	// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
	// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// in the AWS General Reference.
	//
	// PolicyArn is a required field
	PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`

	// The description for the policy.
	PolicyDescription *string `locationName:"policyDescription" type:"string"`

	// The name of the policy
	PolicyName *string `locationName:"policyName" type:"string"`

	// The tier for this resiliency policy, ranging from the highest severity (MissionCritical)
	// to lowest (NonCritical).
	Tier *string `locationName:"tier" type:"string" enum:"ResiliencyPolicyTier"`
	// contains filtered or unexported fields
}

func (UpdateResiliencyPolicyInput) GoString

func (s UpdateResiliencyPolicyInput) 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 (*UpdateResiliencyPolicyInput) SetDataLocationConstraint

func (s *UpdateResiliencyPolicyInput) SetDataLocationConstraint(v string) *UpdateResiliencyPolicyInput

SetDataLocationConstraint sets the DataLocationConstraint field's value.

func (*UpdateResiliencyPolicyInput) SetPolicy

SetPolicy sets the Policy field's value.

func (*UpdateResiliencyPolicyInput) SetPolicyArn

SetPolicyArn sets the PolicyArn field's value.

func (*UpdateResiliencyPolicyInput) SetPolicyDescription

SetPolicyDescription sets the PolicyDescription field's value.

func (*UpdateResiliencyPolicyInput) SetPolicyName

SetPolicyName sets the PolicyName field's value.

func (*UpdateResiliencyPolicyInput) SetTier

SetTier sets the Tier field's value.

func (UpdateResiliencyPolicyInput) String

String returns the string representation.

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

func (*UpdateResiliencyPolicyInput) Validate

func (s *UpdateResiliencyPolicyInput) Validate() error

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

type UpdateResiliencyPolicyOutput

type UpdateResiliencyPolicyOutput struct {

	// The type of resiliency policy that was updated, including the recovery time
	// objective (RTO) and recovery point objective (RPO) in seconds.
	//
	// Policy is a required field
	Policy *ResiliencyPolicy `locationName:"policy" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateResiliencyPolicyOutput) GoString

func (s UpdateResiliencyPolicyOutput) 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 (*UpdateResiliencyPolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (UpdateResiliencyPolicyOutput) String

String returns the string representation.

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

type ValidationException

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

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

Indicates that a request was not valid.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

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

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

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

Directories

Path Synopsis
Package resiliencehubiface provides an interface to enable mocking the AWS Resilience Hub service client for testing your code.
Package resiliencehubiface provides an interface to enable mocking the AWS Resilience Hub service client for testing your code.

Jump to

Keyboard shortcuts

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