AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ApplyPendingMaintenanceActionInput

import "github.com/aws/aws-sdk-go/service/rds"

type ApplyPendingMaintenanceActionInput struct { ApplyAction *string `type:"string" required:"true"` OptInType *string `type:"string" required:"true"` ResourceIdentifier *string `type:"string" required:"true"` }

ApplyAction

Type: *string

The pending maintenance action to apply to this resource.

Valid values: system-update, db-upgrade

ApplyAction is a required field

OptInType

Type: *string

A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type immediate can't be undone.

Valid values:

  • immediate - Apply the maintenance action immediately.

  • next-maintenance - Apply the maintenance action during the next maintenance window for the resource.

  • undo-opt-in - Cancel any existing next-maintenance opt-in requests.

OptInType is a required field

ResourceIdentifier

Type: *string

The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing).

ResourceIdentifier is a required field

Method

GoString

func (s ApplyPendingMaintenanceActionInput) GoString() string

GoString returns the string representation

SetApplyAction

func (s *ApplyPendingMaintenanceActionInput) SetApplyAction(v string) *ApplyPendingMaintenanceActionInput

SetApplyAction sets the ApplyAction field's value.

SetOptInType

func (s *ApplyPendingMaintenanceActionInput) SetOptInType(v string) *ApplyPendingMaintenanceActionInput

SetOptInType sets the OptInType field's value.

SetResourceIdentifier

func (s *ApplyPendingMaintenanceActionInput) SetResourceIdentifier(v string) *ApplyPendingMaintenanceActionInput

SetResourceIdentifier sets the ResourceIdentifier field's value.

String

func (s ApplyPendingMaintenanceActionInput) String() string

String returns the string representation

Validate

func (s *ApplyPendingMaintenanceActionInput) Validate() error

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

On this page: