Documentation ¶
Overview ¶
Package rds provides a client for Amazon Relational Database Service.
Index ¶
- Constants
- type AccountQuota
- type AddRoleToDBClusterInput
- func (s AddRoleToDBClusterInput) GoString() string
- func (s *AddRoleToDBClusterInput) SetDBClusterIdentifier(v string) *AddRoleToDBClusterInput
- func (s *AddRoleToDBClusterInput) SetRoleArn(v string) *AddRoleToDBClusterInput
- func (s AddRoleToDBClusterInput) String() string
- func (s *AddRoleToDBClusterInput) Validate() error
- type AddRoleToDBClusterOutput
- type AddSourceIdentifierToSubscriptionInput
- func (s AddSourceIdentifierToSubscriptionInput) GoString() string
- func (s *AddSourceIdentifierToSubscriptionInput) SetSourceIdentifier(v string) *AddSourceIdentifierToSubscriptionInput
- func (s *AddSourceIdentifierToSubscriptionInput) SetSubscriptionName(v string) *AddSourceIdentifierToSubscriptionInput
- func (s AddSourceIdentifierToSubscriptionInput) String() string
- func (s *AddSourceIdentifierToSubscriptionInput) Validate() error
- type AddSourceIdentifierToSubscriptionOutput
- type AddTagsToResourceInput
- func (s AddTagsToResourceInput) GoString() string
- func (s *AddTagsToResourceInput) SetResourceName(v string) *AddTagsToResourceInput
- func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput
- func (s AddTagsToResourceInput) String() string
- func (s *AddTagsToResourceInput) Validate() error
- type AddTagsToResourceOutput
- type ApplyPendingMaintenanceActionInput
- func (s ApplyPendingMaintenanceActionInput) GoString() string
- func (s *ApplyPendingMaintenanceActionInput) SetApplyAction(v string) *ApplyPendingMaintenanceActionInput
- func (s *ApplyPendingMaintenanceActionInput) SetOptInType(v string) *ApplyPendingMaintenanceActionInput
- func (s *ApplyPendingMaintenanceActionInput) SetResourceIdentifier(v string) *ApplyPendingMaintenanceActionInput
- func (s ApplyPendingMaintenanceActionInput) String() string
- func (s *ApplyPendingMaintenanceActionInput) Validate() error
- type ApplyPendingMaintenanceActionOutput
- type AuthorizeDBSecurityGroupIngressInput
- func (s AuthorizeDBSecurityGroupIngressInput) GoString() string
- func (s *AuthorizeDBSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeDBSecurityGroupIngressInput
- func (s *AuthorizeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput
- func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *AuthorizeDBSecurityGroupIngressInput
- func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput
- func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeDBSecurityGroupIngressInput
- func (s AuthorizeDBSecurityGroupIngressInput) String() string
- func (s *AuthorizeDBSecurityGroupIngressInput) Validate() error
- type AuthorizeDBSecurityGroupIngressOutput
- type AvailabilityZone
- type Certificate
- func (s Certificate) GoString() string
- func (s *Certificate) SetCertificateArn(v string) *Certificate
- func (s *Certificate) SetCertificateIdentifier(v string) *Certificate
- func (s *Certificate) SetCertificateType(v string) *Certificate
- func (s *Certificate) SetThumbprint(v string) *Certificate
- func (s *Certificate) SetValidFrom(v time.Time) *Certificate
- func (s *Certificate) SetValidTill(v time.Time) *Certificate
- func (s Certificate) String() string
- type CharacterSet
- type CopyDBClusterParameterGroupInput
- func (s CopyDBClusterParameterGroupInput) GoString() string
- func (s *CopyDBClusterParameterGroupInput) SetSourceDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput
- func (s *CopyDBClusterParameterGroupInput) SetTags(v []*Tag) *CopyDBClusterParameterGroupInput
- func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupDescription(v string) *CopyDBClusterParameterGroupInput
- func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput
- func (s CopyDBClusterParameterGroupInput) String() string
- func (s *CopyDBClusterParameterGroupInput) Validate() error
- type CopyDBClusterParameterGroupOutput
- type CopyDBClusterSnapshotInput
- func (s CopyDBClusterSnapshotInput) GoString() string
- func (s *CopyDBClusterSnapshotInput) SetSourceDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput
- func (s *CopyDBClusterSnapshotInput) SetTags(v []*Tag) *CopyDBClusterSnapshotInput
- func (s *CopyDBClusterSnapshotInput) SetTargetDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput
- func (s CopyDBClusterSnapshotInput) String() string
- func (s *CopyDBClusterSnapshotInput) Validate() error
- type CopyDBClusterSnapshotOutput
- type CopyDBParameterGroupInput
- func (s CopyDBParameterGroupInput) GoString() string
- func (s *CopyDBParameterGroupInput) SetSourceDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput
- func (s *CopyDBParameterGroupInput) SetTags(v []*Tag) *CopyDBParameterGroupInput
- func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupDescription(v string) *CopyDBParameterGroupInput
- func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput
- func (s CopyDBParameterGroupInput) String() string
- func (s *CopyDBParameterGroupInput) Validate() error
- type CopyDBParameterGroupOutput
- type CopyDBSnapshotInput
- func (s CopyDBSnapshotInput) GoString() string
- func (s *CopyDBSnapshotInput) SetCopyTags(v bool) *CopyDBSnapshotInput
- func (s *CopyDBSnapshotInput) SetDestinationRegion(v string) *CopyDBSnapshotInput
- func (s *CopyDBSnapshotInput) SetKmsKeyId(v string) *CopyDBSnapshotInput
- func (s *CopyDBSnapshotInput) SetPreSignedUrl(v string) *CopyDBSnapshotInput
- func (s *CopyDBSnapshotInput) SetSourceDBSnapshotIdentifier(v string) *CopyDBSnapshotInput
- func (s *CopyDBSnapshotInput) SetSourceRegion(v string) *CopyDBSnapshotInput
- func (s *CopyDBSnapshotInput) SetTags(v []*Tag) *CopyDBSnapshotInput
- func (s *CopyDBSnapshotInput) SetTargetDBSnapshotIdentifier(v string) *CopyDBSnapshotInput
- func (s CopyDBSnapshotInput) String() string
- func (s *CopyDBSnapshotInput) Validate() error
- type CopyDBSnapshotOutput
- type CopyOptionGroupInput
- func (s CopyOptionGroupInput) GoString() string
- func (s *CopyOptionGroupInput) SetSourceOptionGroupIdentifier(v string) *CopyOptionGroupInput
- func (s *CopyOptionGroupInput) SetTags(v []*Tag) *CopyOptionGroupInput
- func (s *CopyOptionGroupInput) SetTargetOptionGroupDescription(v string) *CopyOptionGroupInput
- func (s *CopyOptionGroupInput) SetTargetOptionGroupIdentifier(v string) *CopyOptionGroupInput
- func (s CopyOptionGroupInput) String() string
- func (s *CopyOptionGroupInput) Validate() error
- type CopyOptionGroupOutput
- type CreateDBClusterInput
- func (s CreateDBClusterInput) GoString() string
- func (s *CreateDBClusterInput) SetAvailabilityZones(v []*string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetBackupRetentionPeriod(v int64) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetCharacterSetName(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetDBClusterIdentifier(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetDBSubnetGroupName(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetDatabaseName(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetEngine(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetEngineVersion(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetKmsKeyId(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetMasterUserPassword(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetMasterUsername(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetOptionGroupName(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetPort(v int64) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetPreferredBackupWindow(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetPreferredMaintenanceWindow(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetReplicationSourceIdentifier(v string) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetStorageEncrypted(v bool) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetTags(v []*Tag) *CreateDBClusterInput
- func (s *CreateDBClusterInput) SetVpcSecurityGroupIds(v []*string) *CreateDBClusterInput
- func (s CreateDBClusterInput) String() string
- func (s *CreateDBClusterInput) Validate() error
- type CreateDBClusterOutput
- type CreateDBClusterParameterGroupInput
- func (s CreateDBClusterParameterGroupInput) GoString() string
- func (s *CreateDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterParameterGroupInput
- func (s *CreateDBClusterParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBClusterParameterGroupInput
- func (s *CreateDBClusterParameterGroupInput) SetDescription(v string) *CreateDBClusterParameterGroupInput
- func (s *CreateDBClusterParameterGroupInput) SetTags(v []*Tag) *CreateDBClusterParameterGroupInput
- func (s CreateDBClusterParameterGroupInput) String() string
- func (s *CreateDBClusterParameterGroupInput) Validate() error
- type CreateDBClusterParameterGroupOutput
- type CreateDBClusterSnapshotInput
- func (s CreateDBClusterSnapshotInput) GoString() string
- func (s *CreateDBClusterSnapshotInput) SetDBClusterIdentifier(v string) *CreateDBClusterSnapshotInput
- func (s *CreateDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *CreateDBClusterSnapshotInput
- func (s *CreateDBClusterSnapshotInput) SetTags(v []*Tag) *CreateDBClusterSnapshotInput
- func (s CreateDBClusterSnapshotInput) String() string
- func (s *CreateDBClusterSnapshotInput) Validate() error
- type CreateDBClusterSnapshotOutput
- type CreateDBInstanceInput
- func (s CreateDBInstanceInput) GoString() string
- func (s *CreateDBInstanceInput) SetAllocatedStorage(v int64) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetAvailabilityZone(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetBackupRetentionPeriod(v int64) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetCharacterSetName(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDBClusterIdentifier(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDBInstanceClass(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDBName(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDBParameterGroupName(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDBSecurityGroups(v []*string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDBSubnetGroupName(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDomain(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetDomainIAMRoleName(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetEngine(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetEngineVersion(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetIops(v int64) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetKmsKeyId(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetLicenseModel(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetMasterUserPassword(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetMasterUsername(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetMonitoringInterval(v int64) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetMonitoringRoleArn(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetMultiAZ(v bool) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetOptionGroupName(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetPort(v int64) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetPreferredBackupWindow(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetPromotionTier(v int64) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetPubliclyAccessible(v bool) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetStorageEncrypted(v bool) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetStorageType(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetTags(v []*Tag) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetTdeCredentialArn(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetTdeCredentialPassword(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetTimezone(v string) *CreateDBInstanceInput
- func (s *CreateDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *CreateDBInstanceInput
- func (s CreateDBInstanceInput) String() string
- func (s *CreateDBInstanceInput) Validate() error
- type CreateDBInstanceOutput
- type CreateDBInstanceReadReplicaInput
- func (s CreateDBInstanceReadReplicaInput) GoString() string
- func (s *CreateDBInstanceReadReplicaInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetAvailabilityZone(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceClass(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetDBSubnetGroupName(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetDestinationRegion(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetIops(v int64) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetKmsKeyId(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetMonitoringInterval(v int64) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetMonitoringRoleArn(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetOptionGroupName(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetPort(v int64) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetPreSignedUrl(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetPubliclyAccessible(v bool) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetSourceDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetSourceRegion(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetStorageType(v string) *CreateDBInstanceReadReplicaInput
- func (s *CreateDBInstanceReadReplicaInput) SetTags(v []*Tag) *CreateDBInstanceReadReplicaInput
- func (s CreateDBInstanceReadReplicaInput) String() string
- func (s *CreateDBInstanceReadReplicaInput) Validate() error
- type CreateDBInstanceReadReplicaOutput
- type CreateDBParameterGroupInput
- func (s CreateDBParameterGroupInput) GoString() string
- func (s *CreateDBParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBParameterGroupInput
- func (s *CreateDBParameterGroupInput) SetDBParameterGroupName(v string) *CreateDBParameterGroupInput
- func (s *CreateDBParameterGroupInput) SetDescription(v string) *CreateDBParameterGroupInput
- func (s *CreateDBParameterGroupInput) SetTags(v []*Tag) *CreateDBParameterGroupInput
- func (s CreateDBParameterGroupInput) String() string
- func (s *CreateDBParameterGroupInput) Validate() error
- type CreateDBParameterGroupOutput
- type CreateDBSecurityGroupInput
- func (s CreateDBSecurityGroupInput) GoString() string
- func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupDescription(v string) *CreateDBSecurityGroupInput
- func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupName(v string) *CreateDBSecurityGroupInput
- func (s *CreateDBSecurityGroupInput) SetTags(v []*Tag) *CreateDBSecurityGroupInput
- func (s CreateDBSecurityGroupInput) String() string
- func (s *CreateDBSecurityGroupInput) Validate() error
- type CreateDBSecurityGroupOutput
- type CreateDBSnapshotInput
- func (s CreateDBSnapshotInput) GoString() string
- func (s *CreateDBSnapshotInput) SetDBInstanceIdentifier(v string) *CreateDBSnapshotInput
- func (s *CreateDBSnapshotInput) SetDBSnapshotIdentifier(v string) *CreateDBSnapshotInput
- func (s *CreateDBSnapshotInput) SetTags(v []*Tag) *CreateDBSnapshotInput
- func (s CreateDBSnapshotInput) String() string
- func (s *CreateDBSnapshotInput) Validate() error
- type CreateDBSnapshotOutput
- type CreateDBSubnetGroupInput
- func (s CreateDBSubnetGroupInput) GoString() string
- func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *CreateDBSubnetGroupInput
- func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupName(v string) *CreateDBSubnetGroupInput
- func (s *CreateDBSubnetGroupInput) SetSubnetIds(v []*string) *CreateDBSubnetGroupInput
- func (s *CreateDBSubnetGroupInput) SetTags(v []*Tag) *CreateDBSubnetGroupInput
- func (s CreateDBSubnetGroupInput) String() string
- func (s *CreateDBSubnetGroupInput) Validate() error
- type CreateDBSubnetGroupOutput
- type CreateEventSubscriptionInput
- func (s CreateEventSubscriptionInput) GoString() string
- func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput
- func (s *CreateEventSubscriptionInput) SetEventCategories(v []*string) *CreateEventSubscriptionInput
- func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput
- func (s *CreateEventSubscriptionInput) SetSourceIds(v []*string) *CreateEventSubscriptionInput
- func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput
- func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput
- func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptionInput
- func (s CreateEventSubscriptionInput) String() string
- func (s *CreateEventSubscriptionInput) Validate() error
- type CreateEventSubscriptionOutput
- type CreateOptionGroupInput
- func (s CreateOptionGroupInput) GoString() string
- func (s *CreateOptionGroupInput) SetEngineName(v string) *CreateOptionGroupInput
- func (s *CreateOptionGroupInput) SetMajorEngineVersion(v string) *CreateOptionGroupInput
- func (s *CreateOptionGroupInput) SetOptionGroupDescription(v string) *CreateOptionGroupInput
- func (s *CreateOptionGroupInput) SetOptionGroupName(v string) *CreateOptionGroupInput
- func (s *CreateOptionGroupInput) SetTags(v []*Tag) *CreateOptionGroupInput
- func (s CreateOptionGroupInput) String() string
- func (s *CreateOptionGroupInput) Validate() error
- type CreateOptionGroupOutput
- type DBCluster
- func (s DBCluster) GoString() string
- func (s *DBCluster) SetAllocatedStorage(v int64) *DBCluster
- func (s *DBCluster) SetAssociatedRoles(v []*DBClusterRole) *DBCluster
- func (s *DBCluster) SetAvailabilityZones(v []*string) *DBCluster
- func (s *DBCluster) SetBackupRetentionPeriod(v int64) *DBCluster
- func (s *DBCluster) SetCharacterSetName(v string) *DBCluster
- func (s *DBCluster) SetClusterCreateTime(v time.Time) *DBCluster
- func (s *DBCluster) SetDBClusterArn(v string) *DBCluster
- func (s *DBCluster) SetDBClusterIdentifier(v string) *DBCluster
- func (s *DBCluster) SetDBClusterMembers(v []*DBClusterMember) *DBCluster
- func (s *DBCluster) SetDBClusterOptionGroupMemberships(v []*DBClusterOptionGroupStatus) *DBCluster
- func (s *DBCluster) SetDBClusterParameterGroup(v string) *DBCluster
- func (s *DBCluster) SetDBSubnetGroup(v string) *DBCluster
- func (s *DBCluster) SetDatabaseName(v string) *DBCluster
- func (s *DBCluster) SetDbClusterResourceId(v string) *DBCluster
- func (s *DBCluster) SetEarliestRestorableTime(v time.Time) *DBCluster
- func (s *DBCluster) SetEndpoint(v string) *DBCluster
- func (s *DBCluster) SetEngine(v string) *DBCluster
- func (s *DBCluster) SetEngineVersion(v string) *DBCluster
- func (s *DBCluster) SetHostedZoneId(v string) *DBCluster
- func (s *DBCluster) SetKmsKeyId(v string) *DBCluster
- func (s *DBCluster) SetLatestRestorableTime(v time.Time) *DBCluster
- func (s *DBCluster) SetMasterUsername(v string) *DBCluster
- func (s *DBCluster) SetMultiAZ(v bool) *DBCluster
- func (s *DBCluster) SetPercentProgress(v string) *DBCluster
- func (s *DBCluster) SetPort(v int64) *DBCluster
- func (s *DBCluster) SetPreferredBackupWindow(v string) *DBCluster
- func (s *DBCluster) SetPreferredMaintenanceWindow(v string) *DBCluster
- func (s *DBCluster) SetReadReplicaIdentifiers(v []*string) *DBCluster
- func (s *DBCluster) SetReaderEndpoint(v string) *DBCluster
- func (s *DBCluster) SetReplicationSourceIdentifier(v string) *DBCluster
- func (s *DBCluster) SetStatus(v string) *DBCluster
- func (s *DBCluster) SetStorageEncrypted(v bool) *DBCluster
- func (s *DBCluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBCluster
- func (s DBCluster) String() string
- type DBClusterMember
- func (s DBClusterMember) GoString() string
- func (s *DBClusterMember) SetDBClusterParameterGroupStatus(v string) *DBClusterMember
- func (s *DBClusterMember) SetDBInstanceIdentifier(v string) *DBClusterMember
- func (s *DBClusterMember) SetIsClusterWriter(v bool) *DBClusterMember
- func (s *DBClusterMember) SetPromotionTier(v int64) *DBClusterMember
- func (s DBClusterMember) String() string
- type DBClusterOptionGroupStatus
- type DBClusterParameterGroup
- func (s DBClusterParameterGroup) GoString() string
- func (s *DBClusterParameterGroup) SetDBClusterParameterGroupArn(v string) *DBClusterParameterGroup
- func (s *DBClusterParameterGroup) SetDBClusterParameterGroupName(v string) *DBClusterParameterGroup
- func (s *DBClusterParameterGroup) SetDBParameterGroupFamily(v string) *DBClusterParameterGroup
- func (s *DBClusterParameterGroup) SetDescription(v string) *DBClusterParameterGroup
- func (s DBClusterParameterGroup) String() string
- type DBClusterParameterGroupNameMessage
- type DBClusterRole
- type DBClusterSnapshot
- func (s DBClusterSnapshot) GoString() string
- func (s *DBClusterSnapshot) SetAllocatedStorage(v int64) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetAvailabilityZones(v []*string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetClusterCreateTime(v time.Time) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetDBClusterIdentifier(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetDBClusterSnapshotArn(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetEngine(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetEngineVersion(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetKmsKeyId(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetLicenseModel(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetMasterUsername(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetPercentProgress(v int64) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetPort(v int64) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetSnapshotCreateTime(v time.Time) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetSnapshotType(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetStatus(v string) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetStorageEncrypted(v bool) *DBClusterSnapshot
- func (s *DBClusterSnapshot) SetVpcId(v string) *DBClusterSnapshot
- func (s DBClusterSnapshot) String() string
- type DBClusterSnapshotAttribute
- type DBClusterSnapshotAttributesResult
- func (s DBClusterSnapshotAttributesResult) GoString() string
- func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotAttributes(v []*DBClusterSnapshotAttribute) *DBClusterSnapshotAttributesResult
- func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshotAttributesResult
- func (s DBClusterSnapshotAttributesResult) String() string
- type DBEngineVersion
- func (s DBEngineVersion) GoString() string
- func (s *DBEngineVersion) SetDBEngineDescription(v string) *DBEngineVersion
- func (s *DBEngineVersion) SetDBEngineVersionDescription(v string) *DBEngineVersion
- func (s *DBEngineVersion) SetDBParameterGroupFamily(v string) *DBEngineVersion
- func (s *DBEngineVersion) SetDefaultCharacterSet(v *CharacterSet) *DBEngineVersion
- func (s *DBEngineVersion) SetEngine(v string) *DBEngineVersion
- func (s *DBEngineVersion) SetEngineVersion(v string) *DBEngineVersion
- func (s *DBEngineVersion) SetSupportedCharacterSets(v []*CharacterSet) *DBEngineVersion
- func (s *DBEngineVersion) SetSupportedTimezones(v []*Timezone) *DBEngineVersion
- func (s *DBEngineVersion) SetValidUpgradeTarget(v []*UpgradeTarget) *DBEngineVersion
- func (s DBEngineVersion) String() string
- type DBInstance
- func (s DBInstance) GoString() string
- func (s *DBInstance) SetAllocatedStorage(v int64) *DBInstance
- func (s *DBInstance) SetAutoMinorVersionUpgrade(v bool) *DBInstance
- func (s *DBInstance) SetAvailabilityZone(v string) *DBInstance
- func (s *DBInstance) SetBackupRetentionPeriod(v int64) *DBInstance
- func (s *DBInstance) SetCACertificateIdentifier(v string) *DBInstance
- func (s *DBInstance) SetCharacterSetName(v string) *DBInstance
- func (s *DBInstance) SetCopyTagsToSnapshot(v bool) *DBInstance
- func (s *DBInstance) SetDBClusterIdentifier(v string) *DBInstance
- func (s *DBInstance) SetDBInstanceArn(v string) *DBInstance
- func (s *DBInstance) SetDBInstanceClass(v string) *DBInstance
- func (s *DBInstance) SetDBInstanceIdentifier(v string) *DBInstance
- func (s *DBInstance) SetDBInstanceStatus(v string) *DBInstance
- func (s *DBInstance) SetDBName(v string) *DBInstance
- func (s *DBInstance) SetDBParameterGroups(v []*DBParameterGroupStatus) *DBInstance
- func (s *DBInstance) SetDBSecurityGroups(v []*DBSecurityGroupMembership) *DBInstance
- func (s *DBInstance) SetDBSubnetGroup(v *DBSubnetGroup) *DBInstance
- func (s *DBInstance) SetDbInstancePort(v int64) *DBInstance
- func (s *DBInstance) SetDbiResourceId(v string) *DBInstance
- func (s *DBInstance) SetDomainMemberships(v []*DomainMembership) *DBInstance
- func (s *DBInstance) SetEndpoint(v *Endpoint) *DBInstance
- func (s *DBInstance) SetEngine(v string) *DBInstance
- func (s *DBInstance) SetEngineVersion(v string) *DBInstance
- func (s *DBInstance) SetEnhancedMonitoringResourceArn(v string) *DBInstance
- func (s *DBInstance) SetInstanceCreateTime(v time.Time) *DBInstance
- func (s *DBInstance) SetIops(v int64) *DBInstance
- func (s *DBInstance) SetKmsKeyId(v string) *DBInstance
- func (s *DBInstance) SetLatestRestorableTime(v time.Time) *DBInstance
- func (s *DBInstance) SetLicenseModel(v string) *DBInstance
- func (s *DBInstance) SetMasterUsername(v string) *DBInstance
- func (s *DBInstance) SetMonitoringInterval(v int64) *DBInstance
- func (s *DBInstance) SetMonitoringRoleArn(v string) *DBInstance
- func (s *DBInstance) SetMultiAZ(v bool) *DBInstance
- func (s *DBInstance) SetOptionGroupMemberships(v []*OptionGroupMembership) *DBInstance
- func (s *DBInstance) SetPendingModifiedValues(v *PendingModifiedValues) *DBInstance
- func (s *DBInstance) SetPreferredBackupWindow(v string) *DBInstance
- func (s *DBInstance) SetPreferredMaintenanceWindow(v string) *DBInstance
- func (s *DBInstance) SetPromotionTier(v int64) *DBInstance
- func (s *DBInstance) SetPubliclyAccessible(v bool) *DBInstance
- func (s *DBInstance) SetReadReplicaDBClusterIdentifiers(v []*string) *DBInstance
- func (s *DBInstance) SetReadReplicaDBInstanceIdentifiers(v []*string) *DBInstance
- func (s *DBInstance) SetReadReplicaSourceDBInstanceIdentifier(v string) *DBInstance
- func (s *DBInstance) SetSecondaryAvailabilityZone(v string) *DBInstance
- func (s *DBInstance) SetStatusInfos(v []*DBInstanceStatusInfo) *DBInstance
- func (s *DBInstance) SetStorageEncrypted(v bool) *DBInstance
- func (s *DBInstance) SetStorageType(v string) *DBInstance
- func (s *DBInstance) SetTdeCredentialArn(v string) *DBInstance
- func (s *DBInstance) SetTimezone(v string) *DBInstance
- func (s *DBInstance) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBInstance
- func (s DBInstance) String() string
- type DBInstanceStatusInfo
- func (s DBInstanceStatusInfo) GoString() string
- func (s *DBInstanceStatusInfo) SetMessage(v string) *DBInstanceStatusInfo
- func (s *DBInstanceStatusInfo) SetNormal(v bool) *DBInstanceStatusInfo
- func (s *DBInstanceStatusInfo) SetStatus(v string) *DBInstanceStatusInfo
- func (s *DBInstanceStatusInfo) SetStatusType(v string) *DBInstanceStatusInfo
- func (s DBInstanceStatusInfo) String() string
- type DBParameterGroup
- func (s DBParameterGroup) GoString() string
- func (s *DBParameterGroup) SetDBParameterGroupArn(v string) *DBParameterGroup
- func (s *DBParameterGroup) SetDBParameterGroupFamily(v string) *DBParameterGroup
- func (s *DBParameterGroup) SetDBParameterGroupName(v string) *DBParameterGroup
- func (s *DBParameterGroup) SetDescription(v string) *DBParameterGroup
- func (s DBParameterGroup) String() string
- type DBParameterGroupNameMessage
- type DBParameterGroupStatus
- type DBSecurityGroup
- func (s DBSecurityGroup) GoString() string
- func (s *DBSecurityGroup) SetDBSecurityGroupArn(v string) *DBSecurityGroup
- func (s *DBSecurityGroup) SetDBSecurityGroupDescription(v string) *DBSecurityGroup
- func (s *DBSecurityGroup) SetDBSecurityGroupName(v string) *DBSecurityGroup
- func (s *DBSecurityGroup) SetEC2SecurityGroups(v []*EC2SecurityGroup) *DBSecurityGroup
- func (s *DBSecurityGroup) SetIPRanges(v []*IPRange) *DBSecurityGroup
- func (s *DBSecurityGroup) SetOwnerId(v string) *DBSecurityGroup
- func (s *DBSecurityGroup) SetVpcId(v string) *DBSecurityGroup
- func (s DBSecurityGroup) String() string
- type DBSecurityGroupMembership
- type DBSnapshot
- func (s DBSnapshot) GoString() string
- func (s *DBSnapshot) SetAllocatedStorage(v int64) *DBSnapshot
- func (s *DBSnapshot) SetAvailabilityZone(v string) *DBSnapshot
- func (s *DBSnapshot) SetDBInstanceIdentifier(v string) *DBSnapshot
- func (s *DBSnapshot) SetDBSnapshotArn(v string) *DBSnapshot
- func (s *DBSnapshot) SetDBSnapshotIdentifier(v string) *DBSnapshot
- func (s *DBSnapshot) SetEncrypted(v bool) *DBSnapshot
- func (s *DBSnapshot) SetEngine(v string) *DBSnapshot
- func (s *DBSnapshot) SetEngineVersion(v string) *DBSnapshot
- func (s *DBSnapshot) SetInstanceCreateTime(v time.Time) *DBSnapshot
- func (s *DBSnapshot) SetIops(v int64) *DBSnapshot
- func (s *DBSnapshot) SetKmsKeyId(v string) *DBSnapshot
- func (s *DBSnapshot) SetLicenseModel(v string) *DBSnapshot
- func (s *DBSnapshot) SetMasterUsername(v string) *DBSnapshot
- func (s *DBSnapshot) SetOptionGroupName(v string) *DBSnapshot
- func (s *DBSnapshot) SetPercentProgress(v int64) *DBSnapshot
- func (s *DBSnapshot) SetPort(v int64) *DBSnapshot
- func (s *DBSnapshot) SetSnapshotCreateTime(v time.Time) *DBSnapshot
- func (s *DBSnapshot) SetSnapshotType(v string) *DBSnapshot
- func (s *DBSnapshot) SetSourceDBSnapshotIdentifier(v string) *DBSnapshot
- func (s *DBSnapshot) SetSourceRegion(v string) *DBSnapshot
- func (s *DBSnapshot) SetStatus(v string) *DBSnapshot
- func (s *DBSnapshot) SetStorageType(v string) *DBSnapshot
- func (s *DBSnapshot) SetTdeCredentialArn(v string) *DBSnapshot
- func (s *DBSnapshot) SetTimezone(v string) *DBSnapshot
- func (s *DBSnapshot) SetVpcId(v string) *DBSnapshot
- func (s DBSnapshot) String() string
- type DBSnapshotAttribute
- type DBSnapshotAttributesResult
- func (s DBSnapshotAttributesResult) GoString() string
- func (s *DBSnapshotAttributesResult) SetDBSnapshotAttributes(v []*DBSnapshotAttribute) *DBSnapshotAttributesResult
- func (s *DBSnapshotAttributesResult) SetDBSnapshotIdentifier(v string) *DBSnapshotAttributesResult
- func (s DBSnapshotAttributesResult) String() string
- type DBSubnetGroup
- func (s DBSubnetGroup) GoString() string
- func (s *DBSubnetGroup) SetDBSubnetGroupArn(v string) *DBSubnetGroup
- func (s *DBSubnetGroup) SetDBSubnetGroupDescription(v string) *DBSubnetGroup
- func (s *DBSubnetGroup) SetDBSubnetGroupName(v string) *DBSubnetGroup
- func (s *DBSubnetGroup) SetSubnetGroupStatus(v string) *DBSubnetGroup
- func (s *DBSubnetGroup) SetSubnets(v []*Subnet) *DBSubnetGroup
- func (s *DBSubnetGroup) SetVpcId(v string) *DBSubnetGroup
- func (s DBSubnetGroup) String() string
- type DeleteDBClusterInput
- func (s DeleteDBClusterInput) GoString() string
- func (s *DeleteDBClusterInput) SetDBClusterIdentifier(v string) *DeleteDBClusterInput
- func (s *DeleteDBClusterInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBClusterInput
- func (s *DeleteDBClusterInput) SetSkipFinalSnapshot(v bool) *DeleteDBClusterInput
- func (s DeleteDBClusterInput) String() string
- func (s *DeleteDBClusterInput) Validate() error
- type DeleteDBClusterOutput
- type DeleteDBClusterParameterGroupInput
- func (s DeleteDBClusterParameterGroupInput) GoString() string
- func (s *DeleteDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *DeleteDBClusterParameterGroupInput
- func (s DeleteDBClusterParameterGroupInput) String() string
- func (s *DeleteDBClusterParameterGroupInput) Validate() error
- type DeleteDBClusterParameterGroupOutput
- type DeleteDBClusterSnapshotInput
- type DeleteDBClusterSnapshotOutput
- type DeleteDBInstanceInput
- func (s DeleteDBInstanceInput) GoString() string
- func (s *DeleteDBInstanceInput) SetDBInstanceIdentifier(v string) *DeleteDBInstanceInput
- func (s *DeleteDBInstanceInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBInstanceInput
- func (s *DeleteDBInstanceInput) SetSkipFinalSnapshot(v bool) *DeleteDBInstanceInput
- func (s DeleteDBInstanceInput) String() string
- func (s *DeleteDBInstanceInput) Validate() error
- type DeleteDBInstanceOutput
- type DeleteDBParameterGroupInput
- type DeleteDBParameterGroupOutput
- type DeleteDBSecurityGroupInput
- type DeleteDBSecurityGroupOutput
- type DeleteDBSnapshotInput
- type DeleteDBSnapshotOutput
- type DeleteDBSubnetGroupInput
- type DeleteDBSubnetGroupOutput
- type DeleteEventSubscriptionInput
- type DeleteEventSubscriptionOutput
- type DeleteOptionGroupInput
- type DeleteOptionGroupOutput
- type DescribeAccountAttributesInput
- type DescribeAccountAttributesOutput
- type DescribeCertificatesInput
- func (s DescribeCertificatesInput) GoString() string
- func (s *DescribeCertificatesInput) SetCertificateIdentifier(v string) *DescribeCertificatesInput
- func (s *DescribeCertificatesInput) SetFilters(v []*Filter) *DescribeCertificatesInput
- func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput
- func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput
- func (s DescribeCertificatesInput) String() string
- func (s *DescribeCertificatesInput) Validate() error
- type DescribeCertificatesOutput
- type DescribeDBClusterParameterGroupsInput
- func (s DescribeDBClusterParameterGroupsInput) GoString() string
- func (s *DescribeDBClusterParameterGroupsInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParameterGroupsInput
- func (s *DescribeDBClusterParameterGroupsInput) SetFilters(v []*Filter) *DescribeDBClusterParameterGroupsInput
- func (s *DescribeDBClusterParameterGroupsInput) SetMarker(v string) *DescribeDBClusterParameterGroupsInput
- func (s *DescribeDBClusterParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBClusterParameterGroupsInput
- func (s DescribeDBClusterParameterGroupsInput) String() string
- func (s *DescribeDBClusterParameterGroupsInput) Validate() error
- type DescribeDBClusterParameterGroupsOutput
- func (s DescribeDBClusterParameterGroupsOutput) GoString() string
- func (s *DescribeDBClusterParameterGroupsOutput) SetDBClusterParameterGroups(v []*DBClusterParameterGroup) *DescribeDBClusterParameterGroupsOutput
- func (s *DescribeDBClusterParameterGroupsOutput) SetMarker(v string) *DescribeDBClusterParameterGroupsOutput
- func (s DescribeDBClusterParameterGroupsOutput) String() string
- type DescribeDBClusterParametersInput
- func (s DescribeDBClusterParametersInput) GoString() string
- func (s *DescribeDBClusterParametersInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParametersInput
- func (s *DescribeDBClusterParametersInput) SetFilters(v []*Filter) *DescribeDBClusterParametersInput
- func (s *DescribeDBClusterParametersInput) SetMarker(v string) *DescribeDBClusterParametersInput
- func (s *DescribeDBClusterParametersInput) SetMaxRecords(v int64) *DescribeDBClusterParametersInput
- func (s *DescribeDBClusterParametersInput) SetSource(v string) *DescribeDBClusterParametersInput
- func (s DescribeDBClusterParametersInput) String() string
- func (s *DescribeDBClusterParametersInput) Validate() error
- type DescribeDBClusterParametersOutput
- func (s DescribeDBClusterParametersOutput) GoString() string
- func (s *DescribeDBClusterParametersOutput) SetMarker(v string) *DescribeDBClusterParametersOutput
- func (s *DescribeDBClusterParametersOutput) SetParameters(v []*Parameter) *DescribeDBClusterParametersOutput
- func (s DescribeDBClusterParametersOutput) String() string
- type DescribeDBClusterSnapshotAttributesInput
- func (s DescribeDBClusterSnapshotAttributesInput) GoString() string
- func (s *DescribeDBClusterSnapshotAttributesInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotAttributesInput
- func (s DescribeDBClusterSnapshotAttributesInput) String() string
- func (s *DescribeDBClusterSnapshotAttributesInput) Validate() error
- type DescribeDBClusterSnapshotAttributesOutput
- func (s DescribeDBClusterSnapshotAttributesOutput) GoString() string
- func (s *DescribeDBClusterSnapshotAttributesOutput) SetDBClusterSnapshotAttributesResult(v *DBClusterSnapshotAttributesResult) *DescribeDBClusterSnapshotAttributesOutput
- func (s DescribeDBClusterSnapshotAttributesOutput) String() string
- type DescribeDBClusterSnapshotsInput
- func (s DescribeDBClusterSnapshotsInput) GoString() string
- func (s *DescribeDBClusterSnapshotsInput) SetDBClusterIdentifier(v string) *DescribeDBClusterSnapshotsInput
- func (s *DescribeDBClusterSnapshotsInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotsInput
- func (s *DescribeDBClusterSnapshotsInput) SetFilters(v []*Filter) *DescribeDBClusterSnapshotsInput
- func (s *DescribeDBClusterSnapshotsInput) SetIncludePublic(v bool) *DescribeDBClusterSnapshotsInput
- func (s *DescribeDBClusterSnapshotsInput) SetIncludeShared(v bool) *DescribeDBClusterSnapshotsInput
- func (s *DescribeDBClusterSnapshotsInput) SetMarker(v string) *DescribeDBClusterSnapshotsInput
- func (s *DescribeDBClusterSnapshotsInput) SetMaxRecords(v int64) *DescribeDBClusterSnapshotsInput
- func (s *DescribeDBClusterSnapshotsInput) SetSnapshotType(v string) *DescribeDBClusterSnapshotsInput
- func (s DescribeDBClusterSnapshotsInput) String() string
- func (s *DescribeDBClusterSnapshotsInput) Validate() error
- type DescribeDBClusterSnapshotsOutput
- func (s DescribeDBClusterSnapshotsOutput) GoString() string
- func (s *DescribeDBClusterSnapshotsOutput) SetDBClusterSnapshots(v []*DBClusterSnapshot) *DescribeDBClusterSnapshotsOutput
- func (s *DescribeDBClusterSnapshotsOutput) SetMarker(v string) *DescribeDBClusterSnapshotsOutput
- func (s DescribeDBClusterSnapshotsOutput) String() string
- type DescribeDBClustersInput
- func (s DescribeDBClustersInput) GoString() string
- func (s *DescribeDBClustersInput) SetDBClusterIdentifier(v string) *DescribeDBClustersInput
- func (s *DescribeDBClustersInput) SetFilters(v []*Filter) *DescribeDBClustersInput
- func (s *DescribeDBClustersInput) SetMarker(v string) *DescribeDBClustersInput
- func (s *DescribeDBClustersInput) SetMaxRecords(v int64) *DescribeDBClustersInput
- func (s DescribeDBClustersInput) String() string
- func (s *DescribeDBClustersInput) Validate() error
- type DescribeDBClustersOutput
- type DescribeDBEngineVersionsInput
- func (s DescribeDBEngineVersionsInput) GoString() string
- func (s *DescribeDBEngineVersionsInput) SetDBParameterGroupFamily(v string) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetDefaultOnly(v bool) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetEngine(v string) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetEngineVersion(v string) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetFilters(v []*Filter) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetListSupportedCharacterSets(v bool) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetListSupportedTimezones(v bool) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetMarker(v string) *DescribeDBEngineVersionsInput
- func (s *DescribeDBEngineVersionsInput) SetMaxRecords(v int64) *DescribeDBEngineVersionsInput
- func (s DescribeDBEngineVersionsInput) String() string
- func (s *DescribeDBEngineVersionsInput) Validate() error
- type DescribeDBEngineVersionsOutput
- func (s DescribeDBEngineVersionsOutput) GoString() string
- func (s *DescribeDBEngineVersionsOutput) SetDBEngineVersions(v []*DBEngineVersion) *DescribeDBEngineVersionsOutput
- func (s *DescribeDBEngineVersionsOutput) SetMarker(v string) *DescribeDBEngineVersionsOutput
- func (s DescribeDBEngineVersionsOutput) String() string
- type DescribeDBInstancesInput
- func (s DescribeDBInstancesInput) GoString() string
- func (s *DescribeDBInstancesInput) SetDBInstanceIdentifier(v string) *DescribeDBInstancesInput
- func (s *DescribeDBInstancesInput) SetFilters(v []*Filter) *DescribeDBInstancesInput
- func (s *DescribeDBInstancesInput) SetMarker(v string) *DescribeDBInstancesInput
- func (s *DescribeDBInstancesInput) SetMaxRecords(v int64) *DescribeDBInstancesInput
- func (s DescribeDBInstancesInput) String() string
- func (s *DescribeDBInstancesInput) Validate() error
- type DescribeDBInstancesOutput
- type DescribeDBLogFilesDetails
- func (s DescribeDBLogFilesDetails) GoString() string
- func (s *DescribeDBLogFilesDetails) SetLastWritten(v int64) *DescribeDBLogFilesDetails
- func (s *DescribeDBLogFilesDetails) SetLogFileName(v string) *DescribeDBLogFilesDetails
- func (s *DescribeDBLogFilesDetails) SetSize(v int64) *DescribeDBLogFilesDetails
- func (s DescribeDBLogFilesDetails) String() string
- type DescribeDBLogFilesInput
- func (s DescribeDBLogFilesInput) GoString() string
- func (s *DescribeDBLogFilesInput) SetDBInstanceIdentifier(v string) *DescribeDBLogFilesInput
- func (s *DescribeDBLogFilesInput) SetFileLastWritten(v int64) *DescribeDBLogFilesInput
- func (s *DescribeDBLogFilesInput) SetFileSize(v int64) *DescribeDBLogFilesInput
- func (s *DescribeDBLogFilesInput) SetFilenameContains(v string) *DescribeDBLogFilesInput
- func (s *DescribeDBLogFilesInput) SetFilters(v []*Filter) *DescribeDBLogFilesInput
- func (s *DescribeDBLogFilesInput) SetMarker(v string) *DescribeDBLogFilesInput
- func (s *DescribeDBLogFilesInput) SetMaxRecords(v int64) *DescribeDBLogFilesInput
- func (s DescribeDBLogFilesInput) String() string
- func (s *DescribeDBLogFilesInput) Validate() error
- type DescribeDBLogFilesOutput
- type DescribeDBParameterGroupsInput
- func (s DescribeDBParameterGroupsInput) GoString() string
- func (s *DescribeDBParameterGroupsInput) SetDBParameterGroupName(v string) *DescribeDBParameterGroupsInput
- func (s *DescribeDBParameterGroupsInput) SetFilters(v []*Filter) *DescribeDBParameterGroupsInput
- func (s *DescribeDBParameterGroupsInput) SetMarker(v string) *DescribeDBParameterGroupsInput
- func (s *DescribeDBParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBParameterGroupsInput
- func (s DescribeDBParameterGroupsInput) String() string
- func (s *DescribeDBParameterGroupsInput) Validate() error
- type DescribeDBParameterGroupsOutput
- func (s DescribeDBParameterGroupsOutput) GoString() string
- func (s *DescribeDBParameterGroupsOutput) SetDBParameterGroups(v []*DBParameterGroup) *DescribeDBParameterGroupsOutput
- func (s *DescribeDBParameterGroupsOutput) SetMarker(v string) *DescribeDBParameterGroupsOutput
- func (s DescribeDBParameterGroupsOutput) String() string
- type DescribeDBParametersInput
- func (s DescribeDBParametersInput) GoString() string
- func (s *DescribeDBParametersInput) SetDBParameterGroupName(v string) *DescribeDBParametersInput
- func (s *DescribeDBParametersInput) SetFilters(v []*Filter) *DescribeDBParametersInput
- func (s *DescribeDBParametersInput) SetMarker(v string) *DescribeDBParametersInput
- func (s *DescribeDBParametersInput) SetMaxRecords(v int64) *DescribeDBParametersInput
- func (s *DescribeDBParametersInput) SetSource(v string) *DescribeDBParametersInput
- func (s DescribeDBParametersInput) String() string
- func (s *DescribeDBParametersInput) Validate() error
- type DescribeDBParametersOutput
- type DescribeDBSecurityGroupsInput
- func (s DescribeDBSecurityGroupsInput) GoString() string
- func (s *DescribeDBSecurityGroupsInput) SetDBSecurityGroupName(v string) *DescribeDBSecurityGroupsInput
- func (s *DescribeDBSecurityGroupsInput) SetFilters(v []*Filter) *DescribeDBSecurityGroupsInput
- func (s *DescribeDBSecurityGroupsInput) SetMarker(v string) *DescribeDBSecurityGroupsInput
- func (s *DescribeDBSecurityGroupsInput) SetMaxRecords(v int64) *DescribeDBSecurityGroupsInput
- func (s DescribeDBSecurityGroupsInput) String() string
- func (s *DescribeDBSecurityGroupsInput) Validate() error
- type DescribeDBSecurityGroupsOutput
- func (s DescribeDBSecurityGroupsOutput) GoString() string
- func (s *DescribeDBSecurityGroupsOutput) SetDBSecurityGroups(v []*DBSecurityGroup) *DescribeDBSecurityGroupsOutput
- func (s *DescribeDBSecurityGroupsOutput) SetMarker(v string) *DescribeDBSecurityGroupsOutput
- func (s DescribeDBSecurityGroupsOutput) String() string
- type DescribeDBSnapshotAttributesInput
- type DescribeDBSnapshotAttributesOutput
- type DescribeDBSnapshotsInput
- func (s DescribeDBSnapshotsInput) GoString() string
- func (s *DescribeDBSnapshotsInput) SetDBInstanceIdentifier(v string) *DescribeDBSnapshotsInput
- func (s *DescribeDBSnapshotsInput) SetDBSnapshotIdentifier(v string) *DescribeDBSnapshotsInput
- func (s *DescribeDBSnapshotsInput) SetFilters(v []*Filter) *DescribeDBSnapshotsInput
- func (s *DescribeDBSnapshotsInput) SetIncludePublic(v bool) *DescribeDBSnapshotsInput
- func (s *DescribeDBSnapshotsInput) SetIncludeShared(v bool) *DescribeDBSnapshotsInput
- func (s *DescribeDBSnapshotsInput) SetMarker(v string) *DescribeDBSnapshotsInput
- func (s *DescribeDBSnapshotsInput) SetMaxRecords(v int64) *DescribeDBSnapshotsInput
- func (s *DescribeDBSnapshotsInput) SetSnapshotType(v string) *DescribeDBSnapshotsInput
- func (s DescribeDBSnapshotsInput) String() string
- func (s *DescribeDBSnapshotsInput) Validate() error
- type DescribeDBSnapshotsOutput
- type DescribeDBSubnetGroupsInput
- func (s DescribeDBSubnetGroupsInput) GoString() string
- func (s *DescribeDBSubnetGroupsInput) SetDBSubnetGroupName(v string) *DescribeDBSubnetGroupsInput
- func (s *DescribeDBSubnetGroupsInput) SetFilters(v []*Filter) *DescribeDBSubnetGroupsInput
- func (s *DescribeDBSubnetGroupsInput) SetMarker(v string) *DescribeDBSubnetGroupsInput
- func (s *DescribeDBSubnetGroupsInput) SetMaxRecords(v int64) *DescribeDBSubnetGroupsInput
- func (s DescribeDBSubnetGroupsInput) String() string
- func (s *DescribeDBSubnetGroupsInput) Validate() error
- type DescribeDBSubnetGroupsOutput
- func (s DescribeDBSubnetGroupsOutput) GoString() string
- func (s *DescribeDBSubnetGroupsOutput) SetDBSubnetGroups(v []*DBSubnetGroup) *DescribeDBSubnetGroupsOutput
- func (s *DescribeDBSubnetGroupsOutput) SetMarker(v string) *DescribeDBSubnetGroupsOutput
- func (s DescribeDBSubnetGroupsOutput) String() string
- type DescribeEngineDefaultClusterParametersInput
- func (s DescribeEngineDefaultClusterParametersInput) GoString() string
- func (s *DescribeEngineDefaultClusterParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultClusterParametersInput
- func (s *DescribeEngineDefaultClusterParametersInput) SetFilters(v []*Filter) *DescribeEngineDefaultClusterParametersInput
- func (s *DescribeEngineDefaultClusterParametersInput) SetMarker(v string) *DescribeEngineDefaultClusterParametersInput
- func (s *DescribeEngineDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultClusterParametersInput
- func (s DescribeEngineDefaultClusterParametersInput) String() string
- func (s *DescribeEngineDefaultClusterParametersInput) Validate() error
- type DescribeEngineDefaultClusterParametersOutput
- type DescribeEngineDefaultParametersInput
- func (s DescribeEngineDefaultParametersInput) GoString() string
- func (s *DescribeEngineDefaultParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultParametersInput
- func (s *DescribeEngineDefaultParametersInput) SetFilters(v []*Filter) *DescribeEngineDefaultParametersInput
- func (s *DescribeEngineDefaultParametersInput) SetMarker(v string) *DescribeEngineDefaultParametersInput
- func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultParametersInput
- func (s DescribeEngineDefaultParametersInput) String() string
- func (s *DescribeEngineDefaultParametersInput) Validate() error
- type DescribeEngineDefaultParametersOutput
- type DescribeEventCategoriesInput
- func (s DescribeEventCategoriesInput) GoString() string
- func (s *DescribeEventCategoriesInput) SetFilters(v []*Filter) *DescribeEventCategoriesInput
- func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput
- func (s DescribeEventCategoriesInput) String() string
- func (s *DescribeEventCategoriesInput) Validate() error
- type DescribeEventCategoriesOutput
- type DescribeEventSubscriptionsInput
- func (s DescribeEventSubscriptionsInput) GoString() string
- func (s *DescribeEventSubscriptionsInput) SetFilters(v []*Filter) *DescribeEventSubscriptionsInput
- func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput
- func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput
- func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput
- func (s DescribeEventSubscriptionsInput) String() string
- func (s *DescribeEventSubscriptionsInput) Validate() error
- type DescribeEventSubscriptionsOutput
- func (s DescribeEventSubscriptionsOutput) GoString() string
- func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput
- func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput
- func (s DescribeEventSubscriptionsOutput) String() string
- type DescribeEventsInput
- func (s DescribeEventsInput) GoString() string
- func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput
- func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput
- func (s *DescribeEventsInput) SetEventCategories(v []*string) *DescribeEventsInput
- func (s *DescribeEventsInput) SetFilters(v []*Filter) *DescribeEventsInput
- func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput
- func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput
- func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput
- func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput
- func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput
- func (s DescribeEventsInput) String() string
- func (s *DescribeEventsInput) Validate() error
- type DescribeEventsOutput
- type DescribeOptionGroupOptionsInput
- func (s DescribeOptionGroupOptionsInput) GoString() string
- func (s *DescribeOptionGroupOptionsInput) SetEngineName(v string) *DescribeOptionGroupOptionsInput
- func (s *DescribeOptionGroupOptionsInput) SetFilters(v []*Filter) *DescribeOptionGroupOptionsInput
- func (s *DescribeOptionGroupOptionsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupOptionsInput
- func (s *DescribeOptionGroupOptionsInput) SetMarker(v string) *DescribeOptionGroupOptionsInput
- func (s *DescribeOptionGroupOptionsInput) SetMaxRecords(v int64) *DescribeOptionGroupOptionsInput
- func (s DescribeOptionGroupOptionsInput) String() string
- func (s *DescribeOptionGroupOptionsInput) Validate() error
- type DescribeOptionGroupOptionsOutput
- func (s DescribeOptionGroupOptionsOutput) GoString() string
- func (s *DescribeOptionGroupOptionsOutput) SetMarker(v string) *DescribeOptionGroupOptionsOutput
- func (s *DescribeOptionGroupOptionsOutput) SetOptionGroupOptions(v []*OptionGroupOption) *DescribeOptionGroupOptionsOutput
- func (s DescribeOptionGroupOptionsOutput) String() string
- type DescribeOptionGroupsInput
- func (s DescribeOptionGroupsInput) GoString() string
- func (s *DescribeOptionGroupsInput) SetEngineName(v string) *DescribeOptionGroupsInput
- func (s *DescribeOptionGroupsInput) SetFilters(v []*Filter) *DescribeOptionGroupsInput
- func (s *DescribeOptionGroupsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupsInput
- func (s *DescribeOptionGroupsInput) SetMarker(v string) *DescribeOptionGroupsInput
- func (s *DescribeOptionGroupsInput) SetMaxRecords(v int64) *DescribeOptionGroupsInput
- func (s *DescribeOptionGroupsInput) SetOptionGroupName(v string) *DescribeOptionGroupsInput
- func (s DescribeOptionGroupsInput) String() string
- func (s *DescribeOptionGroupsInput) Validate() error
- type DescribeOptionGroupsOutput
- type DescribeOrderableDBInstanceOptionsInput
- func (s DescribeOrderableDBInstanceOptionsInput) GoString() string
- func (s *DescribeOrderableDBInstanceOptionsInput) SetDBInstanceClass(v string) *DescribeOrderableDBInstanceOptionsInput
- func (s *DescribeOrderableDBInstanceOptionsInput) SetEngine(v string) *DescribeOrderableDBInstanceOptionsInput
- func (s *DescribeOrderableDBInstanceOptionsInput) SetEngineVersion(v string) *DescribeOrderableDBInstanceOptionsInput
- func (s *DescribeOrderableDBInstanceOptionsInput) SetFilters(v []*Filter) *DescribeOrderableDBInstanceOptionsInput
- func (s *DescribeOrderableDBInstanceOptionsInput) SetLicenseModel(v string) *DescribeOrderableDBInstanceOptionsInput
- func (s *DescribeOrderableDBInstanceOptionsInput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsInput
- func (s *DescribeOrderableDBInstanceOptionsInput) SetMaxRecords(v int64) *DescribeOrderableDBInstanceOptionsInput
- func (s *DescribeOrderableDBInstanceOptionsInput) SetVpc(v bool) *DescribeOrderableDBInstanceOptionsInput
- func (s DescribeOrderableDBInstanceOptionsInput) String() string
- func (s *DescribeOrderableDBInstanceOptionsInput) Validate() error
- type DescribeOrderableDBInstanceOptionsOutput
- func (s DescribeOrderableDBInstanceOptionsOutput) GoString() string
- func (s *DescribeOrderableDBInstanceOptionsOutput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsOutput
- func (s *DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions(v []*OrderableDBInstanceOption) *DescribeOrderableDBInstanceOptionsOutput
- func (s DescribeOrderableDBInstanceOptionsOutput) String() string
- type DescribePendingMaintenanceActionsInput
- func (s DescribePendingMaintenanceActionsInput) GoString() string
- func (s *DescribePendingMaintenanceActionsInput) SetFilters(v []*Filter) *DescribePendingMaintenanceActionsInput
- func (s *DescribePendingMaintenanceActionsInput) SetMarker(v string) *DescribePendingMaintenanceActionsInput
- func (s *DescribePendingMaintenanceActionsInput) SetMaxRecords(v int64) *DescribePendingMaintenanceActionsInput
- func (s *DescribePendingMaintenanceActionsInput) SetResourceIdentifier(v string) *DescribePendingMaintenanceActionsInput
- func (s DescribePendingMaintenanceActionsInput) String() string
- func (s *DescribePendingMaintenanceActionsInput) Validate() error
- type DescribePendingMaintenanceActionsOutput
- func (s DescribePendingMaintenanceActionsOutput) GoString() string
- func (s *DescribePendingMaintenanceActionsOutput) SetMarker(v string) *DescribePendingMaintenanceActionsOutput
- func (s *DescribePendingMaintenanceActionsOutput) SetPendingMaintenanceActions(v []*ResourcePendingMaintenanceActions) *DescribePendingMaintenanceActionsOutput
- func (s DescribePendingMaintenanceActionsOutput) String() string
- type DescribeReservedDBInstancesInput
- func (s DescribeReservedDBInstancesInput) GoString() string
- func (s *DescribeReservedDBInstancesInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetDuration(v string) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetFilters(v []*Filter) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetMarker(v string) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetOfferingType(v string) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetProductDescription(v string) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetReservedDBInstanceId(v string) *DescribeReservedDBInstancesInput
- func (s *DescribeReservedDBInstancesInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesInput
- func (s DescribeReservedDBInstancesInput) String() string
- func (s *DescribeReservedDBInstancesInput) Validate() error
- type DescribeReservedDBInstancesOfferingsInput
- func (s DescribeReservedDBInstancesOfferingsInput) GoString() string
- func (s *DescribeReservedDBInstancesOfferingsInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetDuration(v string) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetFilters(v []*Filter) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetOfferingType(v string) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetProductDescription(v string) *DescribeReservedDBInstancesOfferingsInput
- func (s *DescribeReservedDBInstancesOfferingsInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesOfferingsInput
- func (s DescribeReservedDBInstancesOfferingsInput) String() string
- func (s *DescribeReservedDBInstancesOfferingsInput) Validate() error
- type DescribeReservedDBInstancesOfferingsOutput
- func (s DescribeReservedDBInstancesOfferingsOutput) GoString() string
- func (s *DescribeReservedDBInstancesOfferingsOutput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsOutput
- func (s *DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOfferings(v []*ReservedDBInstancesOffering) *DescribeReservedDBInstancesOfferingsOutput
- func (s DescribeReservedDBInstancesOfferingsOutput) String() string
- type DescribeReservedDBInstancesOutput
- func (s DescribeReservedDBInstancesOutput) GoString() string
- func (s *DescribeReservedDBInstancesOutput) SetMarker(v string) *DescribeReservedDBInstancesOutput
- func (s *DescribeReservedDBInstancesOutput) SetReservedDBInstances(v []*ReservedDBInstance) *DescribeReservedDBInstancesOutput
- func (s DescribeReservedDBInstancesOutput) String() string
- type DescribeSourceRegionsInput
- func (s DescribeSourceRegionsInput) GoString() string
- func (s *DescribeSourceRegionsInput) SetFilters(v []*Filter) *DescribeSourceRegionsInput
- func (s *DescribeSourceRegionsInput) SetMarker(v string) *DescribeSourceRegionsInput
- func (s *DescribeSourceRegionsInput) SetMaxRecords(v int64) *DescribeSourceRegionsInput
- func (s *DescribeSourceRegionsInput) SetRegionName(v string) *DescribeSourceRegionsInput
- func (s DescribeSourceRegionsInput) String() string
- func (s *DescribeSourceRegionsInput) Validate() error
- type DescribeSourceRegionsOutput
- type DomainMembership
- func (s DomainMembership) GoString() string
- func (s *DomainMembership) SetDomain(v string) *DomainMembership
- func (s *DomainMembership) SetFQDN(v string) *DomainMembership
- func (s *DomainMembership) SetIAMRoleName(v string) *DomainMembership
- func (s *DomainMembership) SetStatus(v string) *DomainMembership
- func (s DomainMembership) String() string
- type DownloadDBLogFilePortionInput
- func (s DownloadDBLogFilePortionInput) GoString() string
- func (s *DownloadDBLogFilePortionInput) SetDBInstanceIdentifier(v string) *DownloadDBLogFilePortionInput
- func (s *DownloadDBLogFilePortionInput) SetLogFileName(v string) *DownloadDBLogFilePortionInput
- func (s *DownloadDBLogFilePortionInput) SetMarker(v string) *DownloadDBLogFilePortionInput
- func (s *DownloadDBLogFilePortionInput) SetNumberOfLines(v int64) *DownloadDBLogFilePortionInput
- func (s DownloadDBLogFilePortionInput) String() string
- func (s *DownloadDBLogFilePortionInput) Validate() error
- type DownloadDBLogFilePortionOutput
- func (s DownloadDBLogFilePortionOutput) GoString() string
- func (s *DownloadDBLogFilePortionOutput) SetAdditionalDataPending(v bool) *DownloadDBLogFilePortionOutput
- func (s *DownloadDBLogFilePortionOutput) SetLogFileData(v string) *DownloadDBLogFilePortionOutput
- func (s *DownloadDBLogFilePortionOutput) SetMarker(v string) *DownloadDBLogFilePortionOutput
- func (s DownloadDBLogFilePortionOutput) String() string
- type EC2SecurityGroup
- func (s EC2SecurityGroup) GoString() string
- func (s *EC2SecurityGroup) SetEC2SecurityGroupId(v string) *EC2SecurityGroup
- func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup
- func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup
- func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup
- func (s EC2SecurityGroup) String() string
- type Endpoint
- type EngineDefaults
- type Event
- func (s Event) GoString() string
- func (s *Event) SetDate(v time.Time) *Event
- func (s *Event) SetEventCategories(v []*string) *Event
- func (s *Event) SetMessage(v string) *Event
- func (s *Event) SetSourceArn(v string) *Event
- func (s *Event) SetSourceIdentifier(v string) *Event
- func (s *Event) SetSourceType(v string) *Event
- func (s Event) String() string
- type EventCategoriesMap
- type EventSubscription
- func (s EventSubscription) GoString() string
- func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription
- func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription
- func (s *EventSubscription) SetEnabled(v bool) *EventSubscription
- func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription
- func (s *EventSubscription) SetEventSubscriptionArn(v string) *EventSubscription
- func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription
- func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription
- func (s *EventSubscription) SetSourceType(v string) *EventSubscription
- func (s *EventSubscription) SetStatus(v string) *EventSubscription
- func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscription
- func (s EventSubscription) String() string
- type FailoverDBClusterInput
- type FailoverDBClusterOutput
- type Filter
- type IPRange
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) GoString() string
- func (s *ListTagsForResourceInput) SetFilters(v []*Filter) *ListTagsForResourceInput
- func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourceInput
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- type ModifyDBClusterInput
- func (s ModifyDBClusterInput) GoString() string
- func (s *ModifyDBClusterInput) SetApplyImmediately(v bool) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetBackupRetentionPeriod(v int64) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetDBClusterIdentifier(v string) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetMasterUserPassword(v string) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetNewDBClusterIdentifier(v string) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetOptionGroupName(v string) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetPort(v int64) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetPreferredBackupWindow(v string) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyDBClusterInput
- func (s *ModifyDBClusterInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBClusterInput
- func (s ModifyDBClusterInput) String() string
- func (s *ModifyDBClusterInput) Validate() error
- type ModifyDBClusterOutput
- type ModifyDBClusterParameterGroupInput
- func (s ModifyDBClusterParameterGroupInput) GoString() string
- func (s *ModifyDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterParameterGroupInput
- func (s *ModifyDBClusterParameterGroupInput) SetParameters(v []*Parameter) *ModifyDBClusterParameterGroupInput
- func (s ModifyDBClusterParameterGroupInput) String() string
- func (s *ModifyDBClusterParameterGroupInput) Validate() error
- type ModifyDBClusterSnapshotAttributeInput
- func (s ModifyDBClusterSnapshotAttributeInput) GoString() string
- func (s *ModifyDBClusterSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBClusterSnapshotAttributeInput
- func (s *ModifyDBClusterSnapshotAttributeInput) SetDBClusterSnapshotIdentifier(v string) *ModifyDBClusterSnapshotAttributeInput
- func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToAdd(v []*string) *ModifyDBClusterSnapshotAttributeInput
- func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToRemove(v []*string) *ModifyDBClusterSnapshotAttributeInput
- func (s ModifyDBClusterSnapshotAttributeInput) String() string
- func (s *ModifyDBClusterSnapshotAttributeInput) Validate() error
- type ModifyDBClusterSnapshotAttributeOutput
- type ModifyDBInstanceInput
- func (s ModifyDBInstanceInput) GoString() string
- func (s *ModifyDBInstanceInput) SetAllocatedStorage(v int64) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetAllowMajorVersionUpgrade(v bool) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetApplyImmediately(v bool) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetBackupRetentionPeriod(v int64) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetCACertificateIdentifier(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetCopyTagsToSnapshot(v bool) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDBInstanceClass(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDBInstanceIdentifier(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDBParameterGroupName(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDBPortNumber(v int64) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDBSecurityGroups(v []*string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDBSubnetGroupName(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDomain(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetDomainIAMRoleName(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetEngineVersion(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetIops(v int64) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetLicenseModel(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetMasterUserPassword(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetMonitoringInterval(v int64) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetMonitoringRoleArn(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetMultiAZ(v bool) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetNewDBInstanceIdentifier(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetOptionGroupName(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetPreferredBackupWindow(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetPreferredMaintenanceWindow(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetPromotionTier(v int64) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetPubliclyAccessible(v bool) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetStorageType(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetTdeCredentialArn(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetTdeCredentialPassword(v string) *ModifyDBInstanceInput
- func (s *ModifyDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBInstanceInput
- func (s ModifyDBInstanceInput) String() string
- func (s *ModifyDBInstanceInput) Validate() error
- type ModifyDBInstanceOutput
- type ModifyDBParameterGroupInput
- func (s ModifyDBParameterGroupInput) GoString() string
- func (s *ModifyDBParameterGroupInput) SetDBParameterGroupName(v string) *ModifyDBParameterGroupInput
- func (s *ModifyDBParameterGroupInput) SetParameters(v []*Parameter) *ModifyDBParameterGroupInput
- func (s ModifyDBParameterGroupInput) String() string
- func (s *ModifyDBParameterGroupInput) Validate() error
- type ModifyDBSnapshotAttributeInput
- func (s ModifyDBSnapshotAttributeInput) GoString() string
- func (s *ModifyDBSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBSnapshotAttributeInput
- func (s *ModifyDBSnapshotAttributeInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotAttributeInput
- func (s *ModifyDBSnapshotAttributeInput) SetValuesToAdd(v []*string) *ModifyDBSnapshotAttributeInput
- func (s *ModifyDBSnapshotAttributeInput) SetValuesToRemove(v []*string) *ModifyDBSnapshotAttributeInput
- func (s ModifyDBSnapshotAttributeInput) String() string
- func (s *ModifyDBSnapshotAttributeInput) Validate() error
- type ModifyDBSnapshotAttributeOutput
- type ModifyDBSnapshotInput
- func (s ModifyDBSnapshotInput) GoString() string
- func (s *ModifyDBSnapshotInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotInput
- func (s *ModifyDBSnapshotInput) SetEngineVersion(v string) *ModifyDBSnapshotInput
- func (s ModifyDBSnapshotInput) String() string
- func (s *ModifyDBSnapshotInput) Validate() error
- type ModifyDBSnapshotOutput
- type ModifyDBSubnetGroupInput
- func (s ModifyDBSubnetGroupInput) GoString() string
- func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *ModifyDBSubnetGroupInput
- func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupName(v string) *ModifyDBSubnetGroupInput
- func (s *ModifyDBSubnetGroupInput) SetSubnetIds(v []*string) *ModifyDBSubnetGroupInput
- func (s ModifyDBSubnetGroupInput) String() string
- func (s *ModifyDBSubnetGroupInput) Validate() error
- type ModifyDBSubnetGroupOutput
- type ModifyEventSubscriptionInput
- func (s ModifyEventSubscriptionInput) GoString() string
- func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput
- func (s *ModifyEventSubscriptionInput) SetEventCategories(v []*string) *ModifyEventSubscriptionInput
- func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput
- func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput
- func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput
- func (s ModifyEventSubscriptionInput) String() string
- func (s *ModifyEventSubscriptionInput) Validate() error
- type ModifyEventSubscriptionOutput
- type ModifyOptionGroupInput
- func (s ModifyOptionGroupInput) GoString() string
- func (s *ModifyOptionGroupInput) SetApplyImmediately(v bool) *ModifyOptionGroupInput
- func (s *ModifyOptionGroupInput) SetOptionGroupName(v string) *ModifyOptionGroupInput
- func (s *ModifyOptionGroupInput) SetOptionsToInclude(v []*OptionConfiguration) *ModifyOptionGroupInput
- func (s *ModifyOptionGroupInput) SetOptionsToRemove(v []*string) *ModifyOptionGroupInput
- func (s ModifyOptionGroupInput) String() string
- func (s *ModifyOptionGroupInput) Validate() error
- type ModifyOptionGroupOutput
- type Option
- func (s Option) GoString() string
- func (s *Option) SetDBSecurityGroupMemberships(v []*DBSecurityGroupMembership) *Option
- func (s *Option) SetOptionDescription(v string) *Option
- func (s *Option) SetOptionName(v string) *Option
- func (s *Option) SetOptionSettings(v []*OptionSetting) *Option
- func (s *Option) SetOptionVersion(v string) *Option
- func (s *Option) SetPermanent(v bool) *Option
- func (s *Option) SetPersistent(v bool) *Option
- func (s *Option) SetPort(v int64) *Option
- func (s *Option) SetVpcSecurityGroupMemberships(v []*VpcSecurityGroupMembership) *Option
- func (s Option) String() string
- type OptionConfiguration
- func (s OptionConfiguration) GoString() string
- func (s *OptionConfiguration) SetDBSecurityGroupMemberships(v []*string) *OptionConfiguration
- func (s *OptionConfiguration) SetOptionName(v string) *OptionConfiguration
- func (s *OptionConfiguration) SetOptionSettings(v []*OptionSetting) *OptionConfiguration
- func (s *OptionConfiguration) SetOptionVersion(v string) *OptionConfiguration
- func (s *OptionConfiguration) SetPort(v int64) *OptionConfiguration
- func (s *OptionConfiguration) SetVpcSecurityGroupMemberships(v []*string) *OptionConfiguration
- func (s OptionConfiguration) String() string
- func (s *OptionConfiguration) Validate() error
- type OptionGroup
- func (s OptionGroup) GoString() string
- func (s *OptionGroup) SetAllowsVpcAndNonVpcInstanceMemberships(v bool) *OptionGroup
- func (s *OptionGroup) SetEngineName(v string) *OptionGroup
- func (s *OptionGroup) SetMajorEngineVersion(v string) *OptionGroup
- func (s *OptionGroup) SetOptionGroupArn(v string) *OptionGroup
- func (s *OptionGroup) SetOptionGroupDescription(v string) *OptionGroup
- func (s *OptionGroup) SetOptionGroupName(v string) *OptionGroup
- func (s *OptionGroup) SetOptions(v []*Option) *OptionGroup
- func (s *OptionGroup) SetVpcId(v string) *OptionGroup
- func (s OptionGroup) String() string
- type OptionGroupMembership
- type OptionGroupOption
- func (s OptionGroupOption) GoString() string
- func (s *OptionGroupOption) SetDefaultPort(v int64) *OptionGroupOption
- func (s *OptionGroupOption) SetDescription(v string) *OptionGroupOption
- func (s *OptionGroupOption) SetEngineName(v string) *OptionGroupOption
- func (s *OptionGroupOption) SetMajorEngineVersion(v string) *OptionGroupOption
- func (s *OptionGroupOption) SetMinimumRequiredMinorEngineVersion(v string) *OptionGroupOption
- func (s *OptionGroupOption) SetName(v string) *OptionGroupOption
- func (s *OptionGroupOption) SetOptionGroupOptionSettings(v []*OptionGroupOptionSetting) *OptionGroupOption
- func (s *OptionGroupOption) SetOptionGroupOptionVersions(v []*OptionVersion) *OptionGroupOption
- func (s *OptionGroupOption) SetOptionsConflictsWith(v []*string) *OptionGroupOption
- func (s *OptionGroupOption) SetOptionsDependedOn(v []*string) *OptionGroupOption
- func (s *OptionGroupOption) SetPermanent(v bool) *OptionGroupOption
- func (s *OptionGroupOption) SetPersistent(v bool) *OptionGroupOption
- func (s *OptionGroupOption) SetPortRequired(v bool) *OptionGroupOption
- func (s OptionGroupOption) String() string
- type OptionGroupOptionSetting
- func (s OptionGroupOptionSetting) GoString() string
- func (s *OptionGroupOptionSetting) SetAllowedValues(v string) *OptionGroupOptionSetting
- func (s *OptionGroupOptionSetting) SetApplyType(v string) *OptionGroupOptionSetting
- func (s *OptionGroupOptionSetting) SetDefaultValue(v string) *OptionGroupOptionSetting
- func (s *OptionGroupOptionSetting) SetIsModifiable(v bool) *OptionGroupOptionSetting
- func (s *OptionGroupOptionSetting) SetSettingDescription(v string) *OptionGroupOptionSetting
- func (s *OptionGroupOptionSetting) SetSettingName(v string) *OptionGroupOptionSetting
- func (s OptionGroupOptionSetting) String() string
- type OptionSetting
- func (s OptionSetting) GoString() string
- func (s *OptionSetting) SetAllowedValues(v string) *OptionSetting
- func (s *OptionSetting) SetApplyType(v string) *OptionSetting
- func (s *OptionSetting) SetDataType(v string) *OptionSetting
- func (s *OptionSetting) SetDefaultValue(v string) *OptionSetting
- func (s *OptionSetting) SetDescription(v string) *OptionSetting
- func (s *OptionSetting) SetIsCollection(v bool) *OptionSetting
- func (s *OptionSetting) SetIsModifiable(v bool) *OptionSetting
- func (s *OptionSetting) SetName(v string) *OptionSetting
- func (s *OptionSetting) SetValue(v string) *OptionSetting
- func (s OptionSetting) String() string
- type OptionVersion
- type OrderableDBInstanceOption
- func (s OrderableDBInstanceOption) GoString() string
- func (s *OrderableDBInstanceOption) SetAvailabilityZones(v []*AvailabilityZone) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetDBInstanceClass(v string) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetEngine(v string) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetEngineVersion(v string) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetLicenseModel(v string) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetMultiAZCapable(v bool) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetReadReplicaCapable(v bool) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetStorageType(v string) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetSupportsEnhancedMonitoring(v bool) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetSupportsIops(v bool) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetSupportsStorageEncryption(v bool) *OrderableDBInstanceOption
- func (s *OrderableDBInstanceOption) SetVpc(v bool) *OrderableDBInstanceOption
- func (s OrderableDBInstanceOption) String() string
- type Parameter
- func (s Parameter) GoString() string
- func (s *Parameter) SetAllowedValues(v string) *Parameter
- func (s *Parameter) SetApplyMethod(v string) *Parameter
- func (s *Parameter) SetApplyType(v string) *Parameter
- func (s *Parameter) SetDataType(v string) *Parameter
- func (s *Parameter) SetDescription(v string) *Parameter
- func (s *Parameter) SetIsModifiable(v bool) *Parameter
- func (s *Parameter) SetMinimumEngineVersion(v string) *Parameter
- func (s *Parameter) SetParameterName(v string) *Parameter
- func (s *Parameter) SetParameterValue(v string) *Parameter
- func (s *Parameter) SetSource(v string) *Parameter
- func (s Parameter) String() string
- type PendingMaintenanceAction
- func (s PendingMaintenanceAction) GoString() string
- func (s *PendingMaintenanceAction) SetAction(v string) *PendingMaintenanceAction
- func (s *PendingMaintenanceAction) SetAutoAppliedAfterDate(v time.Time) *PendingMaintenanceAction
- func (s *PendingMaintenanceAction) SetCurrentApplyDate(v time.Time) *PendingMaintenanceAction
- func (s *PendingMaintenanceAction) SetDescription(v string) *PendingMaintenanceAction
- func (s *PendingMaintenanceAction) SetForcedApplyDate(v time.Time) *PendingMaintenanceAction
- func (s *PendingMaintenanceAction) SetOptInStatus(v string) *PendingMaintenanceAction
- func (s PendingMaintenanceAction) String() string
- type PendingModifiedValues
- func (s PendingModifiedValues) GoString() string
- func (s *PendingModifiedValues) SetAllocatedStorage(v int64) *PendingModifiedValues
- func (s *PendingModifiedValues) SetBackupRetentionPeriod(v int64) *PendingModifiedValues
- func (s *PendingModifiedValues) SetCACertificateIdentifier(v string) *PendingModifiedValues
- func (s *PendingModifiedValues) SetDBInstanceClass(v string) *PendingModifiedValues
- func (s *PendingModifiedValues) SetDBInstanceIdentifier(v string) *PendingModifiedValues
- func (s *PendingModifiedValues) SetDBSubnetGroupName(v string) *PendingModifiedValues
- func (s *PendingModifiedValues) SetEngineVersion(v string) *PendingModifiedValues
- func (s *PendingModifiedValues) SetIops(v int64) *PendingModifiedValues
- func (s *PendingModifiedValues) SetLicenseModel(v string) *PendingModifiedValues
- func (s *PendingModifiedValues) SetMasterUserPassword(v string) *PendingModifiedValues
- func (s *PendingModifiedValues) SetMultiAZ(v bool) *PendingModifiedValues
- func (s *PendingModifiedValues) SetPort(v int64) *PendingModifiedValues
- func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues
- func (s PendingModifiedValues) String() string
- type PromoteReadReplicaDBClusterInput
- type PromoteReadReplicaDBClusterOutput
- type PromoteReadReplicaInput
- func (s PromoteReadReplicaInput) GoString() string
- func (s *PromoteReadReplicaInput) SetBackupRetentionPeriod(v int64) *PromoteReadReplicaInput
- func (s *PromoteReadReplicaInput) SetDBInstanceIdentifier(v string) *PromoteReadReplicaInput
- func (s *PromoteReadReplicaInput) SetPreferredBackupWindow(v string) *PromoteReadReplicaInput
- func (s PromoteReadReplicaInput) String() string
- func (s *PromoteReadReplicaInput) Validate() error
- type PromoteReadReplicaOutput
- type PurchaseReservedDBInstancesOfferingInput
- func (s PurchaseReservedDBInstancesOfferingInput) GoString() string
- func (s *PurchaseReservedDBInstancesOfferingInput) SetDBInstanceCount(v int64) *PurchaseReservedDBInstancesOfferingInput
- func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstanceId(v string) *PurchaseReservedDBInstancesOfferingInput
- func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstancesOfferingId(v string) *PurchaseReservedDBInstancesOfferingInput
- func (s *PurchaseReservedDBInstancesOfferingInput) SetTags(v []*Tag) *PurchaseReservedDBInstancesOfferingInput
- func (s PurchaseReservedDBInstancesOfferingInput) String() string
- func (s *PurchaseReservedDBInstancesOfferingInput) Validate() error
- type PurchaseReservedDBInstancesOfferingOutput
- type RDS
- func (c *RDS) AddRoleToDBCluster(input *AddRoleToDBClusterInput) (*AddRoleToDBClusterOutput, error)
- func (c *RDS) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *request.Request, output *AddRoleToDBClusterOutput)
- func (c *RDS) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error)
- func (c *RDS) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput)
- func (c *RDS) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)
- func (c *RDS) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)
- func (c *RDS) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error)
- func (c *RDS) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput)
- func (c *RDS) AuthorizeDBSecurityGroupIngress(input *AuthorizeDBSecurityGroupIngressInput) (*AuthorizeDBSecurityGroupIngressOutput, error)
- func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityGroupIngressInput) (req *request.Request, output *AuthorizeDBSecurityGroupIngressOutput)
- func (c *RDS) CopyDBClusterParameterGroup(input *CopyDBClusterParameterGroupInput) (*CopyDBClusterParameterGroupOutput, error)
- func (c *RDS) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGroupInput) (req *request.Request, output *CopyDBClusterParameterGroupOutput)
- func (c *RDS) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error)
- func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput)
- func (c *RDS) CopyDBParameterGroup(input *CopyDBParameterGroupInput) (*CopyDBParameterGroupOutput, error)
- func (c *RDS) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req *request.Request, output *CopyDBParameterGroupOutput)
- func (c *RDS) CopyDBSnapshot(input *CopyDBSnapshotInput) (*CopyDBSnapshotOutput, error)
- func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Request, output *CopyDBSnapshotOutput)
- func (c *RDS) CopyOptionGroup(input *CopyOptionGroupInput) (*CopyOptionGroupOutput, error)
- func (c *RDS) CopyOptionGroupRequest(input *CopyOptionGroupInput) (req *request.Request, output *CopyOptionGroupOutput)
- func (c *RDS) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error)
- func (c *RDS) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error)
- func (c *RDS) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput)
- func (c *RDS) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput)
- func (c *RDS) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error)
- func (c *RDS) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput)
- func (c *RDS) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error)
- func (c *RDS) CreateDBInstanceReadReplica(input *CreateDBInstanceReadReplicaInput) (*CreateDBInstanceReadReplicaOutput, error)
- func (c *RDS) CreateDBInstanceReadReplicaRequest(input *CreateDBInstanceReadReplicaInput) (req *request.Request, output *CreateDBInstanceReadReplicaOutput)
- func (c *RDS) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput)
- func (c *RDS) CreateDBParameterGroup(input *CreateDBParameterGroupInput) (*CreateDBParameterGroupOutput, error)
- func (c *RDS) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) (req *request.Request, output *CreateDBParameterGroupOutput)
- func (c *RDS) CreateDBSecurityGroup(input *CreateDBSecurityGroupInput) (*CreateDBSecurityGroupOutput, error)
- func (c *RDS) CreateDBSecurityGroupRequest(input *CreateDBSecurityGroupInput) (req *request.Request, output *CreateDBSecurityGroupOutput)
- func (c *RDS) CreateDBSnapshot(input *CreateDBSnapshotInput) (*CreateDBSnapshotOutput, error)
- func (c *RDS) CreateDBSnapshotRequest(input *CreateDBSnapshotInput) (req *request.Request, output *CreateDBSnapshotOutput)
- func (c *RDS) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error)
- func (c *RDS) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput)
- func (c *RDS) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error)
- func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput)
- func (c *RDS) CreateOptionGroup(input *CreateOptionGroupInput) (*CreateOptionGroupOutput, error)
- func (c *RDS) CreateOptionGroupRequest(input *CreateOptionGroupInput) (req *request.Request, output *CreateOptionGroupOutput)
- func (c *RDS) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error)
- func (c *RDS) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error)
- func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput)
- func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput)
- func (c *RDS) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error)
- func (c *RDS) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput)
- func (c *RDS) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error)
- func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput)
- func (c *RDS) DeleteDBParameterGroup(input *DeleteDBParameterGroupInput) (*DeleteDBParameterGroupOutput, error)
- func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) (req *request.Request, output *DeleteDBParameterGroupOutput)
- func (c *RDS) DeleteDBSecurityGroup(input *DeleteDBSecurityGroupInput) (*DeleteDBSecurityGroupOutput, error)
- func (c *RDS) DeleteDBSecurityGroupRequest(input *DeleteDBSecurityGroupInput) (req *request.Request, output *DeleteDBSecurityGroupOutput)
- func (c *RDS) DeleteDBSnapshot(input *DeleteDBSnapshotInput) (*DeleteDBSnapshotOutput, error)
- func (c *RDS) DeleteDBSnapshotRequest(input *DeleteDBSnapshotInput) (req *request.Request, output *DeleteDBSnapshotOutput)
- func (c *RDS) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error)
- func (c *RDS) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput)
- func (c *RDS) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error)
- func (c *RDS) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput)
- func (c *RDS) DeleteOptionGroup(input *DeleteOptionGroupInput) (*DeleteOptionGroupOutput, error)
- func (c *RDS) DeleteOptionGroupRequest(input *DeleteOptionGroupInput) (req *request.Request, output *DeleteOptionGroupOutput)
- func (c *RDS) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error)
- func (c *RDS) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput)
- func (c *RDS) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error)
- func (c *RDS) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput)
- func (c *RDS) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error)
- func (c *RDS) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput)
- func (c *RDS) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error)
- func (c *RDS) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput)
- func (c *RDS) DescribeDBClusterSnapshotAttributes(input *DescribeDBClusterSnapshotAttributesInput) (*DescribeDBClusterSnapshotAttributesOutput, error)
- func (c *RDS) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClusterSnapshotAttributesInput) (req *request.Request, output *DescribeDBClusterSnapshotAttributesOutput)
- func (c *RDS) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error)
- func (c *RDS) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput)
- func (c *RDS) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error)
- func (c *RDS) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput)
- func (c *RDS) DescribeDBEngineVersions(input *DescribeDBEngineVersionsInput) (*DescribeDBEngineVersionsOutput, error)
- func (c *RDS) DescribeDBEngineVersionsPages(input *DescribeDBEngineVersionsInput, ...) error
- func (c *RDS) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput)
- func (c *RDS) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error)
- func (c *RDS) DescribeDBInstancesPages(input *DescribeDBInstancesInput, ...) error
- func (c *RDS) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput)
- func (c *RDS) DescribeDBLogFiles(input *DescribeDBLogFilesInput) (*DescribeDBLogFilesOutput, error)
- func (c *RDS) DescribeDBLogFilesPages(input *DescribeDBLogFilesInput, ...) error
- func (c *RDS) DescribeDBLogFilesRequest(input *DescribeDBLogFilesInput) (req *request.Request, output *DescribeDBLogFilesOutput)
- func (c *RDS) DescribeDBParameterGroups(input *DescribeDBParameterGroupsInput) (*DescribeDBParameterGroupsOutput, error)
- func (c *RDS) DescribeDBParameterGroupsPages(input *DescribeDBParameterGroupsInput, ...) error
- func (c *RDS) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsInput) (req *request.Request, output *DescribeDBParameterGroupsOutput)
- func (c *RDS) DescribeDBParameters(input *DescribeDBParametersInput) (*DescribeDBParametersOutput, error)
- func (c *RDS) DescribeDBParametersPages(input *DescribeDBParametersInput, ...) error
- func (c *RDS) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req *request.Request, output *DescribeDBParametersOutput)
- func (c *RDS) DescribeDBSecurityGroups(input *DescribeDBSecurityGroupsInput) (*DescribeDBSecurityGroupsOutput, error)
- func (c *RDS) DescribeDBSecurityGroupsPages(input *DescribeDBSecurityGroupsInput, ...) error
- func (c *RDS) DescribeDBSecurityGroupsRequest(input *DescribeDBSecurityGroupsInput) (req *request.Request, output *DescribeDBSecurityGroupsOutput)
- func (c *RDS) DescribeDBSnapshotAttributes(input *DescribeDBSnapshotAttributesInput) (*DescribeDBSnapshotAttributesOutput, error)
- func (c *RDS) DescribeDBSnapshotAttributesRequest(input *DescribeDBSnapshotAttributesInput) (req *request.Request, output *DescribeDBSnapshotAttributesOutput)
- func (c *RDS) DescribeDBSnapshots(input *DescribeDBSnapshotsInput) (*DescribeDBSnapshotsOutput, error)
- func (c *RDS) DescribeDBSnapshotsPages(input *DescribeDBSnapshotsInput, ...) error
- func (c *RDS) DescribeDBSnapshotsRequest(input *DescribeDBSnapshotsInput) (req *request.Request, output *DescribeDBSnapshotsOutput)
- func (c *RDS) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error)
- func (c *RDS) DescribeDBSubnetGroupsPages(input *DescribeDBSubnetGroupsInput, ...) error
- func (c *RDS) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput)
- func (c *RDS) DescribeEngineDefaultClusterParameters(input *DescribeEngineDefaultClusterParametersInput) (*DescribeEngineDefaultClusterParametersOutput, error)
- func (c *RDS) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput)
- func (c *RDS) DescribeEngineDefaultParameters(input *DescribeEngineDefaultParametersInput) (*DescribeEngineDefaultParametersOutput, error)
- func (c *RDS) DescribeEngineDefaultParametersPages(input *DescribeEngineDefaultParametersInput, ...) error
- func (c *RDS) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput)
- func (c *RDS) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error)
- func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput)
- func (c *RDS) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error)
- func (c *RDS) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, ...) error
- func (c *RDS) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput)
- func (c *RDS) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error)
- func (c *RDS) DescribeEventsPages(input *DescribeEventsInput, ...) error
- func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput)
- func (c *RDS) DescribeOptionGroupOptions(input *DescribeOptionGroupOptionsInput) (*DescribeOptionGroupOptionsOutput, error)
- func (c *RDS) DescribeOptionGroupOptionsPages(input *DescribeOptionGroupOptionsInput, ...) error
- func (c *RDS) DescribeOptionGroupOptionsRequest(input *DescribeOptionGroupOptionsInput) (req *request.Request, output *DescribeOptionGroupOptionsOutput)
- func (c *RDS) DescribeOptionGroups(input *DescribeOptionGroupsInput) (*DescribeOptionGroupsOutput, error)
- func (c *RDS) DescribeOptionGroupsPages(input *DescribeOptionGroupsInput, ...) error
- func (c *RDS) DescribeOptionGroupsRequest(input *DescribeOptionGroupsInput) (req *request.Request, output *DescribeOptionGroupsOutput)
- func (c *RDS) DescribeOrderableDBInstanceOptions(input *DescribeOrderableDBInstanceOptionsInput) (*DescribeOrderableDBInstanceOptionsOutput, error)
- func (c *RDS) DescribeOrderableDBInstanceOptionsPages(input *DescribeOrderableDBInstanceOptionsInput, ...) error
- func (c *RDS) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput)
- func (c *RDS) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error)
- func (c *RDS) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput)
- func (c *RDS) DescribeReservedDBInstances(input *DescribeReservedDBInstancesInput) (*DescribeReservedDBInstancesOutput, error)
- func (c *RDS) DescribeReservedDBInstancesOfferings(input *DescribeReservedDBInstancesOfferingsInput) (*DescribeReservedDBInstancesOfferingsOutput, error)
- func (c *RDS) DescribeReservedDBInstancesOfferingsPages(input *DescribeReservedDBInstancesOfferingsInput, ...) error
- func (c *RDS) DescribeReservedDBInstancesOfferingsRequest(input *DescribeReservedDBInstancesOfferingsInput) (req *request.Request, output *DescribeReservedDBInstancesOfferingsOutput)
- func (c *RDS) DescribeReservedDBInstancesPages(input *DescribeReservedDBInstancesInput, ...) error
- func (c *RDS) DescribeReservedDBInstancesRequest(input *DescribeReservedDBInstancesInput) (req *request.Request, output *DescribeReservedDBInstancesOutput)
- func (c *RDS) DescribeSourceRegions(input *DescribeSourceRegionsInput) (*DescribeSourceRegionsOutput, error)
- func (c *RDS) DescribeSourceRegionsRequest(input *DescribeSourceRegionsInput) (req *request.Request, output *DescribeSourceRegionsOutput)
- func (c *RDS) DownloadDBLogFilePortion(input *DownloadDBLogFilePortionInput) (*DownloadDBLogFilePortionOutput, error)
- func (c *RDS) DownloadDBLogFilePortionPages(input *DownloadDBLogFilePortionInput, ...) error
- func (c *RDS) DownloadDBLogFilePortionRequest(input *DownloadDBLogFilePortionInput) (req *request.Request, output *DownloadDBLogFilePortionOutput)
- func (c *RDS) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error)
- func (c *RDS) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput)
- func (c *RDS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *RDS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *RDS) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error)
- func (c *RDS) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error)
- func (c *RDS) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage)
- func (c *RDS) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput)
- func (c *RDS) ModifyDBClusterSnapshotAttribute(input *ModifyDBClusterSnapshotAttributeInput) (*ModifyDBClusterSnapshotAttributeOutput, error)
- func (c *RDS) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnapshotAttributeInput) (req *request.Request, output *ModifyDBClusterSnapshotAttributeOutput)
- func (c *RDS) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error)
- func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput)
- func (c *RDS) ModifyDBParameterGroup(input *ModifyDBParameterGroupInput) (*DBParameterGroupNameMessage, error)
- func (c *RDS) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage)
- func (c *RDS) ModifyDBSnapshot(input *ModifyDBSnapshotInput) (*ModifyDBSnapshotOutput, error)
- func (c *RDS) ModifyDBSnapshotAttribute(input *ModifyDBSnapshotAttributeInput) (*ModifyDBSnapshotAttributeOutput, error)
- func (c *RDS) ModifyDBSnapshotAttributeRequest(input *ModifyDBSnapshotAttributeInput) (req *request.Request, output *ModifyDBSnapshotAttributeOutput)
- func (c *RDS) ModifyDBSnapshotRequest(input *ModifyDBSnapshotInput) (req *request.Request, output *ModifyDBSnapshotOutput)
- func (c *RDS) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error)
- func (c *RDS) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput)
- func (c *RDS) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error)
- func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput)
- func (c *RDS) ModifyOptionGroup(input *ModifyOptionGroupInput) (*ModifyOptionGroupOutput, error)
- func (c *RDS) ModifyOptionGroupRequest(input *ModifyOptionGroupInput) (req *request.Request, output *ModifyOptionGroupOutput)
- func (c *RDS) PromoteReadReplica(input *PromoteReadReplicaInput) (*PromoteReadReplicaOutput, error)
- func (c *RDS) PromoteReadReplicaDBCluster(input *PromoteReadReplicaDBClusterInput) (*PromoteReadReplicaDBClusterOutput, error)
- func (c *RDS) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClusterInput) (req *request.Request, output *PromoteReadReplicaDBClusterOutput)
- func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *request.Request, output *PromoteReadReplicaOutput)
- func (c *RDS) PurchaseReservedDBInstancesOffering(input *PurchaseReservedDBInstancesOfferingInput) (*PurchaseReservedDBInstancesOfferingOutput, error)
- func (c *RDS) PurchaseReservedDBInstancesOfferingRequest(input *PurchaseReservedDBInstancesOfferingInput) (req *request.Request, output *PurchaseReservedDBInstancesOfferingOutput)
- func (c *RDS) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error)
- func (c *RDS) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput)
- func (c *RDS) RemoveRoleFromDBCluster(input *RemoveRoleFromDBClusterInput) (*RemoveRoleFromDBClusterOutput, error)
- func (c *RDS) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput) (req *request.Request, output *RemoveRoleFromDBClusterOutput)
- func (c *RDS) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error)
- func (c *RDS) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput)
- func (c *RDS) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)
- func (c *RDS) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)
- func (c *RDS) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error)
- func (c *RDS) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage)
- func (c *RDS) ResetDBParameterGroup(input *ResetDBParameterGroupInput) (*DBParameterGroupNameMessage, error)
- func (c *RDS) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage)
- func (c *RDS) RestoreDBClusterFromS3(input *RestoreDBClusterFromS3Input) (*RestoreDBClusterFromS3Output, error)
- func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) (req *request.Request, output *RestoreDBClusterFromS3Output)
- func (c *RDS) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error)
- func (c *RDS) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput)
- func (c *RDS) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error)
- func (c *RDS) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput)
- func (c *RDS) RestoreDBInstanceFromDBSnapshot(input *RestoreDBInstanceFromDBSnapshotInput) (*RestoreDBInstanceFromDBSnapshotOutput, error)
- func (c *RDS) RestoreDBInstanceFromDBSnapshotRequest(input *RestoreDBInstanceFromDBSnapshotInput) (req *request.Request, output *RestoreDBInstanceFromDBSnapshotOutput)
- func (c *RDS) RestoreDBInstanceToPointInTime(input *RestoreDBInstanceToPointInTimeInput) (*RestoreDBInstanceToPointInTimeOutput, error)
- func (c *RDS) RestoreDBInstanceToPointInTimeRequest(input *RestoreDBInstanceToPointInTimeInput) (req *request.Request, output *RestoreDBInstanceToPointInTimeOutput)
- func (c *RDS) RevokeDBSecurityGroupIngress(input *RevokeDBSecurityGroupIngressInput) (*RevokeDBSecurityGroupIngressOutput, error)
- func (c *RDS) RevokeDBSecurityGroupIngressRequest(input *RevokeDBSecurityGroupIngressInput) (req *request.Request, output *RevokeDBSecurityGroupIngressOutput)
- func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) error
- func (c *RDS) WaitUntilDBInstanceDeleted(input *DescribeDBInstancesInput) error
- type RebootDBInstanceInput
- func (s RebootDBInstanceInput) GoString() string
- func (s *RebootDBInstanceInput) SetDBInstanceIdentifier(v string) *RebootDBInstanceInput
- func (s *RebootDBInstanceInput) SetForceFailover(v bool) *RebootDBInstanceInput
- func (s RebootDBInstanceInput) String() string
- func (s *RebootDBInstanceInput) Validate() error
- type RebootDBInstanceOutput
- type RecurringCharge
- type RemoveRoleFromDBClusterInput
- func (s RemoveRoleFromDBClusterInput) GoString() string
- func (s *RemoveRoleFromDBClusterInput) SetDBClusterIdentifier(v string) *RemoveRoleFromDBClusterInput
- func (s *RemoveRoleFromDBClusterInput) SetRoleArn(v string) *RemoveRoleFromDBClusterInput
- func (s RemoveRoleFromDBClusterInput) String() string
- func (s *RemoveRoleFromDBClusterInput) Validate() error
- type RemoveRoleFromDBClusterOutput
- type RemoveSourceIdentifierFromSubscriptionInput
- func (s RemoveSourceIdentifierFromSubscriptionInput) GoString() string
- func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSourceIdentifier(v string) *RemoveSourceIdentifierFromSubscriptionInput
- func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSubscriptionName(v string) *RemoveSourceIdentifierFromSubscriptionInput
- func (s RemoveSourceIdentifierFromSubscriptionInput) String() string
- func (s *RemoveSourceIdentifierFromSubscriptionInput) Validate() error
- type RemoveSourceIdentifierFromSubscriptionOutput
- type RemoveTagsFromResourceInput
- func (s RemoveTagsFromResourceInput) GoString() string
- func (s *RemoveTagsFromResourceInput) SetResourceName(v string) *RemoveTagsFromResourceInput
- func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput
- func (s RemoveTagsFromResourceInput) String() string
- func (s *RemoveTagsFromResourceInput) Validate() error
- type RemoveTagsFromResourceOutput
- type ReservedDBInstance
- func (s ReservedDBInstance) GoString() string
- func (s *ReservedDBInstance) SetCurrencyCode(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetDBInstanceClass(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetDBInstanceCount(v int64) *ReservedDBInstance
- func (s *ReservedDBInstance) SetDuration(v int64) *ReservedDBInstance
- func (s *ReservedDBInstance) SetFixedPrice(v float64) *ReservedDBInstance
- func (s *ReservedDBInstance) SetMultiAZ(v bool) *ReservedDBInstance
- func (s *ReservedDBInstance) SetOfferingType(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetProductDescription(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetRecurringCharges(v []*RecurringCharge) *ReservedDBInstance
- func (s *ReservedDBInstance) SetReservedDBInstanceArn(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetReservedDBInstanceId(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetStartTime(v time.Time) *ReservedDBInstance
- func (s *ReservedDBInstance) SetState(v string) *ReservedDBInstance
- func (s *ReservedDBInstance) SetUsagePrice(v float64) *ReservedDBInstance
- func (s ReservedDBInstance) String() string
- type ReservedDBInstancesOffering
- func (s ReservedDBInstancesOffering) GoString() string
- func (s *ReservedDBInstancesOffering) SetCurrencyCode(v string) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetDBInstanceClass(v string) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetDuration(v int64) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetFixedPrice(v float64) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetMultiAZ(v bool) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetOfferingType(v string) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetProductDescription(v string) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstancesOffering
- func (s *ReservedDBInstancesOffering) SetUsagePrice(v float64) *ReservedDBInstancesOffering
- func (s ReservedDBInstancesOffering) String() string
- type ResetDBClusterParameterGroupInput
- func (s ResetDBClusterParameterGroupInput) GoString() string
- func (s *ResetDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ResetDBClusterParameterGroupInput
- func (s *ResetDBClusterParameterGroupInput) SetParameters(v []*Parameter) *ResetDBClusterParameterGroupInput
- func (s *ResetDBClusterParameterGroupInput) SetResetAllParameters(v bool) *ResetDBClusterParameterGroupInput
- func (s ResetDBClusterParameterGroupInput) String() string
- func (s *ResetDBClusterParameterGroupInput) Validate() error
- type ResetDBParameterGroupInput
- func (s ResetDBParameterGroupInput) GoString() string
- func (s *ResetDBParameterGroupInput) SetDBParameterGroupName(v string) *ResetDBParameterGroupInput
- func (s *ResetDBParameterGroupInput) SetParameters(v []*Parameter) *ResetDBParameterGroupInput
- func (s *ResetDBParameterGroupInput) SetResetAllParameters(v bool) *ResetDBParameterGroupInput
- func (s ResetDBParameterGroupInput) String() string
- func (s *ResetDBParameterGroupInput) Validate() error
- type ResourcePendingMaintenanceActions
- func (s ResourcePendingMaintenanceActions) GoString() string
- func (s *ResourcePendingMaintenanceActions) SetPendingMaintenanceActionDetails(v []*PendingMaintenanceAction) *ResourcePendingMaintenanceActions
- func (s *ResourcePendingMaintenanceActions) SetResourceIdentifier(v string) *ResourcePendingMaintenanceActions
- func (s ResourcePendingMaintenanceActions) String() string
- type RestoreDBClusterFromS3Input
- func (s RestoreDBClusterFromS3Input) GoString() string
- func (s *RestoreDBClusterFromS3Input) SetAvailabilityZones(v []*string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetBackupRetentionPeriod(v int64) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetCharacterSetName(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetDBClusterIdentifier(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetDBClusterParameterGroupName(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetDBSubnetGroupName(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetDatabaseName(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetEngine(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetEngineVersion(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetKmsKeyId(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetMasterUserPassword(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetMasterUsername(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetOptionGroupName(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetPort(v int64) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetPreferredBackupWindow(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetPreferredMaintenanceWindow(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetS3BucketName(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetS3IngestionRoleArn(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetS3Prefix(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetSourceEngine(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetSourceEngineVersion(v string) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetStorageEncrypted(v bool) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetTags(v []*Tag) *RestoreDBClusterFromS3Input
- func (s *RestoreDBClusterFromS3Input) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterFromS3Input
- func (s RestoreDBClusterFromS3Input) String() string
- func (s *RestoreDBClusterFromS3Input) Validate() error
- type RestoreDBClusterFromS3Output
- type RestoreDBClusterFromSnapshotInput
- func (s RestoreDBClusterFromSnapshotInput) GoString() string
- func (s *RestoreDBClusterFromSnapshotInput) SetAvailabilityZones(v []*string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetDBClusterIdentifier(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetDatabaseName(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetEngine(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetEngineVersion(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetKmsKeyId(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetOptionGroupName(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetPort(v int64) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetSnapshotIdentifier(v string) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetTags(v []*Tag) *RestoreDBClusterFromSnapshotInput
- func (s *RestoreDBClusterFromSnapshotInput) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterFromSnapshotInput
- func (s RestoreDBClusterFromSnapshotInput) String() string
- func (s *RestoreDBClusterFromSnapshotInput) Validate() error
- type RestoreDBClusterFromSnapshotOutput
- type RestoreDBClusterToPointInTimeInput
- func (s RestoreDBClusterToPointInTimeInput) GoString() string
- func (s *RestoreDBClusterToPointInTimeInput) SetDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetKmsKeyId(v string) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetPort(v int64) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetRestoreToTime(v time.Time) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetSourceDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetTags(v []*Tag) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBClusterToPointInTimeInput
- func (s *RestoreDBClusterToPointInTimeInput) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterToPointInTimeInput
- func (s RestoreDBClusterToPointInTimeInput) String() string
- func (s *RestoreDBClusterToPointInTimeInput) Validate() error
- type RestoreDBClusterToPointInTimeOutput
- type RestoreDBInstanceFromDBSnapshotInput
- func (s RestoreDBInstanceFromDBSnapshotInput) GoString() string
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetAvailabilityZone(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceClass(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBName(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSnapshotIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomain(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetEngine(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetIops(v int64) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetLicenseModel(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetMultiAZ(v bool) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetOptionGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetPort(v int64) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetStorageType(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetTags(v []*Tag) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialArn(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceFromDBSnapshotInput
- func (s RestoreDBInstanceFromDBSnapshotInput) String() string
- func (s *RestoreDBInstanceFromDBSnapshotInput) Validate() error
- type RestoreDBInstanceFromDBSnapshotOutput
- type RestoreDBInstanceToPointInTimeInput
- func (s RestoreDBInstanceToPointInTimeInput) GoString() string
- func (s *RestoreDBInstanceToPointInTimeInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetAvailabilityZone(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetDBInstanceClass(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetDBName(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetDomain(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetEngine(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetIops(v int64) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetLicenseModel(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetMultiAZ(v bool) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetPort(v int64) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetRestoreTime(v time.Time) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetSourceDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetStorageType(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetTags(v []*Tag) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetTargetDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialArn(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceToPointInTimeInput
- func (s *RestoreDBInstanceToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBInstanceToPointInTimeInput
- func (s RestoreDBInstanceToPointInTimeInput) String() string
- func (s *RestoreDBInstanceToPointInTimeInput) Validate() error
- type RestoreDBInstanceToPointInTimeOutput
- type RevokeDBSecurityGroupIngressInput
- func (s RevokeDBSecurityGroupIngressInput) GoString() string
- func (s *RevokeDBSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeDBSecurityGroupIngressInput
- func (s *RevokeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput
- func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *RevokeDBSecurityGroupIngressInput
- func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput
- func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeDBSecurityGroupIngressInput
- func (s RevokeDBSecurityGroupIngressInput) String() string
- func (s *RevokeDBSecurityGroupIngressInput) Validate() error
- type RevokeDBSecurityGroupIngressOutput
- type SourceRegion
- type Subnet
- type Tag
- type Timezone
- type UpgradeTarget
- func (s UpgradeTarget) GoString() string
- func (s *UpgradeTarget) SetAutoUpgrade(v bool) *UpgradeTarget
- func (s *UpgradeTarget) SetDescription(v string) *UpgradeTarget
- func (s *UpgradeTarget) SetEngine(v string) *UpgradeTarget
- func (s *UpgradeTarget) SetEngineVersion(v string) *UpgradeTarget
- func (s *UpgradeTarget) SetIsMajorVersionUpgrade(v bool) *UpgradeTarget
- func (s UpgradeTarget) String() string
- type VpcSecurityGroupMembership
Examples ¶
- RDS.AddRoleToDBCluster
- RDS.AddSourceIdentifierToSubscription
- RDS.AddTagsToResource
- RDS.ApplyPendingMaintenanceAction
- RDS.AuthorizeDBSecurityGroupIngress
- RDS.CopyDBClusterParameterGroup
- RDS.CopyDBClusterSnapshot
- RDS.CopyDBParameterGroup
- RDS.CopyDBSnapshot
- RDS.CopyOptionGroup
- RDS.CreateDBCluster
- RDS.CreateDBClusterParameterGroup
- RDS.CreateDBClusterSnapshot
- RDS.CreateDBInstance
- RDS.CreateDBInstanceReadReplica
- RDS.CreateDBParameterGroup
- RDS.CreateDBSecurityGroup
- RDS.CreateDBSnapshot
- RDS.CreateDBSubnetGroup
- RDS.CreateEventSubscription
- RDS.CreateOptionGroup
- RDS.DeleteDBCluster
- RDS.DeleteDBClusterParameterGroup
- RDS.DeleteDBClusterSnapshot
- RDS.DeleteDBInstance
- RDS.DeleteDBParameterGroup
- RDS.DeleteDBSecurityGroup
- RDS.DeleteDBSnapshot
- RDS.DeleteDBSubnetGroup
- RDS.DeleteEventSubscription
- RDS.DeleteOptionGroup
- RDS.DescribeAccountAttributes
- RDS.DescribeCertificates
- RDS.DescribeDBClusterParameterGroups
- RDS.DescribeDBClusterParameters
- RDS.DescribeDBClusterSnapshotAttributes
- RDS.DescribeDBClusterSnapshots
- RDS.DescribeDBClusters
- RDS.DescribeDBEngineVersions
- RDS.DescribeDBInstances
- RDS.DescribeDBLogFiles
- RDS.DescribeDBParameterGroups
- RDS.DescribeDBParameters
- RDS.DescribeDBSecurityGroups
- RDS.DescribeDBSnapshotAttributes
- RDS.DescribeDBSnapshots
- RDS.DescribeDBSubnetGroups
- RDS.DescribeEngineDefaultClusterParameters
- RDS.DescribeEngineDefaultParameters
- RDS.DescribeEventCategories
- RDS.DescribeEventSubscriptions
- RDS.DescribeEvents
- RDS.DescribeOptionGroupOptions
- RDS.DescribeOptionGroups
- RDS.DescribeOrderableDBInstanceOptions
- RDS.DescribePendingMaintenanceActions
- RDS.DescribeReservedDBInstances
- RDS.DescribeReservedDBInstancesOfferings
- RDS.DescribeSourceRegions
- RDS.DownloadDBLogFilePortion
- RDS.FailoverDBCluster
- RDS.ListTagsForResource
- RDS.ModifyDBCluster
- RDS.ModifyDBClusterParameterGroup
- RDS.ModifyDBClusterSnapshotAttribute
- RDS.ModifyDBInstance
- RDS.ModifyDBParameterGroup
- RDS.ModifyDBSnapshot
- RDS.ModifyDBSnapshotAttribute
- RDS.ModifyDBSubnetGroup
- RDS.ModifyEventSubscription
- RDS.ModifyOptionGroup
- RDS.PromoteReadReplica
- RDS.PromoteReadReplicaDBCluster
- RDS.PurchaseReservedDBInstancesOffering
- RDS.RebootDBInstance
- RDS.RemoveRoleFromDBCluster
- RDS.RemoveSourceIdentifierFromSubscription
- RDS.RemoveTagsFromResource
- RDS.ResetDBClusterParameterGroup
- RDS.ResetDBParameterGroup
- RDS.RestoreDBClusterFromS3
- RDS.RestoreDBClusterFromSnapshot
- RDS.RestoreDBClusterToPointInTime
- RDS.RestoreDBInstanceFromDBSnapshot
- RDS.RestoreDBInstanceToPointInTime
- RDS.RevokeDBSecurityGroupIngress
Constants ¶
const ( // ApplyMethodImmediate is a ApplyMethod enum value ApplyMethodImmediate = "immediate" // ApplyMethodPendingReboot is a ApplyMethod enum value ApplyMethodPendingReboot = "pending-reboot" )
const ( // SourceTypeDbInstance is a SourceType enum value SourceTypeDbInstance = "db-instance" // SourceTypeDbParameterGroup is a SourceType enum value SourceTypeDbParameterGroup = "db-parameter-group" // SourceTypeDbSecurityGroup is a SourceType enum value SourceTypeDbSecurityGroup = "db-security-group" // SourceTypeDbSnapshot is a SourceType enum value SourceTypeDbSnapshot = "db-snapshot" // SourceTypeDbCluster is a SourceType enum value SourceTypeDbCluster = "db-cluster" // SourceTypeDbClusterSnapshot is a SourceType enum value SourceTypeDbClusterSnapshot = "db-cluster-snapshot" )
const ( // ErrCodeAuthorizationAlreadyExistsFault for service response error code // "AuthorizationAlreadyExists". // // The specified CIDRIP or EC2 security group is already authorized for the // specified DB security group. ErrCodeAuthorizationAlreadyExistsFault = "AuthorizationAlreadyExists" // ErrCodeAuthorizationNotFoundFault for service response error code // "AuthorizationNotFound". // // Specified CIDRIP or EC2 security group is not authorized for the specified // DB security group. // // RDS may not also be authorized via IAM to perform necessary actions on your // behalf. ErrCodeAuthorizationNotFoundFault = "AuthorizationNotFound" // ErrCodeAuthorizationQuotaExceededFault for service response error code // "AuthorizationQuotaExceeded". // // DB security group authorization quota has been reached. ErrCodeAuthorizationQuotaExceededFault = "AuthorizationQuotaExceeded" // ErrCodeCertificateNotFoundFault for service response error code // "CertificateNotFound". // // CertificateIdentifier does not refer to an existing certificate. ErrCodeCertificateNotFoundFault = "CertificateNotFound" // ErrCodeDBClusterAlreadyExistsFault for service response error code // "DBClusterAlreadyExistsFault". // // User already has a DB cluster with the given identifier. ErrCodeDBClusterAlreadyExistsFault = "DBClusterAlreadyExistsFault" // ErrCodeDBClusterNotFoundFault for service response error code // "DBClusterNotFoundFault". // // DBClusterIdentifier does not refer to an existing DB cluster. ErrCodeDBClusterNotFoundFault = "DBClusterNotFoundFault" // ErrCodeDBClusterParameterGroupNotFoundFault for service response error code // "DBClusterParameterGroupNotFound". // // DBClusterParameterGroupName does not refer to an existing DB Cluster parameter // group. ErrCodeDBClusterParameterGroupNotFoundFault = "DBClusterParameterGroupNotFound" // ErrCodeDBClusterQuotaExceededFault for service response error code // "DBClusterQuotaExceededFault". // // User attempted to create a new DB cluster and the user has already reached // the maximum allowed DB cluster quota. ErrCodeDBClusterQuotaExceededFault = "DBClusterQuotaExceededFault" // ErrCodeDBClusterRoleAlreadyExistsFault for service response error code // "DBClusterRoleAlreadyExists". // // The specified IAM role Amazon Resource Name (ARN) is already associated with // the specified DB cluster. ErrCodeDBClusterRoleAlreadyExistsFault = "DBClusterRoleAlreadyExists" // ErrCodeDBClusterRoleNotFoundFault for service response error code // "DBClusterRoleNotFound". // // The specified IAM role Amazon Resource Name (ARN) is not associated with // the specified DB cluster. ErrCodeDBClusterRoleNotFoundFault = "DBClusterRoleNotFound" // ErrCodeDBClusterRoleQuotaExceededFault for service response error code // "DBClusterRoleQuotaExceeded". // // You have exceeded the maximum number of IAM roles that can be associated // with the specified DB cluster. ErrCodeDBClusterRoleQuotaExceededFault = "DBClusterRoleQuotaExceeded" // ErrCodeDBClusterSnapshotAlreadyExistsFault for service response error code // "DBClusterSnapshotAlreadyExistsFault". // // User already has a DB cluster snapshot with the given identifier. ErrCodeDBClusterSnapshotAlreadyExistsFault = "DBClusterSnapshotAlreadyExistsFault" // ErrCodeDBClusterSnapshotNotFoundFault for service response error code // "DBClusterSnapshotNotFoundFault". // // DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. ErrCodeDBClusterSnapshotNotFoundFault = "DBClusterSnapshotNotFoundFault" // ErrCodeDBInstanceAlreadyExistsFault for service response error code // "DBInstanceAlreadyExists". // // User already has a DB instance with the given identifier. ErrCodeDBInstanceAlreadyExistsFault = "DBInstanceAlreadyExists" // ErrCodeDBInstanceNotFoundFault for service response error code // "DBInstanceNotFound". // // DBInstanceIdentifier does not refer to an existing DB instance. ErrCodeDBInstanceNotFoundFault = "DBInstanceNotFound" // ErrCodeDBLogFileNotFoundFault for service response error code // "DBLogFileNotFoundFault". // // LogFileName does not refer to an existing DB log file. ErrCodeDBLogFileNotFoundFault = "DBLogFileNotFoundFault" // ErrCodeDBParameterGroupAlreadyExistsFault for service response error code // "DBParameterGroupAlreadyExists". // // A DB parameter group with the same name exists. ErrCodeDBParameterGroupAlreadyExistsFault = "DBParameterGroupAlreadyExists" // ErrCodeDBParameterGroupNotFoundFault for service response error code // "DBParameterGroupNotFound". // // DBParameterGroupName does not refer to an existing DB parameter group. ErrCodeDBParameterGroupNotFoundFault = "DBParameterGroupNotFound" // ErrCodeDBParameterGroupQuotaExceededFault for service response error code // "DBParameterGroupQuotaExceeded". // // Request would result in user exceeding the allowed number of DB parameter // groups. ErrCodeDBParameterGroupQuotaExceededFault = "DBParameterGroupQuotaExceeded" // ErrCodeDBSecurityGroupAlreadyExistsFault for service response error code // "DBSecurityGroupAlreadyExists". // // A DB security group with the name specified in DBSecurityGroupName already // exists. ErrCodeDBSecurityGroupAlreadyExistsFault = "DBSecurityGroupAlreadyExists" // ErrCodeDBSecurityGroupNotFoundFault for service response error code // "DBSecurityGroupNotFound". // // DBSecurityGroupName does not refer to an existing DB security group. ErrCodeDBSecurityGroupNotFoundFault = "DBSecurityGroupNotFound" // ErrCodeDBSecurityGroupNotSupportedFault for service response error code // "DBSecurityGroupNotSupported". // // A DB security group is not allowed for this action. ErrCodeDBSecurityGroupNotSupportedFault = "DBSecurityGroupNotSupported" // ErrCodeDBSecurityGroupQuotaExceededFault for service response error code // "QuotaExceeded.DBSecurityGroup". // // Request would result in user exceeding the allowed number of DB security // groups. ErrCodeDBSecurityGroupQuotaExceededFault = "QuotaExceeded.DBSecurityGroup" // ErrCodeDBSnapshotAlreadyExistsFault for service response error code // "DBSnapshotAlreadyExists". // // DBSnapshotIdentifier is already used by an existing snapshot. ErrCodeDBSnapshotAlreadyExistsFault = "DBSnapshotAlreadyExists" // ErrCodeDBSnapshotNotFoundFault for service response error code // "DBSnapshotNotFound". // // DBSnapshotIdentifier does not refer to an existing DB snapshot. ErrCodeDBSnapshotNotFoundFault = "DBSnapshotNotFound" // ErrCodeDBSubnetGroupAlreadyExistsFault for service response error code // "DBSubnetGroupAlreadyExists". // // DBSubnetGroupName is already used by an existing DB subnet group. ErrCodeDBSubnetGroupAlreadyExistsFault = "DBSubnetGroupAlreadyExists" // ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs for service response error code // "DBSubnetGroupDoesNotCoverEnoughAZs". // // Subnets in the DB subnet group should cover at least two Availability Zones // unless there is only one Availability Zone. ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs = "DBSubnetGroupDoesNotCoverEnoughAZs" // ErrCodeDBSubnetGroupNotAllowedFault for service response error code // "DBSubnetGroupNotAllowedFault". // // Indicates that the DBSubnetGroup should not be specified while creating read // replicas that lie in the same region as the source instance. ErrCodeDBSubnetGroupNotAllowedFault = "DBSubnetGroupNotAllowedFault" // ErrCodeDBSubnetGroupNotFoundFault for service response error code // "DBSubnetGroupNotFoundFault". // // DBSubnetGroupName does not refer to an existing DB subnet group. ErrCodeDBSubnetGroupNotFoundFault = "DBSubnetGroupNotFoundFault" // ErrCodeDBSubnetGroupQuotaExceededFault for service response error code // "DBSubnetGroupQuotaExceeded". // // Request would result in user exceeding the allowed number of DB subnet groups. ErrCodeDBSubnetGroupQuotaExceededFault = "DBSubnetGroupQuotaExceeded" // ErrCodeDBSubnetQuotaExceededFault for service response error code // "DBSubnetQuotaExceededFault". // // Request would result in user exceeding the allowed number of subnets in a // DB subnet groups. ErrCodeDBSubnetQuotaExceededFault = "DBSubnetQuotaExceededFault" // ErrCodeDBUpgradeDependencyFailureFault for service response error code // "DBUpgradeDependencyFailure". // // The DB upgrade failed because a resource the DB depends on could not be modified. ErrCodeDBUpgradeDependencyFailureFault = "DBUpgradeDependencyFailure" // ErrCodeDomainNotFoundFault for service response error code // "DomainNotFoundFault". // // Domain does not refer to an existing Active Directory Domain. ErrCodeDomainNotFoundFault = "DomainNotFoundFault" // ErrCodeEventSubscriptionQuotaExceededFault for service response error code // "EventSubscriptionQuotaExceeded". // // You have reached the maximum number of event subscriptions. ErrCodeEventSubscriptionQuotaExceededFault = "EventSubscriptionQuotaExceeded" // ErrCodeInstanceQuotaExceededFault for service response error code // "InstanceQuotaExceeded". // // Request would result in user exceeding the allowed number of DB instances. ErrCodeInstanceQuotaExceededFault = "InstanceQuotaExceeded" // ErrCodeInsufficientDBClusterCapacityFault for service response error code // "InsufficientDBClusterCapacityFault". // // The DB cluster does not have enough capacity for the current operation. ErrCodeInsufficientDBClusterCapacityFault = "InsufficientDBClusterCapacityFault" // ErrCodeInsufficientDBInstanceCapacityFault for service response error code // "InsufficientDBInstanceCapacity". // // Specified DB instance class is not available in the specified Availability // Zone. ErrCodeInsufficientDBInstanceCapacityFault = "InsufficientDBInstanceCapacity" // ErrCodeInsufficientStorageClusterCapacityFault for service response error code // "InsufficientStorageClusterCapacity". // // There is insufficient storage available for the current action. You may be // able to resolve this error by updating your subnet group to use different // Availability Zones that have more storage available. ErrCodeInsufficientStorageClusterCapacityFault = "InsufficientStorageClusterCapacity" // ErrCodeInvalidDBClusterSnapshotStateFault for service response error code // "InvalidDBClusterSnapshotStateFault". // // The supplied value is not a valid DB cluster snapshot state. ErrCodeInvalidDBClusterSnapshotStateFault = "InvalidDBClusterSnapshotStateFault" // ErrCodeInvalidDBClusterStateFault for service response error code // "InvalidDBClusterStateFault". // // The DB cluster is not in a valid state. ErrCodeInvalidDBClusterStateFault = "InvalidDBClusterStateFault" // ErrCodeInvalidDBInstanceStateFault for service response error code // "InvalidDBInstanceState". // // The specified DB instance is not in the available state. ErrCodeInvalidDBInstanceStateFault = "InvalidDBInstanceState" // ErrCodeInvalidDBParameterGroupStateFault for service response error code // "InvalidDBParameterGroupState". // // The DB parameter group cannot be deleted because it is in use. ErrCodeInvalidDBParameterGroupStateFault = "InvalidDBParameterGroupState" // ErrCodeInvalidDBSecurityGroupStateFault for service response error code // "InvalidDBSecurityGroupState". // // The state of the DB security group does not allow deletion. ErrCodeInvalidDBSecurityGroupStateFault = "InvalidDBSecurityGroupState" // ErrCodeInvalidDBSnapshotStateFault for service response error code // "InvalidDBSnapshotState". // // The state of the DB snapshot does not allow deletion. ErrCodeInvalidDBSnapshotStateFault = "InvalidDBSnapshotState" // ErrCodeInvalidDBSubnetGroupFault for service response error code // "InvalidDBSubnetGroupFault". // // Indicates the DBSubnetGroup does not belong to the same VPC as that of an // existing cross region read replica of the same source instance. ErrCodeInvalidDBSubnetGroupFault = "InvalidDBSubnetGroupFault" // ErrCodeInvalidDBSubnetGroupStateFault for service response error code // "InvalidDBSubnetGroupStateFault". // // The DB subnet group cannot be deleted because it is in use. ErrCodeInvalidDBSubnetGroupStateFault = "InvalidDBSubnetGroupStateFault" // ErrCodeInvalidDBSubnetStateFault for service response error code // "InvalidDBSubnetStateFault". // // The DB subnet is not in the available state. ErrCodeInvalidDBSubnetStateFault = "InvalidDBSubnetStateFault" // ErrCodeInvalidEventSubscriptionStateFault for service response error code // "InvalidEventSubscriptionState". // // This error can occur if someone else is modifying a subscription. You should // retry the action. ErrCodeInvalidEventSubscriptionStateFault = "InvalidEventSubscriptionState" // ErrCodeInvalidOptionGroupStateFault for service response error code // "InvalidOptionGroupStateFault". // // The option group is not in the available state. ErrCodeInvalidOptionGroupStateFault = "InvalidOptionGroupStateFault" // ErrCodeInvalidRestoreFault for service response error code // "InvalidRestoreFault". // // Cannot restore from vpc backup to non-vpc DB instance. ErrCodeInvalidRestoreFault = "InvalidRestoreFault" // ErrCodeInvalidS3BucketFault for service response error code // "InvalidS3BucketFault". // // The specified Amazon S3 bucket name could not be found or Amazon RDS is not // authorized to access the specified Amazon S3 bucket. Verify the SourceS3BucketName // and S3IngestionRoleArn values and try again. ErrCodeInvalidS3BucketFault = "InvalidS3BucketFault" // ErrCodeInvalidSubnet for service response error code // "InvalidSubnet". // // The requested subnet is invalid, or multiple subnets were requested that // are not all in a common VPC. ErrCodeInvalidSubnet = "InvalidSubnet" // ErrCodeInvalidVPCNetworkStateFault for service response error code // "InvalidVPCNetworkStateFault". // // DB subnet group does not cover all Availability Zones after it is created // because users' change. ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault" // ErrCodeKMSKeyNotAccessibleFault for service response error code // "KMSKeyNotAccessibleFault". // // Error accessing KMS key. ErrCodeKMSKeyNotAccessibleFault = "KMSKeyNotAccessibleFault" // ErrCodeOptionGroupAlreadyExistsFault for service response error code // "OptionGroupAlreadyExistsFault". // // The option group you are trying to create already exists. ErrCodeOptionGroupAlreadyExistsFault = "OptionGroupAlreadyExistsFault" // ErrCodeOptionGroupNotFoundFault for service response error code // "OptionGroupNotFoundFault". // // The specified option group could not be found. ErrCodeOptionGroupNotFoundFault = "OptionGroupNotFoundFault" // ErrCodeOptionGroupQuotaExceededFault for service response error code // "OptionGroupQuotaExceededFault". // // The quota of 20 option groups was exceeded for this AWS account. ErrCodeOptionGroupQuotaExceededFault = "OptionGroupQuotaExceededFault" // ErrCodePointInTimeRestoreNotEnabledFault for service response error code // "PointInTimeRestoreNotEnabled". // // SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod // equal to 0. ErrCodePointInTimeRestoreNotEnabledFault = "PointInTimeRestoreNotEnabled" // ErrCodeProvisionedIopsNotAvailableInAZFault for service response error code // "ProvisionedIopsNotAvailableInAZFault". // // Provisioned IOPS not available in the specified Availability Zone. ErrCodeProvisionedIopsNotAvailableInAZFault = "ProvisionedIopsNotAvailableInAZFault" // ErrCodeReservedDBInstanceAlreadyExistsFault for service response error code // "ReservedDBInstanceAlreadyExists". // // User already has a reservation with the given identifier. ErrCodeReservedDBInstanceAlreadyExistsFault = "ReservedDBInstanceAlreadyExists" // ErrCodeReservedDBInstanceNotFoundFault for service response error code // "ReservedDBInstanceNotFound". // // The specified reserved DB Instance not found. ErrCodeReservedDBInstanceNotFoundFault = "ReservedDBInstanceNotFound" // ErrCodeReservedDBInstanceQuotaExceededFault for service response error code // "ReservedDBInstanceQuotaExceeded". // // Request would exceed the user's DB Instance quota. ErrCodeReservedDBInstanceQuotaExceededFault = "ReservedDBInstanceQuotaExceeded" // ErrCodeReservedDBInstancesOfferingNotFoundFault for service response error code // "ReservedDBInstancesOfferingNotFound". // // Specified offering does not exist. ErrCodeReservedDBInstancesOfferingNotFoundFault = "ReservedDBInstancesOfferingNotFound" // ErrCodeResourceNotFoundFault for service response error code // "ResourceNotFoundFault". // // The specified resource ID was not found. ErrCodeResourceNotFoundFault = "ResourceNotFoundFault" // ErrCodeSNSInvalidTopicFault for service response error code // "SNSInvalidTopic". // // SNS has responded that there is a problem with the SND topic specified. ErrCodeSNSInvalidTopicFault = "SNSInvalidTopic" // ErrCodeSNSNoAuthorizationFault for service response error code // "SNSNoAuthorization". // // You do not have permission to publish to the SNS topic ARN. ErrCodeSNSNoAuthorizationFault = "SNSNoAuthorization" // ErrCodeSNSTopicArnNotFoundFault for service response error code // "SNSTopicArnNotFound". // // The SNS topic ARN does not exist. ErrCodeSNSTopicArnNotFoundFault = "SNSTopicArnNotFound" // "SharedSnapshotQuotaExceeded". // // You have exceeded the maximum number of accounts that you can share a manual // DB snapshot with. ErrCodeSharedSnapshotQuotaExceededFault = "SharedSnapshotQuotaExceeded" // ErrCodeSnapshotQuotaExceededFault for service response error code // "SnapshotQuotaExceeded". // // Request would result in user exceeding the allowed number of DB snapshots. ErrCodeSnapshotQuotaExceededFault = "SnapshotQuotaExceeded" // ErrCodeSourceNotFoundFault for service response error code // "SourceNotFound". // // The requested source could not be found. ErrCodeSourceNotFoundFault = "SourceNotFound" // ErrCodeStorageQuotaExceededFault for service response error code // "StorageQuotaExceeded". // // Request would result in user exceeding the allowed amount of storage available // across all DB instances. ErrCodeStorageQuotaExceededFault = "StorageQuotaExceeded" // ErrCodeStorageTypeNotSupportedFault for service response error code // "StorageTypeNotSupported". // // StorageType specified cannot be associated with the DB Instance. ErrCodeStorageTypeNotSupportedFault = "StorageTypeNotSupported" // ErrCodeSubnetAlreadyInUse for service response error code // "SubnetAlreadyInUse". // // The DB subnet is already in use in the Availability Zone. ErrCodeSubnetAlreadyInUse = "SubnetAlreadyInUse" // ErrCodeSubscriptionAlreadyExistFault for service response error code // "SubscriptionAlreadyExist". // // The supplied subscription name already exists. ErrCodeSubscriptionAlreadyExistFault = "SubscriptionAlreadyExist" // ErrCodeSubscriptionCategoryNotFoundFault for service response error code // "SubscriptionCategoryNotFound". // // The supplied category does not exist. ErrCodeSubscriptionCategoryNotFoundFault = "SubscriptionCategoryNotFound" // ErrCodeSubscriptionNotFoundFault for service response error code // "SubscriptionNotFound". // // The subscription name does not exist. ErrCodeSubscriptionNotFoundFault = "SubscriptionNotFound" )
const ( ServiceName = "rds" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountQuota ¶
type AccountQuota struct { // The name of the Amazon RDS quota for this AWS account. AccountQuotaName *string `type:"string"` // The maximum allowed value for the quota. Max *int64 `type:"long"` // The amount currently used toward the quota maximum. Used *int64 `type:"long"` // contains filtered or unexported fields }
Describes a quota for an AWS account, for example, the number of DB instances allowed. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AccountQuota
func (AccountQuota) GoString ¶ added in v0.6.6
func (s AccountQuota) GoString() string
GoString returns the string representation
func (*AccountQuota) SetAccountQuotaName ¶ added in v1.5.0
func (s *AccountQuota) SetAccountQuotaName(v string) *AccountQuota
SetAccountQuotaName sets the AccountQuotaName field's value.
func (*AccountQuota) SetMax ¶ added in v1.5.0
func (s *AccountQuota) SetMax(v int64) *AccountQuota
SetMax sets the Max field's value.
func (*AccountQuota) SetUsed ¶ added in v1.5.0
func (s *AccountQuota) SetUsed(v int64) *AccountQuota
SetUsed sets the Used field's value.
func (AccountQuota) String ¶ added in v0.6.6
func (s AccountQuota) String() string
String returns the string representation
type AddRoleToDBClusterInput ¶ added in v1.4.20
type AddRoleToDBClusterInput struct { // The name of the DB cluster to associate the IAM role with. // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora // DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterMessage
func (AddRoleToDBClusterInput) GoString ¶ added in v1.4.20
func (s AddRoleToDBClusterInput) GoString() string
GoString returns the string representation
func (*AddRoleToDBClusterInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *AddRoleToDBClusterInput) SetDBClusterIdentifier(v string) *AddRoleToDBClusterInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*AddRoleToDBClusterInput) SetRoleArn ¶ added in v1.5.0
func (s *AddRoleToDBClusterInput) SetRoleArn(v string) *AddRoleToDBClusterInput
SetRoleArn sets the RoleArn field's value.
func (AddRoleToDBClusterInput) String ¶ added in v1.4.20
func (s AddRoleToDBClusterInput) String() string
String returns the string representation
func (*AddRoleToDBClusterInput) Validate ¶ added in v1.4.20
func (s *AddRoleToDBClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddRoleToDBClusterOutput ¶ added in v1.4.20
type AddRoleToDBClusterOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterOutput
func (AddRoleToDBClusterOutput) GoString ¶ added in v1.4.20
func (s AddRoleToDBClusterOutput) GoString() string
GoString returns the string representation
func (AddRoleToDBClusterOutput) String ¶ added in v1.4.20
func (s AddRoleToDBClusterOutput) String() string
String returns the string representation
type AddSourceIdentifierToSubscriptionInput ¶
type AddSourceIdentifierToSubscriptionInput struct { // The identifier of the event source to be added. An identifier must begin // with a letter and must contain only ASCII letters, digits, and hyphens; it // cannot end with a hyphen or contain two consecutive hyphens. // // Constraints: // // * If the source type is a DB instance, then a DBInstanceIdentifier must // be supplied. // // * If the source type is a DB security group, a DBSecurityGroupName must // be supplied. // // * If the source type is a DB parameter group, a DBParameterGroupName must // be supplied. // // * If the source type is a DB snapshot, a DBSnapshotIdentifier must be // supplied. // // SourceIdentifier is a required field SourceIdentifier *string `type:"string" required:"true"` // The name of the RDS event notification subscription you want to add a source // identifier to. // // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscriptionMessage
func (AddSourceIdentifierToSubscriptionInput) GoString ¶ added in v0.6.6
func (s AddSourceIdentifierToSubscriptionInput) GoString() string
GoString returns the string representation
func (*AddSourceIdentifierToSubscriptionInput) SetSourceIdentifier ¶ added in v1.5.0
func (s *AddSourceIdentifierToSubscriptionInput) SetSourceIdentifier(v string) *AddSourceIdentifierToSubscriptionInput
SetSourceIdentifier sets the SourceIdentifier field's value.
func (*AddSourceIdentifierToSubscriptionInput) SetSubscriptionName ¶ added in v1.5.0
func (s *AddSourceIdentifierToSubscriptionInput) SetSubscriptionName(v string) *AddSourceIdentifierToSubscriptionInput
SetSubscriptionName sets the SubscriptionName field's value.
func (AddSourceIdentifierToSubscriptionInput) String ¶ added in v0.6.6
func (s AddSourceIdentifierToSubscriptionInput) String() string
String returns the string representation
func (*AddSourceIdentifierToSubscriptionInput) Validate ¶ added in v1.1.22
func (s *AddSourceIdentifierToSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddSourceIdentifierToSubscriptionOutput ¶
type AddSourceIdentifierToSubscriptionOutput struct { // Contains the results of a successful invocation of the DescribeEventSubscriptions // action. EventSubscription *EventSubscription `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscriptionResult
func (AddSourceIdentifierToSubscriptionOutput) GoString ¶ added in v0.6.6
func (s AddSourceIdentifierToSubscriptionOutput) GoString() string
GoString returns the string representation
func (*AddSourceIdentifierToSubscriptionOutput) SetEventSubscription ¶ added in v1.5.0
func (s *AddSourceIdentifierToSubscriptionOutput) SetEventSubscription(v *EventSubscription) *AddSourceIdentifierToSubscriptionOutput
SetEventSubscription sets the EventSubscription field's value.
func (AddSourceIdentifierToSubscriptionOutput) String ¶ added in v0.6.6
func (s AddSourceIdentifierToSubscriptionOutput) String() string
String returns the string representation
type AddTagsToResourceInput ¶
type AddTagsToResourceInput struct { // The Amazon RDS resource the tags will be added to. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // The tags to be assigned to the Amazon RDS resource. // // Tags is a required field Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceMessage
func (AddTagsToResourceInput) GoString ¶ added in v0.6.6
func (s AddTagsToResourceInput) GoString() string
GoString returns the string representation
func (*AddTagsToResourceInput) SetResourceName ¶ added in v1.5.0
func (s *AddTagsToResourceInput) SetResourceName(v string) *AddTagsToResourceInput
SetResourceName sets the ResourceName field's value.
func (*AddTagsToResourceInput) SetTags ¶ added in v1.5.0
func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput
SetTags sets the Tags field's value.
func (AddTagsToResourceInput) String ¶ added in v0.6.6
func (s AddTagsToResourceInput) String() string
String returns the string representation
func (*AddTagsToResourceInput) Validate ¶ added in v1.1.22
func (s *AddTagsToResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddTagsToResourceOutput ¶
type AddTagsToResourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceOutput
func (AddTagsToResourceOutput) GoString ¶ added in v0.6.6
func (s AddTagsToResourceOutput) GoString() string
GoString returns the string representation
func (AddTagsToResourceOutput) String ¶ added in v0.6.6
func (s AddTagsToResourceOutput) String() string
String returns the string representation
type ApplyPendingMaintenanceActionInput ¶
type ApplyPendingMaintenanceActionInput struct { // The pending maintenance action to apply to this resource. // // Valid values: system-update, db-upgrade // // ApplyAction is a required field ApplyAction *string `type:"string" required:"true"` // A value that specifies the type of opt-in request, or undoes an opt-in request. // An opt-in request of type immediate cannot 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 OptInType *string `type:"string" required:"true"` // 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) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // ResourceIdentifier is a required field ResourceIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceActionMessage
func (ApplyPendingMaintenanceActionInput) GoString ¶ added in v0.6.6
func (s ApplyPendingMaintenanceActionInput) GoString() string
GoString returns the string representation
func (*ApplyPendingMaintenanceActionInput) SetApplyAction ¶ added in v1.5.0
func (s *ApplyPendingMaintenanceActionInput) SetApplyAction(v string) *ApplyPendingMaintenanceActionInput
SetApplyAction sets the ApplyAction field's value.
func (*ApplyPendingMaintenanceActionInput) SetOptInType ¶ added in v1.5.0
func (s *ApplyPendingMaintenanceActionInput) SetOptInType(v string) *ApplyPendingMaintenanceActionInput
SetOptInType sets the OptInType field's value.
func (*ApplyPendingMaintenanceActionInput) SetResourceIdentifier ¶ added in v1.5.0
func (s *ApplyPendingMaintenanceActionInput) SetResourceIdentifier(v string) *ApplyPendingMaintenanceActionInput
SetResourceIdentifier sets the ResourceIdentifier field's value.
func (ApplyPendingMaintenanceActionInput) String ¶ added in v0.6.6
func (s ApplyPendingMaintenanceActionInput) String() string
String returns the string representation
func (*ApplyPendingMaintenanceActionInput) Validate ¶ added in v1.1.22
func (s *ApplyPendingMaintenanceActionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApplyPendingMaintenanceActionOutput ¶
type ApplyPendingMaintenanceActionOutput struct { // Describes the pending maintenance actions for a resource. ResourcePendingMaintenanceActions *ResourcePendingMaintenanceActions `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceActionResult
func (ApplyPendingMaintenanceActionOutput) GoString ¶ added in v0.6.6
func (s ApplyPendingMaintenanceActionOutput) GoString() string
GoString returns the string representation
func (*ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActions ¶ added in v1.5.0
func (s *ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActions(v *ResourcePendingMaintenanceActions) *ApplyPendingMaintenanceActionOutput
SetResourcePendingMaintenanceActions sets the ResourcePendingMaintenanceActions field's value.
func (ApplyPendingMaintenanceActionOutput) String ¶ added in v0.6.6
func (s ApplyPendingMaintenanceActionOutput) String() string
String returns the string representation
type AuthorizeDBSecurityGroupIngressInput ¶
type AuthorizeDBSecurityGroupIngressInput struct { // The IP range to authorize. CIDRIP *string `type:"string"` // The name of the DB security group to add authorization to. // // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` // Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId // must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName // or EC2SecurityGroupId must be provided. EC2SecurityGroupId *string `type:"string"` // Name of the EC2 security group to authorize. For VPC DB security groups, // EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and // either EC2SecurityGroupName or EC2SecurityGroupId must be provided. EC2SecurityGroupName *string `type:"string"` // AWS account number of the owner of the EC2 security group specified in the // EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable // value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, // EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId // must be provided. EC2SecurityGroupOwnerId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressMessage
func (AuthorizeDBSecurityGroupIngressInput) GoString ¶ added in v0.6.6
func (s AuthorizeDBSecurityGroupIngressInput) GoString() string
GoString returns the string representation
func (*AuthorizeDBSecurityGroupIngressInput) SetCIDRIP ¶ added in v1.5.0
func (s *AuthorizeDBSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeDBSecurityGroupIngressInput
SetCIDRIP sets the CIDRIP field's value.
func (*AuthorizeDBSecurityGroupIngressInput) SetDBSecurityGroupName ¶ added in v1.5.0
func (s *AuthorizeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput
SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
func (*AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupId ¶ added in v1.5.0
func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *AuthorizeDBSecurityGroupIngressInput
SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value.
func (*AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupName ¶ added in v1.5.0
func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput
SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
func (*AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId ¶ added in v1.5.0
func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeDBSecurityGroupIngressInput
SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
func (AuthorizeDBSecurityGroupIngressInput) String ¶ added in v0.6.6
func (s AuthorizeDBSecurityGroupIngressInput) String() string
String returns the string representation
func (*AuthorizeDBSecurityGroupIngressInput) Validate ¶ added in v1.1.22
func (s *AuthorizeDBSecurityGroupIngressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AuthorizeDBSecurityGroupIngressOutput ¶
type AuthorizeDBSecurityGroupIngressOutput struct { // Contains the result of a successful invocation of the following actions: // // * DescribeDBSecurityGroups // // * AuthorizeDBSecurityGroupIngress // // * CreateDBSecurityGroup // // * RevokeDBSecurityGroupIngress // // This data type is used as a response element in the DescribeDBSecurityGroups // action. DBSecurityGroup *DBSecurityGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressResult
func (AuthorizeDBSecurityGroupIngressOutput) GoString ¶ added in v0.6.6
func (s AuthorizeDBSecurityGroupIngressOutput) GoString() string
GoString returns the string representation
func (*AuthorizeDBSecurityGroupIngressOutput) SetDBSecurityGroup ¶ added in v1.5.0
func (s *AuthorizeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGroup) *AuthorizeDBSecurityGroupIngressOutput
SetDBSecurityGroup sets the DBSecurityGroup field's value.
func (AuthorizeDBSecurityGroupIngressOutput) String ¶ added in v0.6.6
func (s AuthorizeDBSecurityGroupIngressOutput) String() string
String returns the string representation
type AvailabilityZone ¶
type AvailabilityZone struct { // The name of the availability zone. Name *string `type:"string"` // contains filtered or unexported fields }
Contains Availability Zone information.
This data type is used as an element in the following data type:
- OrderableDBInstanceOption
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AvailabilityZone
func (AvailabilityZone) GoString ¶ added in v0.6.6
func (s AvailabilityZone) GoString() string
GoString returns the string representation
func (*AvailabilityZone) SetName ¶ added in v1.5.0
func (s *AvailabilityZone) SetName(v string) *AvailabilityZone
SetName sets the Name field's value.
func (AvailabilityZone) String ¶ added in v0.6.6
func (s AvailabilityZone) String() string
String returns the string representation
type Certificate ¶
type Certificate struct { // The Amazon Resource Name (ARN) for the certificate. CertificateArn *string `type:"string"` // The unique key that identifies a certificate. CertificateIdentifier *string `type:"string"` // The type of the certificate. CertificateType *string `type:"string"` // The thumbprint of the certificate. Thumbprint *string `type:"string"` // The starting date from which the certificate is valid. ValidFrom *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The final date that the certificate continues to be valid. ValidTill *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
A CA certificate for an AWS account. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Certificate
func (Certificate) GoString ¶ added in v0.6.6
func (s Certificate) GoString() string
GoString returns the string representation
func (*Certificate) SetCertificateArn ¶ added in v1.5.0
func (s *Certificate) SetCertificateArn(v string) *Certificate
SetCertificateArn sets the CertificateArn field's value.
func (*Certificate) SetCertificateIdentifier ¶ added in v1.5.0
func (s *Certificate) SetCertificateIdentifier(v string) *Certificate
SetCertificateIdentifier sets the CertificateIdentifier field's value.
func (*Certificate) SetCertificateType ¶ added in v1.5.0
func (s *Certificate) SetCertificateType(v string) *Certificate
SetCertificateType sets the CertificateType field's value.
func (*Certificate) SetThumbprint ¶ added in v1.5.0
func (s *Certificate) SetThumbprint(v string) *Certificate
SetThumbprint sets the Thumbprint field's value.
func (*Certificate) SetValidFrom ¶ added in v1.5.0
func (s *Certificate) SetValidFrom(v time.Time) *Certificate
SetValidFrom sets the ValidFrom field's value.
func (*Certificate) SetValidTill ¶ added in v1.5.0
func (s *Certificate) SetValidTill(v time.Time) *Certificate
SetValidTill sets the ValidTill field's value.
func (Certificate) String ¶ added in v0.6.6
func (s Certificate) String() string
String returns the string representation
type CharacterSet ¶
type CharacterSet struct { // The description of the character set. CharacterSetDescription *string `type:"string"` // The name of the character set. CharacterSetName *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element in the action DescribeDBEngineVersions. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CharacterSet
func (CharacterSet) GoString ¶ added in v0.6.6
func (s CharacterSet) GoString() string
GoString returns the string representation
func (*CharacterSet) SetCharacterSetDescription ¶ added in v1.5.0
func (s *CharacterSet) SetCharacterSetDescription(v string) *CharacterSet
SetCharacterSetDescription sets the CharacterSetDescription field's value.
func (*CharacterSet) SetCharacterSetName ¶ added in v1.5.0
func (s *CharacterSet) SetCharacterSetName(v string) *CharacterSet
SetCharacterSetName sets the CharacterSetName field's value.
func (CharacterSet) String ¶ added in v0.6.6
func (s CharacterSet) String() string
String returns the string representation
type CopyDBClusterParameterGroupInput ¶ added in v1.2.5
type CopyDBClusterParameterGroupInput struct { // The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter // group. For information about creating an ARN, see Constructing an RDS Amazon // Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // Constraints: // // * Must specify a valid DB cluster parameter group. // // * If the source DB cluster parameter group is in the same region as the // copy, specify a valid DB parameter group identifier, for example my-db-cluster-param-group, // or a valid ARN. // // * If the source DB parameter group is in a different region than the copy, // specify a valid DB cluster parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1. // // SourceDBClusterParameterGroupIdentifier is a required field SourceDBClusterParameterGroupIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // A description for the copied DB cluster parameter group. // // TargetDBClusterParameterGroupDescription is a required field TargetDBClusterParameterGroupDescription *string `type:"string" required:"true"` // The identifier for the copied DB cluster parameter group. // // Constraints: // // * Cannot be null, empty, or blank // // * Must contain from 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-cluster-param-group1 // // TargetDBClusterParameterGroupIdentifier is a required field TargetDBClusterParameterGroupIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupMessage
func (CopyDBClusterParameterGroupInput) GoString ¶ added in v1.2.5
func (s CopyDBClusterParameterGroupInput) GoString() string
GoString returns the string representation
func (*CopyDBClusterParameterGroupInput) SetSourceDBClusterParameterGroupIdentifier ¶ added in v1.5.0
func (s *CopyDBClusterParameterGroupInput) SetSourceDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput
SetSourceDBClusterParameterGroupIdentifier sets the SourceDBClusterParameterGroupIdentifier field's value.
func (*CopyDBClusterParameterGroupInput) SetTags ¶ added in v1.5.0
func (s *CopyDBClusterParameterGroupInput) SetTags(v []*Tag) *CopyDBClusterParameterGroupInput
SetTags sets the Tags field's value.
func (*CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupDescription ¶ added in v1.5.0
func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupDescription(v string) *CopyDBClusterParameterGroupInput
SetTargetDBClusterParameterGroupDescription sets the TargetDBClusterParameterGroupDescription field's value.
func (*CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupIdentifier ¶ added in v1.5.0
func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput
SetTargetDBClusterParameterGroupIdentifier sets the TargetDBClusterParameterGroupIdentifier field's value.
func (CopyDBClusterParameterGroupInput) String ¶ added in v1.2.5
func (s CopyDBClusterParameterGroupInput) String() string
String returns the string representation
func (*CopyDBClusterParameterGroupInput) Validate ¶ added in v1.2.5
func (s *CopyDBClusterParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyDBClusterParameterGroupOutput ¶ added in v1.2.5
type CopyDBClusterParameterGroupOutput struct { // Contains the result of a successful invocation of the CreateDBClusterParameterGroup // or CopyDBClusterParameterGroup action. // // This data type is used as a request parameter in the DeleteDBClusterParameterGroup // action, and as a response element in the DescribeDBClusterParameterGroups // action. DBClusterParameterGroup *DBClusterParameterGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupResult
func (CopyDBClusterParameterGroupOutput) GoString ¶ added in v1.2.5
func (s CopyDBClusterParameterGroupOutput) GoString() string
GoString returns the string representation
func (*CopyDBClusterParameterGroupOutput) SetDBClusterParameterGroup ¶ added in v1.5.0
func (s *CopyDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBClusterParameterGroup) *CopyDBClusterParameterGroupOutput
SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value.
func (CopyDBClusterParameterGroupOutput) String ¶ added in v1.2.5
func (s CopyDBClusterParameterGroupOutput) String() string
String returns the string representation
type CopyDBClusterSnapshotInput ¶ added in v0.7.2
type CopyDBClusterSnapshotInput struct { // The identifier of the DB cluster snapshot to copy. This parameter is not // case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster-snapshot1 // // SourceDBClusterSnapshotIdentifier is a required field SourceDBClusterSnapshotIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // The identifier of the new DB cluster snapshot to create from the source DB // cluster snapshot. This parameter is not case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster-snapshot2 // // TargetDBClusterSnapshotIdentifier is a required field TargetDBClusterSnapshotIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotMessage
func (CopyDBClusterSnapshotInput) GoString ¶ added in v0.7.2
func (s CopyDBClusterSnapshotInput) GoString() string
GoString returns the string representation
func (*CopyDBClusterSnapshotInput) SetSourceDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *CopyDBClusterSnapshotInput) SetSourceDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput
SetSourceDBClusterSnapshotIdentifier sets the SourceDBClusterSnapshotIdentifier field's value.
func (*CopyDBClusterSnapshotInput) SetTags ¶ added in v1.5.0
func (s *CopyDBClusterSnapshotInput) SetTags(v []*Tag) *CopyDBClusterSnapshotInput
SetTags sets the Tags field's value.
func (*CopyDBClusterSnapshotInput) SetTargetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *CopyDBClusterSnapshotInput) SetTargetDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput
SetTargetDBClusterSnapshotIdentifier sets the TargetDBClusterSnapshotIdentifier field's value.
func (CopyDBClusterSnapshotInput) String ¶ added in v0.7.2
func (s CopyDBClusterSnapshotInput) String() string
String returns the string representation
func (*CopyDBClusterSnapshotInput) Validate ¶ added in v1.1.22
func (s *CopyDBClusterSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyDBClusterSnapshotOutput ¶ added in v0.7.2
type CopyDBClusterSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBClusterSnapshot // // * DeleteDBClusterSnapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots // action. DBClusterSnapshot *DBClusterSnapshot `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotResult
func (CopyDBClusterSnapshotOutput) GoString ¶ added in v0.7.2
func (s CopyDBClusterSnapshotOutput) GoString() string
GoString returns the string representation
func (*CopyDBClusterSnapshotOutput) SetDBClusterSnapshot ¶ added in v1.5.0
func (s *CopyDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *CopyDBClusterSnapshotOutput
SetDBClusterSnapshot sets the DBClusterSnapshot field's value.
func (CopyDBClusterSnapshotOutput) String ¶ added in v0.7.2
func (s CopyDBClusterSnapshotOutput) String() string
String returns the string representation
type CopyDBParameterGroupInput ¶
type CopyDBParameterGroupInput struct { // The identifier or ARN for the source DB parameter group. For information // about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // Constraints: // // * Must specify a valid DB parameter group. // // * Must specify a valid DB parameter group identifier, for example my-db-param-group, // or a valid ARN. // // SourceDBParameterGroupIdentifier is a required field SourceDBParameterGroupIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // A description for the copied DB parameter group. // // TargetDBParameterGroupDescription is a required field TargetDBParameterGroupDescription *string `type:"string" required:"true"` // The identifier for the copied DB parameter group. // // Constraints: // // * Cannot be null, empty, or blank // // * Must contain from 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-db-parameter-group // // TargetDBParameterGroupIdentifier is a required field TargetDBParameterGroupIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupMessage
func (CopyDBParameterGroupInput) GoString ¶ added in v0.6.6
func (s CopyDBParameterGroupInput) GoString() string
GoString returns the string representation
func (*CopyDBParameterGroupInput) SetSourceDBParameterGroupIdentifier ¶ added in v1.5.0
func (s *CopyDBParameterGroupInput) SetSourceDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput
SetSourceDBParameterGroupIdentifier sets the SourceDBParameterGroupIdentifier field's value.
func (*CopyDBParameterGroupInput) SetTags ¶ added in v1.5.0
func (s *CopyDBParameterGroupInput) SetTags(v []*Tag) *CopyDBParameterGroupInput
SetTags sets the Tags field's value.
func (*CopyDBParameterGroupInput) SetTargetDBParameterGroupDescription ¶ added in v1.5.0
func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupDescription(v string) *CopyDBParameterGroupInput
SetTargetDBParameterGroupDescription sets the TargetDBParameterGroupDescription field's value.
func (*CopyDBParameterGroupInput) SetTargetDBParameterGroupIdentifier ¶ added in v1.5.0
func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput
SetTargetDBParameterGroupIdentifier sets the TargetDBParameterGroupIdentifier field's value.
func (CopyDBParameterGroupInput) String ¶ added in v0.6.6
func (s CopyDBParameterGroupInput) String() string
String returns the string representation
func (*CopyDBParameterGroupInput) Validate ¶ added in v1.1.22
func (s *CopyDBParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyDBParameterGroupOutput ¶
type CopyDBParameterGroupOutput struct { // Contains the result of a successful invocation of the CreateDBParameterGroup // action. // // This data type is used as a request parameter in the DeleteDBParameterGroup // action, and as a response element in the DescribeDBParameterGroups action. DBParameterGroup *DBParameterGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupResult
func (CopyDBParameterGroupOutput) GoString ¶ added in v0.6.6
func (s CopyDBParameterGroupOutput) GoString() string
GoString returns the string representation
func (*CopyDBParameterGroupOutput) SetDBParameterGroup ¶ added in v1.5.0
func (s *CopyDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *CopyDBParameterGroupOutput
SetDBParameterGroup sets the DBParameterGroup field's value.
func (CopyDBParameterGroupOutput) String ¶ added in v0.6.6
func (s CopyDBParameterGroupOutput) String() string
String returns the string representation
type CopyDBSnapshotInput ¶
type CopyDBSnapshotInput struct { // True to copy all tags from the source DB snapshot to the target DB snapshot; // otherwise false. The default is false. CopyTags *bool `type:"boolean"` // DestinationRegion is used for presigning the request to a given region. DestinationRegion *string `type:"string"` // The AWS KMS key ID for an encrypted DB snapshot. The KMS key ID is the Amazon // Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS // encryption key. // // If you copy an unencrypted DB snapshot and specify a value for the KmsKeyId // parameter, Amazon RDS encrypts the target DB snapshot using the specified // KMS encryption key. // // If you copy an encrypted DB snapshot from your AWS account, you can specify // a value for KmsKeyId to encrypt the copy with a new KMS encryption key. If // you don't specify a value for KmsKeyId, then the copy of the DB snapshot // is encrypted with the same KMS key as the source DB snapshot. // // If you copy an encrypted snapshot to a different AWS region, then you must // specify a KMS key for the destination AWS region. // // If you copy an encrypted DB snapshot that is shared from another AWS account, // then you must specify a value for KmsKeyId. // // To copy an encrypted DB snapshot to another region, you must set KmsKeyId // to the KMS key ID used to encrypt the copy of the DB snapshot in the destination // region. KMS encryption keys are specific to the region that they are created // in, and you cannot use encryption keys from one region in another region. KmsKeyId *string `type:"string"` // The URL that contains a Signature Version 4 signed request for the CopyDBSnapshot // API action in the AWS region that contains the source DB snapshot to copy. // The PreSignedUrl parameter must be used when copying an encrypted DB snapshot // from another AWS region. // // The presigned URL must be a valid request for the CopyDBSnapshot API action // that can be executed in the source region that contains the encrypted DB // snapshot to be copied. The presigned URL request must contain the following // parameter values: // // * DestinationRegion - The AWS Region that the encrypted DB snapshot will // be copied to. This region is the same one where the CopyDBSnapshot action // is called that contains this presigned URL. // // For example, if you copy an encrypted DB snapshot from the us-west-2 region // to the us-east-1 region, then you will call the CopyDBSnapshot action // in the us-east-1 region and provide a presigned URL that contains a call // to the CopyDBSnapshot action in the us-west-2 region. For this example, // the DestinationRegion in the presigned URL must be set to the us-east-1 // region. // // * KmsKeyId - The KMS key identifier for the key to use to encrypt the // copy of the DB snapshot in the destination region. This is the same identifier // for both the CopyDBSnapshot action that is called in the destination region, // and the action contained in the presigned URL. // // * SourceDBSnapshotIdentifier - The DB snapshot identifier for the encrypted // snapshot to be copied. This identifier must be in the Amazon Resource // Name (ARN) format for the source region. For example, if you are copying // an encrypted DB snapshot from the us-west-2 region, then your SourceDBSnapshotIdentifier // would look like Example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115. // // To learn how to generate a Signature Version 4 signed request, see Authenticating // Requests: Using Query Parameters (AWS Signature Version 4) (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) // and Signature Version 4 Signing Process (http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). PreSignedUrl *string `type:"string"` // The identifier for the source DB snapshot. // // If you are copying from a shared manual DB snapshot, this must be the ARN // of the shared DB snapshot. // // You cannot copy an encrypted, shared DB snapshot from one AWS region to another. // // Constraints: // // * Must specify a valid system snapshot in the "available" state. // // * If the source snapshot is in the same region as the copy, specify a // valid DB snapshot identifier. // // * If the source snapshot is in a different region than the copy, specify // a valid DB snapshot ARN. For more information, go to Copying a DB Snapshot // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html). // // Example: rds:mydb-2012-04-02-00-01 // // Example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805 // // SourceDBSnapshotIdentifier is a required field SourceDBSnapshotIdentifier *string `type:"string" required:"true"` // SourceRegion is the source region where the resource exists. This is not // sent over the wire and is only used for presigning. This value should always // have the same region as the source ARN. SourceRegion *string `type:"string" ignore:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // The identifier for the copied snapshot. // // Constraints: // // * Cannot be null, empty, or blank // // * Must contain from 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-db-snapshot // // TargetDBSnapshotIdentifier is a required field TargetDBSnapshotIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotMessage
func (CopyDBSnapshotInput) GoString ¶ added in v0.6.6
func (s CopyDBSnapshotInput) GoString() string
GoString returns the string representation
func (*CopyDBSnapshotInput) SetCopyTags ¶ added in v1.5.0
func (s *CopyDBSnapshotInput) SetCopyTags(v bool) *CopyDBSnapshotInput
SetCopyTags sets the CopyTags field's value.
func (*CopyDBSnapshotInput) SetDestinationRegion ¶ added in v1.6.8
func (s *CopyDBSnapshotInput) SetDestinationRegion(v string) *CopyDBSnapshotInput
SetDestinationRegion sets the DestinationRegion field's value.
func (*CopyDBSnapshotInput) SetKmsKeyId ¶ added in v1.5.0
func (s *CopyDBSnapshotInput) SetKmsKeyId(v string) *CopyDBSnapshotInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CopyDBSnapshotInput) SetPreSignedUrl ¶ added in v1.6.8
func (s *CopyDBSnapshotInput) SetPreSignedUrl(v string) *CopyDBSnapshotInput
SetPreSignedUrl sets the PreSignedUrl field's value.
func (*CopyDBSnapshotInput) SetSourceDBSnapshotIdentifier ¶ added in v1.5.0
func (s *CopyDBSnapshotInput) SetSourceDBSnapshotIdentifier(v string) *CopyDBSnapshotInput
SetSourceDBSnapshotIdentifier sets the SourceDBSnapshotIdentifier field's value.
func (*CopyDBSnapshotInput) SetSourceRegion ¶ added in v1.6.8
func (s *CopyDBSnapshotInput) SetSourceRegion(v string) *CopyDBSnapshotInput
SetSourceRegion sets the SourceRegion field's value.
func (*CopyDBSnapshotInput) SetTags ¶ added in v1.5.0
func (s *CopyDBSnapshotInput) SetTags(v []*Tag) *CopyDBSnapshotInput
SetTags sets the Tags field's value.
func (*CopyDBSnapshotInput) SetTargetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *CopyDBSnapshotInput) SetTargetDBSnapshotIdentifier(v string) *CopyDBSnapshotInput
SetTargetDBSnapshotIdentifier sets the TargetDBSnapshotIdentifier field's value.
func (CopyDBSnapshotInput) String ¶ added in v0.6.6
func (s CopyDBSnapshotInput) String() string
String returns the string representation
func (*CopyDBSnapshotInput) Validate ¶ added in v1.1.22
func (s *CopyDBSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyDBSnapshotOutput ¶
type CopyDBSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBSnapshot // // * DeleteDBSnapshot // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotResult
func (CopyDBSnapshotOutput) GoString ¶ added in v0.6.6
func (s CopyDBSnapshotOutput) GoString() string
GoString returns the string representation
func (*CopyDBSnapshotOutput) SetDBSnapshot ¶ added in v1.5.0
func (s *CopyDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CopyDBSnapshotOutput
SetDBSnapshot sets the DBSnapshot field's value.
func (CopyDBSnapshotOutput) String ¶ added in v0.6.6
func (s CopyDBSnapshotOutput) String() string
String returns the string representation
type CopyOptionGroupInput ¶
type CopyOptionGroupInput struct { // The identifier or ARN for the source option group. For information about // creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // Constraints: // // * Must specify a valid option group. // // * If the source option group is in the same region as the copy, specify // a valid option group identifier, for example my-option-group, or a valid // ARN. // // * If the source option group is in a different region than the copy, specify // a valid option group ARN, for example arn:aws:rds:us-west-2:123456789012:og:special-options. // // SourceOptionGroupIdentifier is a required field SourceOptionGroupIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // The description for the copied option group. // // TargetOptionGroupDescription is a required field TargetOptionGroupDescription *string `type:"string" required:"true"` // The identifier for the copied option group. // // Constraints: // // * Cannot be null, empty, or blank // // * Must contain from 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-option-group // // TargetOptionGroupIdentifier is a required field TargetOptionGroupIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupMessage
func (CopyOptionGroupInput) GoString ¶ added in v0.6.6
func (s CopyOptionGroupInput) GoString() string
GoString returns the string representation
func (*CopyOptionGroupInput) SetSourceOptionGroupIdentifier ¶ added in v1.5.0
func (s *CopyOptionGroupInput) SetSourceOptionGroupIdentifier(v string) *CopyOptionGroupInput
SetSourceOptionGroupIdentifier sets the SourceOptionGroupIdentifier field's value.
func (*CopyOptionGroupInput) SetTags ¶ added in v1.5.0
func (s *CopyOptionGroupInput) SetTags(v []*Tag) *CopyOptionGroupInput
SetTags sets the Tags field's value.
func (*CopyOptionGroupInput) SetTargetOptionGroupDescription ¶ added in v1.5.0
func (s *CopyOptionGroupInput) SetTargetOptionGroupDescription(v string) *CopyOptionGroupInput
SetTargetOptionGroupDescription sets the TargetOptionGroupDescription field's value.
func (*CopyOptionGroupInput) SetTargetOptionGroupIdentifier ¶ added in v1.5.0
func (s *CopyOptionGroupInput) SetTargetOptionGroupIdentifier(v string) *CopyOptionGroupInput
SetTargetOptionGroupIdentifier sets the TargetOptionGroupIdentifier field's value.
func (CopyOptionGroupInput) String ¶ added in v0.6.6
func (s CopyOptionGroupInput) String() string
String returns the string representation
func (*CopyOptionGroupInput) Validate ¶ added in v1.1.22
func (s *CopyOptionGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CopyOptionGroupOutput ¶
type CopyOptionGroupOutput struct { OptionGroup *OptionGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupResult
func (CopyOptionGroupOutput) GoString ¶ added in v0.6.6
func (s CopyOptionGroupOutput) GoString() string
GoString returns the string representation
func (*CopyOptionGroupOutput) SetOptionGroup ¶ added in v1.5.0
func (s *CopyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CopyOptionGroupOutput
SetOptionGroup sets the OptionGroup field's value.
func (CopyOptionGroupOutput) String ¶ added in v0.6.6
func (s CopyOptionGroupOutput) String() string
String returns the string representation
type CreateDBClusterInput ¶ added in v0.7.2
type CreateDBClusterInput struct { // A list of EC2 Availability Zones that instances in the DB cluster can be // created in. For information on regions and Availability Zones, see Regions // and Availability Zones (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"` // The number of days for which automated backups are retained. You must specify // a minimum value of 1. // // Default: 1 // // Constraints: // // * Must be a value from 1 to 35 BackupRetentionPeriod *int64 `type:"integer"` // A value that indicates that the DB cluster should be associated with the // specified CharacterSet. CharacterSetName *string `type:"string"` // The DB cluster identifier. This parameter is stored as a lowercase string. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1 // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB cluster parameter group to associate with this DB cluster. // If this argument is omitted, default.aurora5.6 will be used. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBClusterParameterGroupName *string `type:"string"` // A DB subnet group to associate with this DB cluster. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` // The name for your database of up to 8 alpha-numeric characters. If you do // not provide a name, Amazon RDS will not create a database in the DB cluster // you are creating. DatabaseName *string `type:"string"` // The name of the database engine to be used for this DB cluster. // // Valid Values: aurora // // Engine is a required field Engine *string `type:"string" required:"true"` // The version number of the database engine to use. // // Aurora // // Example: 5.6.10a EngineVersion *string `type:"string"` // The KMS key identifier for an encrypted DB cluster. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are creating a DB cluster with the same AWS account that owns // the KMS encryption key used to encrypt the new DB cluster, then you can use // the KMS key alias instead of the ARN for the KM encryption key. // // If the StorageEncrypted parameter is true, and you do not specify a value // for the KmsKeyId parameter, then Amazon RDS will use your default encryption // key. AWS KMS creates the default encryption key for your AWS account. Your // AWS account has a different default encryption key for each AWS region. KmsKeyId *string `type:"string"` // The password for the master database user. This password can contain any // printable ASCII character except "/", """, or "@". // // Constraints: Must contain from 8 to 41 characters. MasterUserPassword *string `type:"string"` // The name of the master user for the DB cluster. // // Constraints: // // * Must be 1 to 16 alphanumeric characters. // // * First character must be a letter. // // * Cannot be a reserved word for the chosen database engine. MasterUsername *string `type:"string"` // A value that indicates that the DB cluster should be associated with the // specified option group. // // Permanent options cannot be removed from an option group. The option group // cannot be removed from a DB cluster once it is associated with a DB cluster. OptionGroupName *string `type:"string"` // The port number on which the instances in the DB cluster accept connections. // // Default: 3306 Port *int64 `type:"integer"` // The daily time range during which automated backups are created if automated // backups are enabled using the BackupRetentionPeriod parameter. // // Default: A 30-minute window selected at random from an 8-hour block of time // per region. To see the time blocks available, see Adjusting the Preferred // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // // * Times should be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string `type:"string"` // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). // // Format: ddd:hh24:mi-ddd:hh24:mi // // Default: A 30-minute window selected at random from an 8-hour block of time // per region, occurring on a random day of the week. To see the time blocks // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` // The Amazon Resource Name (ARN) of the source DB instance or DB cluster if // this DB cluster is created as a Read Replica. ReplicationSourceIdentifier *string `type:"string"` // Specifies whether the DB cluster is encrypted. StorageEncrypted *bool `type:"boolean"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // A list of EC2 VPC security groups to associate with this DB cluster. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterMessage
func (CreateDBClusterInput) GoString ¶ added in v0.7.2
func (s CreateDBClusterInput) GoString() string
GoString returns the string representation
func (*CreateDBClusterInput) SetAvailabilityZones ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetAvailabilityZones(v []*string) *CreateDBClusterInput
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*CreateDBClusterInput) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetBackupRetentionPeriod(v int64) *CreateDBClusterInput
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*CreateDBClusterInput) SetCharacterSetName ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetCharacterSetName(v string) *CreateDBClusterInput
SetCharacterSetName sets the CharacterSetName field's value.
func (*CreateDBClusterInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetDBClusterIdentifier(v string) *CreateDBClusterInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*CreateDBClusterInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*CreateDBClusterInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetDBSubnetGroupName(v string) *CreateDBClusterInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*CreateDBClusterInput) SetDatabaseName ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetDatabaseName(v string) *CreateDBClusterInput
SetDatabaseName sets the DatabaseName field's value.
func (*CreateDBClusterInput) SetEngine ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetEngine(v string) *CreateDBClusterInput
SetEngine sets the Engine field's value.
func (*CreateDBClusterInput) SetEngineVersion ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetEngineVersion(v string) *CreateDBClusterInput
SetEngineVersion sets the EngineVersion field's value.
func (*CreateDBClusterInput) SetKmsKeyId ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetKmsKeyId(v string) *CreateDBClusterInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateDBClusterInput) SetMasterUserPassword ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetMasterUserPassword(v string) *CreateDBClusterInput
SetMasterUserPassword sets the MasterUserPassword field's value.
func (*CreateDBClusterInput) SetMasterUsername ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetMasterUsername(v string) *CreateDBClusterInput
SetMasterUsername sets the MasterUsername field's value.
func (*CreateDBClusterInput) SetOptionGroupName ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetOptionGroupName(v string) *CreateDBClusterInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*CreateDBClusterInput) SetPort ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetPort(v int64) *CreateDBClusterInput
SetPort sets the Port field's value.
func (*CreateDBClusterInput) SetPreferredBackupWindow ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetPreferredBackupWindow(v string) *CreateDBClusterInput
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (*CreateDBClusterInput) SetPreferredMaintenanceWindow ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetPreferredMaintenanceWindow(v string) *CreateDBClusterInput
SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
func (*CreateDBClusterInput) SetReplicationSourceIdentifier ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetReplicationSourceIdentifier(v string) *CreateDBClusterInput
SetReplicationSourceIdentifier sets the ReplicationSourceIdentifier field's value.
func (*CreateDBClusterInput) SetStorageEncrypted ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetStorageEncrypted(v bool) *CreateDBClusterInput
SetStorageEncrypted sets the StorageEncrypted field's value.
func (*CreateDBClusterInput) SetTags ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetTags(v []*Tag) *CreateDBClusterInput
SetTags sets the Tags field's value.
func (*CreateDBClusterInput) SetVpcSecurityGroupIds ¶ added in v1.5.0
func (s *CreateDBClusterInput) SetVpcSecurityGroupIds(v []*string) *CreateDBClusterInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (CreateDBClusterInput) String ¶ added in v0.7.2
func (s CreateDBClusterInput) String() string
String returns the string representation
func (*CreateDBClusterInput) Validate ¶ added in v1.1.22
func (s *CreateDBClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBClusterOutput ¶ added in v0.7.2
type CreateDBClusterOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterResult
func (CreateDBClusterOutput) GoString ¶ added in v0.7.2
func (s CreateDBClusterOutput) GoString() string
GoString returns the string representation
func (*CreateDBClusterOutput) SetDBCluster ¶ added in v1.5.0
func (s *CreateDBClusterOutput) SetDBCluster(v *DBCluster) *CreateDBClusterOutput
SetDBCluster sets the DBCluster field's value.
func (CreateDBClusterOutput) String ¶ added in v0.7.2
func (s CreateDBClusterOutput) String() string
String returns the string representation
type CreateDBClusterParameterGroupInput ¶ added in v0.7.2
type CreateDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // This value is stored as a lowercase string. // // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // The DB cluster parameter group family name. A DB cluster parameter group // can be associated with one and only one DB cluster parameter group family, // and can be applied only to a DB cluster running a database engine and engine // version compatible with that DB cluster parameter group family. // // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // The description for the DB cluster parameter group. // // Description is a required field Description *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupMessage
func (CreateDBClusterParameterGroupInput) GoString ¶ added in v0.7.2
func (s CreateDBClusterParameterGroupInput) GoString() string
GoString returns the string representation
func (*CreateDBClusterParameterGroupInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *CreateDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterParameterGroupInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*CreateDBClusterParameterGroupInput) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *CreateDBClusterParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBClusterParameterGroupInput
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*CreateDBClusterParameterGroupInput) SetDescription ¶ added in v1.5.0
func (s *CreateDBClusterParameterGroupInput) SetDescription(v string) *CreateDBClusterParameterGroupInput
SetDescription sets the Description field's value.
func (*CreateDBClusterParameterGroupInput) SetTags ¶ added in v1.5.0
func (s *CreateDBClusterParameterGroupInput) SetTags(v []*Tag) *CreateDBClusterParameterGroupInput
SetTags sets the Tags field's value.
func (CreateDBClusterParameterGroupInput) String ¶ added in v0.7.2
func (s CreateDBClusterParameterGroupInput) String() string
String returns the string representation
func (*CreateDBClusterParameterGroupInput) Validate ¶ added in v1.1.22
func (s *CreateDBClusterParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBClusterParameterGroupOutput ¶ added in v0.7.2
type CreateDBClusterParameterGroupOutput struct { // Contains the result of a successful invocation of the CreateDBClusterParameterGroup // or CopyDBClusterParameterGroup action. // // This data type is used as a request parameter in the DeleteDBClusterParameterGroup // action, and as a response element in the DescribeDBClusterParameterGroups // action. DBClusterParameterGroup *DBClusterParameterGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupResult
func (CreateDBClusterParameterGroupOutput) GoString ¶ added in v0.7.2
func (s CreateDBClusterParameterGroupOutput) GoString() string
GoString returns the string representation
func (*CreateDBClusterParameterGroupOutput) SetDBClusterParameterGroup ¶ added in v1.5.0
func (s *CreateDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBClusterParameterGroup) *CreateDBClusterParameterGroupOutput
SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value.
func (CreateDBClusterParameterGroupOutput) String ¶ added in v0.7.2
func (s CreateDBClusterParameterGroupOutput) String() string
String returns the string representation
type CreateDBClusterSnapshotInput ¶ added in v0.7.2
type CreateDBClusterSnapshotInput struct { // The identifier of the DB cluster to create a snapshot for. This parameter // is not case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1 // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The identifier of the DB cluster snapshot. This parameter is stored as a // lowercase string. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1-snapshot1 // // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` // The tags to be assigned to the DB cluster snapshot. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotMessage
func (CreateDBClusterSnapshotInput) GoString ¶ added in v0.7.2
func (s CreateDBClusterSnapshotInput) GoString() string
GoString returns the string representation
func (*CreateDBClusterSnapshotInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *CreateDBClusterSnapshotInput) SetDBClusterIdentifier(v string) *CreateDBClusterSnapshotInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*CreateDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *CreateDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *CreateDBClusterSnapshotInput
SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
func (*CreateDBClusterSnapshotInput) SetTags ¶ added in v1.5.0
func (s *CreateDBClusterSnapshotInput) SetTags(v []*Tag) *CreateDBClusterSnapshotInput
SetTags sets the Tags field's value.
func (CreateDBClusterSnapshotInput) String ¶ added in v0.7.2
func (s CreateDBClusterSnapshotInput) String() string
String returns the string representation
func (*CreateDBClusterSnapshotInput) Validate ¶ added in v1.1.22
func (s *CreateDBClusterSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBClusterSnapshotOutput ¶ added in v0.7.2
type CreateDBClusterSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBClusterSnapshot // // * DeleteDBClusterSnapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots // action. DBClusterSnapshot *DBClusterSnapshot `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotResult
func (CreateDBClusterSnapshotOutput) GoString ¶ added in v0.7.2
func (s CreateDBClusterSnapshotOutput) GoString() string
GoString returns the string representation
func (*CreateDBClusterSnapshotOutput) SetDBClusterSnapshot ¶ added in v1.5.0
func (s *CreateDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *CreateDBClusterSnapshotOutput
SetDBClusterSnapshot sets the DBClusterSnapshot field's value.
func (CreateDBClusterSnapshotOutput) String ¶ added in v0.7.2
func (s CreateDBClusterSnapshotOutput) String() string
String returns the string representation
type CreateDBInstanceInput ¶
type CreateDBInstanceInput struct { // The amount of storage (in gigabytes) to be initially allocated for the database // instance. // // Type: Integer // // MySQL // // Constraints: Must be an integer from 5 to 6144. // // MariaDB // // Constraints: Must be an integer from 5 to 6144. // // PostgreSQL // // Constraints: Must be an integer from 5 to 6144. // // Oracle // // Constraints: Must be an integer from 10 to 6144. // // SQL Server // // Constraints: Must be an integer from 200 to 4096 (Standard Edition and Enterprise // Edition) or from 20 to 4096 (Express Edition and Web Edition) AllocatedStorage *int64 `type:"integer"` // Indicates that minor engine upgrades will be applied automatically to the // DB instance during the maintenance window. // // Default: true AutoMinorVersionUpgrade *bool `type:"boolean"` // The EC2 Availability Zone that the database instance will be created in. // For information on regions and Availability Zones, see Regions and Availability // Zones (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). // // Default: A random, system-chosen Availability Zone in the endpoint's region. // // Example: us-east-1d // // Constraint: The AvailabilityZone parameter cannot be specified if the MultiAZ // parameter is set to true. The specified Availability Zone must be in the // same region as the current endpoint. AvailabilityZone *string `type:"string"` // The number of days for which automated backups are retained. Setting this // parameter to a positive number enables backups. Setting this parameter to // 0 disables automated backups. // // Default: 1 // // Constraints: // // * Must be a value from 0 to 35 // // * Cannot be set to 0 if the DB instance is a source to Read Replicas BackupRetentionPeriod *int64 `type:"integer"` // For supported engines, indicates that the DB instance should be associated // with the specified CharacterSet. CharacterSetName *string `type:"string"` // True to copy all tags from the DB instance to snapshots of the DB instance; // otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The identifier of the DB cluster that the instance will belong to. // // For information on creating a DB cluster, see CreateDBCluster. // // Type: String DBClusterIdentifier *string `type:"string"` // The compute and memory capacity of the DB instance. Note that not all instance // classes are available in all regions for all DB engines. // // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge // | db.m2.xlarge |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large // | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge // | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge // | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium // | db.t2.large // // DBInstanceClass is a required field DBInstanceClass *string `type:"string" required:"true"` // The DB instance identifier. This parameter is stored as a lowercase string. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 // for SQL Server). // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: mydbinstance // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The meaning of this parameter differs according to the database engine you // use. // // Type: String // // MySQL // // The name of the database to create when the DB instance is created. If this // parameter is not specified, no database is created in the DB instance. // // Constraints: // // * Must contain 1 to 64 alphanumeric characters // // * Cannot be a word reserved by the specified database engine // // MariaDB // // The name of the database to create when the DB instance is created. If this // parameter is not specified, no database is created in the DB instance. // // Constraints: // // * Must contain 1 to 64 alphanumeric characters // // * Cannot be a word reserved by the specified database engine // // PostgreSQL // // The name of the database to create when the DB instance is created. If this // parameter is not specified, the default "postgres" database is created in // the DB instance. // // Constraints: // // * Must contain 1 to 63 alphanumeric characters // // * Must begin with a letter or an underscore. Subsequent characters can // be letters, underscores, or digits (0-9). // // * Cannot be a word reserved by the specified database engine // // Oracle // // The Oracle System ID (SID) of the created DB instance. // // Default: ORCL // // Constraints: // // * Cannot be longer than 8 characters // // SQL Server // // Not applicable. Must be null. // // Amazon Aurora // // The name of the database to create when the primary instance of the DB cluster // is created. If this parameter is not specified, no database is created in // the DB instance. // // Constraints: // // * Must contain 1 to 64 alphanumeric characters // // * Cannot be a word reserved by the specified database engine DBName *string `type:"string"` // The name of the DB parameter group to associate with this DB instance. If // this argument is omitted, the default DBParameterGroup for the specified // engine will be used. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBParameterGroupName *string `type:"string"` // A list of DB security groups to associate with this DB instance. // // Default: The default DB security group for the database engine. DBSecurityGroups []*string `locationNameList:"DBSecurityGroupName" type:"list"` // A DB subnet group to associate with this DB instance. // // If there is no DB subnet group, then it is a non-VPC DB instance. DBSubnetGroupName *string `type:"string"` // Specify the Active Directory Domain to create the instance in. Domain *string `type:"string"` // Specify the name of the IAM role to be used when making API calls to the // Directory Service. DomainIAMRoleName *string `type:"string"` // The name of the database engine to be used for this instance. // // Valid Values: mysql | mariadb | oracle-se1 | oracle-se2 | oracle-se | oracle-ee // | sqlserver-ee | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | // aurora // // Not every database engine is available for every AWS region. // // Engine is a required field Engine *string `type:"string" required:"true"` // The version number of the database engine to use. // // The following are the database engines and major and minor versions that // are available with Amazon RDS. Not every database engine is available for // every AWS region. // // Amazon Aurora // // * Version 5.6 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-2, eu-west-1, us-east-1, us-east-2, us-west-2): // 5.6.10a // // MariaDB // // * Version 10.1 (available in these AWS regions: us-east-2): 10.1.16 // // * Version 10.1 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-west-1, us-west-2): 10.1.14 // // * Version 10.0 (available in all AWS regions): 10.0.24 // // * Version 10.0 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-gov-west-1, us-west-1, us-west-2): 10.0.17 // // Microsoft SQL Server 2016 // // * 13.00.2164.0.v1 (supported for all editions, and all AWS regions except // sa-east-1) // // Microsoft SQL Server 2014 // // * 12.00.5000.0.v1 (supported for all editions, and all AWS regions) // // * 12.00.4422.0.v1 (supported for all editions except Enterprise Edition, // and all AWS regions except us-east-2) // // Microsoft SQL Server 2012 // // * 11.00.6020.0.v1 (supported for all editions, and all AWS regions) // // * 11.00.5058.0.v1 (supported for all editions, and all AWS regions except // us-east-2) // // * 11.00.2100.60.v1 (supported for all editions, and all AWS regions except // us-east-2) // // Microsoft SQL Server 2008 R2 // // * 10.50.6529.0.v1 (supported for all editions, and all AWS regions except // us-east-2) // // * 10.50.6000.34.v1 (supported for all editions, and all AWS regions except // us-east-2) // // * 10.50.2789.0.v1 (supported for all editions, and all AWS regions except // us-east-2) // // MySQL // // * Version 5.7 (available in all AWS regions): 5.7.11 // // * Version 5.7 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-gov-west-1, us-west-1, us-west-2): 5.7.10 // // * Version 5.6 (available in all AWS regions): 5.6.29 // // * Version 5.6 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-gov-west-1, us-west-1, us-west-2): 5.6.27 // // * Version 5.6 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, // us-gov-west-1, us-west-1, us-west-2): 5.6.23 // // * Version 5.6 (available in these AWS regions: ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, // us-west-1, us-west-2): 5.6.19a | 5.6.19b | 5.6.21 | 5.6.21b | 5.6.22 // // * Version 5.5 (available in all AWS regions): 5.5.46 // // * Version 5.1 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, // us-west-2): 5.1.73a | 5.1.73b // // Oracle Database Enterprise Edition (oracle-ee) // // * Version 12.1 (available in all AWS regions except ap-south-1, ap-northeast-2): // 12.1.0.1.v1 | 12.1.0.1.v2 // // * Version 12.1 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 12.1.0.1.v3 | 12.1.0.1.v4 | 12.1.0.1.v5 // // * Version 12.1 (available in all AWS regions): 12.1.0.2.v1 // // * Version 12.1 (available in all AWS regions except us-gov-west-1): 12.1.0.2.v2 // | 12.1.0.2.v3 | 12.1.0.2.v4 // // * Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, // us-west-2): 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 // // * Version 11.2 (available in all AWS regions except ap-south-1, ap-northeast-2): // 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3 // // * Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 11.2.0.3.v4 // // * Version 11.2 (available in all AWS regions): 11.2.0.4.v1 | 11.2.0.4.v3 // | 11.2.0.4.v4 // // * Version 11.2 (available in all AWS regions except us-gov-west-1): 11.2.0.4.v5 // | 11.2.0.4.v6 | 11.2.0.4.v7 | 11.2.0.4.v8 // // Oracle Database Standard Edition (oracle-se) // // * Version 12.1 (available in all AWS regions except ap-south-1, ap-northeast-2): // 12.1.0.1.v1 | 12.1.0.1.v2 // // * Version 12.1 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 12.1.0.1.v3 | 12.1.0.1.v4 | 12.1.0.1.v5 // // * Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, // us-west-2): 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 // // * Version 11.2 (available in all AWS regions except ap-south-1, ap-northeast-2): // 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3 // // * Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 11.2.0.3.v4 // // * Version 11.2 (available in all AWS regions): 11.2.0.4.v1 | 11.2.0.4.v3 // | 11.2.0.4.v4 // // * Version 11.2 (available in all AWS regions except us-gov-west-1): 11.2.0.4.v5 // | 11.2.0.4.v6 | 11.2.0.4.v7 | 11.2.0.4.v8 // // Oracle Database Standard Edition One (oracle-se1) // // * Version 12.1 (available in all AWS regions except ap-south-1, ap-northeast-2): // 12.1.0.1.v1 | 12.1.0.1.v2 // // * Version 12.1 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 12.1.0.1.v3 | 12.1.0.1.v4 | 12.1.0.1.v5 // // * Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, // us-west-2): 11.2.0.2.v3 | 11.2.0.2.v4 | 11.2.0.2.v5 | 11.2.0.2.v6 | 11.2.0.2.v7 // // * Version 11.2 (available in all AWS regions except ap-south-1, ap-northeast-2): // 11.2.0.3.v1 | 11.2.0.3.v2 | 11.2.0.3.v3 // // * Version 11.2 (only available in AWS regions ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): 11.2.0.3.v4 // // * Version 11.2 (available in all AWS regions): 11.2.0.4.v1 | 11.2.0.4.v3 // | 11.2.0.4.v4 // // * Version 11.2 (available in all AWS regions except us-gov-west-1): 11.2.0.4.v5 // | 11.2.0.4.v6 | 11.2.0.4.v7 | 11.2.0.4.v8 // // Oracle Database Standard Edition Two (oracle-se2) // // * Version 12.1 (available in all AWS regions except us-gov-west-1): 12.1.0.2.v2 // | 12.1.0.2.v3 | 12.1.0.2.v4 // // PostgreSQL // // * Version 9.6: 9.6.1 // // * Version 9.5:9.5.4 | 9.5.2 // // * Version 9.4: 9.4.9 | 9.4.7 | 9.4.5 | 9.4.4 | 9.4.1 // // * Version 9.3: 9.3.14 | 9.3.12 | 9.3.10 | 9.3.9 | 9.3.6 | 9.3.5 | 9.3.3 // | 9.3.2 | 9.3.1 // // Oracle 12c // // 12.1.0.2.v6 (supported for EE in all AWS regions, and SE2 in all AWS regions // except us-gov-west-1) // // * 12.1.0.2.v5 (supported for EE in all AWS regions, and SE2 in all AWS // regions except us-gov-west-1) // // * 12.1.0.2.v4 (supported for EE in all AWS regions, and SE2 in all AWS // regions except us-gov-west-1) // // * 12.1.0.2.v3 (supported for EE in all AWS regions, and SE2 in all AWS // regions except us-gov-west-1) // // * 12.1.0.2.v2 (supported for EE in all AWS regions, and SE2 in all AWS // regions except us-gov-west-1) // // * 12.1.0.2.v1 (supported for EE in all AWS regions, and SE2 in all AWS // regions except us-gov-west-1) // // * 12.1.0.1.v6 (supported for EE, SE1, and SE, in all AWS regions except // ap-south-1, ap-northeast-2) // // * 12.1.0.1.v5 (supported for EE, SE1, and SE, in all AWS regions except // ap-south-1, ap-northeast-2) // // * 12.1.0.1.v4 (supported for EE, SE1, and SE, in all AWS regions except // ap-south-1, ap-northeast-2) // // * 12.1.0.1.v3 (supported for EE, SE1, and SE, in all AWS regions except // ap-south-1, ap-northeast-2) // // * 12.1.0.1.v2 (supported for EE, SE1, and SE, in all AWS regions except // ap-south-1, ap-northeast-2) // // * 12.1.0.1.v1 (supported for EE, SE1, and SE, in all AWS regions except // ap-south-1, ap-northeast-2) // // Oracle 11g // // * 11.2.0.4.v10 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v9 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v8 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v7 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v6 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v5 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v4 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v3 (supported for EE, SE1, and SE, in all AWS regions) // // * 11.2.0.4.v1 (supported for EE, SE1, and SE, in all AWS regions) // // PostgreSQL // // * Version 9.5 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-west-1, us-west-2): * 9.5.4 // // * Version 9.5 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-east-2, us-west-1, us-west-2): * 9.5.2 // // * Version 9.4 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-west-1, us-west-2): * 9.4.9 // // * Version 9.4 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, // us-east-1, us-east-2, us-west-1, us-west-2): * 9.4.7 // // * Version 9.4 (available in all AWS regions): * 9.4.5 // // * Version 9.4 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, // us-gov-west-1, us-west-1, us-west-2): * 9.4.4 // // * Version 9.4 (available in these AWS regions: ap-northeast-1, ap-northeast-2, // ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, // us-east-2, us-gov-west-1, us-west-1, us-west-2): * 9.4.1 // // * Version 9.3 (available in these AWS regions: ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, // us-west-1, us-west-2): * 9.3.10 | 9.3.3 | 9.3.5 | 9.3.6 | 9.3.9 // // * Version 9.3 (available in these AWS regions: ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1, // us-west-2): * 9.3.1 | 9.3.2 // // * Version 9.3 (available in these AWS regions: ap-northeast-1, ap-southeast-1, // ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, // us-west-2): * 9.3.12 | 9.3.14 EngineVersion *string `type:"string"` // The amount of Provisioned IOPS (input/output operations per second) to be // initially allocated for the DB instance. // // Constraints: Must be a multiple between 3 and 10 of the storage amount for // the DB instance. Must also be an integer multiple of 1000. For example, if // the size of your DB instance is 500 GB, then your Iops value can be 2000, // 3000, 4000, or 5000. Iops *int64 `type:"integer"` // The KMS key identifier for an encrypted DB instance. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are creating a DB instance with the same AWS account that owns // the KMS encryption key used to encrypt the new DB instance, then you can // use the KMS key alias instead of the ARN for the KM encryption key. // // If the StorageEncrypted parameter is true, and you do not specify a value // for the KmsKeyId parameter, then Amazon RDS will use your default encryption // key. AWS KMS creates the default encryption key for your AWS account. Your // AWS account has a different default encryption key for each AWS region. KmsKeyId *string `type:"string"` // License model information for this DB instance. // // Valid values: license-included | bring-your-own-license | general-public-license LicenseModel *string `type:"string"` // The password for the master database user. Can be any printable ASCII character // except "/", """, or "@". // // Type: String // // MySQL // // Constraints: Must contain from 8 to 41 characters. // // MariaDB // // Constraints: Must contain from 8 to 41 characters. // // Oracle // // Constraints: Must contain from 8 to 30 characters. // // SQL Server // // Constraints: Must contain from 8 to 128 characters. // // PostgreSQL // // Constraints: Must contain from 8 to 128 characters. // // Amazon Aurora // // Constraints: Must contain from 8 to 41 characters. MasterUserPassword *string `type:"string"` // The name of master user for the client DB instance. // // MySQL // // Constraints: // // * Must be 1 to 16 alphanumeric characters. // // * First character must be a letter. // // * Cannot be a reserved word for the chosen database engine. // // MariaDB // // Constraints: // // * Must be 1 to 16 alphanumeric characters. // // * Cannot be a reserved word for the chosen database engine. // // Type: String // // Oracle // // Constraints: // // * Must be 1 to 30 alphanumeric characters. // // * First character must be a letter. // // * Cannot be a reserved word for the chosen database engine. // // SQL Server // // Constraints: // // * Must be 1 to 128 alphanumeric characters. // // * First character must be a letter. // // * Cannot be a reserved word for the chosen database engine. // // PostgreSQL // // Constraints: // // * Must be 1 to 63 alphanumeric characters. // // * First character must be a letter. // // * Cannot be a reserved word for the chosen database engine. MasterUsername *string `type:"string"` // The interval, in seconds, between points when Enhanced Monitoring metrics // are collected for the DB instance. To disable collecting Enhanced Monitoring // metrics, specify 0. The default is 0. // // If MonitoringRoleArn is specified, then you must also set MonitoringInterval // to a value other than 0. // // Valid Values: 0, 1, 5, 10, 15, 30, 60 MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send enhanced monitoring metrics // to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. // For information on creating a monitoring role, go to To create an IAM role // for Amazon RDS Enhanced Monitoring (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole). // // If MonitoringInterval is set to a value other than 0, then you must supply // a MonitoringRoleArn value. MonitoringRoleArn *string `type:"string"` // Specifies if the DB instance is a Multi-AZ deployment. You cannot set the // AvailabilityZone parameter if the MultiAZ parameter is set to true. MultiAZ *bool `type:"boolean"` // Indicates that the DB instance should be associated with the specified option // group. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, // cannot be removed from an option group, and that option group cannot be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` // The port number on which the database accepts connections. // // MySQL // // Default: 3306 // // Valid Values: 1150-65535 // // Type: Integer // // MariaDB // // Default: 3306 // // Valid Values: 1150-65535 // // Type: Integer // // PostgreSQL // // Default: 5432 // // Valid Values: 1150-65535 // // Type: Integer // // Oracle // // Default: 1521 // // Valid Values: 1150-65535 // // SQL Server // // Default: 1433 // // Valid Values: 1150-65535 except for 1434, 3389, 47001, 49152, and 49152 through // 49156. // // Amazon Aurora // // Default: 3306 // // Valid Values: 1150-65535 // // Type: Integer Port *int64 `type:"integer"` // The daily time range during which automated backups are created if automated // backups are enabled, using the BackupRetentionPeriod parameter. For more // information, see DB Instance Backups (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.BackingUpAndRestoringAmazonRDSInstances.html). // // Default: A 30-minute window selected at random from an 8-hour block of time // per region. To see the time blocks available, see Adjusting the Preferred // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // // * Times should be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string `type:"string"` // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). For more information, see DB Instance Maintenance // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBMaintenance.html). // // Format: ddd:hh24:mi-ddd:hh24:mi // // Default: A 30-minute window selected at random from an 8-hour block of time // per region, occurring on a random day of the week. To see the time blocks // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` // A value that specifies the order in which an Aurora Replica is promoted to // the primary instance after a failure of the existing primary instance. For // more information, see Fault Tolerance for an Aurora DB Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance). // // Default: 1 // // Valid Values: 0 - 15 PromotionTier *int64 `type:"integer"` // Specifies the accessibility options for the DB instance. A value of true // specifies an Internet-facing instance with a publicly resolvable DNS name, // which resolves to a public IP address. A value of false specifies an internal // instance with a DNS name that resolves to a private IP address. // // Default: The default behavior varies depending on whether a VPC has been // requested or not. The following list shows the default behavior in each case. // // * Default VPC: true // // * VPC: false // // If no DB subnet group has been specified as part of the request and the PubliclyAccessible // value has not been set, the DB instance will be publicly accessible. If a // specific DB subnet group has been specified as part of the request and the // PubliclyAccessible value has not been set, the DB instance will be private. PubliclyAccessible *bool `type:"boolean"` // Specifies whether the DB instance is encrypted. // // Default: false StorageEncrypted *bool `type:"boolean"` // Specifies the storage type to be associated with the DB instance. // // Valid values: standard | gp2 | io1 // // If you specify io1, you must also include a value for the Iops parameter. // // Default: io1 if the Iops parameter is specified; otherwise standard StorageType *string `type:"string"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // The ARN from the Key Store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` // The password for the given ARN from the Key Store in order to access the // device. TdeCredentialPassword *string `type:"string"` // The time zone of the DB instance. The time zone parameter is currently supported // only by Microsoft SQL Server (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). Timezone *string `type:"string"` // A list of EC2 VPC security groups to associate with this DB instance. // // Default: The default EC2 VPC security group for the DB subnet group's VPC. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage
func (CreateDBInstanceInput) GoString ¶ added in v0.6.6
func (s CreateDBInstanceInput) GoString() string
GoString returns the string representation
func (*CreateDBInstanceInput) SetAllocatedStorage ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetAllocatedStorage(v int64) *CreateDBInstanceInput
SetAllocatedStorage sets the AllocatedStorage field's value.
func (*CreateDBInstanceInput) SetAutoMinorVersionUpgrade ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceInput
SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
func (*CreateDBInstanceInput) SetAvailabilityZone ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetAvailabilityZone(v string) *CreateDBInstanceInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*CreateDBInstanceInput) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetBackupRetentionPeriod(v int64) *CreateDBInstanceInput
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*CreateDBInstanceInput) SetCharacterSetName ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetCharacterSetName(v string) *CreateDBInstanceInput
SetCharacterSetName sets the CharacterSetName field's value.
func (*CreateDBInstanceInput) SetCopyTagsToSnapshot ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceInput
SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
func (*CreateDBInstanceInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDBClusterIdentifier(v string) *CreateDBInstanceInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*CreateDBInstanceInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDBInstanceClass(v string) *CreateDBInstanceInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*CreateDBInstanceInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*CreateDBInstanceInput) SetDBName ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDBName(v string) *CreateDBInstanceInput
SetDBName sets the DBName field's value.
func (*CreateDBInstanceInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDBParameterGroupName(v string) *CreateDBInstanceInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*CreateDBInstanceInput) SetDBSecurityGroups ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDBSecurityGroups(v []*string) *CreateDBInstanceInput
SetDBSecurityGroups sets the DBSecurityGroups field's value.
func (*CreateDBInstanceInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDBSubnetGroupName(v string) *CreateDBInstanceInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*CreateDBInstanceInput) SetDomain ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDomain(v string) *CreateDBInstanceInput
SetDomain sets the Domain field's value.
func (*CreateDBInstanceInput) SetDomainIAMRoleName ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetDomainIAMRoleName(v string) *CreateDBInstanceInput
SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
func (*CreateDBInstanceInput) SetEngine ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetEngine(v string) *CreateDBInstanceInput
SetEngine sets the Engine field's value.
func (*CreateDBInstanceInput) SetEngineVersion ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetEngineVersion(v string) *CreateDBInstanceInput
SetEngineVersion sets the EngineVersion field's value.
func (*CreateDBInstanceInput) SetIops ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetIops(v int64) *CreateDBInstanceInput
SetIops sets the Iops field's value.
func (*CreateDBInstanceInput) SetKmsKeyId ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetKmsKeyId(v string) *CreateDBInstanceInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateDBInstanceInput) SetLicenseModel ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetLicenseModel(v string) *CreateDBInstanceInput
SetLicenseModel sets the LicenseModel field's value.
func (*CreateDBInstanceInput) SetMasterUserPassword ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetMasterUserPassword(v string) *CreateDBInstanceInput
SetMasterUserPassword sets the MasterUserPassword field's value.
func (*CreateDBInstanceInput) SetMasterUsername ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetMasterUsername(v string) *CreateDBInstanceInput
SetMasterUsername sets the MasterUsername field's value.
func (*CreateDBInstanceInput) SetMonitoringInterval ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetMonitoringInterval(v int64) *CreateDBInstanceInput
SetMonitoringInterval sets the MonitoringInterval field's value.
func (*CreateDBInstanceInput) SetMonitoringRoleArn ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetMonitoringRoleArn(v string) *CreateDBInstanceInput
SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
func (*CreateDBInstanceInput) SetMultiAZ ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetMultiAZ(v bool) *CreateDBInstanceInput
SetMultiAZ sets the MultiAZ field's value.
func (*CreateDBInstanceInput) SetOptionGroupName ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetOptionGroupName(v string) *CreateDBInstanceInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*CreateDBInstanceInput) SetPort ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetPort(v int64) *CreateDBInstanceInput
SetPort sets the Port field's value.
func (*CreateDBInstanceInput) SetPreferredBackupWindow ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetPreferredBackupWindow(v string) *CreateDBInstanceInput
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (*CreateDBInstanceInput) SetPreferredMaintenanceWindow ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateDBInstanceInput
SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
func (*CreateDBInstanceInput) SetPromotionTier ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetPromotionTier(v int64) *CreateDBInstanceInput
SetPromotionTier sets the PromotionTier field's value.
func (*CreateDBInstanceInput) SetPubliclyAccessible ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetPubliclyAccessible(v bool) *CreateDBInstanceInput
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*CreateDBInstanceInput) SetStorageEncrypted ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetStorageEncrypted(v bool) *CreateDBInstanceInput
SetStorageEncrypted sets the StorageEncrypted field's value.
func (*CreateDBInstanceInput) SetStorageType ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetStorageType(v string) *CreateDBInstanceInput
SetStorageType sets the StorageType field's value.
func (*CreateDBInstanceInput) SetTags ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetTags(v []*Tag) *CreateDBInstanceInput
SetTags sets the Tags field's value.
func (*CreateDBInstanceInput) SetTdeCredentialArn ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetTdeCredentialArn(v string) *CreateDBInstanceInput
SetTdeCredentialArn sets the TdeCredentialArn field's value.
func (*CreateDBInstanceInput) SetTdeCredentialPassword ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetTdeCredentialPassword(v string) *CreateDBInstanceInput
SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
func (*CreateDBInstanceInput) SetTimezone ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetTimezone(v string) *CreateDBInstanceInput
SetTimezone sets the Timezone field's value.
func (*CreateDBInstanceInput) SetVpcSecurityGroupIds ¶ added in v1.5.0
func (s *CreateDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *CreateDBInstanceInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (CreateDBInstanceInput) String ¶ added in v0.6.6
func (s CreateDBInstanceInput) String() string
String returns the string representation
func (*CreateDBInstanceInput) Validate ¶ added in v1.1.22
func (s *CreateDBInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBInstanceOutput ¶
type CreateDBInstanceOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceResult
func (CreateDBInstanceOutput) GoString ¶ added in v0.6.6
func (s CreateDBInstanceOutput) GoString() string
GoString returns the string representation
func (*CreateDBInstanceOutput) SetDBInstance ¶ added in v1.5.0
func (s *CreateDBInstanceOutput) SetDBInstance(v *DBInstance) *CreateDBInstanceOutput
SetDBInstance sets the DBInstance field's value.
func (CreateDBInstanceOutput) String ¶ added in v0.6.6
func (s CreateDBInstanceOutput) String() string
String returns the string representation
type CreateDBInstanceReadReplicaInput ¶
type CreateDBInstanceReadReplicaInput struct { // Indicates that minor engine upgrades will be applied automatically to the // Read Replica during the maintenance window. // // Default: Inherits from the source DB instance AutoMinorVersionUpgrade *bool `type:"boolean"` // The Amazon EC2 Availability Zone that the Read Replica will be created in. // // Default: A random, system-chosen Availability Zone in the endpoint's region. // // Example: us-east-1d AvailabilityZone *string `type:"string"` // True to copy all tags from the Read Replica to snapshots of the Read Replica; // otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The compute and memory capacity of the Read Replica. Note that not all instance // classes are available in all regions for all DB engines. // // Valid Values: db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.xlarge // |db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge // | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge // | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge // | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large // // Default: Inherits from the source DB instance. DBInstanceClass *string `type:"string"` // The DB instance identifier of the Read Replica. This identifier is the unique // key that identifies a DB instance. This parameter is stored as a lowercase // string. // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // Specifies a DB subnet group for the DB instance. The new DB instance will // be created in the VPC associated with the DB subnet group. If no DB subnet // group is specified, then the new DB instance is not created in a VPC. // // Constraints: // // * Can only be specified if the source DB instance identifier specifies // a DB instance in another region. // // * The specified DB subnet group must be in the same region in which the // operation is running. // // * All Read Replicas in one region that are created from the same source // DB instance must either:> // // Specify DB subnet groups from the same VPC. All these Read Replicas will // be created in the same VPC. // // Not specify a DB subnet group. All these Read Replicas will be created outside // of any VPC. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` // DestinationRegion is used for presigning the request to a given region. DestinationRegion *string `type:"string"` // The amount of Provisioned IOPS (input/output operations per second) to be // initially allocated for the DB instance. Iops *int64 `type:"integer"` // The AWS KMS key ID for an encrypted Read Replica. The KMS key ID is the Amazon // Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS // encryption key. // // If you create an unencrypted Read Replica and specify a value for the KmsKeyId // parameter, Amazon RDS encrypts the target Read Replica using the specified // KMS encryption key. // // If you create an encrypted Read Replica from your AWS account, you can specify // a value for KmsKeyId to encrypt the Read Replica with a new KMS encryption // key. If you don't specify a value for KmsKeyId, then the Read Replica is // encrypted with the same KMS key as the source DB instance. // // If you create an encrypted Read Replica in a different AWS region, then you // must specify a KMS key for the destination AWS region. KMS encryption keys // are specific to the region that they are created in, and you cannot use encryption // keys from one region in another region. KmsKeyId *string `type:"string"` // The interval, in seconds, between points when Enhanced Monitoring metrics // are collected for the Read Replica. To disable collecting Enhanced Monitoring // metrics, specify 0. The default is 0. // // If MonitoringRoleArn is specified, then you must also set MonitoringInterval // to a value other than 0. // // Valid Values: 0, 1, 5, 10, 15, 30, 60 MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send enhanced monitoring metrics // to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. // For information on creating a monitoring role, go to To create an IAM role // for Amazon RDS Enhanced Monitoring (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole). // // If MonitoringInterval is set to a value other than 0, then you must supply // a MonitoringRoleArn value. MonitoringRoleArn *string `type:"string"` // The option group the DB instance will be associated with. If omitted, the // default option group for the engine specified will be used. OptionGroupName *string `type:"string"` // The port number that the DB instance uses for connections. // // Default: Inherits from the source DB instance // // Valid Values: 1150-65535 Port *int64 `type:"integer"` // The URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica // API action in the AWS region that contains the source DB instance. The PreSignedUrl // parameter must be used when encrypting a Read Replica from another AWS region. // // The presigned URL must be a valid request for the CreateDBInstanceReadReplica // API action that can be executed in the source region that contains the encrypted // DB instance. The presigned URL request must contain the following parameter // values: // // * DestinationRegion - The AWS Region that the Read Replica is created // in. This region is the same one where the CreateDBInstanceReadReplica // action is called that contains this presigned URL. // // For example, if you create an encrypted Read Replica in the us-east-1 region, // and the source DB instance is in the west-2 region, then you call the // CreateDBInstanceReadReplica action in the us-east-1 region and provide // a presigned URL that contains a call to the CreateDBInstanceReadReplica // action in the us-west-2 region. For this example, the DestinationRegion // in the presigned URL must be set to the us-east-1 region. // // * KmsKeyId - The KMS key identifier for the key to use to encrypt the // Read Replica in the destination region. This is the same identifier for // both the CreateDBInstanceReadReplica action that is called in the destination // region, and the action contained in the presigned URL. // // * SourceDBInstanceIdentifier - The DB instance identifier for the encrypted // Read Replica to be created. This identifier must be in the Amazon Resource // Name (ARN) format for the source region. For example, if you create an // encrypted Read Replica from a DB instance in the us-west-2 region, then // your SourceDBInstanceIdentifier would look like this example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-instance-20161115. // // To learn how to generate a Signature Version 4 signed request, see Authenticating // Requests: Using Query Parameters (AWS Signature Version 4) (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) // and Signature Version 4 Signing Process (http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). PreSignedUrl *string `type:"string"` // Specifies the accessibility options for the DB instance. A value of true // specifies an Internet-facing instance with a publicly resolvable DNS name, // which resolves to a public IP address. A value of false specifies an internal // instance with a DNS name that resolves to a private IP address. // // Default: The default behavior varies depending on whether a VPC has been // requested or not. The following list shows the default behavior in each case. // // * Default VPC:true // // * VPC:false // // If no DB subnet group has been specified as part of the request and the PubliclyAccessible // value has not been set, the DB instance will be publicly accessible. If a // specific DB subnet group has been specified as part of the request and the // PubliclyAccessible value has not been set, the DB instance will be private. PubliclyAccessible *bool `type:"boolean"` // The identifier of the DB instance that will act as the source for the Read // Replica. Each DB instance can have up to five Read Replicas. // // Constraints: // // * Must be the identifier of an existing MySQL, MariaDB, or PostgreSQL // DB instance. // // * Can specify a DB instance that is a MySQL Read Replica only if the source // is running MySQL 5.6. // // * Can specify a DB instance that is a PostgreSQL DB instance only if the // source is running PostgreSQL 9.3.5 or later. // // * The specified DB instance must have automatic backups enabled, its backup // retention period must be greater than 0. // // * If the source DB instance is in the same region as the Read Replica, // specify a valid DB instance identifier. // // * If the source DB instance is in a different region than the Read Replica, // specify a valid DB instance ARN. For more information, go to Constructing // a Amazon RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // SourceDBInstanceIdentifier is a required field SourceDBInstanceIdentifier *string `type:"string" required:"true"` // SourceRegion is the source region where the resource exists. This is not // sent over the wire and is only used for presigning. This value should always // have the same region as the source ARN. SourceRegion *string `type:"string" ignore:"true"` // Specifies the storage type to be associated with the Read Replica. // // Valid values: standard | gp2 | io1 // // If you specify io1, you must also include a value for the Iops parameter. // // Default: io1 if the Iops parameter is specified; otherwise standard StorageType *string `type:"string"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaMessage
func (CreateDBInstanceReadReplicaInput) GoString ¶ added in v0.6.6
func (s CreateDBInstanceReadReplicaInput) GoString() string
GoString returns the string representation
func (*CreateDBInstanceReadReplicaInput) SetAutoMinorVersionUpgrade ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceReadReplicaInput
SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
func (*CreateDBInstanceReadReplicaInput) SetAvailabilityZone ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetAvailabilityZone(v string) *CreateDBInstanceReadReplicaInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*CreateDBInstanceReadReplicaInput) SetCopyTagsToSnapshot ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceReadReplicaInput
SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
func (*CreateDBInstanceReadReplicaInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceClass(v string) *CreateDBInstanceReadReplicaInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*CreateDBInstanceReadReplicaInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*CreateDBInstanceReadReplicaInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetDBSubnetGroupName(v string) *CreateDBInstanceReadReplicaInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*CreateDBInstanceReadReplicaInput) SetDestinationRegion ¶ added in v1.6.17
func (s *CreateDBInstanceReadReplicaInput) SetDestinationRegion(v string) *CreateDBInstanceReadReplicaInput
SetDestinationRegion sets the DestinationRegion field's value.
func (*CreateDBInstanceReadReplicaInput) SetIops ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetIops(v int64) *CreateDBInstanceReadReplicaInput
SetIops sets the Iops field's value.
func (*CreateDBInstanceReadReplicaInput) SetKmsKeyId ¶ added in v1.6.17
func (s *CreateDBInstanceReadReplicaInput) SetKmsKeyId(v string) *CreateDBInstanceReadReplicaInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*CreateDBInstanceReadReplicaInput) SetMonitoringInterval ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetMonitoringInterval(v int64) *CreateDBInstanceReadReplicaInput
SetMonitoringInterval sets the MonitoringInterval field's value.
func (*CreateDBInstanceReadReplicaInput) SetMonitoringRoleArn ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetMonitoringRoleArn(v string) *CreateDBInstanceReadReplicaInput
SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
func (*CreateDBInstanceReadReplicaInput) SetOptionGroupName ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetOptionGroupName(v string) *CreateDBInstanceReadReplicaInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*CreateDBInstanceReadReplicaInput) SetPort ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetPort(v int64) *CreateDBInstanceReadReplicaInput
SetPort sets the Port field's value.
func (*CreateDBInstanceReadReplicaInput) SetPreSignedUrl ¶ added in v1.6.17
func (s *CreateDBInstanceReadReplicaInput) SetPreSignedUrl(v string) *CreateDBInstanceReadReplicaInput
SetPreSignedUrl sets the PreSignedUrl field's value.
func (*CreateDBInstanceReadReplicaInput) SetPubliclyAccessible ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetPubliclyAccessible(v bool) *CreateDBInstanceReadReplicaInput
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*CreateDBInstanceReadReplicaInput) SetSourceDBInstanceIdentifier ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetSourceDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput
SetSourceDBInstanceIdentifier sets the SourceDBInstanceIdentifier field's value.
func (*CreateDBInstanceReadReplicaInput) SetSourceRegion ¶ added in v1.6.17
func (s *CreateDBInstanceReadReplicaInput) SetSourceRegion(v string) *CreateDBInstanceReadReplicaInput
SetSourceRegion sets the SourceRegion field's value.
func (*CreateDBInstanceReadReplicaInput) SetStorageType ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetStorageType(v string) *CreateDBInstanceReadReplicaInput
SetStorageType sets the StorageType field's value.
func (*CreateDBInstanceReadReplicaInput) SetTags ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaInput) SetTags(v []*Tag) *CreateDBInstanceReadReplicaInput
SetTags sets the Tags field's value.
func (CreateDBInstanceReadReplicaInput) String ¶ added in v0.6.6
func (s CreateDBInstanceReadReplicaInput) String() string
String returns the string representation
func (*CreateDBInstanceReadReplicaInput) Validate ¶ added in v1.1.22
func (s *CreateDBInstanceReadReplicaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBInstanceReadReplicaOutput ¶
type CreateDBInstanceReadReplicaOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaResult
func (CreateDBInstanceReadReplicaOutput) GoString ¶ added in v0.6.6
func (s CreateDBInstanceReadReplicaOutput) GoString() string
GoString returns the string representation
func (*CreateDBInstanceReadReplicaOutput) SetDBInstance ¶ added in v1.5.0
func (s *CreateDBInstanceReadReplicaOutput) SetDBInstance(v *DBInstance) *CreateDBInstanceReadReplicaOutput
SetDBInstance sets the DBInstance field's value.
func (CreateDBInstanceReadReplicaOutput) String ¶ added in v0.6.6
func (s CreateDBInstanceReadReplicaOutput) String() string
String returns the string representation
type CreateDBParameterGroupInput ¶
type CreateDBParameterGroupInput struct { // The DB parameter group family name. A DB parameter group can be associated // with one and only one DB parameter group family, and can be applied only // to a DB instance running a database engine and engine version compatible // with that DB parameter group family. // // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // The name of the DB parameter group. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // This value is stored as a lowercase string. // // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // The description for the DB parameter group. // // Description is a required field Description *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupMessage
func (CreateDBParameterGroupInput) GoString ¶ added in v0.6.6
func (s CreateDBParameterGroupInput) GoString() string
GoString returns the string representation
func (*CreateDBParameterGroupInput) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *CreateDBParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBParameterGroupInput
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*CreateDBParameterGroupInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *CreateDBParameterGroupInput) SetDBParameterGroupName(v string) *CreateDBParameterGroupInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*CreateDBParameterGroupInput) SetDescription ¶ added in v1.5.0
func (s *CreateDBParameterGroupInput) SetDescription(v string) *CreateDBParameterGroupInput
SetDescription sets the Description field's value.
func (*CreateDBParameterGroupInput) SetTags ¶ added in v1.5.0
func (s *CreateDBParameterGroupInput) SetTags(v []*Tag) *CreateDBParameterGroupInput
SetTags sets the Tags field's value.
func (CreateDBParameterGroupInput) String ¶ added in v0.6.6
func (s CreateDBParameterGroupInput) String() string
String returns the string representation
func (*CreateDBParameterGroupInput) Validate ¶ added in v1.1.22
func (s *CreateDBParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBParameterGroupOutput ¶
type CreateDBParameterGroupOutput struct { // Contains the result of a successful invocation of the CreateDBParameterGroup // action. // // This data type is used as a request parameter in the DeleteDBParameterGroup // action, and as a response element in the DescribeDBParameterGroups action. DBParameterGroup *DBParameterGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupResult
func (CreateDBParameterGroupOutput) GoString ¶ added in v0.6.6
func (s CreateDBParameterGroupOutput) GoString() string
GoString returns the string representation
func (*CreateDBParameterGroupOutput) SetDBParameterGroup ¶ added in v1.5.0
func (s *CreateDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *CreateDBParameterGroupOutput
SetDBParameterGroup sets the DBParameterGroup field's value.
func (CreateDBParameterGroupOutput) String ¶ added in v0.6.6
func (s CreateDBParameterGroupOutput) String() string
String returns the string representation
type CreateDBSecurityGroupInput ¶
type CreateDBSecurityGroupInput struct { // The description for the DB security group. // // DBSecurityGroupDescription is a required field DBSecurityGroupDescription *string `type:"string" required:"true"` // The name for the DB security group. This value is stored as a lowercase string. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // * Must not be "Default" // // Example: mysecuritygroup // // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupMessage
func (CreateDBSecurityGroupInput) GoString ¶ added in v0.6.6
func (s CreateDBSecurityGroupInput) GoString() string
GoString returns the string representation
func (*CreateDBSecurityGroupInput) SetDBSecurityGroupDescription ¶ added in v1.5.0
func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupDescription(v string) *CreateDBSecurityGroupInput
SetDBSecurityGroupDescription sets the DBSecurityGroupDescription field's value.
func (*CreateDBSecurityGroupInput) SetDBSecurityGroupName ¶ added in v1.5.0
func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupName(v string) *CreateDBSecurityGroupInput
SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
func (*CreateDBSecurityGroupInput) SetTags ¶ added in v1.5.0
func (s *CreateDBSecurityGroupInput) SetTags(v []*Tag) *CreateDBSecurityGroupInput
SetTags sets the Tags field's value.
func (CreateDBSecurityGroupInput) String ¶ added in v0.6.6
func (s CreateDBSecurityGroupInput) String() string
String returns the string representation
func (*CreateDBSecurityGroupInput) Validate ¶ added in v1.1.22
func (s *CreateDBSecurityGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBSecurityGroupOutput ¶
type CreateDBSecurityGroupOutput struct { // Contains the result of a successful invocation of the following actions: // // * DescribeDBSecurityGroups // // * AuthorizeDBSecurityGroupIngress // // * CreateDBSecurityGroup // // * RevokeDBSecurityGroupIngress // // This data type is used as a response element in the DescribeDBSecurityGroups // action. DBSecurityGroup *DBSecurityGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupResult
func (CreateDBSecurityGroupOutput) GoString ¶ added in v0.6.6
func (s CreateDBSecurityGroupOutput) GoString() string
GoString returns the string representation
func (*CreateDBSecurityGroupOutput) SetDBSecurityGroup ¶ added in v1.5.0
func (s *CreateDBSecurityGroupOutput) SetDBSecurityGroup(v *DBSecurityGroup) *CreateDBSecurityGroupOutput
SetDBSecurityGroup sets the DBSecurityGroup field's value.
func (CreateDBSecurityGroupOutput) String ¶ added in v0.6.6
func (s CreateDBSecurityGroupOutput) String() string
String returns the string representation
type CreateDBSnapshotInput ¶
type CreateDBSnapshotInput struct { // The DB instance identifier. This is the unique key that identifies a DB instance. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The identifier for the DB snapshot. // // Constraints: // // * Cannot be null, empty, or blank // // * Must contain from 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-snapshot-id // // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotMessage
func (CreateDBSnapshotInput) GoString ¶ added in v0.6.6
func (s CreateDBSnapshotInput) GoString() string
GoString returns the string representation
func (*CreateDBSnapshotInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *CreateDBSnapshotInput) SetDBInstanceIdentifier(v string) *CreateDBSnapshotInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*CreateDBSnapshotInput) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *CreateDBSnapshotInput) SetDBSnapshotIdentifier(v string) *CreateDBSnapshotInput
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (*CreateDBSnapshotInput) SetTags ¶ added in v1.5.0
func (s *CreateDBSnapshotInput) SetTags(v []*Tag) *CreateDBSnapshotInput
SetTags sets the Tags field's value.
func (CreateDBSnapshotInput) String ¶ added in v0.6.6
func (s CreateDBSnapshotInput) String() string
String returns the string representation
func (*CreateDBSnapshotInput) Validate ¶ added in v1.1.22
func (s *CreateDBSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBSnapshotOutput ¶
type CreateDBSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBSnapshot // // * DeleteDBSnapshot // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotResult
func (CreateDBSnapshotOutput) GoString ¶ added in v0.6.6
func (s CreateDBSnapshotOutput) GoString() string
GoString returns the string representation
func (*CreateDBSnapshotOutput) SetDBSnapshot ¶ added in v1.5.0
func (s *CreateDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CreateDBSnapshotOutput
SetDBSnapshot sets the DBSnapshot field's value.
func (CreateDBSnapshotOutput) String ¶ added in v0.6.6
func (s CreateDBSnapshotOutput) String() string
String returns the string representation
type CreateDBSubnetGroupInput ¶
type CreateDBSubnetGroupInput struct { // The description for the DB subnet group. // // DBSubnetGroupDescription is a required field DBSubnetGroupDescription *string `type:"string" required:"true"` // The name for the DB subnet group. This value is stored as a lowercase string. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup // // DBSubnetGroupName is a required field DBSubnetGroupName *string `type:"string" required:"true"` // The EC2 Subnet IDs for the DB subnet group. // // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupMessage
func (CreateDBSubnetGroupInput) GoString ¶ added in v0.6.6
func (s CreateDBSubnetGroupInput) GoString() string
GoString returns the string representation
func (*CreateDBSubnetGroupInput) SetDBSubnetGroupDescription ¶ added in v1.5.0
func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *CreateDBSubnetGroupInput
SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.
func (*CreateDBSubnetGroupInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupName(v string) *CreateDBSubnetGroupInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*CreateDBSubnetGroupInput) SetSubnetIds ¶ added in v1.5.0
func (s *CreateDBSubnetGroupInput) SetSubnetIds(v []*string) *CreateDBSubnetGroupInput
SetSubnetIds sets the SubnetIds field's value.
func (*CreateDBSubnetGroupInput) SetTags ¶ added in v1.5.0
func (s *CreateDBSubnetGroupInput) SetTags(v []*Tag) *CreateDBSubnetGroupInput
SetTags sets the Tags field's value.
func (CreateDBSubnetGroupInput) String ¶ added in v0.6.6
func (s CreateDBSubnetGroupInput) String() string
String returns the string representation
func (*CreateDBSubnetGroupInput) Validate ¶ added in v1.1.22
func (s *CreateDBSubnetGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateDBSubnetGroupOutput ¶
type CreateDBSubnetGroupOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBSubnetGroup // // * ModifyDBSubnetGroup // // * DescribeDBSubnetGroups // // * DeleteDBSubnetGroup // // This data type is used as a response element in the DescribeDBSubnetGroups // action. DBSubnetGroup *DBSubnetGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupResult
func (CreateDBSubnetGroupOutput) GoString ¶ added in v0.6.6
func (s CreateDBSubnetGroupOutput) GoString() string
GoString returns the string representation
func (*CreateDBSubnetGroupOutput) SetDBSubnetGroup ¶ added in v1.5.0
func (s *CreateDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *CreateDBSubnetGroupOutput
SetDBSubnetGroup sets the DBSubnetGroup field's value.
func (CreateDBSubnetGroupOutput) String ¶ added in v0.6.6
func (s CreateDBSubnetGroupOutput) String() string
String returns the string representation
type CreateEventSubscriptionInput ¶
type CreateEventSubscriptionInput struct { // A Boolean value; set to true to activate the subscription, set to false to // create the subscription but not active it. Enabled *bool `type:"boolean"` // A list of event categories for a SourceType that you want to subscribe to. // You can see a list of the categories for a given SourceType in the Events // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) // topic in the Amazon RDS User Guide or by using the DescribeEventCategories // action. EventCategories []*string `locationNameList:"EventCategory" type:"list"` // The Amazon Resource Name (ARN) of the SNS topic created for event notification. // The ARN is created by Amazon SNS when you create a topic and subscribe to // it. // // SnsTopicArn is a required field SnsTopicArn *string `type:"string" required:"true"` // The list of identifiers of the event sources for which events will be returned. // If not specified, then all sources are included in the response. An identifier // must begin with a letter and must contain only ASCII letters, digits, and // hyphens; it cannot end with a hyphen or contain two consecutive hyphens. // // Constraints: // // * If SourceIds are supplied, SourceType must also be provided. // // * If the source type is a DB instance, then a DBInstanceIdentifier must // be supplied. // // * If the source type is a DB security group, a DBSecurityGroupName must // be supplied. // // * If the source type is a DB parameter group, a DBParameterGroupName must // be supplied. // // * If the source type is a DB snapshot, a DBSnapshotIdentifier must be // supplied. SourceIds []*string `locationNameList:"SourceId" type:"list"` // The type of source that will be generating the events. For example, if you // want to be notified of events generated by a DB instance, you would set this // parameter to db-instance. if this value is not specified, all events are // returned. // // Valid values: db-instance | db-cluster | db-parameter-group | db-security-group // | db-snapshot | db-cluster-snapshot SourceType *string `type:"string"` // The name of the subscription. // // Constraints: The name must be less than 255 characters. // // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionMessage
func (CreateEventSubscriptionInput) GoString ¶ added in v0.6.6
func (s CreateEventSubscriptionInput) GoString() string
GoString returns the string representation
func (*CreateEventSubscriptionInput) SetEnabled ¶ added in v1.5.0
func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput
SetEnabled sets the Enabled field's value.
func (*CreateEventSubscriptionInput) SetEventCategories ¶ added in v1.5.0
func (s *CreateEventSubscriptionInput) SetEventCategories(v []*string) *CreateEventSubscriptionInput
SetEventCategories sets the EventCategories field's value.
func (*CreateEventSubscriptionInput) SetSnsTopicArn ¶ added in v1.5.0
func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput
SetSnsTopicArn sets the SnsTopicArn field's value.
func (*CreateEventSubscriptionInput) SetSourceIds ¶ added in v1.5.0
func (s *CreateEventSubscriptionInput) SetSourceIds(v []*string) *CreateEventSubscriptionInput
SetSourceIds sets the SourceIds field's value.
func (*CreateEventSubscriptionInput) SetSourceType ¶ added in v1.5.0
func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput
SetSourceType sets the SourceType field's value.
func (*CreateEventSubscriptionInput) SetSubscriptionName ¶ added in v1.5.0
func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput
SetSubscriptionName sets the SubscriptionName field's value.
func (*CreateEventSubscriptionInput) SetTags ¶ added in v1.5.0
func (s *CreateEventSubscriptionInput) SetTags(v []*Tag) *CreateEventSubscriptionInput
SetTags sets the Tags field's value.
func (CreateEventSubscriptionInput) String ¶ added in v0.6.6
func (s CreateEventSubscriptionInput) String() string
String returns the string representation
func (*CreateEventSubscriptionInput) Validate ¶ added in v1.1.22
func (s *CreateEventSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateEventSubscriptionOutput ¶
type CreateEventSubscriptionOutput struct { // Contains the results of a successful invocation of the DescribeEventSubscriptions // action. EventSubscription *EventSubscription `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionResult
func (CreateEventSubscriptionOutput) GoString ¶ added in v0.6.6
func (s CreateEventSubscriptionOutput) GoString() string
GoString returns the string representation
func (*CreateEventSubscriptionOutput) SetEventSubscription ¶ added in v1.5.0
func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput
SetEventSubscription sets the EventSubscription field's value.
func (CreateEventSubscriptionOutput) String ¶ added in v0.6.6
func (s CreateEventSubscriptionOutput) String() string
String returns the string representation
type CreateOptionGroupInput ¶
type CreateOptionGroupInput struct { // Specifies the name of the engine that this option group should be associated // with. // // EngineName is a required field EngineName *string `type:"string" required:"true"` // Specifies the major version of the engine that this option group should be // associated with. // // MajorEngineVersion is a required field MajorEngineVersion *string `type:"string" required:"true"` // The description of the option group. // // OptionGroupDescription is a required field OptionGroupDescription *string `type:"string" required:"true"` // Specifies the name of the option group to be created. // // Constraints: // // * Must be 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: myoptiongroup // // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupMessage
func (CreateOptionGroupInput) GoString ¶ added in v0.6.6
func (s CreateOptionGroupInput) GoString() string
GoString returns the string representation
func (*CreateOptionGroupInput) SetEngineName ¶ added in v1.5.0
func (s *CreateOptionGroupInput) SetEngineName(v string) *CreateOptionGroupInput
SetEngineName sets the EngineName field's value.
func (*CreateOptionGroupInput) SetMajorEngineVersion ¶ added in v1.5.0
func (s *CreateOptionGroupInput) SetMajorEngineVersion(v string) *CreateOptionGroupInput
SetMajorEngineVersion sets the MajorEngineVersion field's value.
func (*CreateOptionGroupInput) SetOptionGroupDescription ¶ added in v1.5.0
func (s *CreateOptionGroupInput) SetOptionGroupDescription(v string) *CreateOptionGroupInput
SetOptionGroupDescription sets the OptionGroupDescription field's value.
func (*CreateOptionGroupInput) SetOptionGroupName ¶ added in v1.5.0
func (s *CreateOptionGroupInput) SetOptionGroupName(v string) *CreateOptionGroupInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*CreateOptionGroupInput) SetTags ¶ added in v1.5.0
func (s *CreateOptionGroupInput) SetTags(v []*Tag) *CreateOptionGroupInput
SetTags sets the Tags field's value.
func (CreateOptionGroupInput) String ¶ added in v0.6.6
func (s CreateOptionGroupInput) String() string
String returns the string representation
func (*CreateOptionGroupInput) Validate ¶ added in v1.1.22
func (s *CreateOptionGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateOptionGroupOutput ¶
type CreateOptionGroupOutput struct { OptionGroup *OptionGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupResult
func (CreateOptionGroupOutput) GoString ¶ added in v0.6.6
func (s CreateOptionGroupOutput) GoString() string
GoString returns the string representation
func (*CreateOptionGroupOutput) SetOptionGroup ¶ added in v1.5.0
func (s *CreateOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CreateOptionGroupOutput
SetOptionGroup sets the OptionGroup field's value.
func (CreateOptionGroupOutput) String ¶ added in v0.6.6
func (s CreateOptionGroupOutput) String() string
String returns the string representation
type DBCluster ¶ added in v0.7.2
type DBCluster struct { // Specifies the allocated storage size in gigabytes (GB). AllocatedStorage *int64 `type:"integer"` // Provides a list of the AWS Identity and Access Management (IAM) roles that // are associated with the DB cluster. IAM roles that are associated with a // DB cluster grant permission for the DB cluster to access other AWS services // on your behalf. AssociatedRoles []*DBClusterRole `locationNameList:"DBClusterRole" type:"list"` // Provides the list of EC2 Availability Zones that instances in the DB cluster // can be created in. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"` // Specifies the number of days for which automatic DB snapshots are retained. BackupRetentionPeriod *int64 `type:"integer"` // If present, specifies the name of the character set that this cluster is // associated with. CharacterSetName *string `type:"string"` // Specifies the time when the DB cluster was created, in Universal Coordinated // Time (UTC). ClusterCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The Amazon Resource Name (ARN) for the DB cluster. DBClusterArn *string `type:"string"` // Contains a user-supplied DB cluster identifier. This identifier is the unique // key that identifies a DB cluster. DBClusterIdentifier *string `type:"string"` // Provides the list of instances that make up the DB cluster. DBClusterMembers []*DBClusterMember `locationNameList:"DBClusterMember" type:"list"` // Provides the list of option group memberships for this DB cluster. DBClusterOptionGroupMemberships []*DBClusterOptionGroupStatus `locationNameList:"DBClusterOptionGroup" type:"list"` // Specifies the name of the DB cluster parameter group for the DB cluster. DBClusterParameterGroup *string `type:"string"` // Specifies information on the subnet group associated with the DB cluster, // including the name, description, and subnets in the subnet group. DBSubnetGroup *string `type:"string"` // Contains the name of the initial database of this DB cluster that was provided // at create time, if one was specified when the DB cluster was created. This // same name is returned for the life of the DB cluster. DatabaseName *string `type:"string"` // The region-unique, immutable identifier for the DB cluster. This identifier // is found in AWS CloudTrail log entries whenever the KMS key for the DB cluster // is accessed. DbClusterResourceId *string `type:"string"` // Specifies the earliest time to which a database can be restored with point-in-time // restore. EarliestRestorableTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Specifies the connection endpoint for the primary instance of the DB cluster. Endpoint *string `type:"string"` // Provides the name of the database engine to be used for this DB cluster. Engine *string `type:"string"` // Indicates the database engine version. EngineVersion *string `type:"string"` // Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. HostedZoneId *string `type:"string"` // If StorageEncrypted is true, the KMS key identifier for the encrypted DB // cluster. KmsKeyId *string `type:"string"` // Specifies the latest time to which a database can be restored with point-in-time // restore. LatestRestorableTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Contains the master username for the DB cluster. MasterUsername *string `type:"string"` // Specifies whether the DB cluster has instances in multiple Availability Zones. MultiAZ *bool `type:"boolean"` // Specifies the progress of the operation as a percentage. PercentProgress *string `type:"string"` // Specifies the port that the database engine is listening on. Port *int64 `type:"integer"` // Specifies the daily time range during which automated backups are created // if automated backups are enabled, as determined by the BackupRetentionPeriod. PreferredBackupWindow *string `type:"string"` // Specifies the weekly time range during which system maintenance can occur, // in Universal Coordinated Time (UTC). PreferredMaintenanceWindow *string `type:"string"` // Contains one or more identifiers of the Read Replicas associated with this // DB cluster. ReadReplicaIdentifiers []*string `locationNameList:"ReadReplicaIdentifier" type:"list"` // The reader endpoint for the DB cluster. The reader endpoint for a DB cluster // load-balances connections across the Aurora Replicas that are available in // a DB cluster. As clients request new connections to the reader endpoint, // Aurora distributes the connection requests among the Aurora Replicas in the // DB cluster. This functionality can help balance your read workload across // multiple Aurora Replicas in your DB cluster. // // If a failover occurs, and the Aurora Replica that you are connected to is // promoted to be the primary instance, your connection will be dropped. To // continue sending your read workload to other Aurora Replicas in the cluster, // you can then recoonect to the reader endpoint. ReaderEndpoint *string `type:"string"` // Contains the identifier of the source DB cluster if this DB cluster is a // Read Replica. ReplicationSourceIdentifier *string `type:"string"` // Specifies the current state of this DB cluster. Status *string `type:"string"` // Specifies whether the DB cluster is encrypted. StorageEncrypted *bool `type:"boolean"` // Provides a list of VPC security groups that the DB cluster belongs to. VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the following actions:
CreateDBCluster
DeleteDBCluster
FailoverDBCluster
ModifyDBCluster
RestoreDBClusterFromSnapshot
RestoreDBClusterToPointInTime
This data type is used as a response element in the DescribeDBClusters action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster
func (*DBCluster) SetAllocatedStorage ¶ added in v1.5.0
SetAllocatedStorage sets the AllocatedStorage field's value.
func (*DBCluster) SetAssociatedRoles ¶ added in v1.5.0
func (s *DBCluster) SetAssociatedRoles(v []*DBClusterRole) *DBCluster
SetAssociatedRoles sets the AssociatedRoles field's value.
func (*DBCluster) SetAvailabilityZones ¶ added in v1.5.0
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*DBCluster) SetBackupRetentionPeriod ¶ added in v1.5.0
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*DBCluster) SetCharacterSetName ¶ added in v1.5.0
SetCharacterSetName sets the CharacterSetName field's value.
func (*DBCluster) SetClusterCreateTime ¶ added in v1.6.4
SetClusterCreateTime sets the ClusterCreateTime field's value.
func (*DBCluster) SetDBClusterArn ¶ added in v1.5.0
SetDBClusterArn sets the DBClusterArn field's value.
func (*DBCluster) SetDBClusterIdentifier ¶ added in v1.5.0
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*DBCluster) SetDBClusterMembers ¶ added in v1.5.0
func (s *DBCluster) SetDBClusterMembers(v []*DBClusterMember) *DBCluster
SetDBClusterMembers sets the DBClusterMembers field's value.
func (*DBCluster) SetDBClusterOptionGroupMemberships ¶ added in v1.5.0
func (s *DBCluster) SetDBClusterOptionGroupMemberships(v []*DBClusterOptionGroupStatus) *DBCluster
SetDBClusterOptionGroupMemberships sets the DBClusterOptionGroupMemberships field's value.
func (*DBCluster) SetDBClusterParameterGroup ¶ added in v1.5.0
SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value.
func (*DBCluster) SetDBSubnetGroup ¶ added in v1.5.0
SetDBSubnetGroup sets the DBSubnetGroup field's value.
func (*DBCluster) SetDatabaseName ¶ added in v1.5.0
SetDatabaseName sets the DatabaseName field's value.
func (*DBCluster) SetDbClusterResourceId ¶ added in v1.5.0
SetDbClusterResourceId sets the DbClusterResourceId field's value.
func (*DBCluster) SetEarliestRestorableTime ¶ added in v1.5.0
SetEarliestRestorableTime sets the EarliestRestorableTime field's value.
func (*DBCluster) SetEndpoint ¶ added in v1.5.0
SetEndpoint sets the Endpoint field's value.
func (*DBCluster) SetEngineVersion ¶ added in v1.5.0
SetEngineVersion sets the EngineVersion field's value.
func (*DBCluster) SetHostedZoneId ¶ added in v1.5.0
SetHostedZoneId sets the HostedZoneId field's value.
func (*DBCluster) SetKmsKeyId ¶ added in v1.5.0
SetKmsKeyId sets the KmsKeyId field's value.
func (*DBCluster) SetLatestRestorableTime ¶ added in v1.5.0
SetLatestRestorableTime sets the LatestRestorableTime field's value.
func (*DBCluster) SetMasterUsername ¶ added in v1.5.0
SetMasterUsername sets the MasterUsername field's value.
func (*DBCluster) SetMultiAZ ¶ added in v1.6.4
SetMultiAZ sets the MultiAZ field's value.
func (*DBCluster) SetPercentProgress ¶ added in v1.5.0
SetPercentProgress sets the PercentProgress field's value.
func (*DBCluster) SetPreferredBackupWindow ¶ added in v1.5.0
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (*DBCluster) SetPreferredMaintenanceWindow ¶ added in v1.5.0
SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
func (*DBCluster) SetReadReplicaIdentifiers ¶ added in v1.5.0
SetReadReplicaIdentifiers sets the ReadReplicaIdentifiers field's value.
func (*DBCluster) SetReaderEndpoint ¶ added in v1.5.0
SetReaderEndpoint sets the ReaderEndpoint field's value.
func (*DBCluster) SetReplicationSourceIdentifier ¶ added in v1.5.0
SetReplicationSourceIdentifier sets the ReplicationSourceIdentifier field's value.
func (*DBCluster) SetStorageEncrypted ¶ added in v1.5.0
SetStorageEncrypted sets the StorageEncrypted field's value.
func (*DBCluster) SetVpcSecurityGroups ¶ added in v1.5.0
func (s *DBCluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBCluster
SetVpcSecurityGroups sets the VpcSecurityGroups field's value.
type DBClusterMember ¶ added in v0.7.2
type DBClusterMember struct { // Specifies the status of the DB cluster parameter group for this member of // the DB cluster. DBClusterParameterGroupStatus *string `type:"string"` // Specifies the instance identifier for this member of the DB cluster. DBInstanceIdentifier *string `type:"string"` // Value that is true if the cluster member is the primary instance for the // DB cluster and false otherwise. IsClusterWriter *bool `type:"boolean"` // A value that specifies the order in which an Aurora Replica is promoted to // the primary instance after a failure of the existing primary instance. For // more information, see Fault Tolerance for an Aurora DB Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance). PromotionTier *int64 `type:"integer"` // contains filtered or unexported fields }
Contains information about an instance that is part of a DB cluster. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMember
func (DBClusterMember) GoString ¶ added in v0.7.2
func (s DBClusterMember) GoString() string
GoString returns the string representation
func (*DBClusterMember) SetDBClusterParameterGroupStatus ¶ added in v1.5.0
func (s *DBClusterMember) SetDBClusterParameterGroupStatus(v string) *DBClusterMember
SetDBClusterParameterGroupStatus sets the DBClusterParameterGroupStatus field's value.
func (*DBClusterMember) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DBClusterMember) SetDBInstanceIdentifier(v string) *DBClusterMember
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DBClusterMember) SetIsClusterWriter ¶ added in v1.5.0
func (s *DBClusterMember) SetIsClusterWriter(v bool) *DBClusterMember
SetIsClusterWriter sets the IsClusterWriter field's value.
func (*DBClusterMember) SetPromotionTier ¶ added in v1.5.0
func (s *DBClusterMember) SetPromotionTier(v int64) *DBClusterMember
SetPromotionTier sets the PromotionTier field's value.
func (DBClusterMember) String ¶ added in v0.7.2
func (s DBClusterMember) String() string
String returns the string representation
type DBClusterOptionGroupStatus ¶ added in v0.7.2
type DBClusterOptionGroupStatus struct { // Specifies the name of the DB cluster option group. DBClusterOptionGroupName *string `type:"string"` // Specifies the status of the DB cluster option group. Status *string `type:"string"` // contains filtered or unexported fields }
Contains status information for a DB cluster option group. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterOptionGroupStatus
func (DBClusterOptionGroupStatus) GoString ¶ added in v0.7.2
func (s DBClusterOptionGroupStatus) GoString() string
GoString returns the string representation
func (*DBClusterOptionGroupStatus) SetDBClusterOptionGroupName ¶ added in v1.5.0
func (s *DBClusterOptionGroupStatus) SetDBClusterOptionGroupName(v string) *DBClusterOptionGroupStatus
SetDBClusterOptionGroupName sets the DBClusterOptionGroupName field's value.
func (*DBClusterOptionGroupStatus) SetStatus ¶ added in v1.5.0
func (s *DBClusterOptionGroupStatus) SetStatus(v string) *DBClusterOptionGroupStatus
SetStatus sets the Status field's value.
func (DBClusterOptionGroupStatus) String ¶ added in v0.7.2
func (s DBClusterOptionGroupStatus) String() string
String returns the string representation
type DBClusterParameterGroup ¶ added in v0.7.2
type DBClusterParameterGroup struct { // The Amazon Resource Name (ARN) for the DB cluster parameter group. DBClusterParameterGroupArn *string `type:"string"` // Provides the name of the DB cluster parameter group. DBClusterParameterGroupName *string `type:"string"` // Provides the name of the DB parameter group family that this DB cluster parameter // group is compatible with. DBParameterGroupFamily *string `type:"string"` // Provides the customer-specified description for this DB cluster parameter // group. Description *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the CreateDBClusterParameterGroup or CopyDBClusterParameterGroup action.
This data type is used as a request parameter in the DeleteDBClusterParameterGroup action, and as a response element in the DescribeDBClusterParameterGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroup
func (DBClusterParameterGroup) GoString ¶ added in v0.7.2
func (s DBClusterParameterGroup) GoString() string
GoString returns the string representation
func (*DBClusterParameterGroup) SetDBClusterParameterGroupArn ¶ added in v1.5.0
func (s *DBClusterParameterGroup) SetDBClusterParameterGroupArn(v string) *DBClusterParameterGroup
SetDBClusterParameterGroupArn sets the DBClusterParameterGroupArn field's value.
func (*DBClusterParameterGroup) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *DBClusterParameterGroup) SetDBClusterParameterGroupName(v string) *DBClusterParameterGroup
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*DBClusterParameterGroup) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *DBClusterParameterGroup) SetDBParameterGroupFamily(v string) *DBClusterParameterGroup
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*DBClusterParameterGroup) SetDescription ¶ added in v1.5.0
func (s *DBClusterParameterGroup) SetDescription(v string) *DBClusterParameterGroup
SetDescription sets the Description field's value.
func (DBClusterParameterGroup) String ¶ added in v0.7.2
func (s DBClusterParameterGroup) String() string
String returns the string representation
type DBClusterParameterGroupNameMessage ¶ added in v0.7.2
type DBClusterParameterGroupNameMessage struct { // The name of the DB cluster parameter group. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // This value is stored as a lowercase string. DBClusterParameterGroupName *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupNameMessage
func (DBClusterParameterGroupNameMessage) GoString ¶ added in v0.7.2
func (s DBClusterParameterGroupNameMessage) GoString() string
GoString returns the string representation
func (*DBClusterParameterGroupNameMessage) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *DBClusterParameterGroupNameMessage) SetDBClusterParameterGroupName(v string) *DBClusterParameterGroupNameMessage
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (DBClusterParameterGroupNameMessage) String ¶ added in v0.7.2
func (s DBClusterParameterGroupNameMessage) String() string
String returns the string representation
type DBClusterRole ¶ added in v1.4.20
type DBClusterRole struct { // The Amazon Resource Name (ARN) of the IAM role that is associated with the // DB cluster. RoleArn *string `type:"string"` // Describes the state of association between the IAM role and the DB cluster. // The Status property returns one of the following values: // // * ACTIVE - the IAM role ARN is associated with the DB cluster and can // be used to access other AWS services on your behalf. // // * PENDING - the IAM role ARN is being associated with the DB cluster. // // * INVALID - the IAM role ARN is associated with the DB cluster, but the // DB cluster is unable to assume the IAM role in order to access other AWS // services on your behalf. Status *string `type:"string"` // contains filtered or unexported fields }
Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterRole
func (DBClusterRole) GoString ¶ added in v1.4.20
func (s DBClusterRole) GoString() string
GoString returns the string representation
func (*DBClusterRole) SetRoleArn ¶ added in v1.5.0
func (s *DBClusterRole) SetRoleArn(v string) *DBClusterRole
SetRoleArn sets the RoleArn field's value.
func (*DBClusterRole) SetStatus ¶ added in v1.5.0
func (s *DBClusterRole) SetStatus(v string) *DBClusterRole
SetStatus sets the Status field's value.
func (DBClusterRole) String ¶ added in v1.4.20
func (s DBClusterRole) String() string
String returns the string representation
type DBClusterSnapshot ¶ added in v0.7.2
type DBClusterSnapshot struct { // Specifies the allocated storage size in gigabytes (GB). AllocatedStorage *int64 `type:"integer"` // Provides the list of EC2 Availability Zones that instances in the DB cluster // snapshot can be restored in. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"` // Specifies the time when the DB cluster was created, in Universal Coordinated // Time (UTC). ClusterCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Specifies the DB cluster identifier of the DB cluster that this DB cluster // snapshot was created from. DBClusterIdentifier *string `type:"string"` // The Amazon Resource Name (ARN) for the DB cluster snapshot. DBClusterSnapshotArn *string `type:"string"` // Specifies the identifier for the DB cluster snapshot. DBClusterSnapshotIdentifier *string `type:"string"` // Specifies the name of the database engine. Engine *string `type:"string"` // Provides the version of the database engine for this DB cluster snapshot. EngineVersion *string `type:"string"` // If StorageEncrypted is true, the KMS key identifier for the encrypted DB // cluster snapshot. KmsKeyId *string `type:"string"` // Provides the license model information for this DB cluster snapshot. LicenseModel *string `type:"string"` // Provides the master username for the DB cluster snapshot. MasterUsername *string `type:"string"` // Specifies the percentage of the estimated data that has been transferred. PercentProgress *int64 `type:"integer"` // Specifies the port that the DB cluster was listening on at the time of the // snapshot. Port *int64 `type:"integer"` // Provides the time when the snapshot was taken, in Universal Coordinated Time // (UTC). SnapshotCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Provides the type of the DB cluster snapshot. SnapshotType *string `type:"string"` // Specifies the status of this DB cluster snapshot. Status *string `type:"string"` // Specifies whether the DB cluster snapshot is encrypted. StorageEncrypted *bool `type:"boolean"` // Provides the VPC ID associated with the DB cluster snapshot. VpcId *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the following actions:
CreateDBClusterSnapshot
DeleteDBClusterSnapshot
This data type is used as a response element in the DescribeDBClusterSnapshots action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshot
func (DBClusterSnapshot) GoString ¶ added in v0.7.2
func (s DBClusterSnapshot) GoString() string
GoString returns the string representation
func (*DBClusterSnapshot) SetAllocatedStorage ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetAllocatedStorage(v int64) *DBClusterSnapshot
SetAllocatedStorage sets the AllocatedStorage field's value.
func (*DBClusterSnapshot) SetAvailabilityZones ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetAvailabilityZones(v []*string) *DBClusterSnapshot
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*DBClusterSnapshot) SetClusterCreateTime ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetClusterCreateTime(v time.Time) *DBClusterSnapshot
SetClusterCreateTime sets the ClusterCreateTime field's value.
func (*DBClusterSnapshot) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetDBClusterIdentifier(v string) *DBClusterSnapshot
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*DBClusterSnapshot) SetDBClusterSnapshotArn ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetDBClusterSnapshotArn(v string) *DBClusterSnapshot
SetDBClusterSnapshotArn sets the DBClusterSnapshotArn field's value.
func (*DBClusterSnapshot) SetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshot
SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
func (*DBClusterSnapshot) SetEngine ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetEngine(v string) *DBClusterSnapshot
SetEngine sets the Engine field's value.
func (*DBClusterSnapshot) SetEngineVersion ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetEngineVersion(v string) *DBClusterSnapshot
SetEngineVersion sets the EngineVersion field's value.
func (*DBClusterSnapshot) SetKmsKeyId ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetKmsKeyId(v string) *DBClusterSnapshot
SetKmsKeyId sets the KmsKeyId field's value.
func (*DBClusterSnapshot) SetLicenseModel ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetLicenseModel(v string) *DBClusterSnapshot
SetLicenseModel sets the LicenseModel field's value.
func (*DBClusterSnapshot) SetMasterUsername ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetMasterUsername(v string) *DBClusterSnapshot
SetMasterUsername sets the MasterUsername field's value.
func (*DBClusterSnapshot) SetPercentProgress ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetPercentProgress(v int64) *DBClusterSnapshot
SetPercentProgress sets the PercentProgress field's value.
func (*DBClusterSnapshot) SetPort ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetPort(v int64) *DBClusterSnapshot
SetPort sets the Port field's value.
func (*DBClusterSnapshot) SetSnapshotCreateTime ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetSnapshotCreateTime(v time.Time) *DBClusterSnapshot
SetSnapshotCreateTime sets the SnapshotCreateTime field's value.
func (*DBClusterSnapshot) SetSnapshotType ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetSnapshotType(v string) *DBClusterSnapshot
SetSnapshotType sets the SnapshotType field's value.
func (*DBClusterSnapshot) SetStatus ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetStatus(v string) *DBClusterSnapshot
SetStatus sets the Status field's value.
func (*DBClusterSnapshot) SetStorageEncrypted ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetStorageEncrypted(v bool) *DBClusterSnapshot
SetStorageEncrypted sets the StorageEncrypted field's value.
func (*DBClusterSnapshot) SetVpcId ¶ added in v1.5.0
func (s *DBClusterSnapshot) SetVpcId(v string) *DBClusterSnapshot
SetVpcId sets the VpcId field's value.
func (DBClusterSnapshot) String ¶ added in v0.7.2
func (s DBClusterSnapshot) String() string
String returns the string representation
type DBClusterSnapshotAttribute ¶ added in v1.1.33
type DBClusterSnapshotAttribute struct { // The name of the manual DB cluster snapshot attribute. // // The attribute named restore refers to the list of AWS accounts that have // permission to copy or restore the manual DB cluster snapshot. For more information, // see the ModifyDBClusterSnapshotAttribute API action. AttributeName *string `type:"string"` // The value(s) for the manual DB cluster snapshot attribute. // // If the AttributeName field is set to restore, then this element returns a // list of IDs of the AWS accounts that are authorized to copy or restore the // manual DB cluster snapshot. If a value of all is in the list, then the manual // DB cluster snapshot is public and available for any AWS account to copy or // restore. AttributeValues []*string `locationNameList:"AttributeValue" type:"list"` // contains filtered or unexported fields }
Contains the name and values of a manual DB cluster snapshot attribute.
Manual DB cluster snapshot attributes are used to authorize other AWS accounts to restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotAttribute
func (DBClusterSnapshotAttribute) GoString ¶ added in v1.1.33
func (s DBClusterSnapshotAttribute) GoString() string
GoString returns the string representation
func (*DBClusterSnapshotAttribute) SetAttributeName ¶ added in v1.5.0
func (s *DBClusterSnapshotAttribute) SetAttributeName(v string) *DBClusterSnapshotAttribute
SetAttributeName sets the AttributeName field's value.
func (*DBClusterSnapshotAttribute) SetAttributeValues ¶ added in v1.5.0
func (s *DBClusterSnapshotAttribute) SetAttributeValues(v []*string) *DBClusterSnapshotAttribute
SetAttributeValues sets the AttributeValues field's value.
func (DBClusterSnapshotAttribute) String ¶ added in v1.1.33
func (s DBClusterSnapshotAttribute) String() string
String returns the string representation
type DBClusterSnapshotAttributesResult ¶ added in v1.1.33
type DBClusterSnapshotAttributesResult struct { // The list of attributes and values for the manual DB cluster snapshot. DBClusterSnapshotAttributes []*DBClusterSnapshotAttribute `locationNameList:"DBClusterSnapshotAttribute" type:"list"` // The identifier of the manual DB cluster snapshot that the attributes apply // to. DBClusterSnapshotIdentifier *string `type:"string"` // contains filtered or unexported fields }
Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes API action.
Manual DB cluster snapshot attributes are used to authorize other AWS accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotAttributesResult
func (DBClusterSnapshotAttributesResult) GoString ¶ added in v1.1.33
func (s DBClusterSnapshotAttributesResult) GoString() string
GoString returns the string representation
func (*DBClusterSnapshotAttributesResult) SetDBClusterSnapshotAttributes ¶ added in v1.5.0
func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotAttributes(v []*DBClusterSnapshotAttribute) *DBClusterSnapshotAttributesResult
SetDBClusterSnapshotAttributes sets the DBClusterSnapshotAttributes field's value.
func (*DBClusterSnapshotAttributesResult) SetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshotAttributesResult
SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
func (DBClusterSnapshotAttributesResult) String ¶ added in v1.1.33
func (s DBClusterSnapshotAttributesResult) String() string
String returns the string representation
type DBEngineVersion ¶
type DBEngineVersion struct { // The description of the database engine. DBEngineDescription *string `type:"string"` // The description of the database engine version. DBEngineVersionDescription *string `type:"string"` // The name of the DB parameter group family for the database engine. DBParameterGroupFamily *string `type:"string"` // The default character set for new instances of this engine version, if the // CharacterSetName parameter of the CreateDBInstance API is not specified. DefaultCharacterSet *CharacterSet `type:"structure"` // The name of the database engine. Engine *string `type:"string"` // The version number of the database engine. EngineVersion *string `type:"string"` // A list of the character sets supported by this engine for the CharacterSetName // parameter of the CreateDBInstance action. SupportedCharacterSets []*CharacterSet `locationNameList:"CharacterSet" type:"list"` // A list of the time zones supported by this engine for the Timezone parameter // of the CreateDBInstance action. SupportedTimezones []*Timezone `locationNameList:"Timezone" type:"list"` // A list of engine versions that this database engine version can be upgraded // to. ValidUpgradeTarget []*UpgradeTarget `locationNameList:"UpgradeTarget" type:"list"` // contains filtered or unexported fields }
This data type is used as a response element in the action DescribeDBEngineVersions. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersion
func (DBEngineVersion) GoString ¶ added in v0.6.6
func (s DBEngineVersion) GoString() string
GoString returns the string representation
func (*DBEngineVersion) SetDBEngineDescription ¶ added in v1.5.0
func (s *DBEngineVersion) SetDBEngineDescription(v string) *DBEngineVersion
SetDBEngineDescription sets the DBEngineDescription field's value.
func (*DBEngineVersion) SetDBEngineVersionDescription ¶ added in v1.5.0
func (s *DBEngineVersion) SetDBEngineVersionDescription(v string) *DBEngineVersion
SetDBEngineVersionDescription sets the DBEngineVersionDescription field's value.
func (*DBEngineVersion) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *DBEngineVersion) SetDBParameterGroupFamily(v string) *DBEngineVersion
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*DBEngineVersion) SetDefaultCharacterSet ¶ added in v1.5.0
func (s *DBEngineVersion) SetDefaultCharacterSet(v *CharacterSet) *DBEngineVersion
SetDefaultCharacterSet sets the DefaultCharacterSet field's value.
func (*DBEngineVersion) SetEngine ¶ added in v1.5.0
func (s *DBEngineVersion) SetEngine(v string) *DBEngineVersion
SetEngine sets the Engine field's value.
func (*DBEngineVersion) SetEngineVersion ¶ added in v1.5.0
func (s *DBEngineVersion) SetEngineVersion(v string) *DBEngineVersion
SetEngineVersion sets the EngineVersion field's value.
func (*DBEngineVersion) SetSupportedCharacterSets ¶ added in v1.5.0
func (s *DBEngineVersion) SetSupportedCharacterSets(v []*CharacterSet) *DBEngineVersion
SetSupportedCharacterSets sets the SupportedCharacterSets field's value.
func (*DBEngineVersion) SetSupportedTimezones ¶ added in v1.5.0
func (s *DBEngineVersion) SetSupportedTimezones(v []*Timezone) *DBEngineVersion
SetSupportedTimezones sets the SupportedTimezones field's value.
func (*DBEngineVersion) SetValidUpgradeTarget ¶ added in v1.5.0
func (s *DBEngineVersion) SetValidUpgradeTarget(v []*UpgradeTarget) *DBEngineVersion
SetValidUpgradeTarget sets the ValidUpgradeTarget field's value.
func (DBEngineVersion) String ¶ added in v0.6.6
func (s DBEngineVersion) String() string
String returns the string representation
type DBInstance ¶
type DBInstance struct { // Specifies the allocated storage size specified in gigabytes. AllocatedStorage *int64 `type:"integer"` // Indicates that minor version patches are applied automatically. AutoMinorVersionUpgrade *bool `type:"boolean"` // Specifies the name of the Availability Zone the DB instance is located in. AvailabilityZone *string `type:"string"` // Specifies the number of days for which automatic DB snapshots are retained. BackupRetentionPeriod *int64 `type:"integer"` // The identifier of the CA certificate for this DB instance. CACertificateIdentifier *string `type:"string"` // If present, specifies the name of the character set that this instance is // associated with. CharacterSetName *string `type:"string"` // Specifies whether tags are copied from the DB instance to snapshots of the // DB instance. CopyTagsToSnapshot *bool `type:"boolean"` // If the DB instance is a member of a DB cluster, contains the name of the // DB cluster that the DB instance is a member of. DBClusterIdentifier *string `type:"string"` // The Amazon Resource Name (ARN) for the DB instance. DBInstanceArn *string `type:"string"` // Contains the name of the compute and memory capacity class of the DB instance. DBInstanceClass *string `type:"string"` // Contains a user-supplied database identifier. This identifier is the unique // key that identifies a DB instance. DBInstanceIdentifier *string `type:"string"` // Specifies the current state of this database. DBInstanceStatus *string `type:"string"` // The meaning of this parameter differs according to the database engine you // use. For example, this value returns MySQL, MariaDB, or PostgreSQL information // when returning values from CreateDBInstanceReadReplica since Read Replicas // are only supported for these engines. // // MySQL, MariaDB, SQL Server, PostgreSQL, Amazon Aurora // // Contains the name of the initial database of this instance that was provided // at create time, if one was specified when the DB instance was created. This // same name is returned for the life of the DB instance. // // Type: String // // Oracle // // Contains the Oracle System ID (SID) of the created DB instance. Not shown // when the returned parameters do not apply to an Oracle DB instance. DBName *string `type:"string"` // Provides the list of DB parameter groups applied to this DB instance. DBParameterGroups []*DBParameterGroupStatus `locationNameList:"DBParameterGroup" type:"list"` // Provides List of DB security group elements containing only DBSecurityGroup.Name // and DBSecurityGroup.Status subelements. DBSecurityGroups []*DBSecurityGroupMembership `locationNameList:"DBSecurityGroup" type:"list"` // Specifies information on the subnet group associated with the DB instance, // including the name, description, and subnets in the subnet group. DBSubnetGroup *DBSubnetGroup `type:"structure"` // Specifies the port that the DB instance listens on. If the DB instance is // part of a DB cluster, this can be a different port than the DB cluster port. DbInstancePort *int64 `type:"integer"` // The region-unique, immutable identifier for the DB instance. This identifier // is found in AWS CloudTrail log entries whenever the KMS key for the DB instance // is accessed. DbiResourceId *string `type:"string"` // The Active Directory Domain membership records associated with the DB instance. DomainMemberships []*DomainMembership `locationNameList:"DomainMembership" type:"list"` // Specifies the connection endpoint. Endpoint *Endpoint `type:"structure"` // Provides the name of the database engine to be used for this DB instance. Engine *string `type:"string"` // Indicates the database engine version. EngineVersion *string `type:"string"` // The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that // receives the Enhanced Monitoring metrics data for the DB instance. EnhancedMonitoringResourceArn *string `type:"string"` // Provides the date and time the DB instance was created. InstanceCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Specifies the Provisioned IOPS (I/O operations per second) value. Iops *int64 `type:"integer"` // If StorageEncrypted is true, the KMS key identifier for the encrypted DB // instance. KmsKeyId *string `type:"string"` // Specifies the latest time to which a database can be restored with point-in-time // restore. LatestRestorableTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // License model information for this DB instance. LicenseModel *string `type:"string"` // Contains the master username for the DB instance. MasterUsername *string `type:"string"` // The interval, in seconds, between points when Enhanced Monitoring metrics // are collected for the DB instance. MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics // to CloudWatch Logs. MonitoringRoleArn *string `type:"string"` // Specifies if the DB instance is a Multi-AZ deployment. MultiAZ *bool `type:"boolean"` // Provides the list of option group memberships for this DB instance. OptionGroupMemberships []*OptionGroupMembership `locationNameList:"OptionGroupMembership" type:"list"` // Specifies that changes to the DB instance are pending. This element is only // included when changes are pending. Specific changes are identified by subelements. PendingModifiedValues *PendingModifiedValues `type:"structure"` // Specifies the daily time range during which automated backups are created // if automated backups are enabled, as determined by the BackupRetentionPeriod. PreferredBackupWindow *string `type:"string"` // Specifies the weekly time range during which system maintenance can occur, // in Universal Coordinated Time (UTC). PreferredMaintenanceWindow *string `type:"string"` // A value that specifies the order in which an Aurora Replica is promoted to // the primary instance after a failure of the existing primary instance. For // more information, see Fault Tolerance for an Aurora DB Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance). PromotionTier *int64 `type:"integer"` // Specifies the accessibility options for the DB instance. A value of true // specifies an Internet-facing instance with a publicly resolvable DNS name, // which resolves to a public IP address. A value of false specifies an internal // instance with a DNS name that resolves to a private IP address. // // Default: The default behavior varies depending on whether a VPC has been // requested or not. The following list shows the default behavior in each case. // // * Default VPC:true // // * VPC:false // // If no DB subnet group has been specified as part of the request and the PubliclyAccessible // value has not been set, the DB instance will be publicly accessible. If a // specific DB subnet group has been specified as part of the request and the // PubliclyAccessible value has not been set, the DB instance will be private. PubliclyAccessible *bool `type:"boolean"` // Contains one or more identifiers of Aurora DB clusters that are Read Replicas // of this DB instance. ReadReplicaDBClusterIdentifiers []*string `locationNameList:"ReadReplicaDBClusterIdentifier" type:"list"` // Contains one or more identifiers of the Read Replicas associated with this // DB instance. ReadReplicaDBInstanceIdentifiers []*string `locationNameList:"ReadReplicaDBInstanceIdentifier" type:"list"` // Contains the identifier of the source DB instance if this DB instance is // a Read Replica. ReadReplicaSourceDBInstanceIdentifier *string `type:"string"` // If present, specifies the name of the secondary Availability Zone for a DB // instance with multi-AZ support. SecondaryAvailabilityZone *string `type:"string"` // The status of a Read Replica. If the instance is not a Read Replica, this // will be blank. StatusInfos []*DBInstanceStatusInfo `locationNameList:"DBInstanceStatusInfo" type:"list"` // Specifies whether the DB instance is encrypted. StorageEncrypted *bool `type:"boolean"` // Specifies the storage type associated with DB instance. StorageType *string `type:"string"` // The ARN from the key store with which the instance is associated for TDE // encryption. TdeCredentialArn *string `type:"string"` // The time zone of the DB instance. In most cases, the Timezone element is // empty. Timezone content appears only for Microsoft SQL Server DB instances // that were created with a time zone specified. Timezone *string `type:"string"` // Provides a list of VPC security group elements that the DB instance belongs // to. VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the following actions:
CreateDBInstance
DeleteDBInstance
ModifyDBInstance
This data type is used as a response element in the DescribeDBInstances action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance
func (DBInstance) GoString ¶ added in v0.6.6
func (s DBInstance) GoString() string
GoString returns the string representation
func (*DBInstance) SetAllocatedStorage ¶ added in v1.5.0
func (s *DBInstance) SetAllocatedStorage(v int64) *DBInstance
SetAllocatedStorage sets the AllocatedStorage field's value.
func (*DBInstance) SetAutoMinorVersionUpgrade ¶ added in v1.5.0
func (s *DBInstance) SetAutoMinorVersionUpgrade(v bool) *DBInstance
SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
func (*DBInstance) SetAvailabilityZone ¶ added in v1.5.0
func (s *DBInstance) SetAvailabilityZone(v string) *DBInstance
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*DBInstance) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *DBInstance) SetBackupRetentionPeriod(v int64) *DBInstance
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*DBInstance) SetCACertificateIdentifier ¶ added in v1.5.0
func (s *DBInstance) SetCACertificateIdentifier(v string) *DBInstance
SetCACertificateIdentifier sets the CACertificateIdentifier field's value.
func (*DBInstance) SetCharacterSetName ¶ added in v1.5.0
func (s *DBInstance) SetCharacterSetName(v string) *DBInstance
SetCharacterSetName sets the CharacterSetName field's value.
func (*DBInstance) SetCopyTagsToSnapshot ¶ added in v1.5.0
func (s *DBInstance) SetCopyTagsToSnapshot(v bool) *DBInstance
SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
func (*DBInstance) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *DBInstance) SetDBClusterIdentifier(v string) *DBInstance
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*DBInstance) SetDBInstanceArn ¶ added in v1.5.0
func (s *DBInstance) SetDBInstanceArn(v string) *DBInstance
SetDBInstanceArn sets the DBInstanceArn field's value.
func (*DBInstance) SetDBInstanceClass ¶ added in v1.5.0
func (s *DBInstance) SetDBInstanceClass(v string) *DBInstance
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*DBInstance) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DBInstance) SetDBInstanceIdentifier(v string) *DBInstance
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DBInstance) SetDBInstanceStatus ¶ added in v1.5.0
func (s *DBInstance) SetDBInstanceStatus(v string) *DBInstance
SetDBInstanceStatus sets the DBInstanceStatus field's value.
func (*DBInstance) SetDBName ¶ added in v1.5.0
func (s *DBInstance) SetDBName(v string) *DBInstance
SetDBName sets the DBName field's value.
func (*DBInstance) SetDBParameterGroups ¶ added in v1.5.0
func (s *DBInstance) SetDBParameterGroups(v []*DBParameterGroupStatus) *DBInstance
SetDBParameterGroups sets the DBParameterGroups field's value.
func (*DBInstance) SetDBSecurityGroups ¶ added in v1.5.0
func (s *DBInstance) SetDBSecurityGroups(v []*DBSecurityGroupMembership) *DBInstance
SetDBSecurityGroups sets the DBSecurityGroups field's value.
func (*DBInstance) SetDBSubnetGroup ¶ added in v1.5.0
func (s *DBInstance) SetDBSubnetGroup(v *DBSubnetGroup) *DBInstance
SetDBSubnetGroup sets the DBSubnetGroup field's value.
func (*DBInstance) SetDbInstancePort ¶ added in v1.5.0
func (s *DBInstance) SetDbInstancePort(v int64) *DBInstance
SetDbInstancePort sets the DbInstancePort field's value.
func (*DBInstance) SetDbiResourceId ¶ added in v1.5.0
func (s *DBInstance) SetDbiResourceId(v string) *DBInstance
SetDbiResourceId sets the DbiResourceId field's value.
func (*DBInstance) SetDomainMemberships ¶ added in v1.5.0
func (s *DBInstance) SetDomainMemberships(v []*DomainMembership) *DBInstance
SetDomainMemberships sets the DomainMemberships field's value.
func (*DBInstance) SetEndpoint ¶ added in v1.5.0
func (s *DBInstance) SetEndpoint(v *Endpoint) *DBInstance
SetEndpoint sets the Endpoint field's value.
func (*DBInstance) SetEngine ¶ added in v1.5.0
func (s *DBInstance) SetEngine(v string) *DBInstance
SetEngine sets the Engine field's value.
func (*DBInstance) SetEngineVersion ¶ added in v1.5.0
func (s *DBInstance) SetEngineVersion(v string) *DBInstance
SetEngineVersion sets the EngineVersion field's value.
func (*DBInstance) SetEnhancedMonitoringResourceArn ¶ added in v1.5.0
func (s *DBInstance) SetEnhancedMonitoringResourceArn(v string) *DBInstance
SetEnhancedMonitoringResourceArn sets the EnhancedMonitoringResourceArn field's value.
func (*DBInstance) SetInstanceCreateTime ¶ added in v1.5.0
func (s *DBInstance) SetInstanceCreateTime(v time.Time) *DBInstance
SetInstanceCreateTime sets the InstanceCreateTime field's value.
func (*DBInstance) SetIops ¶ added in v1.5.0
func (s *DBInstance) SetIops(v int64) *DBInstance
SetIops sets the Iops field's value.
func (*DBInstance) SetKmsKeyId ¶ added in v1.5.0
func (s *DBInstance) SetKmsKeyId(v string) *DBInstance
SetKmsKeyId sets the KmsKeyId field's value.
func (*DBInstance) SetLatestRestorableTime ¶ added in v1.5.0
func (s *DBInstance) SetLatestRestorableTime(v time.Time) *DBInstance
SetLatestRestorableTime sets the LatestRestorableTime field's value.
func (*DBInstance) SetLicenseModel ¶ added in v1.5.0
func (s *DBInstance) SetLicenseModel(v string) *DBInstance
SetLicenseModel sets the LicenseModel field's value.
func (*DBInstance) SetMasterUsername ¶ added in v1.5.0
func (s *DBInstance) SetMasterUsername(v string) *DBInstance
SetMasterUsername sets the MasterUsername field's value.
func (*DBInstance) SetMonitoringInterval ¶ added in v1.5.0
func (s *DBInstance) SetMonitoringInterval(v int64) *DBInstance
SetMonitoringInterval sets the MonitoringInterval field's value.
func (*DBInstance) SetMonitoringRoleArn ¶ added in v1.5.0
func (s *DBInstance) SetMonitoringRoleArn(v string) *DBInstance
SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
func (*DBInstance) SetMultiAZ ¶ added in v1.5.0
func (s *DBInstance) SetMultiAZ(v bool) *DBInstance
SetMultiAZ sets the MultiAZ field's value.
func (*DBInstance) SetOptionGroupMemberships ¶ added in v1.5.0
func (s *DBInstance) SetOptionGroupMemberships(v []*OptionGroupMembership) *DBInstance
SetOptionGroupMemberships sets the OptionGroupMemberships field's value.
func (*DBInstance) SetPendingModifiedValues ¶ added in v1.5.0
func (s *DBInstance) SetPendingModifiedValues(v *PendingModifiedValues) *DBInstance
SetPendingModifiedValues sets the PendingModifiedValues field's value.
func (*DBInstance) SetPreferredBackupWindow ¶ added in v1.5.0
func (s *DBInstance) SetPreferredBackupWindow(v string) *DBInstance
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (*DBInstance) SetPreferredMaintenanceWindow ¶ added in v1.5.0
func (s *DBInstance) SetPreferredMaintenanceWindow(v string) *DBInstance
SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
func (*DBInstance) SetPromotionTier ¶ added in v1.5.0
func (s *DBInstance) SetPromotionTier(v int64) *DBInstance
SetPromotionTier sets the PromotionTier field's value.
func (*DBInstance) SetPubliclyAccessible ¶ added in v1.5.0
func (s *DBInstance) SetPubliclyAccessible(v bool) *DBInstance
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*DBInstance) SetReadReplicaDBClusterIdentifiers ¶ added in v1.6.14
func (s *DBInstance) SetReadReplicaDBClusterIdentifiers(v []*string) *DBInstance
SetReadReplicaDBClusterIdentifiers sets the ReadReplicaDBClusterIdentifiers field's value.
func (*DBInstance) SetReadReplicaDBInstanceIdentifiers ¶ added in v1.5.0
func (s *DBInstance) SetReadReplicaDBInstanceIdentifiers(v []*string) *DBInstance
SetReadReplicaDBInstanceIdentifiers sets the ReadReplicaDBInstanceIdentifiers field's value.
func (*DBInstance) SetReadReplicaSourceDBInstanceIdentifier ¶ added in v1.5.0
func (s *DBInstance) SetReadReplicaSourceDBInstanceIdentifier(v string) *DBInstance
SetReadReplicaSourceDBInstanceIdentifier sets the ReadReplicaSourceDBInstanceIdentifier field's value.
func (*DBInstance) SetSecondaryAvailabilityZone ¶ added in v1.5.0
func (s *DBInstance) SetSecondaryAvailabilityZone(v string) *DBInstance
SetSecondaryAvailabilityZone sets the SecondaryAvailabilityZone field's value.
func (*DBInstance) SetStatusInfos ¶ added in v1.5.0
func (s *DBInstance) SetStatusInfos(v []*DBInstanceStatusInfo) *DBInstance
SetStatusInfos sets the StatusInfos field's value.
func (*DBInstance) SetStorageEncrypted ¶ added in v1.5.0
func (s *DBInstance) SetStorageEncrypted(v bool) *DBInstance
SetStorageEncrypted sets the StorageEncrypted field's value.
func (*DBInstance) SetStorageType ¶ added in v1.5.0
func (s *DBInstance) SetStorageType(v string) *DBInstance
SetStorageType sets the StorageType field's value.
func (*DBInstance) SetTdeCredentialArn ¶ added in v1.5.0
func (s *DBInstance) SetTdeCredentialArn(v string) *DBInstance
SetTdeCredentialArn sets the TdeCredentialArn field's value.
func (*DBInstance) SetTimezone ¶ added in v1.5.0
func (s *DBInstance) SetTimezone(v string) *DBInstance
SetTimezone sets the Timezone field's value.
func (*DBInstance) SetVpcSecurityGroups ¶ added in v1.5.0
func (s *DBInstance) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBInstance
SetVpcSecurityGroups sets the VpcSecurityGroups field's value.
func (DBInstance) String ¶ added in v0.6.6
func (s DBInstance) String() string
String returns the string representation
type DBInstanceStatusInfo ¶
type DBInstanceStatusInfo struct { // Details of the error if there is an error for the instance. If the instance // is not in an error state, this value is blank. Message *string `type:"string"` // Boolean value that is true if the instance is operating normally, or false // if the instance is in an error state. Normal *bool `type:"boolean"` // Status of the DB instance. For a StatusType of read replica, the values can // be replicating, error, stopped, or terminated. Status *string `type:"string"` // This value is currently "read replication." StatusType *string `type:"string"` // contains filtered or unexported fields }
Provides a list of status information for a DB instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceStatusInfo
func (DBInstanceStatusInfo) GoString ¶ added in v0.6.6
func (s DBInstanceStatusInfo) GoString() string
GoString returns the string representation
func (*DBInstanceStatusInfo) SetMessage ¶ added in v1.5.0
func (s *DBInstanceStatusInfo) SetMessage(v string) *DBInstanceStatusInfo
SetMessage sets the Message field's value.
func (*DBInstanceStatusInfo) SetNormal ¶ added in v1.5.0
func (s *DBInstanceStatusInfo) SetNormal(v bool) *DBInstanceStatusInfo
SetNormal sets the Normal field's value.
func (*DBInstanceStatusInfo) SetStatus ¶ added in v1.5.0
func (s *DBInstanceStatusInfo) SetStatus(v string) *DBInstanceStatusInfo
SetStatus sets the Status field's value.
func (*DBInstanceStatusInfo) SetStatusType ¶ added in v1.5.0
func (s *DBInstanceStatusInfo) SetStatusType(v string) *DBInstanceStatusInfo
SetStatusType sets the StatusType field's value.
func (DBInstanceStatusInfo) String ¶ added in v0.6.6
func (s DBInstanceStatusInfo) String() string
String returns the string representation
type DBParameterGroup ¶
type DBParameterGroup struct { // The Amazon Resource Name (ARN) for the DB parameter group. DBParameterGroupArn *string `type:"string"` // Provides the name of the DB parameter group family that this DB parameter // group is compatible with. DBParameterGroupFamily *string `type:"string"` // Provides the name of the DB parameter group. DBParameterGroupName *string `type:"string"` // Provides the customer-specified description for this DB parameter group. Description *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the CreateDBParameterGroup action.
This data type is used as a request parameter in the DeleteDBParameterGroup action, and as a response element in the DescribeDBParameterGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroup
func (DBParameterGroup) GoString ¶ added in v0.6.6
func (s DBParameterGroup) GoString() string
GoString returns the string representation
func (*DBParameterGroup) SetDBParameterGroupArn ¶ added in v1.5.0
func (s *DBParameterGroup) SetDBParameterGroupArn(v string) *DBParameterGroup
SetDBParameterGroupArn sets the DBParameterGroupArn field's value.
func (*DBParameterGroup) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *DBParameterGroup) SetDBParameterGroupFamily(v string) *DBParameterGroup
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*DBParameterGroup) SetDBParameterGroupName ¶ added in v1.5.0
func (s *DBParameterGroup) SetDBParameterGroupName(v string) *DBParameterGroup
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*DBParameterGroup) SetDescription ¶ added in v1.5.0
func (s *DBParameterGroup) SetDescription(v string) *DBParameterGroup
SetDescription sets the Description field's value.
func (DBParameterGroup) String ¶ added in v0.6.6
func (s DBParameterGroup) String() string
String returns the string representation
type DBParameterGroupNameMessage ¶
type DBParameterGroupNameMessage struct { // Provides the name of the DB parameter group. DBParameterGroupName *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the ModifyDBParameterGroup or ResetDBParameterGroup action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupNameMessage
func (DBParameterGroupNameMessage) GoString ¶ added in v0.6.6
func (s DBParameterGroupNameMessage) GoString() string
GoString returns the string representation
func (*DBParameterGroupNameMessage) SetDBParameterGroupName ¶ added in v1.5.0
func (s *DBParameterGroupNameMessage) SetDBParameterGroupName(v string) *DBParameterGroupNameMessage
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (DBParameterGroupNameMessage) String ¶ added in v0.6.6
func (s DBParameterGroupNameMessage) String() string
String returns the string representation
type DBParameterGroupStatus ¶
type DBParameterGroupStatus struct { // The name of the DP parameter group. DBParameterGroupName *string `type:"string"` // The status of parameter updates. ParameterApplyStatus *string `type:"string"` // contains filtered or unexported fields }
The status of the DB parameter group.
This data type is used as a response element in the following actions:
CreateDBInstance
CreateDBInstanceReadReplica
DeleteDBInstance
ModifyDBInstance
RebootDBInstance
RestoreDBInstanceFromDBSnapshot
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupStatus
func (DBParameterGroupStatus) GoString ¶ added in v0.6.6
func (s DBParameterGroupStatus) GoString() string
GoString returns the string representation
func (*DBParameterGroupStatus) SetDBParameterGroupName ¶ added in v1.5.0
func (s *DBParameterGroupStatus) SetDBParameterGroupName(v string) *DBParameterGroupStatus
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*DBParameterGroupStatus) SetParameterApplyStatus ¶ added in v1.5.0
func (s *DBParameterGroupStatus) SetParameterApplyStatus(v string) *DBParameterGroupStatus
SetParameterApplyStatus sets the ParameterApplyStatus field's value.
func (DBParameterGroupStatus) String ¶ added in v0.6.6
func (s DBParameterGroupStatus) String() string
String returns the string representation
type DBSecurityGroup ¶
type DBSecurityGroup struct { // The Amazon Resource Name (ARN) for the DB security group. DBSecurityGroupArn *string `type:"string"` // Provides the description of the DB security group. DBSecurityGroupDescription *string `type:"string"` // Specifies the name of the DB security group. DBSecurityGroupName *string `type:"string"` // Contains a list of EC2SecurityGroup elements. EC2SecurityGroups []*EC2SecurityGroup `locationNameList:"EC2SecurityGroup" type:"list"` // Contains a list of IPRange elements. IPRanges []*IPRange `locationNameList:"IPRange" type:"list"` // Provides the AWS ID of the owner of a specific DB security group. OwnerId *string `type:"string"` // Provides the VpcId of the DB security group. VpcId *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the following actions:
DescribeDBSecurityGroups
AuthorizeDBSecurityGroupIngress
CreateDBSecurityGroup
RevokeDBSecurityGroupIngress
This data type is used as a response element in the DescribeDBSecurityGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroup
func (DBSecurityGroup) GoString ¶ added in v0.6.6
func (s DBSecurityGroup) GoString() string
GoString returns the string representation
func (*DBSecurityGroup) SetDBSecurityGroupArn ¶ added in v1.5.0
func (s *DBSecurityGroup) SetDBSecurityGroupArn(v string) *DBSecurityGroup
SetDBSecurityGroupArn sets the DBSecurityGroupArn field's value.
func (*DBSecurityGroup) SetDBSecurityGroupDescription ¶ added in v1.5.0
func (s *DBSecurityGroup) SetDBSecurityGroupDescription(v string) *DBSecurityGroup
SetDBSecurityGroupDescription sets the DBSecurityGroupDescription field's value.
func (*DBSecurityGroup) SetDBSecurityGroupName ¶ added in v1.5.0
func (s *DBSecurityGroup) SetDBSecurityGroupName(v string) *DBSecurityGroup
SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
func (*DBSecurityGroup) SetEC2SecurityGroups ¶ added in v1.5.0
func (s *DBSecurityGroup) SetEC2SecurityGroups(v []*EC2SecurityGroup) *DBSecurityGroup
SetEC2SecurityGroups sets the EC2SecurityGroups field's value.
func (*DBSecurityGroup) SetIPRanges ¶ added in v1.5.0
func (s *DBSecurityGroup) SetIPRanges(v []*IPRange) *DBSecurityGroup
SetIPRanges sets the IPRanges field's value.
func (*DBSecurityGroup) SetOwnerId ¶ added in v1.5.0
func (s *DBSecurityGroup) SetOwnerId(v string) *DBSecurityGroup
SetOwnerId sets the OwnerId field's value.
func (*DBSecurityGroup) SetVpcId ¶ added in v1.5.0
func (s *DBSecurityGroup) SetVpcId(v string) *DBSecurityGroup
SetVpcId sets the VpcId field's value.
func (DBSecurityGroup) String ¶ added in v0.6.6
func (s DBSecurityGroup) String() string
String returns the string representation
type DBSecurityGroupMembership ¶
type DBSecurityGroupMembership struct { // The name of the DB security group. DBSecurityGroupName *string `type:"string"` // The status of the DB security group. Status *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element in the following actions:
ModifyDBInstance
RebootDBInstance
RestoreDBInstanceFromDBSnapshot
RestoreDBInstanceToPointInTime
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroupMembership
func (DBSecurityGroupMembership) GoString ¶ added in v0.6.6
func (s DBSecurityGroupMembership) GoString() string
GoString returns the string representation
func (*DBSecurityGroupMembership) SetDBSecurityGroupName ¶ added in v1.5.0
func (s *DBSecurityGroupMembership) SetDBSecurityGroupName(v string) *DBSecurityGroupMembership
SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
func (*DBSecurityGroupMembership) SetStatus ¶ added in v1.5.0
func (s *DBSecurityGroupMembership) SetStatus(v string) *DBSecurityGroupMembership
SetStatus sets the Status field's value.
func (DBSecurityGroupMembership) String ¶ added in v0.6.6
func (s DBSecurityGroupMembership) String() string
String returns the string representation
type DBSnapshot ¶
type DBSnapshot struct { // Specifies the allocated storage size in gigabytes (GB). AllocatedStorage *int64 `type:"integer"` // Specifies the name of the Availability Zone the DB instance was located in // at the time of the DB snapshot. AvailabilityZone *string `type:"string"` // Specifies the DB instance identifier of the DB instance this DB snapshot // was created from. DBInstanceIdentifier *string `type:"string"` // The Amazon Resource Name (ARN) for the DB snapshot. DBSnapshotArn *string `type:"string"` // Specifies the identifier for the DB snapshot. DBSnapshotIdentifier *string `type:"string"` // Specifies whether the DB snapshot is encrypted. Encrypted *bool `type:"boolean"` // Specifies the name of the database engine. Engine *string `type:"string"` // Specifies the version of the database engine. EngineVersion *string `type:"string"` // Specifies the time when the snapshot was taken, in Universal Coordinated // Time (UTC). InstanceCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Specifies the Provisioned IOPS (I/O operations per second) value of the DB // instance at the time of the snapshot. Iops *int64 `type:"integer"` // If Encrypted is true, the KMS key identifier for the encrypted DB snapshot. KmsKeyId *string `type:"string"` // License model information for the restored DB instance. LicenseModel *string `type:"string"` // Provides the master username for the DB snapshot. MasterUsername *string `type:"string"` // Provides the option group name for the DB snapshot. OptionGroupName *string `type:"string"` // The percentage of the estimated data that has been transferred. PercentProgress *int64 `type:"integer"` // Specifies the port that the database engine was listening on at the time // of the snapshot. Port *int64 `type:"integer"` // Provides the time when the snapshot was taken, in Universal Coordinated Time // (UTC). SnapshotCreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Provides the type of the DB snapshot. SnapshotType *string `type:"string"` // The DB snapshot Arn that the DB snapshot was copied from. It only has value // in case of cross customer or cross region copy. SourceDBSnapshotIdentifier *string `type:"string"` // The region that the DB snapshot was created in or copied from. SourceRegion *string `type:"string"` // Specifies the status of this DB snapshot. Status *string `type:"string"` // Specifies the storage type associated with DB snapshot. StorageType *string `type:"string"` // The ARN from the key store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` // The time zone of the DB snapshot. In most cases, the Timezone element is // empty. Timezone content appears only for snapshots taken from Microsoft SQL // Server DB instances that were created with a time zone specified. Timezone *string `type:"string"` // Provides the VPC ID associated with the DB snapshot. VpcId *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the following actions:
CreateDBSnapshot
DeleteDBSnapshot
This data type is used as a response element in the DescribeDBSnapshots action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshot
func (DBSnapshot) GoString ¶ added in v0.6.6
func (s DBSnapshot) GoString() string
GoString returns the string representation
func (*DBSnapshot) SetAllocatedStorage ¶ added in v1.5.0
func (s *DBSnapshot) SetAllocatedStorage(v int64) *DBSnapshot
SetAllocatedStorage sets the AllocatedStorage field's value.
func (*DBSnapshot) SetAvailabilityZone ¶ added in v1.5.0
func (s *DBSnapshot) SetAvailabilityZone(v string) *DBSnapshot
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*DBSnapshot) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DBSnapshot) SetDBInstanceIdentifier(v string) *DBSnapshot
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DBSnapshot) SetDBSnapshotArn ¶ added in v1.5.0
func (s *DBSnapshot) SetDBSnapshotArn(v string) *DBSnapshot
SetDBSnapshotArn sets the DBSnapshotArn field's value.
func (*DBSnapshot) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DBSnapshot) SetDBSnapshotIdentifier(v string) *DBSnapshot
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (*DBSnapshot) SetEncrypted ¶ added in v1.5.0
func (s *DBSnapshot) SetEncrypted(v bool) *DBSnapshot
SetEncrypted sets the Encrypted field's value.
func (*DBSnapshot) SetEngine ¶ added in v1.5.0
func (s *DBSnapshot) SetEngine(v string) *DBSnapshot
SetEngine sets the Engine field's value.
func (*DBSnapshot) SetEngineVersion ¶ added in v1.5.0
func (s *DBSnapshot) SetEngineVersion(v string) *DBSnapshot
SetEngineVersion sets the EngineVersion field's value.
func (*DBSnapshot) SetInstanceCreateTime ¶ added in v1.5.0
func (s *DBSnapshot) SetInstanceCreateTime(v time.Time) *DBSnapshot
SetInstanceCreateTime sets the InstanceCreateTime field's value.
func (*DBSnapshot) SetIops ¶ added in v1.5.0
func (s *DBSnapshot) SetIops(v int64) *DBSnapshot
SetIops sets the Iops field's value.
func (*DBSnapshot) SetKmsKeyId ¶ added in v1.5.0
func (s *DBSnapshot) SetKmsKeyId(v string) *DBSnapshot
SetKmsKeyId sets the KmsKeyId field's value.
func (*DBSnapshot) SetLicenseModel ¶ added in v1.5.0
func (s *DBSnapshot) SetLicenseModel(v string) *DBSnapshot
SetLicenseModel sets the LicenseModel field's value.
func (*DBSnapshot) SetMasterUsername ¶ added in v1.5.0
func (s *DBSnapshot) SetMasterUsername(v string) *DBSnapshot
SetMasterUsername sets the MasterUsername field's value.
func (*DBSnapshot) SetOptionGroupName ¶ added in v1.5.0
func (s *DBSnapshot) SetOptionGroupName(v string) *DBSnapshot
SetOptionGroupName sets the OptionGroupName field's value.
func (*DBSnapshot) SetPercentProgress ¶ added in v1.5.0
func (s *DBSnapshot) SetPercentProgress(v int64) *DBSnapshot
SetPercentProgress sets the PercentProgress field's value.
func (*DBSnapshot) SetPort ¶ added in v1.5.0
func (s *DBSnapshot) SetPort(v int64) *DBSnapshot
SetPort sets the Port field's value.
func (*DBSnapshot) SetSnapshotCreateTime ¶ added in v1.5.0
func (s *DBSnapshot) SetSnapshotCreateTime(v time.Time) *DBSnapshot
SetSnapshotCreateTime sets the SnapshotCreateTime field's value.
func (*DBSnapshot) SetSnapshotType ¶ added in v1.5.0
func (s *DBSnapshot) SetSnapshotType(v string) *DBSnapshot
SetSnapshotType sets the SnapshotType field's value.
func (*DBSnapshot) SetSourceDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DBSnapshot) SetSourceDBSnapshotIdentifier(v string) *DBSnapshot
SetSourceDBSnapshotIdentifier sets the SourceDBSnapshotIdentifier field's value.
func (*DBSnapshot) SetSourceRegion ¶ added in v1.5.0
func (s *DBSnapshot) SetSourceRegion(v string) *DBSnapshot
SetSourceRegion sets the SourceRegion field's value.
func (*DBSnapshot) SetStatus ¶ added in v1.5.0
func (s *DBSnapshot) SetStatus(v string) *DBSnapshot
SetStatus sets the Status field's value.
func (*DBSnapshot) SetStorageType ¶ added in v1.5.0
func (s *DBSnapshot) SetStorageType(v string) *DBSnapshot
SetStorageType sets the StorageType field's value.
func (*DBSnapshot) SetTdeCredentialArn ¶ added in v1.5.0
func (s *DBSnapshot) SetTdeCredentialArn(v string) *DBSnapshot
SetTdeCredentialArn sets the TdeCredentialArn field's value.
func (*DBSnapshot) SetTimezone ¶ added in v1.5.0
func (s *DBSnapshot) SetTimezone(v string) *DBSnapshot
SetTimezone sets the Timezone field's value.
func (*DBSnapshot) SetVpcId ¶ added in v1.5.0
func (s *DBSnapshot) SetVpcId(v string) *DBSnapshot
SetVpcId sets the VpcId field's value.
func (DBSnapshot) String ¶ added in v0.6.6
func (s DBSnapshot) String() string
String returns the string representation
type DBSnapshotAttribute ¶ added in v1.0.0
type DBSnapshotAttribute struct { // The name of the manual DB snapshot attribute. // // The attribute named restore refers to the list of AWS accounts that have // permission to copy or restore the manual DB cluster snapshot. For more information, // see the ModifyDBSnapshotAttribute API action. AttributeName *string `type:"string"` // The value or values for the manual DB snapshot attribute. // // If the AttributeName field is set to restore, then this element returns a // list of IDs of the AWS accounts that are authorized to copy or restore the // manual DB snapshot. If a value of all is in the list, then the manual DB // snapshot is public and available for any AWS account to copy or restore. AttributeValues []*string `locationNameList:"AttributeValue" type:"list"` // contains filtered or unexported fields }
Contains the name and values of a manual DB snapshot attribute
Manual DB snapshot attributes are used to authorize other AWS accounts to restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute API. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotAttribute
func (DBSnapshotAttribute) GoString ¶ added in v1.0.0
func (s DBSnapshotAttribute) GoString() string
GoString returns the string representation
func (*DBSnapshotAttribute) SetAttributeName ¶ added in v1.5.0
func (s *DBSnapshotAttribute) SetAttributeName(v string) *DBSnapshotAttribute
SetAttributeName sets the AttributeName field's value.
func (*DBSnapshotAttribute) SetAttributeValues ¶ added in v1.5.0
func (s *DBSnapshotAttribute) SetAttributeValues(v []*string) *DBSnapshotAttribute
SetAttributeValues sets the AttributeValues field's value.
func (DBSnapshotAttribute) String ¶ added in v1.0.0
func (s DBSnapshotAttribute) String() string
String returns the string representation
type DBSnapshotAttributesResult ¶ added in v1.0.0
type DBSnapshotAttributesResult struct { // The list of attributes and values for the manual DB snapshot. DBSnapshotAttributes []*DBSnapshotAttribute `locationNameList:"DBSnapshotAttribute" type:"list"` // The identifier of the manual DB snapshot that the attributes apply to. DBSnapshotIdentifier *string `type:"string"` // contains filtered or unexported fields }
Contains the results of a successful call to the DescribeDBSnapshotAttributes API action.
Manual DB snapshot attributes are used to authorize other AWS accounts to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute API action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotAttributesResult
func (DBSnapshotAttributesResult) GoString ¶ added in v1.0.0
func (s DBSnapshotAttributesResult) GoString() string
GoString returns the string representation
func (*DBSnapshotAttributesResult) SetDBSnapshotAttributes ¶ added in v1.5.0
func (s *DBSnapshotAttributesResult) SetDBSnapshotAttributes(v []*DBSnapshotAttribute) *DBSnapshotAttributesResult
SetDBSnapshotAttributes sets the DBSnapshotAttributes field's value.
func (*DBSnapshotAttributesResult) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DBSnapshotAttributesResult) SetDBSnapshotIdentifier(v string) *DBSnapshotAttributesResult
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (DBSnapshotAttributesResult) String ¶ added in v1.0.0
func (s DBSnapshotAttributesResult) String() string
String returns the string representation
type DBSubnetGroup ¶
type DBSubnetGroup struct { // The Amazon Resource Name (ARN) for the DB subnet group. DBSubnetGroupArn *string `type:"string"` // Provides the description of the DB subnet group. DBSubnetGroupDescription *string `type:"string"` // The name of the DB subnet group. DBSubnetGroupName *string `type:"string"` // Provides the status of the DB subnet group. SubnetGroupStatus *string `type:"string"` // Contains a list of Subnet elements. Subnets []*Subnet `locationNameList:"Subnet" type:"list"` // Provides the VpcId of the DB subnet group. VpcId *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the following actions:
CreateDBSubnetGroup
ModifyDBSubnetGroup
DescribeDBSubnetGroups
DeleteDBSubnetGroup
This data type is used as a response element in the DescribeDBSubnetGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSubnetGroup
func (DBSubnetGroup) GoString ¶ added in v0.6.6
func (s DBSubnetGroup) GoString() string
GoString returns the string representation
func (*DBSubnetGroup) SetDBSubnetGroupArn ¶ added in v1.5.0
func (s *DBSubnetGroup) SetDBSubnetGroupArn(v string) *DBSubnetGroup
SetDBSubnetGroupArn sets the DBSubnetGroupArn field's value.
func (*DBSubnetGroup) SetDBSubnetGroupDescription ¶ added in v1.5.0
func (s *DBSubnetGroup) SetDBSubnetGroupDescription(v string) *DBSubnetGroup
SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.
func (*DBSubnetGroup) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *DBSubnetGroup) SetDBSubnetGroupName(v string) *DBSubnetGroup
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*DBSubnetGroup) SetSubnetGroupStatus ¶ added in v1.5.0
func (s *DBSubnetGroup) SetSubnetGroupStatus(v string) *DBSubnetGroup
SetSubnetGroupStatus sets the SubnetGroupStatus field's value.
func (*DBSubnetGroup) SetSubnets ¶ added in v1.5.0
func (s *DBSubnetGroup) SetSubnets(v []*Subnet) *DBSubnetGroup
SetSubnets sets the Subnets field's value.
func (*DBSubnetGroup) SetVpcId ¶ added in v1.5.0
func (s *DBSubnetGroup) SetVpcId(v string) *DBSubnetGroup
SetVpcId sets the VpcId field's value.
func (DBSubnetGroup) String ¶ added in v0.6.6
func (s DBSubnetGroup) String() string
String returns the string representation
type DeleteDBClusterInput ¶ added in v0.7.2
type DeleteDBClusterInput struct { // The DB cluster identifier for the DB cluster to be deleted. This parameter // isn't case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The DB cluster snapshot identifier of the new DB cluster snapshot created // when SkipFinalSnapshot is set to false. // // Specifying this parameter and also setting the SkipFinalShapshot parameter // to true results in an error. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens FinalDBSnapshotIdentifier *string `type:"string"` // Determines whether a final DB cluster snapshot is created before the DB cluster // is deleted. If true is specified, no DB cluster snapshot is created. If false // is specified, a DB cluster snapshot is created before the DB cluster is deleted. // // You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot // is false. // // Default: false SkipFinalSnapshot *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterMessage
func (DeleteDBClusterInput) GoString ¶ added in v0.7.2
func (s DeleteDBClusterInput) GoString() string
GoString returns the string representation
func (*DeleteDBClusterInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *DeleteDBClusterInput) SetDBClusterIdentifier(v string) *DeleteDBClusterInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*DeleteDBClusterInput) SetFinalDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DeleteDBClusterInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBClusterInput
SetFinalDBSnapshotIdentifier sets the FinalDBSnapshotIdentifier field's value.
func (*DeleteDBClusterInput) SetSkipFinalSnapshot ¶ added in v1.5.0
func (s *DeleteDBClusterInput) SetSkipFinalSnapshot(v bool) *DeleteDBClusterInput
SetSkipFinalSnapshot sets the SkipFinalSnapshot field's value.
func (DeleteDBClusterInput) String ¶ added in v0.7.2
func (s DeleteDBClusterInput) String() string
String returns the string representation
func (*DeleteDBClusterInput) Validate ¶ added in v1.1.22
func (s *DeleteDBClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBClusterOutput ¶ added in v0.7.2
type DeleteDBClusterOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterResult
func (DeleteDBClusterOutput) GoString ¶ added in v0.7.2
func (s DeleteDBClusterOutput) GoString() string
GoString returns the string representation
func (*DeleteDBClusterOutput) SetDBCluster ¶ added in v1.5.0
func (s *DeleteDBClusterOutput) SetDBCluster(v *DBCluster) *DeleteDBClusterOutput
SetDBCluster sets the DBCluster field's value.
func (DeleteDBClusterOutput) String ¶ added in v0.7.2
func (s DeleteDBClusterOutput) String() string
String returns the string representation
type DeleteDBClusterParameterGroupInput ¶ added in v0.7.2
type DeleteDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group. // // Constraints: // // * Must be the name of an existing DB cluster parameter group. // // * You cannot delete a default DB cluster parameter group. // // * Cannot be associated with any DB clusters. // // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupMessage
func (DeleteDBClusterParameterGroupInput) GoString ¶ added in v0.7.2
func (s DeleteDBClusterParameterGroupInput) GoString() string
GoString returns the string representation
func (*DeleteDBClusterParameterGroupInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *DeleteDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *DeleteDBClusterParameterGroupInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (DeleteDBClusterParameterGroupInput) String ¶ added in v0.7.2
func (s DeleteDBClusterParameterGroupInput) String() string
String returns the string representation
func (*DeleteDBClusterParameterGroupInput) Validate ¶ added in v1.1.22
func (s *DeleteDBClusterParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBClusterParameterGroupOutput ¶ added in v0.7.2
type DeleteDBClusterParameterGroupOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupOutput
func (DeleteDBClusterParameterGroupOutput) GoString ¶ added in v0.7.2
func (s DeleteDBClusterParameterGroupOutput) GoString() string
GoString returns the string representation
func (DeleteDBClusterParameterGroupOutput) String ¶ added in v0.7.2
func (s DeleteDBClusterParameterGroupOutput) String() string
String returns the string representation
type DeleteDBClusterSnapshotInput ¶ added in v0.7.2
type DeleteDBClusterSnapshotInput struct { // The identifier of the DB cluster snapshot to delete. // // Constraints: Must be the name of an existing DB cluster snapshot in the available // state. // // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotMessage
func (DeleteDBClusterSnapshotInput) GoString ¶ added in v0.7.2
func (s DeleteDBClusterSnapshotInput) GoString() string
GoString returns the string representation
func (*DeleteDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *DeleteDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *DeleteDBClusterSnapshotInput
SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
func (DeleteDBClusterSnapshotInput) String ¶ added in v0.7.2
func (s DeleteDBClusterSnapshotInput) String() string
String returns the string representation
func (*DeleteDBClusterSnapshotInput) Validate ¶ added in v1.1.22
func (s *DeleteDBClusterSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBClusterSnapshotOutput ¶ added in v0.7.2
type DeleteDBClusterSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBClusterSnapshot // // * DeleteDBClusterSnapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots // action. DBClusterSnapshot *DBClusterSnapshot `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotResult
func (DeleteDBClusterSnapshotOutput) GoString ¶ added in v0.7.2
func (s DeleteDBClusterSnapshotOutput) GoString() string
GoString returns the string representation
func (*DeleteDBClusterSnapshotOutput) SetDBClusterSnapshot ¶ added in v1.5.0
func (s *DeleteDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *DeleteDBClusterSnapshotOutput
SetDBClusterSnapshot sets the DBClusterSnapshot field's value.
func (DeleteDBClusterSnapshotOutput) String ¶ added in v0.7.2
func (s DeleteDBClusterSnapshotOutput) String() string
String returns the string representation
type DeleteDBInstanceInput ¶
type DeleteDBInstanceInput struct { // The DB instance identifier for the DB instance to be deleted. This parameter // isn't case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot // is set to false. // // Specifying this parameter and also setting the SkipFinalShapshot parameter // to true results in an error. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // * Cannot be specified when deleting a Read Replica. FinalDBSnapshotIdentifier *string `type:"string"` // Determines whether a final DB snapshot is created before the DB instance // is deleted. If true is specified, no DBSnapshot is created. If false is specified, // a DB snapshot is created before the DB instance is deleted. // // Note that when a DB instance is in a failure state and has a status of 'failed', // 'incompatible-restore', or 'incompatible-network', it can only be deleted // when the SkipFinalSnapshot parameter is set to "true". // // Specify true when deleting a Read Replica. // // The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot // is false. // // Default: false SkipFinalSnapshot *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceMessage
func (DeleteDBInstanceInput) GoString ¶ added in v0.6.6
func (s DeleteDBInstanceInput) GoString() string
GoString returns the string representation
func (*DeleteDBInstanceInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DeleteDBInstanceInput) SetDBInstanceIdentifier(v string) *DeleteDBInstanceInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DeleteDBInstanceInput) SetFinalDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DeleteDBInstanceInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBInstanceInput
SetFinalDBSnapshotIdentifier sets the FinalDBSnapshotIdentifier field's value.
func (*DeleteDBInstanceInput) SetSkipFinalSnapshot ¶ added in v1.5.0
func (s *DeleteDBInstanceInput) SetSkipFinalSnapshot(v bool) *DeleteDBInstanceInput
SetSkipFinalSnapshot sets the SkipFinalSnapshot field's value.
func (DeleteDBInstanceInput) String ¶ added in v0.6.6
func (s DeleteDBInstanceInput) String() string
String returns the string representation
func (*DeleteDBInstanceInput) Validate ¶ added in v1.1.22
func (s *DeleteDBInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBInstanceOutput ¶
type DeleteDBInstanceOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceResult
func (DeleteDBInstanceOutput) GoString ¶ added in v0.6.6
func (s DeleteDBInstanceOutput) GoString() string
GoString returns the string representation
func (*DeleteDBInstanceOutput) SetDBInstance ¶ added in v1.5.0
func (s *DeleteDBInstanceOutput) SetDBInstance(v *DBInstance) *DeleteDBInstanceOutput
SetDBInstance sets the DBInstance field's value.
func (DeleteDBInstanceOutput) String ¶ added in v0.6.6
func (s DeleteDBInstanceOutput) String() string
String returns the string representation
type DeleteDBParameterGroupInput ¶
type DeleteDBParameterGroupInput struct { // The name of the DB parameter group. // // Constraints: // // * Must be the name of an existing DB parameter group // // * You cannot delete a default DB parameter group // // * Cannot be associated with any DB instances // // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupMessage
func (DeleteDBParameterGroupInput) GoString ¶ added in v0.6.6
func (s DeleteDBParameterGroupInput) GoString() string
GoString returns the string representation
func (*DeleteDBParameterGroupInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *DeleteDBParameterGroupInput) SetDBParameterGroupName(v string) *DeleteDBParameterGroupInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (DeleteDBParameterGroupInput) String ¶ added in v0.6.6
func (s DeleteDBParameterGroupInput) String() string
String returns the string representation
func (*DeleteDBParameterGroupInput) Validate ¶ added in v1.1.22
func (s *DeleteDBParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBParameterGroupOutput ¶
type DeleteDBParameterGroupOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupOutput
func (DeleteDBParameterGroupOutput) GoString ¶ added in v0.6.6
func (s DeleteDBParameterGroupOutput) GoString() string
GoString returns the string representation
func (DeleteDBParameterGroupOutput) String ¶ added in v0.6.6
func (s DeleteDBParameterGroupOutput) String() string
String returns the string representation
type DeleteDBSecurityGroupInput ¶
type DeleteDBSecurityGroupInput struct { // The name of the DB security group to delete. // // You cannot delete the default DB security group. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // * Must not be "Default" // // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupMessage
func (DeleteDBSecurityGroupInput) GoString ¶ added in v0.6.6
func (s DeleteDBSecurityGroupInput) GoString() string
GoString returns the string representation
func (*DeleteDBSecurityGroupInput) SetDBSecurityGroupName ¶ added in v1.5.0
func (s *DeleteDBSecurityGroupInput) SetDBSecurityGroupName(v string) *DeleteDBSecurityGroupInput
SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
func (DeleteDBSecurityGroupInput) String ¶ added in v0.6.6
func (s DeleteDBSecurityGroupInput) String() string
String returns the string representation
func (*DeleteDBSecurityGroupInput) Validate ¶ added in v1.1.22
func (s *DeleteDBSecurityGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBSecurityGroupOutput ¶
type DeleteDBSecurityGroupOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupOutput
func (DeleteDBSecurityGroupOutput) GoString ¶ added in v0.6.6
func (s DeleteDBSecurityGroupOutput) GoString() string
GoString returns the string representation
func (DeleteDBSecurityGroupOutput) String ¶ added in v0.6.6
func (s DeleteDBSecurityGroupOutput) String() string
String returns the string representation
type DeleteDBSnapshotInput ¶
type DeleteDBSnapshotInput struct { // The DBSnapshot identifier. // // Constraints: Must be the name of an existing DB snapshot in the available // state. // // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshotMessage
func (DeleteDBSnapshotInput) GoString ¶ added in v0.6.6
func (s DeleteDBSnapshotInput) GoString() string
GoString returns the string representation
func (*DeleteDBSnapshotInput) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DeleteDBSnapshotInput) SetDBSnapshotIdentifier(v string) *DeleteDBSnapshotInput
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (DeleteDBSnapshotInput) String ¶ added in v0.6.6
func (s DeleteDBSnapshotInput) String() string
String returns the string representation
func (*DeleteDBSnapshotInput) Validate ¶ added in v1.1.22
func (s *DeleteDBSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBSnapshotOutput ¶
type DeleteDBSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBSnapshot // // * DeleteDBSnapshot // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshotResult
func (DeleteDBSnapshotOutput) GoString ¶ added in v0.6.6
func (s DeleteDBSnapshotOutput) GoString() string
GoString returns the string representation
func (*DeleteDBSnapshotOutput) SetDBSnapshot ¶ added in v1.5.0
func (s *DeleteDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *DeleteDBSnapshotOutput
SetDBSnapshot sets the DBSnapshot field's value.
func (DeleteDBSnapshotOutput) String ¶ added in v0.6.6
func (s DeleteDBSnapshotOutput) String() string
String returns the string representation
type DeleteDBSubnetGroupInput ¶
type DeleteDBSubnetGroupInput struct { // The name of the database subnet group to delete. // // You cannot delete the default subnet group. // // Constraints: // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup // // DBSubnetGroupName is a required field DBSubnetGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupMessage
func (DeleteDBSubnetGroupInput) GoString ¶ added in v0.6.6
func (s DeleteDBSubnetGroupInput) GoString() string
GoString returns the string representation
func (*DeleteDBSubnetGroupInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *DeleteDBSubnetGroupInput) SetDBSubnetGroupName(v string) *DeleteDBSubnetGroupInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (DeleteDBSubnetGroupInput) String ¶ added in v0.6.6
func (s DeleteDBSubnetGroupInput) String() string
String returns the string representation
func (*DeleteDBSubnetGroupInput) Validate ¶ added in v1.1.22
func (s *DeleteDBSubnetGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteDBSubnetGroupOutput ¶
type DeleteDBSubnetGroupOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupOutput
func (DeleteDBSubnetGroupOutput) GoString ¶ added in v0.6.6
func (s DeleteDBSubnetGroupOutput) GoString() string
GoString returns the string representation
func (DeleteDBSubnetGroupOutput) String ¶ added in v0.6.6
func (s DeleteDBSubnetGroupOutput) String() string
String returns the string representation
type DeleteEventSubscriptionInput ¶
type DeleteEventSubscriptionInput struct { // The name of the RDS event notification subscription you want to delete. // // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscriptionMessage
func (DeleteEventSubscriptionInput) GoString ¶ added in v0.6.6
func (s DeleteEventSubscriptionInput) GoString() string
GoString returns the string representation
func (*DeleteEventSubscriptionInput) SetSubscriptionName ¶ added in v1.5.0
func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput
SetSubscriptionName sets the SubscriptionName field's value.
func (DeleteEventSubscriptionInput) String ¶ added in v0.6.6
func (s DeleteEventSubscriptionInput) String() string
String returns the string representation
func (*DeleteEventSubscriptionInput) Validate ¶ added in v1.1.22
func (s *DeleteEventSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEventSubscriptionOutput ¶
type DeleteEventSubscriptionOutput struct { // Contains the results of a successful invocation of the DescribeEventSubscriptions // action. EventSubscription *EventSubscription `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscriptionResult
func (DeleteEventSubscriptionOutput) GoString ¶ added in v0.6.6
func (s DeleteEventSubscriptionOutput) GoString() string
GoString returns the string representation
func (*DeleteEventSubscriptionOutput) SetEventSubscription ¶ added in v1.5.0
func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *DeleteEventSubscriptionOutput
SetEventSubscription sets the EventSubscription field's value.
func (DeleteEventSubscriptionOutput) String ¶ added in v0.6.6
func (s DeleteEventSubscriptionOutput) String() string
String returns the string representation
type DeleteOptionGroupInput ¶
type DeleteOptionGroupInput struct { // The name of the option group to be deleted. // // You cannot delete default option groups. // // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupMessage
func (DeleteOptionGroupInput) GoString ¶ added in v0.6.6
func (s DeleteOptionGroupInput) GoString() string
GoString returns the string representation
func (*DeleteOptionGroupInput) SetOptionGroupName ¶ added in v1.5.0
func (s *DeleteOptionGroupInput) SetOptionGroupName(v string) *DeleteOptionGroupInput
SetOptionGroupName sets the OptionGroupName field's value.
func (DeleteOptionGroupInput) String ¶ added in v0.6.6
func (s DeleteOptionGroupInput) String() string
String returns the string representation
func (*DeleteOptionGroupInput) Validate ¶ added in v1.1.22
func (s *DeleteOptionGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteOptionGroupOutput ¶
type DeleteOptionGroupOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupOutput
func (DeleteOptionGroupOutput) GoString ¶ added in v0.6.6
func (s DeleteOptionGroupOutput) GoString() string
GoString returns the string representation
func (DeleteOptionGroupOutput) String ¶ added in v0.6.6
func (s DeleteOptionGroupOutput) String() string
String returns the string representation
type DescribeAccountAttributesInput ¶
type DescribeAccountAttributesInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributesMessage
func (DescribeAccountAttributesInput) GoString ¶ added in v0.6.6
func (s DescribeAccountAttributesInput) GoString() string
GoString returns the string representation
func (DescribeAccountAttributesInput) String ¶ added in v0.6.6
func (s DescribeAccountAttributesInput) String() string
String returns the string representation
type DescribeAccountAttributesOutput ¶
type DescribeAccountAttributesOutput struct { // A list of AccountQuota objects. Within this list, each quota has a name, // a count of usage toward the quota maximum, and a maximum value for the quota. AccountQuotas []*AccountQuota `locationNameList:"AccountQuota" type:"list"` // contains filtered or unexported fields }
Data returned by the DescribeAccountAttributes action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AccountAttributesMessage
func (DescribeAccountAttributesOutput) GoString ¶ added in v0.6.6
func (s DescribeAccountAttributesOutput) GoString() string
GoString returns the string representation
func (*DescribeAccountAttributesOutput) SetAccountQuotas ¶ added in v1.5.0
func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *DescribeAccountAttributesOutput
SetAccountQuotas sets the AccountQuotas field's value.
func (DescribeAccountAttributesOutput) String ¶ added in v0.6.6
func (s DescribeAccountAttributesOutput) String() string
String returns the string representation
type DescribeCertificatesInput ¶
type DescribeCertificatesInput struct { // The user-supplied certificate identifier. If this parameter is specified, // information for only the identified certificate is returned. This parameter // isn't case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens CertificateIdentifier *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeCertificates // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificatesMessage
func (DescribeCertificatesInput) GoString ¶ added in v0.6.6
func (s DescribeCertificatesInput) GoString() string
GoString returns the string representation
func (*DescribeCertificatesInput) SetCertificateIdentifier ¶ added in v1.5.0
func (s *DescribeCertificatesInput) SetCertificateIdentifier(v string) *DescribeCertificatesInput
SetCertificateIdentifier sets the CertificateIdentifier field's value.
func (*DescribeCertificatesInput) SetFilters ¶ added in v1.5.0
func (s *DescribeCertificatesInput) SetFilters(v []*Filter) *DescribeCertificatesInput
SetFilters sets the Filters field's value.
func (*DescribeCertificatesInput) SetMarker ¶ added in v1.5.0
func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput
SetMarker sets the Marker field's value.
func (*DescribeCertificatesInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeCertificatesInput) String ¶ added in v0.6.6
func (s DescribeCertificatesInput) String() string
String returns the string representation
func (*DescribeCertificatesInput) Validate ¶ added in v1.1.22
func (s *DescribeCertificatesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCertificatesOutput ¶
type DescribeCertificatesOutput struct { // The list of Certificate objects for the AWS account. Certificates []*Certificate `locationNameList:"Certificate" type:"list"` // An optional pagination token provided by a previous DescribeCertificates // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords . Marker *string `type:"string"` // contains filtered or unexported fields }
Data returned by the DescribeCertificates action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CertificateMessage
func (DescribeCertificatesOutput) GoString ¶ added in v0.6.6
func (s DescribeCertificatesOutput) GoString() string
GoString returns the string representation
func (*DescribeCertificatesOutput) SetCertificates ¶ added in v1.5.0
func (s *DescribeCertificatesOutput) SetCertificates(v []*Certificate) *DescribeCertificatesOutput
SetCertificates sets the Certificates field's value.
func (*DescribeCertificatesOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOutput
SetMarker sets the Marker field's value.
func (DescribeCertificatesOutput) String ¶ added in v0.6.6
func (s DescribeCertificatesOutput) String() string
String returns the string representation
type DescribeDBClusterParameterGroupsInput ¶ added in v0.7.2
type DescribeDBClusterParameterGroupsInput struct { // The name of a specific DB cluster parameter group to return details for. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBClusterParameterGroupName *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBClusterParameterGroups // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroupsMessage
func (DescribeDBClusterParameterGroupsInput) GoString ¶ added in v0.7.2
func (s DescribeDBClusterParameterGroupsInput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterParameterGroupsInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *DescribeDBClusterParameterGroupsInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParameterGroupsInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*DescribeDBClusterParameterGroupsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBClusterParameterGroupsInput) SetFilters(v []*Filter) *DescribeDBClusterParameterGroupsInput
SetFilters sets the Filters field's value.
func (*DescribeDBClusterParameterGroupsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClusterParameterGroupsInput) SetMarker(v string) *DescribeDBClusterParameterGroupsInput
SetMarker sets the Marker field's value.
func (*DescribeDBClusterParameterGroupsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBClusterParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBClusterParameterGroupsInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBClusterParameterGroupsInput) String ¶ added in v0.7.2
func (s DescribeDBClusterParameterGroupsInput) String() string
String returns the string representation
func (*DescribeDBClusterParameterGroupsInput) Validate ¶ added in v1.1.22
func (s *DescribeDBClusterParameterGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBClusterParameterGroupsOutput ¶ added in v0.7.2
type DescribeDBClusterParameterGroupsOutput struct { // A list of DB cluster parameter groups. DBClusterParameterGroups []*DBClusterParameterGroup `locationNameList:"DBClusterParameterGroup" type:"list"` // An optional pagination token provided by a previous DescribeDBClusterParameterGroups // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupsMessage
func (DescribeDBClusterParameterGroupsOutput) GoString ¶ added in v0.7.2
func (s DescribeDBClusterParameterGroupsOutput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterParameterGroupsOutput) SetDBClusterParameterGroups ¶ added in v1.5.0
func (s *DescribeDBClusterParameterGroupsOutput) SetDBClusterParameterGroups(v []*DBClusterParameterGroup) *DescribeDBClusterParameterGroupsOutput
SetDBClusterParameterGroups sets the DBClusterParameterGroups field's value.
func (*DescribeDBClusterParameterGroupsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClusterParameterGroupsOutput) SetMarker(v string) *DescribeDBClusterParameterGroupsOutput
SetMarker sets the Marker field's value.
func (DescribeDBClusterParameterGroupsOutput) String ¶ added in v0.7.2
func (s DescribeDBClusterParameterGroupsOutput) String() string
String returns the string representation
type DescribeDBClusterParametersInput ¶ added in v0.7.2
type DescribeDBClusterParametersInput struct { // The name of a specific DB cluster parameter group to return parameter details // for. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBClusterParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // A value that indicates to return only parameters for a specific source. Parameter // sources can be engine, service, or customer. Source *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParametersMessage
func (DescribeDBClusterParametersInput) GoString ¶ added in v0.7.2
func (s DescribeDBClusterParametersInput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterParametersInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *DescribeDBClusterParametersInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParametersInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*DescribeDBClusterParametersInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBClusterParametersInput) SetFilters(v []*Filter) *DescribeDBClusterParametersInput
SetFilters sets the Filters field's value.
func (*DescribeDBClusterParametersInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClusterParametersInput) SetMarker(v string) *DescribeDBClusterParametersInput
SetMarker sets the Marker field's value.
func (*DescribeDBClusterParametersInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBClusterParametersInput) SetMaxRecords(v int64) *DescribeDBClusterParametersInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeDBClusterParametersInput) SetSource ¶ added in v1.5.0
func (s *DescribeDBClusterParametersInput) SetSource(v string) *DescribeDBClusterParametersInput
SetSource sets the Source field's value.
func (DescribeDBClusterParametersInput) String ¶ added in v0.7.2
func (s DescribeDBClusterParametersInput) String() string
String returns the string representation
func (*DescribeDBClusterParametersInput) Validate ¶ added in v1.1.22
func (s *DescribeDBClusterParametersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBClusterParametersOutput ¶ added in v0.7.2
type DescribeDBClusterParametersOutput struct { // An optional pagination token provided by a previous DescribeDBClusterParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords . Marker *string `type:"string"` // Provides a list of parameters for the DB cluster parameter group. Parameters []*Parameter `locationNameList:"Parameter" type:"list"` // contains filtered or unexported fields }
Provides details about a DB cluster parameter group including the parameters in the DB cluster parameter group. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupDetails
func (DescribeDBClusterParametersOutput) GoString ¶ added in v0.7.2
func (s DescribeDBClusterParametersOutput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterParametersOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClusterParametersOutput) SetMarker(v string) *DescribeDBClusterParametersOutput
SetMarker sets the Marker field's value.
func (*DescribeDBClusterParametersOutput) SetParameters ¶ added in v1.5.0
func (s *DescribeDBClusterParametersOutput) SetParameters(v []*Parameter) *DescribeDBClusterParametersOutput
SetParameters sets the Parameters field's value.
func (DescribeDBClusterParametersOutput) String ¶ added in v0.7.2
func (s DescribeDBClusterParametersOutput) String() string
String returns the string representation
type DescribeDBClusterSnapshotAttributesInput ¶ added in v1.1.33
type DescribeDBClusterSnapshotAttributesInput struct { // The identifier for the DB cluster snapshot to describe the attributes for. // // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesMessage
func (DescribeDBClusterSnapshotAttributesInput) GoString ¶ added in v1.1.33
func (s DescribeDBClusterSnapshotAttributesInput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterSnapshotAttributesInput) SetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotAttributesInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotAttributesInput
SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
func (DescribeDBClusterSnapshotAttributesInput) String ¶ added in v1.1.33
func (s DescribeDBClusterSnapshotAttributesInput) String() string
String returns the string representation
func (*DescribeDBClusterSnapshotAttributesInput) Validate ¶ added in v1.1.33
func (s *DescribeDBClusterSnapshotAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBClusterSnapshotAttributesOutput ¶ added in v1.1.33
type DescribeDBClusterSnapshotAttributesOutput struct { // Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes // API action. // // Manual DB cluster snapshot attributes are used to authorize other AWS accounts // to copy or restore a manual DB cluster snapshot. For more information, see // the ModifyDBClusterSnapshotAttribute API action. DBClusterSnapshotAttributesResult *DBClusterSnapshotAttributesResult `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesResult
func (DescribeDBClusterSnapshotAttributesOutput) GoString ¶ added in v1.1.33
func (s DescribeDBClusterSnapshotAttributesOutput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterSnapshotAttributesOutput) SetDBClusterSnapshotAttributesResult ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotAttributesOutput) SetDBClusterSnapshotAttributesResult(v *DBClusterSnapshotAttributesResult) *DescribeDBClusterSnapshotAttributesOutput
SetDBClusterSnapshotAttributesResult sets the DBClusterSnapshotAttributesResult field's value.
func (DescribeDBClusterSnapshotAttributesOutput) String ¶ added in v1.1.33
func (s DescribeDBClusterSnapshotAttributesOutput) String() string
String returns the string representation
type DescribeDBClusterSnapshotsInput ¶ added in v0.7.2
type DescribeDBClusterSnapshotsInput struct { // The ID of the DB cluster to retrieve the list of DB cluster snapshots for. // This parameter cannot be used in conjunction with the DBClusterSnapshotIdentifier // parameter. This parameter is not case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBClusterIdentifier *string `type:"string"` // A specific DB cluster snapshot identifier to describe. This parameter cannot // be used in conjunction with the DBClusterIdentifier parameter. This value // is stored as a lowercase string. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // * If this identifier is for an automated snapshot, the SnapshotType parameter // must also be specified. DBClusterSnapshotIdentifier *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // Set this value to true to include manual DB cluster snapshots that are public // and can be copied or restored by any AWS account, otherwise set this value // to false. The default is false. The default is false. // // You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute // API action. IncludePublic *bool `type:"boolean"` // other AWS accounts that this AWS account has been given permission to copy // or restore, otherwise set this value to false. The default is false. // // You can give an AWS account permission to restore a manual DB cluster snapshot // from another AWS account by the ModifyDBClusterSnapshotAttribute API action. IncludeShared *bool `type:"boolean"` // An optional pagination token provided by a previous DescribeDBClusterSnapshots // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The type of DB cluster snapshots to be returned. You can specify one of the // following values: // // * automated - Return all DB cluster snapshots that have been automatically // taken by Amazon RDS for my AWS account. // // * manual - Return all DB cluster snapshots that have been taken by my // AWS account. // // * shared - Return all manual DB cluster snapshots that have been shared // to my AWS account. // // * public - Return all DB cluster snapshots that have been marked as public. // // If you don't specify a SnapshotType value, then both automated and manual // DB cluster snapshots are returned. You can include shared DB cluster snapshots // with these results by setting the IncludeShared parameter to true. You can // include public DB cluster snapshots with these results by setting the IncludePublic // parameter to true. // // The IncludeShared and IncludePublic parameters don't apply for SnapshotType // values of manual or automated. The IncludePublic parameter doesn't apply // when SnapshotType is set to shared. The IncludeShared parameter doesn't apply // when SnapshotType is set to public. SnapshotType *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotsMessage
func (DescribeDBClusterSnapshotsInput) GoString ¶ added in v0.7.2
func (s DescribeDBClusterSnapshotsInput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterSnapshotsInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetDBClusterIdentifier(v string) *DescribeDBClusterSnapshotsInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*DescribeDBClusterSnapshotsInput) SetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotsInput
SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
func (*DescribeDBClusterSnapshotsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetFilters(v []*Filter) *DescribeDBClusterSnapshotsInput
SetFilters sets the Filters field's value.
func (*DescribeDBClusterSnapshotsInput) SetIncludePublic ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetIncludePublic(v bool) *DescribeDBClusterSnapshotsInput
SetIncludePublic sets the IncludePublic field's value.
func (*DescribeDBClusterSnapshotsInput) SetIncludeShared ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetIncludeShared(v bool) *DescribeDBClusterSnapshotsInput
SetIncludeShared sets the IncludeShared field's value.
func (*DescribeDBClusterSnapshotsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetMarker(v string) *DescribeDBClusterSnapshotsInput
SetMarker sets the Marker field's value.
func (*DescribeDBClusterSnapshotsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetMaxRecords(v int64) *DescribeDBClusterSnapshotsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeDBClusterSnapshotsInput) SetSnapshotType ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsInput) SetSnapshotType(v string) *DescribeDBClusterSnapshotsInput
SetSnapshotType sets the SnapshotType field's value.
func (DescribeDBClusterSnapshotsInput) String ¶ added in v0.7.2
func (s DescribeDBClusterSnapshotsInput) String() string
String returns the string representation
func (*DescribeDBClusterSnapshotsInput) Validate ¶ added in v1.1.22
func (s *DescribeDBClusterSnapshotsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBClusterSnapshotsOutput ¶ added in v0.7.2
type DescribeDBClusterSnapshotsOutput struct { // Provides a list of DB cluster snapshots for the user. DBClusterSnapshots []*DBClusterSnapshot `locationNameList:"DBClusterSnapshot" type:"list"` // An optional pagination token provided by a previous DescribeDBClusterSnapshots // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Provides a list of DB cluster snapshots for the user as the result of a call to the DescribeDBClusterSnapshots action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotMessage
func (DescribeDBClusterSnapshotsOutput) GoString ¶ added in v0.7.2
func (s DescribeDBClusterSnapshotsOutput) GoString() string
GoString returns the string representation
func (*DescribeDBClusterSnapshotsOutput) SetDBClusterSnapshots ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsOutput) SetDBClusterSnapshots(v []*DBClusterSnapshot) *DescribeDBClusterSnapshotsOutput
SetDBClusterSnapshots sets the DBClusterSnapshots field's value.
func (*DescribeDBClusterSnapshotsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClusterSnapshotsOutput) SetMarker(v string) *DescribeDBClusterSnapshotsOutput
SetMarker sets the Marker field's value.
func (DescribeDBClusterSnapshotsOutput) String ¶ added in v0.7.2
func (s DescribeDBClusterSnapshotsOutput) String() string
String returns the string representation
type DescribeDBClustersInput ¶ added in v0.7.2
type DescribeDBClustersInput struct { // The user-supplied DB cluster identifier. If this parameter is specified, // information from only the specific DB cluster is returned. This parameter // isn't case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBClusterIdentifier *string `type:"string"` // A filter that specifies one or more DB clusters to describe. // // Supported filters: // // * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon // Resource Names (ARNs). The results list will only include information // about the DB clusters identified by these ARNs. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBClusters request. // If this parameter is specified, the response includes only records beyond // the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClustersMessage
func (DescribeDBClustersInput) GoString ¶ added in v0.7.2
func (s DescribeDBClustersInput) GoString() string
GoString returns the string representation
func (*DescribeDBClustersInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *DescribeDBClustersInput) SetDBClusterIdentifier(v string) *DescribeDBClustersInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*DescribeDBClustersInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBClustersInput) SetFilters(v []*Filter) *DescribeDBClustersInput
SetFilters sets the Filters field's value.
func (*DescribeDBClustersInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClustersInput) SetMarker(v string) *DescribeDBClustersInput
SetMarker sets the Marker field's value.
func (*DescribeDBClustersInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBClustersInput) SetMaxRecords(v int64) *DescribeDBClustersInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBClustersInput) String ¶ added in v0.7.2
func (s DescribeDBClustersInput) String() string
String returns the string representation
func (*DescribeDBClustersInput) Validate ¶ added in v1.1.22
func (s *DescribeDBClustersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBClustersOutput ¶ added in v0.7.2
type DescribeDBClustersOutput struct { // Contains a list of DB clusters for the user. DBClusters []*DBCluster `locationNameList:"DBCluster" type:"list"` // A pagination token that can be used in a subsequent DescribeDBClusters request. Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBClusters action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMessage
func (DescribeDBClustersOutput) GoString ¶ added in v0.7.2
func (s DescribeDBClustersOutput) GoString() string
GoString returns the string representation
func (*DescribeDBClustersOutput) SetDBClusters ¶ added in v1.5.0
func (s *DescribeDBClustersOutput) SetDBClusters(v []*DBCluster) *DescribeDBClustersOutput
SetDBClusters sets the DBClusters field's value.
func (*DescribeDBClustersOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBClustersOutput) SetMarker(v string) *DescribeDBClustersOutput
SetMarker sets the Marker field's value.
func (DescribeDBClustersOutput) String ¶ added in v0.7.2
func (s DescribeDBClustersOutput) String() string
String returns the string representation
type DescribeDBEngineVersionsInput ¶
type DescribeDBEngineVersionsInput struct { // The name of a specific DB parameter group family to return details for. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBParameterGroupFamily *string `type:"string"` // Indicates that only the default version of the specified engine or engine // and major version combination is returned. DefaultOnly *bool `type:"boolean"` // The database engine to return. Engine *string `type:"string"` // The database engine version to return. // // Example: 5.1.49 EngineVersion *string `type:"string"` // Not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // If this parameter is specified and the requested engine supports the CharacterSetName // parameter for CreateDBInstance, the response includes a list of supported // character sets for each engine version. ListSupportedCharacterSets *bool `type:"boolean"` // If this parameter is specified and the requested engine supports the TimeZone // parameter for CreateDBInstance, the response includes a list of supported // time zones for each engine version. ListSupportedTimezones *bool `type:"boolean"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more than the // MaxRecords value is available, a pagination token called a marker is included // in the response so that the following results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersionsMessage
func (DescribeDBEngineVersionsInput) GoString ¶ added in v0.6.6
func (s DescribeDBEngineVersionsInput) GoString() string
GoString returns the string representation
func (*DescribeDBEngineVersionsInput) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetDBParameterGroupFamily(v string) *DescribeDBEngineVersionsInput
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*DescribeDBEngineVersionsInput) SetDefaultOnly ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetDefaultOnly(v bool) *DescribeDBEngineVersionsInput
SetDefaultOnly sets the DefaultOnly field's value.
func (*DescribeDBEngineVersionsInput) SetEngine ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetEngine(v string) *DescribeDBEngineVersionsInput
SetEngine sets the Engine field's value.
func (*DescribeDBEngineVersionsInput) SetEngineVersion ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetEngineVersion(v string) *DescribeDBEngineVersionsInput
SetEngineVersion sets the EngineVersion field's value.
func (*DescribeDBEngineVersionsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetFilters(v []*Filter) *DescribeDBEngineVersionsInput
SetFilters sets the Filters field's value.
func (*DescribeDBEngineVersionsInput) SetListSupportedCharacterSets ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetListSupportedCharacterSets(v bool) *DescribeDBEngineVersionsInput
SetListSupportedCharacterSets sets the ListSupportedCharacterSets field's value.
func (*DescribeDBEngineVersionsInput) SetListSupportedTimezones ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetListSupportedTimezones(v bool) *DescribeDBEngineVersionsInput
SetListSupportedTimezones sets the ListSupportedTimezones field's value.
func (*DescribeDBEngineVersionsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetMarker(v string) *DescribeDBEngineVersionsInput
SetMarker sets the Marker field's value.
func (*DescribeDBEngineVersionsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsInput) SetMaxRecords(v int64) *DescribeDBEngineVersionsInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBEngineVersionsInput) String ¶ added in v0.6.6
func (s DescribeDBEngineVersionsInput) String() string
String returns the string representation
func (*DescribeDBEngineVersionsInput) Validate ¶ added in v1.1.22
func (s *DescribeDBEngineVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBEngineVersionsOutput ¶
type DescribeDBEngineVersionsOutput struct { // A list of DBEngineVersion elements. DBEngineVersions []*DBEngineVersion `locationNameList:"DBEngineVersion" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBEngineVersions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersionMessage
func (DescribeDBEngineVersionsOutput) GoString ¶ added in v0.6.6
func (s DescribeDBEngineVersionsOutput) GoString() string
GoString returns the string representation
func (*DescribeDBEngineVersionsOutput) SetDBEngineVersions ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsOutput) SetDBEngineVersions(v []*DBEngineVersion) *DescribeDBEngineVersionsOutput
SetDBEngineVersions sets the DBEngineVersions field's value.
func (*DescribeDBEngineVersionsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBEngineVersionsOutput) SetMarker(v string) *DescribeDBEngineVersionsOutput
SetMarker sets the Marker field's value.
func (DescribeDBEngineVersionsOutput) String ¶ added in v0.6.6
func (s DescribeDBEngineVersionsOutput) String() string
String returns the string representation
type DescribeDBInstancesInput ¶
type DescribeDBInstancesInput struct { // The user-supplied instance identifier. If this parameter is specified, information // from only the specific DB instance is returned. This parameter isn't case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBInstanceIdentifier *string `type:"string"` // A filter that specifies one or more DB instances to describe. // // Supported filters: // // * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon // Resource Names (ARNs). The results list will only include information // about the DB instances associated with the DB Clusters identified by these // ARNs. // // * db-instance-id - Accepts DB instance identifiers and DB instance Amazon // Resource Names (ARNs). The results list will only include information // about the DB instances identified by these ARNs. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBInstances request. // If this parameter is specified, the response includes only records beyond // the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstancesMessage
func (DescribeDBInstancesInput) GoString ¶ added in v0.6.6
func (s DescribeDBInstancesInput) GoString() string
GoString returns the string representation
func (*DescribeDBInstancesInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DescribeDBInstancesInput) SetDBInstanceIdentifier(v string) *DescribeDBInstancesInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DescribeDBInstancesInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBInstancesInput) SetFilters(v []*Filter) *DescribeDBInstancesInput
SetFilters sets the Filters field's value.
func (*DescribeDBInstancesInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBInstancesInput) SetMarker(v string) *DescribeDBInstancesInput
SetMarker sets the Marker field's value.
func (*DescribeDBInstancesInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBInstancesInput) SetMaxRecords(v int64) *DescribeDBInstancesInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBInstancesInput) String ¶ added in v0.6.6
func (s DescribeDBInstancesInput) String() string
String returns the string representation
func (*DescribeDBInstancesInput) Validate ¶ added in v1.1.22
func (s *DescribeDBInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBInstancesOutput ¶
type DescribeDBInstancesOutput struct { // A list of DBInstance instances. DBInstances []*DBInstance `locationNameList:"DBInstance" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords . Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBInstances action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceMessage
func (DescribeDBInstancesOutput) GoString ¶ added in v0.6.6
func (s DescribeDBInstancesOutput) GoString() string
GoString returns the string representation
func (*DescribeDBInstancesOutput) SetDBInstances ¶ added in v1.5.0
func (s *DescribeDBInstancesOutput) SetDBInstances(v []*DBInstance) *DescribeDBInstancesOutput
SetDBInstances sets the DBInstances field's value.
func (*DescribeDBInstancesOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBInstancesOutput) SetMarker(v string) *DescribeDBInstancesOutput
SetMarker sets the Marker field's value.
func (DescribeDBInstancesOutput) String ¶ added in v0.6.6
func (s DescribeDBInstancesOutput) String() string
String returns the string representation
type DescribeDBLogFilesDetails ¶
type DescribeDBLogFilesDetails struct { // A POSIX timestamp when the last log entry was written. LastWritten *int64 `type:"long"` // The name of the log file for the specified DB instance. LogFileName *string `type:"string"` // The size, in bytes, of the log file for the specified DB instance. Size *int64 `type:"long"` // contains filtered or unexported fields }
This data type is used as a response element to DescribeDBLogFiles. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesDetails
func (DescribeDBLogFilesDetails) GoString ¶ added in v0.6.6
func (s DescribeDBLogFilesDetails) GoString() string
GoString returns the string representation
func (*DescribeDBLogFilesDetails) SetLastWritten ¶ added in v1.5.0
func (s *DescribeDBLogFilesDetails) SetLastWritten(v int64) *DescribeDBLogFilesDetails
SetLastWritten sets the LastWritten field's value.
func (*DescribeDBLogFilesDetails) SetLogFileName ¶ added in v1.5.0
func (s *DescribeDBLogFilesDetails) SetLogFileName(v string) *DescribeDBLogFilesDetails
SetLogFileName sets the LogFileName field's value.
func (*DescribeDBLogFilesDetails) SetSize ¶ added in v1.5.0
func (s *DescribeDBLogFilesDetails) SetSize(v int64) *DescribeDBLogFilesDetails
SetSize sets the Size field's value.
func (DescribeDBLogFilesDetails) String ¶ added in v0.6.6
func (s DescribeDBLogFilesDetails) String() string
String returns the string representation
type DescribeDBLogFilesInput ¶
type DescribeDBLogFilesInput struct { // The customer-assigned name of the DB instance that contains the log files // you want to list. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // Filters the available log files for files written since the specified date, // in POSIX timestamp format with milliseconds. FileLastWritten *int64 `type:"long"` // Filters the available log files for files larger than the specified size. FileSize *int64 `type:"long"` // Filters the available log files for log file names that contain the specified // string. FilenameContains *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // The pagination token provided in the previous request. If this parameter // is specified the response includes only records beyond the marker, up to // MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesMessage
func (DescribeDBLogFilesInput) GoString ¶ added in v0.6.6
func (s DescribeDBLogFilesInput) GoString() string
GoString returns the string representation
func (*DescribeDBLogFilesInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DescribeDBLogFilesInput) SetDBInstanceIdentifier(v string) *DescribeDBLogFilesInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DescribeDBLogFilesInput) SetFileLastWritten ¶ added in v1.5.0
func (s *DescribeDBLogFilesInput) SetFileLastWritten(v int64) *DescribeDBLogFilesInput
SetFileLastWritten sets the FileLastWritten field's value.
func (*DescribeDBLogFilesInput) SetFileSize ¶ added in v1.5.0
func (s *DescribeDBLogFilesInput) SetFileSize(v int64) *DescribeDBLogFilesInput
SetFileSize sets the FileSize field's value.
func (*DescribeDBLogFilesInput) SetFilenameContains ¶ added in v1.5.0
func (s *DescribeDBLogFilesInput) SetFilenameContains(v string) *DescribeDBLogFilesInput
SetFilenameContains sets the FilenameContains field's value.
func (*DescribeDBLogFilesInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBLogFilesInput) SetFilters(v []*Filter) *DescribeDBLogFilesInput
SetFilters sets the Filters field's value.
func (*DescribeDBLogFilesInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBLogFilesInput) SetMarker(v string) *DescribeDBLogFilesInput
SetMarker sets the Marker field's value.
func (*DescribeDBLogFilesInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBLogFilesInput) SetMaxRecords(v int64) *DescribeDBLogFilesInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBLogFilesInput) String ¶ added in v0.6.6
func (s DescribeDBLogFilesInput) String() string
String returns the string representation
func (*DescribeDBLogFilesInput) Validate ¶ added in v1.1.22
func (s *DescribeDBLogFilesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBLogFilesOutput ¶
type DescribeDBLogFilesOutput struct { // The DB log files returned. DescribeDBLogFiles []*DescribeDBLogFilesDetails `locationNameList:"DescribeDBLogFilesDetails" type:"list"` // A pagination token that can be used in a subsequent DescribeDBLogFiles request. Marker *string `type:"string"` // contains filtered or unexported fields }
The response from a call to DescribeDBLogFiles. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesResponse
func (DescribeDBLogFilesOutput) GoString ¶ added in v0.6.6
func (s DescribeDBLogFilesOutput) GoString() string
GoString returns the string representation
func (*DescribeDBLogFilesOutput) SetDescribeDBLogFiles ¶ added in v1.5.0
func (s *DescribeDBLogFilesOutput) SetDescribeDBLogFiles(v []*DescribeDBLogFilesDetails) *DescribeDBLogFilesOutput
SetDescribeDBLogFiles sets the DescribeDBLogFiles field's value.
func (*DescribeDBLogFilesOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBLogFilesOutput) SetMarker(v string) *DescribeDBLogFilesOutput
SetMarker sets the Marker field's value.
func (DescribeDBLogFilesOutput) String ¶ added in v0.6.6
func (s DescribeDBLogFilesOutput) String() string
String returns the string representation
type DescribeDBParameterGroupsInput ¶
type DescribeDBParameterGroupsInput struct { // The name of a specific DB parameter group to return details for. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBParameterGroupName *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBParameterGroups // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroupsMessage
func (DescribeDBParameterGroupsInput) GoString ¶ added in v0.6.6
func (s DescribeDBParameterGroupsInput) GoString() string
GoString returns the string representation
func (*DescribeDBParameterGroupsInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *DescribeDBParameterGroupsInput) SetDBParameterGroupName(v string) *DescribeDBParameterGroupsInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*DescribeDBParameterGroupsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBParameterGroupsInput) SetFilters(v []*Filter) *DescribeDBParameterGroupsInput
SetFilters sets the Filters field's value.
func (*DescribeDBParameterGroupsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBParameterGroupsInput) SetMarker(v string) *DescribeDBParameterGroupsInput
SetMarker sets the Marker field's value.
func (*DescribeDBParameterGroupsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBParameterGroupsInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBParameterGroupsInput) String ¶ added in v0.6.6
func (s DescribeDBParameterGroupsInput) String() string
String returns the string representation
func (*DescribeDBParameterGroupsInput) Validate ¶ added in v1.1.22
func (s *DescribeDBParameterGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBParameterGroupsOutput ¶
type DescribeDBParameterGroupsOutput struct { // A list of DBParameterGroup instances. DBParameterGroups []*DBParameterGroup `locationNameList:"DBParameterGroup" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBParameterGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupsMessage
func (DescribeDBParameterGroupsOutput) GoString ¶ added in v0.6.6
func (s DescribeDBParameterGroupsOutput) GoString() string
GoString returns the string representation
func (*DescribeDBParameterGroupsOutput) SetDBParameterGroups ¶ added in v1.5.0
func (s *DescribeDBParameterGroupsOutput) SetDBParameterGroups(v []*DBParameterGroup) *DescribeDBParameterGroupsOutput
SetDBParameterGroups sets the DBParameterGroups field's value.
func (*DescribeDBParameterGroupsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBParameterGroupsOutput) SetMarker(v string) *DescribeDBParameterGroupsOutput
SetMarker sets the Marker field's value.
func (DescribeDBParameterGroupsOutput) String ¶ added in v0.6.6
func (s DescribeDBParameterGroupsOutput) String() string
String returns the string representation
type DescribeDBParametersInput ¶
type DescribeDBParametersInput struct { // The name of a specific DB parameter group to return details for. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The parameter types to return. // // Default: All parameter types returned // // Valid Values: user | system | engine-default Source *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParametersMessage
func (DescribeDBParametersInput) GoString ¶ added in v0.6.6
func (s DescribeDBParametersInput) GoString() string
GoString returns the string representation
func (*DescribeDBParametersInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *DescribeDBParametersInput) SetDBParameterGroupName(v string) *DescribeDBParametersInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*DescribeDBParametersInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBParametersInput) SetFilters(v []*Filter) *DescribeDBParametersInput
SetFilters sets the Filters field's value.
func (*DescribeDBParametersInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBParametersInput) SetMarker(v string) *DescribeDBParametersInput
SetMarker sets the Marker field's value.
func (*DescribeDBParametersInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBParametersInput) SetMaxRecords(v int64) *DescribeDBParametersInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeDBParametersInput) SetSource ¶ added in v1.5.0
func (s *DescribeDBParametersInput) SetSource(v string) *DescribeDBParametersInput
SetSource sets the Source field's value.
func (DescribeDBParametersInput) String ¶ added in v0.6.6
func (s DescribeDBParametersInput) String() string
String returns the string representation
func (*DescribeDBParametersInput) Validate ¶ added in v1.1.22
func (s *DescribeDBParametersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBParametersOutput ¶
type DescribeDBParametersOutput struct { // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // A list of Parameter values. Parameters []*Parameter `locationNameList:"Parameter" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBParameters action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupDetails
func (DescribeDBParametersOutput) GoString ¶ added in v0.6.6
func (s DescribeDBParametersOutput) GoString() string
GoString returns the string representation
func (*DescribeDBParametersOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBParametersOutput) SetMarker(v string) *DescribeDBParametersOutput
SetMarker sets the Marker field's value.
func (*DescribeDBParametersOutput) SetParameters ¶ added in v1.5.0
func (s *DescribeDBParametersOutput) SetParameters(v []*Parameter) *DescribeDBParametersOutput
SetParameters sets the Parameters field's value.
func (DescribeDBParametersOutput) String ¶ added in v0.6.6
func (s DescribeDBParametersOutput) String() string
String returns the string representation
type DescribeDBSecurityGroupsInput ¶
type DescribeDBSecurityGroupsInput struct { // The name of the DB security group to return details for. DBSecurityGroupName *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBSecurityGroups // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroupsMessage
func (DescribeDBSecurityGroupsInput) GoString ¶ added in v0.6.6
func (s DescribeDBSecurityGroupsInput) GoString() string
GoString returns the string representation
func (*DescribeDBSecurityGroupsInput) SetDBSecurityGroupName ¶ added in v1.5.0
func (s *DescribeDBSecurityGroupsInput) SetDBSecurityGroupName(v string) *DescribeDBSecurityGroupsInput
SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
func (*DescribeDBSecurityGroupsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBSecurityGroupsInput) SetFilters(v []*Filter) *DescribeDBSecurityGroupsInput
SetFilters sets the Filters field's value.
func (*DescribeDBSecurityGroupsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBSecurityGroupsInput) SetMarker(v string) *DescribeDBSecurityGroupsInput
SetMarker sets the Marker field's value.
func (*DescribeDBSecurityGroupsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBSecurityGroupsInput) SetMaxRecords(v int64) *DescribeDBSecurityGroupsInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBSecurityGroupsInput) String ¶ added in v0.6.6
func (s DescribeDBSecurityGroupsInput) String() string
String returns the string representation
func (*DescribeDBSecurityGroupsInput) Validate ¶ added in v1.1.22
func (s *DescribeDBSecurityGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBSecurityGroupsOutput ¶
type DescribeDBSecurityGroupsOutput struct { // A list of DBSecurityGroup instances. DBSecurityGroups []*DBSecurityGroup `locationNameList:"DBSecurityGroup" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBSecurityGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroupMessage
func (DescribeDBSecurityGroupsOutput) GoString ¶ added in v0.6.6
func (s DescribeDBSecurityGroupsOutput) GoString() string
GoString returns the string representation
func (*DescribeDBSecurityGroupsOutput) SetDBSecurityGroups ¶ added in v1.5.0
func (s *DescribeDBSecurityGroupsOutput) SetDBSecurityGroups(v []*DBSecurityGroup) *DescribeDBSecurityGroupsOutput
SetDBSecurityGroups sets the DBSecurityGroups field's value.
func (*DescribeDBSecurityGroupsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBSecurityGroupsOutput) SetMarker(v string) *DescribeDBSecurityGroupsOutput
SetMarker sets the Marker field's value.
func (DescribeDBSecurityGroupsOutput) String ¶ added in v0.6.6
func (s DescribeDBSecurityGroupsOutput) String() string
String returns the string representation
type DescribeDBSnapshotAttributesInput ¶ added in v1.0.0
type DescribeDBSnapshotAttributesInput struct { // The identifier for the DB snapshot to describe the attributes for. // // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesMessage
func (DescribeDBSnapshotAttributesInput) GoString ¶ added in v1.0.0
func (s DescribeDBSnapshotAttributesInput) GoString() string
GoString returns the string representation
func (*DescribeDBSnapshotAttributesInput) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DescribeDBSnapshotAttributesInput) SetDBSnapshotIdentifier(v string) *DescribeDBSnapshotAttributesInput
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (DescribeDBSnapshotAttributesInput) String ¶ added in v1.0.0
func (s DescribeDBSnapshotAttributesInput) String() string
String returns the string representation
func (*DescribeDBSnapshotAttributesInput) Validate ¶ added in v1.1.33
func (s *DescribeDBSnapshotAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBSnapshotAttributesOutput ¶ added in v1.0.0
type DescribeDBSnapshotAttributesOutput struct { // Contains the results of a successful call to the DescribeDBSnapshotAttributes // API action. // // Manual DB snapshot attributes are used to authorize other AWS accounts to // copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute // API action. DBSnapshotAttributesResult *DBSnapshotAttributesResult `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesResult
func (DescribeDBSnapshotAttributesOutput) GoString ¶ added in v1.0.0
func (s DescribeDBSnapshotAttributesOutput) GoString() string
GoString returns the string representation
func (*DescribeDBSnapshotAttributesOutput) SetDBSnapshotAttributesResult ¶ added in v1.5.0
func (s *DescribeDBSnapshotAttributesOutput) SetDBSnapshotAttributesResult(v *DBSnapshotAttributesResult) *DescribeDBSnapshotAttributesOutput
SetDBSnapshotAttributesResult sets the DBSnapshotAttributesResult field's value.
func (DescribeDBSnapshotAttributesOutput) String ¶ added in v1.0.0
func (s DescribeDBSnapshotAttributesOutput) String() string
String returns the string representation
type DescribeDBSnapshotsInput ¶
type DescribeDBSnapshotsInput struct { // The ID of the DB instance to retrieve the list of DB snapshots for. This // parameter cannot be used in conjunction with DBSnapshotIdentifier. This parameter // is not case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBInstanceIdentifier *string `type:"string"` // A specific DB snapshot identifier to describe. This parameter cannot be used // in conjunction with DBInstanceIdentifier. This value is stored as a lowercase // string. // // Constraints: // // * Must be 1 to 255 alphanumeric characters. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // * If this identifier is for an automated snapshot, the SnapshotType parameter // must also be specified. DBSnapshotIdentifier *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // Set this value to true to include manual DB snapshots that are public and // can be copied or restored by any AWS account, otherwise set this value to // false. The default is false. // // You can share a manual DB snapshot as public by using the ModifyDBSnapshotAttribute // API. IncludePublic *bool `type:"boolean"` // accounts that this AWS account has been given permission to copy or restore, // otherwise set this value to false. The default is false. // // You can give an AWS account permission to restore a manual DB snapshot from // another AWS account by using the ModifyDBSnapshotAttribute API action. IncludeShared *bool `type:"boolean"` // An optional pagination token provided by a previous DescribeDBSnapshots request. // If this parameter is specified, the response includes only records beyond // the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The type of snapshots to be returned. You can specify one of the following // values: // // * automated - Return all DB snapshots that have been automatically taken // by Amazon RDS for my AWS account. // // * manual - Return all DB snapshots that have been taken by my AWS account. // // * shared - Return all manual DB snapshots that have been shared to my // AWS account. // // * public - Return all DB snapshots that have been marked as public. // // If you don't specify a SnapshotType value, then both automated and manual // snapshots are returned. Shared and public DB snapshots are not included in // the returned results by default. You can include shared snapshots with these // results by setting the IncludeShared parameter to true. You can include public // snapshots with these results by setting the IncludePublic parameter to true. // // The IncludeShared and IncludePublic parameters don't apply for SnapshotType // values of manual or automated. The IncludePublic parameter doesn't apply // when SnapshotType is set to shared. The IncludeShared parameter doesn't apply // when SnapshotType is set to public. SnapshotType *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotsMessage
func (DescribeDBSnapshotsInput) GoString ¶ added in v0.6.6
func (s DescribeDBSnapshotsInput) GoString() string
GoString returns the string representation
func (*DescribeDBSnapshotsInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetDBInstanceIdentifier(v string) *DescribeDBSnapshotsInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DescribeDBSnapshotsInput) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetDBSnapshotIdentifier(v string) *DescribeDBSnapshotsInput
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (*DescribeDBSnapshotsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetFilters(v []*Filter) *DescribeDBSnapshotsInput
SetFilters sets the Filters field's value.
func (*DescribeDBSnapshotsInput) SetIncludePublic ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetIncludePublic(v bool) *DescribeDBSnapshotsInput
SetIncludePublic sets the IncludePublic field's value.
func (*DescribeDBSnapshotsInput) SetIncludeShared ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetIncludeShared(v bool) *DescribeDBSnapshotsInput
SetIncludeShared sets the IncludeShared field's value.
func (*DescribeDBSnapshotsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetMarker(v string) *DescribeDBSnapshotsInput
SetMarker sets the Marker field's value.
func (*DescribeDBSnapshotsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetMaxRecords(v int64) *DescribeDBSnapshotsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeDBSnapshotsInput) SetSnapshotType ¶ added in v1.5.0
func (s *DescribeDBSnapshotsInput) SetSnapshotType(v string) *DescribeDBSnapshotsInput
SetSnapshotType sets the SnapshotType field's value.
func (DescribeDBSnapshotsInput) String ¶ added in v0.6.6
func (s DescribeDBSnapshotsInput) String() string
String returns the string representation
func (*DescribeDBSnapshotsInput) Validate ¶ added in v1.1.22
func (s *DescribeDBSnapshotsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBSnapshotsOutput ¶
type DescribeDBSnapshotsOutput struct { // A list of DBSnapshot instances. DBSnapshots []*DBSnapshot `locationNameList:"DBSnapshot" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBSnapshots action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotMessage
func (DescribeDBSnapshotsOutput) GoString ¶ added in v0.6.6
func (s DescribeDBSnapshotsOutput) GoString() string
GoString returns the string representation
func (*DescribeDBSnapshotsOutput) SetDBSnapshots ¶ added in v1.5.0
func (s *DescribeDBSnapshotsOutput) SetDBSnapshots(v []*DBSnapshot) *DescribeDBSnapshotsOutput
SetDBSnapshots sets the DBSnapshots field's value.
func (*DescribeDBSnapshotsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBSnapshotsOutput) SetMarker(v string) *DescribeDBSnapshotsOutput
SetMarker sets the Marker field's value.
func (DescribeDBSnapshotsOutput) String ¶ added in v0.6.6
func (s DescribeDBSnapshotsOutput) String() string
String returns the string representation
type DescribeDBSubnetGroupsInput ¶
type DescribeDBSubnetGroupsInput struct { // The name of the DB subnet group to return details for. DBSubnetGroupName *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBSubnetGroups // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroupsMessage
func (DescribeDBSubnetGroupsInput) GoString ¶ added in v0.6.6
func (s DescribeDBSubnetGroupsInput) GoString() string
GoString returns the string representation
func (*DescribeDBSubnetGroupsInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *DescribeDBSubnetGroupsInput) SetDBSubnetGroupName(v string) *DescribeDBSubnetGroupsInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*DescribeDBSubnetGroupsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeDBSubnetGroupsInput) SetFilters(v []*Filter) *DescribeDBSubnetGroupsInput
SetFilters sets the Filters field's value.
func (*DescribeDBSubnetGroupsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBSubnetGroupsInput) SetMarker(v string) *DescribeDBSubnetGroupsInput
SetMarker sets the Marker field's value.
func (*DescribeDBSubnetGroupsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeDBSubnetGroupsInput) SetMaxRecords(v int64) *DescribeDBSubnetGroupsInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeDBSubnetGroupsInput) String ¶ added in v0.6.6
func (s DescribeDBSubnetGroupsInput) String() string
String returns the string representation
func (*DescribeDBSubnetGroupsInput) Validate ¶ added in v1.1.22
func (s *DescribeDBSubnetGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDBSubnetGroupsOutput ¶
type DescribeDBSubnetGroupsOutput struct { // A list of DBSubnetGroup instances. DBSubnetGroups []*DBSubnetGroup `locationNameList:"DBSubnetGroup" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeDBSubnetGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSubnetGroupMessage
func (DescribeDBSubnetGroupsOutput) GoString ¶ added in v0.6.6
func (s DescribeDBSubnetGroupsOutput) GoString() string
GoString returns the string representation
func (*DescribeDBSubnetGroupsOutput) SetDBSubnetGroups ¶ added in v1.5.0
func (s *DescribeDBSubnetGroupsOutput) SetDBSubnetGroups(v []*DBSubnetGroup) *DescribeDBSubnetGroupsOutput
SetDBSubnetGroups sets the DBSubnetGroups field's value.
func (*DescribeDBSubnetGroupsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeDBSubnetGroupsOutput) SetMarker(v string) *DescribeDBSubnetGroupsOutput
SetMarker sets the Marker field's value.
func (DescribeDBSubnetGroupsOutput) String ¶ added in v0.6.6
func (s DescribeDBSubnetGroupsOutput) String() string
String returns the string representation
type DescribeEngineDefaultClusterParametersInput ¶ added in v0.7.2
type DescribeEngineDefaultClusterParametersInput struct { // The name of the DB cluster parameter group family to return engine parameter // information for. // // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeEngineDefaultClusterParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersMessage
func (DescribeEngineDefaultClusterParametersInput) GoString ¶ added in v0.7.2
func (s DescribeEngineDefaultClusterParametersInput) GoString() string
GoString returns the string representation
func (*DescribeEngineDefaultClusterParametersInput) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *DescribeEngineDefaultClusterParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultClusterParametersInput
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*DescribeEngineDefaultClusterParametersInput) SetFilters ¶ added in v1.5.0
func (s *DescribeEngineDefaultClusterParametersInput) SetFilters(v []*Filter) *DescribeEngineDefaultClusterParametersInput
SetFilters sets the Filters field's value.
func (*DescribeEngineDefaultClusterParametersInput) SetMarker ¶ added in v1.5.0
func (s *DescribeEngineDefaultClusterParametersInput) SetMarker(v string) *DescribeEngineDefaultClusterParametersInput
SetMarker sets the Marker field's value.
func (*DescribeEngineDefaultClusterParametersInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeEngineDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultClusterParametersInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeEngineDefaultClusterParametersInput) String ¶ added in v0.7.2
func (s DescribeEngineDefaultClusterParametersInput) String() string
String returns the string representation
func (*DescribeEngineDefaultClusterParametersInput) Validate ¶ added in v1.1.22
func (s *DescribeEngineDefaultClusterParametersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeEngineDefaultClusterParametersOutput ¶ added in v0.7.2
type DescribeEngineDefaultClusterParametersOutput struct { // Contains the result of a successful invocation of the DescribeEngineDefaultParameters // action. EngineDefaults *EngineDefaults `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersResult
func (DescribeEngineDefaultClusterParametersOutput) GoString ¶ added in v0.7.2
func (s DescribeEngineDefaultClusterParametersOutput) GoString() string
GoString returns the string representation
func (*DescribeEngineDefaultClusterParametersOutput) SetEngineDefaults ¶ added in v1.5.0
func (s *DescribeEngineDefaultClusterParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultClusterParametersOutput
SetEngineDefaults sets the EngineDefaults field's value.
func (DescribeEngineDefaultClusterParametersOutput) String ¶ added in v0.7.2
func (s DescribeEngineDefaultClusterParametersOutput) String() string
String returns the string representation
type DescribeEngineDefaultParametersInput ¶
type DescribeEngineDefaultParametersInput struct { // The name of the DB parameter group family. // // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // Not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeEngineDefaultParameters // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersMessage
func (DescribeEngineDefaultParametersInput) GoString ¶ added in v0.6.6
func (s DescribeEngineDefaultParametersInput) GoString() string
GoString returns the string representation
func (*DescribeEngineDefaultParametersInput) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *DescribeEngineDefaultParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultParametersInput
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*DescribeEngineDefaultParametersInput) SetFilters ¶ added in v1.5.0
func (s *DescribeEngineDefaultParametersInput) SetFilters(v []*Filter) *DescribeEngineDefaultParametersInput
SetFilters sets the Filters field's value.
func (*DescribeEngineDefaultParametersInput) SetMarker ¶ added in v1.5.0
func (s *DescribeEngineDefaultParametersInput) SetMarker(v string) *DescribeEngineDefaultParametersInput
SetMarker sets the Marker field's value.
func (*DescribeEngineDefaultParametersInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultParametersInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeEngineDefaultParametersInput) String ¶ added in v0.6.6
func (s DescribeEngineDefaultParametersInput) String() string
String returns the string representation
func (*DescribeEngineDefaultParametersInput) Validate ¶ added in v1.1.22
func (s *DescribeEngineDefaultParametersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeEngineDefaultParametersOutput ¶
type DescribeEngineDefaultParametersOutput struct { // Contains the result of a successful invocation of the DescribeEngineDefaultParameters // action. EngineDefaults *EngineDefaults `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersResult
func (DescribeEngineDefaultParametersOutput) GoString ¶ added in v0.6.6
func (s DescribeEngineDefaultParametersOutput) GoString() string
GoString returns the string representation
func (*DescribeEngineDefaultParametersOutput) SetEngineDefaults ¶ added in v1.5.0
func (s *DescribeEngineDefaultParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultParametersOutput
SetEngineDefaults sets the EngineDefaults field's value.
func (DescribeEngineDefaultParametersOutput) String ¶ added in v0.6.6
func (s DescribeEngineDefaultParametersOutput) String() string
String returns the string representation
type DescribeEventCategoriesInput ¶
type DescribeEventCategoriesInput struct { // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // The type of source that will be generating the events. // // Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot SourceType *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategoriesMessage
func (DescribeEventCategoriesInput) GoString ¶ added in v0.6.6
func (s DescribeEventCategoriesInput) GoString() string
GoString returns the string representation
func (*DescribeEventCategoriesInput) SetFilters ¶ added in v1.5.0
func (s *DescribeEventCategoriesInput) SetFilters(v []*Filter) *DescribeEventCategoriesInput
SetFilters sets the Filters field's value.
func (*DescribeEventCategoriesInput) SetSourceType ¶ added in v1.5.0
func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput
SetSourceType sets the SourceType field's value.
func (DescribeEventCategoriesInput) String ¶ added in v0.6.6
func (s DescribeEventCategoriesInput) String() string
String returns the string representation
func (*DescribeEventCategoriesInput) Validate ¶ added in v1.1.22
func (s *DescribeEventCategoriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeEventCategoriesOutput ¶
type DescribeEventCategoriesOutput struct { // A list of EventCategoriesMap data types. EventCategoriesMapList []*EventCategoriesMap `locationNameList:"EventCategoriesMap" type:"list"` // contains filtered or unexported fields }
Data returned from the DescribeEventCategories action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMessage
func (DescribeEventCategoriesOutput) GoString ¶ added in v0.6.6
func (s DescribeEventCategoriesOutput) GoString() string
GoString returns the string representation
func (*DescribeEventCategoriesOutput) SetEventCategoriesMapList ¶ added in v1.5.0
func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []*EventCategoriesMap) *DescribeEventCategoriesOutput
SetEventCategoriesMapList sets the EventCategoriesMapList field's value.
func (DescribeEventCategoriesOutput) String ¶ added in v0.6.6
func (s DescribeEventCategoriesOutput) String() string
String returns the string representation
type DescribeEventSubscriptionsInput ¶
type DescribeEventSubscriptionsInput struct { // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords . Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The name of the RDS event notification subscription you want to describe. SubscriptionName *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptionsMessage
func (DescribeEventSubscriptionsInput) GoString ¶ added in v0.6.6
func (s DescribeEventSubscriptionsInput) GoString() string
GoString returns the string representation
func (*DescribeEventSubscriptionsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeEventSubscriptionsInput) SetFilters(v []*Filter) *DescribeEventSubscriptionsInput
SetFilters sets the Filters field's value.
func (*DescribeEventSubscriptionsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput
SetMarker sets the Marker field's value.
func (*DescribeEventSubscriptionsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeEventSubscriptionsInput) SetSubscriptionName ¶ added in v1.5.0
func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput
SetSubscriptionName sets the SubscriptionName field's value.
func (DescribeEventSubscriptionsInput) String ¶ added in v0.6.6
func (s DescribeEventSubscriptionsInput) String() string
String returns the string representation
func (*DescribeEventSubscriptionsInput) Validate ¶ added in v1.1.22
func (s *DescribeEventSubscriptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeEventSubscriptionsOutput ¶
type DescribeEventSubscriptionsOutput struct { // A list of EventSubscriptions data types. EventSubscriptionsList []*EventSubscription `locationNameList:"EventSubscription" type:"list"` // An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // contains filtered or unexported fields }
Data returned by the DescribeEventSubscriptions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscriptionsMessage
func (DescribeEventSubscriptionsOutput) GoString ¶ added in v0.6.6
func (s DescribeEventSubscriptionsOutput) GoString() string
GoString returns the string representation
func (*DescribeEventSubscriptionsOutput) SetEventSubscriptionsList ¶ added in v1.5.0
func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput
SetEventSubscriptionsList sets the EventSubscriptionsList field's value.
func (*DescribeEventSubscriptionsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput
SetMarker sets the Marker field's value.
func (DescribeEventSubscriptionsOutput) String ¶ added in v0.6.6
func (s DescribeEventSubscriptionsOutput) String() string
String returns the string representation
type DescribeEventsInput ¶
type DescribeEventsInput struct { // The number of minutes to retrieve events for. // // Default: 60 Duration *int64 `type:"integer"` // The end of the time interval for which to retrieve events, specified in ISO // 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia // page. (http://en.wikipedia.org/wiki/ISO_8601) // // Example: 2009-07-08T18:00Z EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // A list of event categories that trigger notifications for a event notification // subscription. EventCategories []*string `locationNameList:"EventCategory" type:"list"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeEvents request. // If this parameter is specified, the response includes only records beyond // the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The identifier of the event source for which events will be returned. If // not specified, then all sources are included in the response. // // Constraints: // // * If SourceIdentifier is supplied, SourceType must also be provided. // // * If the source type is DBInstance, then a DBInstanceIdentifier must be // supplied. // // * If the source type is DBSecurityGroup, a DBSecurityGroupName must be // supplied. // // * If the source type is DBParameterGroup, a DBParameterGroupName must // be supplied. // // * If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied. // // * Cannot end with a hyphen or contain two consecutive hyphens. SourceIdentifier *string `type:"string"` // The event source to retrieve events for. If no value is specified, all events // are returned. SourceType *string `type:"string" enum:"SourceType"` // The beginning of the time interval to retrieve events for, specified in ISO // 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia // page. (http://en.wikipedia.org/wiki/ISO_8601) // // Example: 2009-07-08T18:00Z StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventsMessage
func (DescribeEventsInput) GoString ¶ added in v0.6.6
func (s DescribeEventsInput) GoString() string
GoString returns the string representation
func (*DescribeEventsInput) SetDuration ¶ added in v1.5.0
func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput
SetDuration sets the Duration field's value.
func (*DescribeEventsInput) SetEndTime ¶ added in v1.5.0
func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput
SetEndTime sets the EndTime field's value.
func (*DescribeEventsInput) SetEventCategories ¶ added in v1.5.0
func (s *DescribeEventsInput) SetEventCategories(v []*string) *DescribeEventsInput
SetEventCategories sets the EventCategories field's value.
func (*DescribeEventsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeEventsInput) SetFilters(v []*Filter) *DescribeEventsInput
SetFilters sets the Filters field's value.
func (*DescribeEventsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput
SetMarker sets the Marker field's value.
func (*DescribeEventsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeEventsInput) SetSourceIdentifier ¶ added in v1.5.0
func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput
SetSourceIdentifier sets the SourceIdentifier field's value.
func (*DescribeEventsInput) SetSourceType ¶ added in v1.5.0
func (s *DescribeEventsInput) SetSourceType(v string) *DescribeEventsInput
SetSourceType sets the SourceType field's value.
func (*DescribeEventsInput) SetStartTime ¶ added in v1.5.0
func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput
SetStartTime sets the StartTime field's value.
func (DescribeEventsInput) String ¶ added in v0.6.6
func (s DescribeEventsInput) String() string
String returns the string representation
func (*DescribeEventsInput) Validate ¶ added in v1.1.22
func (s *DescribeEventsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeEventsOutput ¶
type DescribeEventsOutput struct { // A list of Event instances. Events []*Event `locationNameList:"Event" type:"list"` // An optional pagination token provided by a previous Events request. If this // parameter is specified, the response includes only records beyond the marker, // up to the value specified by MaxRecords . Marker *string `type:"string"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeEvents action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventsMessage
func (DescribeEventsOutput) GoString ¶ added in v0.6.6
func (s DescribeEventsOutput) GoString() string
GoString returns the string representation
func (*DescribeEventsOutput) SetEvents ¶ added in v1.5.0
func (s *DescribeEventsOutput) SetEvents(v []*Event) *DescribeEventsOutput
SetEvents sets the Events field's value.
func (*DescribeEventsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput
SetMarker sets the Marker field's value.
func (DescribeEventsOutput) String ¶ added in v0.6.6
func (s DescribeEventsOutput) String() string
String returns the string representation
type DescribeOptionGroupOptionsInput ¶
type DescribeOptionGroupOptionsInput struct { // A required parameter. Options available for the given engine name will be // described. // // EngineName is a required field EngineName *string `type:"string" required:"true"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // If specified, filters the results to include only options for the specified // major engine version. MajorEngineVersion *string `type:"string"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptionsMessage
func (DescribeOptionGroupOptionsInput) GoString ¶ added in v0.6.6
func (s DescribeOptionGroupOptionsInput) GoString() string
GoString returns the string representation
func (*DescribeOptionGroupOptionsInput) SetEngineName ¶ added in v1.5.0
func (s *DescribeOptionGroupOptionsInput) SetEngineName(v string) *DescribeOptionGroupOptionsInput
SetEngineName sets the EngineName field's value.
func (*DescribeOptionGroupOptionsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeOptionGroupOptionsInput) SetFilters(v []*Filter) *DescribeOptionGroupOptionsInput
SetFilters sets the Filters field's value.
func (*DescribeOptionGroupOptionsInput) SetMajorEngineVersion ¶ added in v1.5.0
func (s *DescribeOptionGroupOptionsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupOptionsInput
SetMajorEngineVersion sets the MajorEngineVersion field's value.
func (*DescribeOptionGroupOptionsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeOptionGroupOptionsInput) SetMarker(v string) *DescribeOptionGroupOptionsInput
SetMarker sets the Marker field's value.
func (*DescribeOptionGroupOptionsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeOptionGroupOptionsInput) SetMaxRecords(v int64) *DescribeOptionGroupOptionsInput
SetMaxRecords sets the MaxRecords field's value.
func (DescribeOptionGroupOptionsInput) String ¶ added in v0.6.6
func (s DescribeOptionGroupOptionsInput) String() string
String returns the string representation
func (*DescribeOptionGroupOptionsInput) Validate ¶ added in v1.1.22
func (s *DescribeOptionGroupOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeOptionGroupOptionsOutput ¶
type DescribeOptionGroupOptionsOutput struct { // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // List of available option group options. OptionGroupOptions []*OptionGroupOption `locationNameList:"OptionGroupOption" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOptionsMessage
func (DescribeOptionGroupOptionsOutput) GoString ¶ added in v0.6.6
func (s DescribeOptionGroupOptionsOutput) GoString() string
GoString returns the string representation
func (*DescribeOptionGroupOptionsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeOptionGroupOptionsOutput) SetMarker(v string) *DescribeOptionGroupOptionsOutput
SetMarker sets the Marker field's value.
func (*DescribeOptionGroupOptionsOutput) SetOptionGroupOptions ¶ added in v1.5.0
func (s *DescribeOptionGroupOptionsOutput) SetOptionGroupOptions(v []*OptionGroupOption) *DescribeOptionGroupOptionsOutput
SetOptionGroupOptions sets the OptionGroupOptions field's value.
func (DescribeOptionGroupOptionsOutput) String ¶ added in v0.6.6
func (s DescribeOptionGroupOptionsOutput) String() string
String returns the string representation
type DescribeOptionGroupsInput ¶
type DescribeOptionGroupsInput struct { // Filters the list of option groups to only include groups associated with // a specific database engine. EngineName *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // Filters the list of option groups to only include groups associated with // a specific database engine version. If specified, then EngineName must also // be specified. MajorEngineVersion *string `type:"string"` // An optional pagination token provided by a previous DescribeOptionGroups // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The name of the option group to describe. Cannot be supplied together with // EngineName or MajorEngineVersion. OptionGroupName *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupsMessage
func (DescribeOptionGroupsInput) GoString ¶ added in v0.6.6
func (s DescribeOptionGroupsInput) GoString() string
GoString returns the string representation
func (*DescribeOptionGroupsInput) SetEngineName ¶ added in v1.5.0
func (s *DescribeOptionGroupsInput) SetEngineName(v string) *DescribeOptionGroupsInput
SetEngineName sets the EngineName field's value.
func (*DescribeOptionGroupsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeOptionGroupsInput) SetFilters(v []*Filter) *DescribeOptionGroupsInput
SetFilters sets the Filters field's value.
func (*DescribeOptionGroupsInput) SetMajorEngineVersion ¶ added in v1.5.0
func (s *DescribeOptionGroupsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupsInput
SetMajorEngineVersion sets the MajorEngineVersion field's value.
func (*DescribeOptionGroupsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeOptionGroupsInput) SetMarker(v string) *DescribeOptionGroupsInput
SetMarker sets the Marker field's value.
func (*DescribeOptionGroupsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeOptionGroupsInput) SetMaxRecords(v int64) *DescribeOptionGroupsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeOptionGroupsInput) SetOptionGroupName ¶ added in v1.5.0
func (s *DescribeOptionGroupsInput) SetOptionGroupName(v string) *DescribeOptionGroupsInput
SetOptionGroupName sets the OptionGroupName field's value.
func (DescribeOptionGroupsInput) String ¶ added in v0.6.6
func (s DescribeOptionGroupsInput) String() string
String returns the string representation
func (*DescribeOptionGroupsInput) Validate ¶ added in v1.1.22
func (s *DescribeOptionGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeOptionGroupsOutput ¶
type DescribeOptionGroupsOutput struct { // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // List of option groups. OptionGroupsList []*OptionGroup `locationNameList:"OptionGroup" type:"list"` // contains filtered or unexported fields }
List of option groups. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroups
func (DescribeOptionGroupsOutput) GoString ¶ added in v0.6.6
func (s DescribeOptionGroupsOutput) GoString() string
GoString returns the string representation
func (*DescribeOptionGroupsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeOptionGroupsOutput) SetMarker(v string) *DescribeOptionGroupsOutput
SetMarker sets the Marker field's value.
func (*DescribeOptionGroupsOutput) SetOptionGroupsList ¶ added in v1.5.0
func (s *DescribeOptionGroupsOutput) SetOptionGroupsList(v []*OptionGroup) *DescribeOptionGroupsOutput
SetOptionGroupsList sets the OptionGroupsList field's value.
func (DescribeOptionGroupsOutput) String ¶ added in v0.6.6
func (s DescribeOptionGroupsOutput) String() string
String returns the string representation
type DescribeOrderableDBInstanceOptionsInput ¶
type DescribeOrderableDBInstanceOptionsInput struct { // The DB instance class filter value. Specify this parameter to show only the // available offerings matching the specified DB instance class. DBInstanceClass *string `type:"string"` // The name of the engine to retrieve DB instance options for. // // Engine is a required field Engine *string `type:"string" required:"true"` // The engine version filter value. Specify this parameter to show only the // available offerings matching the specified engine version. EngineVersion *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // The license model filter value. Specify this parameter to show only the available // offerings matching the specified license model. LicenseModel *string `type:"string"` // An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords . Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The VPC filter value. Specify this parameter to show only the available VPC // or non-VPC offerings. Vpc *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptionsMessage
func (DescribeOrderableDBInstanceOptionsInput) GoString ¶ added in v0.6.6
func (s DescribeOrderableDBInstanceOptionsInput) GoString() string
GoString returns the string representation
func (*DescribeOrderableDBInstanceOptionsInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetDBInstanceClass(v string) *DescribeOrderableDBInstanceOptionsInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*DescribeOrderableDBInstanceOptionsInput) SetEngine ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetEngine(v string) *DescribeOrderableDBInstanceOptionsInput
SetEngine sets the Engine field's value.
func (*DescribeOrderableDBInstanceOptionsInput) SetEngineVersion ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetEngineVersion(v string) *DescribeOrderableDBInstanceOptionsInput
SetEngineVersion sets the EngineVersion field's value.
func (*DescribeOrderableDBInstanceOptionsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetFilters(v []*Filter) *DescribeOrderableDBInstanceOptionsInput
SetFilters sets the Filters field's value.
func (*DescribeOrderableDBInstanceOptionsInput) SetLicenseModel ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetLicenseModel(v string) *DescribeOrderableDBInstanceOptionsInput
SetLicenseModel sets the LicenseModel field's value.
func (*DescribeOrderableDBInstanceOptionsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsInput
SetMarker sets the Marker field's value.
func (*DescribeOrderableDBInstanceOptionsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetMaxRecords(v int64) *DescribeOrderableDBInstanceOptionsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeOrderableDBInstanceOptionsInput) SetVpc ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsInput) SetVpc(v bool) *DescribeOrderableDBInstanceOptionsInput
SetVpc sets the Vpc field's value.
func (DescribeOrderableDBInstanceOptionsInput) String ¶ added in v0.6.6
func (s DescribeOrderableDBInstanceOptionsInput) String() string
String returns the string representation
func (*DescribeOrderableDBInstanceOptionsInput) Validate ¶ added in v1.1.22
func (s *DescribeOrderableDBInstanceOptionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeOrderableDBInstanceOptionsOutput ¶
type DescribeOrderableDBInstanceOptionsOutput struct { // An optional pagination token provided by a previous OrderableDBInstanceOptions // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords . Marker *string `type:"string"` // An OrderableDBInstanceOption structure containing information about orderable // options for the DB instance. OrderableDBInstanceOptions []*OrderableDBInstanceOption `locationNameList:"OrderableDBInstanceOption" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeOrderableDBInstanceOptions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOptionsMessage
func (DescribeOrderableDBInstanceOptionsOutput) GoString ¶ added in v0.6.6
func (s DescribeOrderableDBInstanceOptionsOutput) GoString() string
GoString returns the string representation
func (*DescribeOrderableDBInstanceOptionsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsOutput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsOutput
SetMarker sets the Marker field's value.
func (*DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions ¶ added in v1.5.0
func (s *DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions(v []*OrderableDBInstanceOption) *DescribeOrderableDBInstanceOptionsOutput
SetOrderableDBInstanceOptions sets the OrderableDBInstanceOptions field's value.
func (DescribeOrderableDBInstanceOptionsOutput) String ¶ added in v0.6.6
func (s DescribeOrderableDBInstanceOptionsOutput) String() string
String returns the string representation
type DescribePendingMaintenanceActionsInput ¶
type DescribePendingMaintenanceActionsInput struct { // A filter that specifies one or more resources to return pending maintenance // actions for. // // Supported filters: // // * db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon // Resource Names (ARNs). The results list will only include pending maintenance // actions for the DB clusters identified by these ARNs. // // * db-instance-id - Accepts DB instance identifiers and DB instance ARNs. // The results list will only include pending maintenance actions for the // DB instances identified by these ARNs. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribePendingMaintenanceActions // request. If this parameter is specified, the response includes only records // beyond the marker, up to a number of records specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The ARN of a resource to return pending maintenance actions for. ResourceIdentifier *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActionsMessage
func (DescribePendingMaintenanceActionsInput) GoString ¶ added in v0.6.6
func (s DescribePendingMaintenanceActionsInput) GoString() string
GoString returns the string representation
func (*DescribePendingMaintenanceActionsInput) SetFilters ¶ added in v1.5.0
func (s *DescribePendingMaintenanceActionsInput) SetFilters(v []*Filter) *DescribePendingMaintenanceActionsInput
SetFilters sets the Filters field's value.
func (*DescribePendingMaintenanceActionsInput) SetMarker ¶ added in v1.5.0
func (s *DescribePendingMaintenanceActionsInput) SetMarker(v string) *DescribePendingMaintenanceActionsInput
SetMarker sets the Marker field's value.
func (*DescribePendingMaintenanceActionsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribePendingMaintenanceActionsInput) SetMaxRecords(v int64) *DescribePendingMaintenanceActionsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribePendingMaintenanceActionsInput) SetResourceIdentifier ¶ added in v1.5.0
func (s *DescribePendingMaintenanceActionsInput) SetResourceIdentifier(v string) *DescribePendingMaintenanceActionsInput
SetResourceIdentifier sets the ResourceIdentifier field's value.
func (DescribePendingMaintenanceActionsInput) String ¶ added in v0.6.6
func (s DescribePendingMaintenanceActionsInput) String() string
String returns the string representation
func (*DescribePendingMaintenanceActionsInput) Validate ¶ added in v1.1.22
func (s *DescribePendingMaintenanceActionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribePendingMaintenanceActionsOutput ¶
type DescribePendingMaintenanceActionsOutput struct { // An optional pagination token provided by a previous DescribePendingMaintenanceActions // request. If this parameter is specified, the response includes only records // beyond the marker, up to a number of records specified by MaxRecords. Marker *string `type:"string"` // A list of the pending maintenance actions for the resource. PendingMaintenanceActions []*ResourcePendingMaintenanceActions `locationNameList:"ResourcePendingMaintenanceActions" type:"list"` // contains filtered or unexported fields }
Data returned from the DescribePendingMaintenanceActions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceActionsMessage
func (DescribePendingMaintenanceActionsOutput) GoString ¶ added in v0.6.6
func (s DescribePendingMaintenanceActionsOutput) GoString() string
GoString returns the string representation
func (*DescribePendingMaintenanceActionsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribePendingMaintenanceActionsOutput) SetMarker(v string) *DescribePendingMaintenanceActionsOutput
SetMarker sets the Marker field's value.
func (*DescribePendingMaintenanceActionsOutput) SetPendingMaintenanceActions ¶ added in v1.5.0
func (s *DescribePendingMaintenanceActionsOutput) SetPendingMaintenanceActions(v []*ResourcePendingMaintenanceActions) *DescribePendingMaintenanceActionsOutput
SetPendingMaintenanceActions sets the PendingMaintenanceActions field's value.
func (DescribePendingMaintenanceActionsOutput) String ¶ added in v0.6.6
func (s DescribePendingMaintenanceActionsOutput) String() string
String returns the string representation
type DescribeReservedDBInstancesInput ¶
type DescribeReservedDBInstancesInput struct { // The DB instance class filter value. Specify this parameter to show only those // reservations matching the specified DB instances class. DBInstanceClass *string `type:"string"` // The duration filter value, specified in years or seconds. Specify this parameter // to show only reservations for this duration. // // Valid Values: 1 | 3 | 31536000 | 94608000 Duration *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more than the // MaxRecords value is available, a pagination token called a marker is included // in the response so that the following results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The Multi-AZ filter value. Specify this parameter to show only those reservations // matching the specified Multi-AZ parameter. MultiAZ *bool `type:"boolean"` // The offering type filter value. Specify this parameter to show only the available // offerings matching the specified offering type. // // Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront" OfferingType *string `type:"string"` // The product description filter value. Specify this parameter to show only // those reservations matching the specified product description. ProductDescription *string `type:"string"` // The reserved DB instance identifier filter value. Specify this parameter // to show only the reservation that matches the specified reservation ID. ReservedDBInstanceId *string `type:"string"` // The offering identifier filter value. Specify this parameter to show only // purchased reservations matching the specified offering identifier. ReservedDBInstancesOfferingId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesMessage
func (DescribeReservedDBInstancesInput) GoString ¶ added in v0.6.6
func (s DescribeReservedDBInstancesInput) GoString() string
GoString returns the string representation
func (*DescribeReservedDBInstancesInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*DescribeReservedDBInstancesInput) SetDuration ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetDuration(v string) *DescribeReservedDBInstancesInput
SetDuration sets the Duration field's value.
func (*DescribeReservedDBInstancesInput) SetFilters ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetFilters(v []*Filter) *DescribeReservedDBInstancesInput
SetFilters sets the Filters field's value.
func (*DescribeReservedDBInstancesInput) SetMarker ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetMarker(v string) *DescribeReservedDBInstancesInput
SetMarker sets the Marker field's value.
func (*DescribeReservedDBInstancesInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeReservedDBInstancesInput) SetMultiAZ ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesInput
SetMultiAZ sets the MultiAZ field's value.
func (*DescribeReservedDBInstancesInput) SetOfferingType ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetOfferingType(v string) *DescribeReservedDBInstancesInput
SetOfferingType sets the OfferingType field's value.
func (*DescribeReservedDBInstancesInput) SetProductDescription ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetProductDescription(v string) *DescribeReservedDBInstancesInput
SetProductDescription sets the ProductDescription field's value.
func (*DescribeReservedDBInstancesInput) SetReservedDBInstanceId ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetReservedDBInstanceId(v string) *DescribeReservedDBInstancesInput
SetReservedDBInstanceId sets the ReservedDBInstanceId field's value.
func (*DescribeReservedDBInstancesInput) SetReservedDBInstancesOfferingId ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesInput
SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
func (DescribeReservedDBInstancesInput) String ¶ added in v0.6.6
func (s DescribeReservedDBInstancesInput) String() string
String returns the string representation
func (*DescribeReservedDBInstancesInput) Validate ¶ added in v1.1.22
func (s *DescribeReservedDBInstancesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeReservedDBInstancesOfferingsInput ¶
type DescribeReservedDBInstancesOfferingsInput struct { // The DB instance class filter value. Specify this parameter to show only the // available offerings matching the specified DB instance class. DBInstanceClass *string `type:"string"` // Duration filter value, specified in years or seconds. Specify this parameter // to show only reservations for this duration. // // Valid Values: 1 | 3 | 31536000 | 94608000 Duration *string `type:"string"` // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more than the // MaxRecords value is available, a pagination token called a marker is included // in the response so that the following results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The Multi-AZ filter value. Specify this parameter to show only the available // offerings matching the specified Multi-AZ parameter. MultiAZ *bool `type:"boolean"` // The offering type filter value. Specify this parameter to show only the available // offerings matching the specified offering type. // // Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront" OfferingType *string `type:"string"` // Product description filter value. Specify this parameter to show only the // available offerings matching the specified product description. ProductDescription *string `type:"string"` // The offering identifier filter value. Specify this parameter to show only // the available offering that matches the specified reservation identifier. // // Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 ReservedDBInstancesOfferingId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferingsMessage
func (DescribeReservedDBInstancesOfferingsInput) GoString ¶ added in v0.6.6
func (s DescribeReservedDBInstancesOfferingsInput) GoString() string
GoString returns the string representation
func (*DescribeReservedDBInstancesOfferingsInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesOfferingsInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetDuration ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetDuration(v string) *DescribeReservedDBInstancesOfferingsInput
SetDuration sets the Duration field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetFilters(v []*Filter) *DescribeReservedDBInstancesOfferingsInput
SetFilters sets the Filters field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsInput
SetMarker sets the Marker field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesOfferingsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetMultiAZ ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesOfferingsInput
SetMultiAZ sets the MultiAZ field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetOfferingType ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetOfferingType(v string) *DescribeReservedDBInstancesOfferingsInput
SetOfferingType sets the OfferingType field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetProductDescription ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetProductDescription(v string) *DescribeReservedDBInstancesOfferingsInput
SetProductDescription sets the ProductDescription field's value.
func (*DescribeReservedDBInstancesOfferingsInput) SetReservedDBInstancesOfferingId ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesOfferingsInput
SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
func (DescribeReservedDBInstancesOfferingsInput) String ¶ added in v0.6.6
func (s DescribeReservedDBInstancesOfferingsInput) String() string
String returns the string representation
func (*DescribeReservedDBInstancesOfferingsInput) Validate ¶ added in v1.1.22
func (s *DescribeReservedDBInstancesOfferingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeReservedDBInstancesOfferingsOutput ¶
type DescribeReservedDBInstancesOfferingsOutput struct { // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // A list of reserved DB instance offerings. ReservedDBInstancesOfferings []*ReservedDBInstancesOffering `locationNameList:"ReservedDBInstancesOffering" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOfferingMessage
func (DescribeReservedDBInstancesOfferingsOutput) GoString ¶ added in v0.6.6
func (s DescribeReservedDBInstancesOfferingsOutput) GoString() string
GoString returns the string representation
func (*DescribeReservedDBInstancesOfferingsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsOutput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsOutput
SetMarker sets the Marker field's value.
func (*DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOfferings ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOfferings(v []*ReservedDBInstancesOffering) *DescribeReservedDBInstancesOfferingsOutput
SetReservedDBInstancesOfferings sets the ReservedDBInstancesOfferings field's value.
func (DescribeReservedDBInstancesOfferingsOutput) String ¶ added in v0.6.6
func (s DescribeReservedDBInstancesOfferingsOutput) String() string
String returns the string representation
type DescribeReservedDBInstancesOutput ¶
type DescribeReservedDBInstancesOutput struct { // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // A list of reserved DB instances. ReservedDBInstances []*ReservedDBInstance `locationNameList:"ReservedDBInstance" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeReservedDBInstances action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstanceMessage
func (DescribeReservedDBInstancesOutput) GoString ¶ added in v0.6.6
func (s DescribeReservedDBInstancesOutput) GoString() string
GoString returns the string representation
func (*DescribeReservedDBInstancesOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOutput) SetMarker(v string) *DescribeReservedDBInstancesOutput
SetMarker sets the Marker field's value.
func (*DescribeReservedDBInstancesOutput) SetReservedDBInstances ¶ added in v1.5.0
func (s *DescribeReservedDBInstancesOutput) SetReservedDBInstances(v []*ReservedDBInstance) *DescribeReservedDBInstancesOutput
SetReservedDBInstances sets the ReservedDBInstances field's value.
func (DescribeReservedDBInstancesOutput) String ¶ added in v0.6.6
func (s DescribeReservedDBInstancesOutput) String() string
String returns the string representation
type DescribeSourceRegionsInput ¶ added in v1.4.16
type DescribeSourceRegionsInput struct { // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeSourceRegions // request. If this parameter is specified, the response includes only records // beyond the marker, up to the value specified by MaxRecords. Marker *string `type:"string"` // The maximum number of records to include in the response. If more records // exist than the specified MaxRecords value, a pagination token called a marker // is included in the response so that the remaining results can be retrieved. // // Default: 100 // // Constraints: Minimum 20, maximum 100. MaxRecords *int64 `type:"integer"` // The source region name. For example, us-east-1. // // Constraints: // // * Must specify a valid AWS Region name. RegionName *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegionsMessage
func (DescribeSourceRegionsInput) GoString ¶ added in v1.4.16
func (s DescribeSourceRegionsInput) GoString() string
GoString returns the string representation
func (*DescribeSourceRegionsInput) SetFilters ¶ added in v1.5.0
func (s *DescribeSourceRegionsInput) SetFilters(v []*Filter) *DescribeSourceRegionsInput
SetFilters sets the Filters field's value.
func (*DescribeSourceRegionsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeSourceRegionsInput) SetMarker(v string) *DescribeSourceRegionsInput
SetMarker sets the Marker field's value.
func (*DescribeSourceRegionsInput) SetMaxRecords ¶ added in v1.5.0
func (s *DescribeSourceRegionsInput) SetMaxRecords(v int64) *DescribeSourceRegionsInput
SetMaxRecords sets the MaxRecords field's value.
func (*DescribeSourceRegionsInput) SetRegionName ¶ added in v1.5.0
func (s *DescribeSourceRegionsInput) SetRegionName(v string) *DescribeSourceRegionsInput
SetRegionName sets the RegionName field's value.
func (DescribeSourceRegionsInput) String ¶ added in v1.4.16
func (s DescribeSourceRegionsInput) String() string
String returns the string representation
func (*DescribeSourceRegionsInput) Validate ¶ added in v1.4.16
func (s *DescribeSourceRegionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSourceRegionsOutput ¶ added in v1.4.16
type DescribeSourceRegionsOutput struct { // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to // the value specified by MaxRecords. Marker *string `type:"string"` // A list of SourceRegion instances that contains each source AWS Region that // the current region can get a Read Replica or a DB snapshot from. SourceRegions []*SourceRegion `locationNameList:"SourceRegion" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeSourceRegions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceRegionMessage
func (DescribeSourceRegionsOutput) GoString ¶ added in v1.4.16
func (s DescribeSourceRegionsOutput) GoString() string
GoString returns the string representation
func (*DescribeSourceRegionsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeSourceRegionsOutput) SetMarker(v string) *DescribeSourceRegionsOutput
SetMarker sets the Marker field's value.
func (*DescribeSourceRegionsOutput) SetSourceRegions ¶ added in v1.5.0
func (s *DescribeSourceRegionsOutput) SetSourceRegions(v []*SourceRegion) *DescribeSourceRegionsOutput
SetSourceRegions sets the SourceRegions field's value.
func (DescribeSourceRegionsOutput) String ¶ added in v1.4.16
func (s DescribeSourceRegionsOutput) String() string
String returns the string representation
type DomainMembership ¶ added in v1.1.16
type DomainMembership struct { // The identifier of the Active Directory Domain. Domain *string `type:"string"` // The fully qualified domain name of the Active Directory Domain. FQDN *string `type:"string"` // The name of the IAM role to be used when making API calls to the Directory // Service. IAMRoleName *string `type:"string"` // The status of the DB instance's Active Directory Domain membership, such // as joined, pending-join, failed etc). Status *string `type:"string"` // contains filtered or unexported fields }
An Active Directory Domain membership record associated with the DB instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DomainMembership
func (DomainMembership) GoString ¶ added in v1.1.16
func (s DomainMembership) GoString() string
GoString returns the string representation
func (*DomainMembership) SetDomain ¶ added in v1.5.0
func (s *DomainMembership) SetDomain(v string) *DomainMembership
SetDomain sets the Domain field's value.
func (*DomainMembership) SetFQDN ¶ added in v1.5.0
func (s *DomainMembership) SetFQDN(v string) *DomainMembership
SetFQDN sets the FQDN field's value.
func (*DomainMembership) SetIAMRoleName ¶ added in v1.5.0
func (s *DomainMembership) SetIAMRoleName(v string) *DomainMembership
SetIAMRoleName sets the IAMRoleName field's value.
func (*DomainMembership) SetStatus ¶ added in v1.5.0
func (s *DomainMembership) SetStatus(v string) *DomainMembership
SetStatus sets the Status field's value.
func (DomainMembership) String ¶ added in v1.1.16
func (s DomainMembership) String() string
String returns the string representation
type DownloadDBLogFilePortionInput ¶
type DownloadDBLogFilePortionInput struct { // The customer-assigned name of the DB instance that contains the log files // you want to list. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The name of the log file to be downloaded. // // LogFileName is a required field LogFileName *string `type:"string" required:"true"` // The pagination token provided in the previous request or "0". If the Marker // parameter is specified the response includes only records beyond the marker // until the end of the file or up to NumberOfLines. Marker *string `type:"string"` // The number of lines to download. If the number of lines specified results // in a file over 1 MB in size, the file will be truncated at 1 MB in size. // // If the NumberOfLines parameter is specified, then the block of lines returned // can be from the beginning or the end of the log file, depending on the value // of the Marker parameter. // // * If neither Marker or NumberOfLines are specified, the entire log file // is returned up to a maximum of 10000 lines, starting with the most recent // log entries first. // // * If NumberOfLines is specified and Marker is not specified, then the // most recent lines from the end of the log file are returned. // // * If Marker is specified as "0", then the specified number of lines from // the beginning of the log file are returned. // // * You can download the log file in blocks of lines by specifying the size // of the block using the NumberOfLines parameter, and by specifying a value // of "0" for the Marker parameter in your first request. Include the Marker // value returned in the response as the Marker value for the next request, // continuing until the AdditionalDataPending response element returns false. NumberOfLines *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionMessage
func (DownloadDBLogFilePortionInput) GoString ¶ added in v0.6.6
func (s DownloadDBLogFilePortionInput) GoString() string
GoString returns the string representation
func (*DownloadDBLogFilePortionInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *DownloadDBLogFilePortionInput) SetDBInstanceIdentifier(v string) *DownloadDBLogFilePortionInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*DownloadDBLogFilePortionInput) SetLogFileName ¶ added in v1.5.0
func (s *DownloadDBLogFilePortionInput) SetLogFileName(v string) *DownloadDBLogFilePortionInput
SetLogFileName sets the LogFileName field's value.
func (*DownloadDBLogFilePortionInput) SetMarker ¶ added in v1.5.0
func (s *DownloadDBLogFilePortionInput) SetMarker(v string) *DownloadDBLogFilePortionInput
SetMarker sets the Marker field's value.
func (*DownloadDBLogFilePortionInput) SetNumberOfLines ¶ added in v1.5.0
func (s *DownloadDBLogFilePortionInput) SetNumberOfLines(v int64) *DownloadDBLogFilePortionInput
SetNumberOfLines sets the NumberOfLines field's value.
func (DownloadDBLogFilePortionInput) String ¶ added in v0.6.6
func (s DownloadDBLogFilePortionInput) String() string
String returns the string representation
func (*DownloadDBLogFilePortionInput) Validate ¶ added in v1.1.22
func (s *DownloadDBLogFilePortionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DownloadDBLogFilePortionOutput ¶
type DownloadDBLogFilePortionOutput struct { // Boolean value that if true, indicates there is more data to be downloaded. AdditionalDataPending *bool `type:"boolean"` // Entries from the specified log file. LogFileData *string `type:"string"` // A pagination token that can be used in a subsequent DownloadDBLogFilePortion // request. Marker *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element to DownloadDBLogFilePortion. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionDetails
func (DownloadDBLogFilePortionOutput) GoString ¶ added in v0.6.6
func (s DownloadDBLogFilePortionOutput) GoString() string
GoString returns the string representation
func (*DownloadDBLogFilePortionOutput) SetAdditionalDataPending ¶ added in v1.5.0
func (s *DownloadDBLogFilePortionOutput) SetAdditionalDataPending(v bool) *DownloadDBLogFilePortionOutput
SetAdditionalDataPending sets the AdditionalDataPending field's value.
func (*DownloadDBLogFilePortionOutput) SetLogFileData ¶ added in v1.5.0
func (s *DownloadDBLogFilePortionOutput) SetLogFileData(v string) *DownloadDBLogFilePortionOutput
SetLogFileData sets the LogFileData field's value.
func (*DownloadDBLogFilePortionOutput) SetMarker ¶ added in v1.5.0
func (s *DownloadDBLogFilePortionOutput) SetMarker(v string) *DownloadDBLogFilePortionOutput
SetMarker sets the Marker field's value.
func (DownloadDBLogFilePortionOutput) String ¶ added in v0.6.6
func (s DownloadDBLogFilePortionOutput) String() string
String returns the string representation
type EC2SecurityGroup ¶
type EC2SecurityGroup struct { // Specifies the id of the EC2 security group. EC2SecurityGroupId *string `type:"string"` // Specifies the name of the EC2 security group. EC2SecurityGroupName *string `type:"string"` // Specifies the AWS ID of the owner of the EC2 security group specified in // the EC2SecurityGroupName field. EC2SecurityGroupOwnerId *string `type:"string"` // Provides the status of the EC2 security group. Status can be "authorizing", // "authorized", "revoking", and "revoked". Status *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element in the following actions:
AuthorizeDBSecurityGroupIngress
DescribeDBSecurityGroups
RevokeDBSecurityGroupIngress
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EC2SecurityGroup
func (EC2SecurityGroup) GoString ¶ added in v0.6.6
func (s EC2SecurityGroup) GoString() string
GoString returns the string representation
func (*EC2SecurityGroup) SetEC2SecurityGroupId ¶ added in v1.5.0
func (s *EC2SecurityGroup) SetEC2SecurityGroupId(v string) *EC2SecurityGroup
SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value.
func (*EC2SecurityGroup) SetEC2SecurityGroupName ¶ added in v1.5.0
func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup
SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
func (*EC2SecurityGroup) SetEC2SecurityGroupOwnerId ¶ added in v1.5.0
func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup
SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
func (*EC2SecurityGroup) SetStatus ¶ added in v1.5.0
func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup
SetStatus sets the Status field's value.
func (EC2SecurityGroup) String ¶ added in v0.6.6
func (s EC2SecurityGroup) String() string
String returns the string representation
type Endpoint ¶
type Endpoint struct { // Specifies the DNS address of the DB instance. Address *string `type:"string"` // Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. HostedZoneId *string `type:"string"` // Specifies the port that the database engine is listening on. Port *int64 `type:"integer"` // contains filtered or unexported fields }
This data type is used as a response element in the following actions:
CreateDBInstance
DescribeDBInstances
DeleteDBInstance
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Endpoint
func (*Endpoint) SetAddress ¶ added in v1.5.0
SetAddress sets the Address field's value.
func (*Endpoint) SetHostedZoneId ¶ added in v1.5.0
SetHostedZoneId sets the HostedZoneId field's value.
type EngineDefaults ¶
type EngineDefaults struct { // Specifies the name of the DB parameter group family that the engine default // parameters apply to. DBParameterGroupFamily *string `type:"string"` // An optional pagination token provided by a previous EngineDefaults request. // If this parameter is specified, the response includes only records beyond // the marker, up to the value specified by MaxRecords . Marker *string `type:"string"` // Contains a list of engine default parameters. Parameters []*Parameter `locationNameList:"Parameter" type:"list"` // contains filtered or unexported fields }
Contains the result of a successful invocation of the DescribeEngineDefaultParameters action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EngineDefaults
func (EngineDefaults) GoString ¶ added in v0.6.6
func (s EngineDefaults) GoString() string
GoString returns the string representation
func (*EngineDefaults) SetDBParameterGroupFamily ¶ added in v1.5.0
func (s *EngineDefaults) SetDBParameterGroupFamily(v string) *EngineDefaults
SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value.
func (*EngineDefaults) SetMarker ¶ added in v1.5.0
func (s *EngineDefaults) SetMarker(v string) *EngineDefaults
SetMarker sets the Marker field's value.
func (*EngineDefaults) SetParameters ¶ added in v1.5.0
func (s *EngineDefaults) SetParameters(v []*Parameter) *EngineDefaults
SetParameters sets the Parameters field's value.
func (EngineDefaults) String ¶ added in v0.6.6
func (s EngineDefaults) String() string
String returns the string representation
type Event ¶
type Event struct { // Specifies the date and time of the event. Date *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Specifies the category for the event. EventCategories []*string `locationNameList:"EventCategory" type:"list"` // Provides the text of this event. Message *string `type:"string"` // The Amazon Resource Name (ARN) for the event. SourceArn *string `type:"string"` // Provides the identifier for the source of the event. SourceIdentifier *string `type:"string"` // Specifies the source type for this event. SourceType *string `type:"string" enum:"SourceType"` // contains filtered or unexported fields }
This data type is used as a response element in the DescribeEvents action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Event
func (*Event) SetEventCategories ¶ added in v1.5.0
SetEventCategories sets the EventCategories field's value.
func (*Event) SetMessage ¶ added in v1.5.0
SetMessage sets the Message field's value.
func (*Event) SetSourceArn ¶ added in v1.5.0
SetSourceArn sets the SourceArn field's value.
func (*Event) SetSourceIdentifier ¶ added in v1.5.0
SetSourceIdentifier sets the SourceIdentifier field's value.
func (*Event) SetSourceType ¶ added in v1.5.0
SetSourceType sets the SourceType field's value.
type EventCategoriesMap ¶
type EventCategoriesMap struct { // The event categories for the specified source type EventCategories []*string `locationNameList:"EventCategory" type:"list"` // The source type that the returned categories belong to SourceType *string `type:"string"` // contains filtered or unexported fields }
Contains the results of a successful invocation of the DescribeEventCategories action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMap
func (EventCategoriesMap) GoString ¶ added in v0.6.6
func (s EventCategoriesMap) GoString() string
GoString returns the string representation
func (*EventCategoriesMap) SetEventCategories ¶ added in v1.5.0
func (s *EventCategoriesMap) SetEventCategories(v []*string) *EventCategoriesMap
SetEventCategories sets the EventCategories field's value.
func (*EventCategoriesMap) SetSourceType ¶ added in v1.5.0
func (s *EventCategoriesMap) SetSourceType(v string) *EventCategoriesMap
SetSourceType sets the SourceType field's value.
func (EventCategoriesMap) String ¶ added in v0.6.6
func (s EventCategoriesMap) String() string
String returns the string representation
type EventSubscription ¶
type EventSubscription struct { // The RDS event notification subscription Id. CustSubscriptionId *string `type:"string"` // The AWS customer account associated with the RDS event notification subscription. CustomerAwsId *string `type:"string"` // A Boolean value indicating if the subscription is enabled. True indicates // the subscription is enabled. Enabled *bool `type:"boolean"` // A list of event categories for the RDS event notification subscription. EventCategoriesList []*string `locationNameList:"EventCategory" type:"list"` // The Amazon Resource Name (ARN) for the event subscription. EventSubscriptionArn *string `type:"string"` // The topic ARN of the RDS event notification subscription. SnsTopicArn *string `type:"string"` // A list of source IDs for the RDS event notification subscription. SourceIdsList []*string `locationNameList:"SourceId" type:"list"` // The source type for the RDS event notification subscription. SourceType *string `type:"string"` // The status of the RDS event notification subscription. // // Constraints: // // Can be one of the following: creating | modifying | deleting | active | no-permission // | topic-not-exist // // The status "no-permission" indicates that RDS no longer has permission to // post to the SNS topic. The status "topic-not-exist" indicates that the topic // was deleted after the subscription was created. Status *string `type:"string"` // The time the RDS event notification subscription was created. SubscriptionCreationTime *string `type:"string"` // contains filtered or unexported fields }
Contains the results of a successful invocation of the DescribeEventSubscriptions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscription
func (EventSubscription) GoString ¶ added in v0.6.6
func (s EventSubscription) GoString() string
GoString returns the string representation
func (*EventSubscription) SetCustSubscriptionId ¶ added in v1.5.0
func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription
SetCustSubscriptionId sets the CustSubscriptionId field's value.
func (*EventSubscription) SetCustomerAwsId ¶ added in v1.5.0
func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription
SetCustomerAwsId sets the CustomerAwsId field's value.
func (*EventSubscription) SetEnabled ¶ added in v1.5.0
func (s *EventSubscription) SetEnabled(v bool) *EventSubscription
SetEnabled sets the Enabled field's value.
func (*EventSubscription) SetEventCategoriesList ¶ added in v1.5.0
func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription
SetEventCategoriesList sets the EventCategoriesList field's value.
func (*EventSubscription) SetEventSubscriptionArn ¶ added in v1.5.0
func (s *EventSubscription) SetEventSubscriptionArn(v string) *EventSubscription
SetEventSubscriptionArn sets the EventSubscriptionArn field's value.
func (*EventSubscription) SetSnsTopicArn ¶ added in v1.5.0
func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription
SetSnsTopicArn sets the SnsTopicArn field's value.
func (*EventSubscription) SetSourceIdsList ¶ added in v1.5.0
func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription
SetSourceIdsList sets the SourceIdsList field's value.
func (*EventSubscription) SetSourceType ¶ added in v1.5.0
func (s *EventSubscription) SetSourceType(v string) *EventSubscription
SetSourceType sets the SourceType field's value.
func (*EventSubscription) SetStatus ¶ added in v1.5.0
func (s *EventSubscription) SetStatus(v string) *EventSubscription
SetStatus sets the Status field's value.
func (*EventSubscription) SetSubscriptionCreationTime ¶ added in v1.5.0
func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscription
SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value.
func (EventSubscription) String ¶ added in v0.6.6
func (s EventSubscription) String() string
String returns the string representation
type FailoverDBClusterInput ¶ added in v0.7.2
type FailoverDBClusterInput struct { // A DB cluster identifier to force a failover for. This parameter is not case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBClusterIdentifier *string `type:"string"` // The name of the instance to promote to the primary instance. // // You must specify the instance identifier for an Aurora Replica in the DB // cluster. For example, mydbcluster-replica1. TargetDBInstanceIdentifier *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterMessage
func (FailoverDBClusterInput) GoString ¶ added in v0.7.2
func (s FailoverDBClusterInput) GoString() string
GoString returns the string representation
func (*FailoverDBClusterInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *FailoverDBClusterInput) SetDBClusterIdentifier(v string) *FailoverDBClusterInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*FailoverDBClusterInput) SetTargetDBInstanceIdentifier ¶ added in v1.5.0
func (s *FailoverDBClusterInput) SetTargetDBInstanceIdentifier(v string) *FailoverDBClusterInput
SetTargetDBInstanceIdentifier sets the TargetDBInstanceIdentifier field's value.
func (FailoverDBClusterInput) String ¶ added in v0.7.2
func (s FailoverDBClusterInput) String() string
String returns the string representation
type FailoverDBClusterOutput ¶ added in v0.7.2
type FailoverDBClusterOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterResult
func (FailoverDBClusterOutput) GoString ¶ added in v0.7.2
func (s FailoverDBClusterOutput) GoString() string
GoString returns the string representation
func (*FailoverDBClusterOutput) SetDBCluster ¶ added in v1.5.0
func (s *FailoverDBClusterOutput) SetDBCluster(v *DBCluster) *FailoverDBClusterOutput
SetDBCluster sets the DBCluster field's value.
func (FailoverDBClusterOutput) String ¶ added in v0.7.2
func (s FailoverDBClusterOutput) String() string
String returns the string representation
type Filter ¶
type Filter struct { // This parameter is not currently supported. // // Name is a required field Name *string `type:"string" required:"true"` // This parameter is not currently supported. // // Values is a required field Values []*string `locationNameList:"Value" type:"list" required:"true"` // contains filtered or unexported fields }
This type is not currently supported. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Filter
type IPRange ¶
type IPRange struct { // Specifies the IP range. CIDRIP *string `type:"string"` // Specifies the status of the IP range. Status can be "authorizing", "authorized", // "revoking", and "revoked". Status *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element in the DescribeDBSecurityGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/IPRange
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // This parameter is not currently supported. Filters []*Filter `locationNameList:"Filter" type:"list"` // The Amazon RDS resource with tags to be listed. This value is an Amazon Resource // Name (ARN). For information about creating an ARN, see Constructing an RDS // Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResourceMessage
func (ListTagsForResourceInput) GoString ¶ added in v0.6.6
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceInput) SetFilters ¶ added in v1.5.0
func (s *ListTagsForResourceInput) SetFilters(v []*Filter) *ListTagsForResourceInput
SetFilters sets the Filters field's value.
func (*ListTagsForResourceInput) SetResourceName ¶ added in v1.5.0
func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourceInput
SetResourceName sets the ResourceName field's value.
func (ListTagsForResourceInput) String ¶ added in v0.6.6
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v1.1.22
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // List of tags returned by the ListTagsForResource operation. TagList []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/TagListMessage
func (ListTagsForResourceOutput) GoString ¶ added in v0.6.6
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceOutput) SetTagList ¶ added in v1.5.0
func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOutput
SetTagList sets the TagList field's value.
func (ListTagsForResourceOutput) String ¶ added in v0.6.6
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ModifyDBClusterInput ¶ added in v0.7.2
type ModifyDBClusterInput struct { // A value that specifies whether the modifications in this request and any // pending modifications are asynchronously applied as soon as possible, regardless // of the PreferredMaintenanceWindow setting for the DB cluster. If this parameter // is set to false, changes to the DB cluster are applied during the next maintenance // window. // // The ApplyImmediately parameter only affects the NewDBClusterIdentifier and // MasterUserPassword values. If you set the ApplyImmediately parameter value // to false, then changes to the NewDBClusterIdentifier and MasterUserPassword // values are applied during the next maintenance window. All other changes // are applied immediately, regardless of the value of the ApplyImmediately // parameter. // // Default: false ApplyImmediately *bool `type:"boolean"` // The number of days for which automated backups are retained. You must specify // a minimum value of 1. // // Default: 1 // // Constraints: // // * Must be a value from 1 to 35 BackupRetentionPeriod *int64 `type:"integer"` // The DB cluster identifier for the cluster being modified. This parameter // is not case-sensitive. // // Constraints: // // * Must be the identifier for an existing DB cluster. // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB cluster parameter group to use for the DB cluster. DBClusterParameterGroupName *string `type:"string"` // The new password for the master database user. This password can contain // any printable ASCII character except "/", """, or "@". // // Constraints: Must contain from 8 to 41 characters. MasterUserPassword *string `type:"string"` // The new DB cluster identifier for the DB cluster when renaming a DB cluster. // This value is stored as a lowercase string. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-cluster2 NewDBClusterIdentifier *string `type:"string"` // A value that indicates that the DB cluster should be associated with the // specified option group. Changing this parameter does not result in an outage // except in the following case, and the change is applied during the next maintenance // window unless the ApplyImmediately parameter is set to true for this request. // If the parameter change results in an option group that enables OEM, this // change can cause a brief (sub-second) period during which new connections // are rejected but existing connections are not interrupted. // // Permanent options cannot be removed from an option group. The option group // cannot be removed from a DB cluster once it is associated with a DB cluster. OptionGroupName *string `type:"string"` // The port number on which the DB cluster accepts connections. // // Constraints: Value must be 1150-65535 // // Default: The same port as the original DB cluster. Port *int64 `type:"integer"` // The daily time range during which automated backups are created if automated // backups are enabled, using the BackupRetentionPeriod parameter. // // Default: A 30-minute window selected at random from an 8-hour block of time // per region. To see the time blocks available, see Adjusting the Preferred // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // // * Times should be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string `type:"string"` // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). // // Format: ddd:hh24:mi-ddd:hh24:mi // // Default: A 30-minute window selected at random from an 8-hour block of time // per region, occurring on a random day of the week. To see the time blocks // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` // A lst of VPC security groups that the DB cluster will belong to. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage
func (ModifyDBClusterInput) GoString ¶ added in v0.7.2
func (s ModifyDBClusterInput) GoString() string
GoString returns the string representation
func (*ModifyDBClusterInput) SetApplyImmediately ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetApplyImmediately(v bool) *ModifyDBClusterInput
SetApplyImmediately sets the ApplyImmediately field's value.
func (*ModifyDBClusterInput) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetBackupRetentionPeriod(v int64) *ModifyDBClusterInput
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*ModifyDBClusterInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetDBClusterIdentifier(v string) *ModifyDBClusterInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*ModifyDBClusterInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*ModifyDBClusterInput) SetMasterUserPassword ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetMasterUserPassword(v string) *ModifyDBClusterInput
SetMasterUserPassword sets the MasterUserPassword field's value.
func (*ModifyDBClusterInput) SetNewDBClusterIdentifier ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetNewDBClusterIdentifier(v string) *ModifyDBClusterInput
SetNewDBClusterIdentifier sets the NewDBClusterIdentifier field's value.
func (*ModifyDBClusterInput) SetOptionGroupName ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetOptionGroupName(v string) *ModifyDBClusterInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*ModifyDBClusterInput) SetPort ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetPort(v int64) *ModifyDBClusterInput
SetPort sets the Port field's value.
func (*ModifyDBClusterInput) SetPreferredBackupWindow ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetPreferredBackupWindow(v string) *ModifyDBClusterInput
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (*ModifyDBClusterInput) SetPreferredMaintenanceWindow ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyDBClusterInput
SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
func (*ModifyDBClusterInput) SetVpcSecurityGroupIds ¶ added in v1.5.0
func (s *ModifyDBClusterInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBClusterInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (ModifyDBClusterInput) String ¶ added in v0.7.2
func (s ModifyDBClusterInput) String() string
String returns the string representation
func (*ModifyDBClusterInput) Validate ¶ added in v1.1.22
func (s *ModifyDBClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBClusterOutput ¶ added in v0.7.2
type ModifyDBClusterOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterResult
func (ModifyDBClusterOutput) GoString ¶ added in v0.7.2
func (s ModifyDBClusterOutput) GoString() string
GoString returns the string representation
func (*ModifyDBClusterOutput) SetDBCluster ¶ added in v1.5.0
func (s *ModifyDBClusterOutput) SetDBCluster(v *DBCluster) *ModifyDBClusterOutput
SetDBCluster sets the DBCluster field's value.
func (ModifyDBClusterOutput) String ¶ added in v0.7.2
func (s ModifyDBClusterOutput) String() string
String returns the string representation
type ModifyDBClusterParameterGroupInput ¶ added in v0.7.2
type ModifyDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group to modify. // // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // A list of parameters in the DB cluster parameter group to modify. // // Parameters is a required field Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroupMessage
func (ModifyDBClusterParameterGroupInput) GoString ¶ added in v0.7.2
func (s ModifyDBClusterParameterGroupInput) GoString() string
GoString returns the string representation
func (*ModifyDBClusterParameterGroupInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *ModifyDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterParameterGroupInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*ModifyDBClusterParameterGroupInput) SetParameters ¶ added in v1.5.0
func (s *ModifyDBClusterParameterGroupInput) SetParameters(v []*Parameter) *ModifyDBClusterParameterGroupInput
SetParameters sets the Parameters field's value.
func (ModifyDBClusterParameterGroupInput) String ¶ added in v0.7.2
func (s ModifyDBClusterParameterGroupInput) String() string
String returns the string representation
func (*ModifyDBClusterParameterGroupInput) Validate ¶ added in v1.1.22
func (s *ModifyDBClusterParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBClusterSnapshotAttributeInput ¶ added in v1.1.33
type ModifyDBClusterSnapshotAttributeInput struct { // The name of the DB cluster snapshot attribute to modify. // // To manage authorization for other AWS accounts to copy or restore a manual // DB cluster snapshot, set this value to restore. // // AttributeName is a required field AttributeName *string `type:"string" required:"true"` // The identifier for the DB cluster snapshot to modify the attributes for. // // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` // A list of DB cluster snapshot attributes to add to the attribute specified // by AttributeName. // // To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, // set this list to include one or more AWS account IDs, or all to make the // manual DB cluster snapshot restorable by any AWS account. Do not add the // all value for any manual DB cluster snapshots that contain private information // that you don't want available to all AWS accounts. ValuesToAdd []*string `locationNameList:"AttributeValue" type:"list"` // A list of DB cluster snapshot attributes to remove from the attribute specified // by AttributeName. // // To remove authorization for other AWS accounts to copy or restore a manual // DB cluster snapshot, set this list to include one or more AWS account identifiers, // or all to remove authorization for any AWS account to copy or restore the // DB cluster snapshot. If you specify all, an AWS account whose account ID // is explicitly added to the restore attribute can still copy or restore a // manual DB cluster snapshot. ValuesToRemove []*string `locationNameList:"AttributeValue" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeMessage
func (ModifyDBClusterSnapshotAttributeInput) GoString ¶ added in v1.1.33
func (s ModifyDBClusterSnapshotAttributeInput) GoString() string
GoString returns the string representation
func (*ModifyDBClusterSnapshotAttributeInput) SetAttributeName ¶ added in v1.5.0
func (s *ModifyDBClusterSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBClusterSnapshotAttributeInput
SetAttributeName sets the AttributeName field's value.
func (*ModifyDBClusterSnapshotAttributeInput) SetDBClusterSnapshotIdentifier ¶ added in v1.5.0
func (s *ModifyDBClusterSnapshotAttributeInput) SetDBClusterSnapshotIdentifier(v string) *ModifyDBClusterSnapshotAttributeInput
SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value.
func (*ModifyDBClusterSnapshotAttributeInput) SetValuesToAdd ¶ added in v1.5.0
func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToAdd(v []*string) *ModifyDBClusterSnapshotAttributeInput
SetValuesToAdd sets the ValuesToAdd field's value.
func (*ModifyDBClusterSnapshotAttributeInput) SetValuesToRemove ¶ added in v1.5.0
func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToRemove(v []*string) *ModifyDBClusterSnapshotAttributeInput
SetValuesToRemove sets the ValuesToRemove field's value.
func (ModifyDBClusterSnapshotAttributeInput) String ¶ added in v1.1.33
func (s ModifyDBClusterSnapshotAttributeInput) String() string
String returns the string representation
func (*ModifyDBClusterSnapshotAttributeInput) Validate ¶ added in v1.1.33
func (s *ModifyDBClusterSnapshotAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBClusterSnapshotAttributeOutput ¶ added in v1.1.33
type ModifyDBClusterSnapshotAttributeOutput struct { // Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes // API action. // // Manual DB cluster snapshot attributes are used to authorize other AWS accounts // to copy or restore a manual DB cluster snapshot. For more information, see // the ModifyDBClusterSnapshotAttribute API action. DBClusterSnapshotAttributesResult *DBClusterSnapshotAttributesResult `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeResult
func (ModifyDBClusterSnapshotAttributeOutput) GoString ¶ added in v1.1.33
func (s ModifyDBClusterSnapshotAttributeOutput) GoString() string
GoString returns the string representation
func (*ModifyDBClusterSnapshotAttributeOutput) SetDBClusterSnapshotAttributesResult ¶ added in v1.5.0
func (s *ModifyDBClusterSnapshotAttributeOutput) SetDBClusterSnapshotAttributesResult(v *DBClusterSnapshotAttributesResult) *ModifyDBClusterSnapshotAttributeOutput
SetDBClusterSnapshotAttributesResult sets the DBClusterSnapshotAttributesResult field's value.
func (ModifyDBClusterSnapshotAttributeOutput) String ¶ added in v1.1.33
func (s ModifyDBClusterSnapshotAttributeOutput) String() string
String returns the string representation
type ModifyDBInstanceInput ¶
type ModifyDBInstanceInput struct { // The new storage capacity of the RDS instance. Changing this setting does // not result in an outage and the change is applied during the next maintenance // window unless ApplyImmediately is set to true for this request. // // MySQL // // Default: Uses existing setting // // Valid Values: 5-6144 // // Constraints: Value supplied must be at least 10% greater than the current // value. Values that are not at least 10% greater than the existing value are // rounded up so that they are 10% greater than the current value. // // Type: Integer // // MariaDB // // Default: Uses existing setting // // Valid Values: 5-6144 // // Constraints: Value supplied must be at least 10% greater than the current // value. Values that are not at least 10% greater than the existing value are // rounded up so that they are 10% greater than the current value. // // Type: Integer // // PostgreSQL // // Default: Uses existing setting // // Valid Values: 5-6144 // // Constraints: Value supplied must be at least 10% greater than the current // value. Values that are not at least 10% greater than the existing value are // rounded up so that they are 10% greater than the current value. // // Type: Integer // // Oracle // // Default: Uses existing setting // // Valid Values: 10-6144 // // Constraints: Value supplied must be at least 10% greater than the current // value. Values that are not at least 10% greater than the existing value are // rounded up so that they are 10% greater than the current value. // // SQL Server // // Cannot be modified. // // If you choose to migrate your DB instance from using standard storage to // using Provisioned IOPS, or from using Provisioned IOPS to using standard // storage, the process can take time. The duration of the migration depends // on several factors such as database load, storage size, storage type (standard // or Provisioned IOPS), amount of IOPS provisioned (if any), and the number // of prior scale storage operations. Typical migration times are under 24 hours, // but the process can take up to several days in some cases. During the migration, // the DB instance will be available for use, but might experience performance // degradation. While the migration takes place, nightly backups for the instance // will be suspended. No other Amazon RDS operations can take place for the // instance, including modifying the instance, rebooting the instance, deleting // the instance, creating a Read Replica for the instance, and creating a DB // snapshot of the instance. AllocatedStorage *int64 `type:"integer"` // Indicates that major version upgrades are allowed. Changing this parameter // does not result in an outage and the change is asynchronously applied as // soon as possible. // // Constraints: This parameter must be set to true when specifying a value for // the EngineVersion parameter that is a different major version than the DB // instance's current version. AllowMajorVersionUpgrade *bool `type:"boolean"` // Specifies whether the modifications in this request and any pending modifications // are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow // setting for the DB instance. // // If this parameter is set to false, changes to the DB instance are applied // during the next maintenance window. Some parameter changes can cause an outage // and will be applied on the next call to RebootDBInstance, or the next failure // reboot. Review the table of parameters in Modifying a DB Instance and Using // the Apply Immediately Parameter (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) // to see the impact that setting ApplyImmediately to true or false has for // each modified parameter and to determine when the changes will be applied. // // Default: false ApplyImmediately *bool `type:"boolean"` // Indicates that minor version upgrades will be applied automatically to the // DB instance during the maintenance window. Changing this parameter does not // result in an outage except in the following case and the change is asynchronously // applied as soon as possible. An outage will result if this parameter is set // to true during the maintenance window, and a newer minor version is available, // and RDS has enabled auto patching for that engine version. AutoMinorVersionUpgrade *bool `type:"boolean"` // The number of days to retain automated backups. Setting this parameter to // a positive number enables backups. Setting this parameter to 0 disables automated // backups. // // Changing this parameter can result in an outage if you change from 0 to a // non-zero value or from a non-zero value to 0. These changes are applied during // the next maintenance window unless the ApplyImmediately parameter is set // to true for this request. If you change the parameter from one non-zero value // to another non-zero value, the change is asynchronously applied as soon as // possible. // // Default: Uses existing setting // // Constraints: // // * Must be a value from 0 to 35 // // * Can be specified for a MySQL Read Replica only if the source is running // MySQL 5.6 // // * Can be specified for a PostgreSQL Read Replica only if the source is // running PostgreSQL 9.3.5 // // * Cannot be set to 0 if the DB instance is a source to Read Replicas BackupRetentionPeriod *int64 `type:"integer"` // Indicates the certificate that needs to be associated with the instance. CACertificateIdentifier *string `type:"string"` // True to copy all tags from the DB instance to snapshots of the DB instance; // otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The new compute and memory capacity of the DB instance. To determine the // instance classes that are available for a particular DB engine, use the DescribeOrderableDBInstanceOptions // action. Note that not all instance classes are available in all regions for // all DB engines. // // Passing a value for this setting causes an outage during the change and is // applied during the next maintenance window, unless ApplyImmediately is specified // as true for this request. // // Default: Uses existing setting // // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge // | db.m2.xlarge | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large // | db.m3.xlarge | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge // | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge // | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium // | db.t2.large DBInstanceClass *string `type:"string"` // The DB instance identifier. This value is stored as a lowercase string. // // Constraints: // // * Must be the identifier for an existing DB instance // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The name of the DB parameter group to apply to the DB instance. Changing // this setting does not result in an outage. The parameter group name itself // is changed immediately, but the actual parameter changes are not applied // until you reboot the instance without failover. The db instance will NOT // be rebooted automatically and the parameter changes will NOT be applied during // the next maintenance window. // // Default: Uses existing setting // // Constraints: The DB parameter group must be in the same DB parameter group // family as this DB instance. DBParameterGroupName *string `type:"string"` // The port number on which the database accepts connections. // // The value of the DBPortNumber parameter must not match any of the port values // specified for options in the option group for the DB instance. // // Your database will restart when you change the DBPortNumber value regardless // of the value of the ApplyImmediately parameter. // // MySQL // // Default: 3306 // // Valid Values: 1150-65535 // // MariaDB // // Default: 3306 // // Valid Values: 1150-65535 // // PostgreSQL // // Default: 5432 // // Valid Values: 1150-65535 // // Type: Integer // // Oracle // // Default: 1521 // // Valid Values: 1150-65535 // // SQL Server // // Default: 1433 // // Valid Values: 1150-65535 except for 1434, 3389, 47001, 49152, and 49152 through // 49156. // // Amazon Aurora // // Default: 3306 // // Valid Values: 1150-65535 DBPortNumber *int64 `type:"integer"` // A list of DB security groups to authorize on this DB instance. Changing this // setting does not result in an outage and the change is asynchronously applied // as soon as possible. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBSecurityGroups []*string `locationNameList:"DBSecurityGroupName" type:"list"` // The new DB subnet group for the DB instance. You can use this parameter to // move your DB instance to a different VPC. If your DB instance is not in a // VPC, you can also use this parameter to move your DB instance into a VPC. // For more information, see Updating the VPC for a DB Instance (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Non-VPC2VPC). // // Changing the subnet group causes an outage during the change. The change // is applied during the next maintenance window, unless you specify true for // the ApplyImmediately parameter. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. // // Example: mySubnetGroup DBSubnetGroupName *string `type:"string"` // The Active Directory Domain to move the instance to. Specify none to remove // the instance from its current domain. The domain must be created prior to // this operation. Currently only a Microsoft SQL Server instance can be created // in a Active Directory Domain. Domain *string `type:"string"` // The name of the IAM role to use when making API calls to the Directory Service. DomainIAMRoleName *string `type:"string"` // The version number of the database engine to upgrade to. Changing this parameter // results in an outage and the change is applied during the next maintenance // window unless the ApplyImmediately parameter is set to true for this request. // // For major version upgrades, if a non-default DB parameter group is currently // in use, a new DB parameter group in the DB parameter group family for the // new engine version must be specified. The new DB parameter group can be the // default for that DB parameter group family. // // For a list of valid engine versions, see CreateDBInstance. EngineVersion *string `type:"string"` // The new Provisioned IOPS (I/O operations per second) value for the RDS instance. // Changing this setting does not result in an outage and the change is applied // during the next maintenance window unless the ApplyImmediately parameter // is set to true for this request. // // Default: Uses existing setting // // Constraints: Value supplied must be at least 10% greater than the current // value. Values that are not at least 10% greater than the existing value are // rounded up so that they are 10% greater than the current value. If you are // migrating from Provisioned IOPS to standard storage, set this value to 0. // The DB instance will require a reboot for the change in storage type to take // effect. // // SQL Server // // Setting the IOPS value for the SQL Server database engine is not supported. // // Type: Integer // // If you choose to migrate your DB instance from using standard storage to // using Provisioned IOPS, or from using Provisioned IOPS to using standard // storage, the process can take time. The duration of the migration depends // on several factors such as database load, storage size, storage type (standard // or Provisioned IOPS), amount of IOPS provisioned (if any), and the number // of prior scale storage operations. Typical migration times are under 24 hours, // but the process can take up to several days in some cases. During the migration, // the DB instance will be available for use, but might experience performance // degradation. While the migration takes place, nightly backups for the instance // will be suspended. No other Amazon RDS operations can take place for the // instance, including modifying the instance, rebooting the instance, deleting // the instance, creating a Read Replica for the instance, and creating a DB // snapshot of the instance. Iops *int64 `type:"integer"` // The license model for the DB instance. // // Valid values: license-included | bring-your-own-license | general-public-license LicenseModel *string `type:"string"` // The new password for the DB instance master user. Can be any printable ASCII // character except "/", """, or "@". // // Changing this parameter does not result in an outage and the change is asynchronously // applied as soon as possible. Between the time of the request and the completion // of the request, the MasterUserPassword element exists in the PendingModifiedValues // element of the operation response. // // Default: Uses existing setting // // Constraints: Must be 8 to 41 alphanumeric characters (MySQL, MariaDB, and // Amazon Aurora), 8 to 30 alphanumeric characters (Oracle), or 8 to 128 alphanumeric // characters (SQL Server). // // Amazon RDS API actions never return the password, so this action provides // a way to regain access to a primary instance user if the password is lost. // This includes restoring privileges that might have been accidentally revoked. MasterUserPassword *string `type:"string"` // The interval, in seconds, between points when Enhanced Monitoring metrics // are collected for the DB instance. To disable collecting Enhanced Monitoring // metrics, specify 0. The default is 0. // // If MonitoringRoleArn is specified, then you must also set MonitoringInterval // to a value other than 0. // // Valid Values: 0, 1, 5, 10, 15, 30, 60 MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits RDS to send enhanced monitoring metrics // to CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. // For information on creating a monitoring role, go to To create an IAM role // for Amazon RDS Enhanced Monitoring (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html#USER_Monitoring.OS.IAMRole). // // If MonitoringInterval is set to a value other than 0, then you must supply // a MonitoringRoleArn value. MonitoringRoleArn *string `type:"string"` // Specifies if the DB instance is a Multi-AZ deployment. Changing this parameter // does not result in an outage and the change is applied during the next maintenance // window unless the ApplyImmediately parameter is set to true for this request. // // Constraints: Cannot be specified if the DB instance is a Read Replica. MultiAZ *bool `type:"boolean"` // The new DB instance identifier for the DB instance when renaming a DB instance. // When you change the DB instance identifier, an instance reboot will occur // immediately if you set Apply Immediately to true, or will occur during the // next maintenance window if Apply Immediately to false. This value is stored // as a lowercase string. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens NewDBInstanceIdentifier *string `type:"string"` // Indicates that the DB instance should be associated with the specified option // group. Changing this parameter does not result in an outage except in the // following case and the change is applied during the next maintenance window // unless the ApplyImmediately parameter is set to true for this request. If // the parameter change results in an option group that enables OEM, this change // can cause a brief (sub-second) period during which new connections are rejected // but existing connections are not interrupted. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, // cannot be removed from an option group, and that option group cannot be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` // The daily time range during which automated backups are created if automated // backups are enabled, as determined by the BackupRetentionPeriod parameter. // Changing this parameter does not result in an outage and the change is asynchronously // applied as soon as possible. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi // // * Times should be in Universal Time Coordinated (UTC) // // * Must not conflict with the preferred maintenance window // // * Must be at least 30 minutes PreferredBackupWindow *string `type:"string"` // The weekly time range (in UTC) during which system maintenance can occur, // which might result in an outage. Changing this parameter does not result // in an outage, except in the following situation, and the change is asynchronously // applied as soon as possible. If there are pending actions that cause a reboot, // and the maintenance window is changed to include the current time, then changing // this parameter will cause a reboot of the DB instance. If moving this window // to the current time, there must be at least 30 minutes between the current // time and end of the window to ensure pending changes are applied. // // Default: Uses existing setting // // Format: ddd:hh24:mi-ddd:hh24:mi // // Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun // // Constraints: Must be at least 30 minutes PreferredMaintenanceWindow *string `type:"string"` // A value that specifies the order in which an Aurora Replica is promoted to // the primary instance after a failure of the existing primary instance. For // more information, see Fault Tolerance for an Aurora DB Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance). // // Default: 1 // // Valid Values: 0 - 15 PromotionTier *int64 `type:"integer"` // Boolean value that indicates if the DB instance has a publicly resolvable // DNS name. Set to True to make the DB instance Internet-facing with a publicly // resolvable DNS name, which resolves to a public IP address. Set to False // to make the DB instance internal with a DNS name that resolves to a private // IP address. // // PubliclyAccessible only applies to DB instances in a VPC. The DB instance // must be part of a public subnet and PubliclyAccessible must be true in order // for it to be publicly accessible. // // Changes to the PubliclyAccessible parameter are applied immediately regardless // of the value of the ApplyImmediately parameter. // // Default: false PubliclyAccessible *bool `type:"boolean"` // Specifies the storage type to be associated with the DB instance. // // Valid values: standard | gp2 | io1 // // If you specify io1, you must also include a value for the Iops parameter. // // Default: io1 if the Iops parameter is specified; otherwise standard StorageType *string `type:"string"` // The ARN from the Key Store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` // The password for the given ARN from the Key Store in order to access the // device. TdeCredentialPassword *string `type:"string"` // A list of EC2 VPC security groups to authorize on this DB instance. This // change is asynchronously applied as soon as possible. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage
func (ModifyDBInstanceInput) GoString ¶ added in v0.6.6
func (s ModifyDBInstanceInput) GoString() string
GoString returns the string representation
func (*ModifyDBInstanceInput) SetAllocatedStorage ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetAllocatedStorage(v int64) *ModifyDBInstanceInput
SetAllocatedStorage sets the AllocatedStorage field's value.
func (*ModifyDBInstanceInput) SetAllowMajorVersionUpgrade ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetAllowMajorVersionUpgrade(v bool) *ModifyDBInstanceInput
SetAllowMajorVersionUpgrade sets the AllowMajorVersionUpgrade field's value.
func (*ModifyDBInstanceInput) SetApplyImmediately ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetApplyImmediately(v bool) *ModifyDBInstanceInput
SetApplyImmediately sets the ApplyImmediately field's value.
func (*ModifyDBInstanceInput) SetAutoMinorVersionUpgrade ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *ModifyDBInstanceInput
SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
func (*ModifyDBInstanceInput) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetBackupRetentionPeriod(v int64) *ModifyDBInstanceInput
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*ModifyDBInstanceInput) SetCACertificateIdentifier ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetCACertificateIdentifier(v string) *ModifyDBInstanceInput
SetCACertificateIdentifier sets the CACertificateIdentifier field's value.
func (*ModifyDBInstanceInput) SetCopyTagsToSnapshot ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetCopyTagsToSnapshot(v bool) *ModifyDBInstanceInput
SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
func (*ModifyDBInstanceInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDBInstanceClass(v string) *ModifyDBInstanceInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*ModifyDBInstanceInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDBInstanceIdentifier(v string) *ModifyDBInstanceInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*ModifyDBInstanceInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDBParameterGroupName(v string) *ModifyDBInstanceInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*ModifyDBInstanceInput) SetDBPortNumber ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDBPortNumber(v int64) *ModifyDBInstanceInput
SetDBPortNumber sets the DBPortNumber field's value.
func (*ModifyDBInstanceInput) SetDBSecurityGroups ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDBSecurityGroups(v []*string) *ModifyDBInstanceInput
SetDBSecurityGroups sets the DBSecurityGroups field's value.
func (*ModifyDBInstanceInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDBSubnetGroupName(v string) *ModifyDBInstanceInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*ModifyDBInstanceInput) SetDomain ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDomain(v string) *ModifyDBInstanceInput
SetDomain sets the Domain field's value.
func (*ModifyDBInstanceInput) SetDomainIAMRoleName ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetDomainIAMRoleName(v string) *ModifyDBInstanceInput
SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
func (*ModifyDBInstanceInput) SetEngineVersion ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetEngineVersion(v string) *ModifyDBInstanceInput
SetEngineVersion sets the EngineVersion field's value.
func (*ModifyDBInstanceInput) SetIops ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetIops(v int64) *ModifyDBInstanceInput
SetIops sets the Iops field's value.
func (*ModifyDBInstanceInput) SetLicenseModel ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetLicenseModel(v string) *ModifyDBInstanceInput
SetLicenseModel sets the LicenseModel field's value.
func (*ModifyDBInstanceInput) SetMasterUserPassword ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetMasterUserPassword(v string) *ModifyDBInstanceInput
SetMasterUserPassword sets the MasterUserPassword field's value.
func (*ModifyDBInstanceInput) SetMonitoringInterval ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetMonitoringInterval(v int64) *ModifyDBInstanceInput
SetMonitoringInterval sets the MonitoringInterval field's value.
func (*ModifyDBInstanceInput) SetMonitoringRoleArn ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetMonitoringRoleArn(v string) *ModifyDBInstanceInput
SetMonitoringRoleArn sets the MonitoringRoleArn field's value.
func (*ModifyDBInstanceInput) SetMultiAZ ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetMultiAZ(v bool) *ModifyDBInstanceInput
SetMultiAZ sets the MultiAZ field's value.
func (*ModifyDBInstanceInput) SetNewDBInstanceIdentifier ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetNewDBInstanceIdentifier(v string) *ModifyDBInstanceInput
SetNewDBInstanceIdentifier sets the NewDBInstanceIdentifier field's value.
func (*ModifyDBInstanceInput) SetOptionGroupName ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetOptionGroupName(v string) *ModifyDBInstanceInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*ModifyDBInstanceInput) SetPreferredBackupWindow ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetPreferredBackupWindow(v string) *ModifyDBInstanceInput
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (*ModifyDBInstanceInput) SetPreferredMaintenanceWindow ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetPreferredMaintenanceWindow(v string) *ModifyDBInstanceInput
SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
func (*ModifyDBInstanceInput) SetPromotionTier ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetPromotionTier(v int64) *ModifyDBInstanceInput
SetPromotionTier sets the PromotionTier field's value.
func (*ModifyDBInstanceInput) SetPubliclyAccessible ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetPubliclyAccessible(v bool) *ModifyDBInstanceInput
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*ModifyDBInstanceInput) SetStorageType ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetStorageType(v string) *ModifyDBInstanceInput
SetStorageType sets the StorageType field's value.
func (*ModifyDBInstanceInput) SetTdeCredentialArn ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetTdeCredentialArn(v string) *ModifyDBInstanceInput
SetTdeCredentialArn sets the TdeCredentialArn field's value.
func (*ModifyDBInstanceInput) SetTdeCredentialPassword ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetTdeCredentialPassword(v string) *ModifyDBInstanceInput
SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
func (*ModifyDBInstanceInput) SetVpcSecurityGroupIds ¶ added in v1.5.0
func (s *ModifyDBInstanceInput) SetVpcSecurityGroupIds(v []*string) *ModifyDBInstanceInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (ModifyDBInstanceInput) String ¶ added in v0.6.6
func (s ModifyDBInstanceInput) String() string
String returns the string representation
func (*ModifyDBInstanceInput) Validate ¶ added in v1.1.22
func (s *ModifyDBInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBInstanceOutput ¶
type ModifyDBInstanceOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceResult
func (ModifyDBInstanceOutput) GoString ¶ added in v0.6.6
func (s ModifyDBInstanceOutput) GoString() string
GoString returns the string representation
func (*ModifyDBInstanceOutput) SetDBInstance ¶ added in v1.5.0
func (s *ModifyDBInstanceOutput) SetDBInstance(v *DBInstance) *ModifyDBInstanceOutput
SetDBInstance sets the DBInstance field's value.
func (ModifyDBInstanceOutput) String ¶ added in v0.6.6
func (s ModifyDBInstanceOutput) String() string
String returns the string representation
type ModifyDBParameterGroupInput ¶
type ModifyDBParameterGroupInput struct { // The name of the DB parameter group. // // Constraints: // // * Must be the name of an existing DB parameter group // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // An array of parameter names, values, and the apply method for the parameter // update. At least one parameter name, value, and apply method must be supplied; // subsequent arguments are optional. A maximum of 20 parameters can be modified // in a single request. // // Valid Values (for the application method): immediate | pending-reboot // // You can use the immediate value with dynamic parameters only. You can use // the pending-reboot value for both dynamic and static parameters, and changes // are applied when you reboot the DB instance without failover. // // Parameters is a required field Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroupMessage
func (ModifyDBParameterGroupInput) GoString ¶ added in v0.6.6
func (s ModifyDBParameterGroupInput) GoString() string
GoString returns the string representation
func (*ModifyDBParameterGroupInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *ModifyDBParameterGroupInput) SetDBParameterGroupName(v string) *ModifyDBParameterGroupInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*ModifyDBParameterGroupInput) SetParameters ¶ added in v1.5.0
func (s *ModifyDBParameterGroupInput) SetParameters(v []*Parameter) *ModifyDBParameterGroupInput
SetParameters sets the Parameters field's value.
func (ModifyDBParameterGroupInput) String ¶ added in v0.6.6
func (s ModifyDBParameterGroupInput) String() string
String returns the string representation
func (*ModifyDBParameterGroupInput) Validate ¶ added in v1.1.22
func (s *ModifyDBParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBSnapshotAttributeInput ¶ added in v1.0.0
type ModifyDBSnapshotAttributeInput struct { // The name of the DB snapshot attribute to modify. // // To manage authorization for other AWS accounts to copy or restore a manual // DB snapshot, set this value to restore. // // AttributeName is a required field AttributeName *string `type:"string" required:"true"` // The identifier for the DB snapshot to modify the attributes for. // // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // A list of DB snapshot attributes to add to the attribute specified by AttributeName. // // To authorize other AWS accounts to copy or restore a manual snapshot, set // this list to include one or more AWS account IDs, or all to make the manual // DB snapshot restorable by any AWS account. Do not add the all value for any // manual DB snapshots that contain private information that you don't want // available to all AWS accounts. ValuesToAdd []*string `locationNameList:"AttributeValue" type:"list"` // A list of DB snapshot attributes to remove from the attribute specified by // AttributeName. // // To remove authorization for other AWS accounts to copy or restore a manual // snapshot, set this list to include one or more AWS account identifiers, or // all to remove authorization for any AWS account to copy or restore the DB // snapshot. If you specify all, an AWS account whose account ID is explicitly // added to the restore attribute can still copy or restore the manual DB snapshot. ValuesToRemove []*string `locationNameList:"AttributeValue" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeMessage
func (ModifyDBSnapshotAttributeInput) GoString ¶ added in v1.0.0
func (s ModifyDBSnapshotAttributeInput) GoString() string
GoString returns the string representation
func (*ModifyDBSnapshotAttributeInput) SetAttributeName ¶ added in v1.5.0
func (s *ModifyDBSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBSnapshotAttributeInput
SetAttributeName sets the AttributeName field's value.
func (*ModifyDBSnapshotAttributeInput) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *ModifyDBSnapshotAttributeInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotAttributeInput
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (*ModifyDBSnapshotAttributeInput) SetValuesToAdd ¶ added in v1.5.0
func (s *ModifyDBSnapshotAttributeInput) SetValuesToAdd(v []*string) *ModifyDBSnapshotAttributeInput
SetValuesToAdd sets the ValuesToAdd field's value.
func (*ModifyDBSnapshotAttributeInput) SetValuesToRemove ¶ added in v1.5.0
func (s *ModifyDBSnapshotAttributeInput) SetValuesToRemove(v []*string) *ModifyDBSnapshotAttributeInput
SetValuesToRemove sets the ValuesToRemove field's value.
func (ModifyDBSnapshotAttributeInput) String ¶ added in v1.0.0
func (s ModifyDBSnapshotAttributeInput) String() string
String returns the string representation
func (*ModifyDBSnapshotAttributeInput) Validate ¶ added in v1.1.22
func (s *ModifyDBSnapshotAttributeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBSnapshotAttributeOutput ¶ added in v1.0.0
type ModifyDBSnapshotAttributeOutput struct { // Contains the results of a successful call to the DescribeDBSnapshotAttributes // API action. // // Manual DB snapshot attributes are used to authorize other AWS accounts to // copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute // API action. DBSnapshotAttributesResult *DBSnapshotAttributesResult `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeResult
func (ModifyDBSnapshotAttributeOutput) GoString ¶ added in v1.0.0
func (s ModifyDBSnapshotAttributeOutput) GoString() string
GoString returns the string representation
func (*ModifyDBSnapshotAttributeOutput) SetDBSnapshotAttributesResult ¶ added in v1.5.0
func (s *ModifyDBSnapshotAttributeOutput) SetDBSnapshotAttributesResult(v *DBSnapshotAttributesResult) *ModifyDBSnapshotAttributeOutput
SetDBSnapshotAttributesResult sets the DBSnapshotAttributesResult field's value.
func (ModifyDBSnapshotAttributeOutput) String ¶ added in v1.0.0
func (s ModifyDBSnapshotAttributeOutput) String() string
String returns the string representation
type ModifyDBSnapshotInput ¶ added in v1.6.19
type ModifyDBSnapshotInput struct { // The identifier of the DB snapshot to modify. // // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // The engine version to update the DB snapshot to. EngineVersion *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotMessage
func (ModifyDBSnapshotInput) GoString ¶ added in v1.6.19
func (s ModifyDBSnapshotInput) GoString() string
GoString returns the string representation
func (*ModifyDBSnapshotInput) SetDBSnapshotIdentifier ¶ added in v1.6.19
func (s *ModifyDBSnapshotInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotInput
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (*ModifyDBSnapshotInput) SetEngineVersion ¶ added in v1.6.19
func (s *ModifyDBSnapshotInput) SetEngineVersion(v string) *ModifyDBSnapshotInput
SetEngineVersion sets the EngineVersion field's value.
func (ModifyDBSnapshotInput) String ¶ added in v1.6.19
func (s ModifyDBSnapshotInput) String() string
String returns the string representation
func (*ModifyDBSnapshotInput) Validate ¶ added in v1.6.19
func (s *ModifyDBSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBSnapshotOutput ¶ added in v1.6.19
type ModifyDBSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBSnapshot // // * DeleteDBSnapshot // // This data type is used as a response element in the DescribeDBSnapshots action. DBSnapshot *DBSnapshot `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotResult
func (ModifyDBSnapshotOutput) GoString ¶ added in v1.6.19
func (s ModifyDBSnapshotOutput) GoString() string
GoString returns the string representation
func (*ModifyDBSnapshotOutput) SetDBSnapshot ¶ added in v1.6.19
func (s *ModifyDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *ModifyDBSnapshotOutput
SetDBSnapshot sets the DBSnapshot field's value.
func (ModifyDBSnapshotOutput) String ¶ added in v1.6.19
func (s ModifyDBSnapshotOutput) String() string
String returns the string representation
type ModifyDBSubnetGroupInput ¶
type ModifyDBSubnetGroupInput struct { // The description for the DB subnet group. DBSubnetGroupDescription *string `type:"string"` // The name for the DB subnet group. This value is stored as a lowercase string. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup // // DBSubnetGroupName is a required field DBSubnetGroupName *string `type:"string" required:"true"` // The EC2 subnet IDs for the DB subnet group. // // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupMessage
func (ModifyDBSubnetGroupInput) GoString ¶ added in v0.6.6
func (s ModifyDBSubnetGroupInput) GoString() string
GoString returns the string representation
func (*ModifyDBSubnetGroupInput) SetDBSubnetGroupDescription ¶ added in v1.5.0
func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *ModifyDBSubnetGroupInput
SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value.
func (*ModifyDBSubnetGroupInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupName(v string) *ModifyDBSubnetGroupInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*ModifyDBSubnetGroupInput) SetSubnetIds ¶ added in v1.5.0
func (s *ModifyDBSubnetGroupInput) SetSubnetIds(v []*string) *ModifyDBSubnetGroupInput
SetSubnetIds sets the SubnetIds field's value.
func (ModifyDBSubnetGroupInput) String ¶ added in v0.6.6
func (s ModifyDBSubnetGroupInput) String() string
String returns the string representation
func (*ModifyDBSubnetGroupInput) Validate ¶ added in v1.1.22
func (s *ModifyDBSubnetGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyDBSubnetGroupOutput ¶
type ModifyDBSubnetGroupOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBSubnetGroup // // * ModifyDBSubnetGroup // // * DescribeDBSubnetGroups // // * DeleteDBSubnetGroup // // This data type is used as a response element in the DescribeDBSubnetGroups // action. DBSubnetGroup *DBSubnetGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupResult
func (ModifyDBSubnetGroupOutput) GoString ¶ added in v0.6.6
func (s ModifyDBSubnetGroupOutput) GoString() string
GoString returns the string representation
func (*ModifyDBSubnetGroupOutput) SetDBSubnetGroup ¶ added in v1.5.0
func (s *ModifyDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *ModifyDBSubnetGroupOutput
SetDBSubnetGroup sets the DBSubnetGroup field's value.
func (ModifyDBSubnetGroupOutput) String ¶ added in v0.6.6
func (s ModifyDBSubnetGroupOutput) String() string
String returns the string representation
type ModifyEventSubscriptionInput ¶
type ModifyEventSubscriptionInput struct { // A Boolean value; set to true to activate the subscription. Enabled *bool `type:"boolean"` // A list of event categories for a SourceType that you want to subscribe to. // You can see a list of the categories for a given SourceType in the Events // (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) // topic in the Amazon RDS User Guide or by using the DescribeEventCategories // action. EventCategories []*string `locationNameList:"EventCategory" type:"list"` // The Amazon Resource Name (ARN) of the SNS topic created for event notification. // The ARN is created by Amazon SNS when you create a topic and subscribe to // it. SnsTopicArn *string `type:"string"` // The type of source that will be generating the events. For example, if you // want to be notified of events generated by a DB instance, you would set this // parameter to db-instance. if this value is not specified, all events are // returned. // // Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot SourceType *string `type:"string"` // The name of the RDS event notification subscription. // // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionMessage
func (ModifyEventSubscriptionInput) GoString ¶ added in v0.6.6
func (s ModifyEventSubscriptionInput) GoString() string
GoString returns the string representation
func (*ModifyEventSubscriptionInput) SetEnabled ¶ added in v1.5.0
func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput
SetEnabled sets the Enabled field's value.
func (*ModifyEventSubscriptionInput) SetEventCategories ¶ added in v1.5.0
func (s *ModifyEventSubscriptionInput) SetEventCategories(v []*string) *ModifyEventSubscriptionInput
SetEventCategories sets the EventCategories field's value.
func (*ModifyEventSubscriptionInput) SetSnsTopicArn ¶ added in v1.5.0
func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput
SetSnsTopicArn sets the SnsTopicArn field's value.
func (*ModifyEventSubscriptionInput) SetSourceType ¶ added in v1.5.0
func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput
SetSourceType sets the SourceType field's value.
func (*ModifyEventSubscriptionInput) SetSubscriptionName ¶ added in v1.5.0
func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput
SetSubscriptionName sets the SubscriptionName field's value.
func (ModifyEventSubscriptionInput) String ¶ added in v0.6.6
func (s ModifyEventSubscriptionInput) String() string
String returns the string representation
func (*ModifyEventSubscriptionInput) Validate ¶ added in v1.1.22
func (s *ModifyEventSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyEventSubscriptionOutput ¶
type ModifyEventSubscriptionOutput struct { // Contains the results of a successful invocation of the DescribeEventSubscriptions // action. EventSubscription *EventSubscription `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionResult
func (ModifyEventSubscriptionOutput) GoString ¶ added in v0.6.6
func (s ModifyEventSubscriptionOutput) GoString() string
GoString returns the string representation
func (*ModifyEventSubscriptionOutput) SetEventSubscription ¶ added in v1.5.0
func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *ModifyEventSubscriptionOutput
SetEventSubscription sets the EventSubscription field's value.
func (ModifyEventSubscriptionOutput) String ¶ added in v0.6.6
func (s ModifyEventSubscriptionOutput) String() string
String returns the string representation
type ModifyOptionGroupInput ¶
type ModifyOptionGroupInput struct { // Indicates whether the changes should be applied immediately, or during the // next maintenance window for each instance associated with the option group. ApplyImmediately *bool `type:"boolean"` // The name of the option group to be modified. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, // cannot be removed from an option group, and that option group cannot be removed // from a DB instance once it is associated with a DB instance // // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` // Options in this list are added to the option group or, if already present, // the specified configuration is used to update the existing configuration. OptionsToInclude []*OptionConfiguration `locationNameList:"OptionConfiguration" type:"list"` // Options in this list are removed from the option group. OptionsToRemove []*string `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupMessage
func (ModifyOptionGroupInput) GoString ¶ added in v0.6.6
func (s ModifyOptionGroupInput) GoString() string
GoString returns the string representation
func (*ModifyOptionGroupInput) SetApplyImmediately ¶ added in v1.5.0
func (s *ModifyOptionGroupInput) SetApplyImmediately(v bool) *ModifyOptionGroupInput
SetApplyImmediately sets the ApplyImmediately field's value.
func (*ModifyOptionGroupInput) SetOptionGroupName ¶ added in v1.5.0
func (s *ModifyOptionGroupInput) SetOptionGroupName(v string) *ModifyOptionGroupInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*ModifyOptionGroupInput) SetOptionsToInclude ¶ added in v1.5.0
func (s *ModifyOptionGroupInput) SetOptionsToInclude(v []*OptionConfiguration) *ModifyOptionGroupInput
SetOptionsToInclude sets the OptionsToInclude field's value.
func (*ModifyOptionGroupInput) SetOptionsToRemove ¶ added in v1.5.0
func (s *ModifyOptionGroupInput) SetOptionsToRemove(v []*string) *ModifyOptionGroupInput
SetOptionsToRemove sets the OptionsToRemove field's value.
func (ModifyOptionGroupInput) String ¶ added in v0.6.6
func (s ModifyOptionGroupInput) String() string
String returns the string representation
func (*ModifyOptionGroupInput) Validate ¶ added in v1.1.22
func (s *ModifyOptionGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyOptionGroupOutput ¶
type ModifyOptionGroupOutput struct { OptionGroup *OptionGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupResult
func (ModifyOptionGroupOutput) GoString ¶ added in v0.6.6
func (s ModifyOptionGroupOutput) GoString() string
GoString returns the string representation
func (*ModifyOptionGroupOutput) SetOptionGroup ¶ added in v1.5.0
func (s *ModifyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *ModifyOptionGroupOutput
SetOptionGroup sets the OptionGroup field's value.
func (ModifyOptionGroupOutput) String ¶ added in v0.6.6
func (s ModifyOptionGroupOutput) String() string
String returns the string representation
type Option ¶
type Option struct { // If the option requires access to a port, then this DB security group allows // access to the port. DBSecurityGroupMemberships []*DBSecurityGroupMembership `locationNameList:"DBSecurityGroup" type:"list"` // The description of the option. OptionDescription *string `type:"string"` // The name of the option. OptionName *string `type:"string"` // The option settings for this option. OptionSettings []*OptionSetting `locationNameList:"OptionSetting" type:"list"` // The version of the option. OptionVersion *string `type:"string"` // Indicate if this option is permanent. Permanent *bool `type:"boolean"` // Indicate if this option is persistent. Persistent *bool `type:"boolean"` // If required, the port configured for this option to use. Port *int64 `type:"integer"` // If the option requires access to a port, then this VPC security group allows // access to the port. VpcSecurityGroupMemberships []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"` // contains filtered or unexported fields }
Option details. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Option
func (*Option) SetDBSecurityGroupMemberships ¶ added in v1.5.0
func (s *Option) SetDBSecurityGroupMemberships(v []*DBSecurityGroupMembership) *Option
SetDBSecurityGroupMemberships sets the DBSecurityGroupMemberships field's value.
func (*Option) SetOptionDescription ¶ added in v1.5.0
SetOptionDescription sets the OptionDescription field's value.
func (*Option) SetOptionName ¶ added in v1.5.0
SetOptionName sets the OptionName field's value.
func (*Option) SetOptionSettings ¶ added in v1.5.0
func (s *Option) SetOptionSettings(v []*OptionSetting) *Option
SetOptionSettings sets the OptionSettings field's value.
func (*Option) SetOptionVersion ¶ added in v1.5.0
SetOptionVersion sets the OptionVersion field's value.
func (*Option) SetPermanent ¶ added in v1.5.0
SetPermanent sets the Permanent field's value.
func (*Option) SetPersistent ¶ added in v1.5.0
SetPersistent sets the Persistent field's value.
func (*Option) SetVpcSecurityGroupMemberships ¶ added in v1.5.0
func (s *Option) SetVpcSecurityGroupMemberships(v []*VpcSecurityGroupMembership) *Option
SetVpcSecurityGroupMemberships sets the VpcSecurityGroupMemberships field's value.
type OptionConfiguration ¶
type OptionConfiguration struct { // A list of DBSecurityGroupMemebrship name strings used for this option. DBSecurityGroupMemberships []*string `locationNameList:"DBSecurityGroupName" type:"list"` // The configuration of options to include in a group. // // OptionName is a required field OptionName *string `type:"string" required:"true"` // The option settings to include in an option group. OptionSettings []*OptionSetting `locationNameList:"OptionSetting" type:"list"` // The version for the option. OptionVersion *string `type:"string"` // The optional port for the option. Port *int64 `type:"integer"` // A list of VpcSecurityGroupMemebrship name strings used for this option. VpcSecurityGroupMemberships []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
A list of all available options Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionConfiguration
func (OptionConfiguration) GoString ¶ added in v0.6.6
func (s OptionConfiguration) GoString() string
GoString returns the string representation
func (*OptionConfiguration) SetDBSecurityGroupMemberships ¶ added in v1.5.0
func (s *OptionConfiguration) SetDBSecurityGroupMemberships(v []*string) *OptionConfiguration
SetDBSecurityGroupMemberships sets the DBSecurityGroupMemberships field's value.
func (*OptionConfiguration) SetOptionName ¶ added in v1.5.0
func (s *OptionConfiguration) SetOptionName(v string) *OptionConfiguration
SetOptionName sets the OptionName field's value.
func (*OptionConfiguration) SetOptionSettings ¶ added in v1.5.0
func (s *OptionConfiguration) SetOptionSettings(v []*OptionSetting) *OptionConfiguration
SetOptionSettings sets the OptionSettings field's value.
func (*OptionConfiguration) SetOptionVersion ¶ added in v1.5.0
func (s *OptionConfiguration) SetOptionVersion(v string) *OptionConfiguration
SetOptionVersion sets the OptionVersion field's value.
func (*OptionConfiguration) SetPort ¶ added in v1.5.0
func (s *OptionConfiguration) SetPort(v int64) *OptionConfiguration
SetPort sets the Port field's value.
func (*OptionConfiguration) SetVpcSecurityGroupMemberships ¶ added in v1.5.0
func (s *OptionConfiguration) SetVpcSecurityGroupMemberships(v []*string) *OptionConfiguration
SetVpcSecurityGroupMemberships sets the VpcSecurityGroupMemberships field's value.
func (OptionConfiguration) String ¶ added in v0.6.6
func (s OptionConfiguration) String() string
String returns the string representation
func (*OptionConfiguration) Validate ¶ added in v1.1.22
func (s *OptionConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OptionGroup ¶
type OptionGroup struct { // Indicates whether this option group can be applied to both VPC and non-VPC // instances. The value true indicates the option group can be applied to both // VPC and non-VPC instances. AllowsVpcAndNonVpcInstanceMemberships *bool `type:"boolean"` // Indicates the name of the engine that this option group can be applied to. EngineName *string `type:"string"` // Indicates the major engine version associated with this option group. MajorEngineVersion *string `type:"string"` // The Amazon Resource Name (ARN) for the option group. OptionGroupArn *string `type:"string"` // Provides a description of the option group. OptionGroupDescription *string `type:"string"` // Specifies the name of the option group. OptionGroupName *string `type:"string"` // Indicates what options are available in the option group. Options []*Option `locationNameList:"Option" type:"list"` // If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If // AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then // this option group can be applied to both VPC and non-VPC instances. If this // field contains a value, then this option group can only be applied to instances // that are in the VPC indicated by this field. VpcId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroup
func (OptionGroup) GoString ¶ added in v0.6.6
func (s OptionGroup) GoString() string
GoString returns the string representation
func (*OptionGroup) SetAllowsVpcAndNonVpcInstanceMemberships ¶ added in v1.5.0
func (s *OptionGroup) SetAllowsVpcAndNonVpcInstanceMemberships(v bool) *OptionGroup
SetAllowsVpcAndNonVpcInstanceMemberships sets the AllowsVpcAndNonVpcInstanceMemberships field's value.
func (*OptionGroup) SetEngineName ¶ added in v1.5.0
func (s *OptionGroup) SetEngineName(v string) *OptionGroup
SetEngineName sets the EngineName field's value.
func (*OptionGroup) SetMajorEngineVersion ¶ added in v1.5.0
func (s *OptionGroup) SetMajorEngineVersion(v string) *OptionGroup
SetMajorEngineVersion sets the MajorEngineVersion field's value.
func (*OptionGroup) SetOptionGroupArn ¶ added in v1.5.0
func (s *OptionGroup) SetOptionGroupArn(v string) *OptionGroup
SetOptionGroupArn sets the OptionGroupArn field's value.
func (*OptionGroup) SetOptionGroupDescription ¶ added in v1.5.0
func (s *OptionGroup) SetOptionGroupDescription(v string) *OptionGroup
SetOptionGroupDescription sets the OptionGroupDescription field's value.
func (*OptionGroup) SetOptionGroupName ¶ added in v1.5.0
func (s *OptionGroup) SetOptionGroupName(v string) *OptionGroup
SetOptionGroupName sets the OptionGroupName field's value.
func (*OptionGroup) SetOptions ¶ added in v1.5.0
func (s *OptionGroup) SetOptions(v []*Option) *OptionGroup
SetOptions sets the Options field's value.
func (*OptionGroup) SetVpcId ¶ added in v1.5.0
func (s *OptionGroup) SetVpcId(v string) *OptionGroup
SetVpcId sets the VpcId field's value.
func (OptionGroup) String ¶ added in v0.6.6
func (s OptionGroup) String() string
String returns the string representation
type OptionGroupMembership ¶
type OptionGroupMembership struct { // The name of the option group that the instance belongs to. OptionGroupName *string `type:"string"` // The status of the DB instance's option group membership. Valid values are: // in-sync, pending-apply, pending-removal, pending-maintenance-apply, pending-maintenance-removal, // applying, removing, and failed. Status *string `type:"string"` // contains filtered or unexported fields }
Provides information on the option groups the DB instance is a member of. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupMembership
func (OptionGroupMembership) GoString ¶ added in v0.6.6
func (s OptionGroupMembership) GoString() string
GoString returns the string representation
func (*OptionGroupMembership) SetOptionGroupName ¶ added in v1.5.0
func (s *OptionGroupMembership) SetOptionGroupName(v string) *OptionGroupMembership
SetOptionGroupName sets the OptionGroupName field's value.
func (*OptionGroupMembership) SetStatus ¶ added in v1.5.0
func (s *OptionGroupMembership) SetStatus(v string) *OptionGroupMembership
SetStatus sets the Status field's value.
func (OptionGroupMembership) String ¶ added in v0.6.6
func (s OptionGroupMembership) String() string
String returns the string representation
type OptionGroupOption ¶
type OptionGroupOption struct { // If the option requires a port, specifies the default port for the option. DefaultPort *int64 `type:"integer"` // The description of the option. Description *string `type:"string"` // The name of the engine that this option can be applied to. EngineName *string `type:"string"` // Indicates the major engine version that the option is available for. MajorEngineVersion *string `type:"string"` // The minimum required engine version for the option to be applied. MinimumRequiredMinorEngineVersion *string `type:"string"` // The name of the option. Name *string `type:"string"` // The option settings that are available (and the default value) for each option // in an option group. OptionGroupOptionSettings []*OptionGroupOptionSetting `locationNameList:"OptionGroupOptionSetting" type:"list"` // The versions that are available for the option. OptionGroupOptionVersions []*OptionVersion `locationNameList:"OptionVersion" type:"list"` // The options that conflict with this option. OptionsConflictsWith []*string `locationNameList:"OptionConflictName" type:"list"` // The options that are prerequisites for this option. OptionsDependedOn []*string `locationNameList:"OptionName" type:"list"` // Permanent options can never be removed from an option group. An option group // containing a permanent option can't be removed from a DB instance. Permanent *bool `type:"boolean"` // Persistent options can't be removed from an option group while DB instances // are associated with the option group. If you disassociate all DB instances // from the option group, your can remove the persistent option from the option // group. Persistent *bool `type:"boolean"` // Specifies whether the option requires a port. PortRequired *bool `type:"boolean"` // contains filtered or unexported fields }
Available option. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOption
func (OptionGroupOption) GoString ¶ added in v0.6.6
func (s OptionGroupOption) GoString() string
GoString returns the string representation
func (*OptionGroupOption) SetDefaultPort ¶ added in v1.5.0
func (s *OptionGroupOption) SetDefaultPort(v int64) *OptionGroupOption
SetDefaultPort sets the DefaultPort field's value.
func (*OptionGroupOption) SetDescription ¶ added in v1.5.0
func (s *OptionGroupOption) SetDescription(v string) *OptionGroupOption
SetDescription sets the Description field's value.
func (*OptionGroupOption) SetEngineName ¶ added in v1.5.0
func (s *OptionGroupOption) SetEngineName(v string) *OptionGroupOption
SetEngineName sets the EngineName field's value.
func (*OptionGroupOption) SetMajorEngineVersion ¶ added in v1.5.0
func (s *OptionGroupOption) SetMajorEngineVersion(v string) *OptionGroupOption
SetMajorEngineVersion sets the MajorEngineVersion field's value.
func (*OptionGroupOption) SetMinimumRequiredMinorEngineVersion ¶ added in v1.5.0
func (s *OptionGroupOption) SetMinimumRequiredMinorEngineVersion(v string) *OptionGroupOption
SetMinimumRequiredMinorEngineVersion sets the MinimumRequiredMinorEngineVersion field's value.
func (*OptionGroupOption) SetName ¶ added in v1.5.0
func (s *OptionGroupOption) SetName(v string) *OptionGroupOption
SetName sets the Name field's value.
func (*OptionGroupOption) SetOptionGroupOptionSettings ¶ added in v1.5.0
func (s *OptionGroupOption) SetOptionGroupOptionSettings(v []*OptionGroupOptionSetting) *OptionGroupOption
SetOptionGroupOptionSettings sets the OptionGroupOptionSettings field's value.
func (*OptionGroupOption) SetOptionGroupOptionVersions ¶ added in v1.5.0
func (s *OptionGroupOption) SetOptionGroupOptionVersions(v []*OptionVersion) *OptionGroupOption
SetOptionGroupOptionVersions sets the OptionGroupOptionVersions field's value.
func (*OptionGroupOption) SetOptionsConflictsWith ¶ added in v1.5.0
func (s *OptionGroupOption) SetOptionsConflictsWith(v []*string) *OptionGroupOption
SetOptionsConflictsWith sets the OptionsConflictsWith field's value.
func (*OptionGroupOption) SetOptionsDependedOn ¶ added in v1.5.0
func (s *OptionGroupOption) SetOptionsDependedOn(v []*string) *OptionGroupOption
SetOptionsDependedOn sets the OptionsDependedOn field's value.
func (*OptionGroupOption) SetPermanent ¶ added in v1.5.0
func (s *OptionGroupOption) SetPermanent(v bool) *OptionGroupOption
SetPermanent sets the Permanent field's value.
func (*OptionGroupOption) SetPersistent ¶ added in v1.5.0
func (s *OptionGroupOption) SetPersistent(v bool) *OptionGroupOption
SetPersistent sets the Persistent field's value.
func (*OptionGroupOption) SetPortRequired ¶ added in v1.5.0
func (s *OptionGroupOption) SetPortRequired(v bool) *OptionGroupOption
SetPortRequired sets the PortRequired field's value.
func (OptionGroupOption) String ¶ added in v0.6.6
func (s OptionGroupOption) String() string
String returns the string representation
type OptionGroupOptionSetting ¶
type OptionGroupOptionSetting struct { // Indicates the acceptable values for the option group option. AllowedValues *string `type:"string"` // The DB engine specific parameter type for the option group option. ApplyType *string `type:"string"` // The default value for the option group option. DefaultValue *string `type:"string"` // Boolean value where true indicates that this option group option can be changed // from the default value. IsModifiable *bool `type:"boolean"` // The description of the option group option. SettingDescription *string `type:"string"` // The name of the option group option. SettingName *string `type:"string"` // contains filtered or unexported fields }
Option group option settings are used to display settings available for each option with their default values and other information. These values are used with the DescribeOptionGroupOptions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOptionSetting
func (OptionGroupOptionSetting) GoString ¶ added in v0.6.6
func (s OptionGroupOptionSetting) GoString() string
GoString returns the string representation
func (*OptionGroupOptionSetting) SetAllowedValues ¶ added in v1.5.0
func (s *OptionGroupOptionSetting) SetAllowedValues(v string) *OptionGroupOptionSetting
SetAllowedValues sets the AllowedValues field's value.
func (*OptionGroupOptionSetting) SetApplyType ¶ added in v1.5.0
func (s *OptionGroupOptionSetting) SetApplyType(v string) *OptionGroupOptionSetting
SetApplyType sets the ApplyType field's value.
func (*OptionGroupOptionSetting) SetDefaultValue ¶ added in v1.5.0
func (s *OptionGroupOptionSetting) SetDefaultValue(v string) *OptionGroupOptionSetting
SetDefaultValue sets the DefaultValue field's value.
func (*OptionGroupOptionSetting) SetIsModifiable ¶ added in v1.5.0
func (s *OptionGroupOptionSetting) SetIsModifiable(v bool) *OptionGroupOptionSetting
SetIsModifiable sets the IsModifiable field's value.
func (*OptionGroupOptionSetting) SetSettingDescription ¶ added in v1.5.0
func (s *OptionGroupOptionSetting) SetSettingDescription(v string) *OptionGroupOptionSetting
SetSettingDescription sets the SettingDescription field's value.
func (*OptionGroupOptionSetting) SetSettingName ¶ added in v1.5.0
func (s *OptionGroupOptionSetting) SetSettingName(v string) *OptionGroupOptionSetting
SetSettingName sets the SettingName field's value.
func (OptionGroupOptionSetting) String ¶ added in v0.6.6
func (s OptionGroupOptionSetting) String() string
String returns the string representation
type OptionSetting ¶
type OptionSetting struct { // The allowed values of the option setting. AllowedValues *string `type:"string"` // The DB engine specific parameter type. ApplyType *string `type:"string"` // The data type of the option setting. DataType *string `type:"string"` // The default value of the option setting. DefaultValue *string `type:"string"` // The description of the option setting. Description *string `type:"string"` // Indicates if the option setting is part of a collection. IsCollection *bool `type:"boolean"` // A Boolean value that, when true, indicates the option setting can be modified // from the default. IsModifiable *bool `type:"boolean"` // The name of the option that has settings that you can set. Name *string `type:"string"` // The current value of the option setting. Value *string `type:"string"` // contains filtered or unexported fields }
Option settings are the actual settings being applied or configured for that option. It is used when you modify an option group or describe option groups. For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called SQLNET.ENCRYPTION_SERVER that can have several different values. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionSetting
func (OptionSetting) GoString ¶ added in v0.6.6
func (s OptionSetting) GoString() string
GoString returns the string representation
func (*OptionSetting) SetAllowedValues ¶ added in v1.5.0
func (s *OptionSetting) SetAllowedValues(v string) *OptionSetting
SetAllowedValues sets the AllowedValues field's value.
func (*OptionSetting) SetApplyType ¶ added in v1.5.0
func (s *OptionSetting) SetApplyType(v string) *OptionSetting
SetApplyType sets the ApplyType field's value.
func (*OptionSetting) SetDataType ¶ added in v1.5.0
func (s *OptionSetting) SetDataType(v string) *OptionSetting
SetDataType sets the DataType field's value.
func (*OptionSetting) SetDefaultValue ¶ added in v1.5.0
func (s *OptionSetting) SetDefaultValue(v string) *OptionSetting
SetDefaultValue sets the DefaultValue field's value.
func (*OptionSetting) SetDescription ¶ added in v1.5.0
func (s *OptionSetting) SetDescription(v string) *OptionSetting
SetDescription sets the Description field's value.
func (*OptionSetting) SetIsCollection ¶ added in v1.5.0
func (s *OptionSetting) SetIsCollection(v bool) *OptionSetting
SetIsCollection sets the IsCollection field's value.
func (*OptionSetting) SetIsModifiable ¶ added in v1.5.0
func (s *OptionSetting) SetIsModifiable(v bool) *OptionSetting
SetIsModifiable sets the IsModifiable field's value.
func (*OptionSetting) SetName ¶ added in v1.5.0
func (s *OptionSetting) SetName(v string) *OptionSetting
SetName sets the Name field's value.
func (*OptionSetting) SetValue ¶ added in v1.5.0
func (s *OptionSetting) SetValue(v string) *OptionSetting
SetValue sets the Value field's value.
func (OptionSetting) String ¶ added in v0.6.6
func (s OptionSetting) String() string
String returns the string representation
type OptionVersion ¶ added in v1.3.0
type OptionVersion struct { // True if the version is the default version of the option; otherwise, false. IsDefault *bool `type:"boolean"` // The version of the option. Version *string `type:"string"` // contains filtered or unexported fields }
The version for an option. Option group option versions are returned by the DescribeOptionGroupOptions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionVersion
func (OptionVersion) GoString ¶ added in v1.3.0
func (s OptionVersion) GoString() string
GoString returns the string representation
func (*OptionVersion) SetIsDefault ¶ added in v1.5.0
func (s *OptionVersion) SetIsDefault(v bool) *OptionVersion
SetIsDefault sets the IsDefault field's value.
func (*OptionVersion) SetVersion ¶ added in v1.5.0
func (s *OptionVersion) SetVersion(v string) *OptionVersion
SetVersion sets the Version field's value.
func (OptionVersion) String ¶ added in v1.3.0
func (s OptionVersion) String() string
String returns the string representation
type OrderableDBInstanceOption ¶
type OrderableDBInstanceOption struct { // A list of Availability Zones for the orderable DB instance. AvailabilityZones []*AvailabilityZone `locationNameList:"AvailabilityZone" type:"list"` // The DB instance class for the orderable DB instance. DBInstanceClass *string `type:"string"` // The engine type of the orderable DB instance. Engine *string `type:"string"` // The engine version of the orderable DB instance. EngineVersion *string `type:"string"` // The license model for the orderable DB instance. LicenseModel *string `type:"string"` // Indicates whether this orderable DB instance is multi-AZ capable. MultiAZCapable *bool `type:"boolean"` // Indicates whether this orderable DB instance can have a Read Replica. ReadReplicaCapable *bool `type:"boolean"` // Indicates the storage type for this orderable DB instance. StorageType *string `type:"string"` // Indicates whether the DB instance supports enhanced monitoring at intervals // from 1 to 60 seconds. SupportsEnhancedMonitoring *bool `type:"boolean"` // Indicates whether this orderable DB instance supports provisioned IOPS. SupportsIops *bool `type:"boolean"` // Indicates whether this orderable DB instance supports encrypted storage. SupportsStorageEncryption *bool `type:"boolean"` // Indicates whether this is a VPC orderable DB instance. Vpc *bool `type:"boolean"` // contains filtered or unexported fields }
Contains a list of available options for a DB instance
This data type is used as a response element in the DescribeOrderableDBInstanceOptions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOption
func (OrderableDBInstanceOption) GoString ¶ added in v0.6.6
func (s OrderableDBInstanceOption) GoString() string
GoString returns the string representation
func (*OrderableDBInstanceOption) SetAvailabilityZones ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetAvailabilityZones(v []*AvailabilityZone) *OrderableDBInstanceOption
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*OrderableDBInstanceOption) SetDBInstanceClass ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetDBInstanceClass(v string) *OrderableDBInstanceOption
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*OrderableDBInstanceOption) SetEngine ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetEngine(v string) *OrderableDBInstanceOption
SetEngine sets the Engine field's value.
func (*OrderableDBInstanceOption) SetEngineVersion ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetEngineVersion(v string) *OrderableDBInstanceOption
SetEngineVersion sets the EngineVersion field's value.
func (*OrderableDBInstanceOption) SetLicenseModel ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetLicenseModel(v string) *OrderableDBInstanceOption
SetLicenseModel sets the LicenseModel field's value.
func (*OrderableDBInstanceOption) SetMultiAZCapable ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetMultiAZCapable(v bool) *OrderableDBInstanceOption
SetMultiAZCapable sets the MultiAZCapable field's value.
func (*OrderableDBInstanceOption) SetReadReplicaCapable ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetReadReplicaCapable(v bool) *OrderableDBInstanceOption
SetReadReplicaCapable sets the ReadReplicaCapable field's value.
func (*OrderableDBInstanceOption) SetStorageType ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetStorageType(v string) *OrderableDBInstanceOption
SetStorageType sets the StorageType field's value.
func (*OrderableDBInstanceOption) SetSupportsEnhancedMonitoring ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetSupportsEnhancedMonitoring(v bool) *OrderableDBInstanceOption
SetSupportsEnhancedMonitoring sets the SupportsEnhancedMonitoring field's value.
func (*OrderableDBInstanceOption) SetSupportsIops ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetSupportsIops(v bool) *OrderableDBInstanceOption
SetSupportsIops sets the SupportsIops field's value.
func (*OrderableDBInstanceOption) SetSupportsStorageEncryption ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetSupportsStorageEncryption(v bool) *OrderableDBInstanceOption
SetSupportsStorageEncryption sets the SupportsStorageEncryption field's value.
func (*OrderableDBInstanceOption) SetVpc ¶ added in v1.5.0
func (s *OrderableDBInstanceOption) SetVpc(v bool) *OrderableDBInstanceOption
SetVpc sets the Vpc field's value.
func (OrderableDBInstanceOption) String ¶ added in v0.6.6
func (s OrderableDBInstanceOption) String() string
String returns the string representation
type Parameter ¶
type Parameter struct { // Specifies the valid range of values for the parameter. AllowedValues *string `type:"string"` // Indicates when to apply parameter updates. ApplyMethod *string `type:"string" enum:"ApplyMethod"` // Specifies the engine specific parameters type. ApplyType *string `type:"string"` // Specifies the valid data type for the parameter. DataType *string `type:"string"` // Provides a description of the parameter. Description *string `type:"string"` // Indicates whether (true) or not (false) the parameter can be modified. Some // parameters have security or operational implications that prevent them from // being changed. IsModifiable *bool `type:"boolean"` // The earliest engine version to which the parameter can apply. MinimumEngineVersion *string `type:"string"` // Specifies the name of the parameter. ParameterName *string `type:"string"` // Specifies the value of the parameter. ParameterValue *string `type:"string"` // Indicates the source of the parameter value. Source *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a request parameter in the ModifyDBParameterGroup and ResetDBParameterGroup actions.
This data type is used as a response element in the DescribeEngineDefaultParameters and DescribeDBParameters actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Parameter
func (*Parameter) SetAllowedValues ¶ added in v1.5.0
SetAllowedValues sets the AllowedValues field's value.
func (*Parameter) SetApplyMethod ¶ added in v1.5.0
SetApplyMethod sets the ApplyMethod field's value.
func (*Parameter) SetApplyType ¶ added in v1.5.0
SetApplyType sets the ApplyType field's value.
func (*Parameter) SetDataType ¶ added in v1.5.0
SetDataType sets the DataType field's value.
func (*Parameter) SetDescription ¶ added in v1.5.0
SetDescription sets the Description field's value.
func (*Parameter) SetIsModifiable ¶ added in v1.5.0
SetIsModifiable sets the IsModifiable field's value.
func (*Parameter) SetMinimumEngineVersion ¶ added in v1.5.0
SetMinimumEngineVersion sets the MinimumEngineVersion field's value.
func (*Parameter) SetParameterName ¶ added in v1.5.0
SetParameterName sets the ParameterName field's value.
func (*Parameter) SetParameterValue ¶ added in v1.5.0
SetParameterValue sets the ParameterValue field's value.
type PendingMaintenanceAction ¶
type PendingMaintenanceAction struct { // The type of pending maintenance action that is available for the resource. Action *string `type:"string"` // The date of the maintenance window when the action will be applied. The maintenance // action will be applied to the resource during its first maintenance window // after this date. If this date is specified, any next-maintenance opt-in requests // are ignored. AutoAppliedAfterDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The effective date when the pending maintenance action will be applied to // the resource. This date takes into account opt-in requests received from // the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the // ForcedApplyDate. This value is blank if an opt-in request has not been received // and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate. CurrentApplyDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // A description providing more detail about the maintenance action. Description *string `type:"string"` // The date when the maintenance action will be automatically applied. The maintenance // action will be applied to the resource on this date regardless of the maintenance // window for the resource. If this date is specified, any immediate opt-in // requests are ignored. ForcedApplyDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Indicates the type of opt-in request that has been received for the resource. OptInStatus *string `type:"string"` // contains filtered or unexported fields }
Provides information about a pending maintenance action for a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceAction
func (PendingMaintenanceAction) GoString ¶ added in v0.6.6
func (s PendingMaintenanceAction) GoString() string
GoString returns the string representation
func (*PendingMaintenanceAction) SetAction ¶ added in v1.5.0
func (s *PendingMaintenanceAction) SetAction(v string) *PendingMaintenanceAction
SetAction sets the Action field's value.
func (*PendingMaintenanceAction) SetAutoAppliedAfterDate ¶ added in v1.5.0
func (s *PendingMaintenanceAction) SetAutoAppliedAfterDate(v time.Time) *PendingMaintenanceAction
SetAutoAppliedAfterDate sets the AutoAppliedAfterDate field's value.
func (*PendingMaintenanceAction) SetCurrentApplyDate ¶ added in v1.5.0
func (s *PendingMaintenanceAction) SetCurrentApplyDate(v time.Time) *PendingMaintenanceAction
SetCurrentApplyDate sets the CurrentApplyDate field's value.
func (*PendingMaintenanceAction) SetDescription ¶ added in v1.5.0
func (s *PendingMaintenanceAction) SetDescription(v string) *PendingMaintenanceAction
SetDescription sets the Description field's value.
func (*PendingMaintenanceAction) SetForcedApplyDate ¶ added in v1.5.0
func (s *PendingMaintenanceAction) SetForcedApplyDate(v time.Time) *PendingMaintenanceAction
SetForcedApplyDate sets the ForcedApplyDate field's value.
func (*PendingMaintenanceAction) SetOptInStatus ¶ added in v1.5.0
func (s *PendingMaintenanceAction) SetOptInStatus(v string) *PendingMaintenanceAction
SetOptInStatus sets the OptInStatus field's value.
func (PendingMaintenanceAction) String ¶ added in v0.6.6
func (s PendingMaintenanceAction) String() string
String returns the string representation
type PendingModifiedValues ¶
type PendingModifiedValues struct { // Contains the new AllocatedStorage size for the DB instance that will be applied // or is in progress. AllocatedStorage *int64 `type:"integer"` // Specifies the pending number of days for which automated backups are retained. BackupRetentionPeriod *int64 `type:"integer"` // Specifies the identifier of the CA certificate for the DB instance. CACertificateIdentifier *string `type:"string"` // Contains the new DBInstanceClass for the DB instance that will be applied // or is in progress. DBInstanceClass *string `type:"string"` // Contains the new DBInstanceIdentifier for the DB instance that will be applied // or is in progress. DBInstanceIdentifier *string `type:"string"` // The new DB subnet group for the DB instance. DBSubnetGroupName *string `type:"string"` // Indicates the database engine version. EngineVersion *string `type:"string"` // Specifies the new Provisioned IOPS value for the DB instance that will be // applied or is being applied. Iops *int64 `type:"integer"` // The license model for the DB instance. // // Valid values: license-included | bring-your-own-license | general-public-license LicenseModel *string `type:"string"` // Contains the pending or in-progress change of the master credentials for // the DB instance. MasterUserPassword *string `type:"string"` // Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. MultiAZ *bool `type:"boolean"` // Specifies the pending port for the DB instance. Port *int64 `type:"integer"` // Specifies the storage type to be associated with the DB instance. StorageType *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element in the ModifyDBInstance action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingModifiedValues
func (PendingModifiedValues) GoString ¶ added in v0.6.6
func (s PendingModifiedValues) GoString() string
GoString returns the string representation
func (*PendingModifiedValues) SetAllocatedStorage ¶ added in v1.5.0
func (s *PendingModifiedValues) SetAllocatedStorage(v int64) *PendingModifiedValues
SetAllocatedStorage sets the AllocatedStorage field's value.
func (*PendingModifiedValues) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *PendingModifiedValues) SetBackupRetentionPeriod(v int64) *PendingModifiedValues
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*PendingModifiedValues) SetCACertificateIdentifier ¶ added in v1.5.0
func (s *PendingModifiedValues) SetCACertificateIdentifier(v string) *PendingModifiedValues
SetCACertificateIdentifier sets the CACertificateIdentifier field's value.
func (*PendingModifiedValues) SetDBInstanceClass ¶ added in v1.5.0
func (s *PendingModifiedValues) SetDBInstanceClass(v string) *PendingModifiedValues
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*PendingModifiedValues) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *PendingModifiedValues) SetDBInstanceIdentifier(v string) *PendingModifiedValues
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*PendingModifiedValues) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *PendingModifiedValues) SetDBSubnetGroupName(v string) *PendingModifiedValues
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*PendingModifiedValues) SetEngineVersion ¶ added in v1.5.0
func (s *PendingModifiedValues) SetEngineVersion(v string) *PendingModifiedValues
SetEngineVersion sets the EngineVersion field's value.
func (*PendingModifiedValues) SetIops ¶ added in v1.5.0
func (s *PendingModifiedValues) SetIops(v int64) *PendingModifiedValues
SetIops sets the Iops field's value.
func (*PendingModifiedValues) SetLicenseModel ¶ added in v1.5.0
func (s *PendingModifiedValues) SetLicenseModel(v string) *PendingModifiedValues
SetLicenseModel sets the LicenseModel field's value.
func (*PendingModifiedValues) SetMasterUserPassword ¶ added in v1.5.0
func (s *PendingModifiedValues) SetMasterUserPassword(v string) *PendingModifiedValues
SetMasterUserPassword sets the MasterUserPassword field's value.
func (*PendingModifiedValues) SetMultiAZ ¶ added in v1.5.0
func (s *PendingModifiedValues) SetMultiAZ(v bool) *PendingModifiedValues
SetMultiAZ sets the MultiAZ field's value.
func (*PendingModifiedValues) SetPort ¶ added in v1.5.0
func (s *PendingModifiedValues) SetPort(v int64) *PendingModifiedValues
SetPort sets the Port field's value.
func (*PendingModifiedValues) SetStorageType ¶ added in v1.5.0
func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues
SetStorageType sets the StorageType field's value.
func (PendingModifiedValues) String ¶ added in v0.6.6
func (s PendingModifiedValues) String() string
String returns the string representation
type PromoteReadReplicaDBClusterInput ¶ added in v1.1.35
type PromoteReadReplicaDBClusterInput struct { // The identifier of the DB cluster Read Replica to promote. This parameter // is not case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster-replica1 // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterMessage
func (PromoteReadReplicaDBClusterInput) GoString ¶ added in v1.1.35
func (s PromoteReadReplicaDBClusterInput) GoString() string
GoString returns the string representation
func (*PromoteReadReplicaDBClusterInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *PromoteReadReplicaDBClusterInput) SetDBClusterIdentifier(v string) *PromoteReadReplicaDBClusterInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (PromoteReadReplicaDBClusterInput) String ¶ added in v1.1.35
func (s PromoteReadReplicaDBClusterInput) String() string
String returns the string representation
func (*PromoteReadReplicaDBClusterInput) Validate ¶ added in v1.1.35
func (s *PromoteReadReplicaDBClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PromoteReadReplicaDBClusterOutput ¶ added in v1.1.35
type PromoteReadReplicaDBClusterOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterResult
func (PromoteReadReplicaDBClusterOutput) GoString ¶ added in v1.1.35
func (s PromoteReadReplicaDBClusterOutput) GoString() string
GoString returns the string representation
func (*PromoteReadReplicaDBClusterOutput) SetDBCluster ¶ added in v1.5.0
func (s *PromoteReadReplicaDBClusterOutput) SetDBCluster(v *DBCluster) *PromoteReadReplicaDBClusterOutput
SetDBCluster sets the DBCluster field's value.
func (PromoteReadReplicaDBClusterOutput) String ¶ added in v1.1.35
func (s PromoteReadReplicaDBClusterOutput) String() string
String returns the string representation
type PromoteReadReplicaInput ¶
type PromoteReadReplicaInput struct { // The number of days to retain automated backups. Setting this parameter to // a positive number enables backups. Setting this parameter to 0 disables automated // backups. // // Default: 1 // // Constraints: // // * Must be a value from 0 to 8 BackupRetentionPeriod *int64 `type:"integer"` // The DB instance identifier. This value is stored as a lowercase string. // // Constraints: // // * Must be the identifier for an existing Read Replica DB instance // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: mydbinstance // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The daily time range during which automated backups are created if automated // backups are enabled, using the BackupRetentionPeriod parameter. // // Default: A 30-minute window selected at random from an 8-hour block of time // per region. To see the time blocks available, see Adjusting the Preferred // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // // * Times should be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaMessage
func (PromoteReadReplicaInput) GoString ¶ added in v0.6.6
func (s PromoteReadReplicaInput) GoString() string
GoString returns the string representation
func (*PromoteReadReplicaInput) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *PromoteReadReplicaInput) SetBackupRetentionPeriod(v int64) *PromoteReadReplicaInput
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*PromoteReadReplicaInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *PromoteReadReplicaInput) SetDBInstanceIdentifier(v string) *PromoteReadReplicaInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*PromoteReadReplicaInput) SetPreferredBackupWindow ¶ added in v1.5.0
func (s *PromoteReadReplicaInput) SetPreferredBackupWindow(v string) *PromoteReadReplicaInput
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (PromoteReadReplicaInput) String ¶ added in v0.6.6
func (s PromoteReadReplicaInput) String() string
String returns the string representation
func (*PromoteReadReplicaInput) Validate ¶ added in v1.1.22
func (s *PromoteReadReplicaInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PromoteReadReplicaOutput ¶
type PromoteReadReplicaOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaResult
func (PromoteReadReplicaOutput) GoString ¶ added in v0.6.6
func (s PromoteReadReplicaOutput) GoString() string
GoString returns the string representation
func (*PromoteReadReplicaOutput) SetDBInstance ¶ added in v1.5.0
func (s *PromoteReadReplicaOutput) SetDBInstance(v *DBInstance) *PromoteReadReplicaOutput
SetDBInstance sets the DBInstance field's value.
func (PromoteReadReplicaOutput) String ¶ added in v0.6.6
func (s PromoteReadReplicaOutput) String() string
String returns the string representation
type PurchaseReservedDBInstancesOfferingInput ¶
type PurchaseReservedDBInstancesOfferingInput struct { // The number of instances to reserve. // // Default: 1 DBInstanceCount *int64 `type:"integer"` // Customer-specified identifier to track this reservation. // // Example: myreservationID ReservedDBInstanceId *string `type:"string"` // The ID of the Reserved DB instance offering to purchase. // // Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 // // ReservedDBInstancesOfferingId is a required field ReservedDBInstancesOfferingId *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingMessage
func (PurchaseReservedDBInstancesOfferingInput) GoString ¶ added in v0.6.6
func (s PurchaseReservedDBInstancesOfferingInput) GoString() string
GoString returns the string representation
func (*PurchaseReservedDBInstancesOfferingInput) SetDBInstanceCount ¶ added in v1.5.0
func (s *PurchaseReservedDBInstancesOfferingInput) SetDBInstanceCount(v int64) *PurchaseReservedDBInstancesOfferingInput
SetDBInstanceCount sets the DBInstanceCount field's value.
func (*PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstanceId ¶ added in v1.5.0
func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstanceId(v string) *PurchaseReservedDBInstancesOfferingInput
SetReservedDBInstanceId sets the ReservedDBInstanceId field's value.
func (*PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstancesOfferingId ¶ added in v1.5.0
func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstancesOfferingId(v string) *PurchaseReservedDBInstancesOfferingInput
SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
func (*PurchaseReservedDBInstancesOfferingInput) SetTags ¶ added in v1.5.0
func (s *PurchaseReservedDBInstancesOfferingInput) SetTags(v []*Tag) *PurchaseReservedDBInstancesOfferingInput
SetTags sets the Tags field's value.
func (PurchaseReservedDBInstancesOfferingInput) String ¶ added in v0.6.6
func (s PurchaseReservedDBInstancesOfferingInput) String() string
String returns the string representation
func (*PurchaseReservedDBInstancesOfferingInput) Validate ¶ added in v1.1.22
func (s *PurchaseReservedDBInstancesOfferingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PurchaseReservedDBInstancesOfferingOutput ¶
type PurchaseReservedDBInstancesOfferingOutput struct { // This data type is used as a response element in the DescribeReservedDBInstances // and PurchaseReservedDBInstancesOffering actions. ReservedDBInstance *ReservedDBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingResult
func (PurchaseReservedDBInstancesOfferingOutput) GoString ¶ added in v0.6.6
func (s PurchaseReservedDBInstancesOfferingOutput) GoString() string
GoString returns the string representation
func (*PurchaseReservedDBInstancesOfferingOutput) SetReservedDBInstance ¶ added in v1.5.0
func (s *PurchaseReservedDBInstancesOfferingOutput) SetReservedDBInstance(v *ReservedDBInstance) *PurchaseReservedDBInstancesOfferingOutput
SetReservedDBInstance sets the ReservedDBInstance field's value.
func (PurchaseReservedDBInstancesOfferingOutput) String ¶ added in v0.6.6
func (s PurchaseReservedDBInstancesOfferingOutput) String() string
String returns the string representation
type RDS ¶
Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizeable capacity for an industry-standard relational database and manages common database administration tasks, freeing up developers to focus on what makes their applications and businesses unique.
Amazon RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, or Amazon Aurora database server. These capabilities mean that the code, applications, and tools you already use today with your existing databases work with Amazon RDS without modification. Amazon RDS automatically backs up your database and maintains the database software that powers your DB instance. Amazon RDS is flexible: you can scale your database instance's compute resources and storage capacity to meet your application's demand. As with all Amazon Web Services, there are no up-front investments, and you pay only for the resources you use.
This interface reference for Amazon RDS contains documentation for a programming or command line interface you can use to manage Amazon RDS. Note that Amazon RDS is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot, or during the maintenance window. The reference structure is as follows, and we list following some related topics from the user guide.
Amazon RDS API Reference
For the alphabetical list of API actions, see API Actions (http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Operations.html).
For the alphabetical list of data types, see Data Types (http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Types.html).
For a list of common query parameters, see Common Parameters (http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonParameters.html).
For descriptions of the error codes, see Common Errors (http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonErrors.html).
Amazon RDS User Guide
For a summary of the Amazon RDS interfaces, see Available RDS Interfaces (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html#Welcome.Interfaces).
For more information about how to use the Query API, see Using the Query API (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using_the_Query_API.html).
The service client's operations are safe to be used concurrently. It is not safe to mutate any of the client's properties though. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *RDS
New creates a new instance of the RDS 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:
// Create a RDS client from just a session. svc := rds.New(mySession) // Create a RDS client with additional configuration svc := rds.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*RDS) AddRoleToDBCluster ¶ added in v1.4.20
func (c *RDS) AddRoleToDBCluster(input *AddRoleToDBClusterInput) (*AddRoleToDBClusterOutput, error)
AddRoleToDBCluster API operation for Amazon Relational Database Service.
Associates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Authorizing.AWSServices.html).
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 Amazon Relational Database Service's API operation AddRoleToDBCluster for usage and error information.
Returned Error Codes:
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeDBClusterRoleAlreadyExistsFault "DBClusterRoleAlreadyExists" The specified IAM role Amazon Resource Name (ARN) is already associated with the specified DB cluster.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeDBClusterRoleQuotaExceededFault "DBClusterRoleQuotaExceeded" You have exceeded the maximum number of IAM roles that can be associated with the specified DB cluster.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.AddRoleToDBClusterInput{ DBClusterIdentifier: aws.String("String"), // Required RoleArn: aws.String("String"), // Required } resp, err := svc.AddRoleToDBCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) AddRoleToDBClusterRequest ¶ added in v1.4.20
func (c *RDS) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *request.Request, output *AddRoleToDBClusterOutput)
AddRoleToDBClusterRequest generates a "aws/request.Request" representing the client's request for the AddRoleToDBCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddRoleToDBCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddRoleToDBCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddRoleToDBClusterRequest method. req, resp := client.AddRoleToDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster
func (*RDS) AddSourceIdentifierToSubscription ¶
func (c *RDS) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error)
AddSourceIdentifierToSubscription API operation for Amazon Relational Database Service.
Adds a source identifier to an existing RDS event notification subscription.
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 Amazon Relational Database Service's API operation AddSourceIdentifierToSubscription for usage and error information.
Returned Error Codes:
ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" The subscription name does not exist.
ErrCodeSourceNotFoundFault "SourceNotFound" The requested source could not be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.AddSourceIdentifierToSubscriptionInput{ SourceIdentifier: aws.String("String"), // Required SubscriptionName: aws.String("String"), // Required } resp, err := svc.AddSourceIdentifierToSubscription(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) AddSourceIdentifierToSubscriptionRequest ¶
func (c *RDS) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput)
AddSourceIdentifierToSubscriptionRequest generates a "aws/request.Request" representing the client's request for the AddSourceIdentifierToSubscription operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddSourceIdentifierToSubscription for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddSourceIdentifierToSubscription method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription
func (*RDS) AddTagsToResource ¶
func (c *RDS) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)
AddTagsToResource API operation for Amazon Relational Database Service.
Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS.
For an overview on tagging Amazon RDS resources, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html).
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 Amazon Relational Database Service's API operation AddTagsToResource for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.AddTagsToResourceInput{ ResourceName: aws.String("String"), // Required Tags: []*rds.Tag{ // Required { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.AddTagsToResource(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) AddTagsToResourceRequest ¶
func (c *RDS) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)
AddTagsToResourceRequest generates a "aws/request.Request" representing the client's request for the AddTagsToResource operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddTagsToResource for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddTagsToResource method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddTagsToResourceRequest method. req, resp := client.AddTagsToResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource
func (*RDS) ApplyPendingMaintenanceAction ¶
func (c *RDS) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error)
ApplyPendingMaintenanceAction API operation for Amazon Relational Database Service.
Applies a pending maintenance action to a resource (for example, to a DB instance).
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 Amazon Relational Database Service's API operation ApplyPendingMaintenanceAction for usage and error information.
Returned Error Codes:
- ErrCodeResourceNotFoundFault "ResourceNotFoundFault" The specified resource ID was not found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ApplyPendingMaintenanceActionInput{ ApplyAction: aws.String("String"), // Required OptInType: aws.String("String"), // Required ResourceIdentifier: aws.String("String"), // Required } resp, err := svc.ApplyPendingMaintenanceAction(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ApplyPendingMaintenanceActionRequest ¶
func (c *RDS) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput)
ApplyPendingMaintenanceActionRequest generates a "aws/request.Request" representing the client's request for the ApplyPendingMaintenanceAction operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ApplyPendingMaintenanceAction for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ApplyPendingMaintenanceAction method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ApplyPendingMaintenanceActionRequest method. req, resp := client.ApplyPendingMaintenanceActionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction
func (*RDS) AuthorizeDBSecurityGroupIngress ¶
func (c *RDS) AuthorizeDBSecurityGroupIngress(input *AuthorizeDBSecurityGroupIngressInput) (*AuthorizeDBSecurityGroupIngressOutput, error)
AuthorizeDBSecurityGroupIngress API operation for Amazon Relational Database Service.
Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).
You cannot authorize ingress from an EC2 security group in one region to an Amazon RDS DB instance in another. You cannot authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.
For an overview of CIDR ranges, go to the Wikipedia Tutorial (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
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 Amazon Relational Database Service's API operation AuthorizeDBSecurityGroupIngress for usage and error information.
Returned Error Codes:
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" The state of the DB security group does not allow deletion.
ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" The specified CIDRIP or EC2 security group is already authorized for the specified DB security group.
ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" DB security group authorization quota has been reached.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.AuthorizeDBSecurityGroupIngressInput{ DBSecurityGroupName: aws.String("String"), // Required CIDRIP: aws.String("String"), EC2SecurityGroupId: aws.String("String"), EC2SecurityGroupName: aws.String("String"), EC2SecurityGroupOwnerId: aws.String("String"), } resp, err := svc.AuthorizeDBSecurityGroupIngress(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) AuthorizeDBSecurityGroupIngressRequest ¶
func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityGroupIngressInput) (req *request.Request, output *AuthorizeDBSecurityGroupIngressOutput)
AuthorizeDBSecurityGroupIngressRequest generates a "aws/request.Request" representing the client's request for the AuthorizeDBSecurityGroupIngress operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AuthorizeDBSecurityGroupIngress for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AuthorizeDBSecurityGroupIngress method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AuthorizeDBSecurityGroupIngressRequest method. req, resp := client.AuthorizeDBSecurityGroupIngressRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress
func (*RDS) CopyDBClusterParameterGroup ¶ added in v1.2.5
func (c *RDS) CopyDBClusterParameterGroup(input *CopyDBClusterParameterGroupInput) (*CopyDBClusterParameterGroupOutput, error)
CopyDBClusterParameterGroup API operation for Amazon Relational Database Service.
Copies the specified DB cluster parameter group.
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 Amazon Relational Database Service's API operation CopyDBClusterParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.
ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CopyDBClusterParameterGroupInput{ SourceDBClusterParameterGroupIdentifier: aws.String("String"), // Required TargetDBClusterParameterGroupDescription: aws.String("String"), // Required TargetDBClusterParameterGroupIdentifier: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CopyDBClusterParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CopyDBClusterParameterGroupRequest ¶ added in v1.2.5
func (c *RDS) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGroupInput) (req *request.Request, output *CopyDBClusterParameterGroupOutput)
CopyDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CopyDBClusterParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CopyDBClusterParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CopyDBClusterParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CopyDBClusterParameterGroupRequest method. req, resp := client.CopyDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup
func (*RDS) CopyDBClusterSnapshot ¶ added in v0.7.2
func (c *RDS) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error)
CopyDBClusterSnapshot API operation for Amazon Relational Database Service.
Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation CopyDBClusterSnapshot for usage and error information.
Returned Error Codes:
ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" User already has a DB cluster snapshot with the given identifier.
ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.
ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CopyDBClusterSnapshotInput{ SourceDBClusterSnapshotIdentifier: aws.String("String"), // Required TargetDBClusterSnapshotIdentifier: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CopyDBClusterSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CopyDBClusterSnapshotRequest ¶ added in v0.7.2
func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput)
CopyDBClusterSnapshotRequest generates a "aws/request.Request" representing the client's request for the CopyDBClusterSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CopyDBClusterSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CopyDBClusterSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CopyDBClusterSnapshotRequest method. req, resp := client.CopyDBClusterSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot
func (*RDS) CopyDBParameterGroup ¶
func (c *RDS) CopyDBParameterGroup(input *CopyDBParameterGroupInput) (*CopyDBParameterGroupOutput, error)
CopyDBParameterGroup API operation for Amazon Relational Database Service.
Copies the specified DB parameter group.
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 Amazon Relational Database Service's API operation CopyDBParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.
ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CopyDBParameterGroupInput{ SourceDBParameterGroupIdentifier: aws.String("String"), // Required TargetDBParameterGroupDescription: aws.String("String"), // Required TargetDBParameterGroupIdentifier: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CopyDBParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CopyDBParameterGroupRequest ¶
func (c *RDS) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req *request.Request, output *CopyDBParameterGroupOutput)
CopyDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CopyDBParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CopyDBParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CopyDBParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CopyDBParameterGroupRequest method. req, resp := client.CopyDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup
func (*RDS) CopyDBSnapshot ¶
func (c *RDS) CopyDBSnapshot(input *CopyDBSnapshotInput) (*CopyDBSnapshotOutput, error)
CopyDBSnapshot API operation for Amazon Relational Database Service.
Copies the specified DB snapshot. The source DB snapshot must be in the "available" state.
To copy a DB snapshot from a shared manual DB snapshot, SourceDBSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB snapshot.
You can copy an encrypted DB snapshot from another AWS Region. In that case, the region where you call the CopyDBSnapshot action is the destination region for the encrypted DB snapshot to be copied to. To copy an encrypted DB snapshot from another region, you must provide the following values:
KmsKeyId - The AWS Key Management System (KMS) key identifier for the key to use to encrypt the copy of the DB snapshot in the destination region.
PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CopyDBSnapshot action to be called in the source region where the DB snapshot will be copied from. The presigned URL must be a valid request for the CopyDBSnapshot API action that can be executed in the source region that contains the encrypted DB snapshot to be copied.
The presigned URL request must contain the following parameter values:
DestinationRegion - The AWS Region that the encrypted DB snapshot will be
copied to. This region is the same one where the CopyDBSnapshot action is called that contains this presigned URL.
For example, if you copy an encrypted DB snapshot from the us-west-2 region
to the us-east-1 region, then you will call the CopyDBSnapshot action in the us-east-1 region and provide a presigned URL that contains a call to the CopyDBSnapshot action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region.
KmsKeyId - The KMS key identifier for the key to use to encrypt the copy
of the DB snapshot in the destination region. This identifier is the same for both the CopyDBSnapshot action that is called in the destination region, and the action contained in the presigned URL.
SourceDBSnapshotIdentifier - The DB snapshot identifier for the encrypted
snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you copy an encrypted DB snapshot from the us-west-2 region, then your SourceDBSnapshotIdentifier looks like this example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20161115.
To learn how to generate a Signature Version 4 signed request, see Authenticating
Requests: Using Query Parameters (AWS Signature Version 4) (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) and Signature Version 4 Signing Process (http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). * TargetDBSnapshotIdentifier - The identifier for the new copy of the DB snapshot in the destination region. * SourceDBSnapshotIdentifier - The DB snapshot identifier for the encrypted snapshot to be copied. This identifier must be in the ARN format for the source region and is the same value as the SourceDBSnapshotIdentifier in the presigned URL.
For more information on copying encrypted snapshots from one region to another, see Copying an Encrypted DB Snapshot to Another Region (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Encrypted.CrossRegion) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation CopyDBSnapshot for usage and error information.
Returned Error Codes:
ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" DBSnapshotIdentifier is already used by an existing snapshot.
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.
ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CopyDBSnapshotInput{ SourceDBSnapshotIdentifier: aws.String("String"), // Required TargetDBSnapshotIdentifier: aws.String("String"), // Required CopyTags: aws.Bool(true), DestinationRegion: aws.String("String"), KmsKeyId: aws.String("String"), PreSignedUrl: aws.String("String"), SourceRegion: aws.String("String"), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CopyDBSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CopyDBSnapshotRequest ¶
func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Request, output *CopyDBSnapshotOutput)
CopyDBSnapshotRequest generates a "aws/request.Request" representing the client's request for the CopyDBSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CopyDBSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CopyDBSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CopyDBSnapshotRequest method. req, resp := client.CopyDBSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot
func (*RDS) CopyOptionGroup ¶
func (c *RDS) CopyOptionGroup(input *CopyOptionGroupInput) (*CopyOptionGroupOutput, error)
CopyOptionGroup API operation for Amazon Relational Database Service.
Copies the specified option group.
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 Amazon Relational Database Service's API operation CopyOptionGroup for usage and error information.
Returned Error Codes:
ErrCodeOptionGroupAlreadyExistsFault "OptionGroupAlreadyExistsFault" The option group you are trying to create already exists.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" The quota of 20 option groups was exceeded for this AWS account.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CopyOptionGroupInput{ SourceOptionGroupIdentifier: aws.String("String"), // Required TargetOptionGroupDescription: aws.String("String"), // Required TargetOptionGroupIdentifier: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CopyOptionGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CopyOptionGroupRequest ¶
func (c *RDS) CopyOptionGroupRequest(input *CopyOptionGroupInput) (req *request.Request, output *CopyOptionGroupOutput)
CopyOptionGroupRequest generates a "aws/request.Request" representing the client's request for the CopyOptionGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CopyOptionGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CopyOptionGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CopyOptionGroupRequest method. req, resp := client.CopyOptionGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup
func (*RDS) CreateDBCluster ¶ added in v0.7.2
func (c *RDS) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error)
CreateDBCluster API operation for Amazon Relational Database Service.
Creates a new Amazon Aurora DB cluster.
You can use the ReplicationSourceIdentifier parameter to create the DB cluster as a Read Replica of another DB cluster or Amazon RDS MySQL DB instance.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation CreateDBCluster for usage and error information.
Returned Error Codes:
ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.
ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.
ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" The DB subnet group cannot be deleted because it is in use.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBClusterInput{ DBClusterIdentifier: aws.String("String"), // Required Engine: aws.String("String"), // Required AvailabilityZones: []*string{ aws.String("String"), // Required // More values... }, BackupRetentionPeriod: aws.Int64(1), CharacterSetName: aws.String("String"), DBClusterParameterGroupName: aws.String("String"), DBSubnetGroupName: aws.String("String"), DatabaseName: aws.String("String"), EngineVersion: aws.String("String"), KmsKeyId: aws.String("String"), MasterUserPassword: aws.String("String"), MasterUsername: aws.String("String"), OptionGroupName: aws.String("String"), Port: aws.Int64(1), PreferredBackupWindow: aws.String("String"), PreferredMaintenanceWindow: aws.String("String"), ReplicationSourceIdentifier: aws.String("String"), StorageEncrypted: aws.Bool(true), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, VpcSecurityGroupIds: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.CreateDBCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBClusterParameterGroup ¶ added in v0.7.2
func (c *RDS) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error)
CreateDBClusterParameterGroup API operation for Amazon Relational Database Service.
Creates a new DB cluster parameter group.
Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.
A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.
After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console (https://console.aws.amazon.com/rds/) or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation CreateDBClusterParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.
ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBClusterParameterGroupInput{ DBClusterParameterGroupName: aws.String("String"), // Required DBParameterGroupFamily: aws.String("String"), // Required Description: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateDBClusterParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBClusterParameterGroupRequest ¶ added in v0.7.2
func (c *RDS) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput)
CreateDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDBClusterParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBClusterParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBClusterParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBClusterParameterGroupRequest method. req, resp := client.CreateDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup
func (*RDS) CreateDBClusterRequest ¶ added in v0.7.2
func (c *RDS) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput)
CreateDBClusterRequest generates a "aws/request.Request" representing the client's request for the CreateDBCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBClusterRequest method. req, resp := client.CreateDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster
func (*RDS) CreateDBClusterSnapshot ¶ added in v0.7.2
func (c *RDS) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error)
CreateDBClusterSnapshot API operation for Amazon Relational Database Service.
Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation CreateDBClusterSnapshot for usage and error information.
Returned Error Codes:
ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" User already has a DB cluster snapshot with the given identifier.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.
ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBClusterSnapshotInput{ DBClusterIdentifier: aws.String("String"), // Required DBClusterSnapshotIdentifier: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateDBClusterSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBClusterSnapshotRequest ¶ added in v0.7.2
func (c *RDS) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput)
CreateDBClusterSnapshotRequest generates a "aws/request.Request" representing the client's request for the CreateDBClusterSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBClusterSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBClusterSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBClusterSnapshotRequest method. req, resp := client.CreateDBClusterSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot
func (*RDS) CreateDBInstance ¶
func (c *RDS) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error)
CreateDBInstance API operation for Amazon Relational Database Service.
Creates a new DB instance.
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 Amazon Relational Database Service's API operation CreateDBInstance for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" User already has a DB instance with the given identifier.
ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" Specified DB instance class is not available in the specified Availability Zone.
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" Request would result in user exceeding the allowed number of DB instances.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" Provisioned IOPS not available in the specified Availability Zone.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" StorageType specified cannot be associated with the DB Instance.
ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.
RDS may not also be authorized via IAM to perform necessary actions on your behalf.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
ErrCodeDomainNotFoundFault "DomainNotFoundFault" Domain does not refer to an existing Active Directory Domain.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBInstanceInput{ DBInstanceClass: aws.String("String"), // Required DBInstanceIdentifier: aws.String("String"), // Required Engine: aws.String("String"), // Required AllocatedStorage: aws.Int64(1), AutoMinorVersionUpgrade: aws.Bool(true), AvailabilityZone: aws.String("String"), BackupRetentionPeriod: aws.Int64(1), CharacterSetName: aws.String("String"), CopyTagsToSnapshot: aws.Bool(true), DBClusterIdentifier: aws.String("String"), DBName: aws.String("String"), DBParameterGroupName: aws.String("String"), DBSecurityGroups: []*string{ aws.String("String"), // Required // More values... }, DBSubnetGroupName: aws.String("String"), Domain: aws.String("String"), DomainIAMRoleName: aws.String("String"), EngineVersion: aws.String("String"), Iops: aws.Int64(1), KmsKeyId: aws.String("String"), LicenseModel: aws.String("String"), MasterUserPassword: aws.String("String"), MasterUsername: aws.String("String"), MonitoringInterval: aws.Int64(1), MonitoringRoleArn: aws.String("String"), MultiAZ: aws.Bool(true), OptionGroupName: aws.String("String"), Port: aws.Int64(1), PreferredBackupWindow: aws.String("String"), PreferredMaintenanceWindow: aws.String("String"), PromotionTier: aws.Int64(1), PubliclyAccessible: aws.Bool(true), StorageEncrypted: aws.Bool(true), StorageType: aws.String("String"), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, TdeCredentialArn: aws.String("String"), TdeCredentialPassword: aws.String("String"), Timezone: aws.String("String"), VpcSecurityGroupIds: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.CreateDBInstance(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBInstanceReadReplica ¶
func (c *RDS) CreateDBInstanceReadReplica(input *CreateDBInstanceReadReplicaInput) (*CreateDBInstanceReadReplicaOutput, error)
CreateDBInstanceReadReplica API operation for Amazon Relational Database Service.
Creates a DB instance for a DB instance running MySQL, MariaDB, or PostgreSQL that acts as a Read Replica of a source DB instance.
All Read Replica DB instances are created as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are inherited from the source DB instance, except as specified below.
The source DB instance must have backup retention enabled.
You can create an encrypted Read Replica in a different AWS Region than the source DB instance. In that case, the region where you call the CreateDBInstanceReadReplica action is the destination region of the encrypted Read Replica. The source DB instance must be encrypted.
To create an encrypted Read Replica in another AWS Region, you must provide the following values:
KmsKeyId - The AWS Key Management System (KMS) key identifier for the key to use to encrypt the Read Replica in the destination region.
PreSignedUrl - A URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica API action in the AWS region that contains the source DB instance. The PreSignedUrl parameter must be used when encrypting a Read Replica from another AWS region.
The presigned URL must be a valid request for the CreateDBInstanceReadReplica
API action that can be executed in the source region that contains the encrypted DB instance. The presigned URL request must contain the following parameter values:
DestinationRegion - The AWS Region that the Read Replica is created in. This
region is the same one where the CreateDBInstanceReadReplica action is called that contains this presigned URL. For example, if you create an encrypted Read Replica in the us-east-1 region, and the source DB instance is in the west-2 region, then you call the CreateDBInstanceReadReplica action in the us-east-1 region and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica action in the us-west-2 region. For this example, the DestinationRegion in the presigned URL must be set to the us-east-1 region.
KmsKeyId - The KMS key identifier for the key to use to encrypt the Read
Replica in the destination region. This is the same identifier for both the CreateDBInstanceReadReplica action that is called in the destination region, and the action contained in the presigned URL.
SourceDBInstanceIdentifier - The DB instance identifier for the encrypted
Read Replica to be created. This identifier must be in the Amazon Resource Name (ARN) format for the source region. For example, if you create an encrypted Read Replica from a DB instance in the us-west-2 region, then your SourceDBInstanceIdentifier would look like this example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-instance-20161115.
To learn how to generate a Signature Version 4 signed request, see Authenticating
Requests: Using Query Parameters (AWS Signature Version 4) (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) and Signature Version 4 Signing Process (http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). * DBInstanceIdentifier - The identifier for the encrypted Read Replica in the destination region. * SourceDBInstanceIdentifier - The DB instance identifier for the encrypted Read Replica. This identifier must be in the ARN format for the source region and is the same value as the SourceDBInstanceIdentifier in the presigned URL.
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 Amazon Relational Database Service's API operation CreateDBInstanceReadReplica for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" User already has a DB instance with the given identifier.
ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" Specified DB instance class is not available in the specified Availability Zone.
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" Request would result in user exceeding the allowed number of DB instances.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" Provisioned IOPS not available in the specified Availability Zone.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeDBSubnetGroupNotAllowedFault "DBSubnetGroupNotAllowedFault" Indicates that the DBSubnetGroup should not be specified while creating read replicas that lie in the same region as the source instance.
ErrCodeInvalidDBSubnetGroupFault "InvalidDBSubnetGroupFault" Indicates the DBSubnetGroup does not belong to the same VPC as that of an existing cross region read replica of the same source instance.
ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" StorageType specified cannot be associated with the DB Instance.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBInstanceReadReplicaInput{ DBInstanceIdentifier: aws.String("String"), // Required SourceDBInstanceIdentifier: aws.String("String"), // Required AutoMinorVersionUpgrade: aws.Bool(true), AvailabilityZone: aws.String("String"), CopyTagsToSnapshot: aws.Bool(true), DBInstanceClass: aws.String("String"), DBSubnetGroupName: aws.String("String"), DestinationRegion: aws.String("String"), Iops: aws.Int64(1), KmsKeyId: aws.String("String"), MonitoringInterval: aws.Int64(1), MonitoringRoleArn: aws.String("String"), OptionGroupName: aws.String("String"), Port: aws.Int64(1), PreSignedUrl: aws.String("String"), PubliclyAccessible: aws.Bool(true), SourceRegion: aws.String("String"), StorageType: aws.String("String"), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateDBInstanceReadReplica(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBInstanceReadReplicaRequest ¶
func (c *RDS) CreateDBInstanceReadReplicaRequest(input *CreateDBInstanceReadReplicaInput) (req *request.Request, output *CreateDBInstanceReadReplicaOutput)
CreateDBInstanceReadReplicaRequest generates a "aws/request.Request" representing the client's request for the CreateDBInstanceReadReplica operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBInstanceReadReplica for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBInstanceReadReplica method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBInstanceReadReplicaRequest method. req, resp := client.CreateDBInstanceReadReplicaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica
func (*RDS) CreateDBInstanceRequest ¶
func (c *RDS) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput)
CreateDBInstanceRequest generates a "aws/request.Request" representing the client's request for the CreateDBInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBInstance for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBInstance method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBInstanceRequest method. req, resp := client.CreateDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance
func (*RDS) CreateDBParameterGroup ¶
func (c *RDS) CreateDBParameterGroup(input *CreateDBParameterGroupInput) (*CreateDBParameterGroupOutput, error)
CreateDBParameterGroup API operation for Amazon Relational Database Service.
Creates a new DB parameter group.
A DB parameter group is initially created with the default parameters for the database engine used by the DB instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup. Once you've created a DB parameter group, you need to associate it with your DB instance using ModifyDBInstance. When you associate a new DB parameter group with a running DB instance, you need to reboot the DB instance without failover for the new DB parameter group and associated settings to take effect.
After you create a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console (https://console.aws.amazon.com/rds/) or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.
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 Amazon Relational Database Service's API operation CreateDBParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB parameter groups.
ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" A DB parameter group with the same name exists.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBParameterGroupInput{ DBParameterGroupFamily: aws.String("String"), // Required DBParameterGroupName: aws.String("String"), // Required Description: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateDBParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBParameterGroupRequest ¶
func (c *RDS) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) (req *request.Request, output *CreateDBParameterGroupOutput)
CreateDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDBParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBParameterGroupRequest method. req, resp := client.CreateDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup
func (*RDS) CreateDBSecurityGroup ¶
func (c *RDS) CreateDBSecurityGroup(input *CreateDBSecurityGroupInput) (*CreateDBSecurityGroupOutput, error)
CreateDBSecurityGroup API operation for Amazon Relational Database Service.
Creates a new DB security group. DB security groups control access to a DB instance.
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 Amazon Relational Database Service's API operation CreateDBSecurityGroup for usage and error information.
Returned Error Codes:
ErrCodeDBSecurityGroupAlreadyExistsFault "DBSecurityGroupAlreadyExists" A DB security group with the name specified in DBSecurityGroupName already exists.
ErrCodeDBSecurityGroupQuotaExceededFault "QuotaExceeded.DBSecurityGroup" Request would result in user exceeding the allowed number of DB security groups.
ErrCodeDBSecurityGroupNotSupportedFault "DBSecurityGroupNotSupported" A DB security group is not allowed for this action.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBSecurityGroupInput{ DBSecurityGroupDescription: aws.String("String"), // Required DBSecurityGroupName: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateDBSecurityGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBSecurityGroupRequest ¶
func (c *RDS) CreateDBSecurityGroupRequest(input *CreateDBSecurityGroupInput) (req *request.Request, output *CreateDBSecurityGroupOutput)
CreateDBSecurityGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDBSecurityGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBSecurityGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBSecurityGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBSecurityGroupRequest method. req, resp := client.CreateDBSecurityGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup
func (*RDS) CreateDBSnapshot ¶
func (c *RDS) CreateDBSnapshot(input *CreateDBSnapshotInput) (*CreateDBSnapshotOutput, error)
CreateDBSnapshot API operation for Amazon Relational Database Service.
Creates a DBSnapshot. The source DBInstance must be in "available" state.
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 Amazon Relational Database Service's API operation CreateDBSnapshot for usage and error information.
Returned Error Codes:
ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" DBSnapshotIdentifier is already used by an existing snapshot.
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBSnapshotInput{ DBInstanceIdentifier: aws.String("String"), // Required DBSnapshotIdentifier: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateDBSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBSnapshotRequest ¶
func (c *RDS) CreateDBSnapshotRequest(input *CreateDBSnapshotInput) (req *request.Request, output *CreateDBSnapshotOutput)
CreateDBSnapshotRequest generates a "aws/request.Request" representing the client's request for the CreateDBSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBSnapshotRequest method. req, resp := client.CreateDBSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot
func (*RDS) CreateDBSubnetGroup ¶
func (c *RDS) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error)
CreateDBSubnetGroup API operation for Amazon Relational Database Service.
Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.
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 Amazon Relational Database Service's API operation CreateDBSubnetGroup for usage and error information.
Returned Error Codes:
ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" DBSubnetGroupName is already used by an existing DB subnet group.
ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" Request would result in user exceeding the allowed number of DB subnet groups.
ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" Request would result in user exceeding the allowed number of subnets in a DB subnet groups.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateDBSubnetGroupInput{ DBSubnetGroupDescription: aws.String("String"), // Required DBSubnetGroupName: aws.String("String"), // Required SubnetIds: []*string{ // Required aws.String("String"), // Required // More values... }, Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateDBSubnetGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateDBSubnetGroupRequest ¶
func (c *RDS) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput)
CreateDBSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the CreateDBSubnetGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateDBSubnetGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateDBSubnetGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateDBSubnetGroupRequest method. req, resp := client.CreateDBSubnetGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup
func (*RDS) CreateEventSubscription ¶
func (c *RDS) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error)
CreateEventSubscription API operation for Amazon Relational Database Service.
Creates an RDS event notification subscription. This action requires a topic ARN (Amazon Resource Name) created by either the RDS console, the SNS console, or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.
You can specify the type of source (SourceType) you want to be notified of, provide a list of RDS sources (SourceIds) that triggers the events, and provide a list of event categories (EventCategories) for events you want to be notified of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup.
If you specify both the SourceType and SourceIds, such as SourceType = db-instance and SourceIdentifier = myDBInstance1, you will be notified of all the db-instance events for the specified source. If you specify a SourceType but do not specify a SourceIdentifier, you will receive notice of the events for that source type for all your RDS sources. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all RDS sources belonging to your customer account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation CreateEventSubscription for usage and error information.
Returned Error Codes:
ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" You have reached the maximum number of event subscriptions.
ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" The supplied subscription name already exists.
ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" SNS has responded that there is a problem with the SND topic specified.
ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" You do not have permission to publish to the SNS topic ARN.
ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" The SNS topic ARN does not exist.
ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" The supplied category does not exist.
ErrCodeSourceNotFoundFault "SourceNotFound" The requested source could not be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateEventSubscriptionInput{ SnsTopicArn: aws.String("String"), // Required SubscriptionName: aws.String("String"), // Required Enabled: aws.Bool(true), EventCategories: []*string{ aws.String("String"), // Required // More values... }, SourceIds: []*string{ aws.String("String"), // Required // More values... }, SourceType: aws.String("String"), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateEventSubscription(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateEventSubscriptionRequest ¶
func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput)
CreateEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the CreateEventSubscription operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateEventSubscription for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateEventSubscription method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateEventSubscriptionRequest method. req, resp := client.CreateEventSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription
func (*RDS) CreateOptionGroup ¶
func (c *RDS) CreateOptionGroup(input *CreateOptionGroupInput) (*CreateOptionGroupOutput, error)
CreateOptionGroup API operation for Amazon Relational Database Service.
Creates a new option group. You can create up to 20 option groups.
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 Amazon Relational Database Service's API operation CreateOptionGroup for usage and error information.
Returned Error Codes:
ErrCodeOptionGroupAlreadyExistsFault "OptionGroupAlreadyExistsFault" The option group you are trying to create already exists.
ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" The quota of 20 option groups was exceeded for this AWS account.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.CreateOptionGroupInput{ EngineName: aws.String("String"), // Required MajorEngineVersion: aws.String("String"), // Required OptionGroupDescription: aws.String("String"), // Required OptionGroupName: aws.String("String"), // Required Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.CreateOptionGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) CreateOptionGroupRequest ¶
func (c *RDS) CreateOptionGroupRequest(input *CreateOptionGroupInput) (req *request.Request, output *CreateOptionGroupOutput)
CreateOptionGroupRequest generates a "aws/request.Request" representing the client's request for the CreateOptionGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateOptionGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateOptionGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateOptionGroupRequest method. req, resp := client.CreateOptionGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup
func (*RDS) DeleteDBCluster ¶ added in v0.7.2
func (c *RDS) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error)
DeleteDBCluster API operation for Amazon Relational Database Service.
The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and cannot be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html)in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DeleteDBCluster for usage and error information.
Returned Error Codes:
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" User already has a DB cluster snapshot with the given identifier.
ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.
ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBClusterInput{ DBClusterIdentifier: aws.String("String"), // Required FinalDBSnapshotIdentifier: aws.String("String"), SkipFinalSnapshot: aws.Bool(true), } resp, err := svc.DeleteDBCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBClusterParameterGroup ¶ added in v0.7.2
func (c *RDS) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error)
DeleteDBClusterParameterGroup API operation for Amazon Relational Database Service.
Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted cannot be associated with any DB clusters.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DeleteDBClusterParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group cannot be deleted because it is in use.
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBClusterParameterGroupInput{ DBClusterParameterGroupName: aws.String("String"), // Required } resp, err := svc.DeleteDBClusterParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBClusterParameterGroupRequest ¶ added in v0.7.2
func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput)
DeleteDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDBClusterParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBClusterParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBClusterParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBClusterParameterGroupRequest method. req, resp := client.DeleteDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup
func (*RDS) DeleteDBClusterRequest ¶ added in v0.7.2
func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput)
DeleteDBClusterRequest generates a "aws/request.Request" representing the client's request for the DeleteDBCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBClusterRequest method. req, resp := client.DeleteDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster
func (*RDS) DeleteDBClusterSnapshot ¶ added in v0.7.2
func (c *RDS) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error)
DeleteDBClusterSnapshot API operation for Amazon Relational Database Service.
Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.
The DB cluster snapshot must be in the available state to be deleted.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DeleteDBClusterSnapshot for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.
ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBClusterSnapshotInput{ DBClusterSnapshotIdentifier: aws.String("String"), // Required } resp, err := svc.DeleteDBClusterSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBClusterSnapshotRequest ¶ added in v0.7.2
func (c *RDS) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput)
DeleteDBClusterSnapshotRequest generates a "aws/request.Request" representing the client's request for the DeleteDBClusterSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBClusterSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBClusterSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBClusterSnapshotRequest method. req, resp := client.DeleteDBClusterSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot
func (*RDS) DeleteDBInstance ¶
func (c *RDS) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error)
DeleteDBInstance API operation for Amazon Relational Database Service.
The DeleteDBInstance action deletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and cannot be recovered. Manual DB snapshots of the DB instance to be deleted by DeleteDBInstance are not deleted.
If you request a final DB snapshot the status of the Amazon RDS DB instance is deleting until the DB snapshot is created. The API action DescribeDBInstance is used to monitor the status of this operation. The action cannot be canceled or reverted once submitted.
Note that when a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when the SkipFinalSnapshot parameter is set to true.
If the specified DB instance is part of an Amazon Aurora DB cluster, you cannot delete the DB instance if the following are true:
The DB cluster is a Read Replica of another Amazon Aurora DB cluster.
The DB instance is the only instance in the DB cluster.
To delete a DB instance in this case, first call the PromoteReadReplicaDBCluster API action to promote the DB cluster so it's no longer a Read Replica. After the promotion completes, then call the DeleteDBInstance API action to delete the final instance in the DB cluster.
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 Amazon Relational Database Service's API operation DeleteDBInstance for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" DBSnapshotIdentifier is already used by an existing snapshot.
ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" Request would result in user exceeding the allowed number of DB snapshots.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBInstanceInput{ DBInstanceIdentifier: aws.String("String"), // Required FinalDBSnapshotIdentifier: aws.String("String"), SkipFinalSnapshot: aws.Bool(true), } resp, err := svc.DeleteDBInstance(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBInstanceRequest ¶
func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput)
DeleteDBInstanceRequest generates a "aws/request.Request" representing the client's request for the DeleteDBInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBInstance for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBInstance method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBInstanceRequest method. req, resp := client.DeleteDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance
func (*RDS) DeleteDBParameterGroup ¶
func (c *RDS) DeleteDBParameterGroup(input *DeleteDBParameterGroupInput) (*DeleteDBParameterGroupOutput, error)
DeleteDBParameterGroup API operation for Amazon Relational Database Service.
Deletes a specified DBParameterGroup. The DBParameterGroup to be deleted cannot be associated with any DB instances.
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 Amazon Relational Database Service's API operation DeleteDBParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group cannot be deleted because it is in use.
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBParameterGroupInput{ DBParameterGroupName: aws.String("String"), // Required } resp, err := svc.DeleteDBParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBParameterGroupRequest ¶
func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) (req *request.Request, output *DeleteDBParameterGroupOutput)
DeleteDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDBParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBParameterGroupRequest method. req, resp := client.DeleteDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup
func (*RDS) DeleteDBSecurityGroup ¶
func (c *RDS) DeleteDBSecurityGroup(input *DeleteDBSecurityGroupInput) (*DeleteDBSecurityGroupOutput, error)
DeleteDBSecurityGroup API operation for Amazon Relational Database Service.
Deletes a DB security group.
The specified DB security group must not be associated with any DB instances.
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 Amazon Relational Database Service's API operation DeleteDBSecurityGroup for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" The state of the DB security group does not allow deletion.
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBSecurityGroupInput{ DBSecurityGroupName: aws.String("String"), // Required } resp, err := svc.DeleteDBSecurityGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBSecurityGroupRequest ¶
func (c *RDS) DeleteDBSecurityGroupRequest(input *DeleteDBSecurityGroupInput) (req *request.Request, output *DeleteDBSecurityGroupOutput)
DeleteDBSecurityGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDBSecurityGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBSecurityGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBSecurityGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBSecurityGroupRequest method. req, resp := client.DeleteDBSecurityGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup
func (*RDS) DeleteDBSnapshot ¶
func (c *RDS) DeleteDBSnapshot(input *DeleteDBSnapshotInput) (*DeleteDBSnapshotOutput, error)
DeleteDBSnapshot API operation for Amazon Relational Database Service.
Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated.
The DBSnapshot must be in the available state to be deleted.
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 Amazon Relational Database Service's API operation DeleteDBSnapshot for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBSnapshotInput{ DBSnapshotIdentifier: aws.String("String"), // Required } resp, err := svc.DeleteDBSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBSnapshotRequest ¶
func (c *RDS) DeleteDBSnapshotRequest(input *DeleteDBSnapshotInput) (req *request.Request, output *DeleteDBSnapshotOutput)
DeleteDBSnapshotRequest generates a "aws/request.Request" representing the client's request for the DeleteDBSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBSnapshotRequest method. req, resp := client.DeleteDBSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot
func (*RDS) DeleteDBSubnetGroup ¶
func (c *RDS) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error)
DeleteDBSubnetGroup API operation for Amazon Relational Database Service.
Deletes a DB subnet group.
The specified database subnet group must not be associated with any DB instances.
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 Amazon Relational Database Service's API operation DeleteDBSubnetGroup for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" The DB subnet group cannot be deleted because it is in use.
ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" The DB subnet is not in the available state.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteDBSubnetGroupInput{ DBSubnetGroupName: aws.String("String"), // Required } resp, err := svc.DeleteDBSubnetGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteDBSubnetGroupRequest ¶
func (c *RDS) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput)
DeleteDBSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteDBSubnetGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteDBSubnetGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteDBSubnetGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteDBSubnetGroupRequest method. req, resp := client.DeleteDBSubnetGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup
func (*RDS) DeleteEventSubscription ¶
func (c *RDS) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error)
DeleteEventSubscription API operation for Amazon Relational Database Service.
Deletes an RDS event notification subscription.
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 Amazon Relational Database Service's API operation DeleteEventSubscription for usage and error information.
Returned Error Codes:
ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" The subscription name does not exist.
ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState" This error can occur if someone else is modifying a subscription. You should retry the action.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteEventSubscriptionInput{ SubscriptionName: aws.String("String"), // Required } resp, err := svc.DeleteEventSubscription(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteEventSubscriptionRequest ¶
func (c *RDS) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput)
DeleteEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the DeleteEventSubscription operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteEventSubscription for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteEventSubscription method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteEventSubscriptionRequest method. req, resp := client.DeleteEventSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription
func (*RDS) DeleteOptionGroup ¶
func (c *RDS) DeleteOptionGroup(input *DeleteOptionGroupInput) (*DeleteOptionGroupOutput, error)
DeleteOptionGroup API operation for Amazon Relational Database Service.
Deletes an existing option group.
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 Amazon Relational Database Service's API operation DeleteOptionGroup for usage and error information.
Returned Error Codes:
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeInvalidOptionGroupStateFault "InvalidOptionGroupStateFault" The option group is not in the available state.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DeleteOptionGroupInput{ OptionGroupName: aws.String("String"), // Required } resp, err := svc.DeleteOptionGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DeleteOptionGroupRequest ¶
func (c *RDS) DeleteOptionGroupRequest(input *DeleteOptionGroupInput) (req *request.Request, output *DeleteOptionGroupOutput)
DeleteOptionGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteOptionGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteOptionGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteOptionGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteOptionGroupRequest method. req, resp := client.DeleteOptionGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup
func (*RDS) DescribeAccountAttributes ¶
func (c *RDS) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error)
DescribeAccountAttributes API operation for Amazon Relational Database Service.
Lists all of the attributes for a customer account. The attributes include Amazon RDS quotas for the account, such as the number of DB instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.
This command does not take any parameters.
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 Amazon Relational Database Service's API operation DescribeAccountAttributes for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) var params *rds.DescribeAccountAttributesInput resp, err := svc.DescribeAccountAttributes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeAccountAttributesRequest ¶
func (c *RDS) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput)
DescribeAccountAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeAccountAttributes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeAccountAttributes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeAccountAttributesRequest method. req, resp := client.DescribeAccountAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributes
func (*RDS) DescribeCertificates ¶
func (c *RDS) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error)
DescribeCertificates API operation for Amazon Relational Database Service.
Lists the set of CA certificates provided by Amazon RDS for this AWS account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DescribeCertificates for usage and error information.
Returned Error Codes:
- ErrCodeCertificateNotFoundFault "CertificateNotFound" CertificateIdentifier does not refer to an existing certificate.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeCertificatesInput{ CertificateIdentifier: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeCertificates(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeCertificatesRequest ¶
func (c *RDS) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput)
DescribeCertificatesRequest generates a "aws/request.Request" representing the client's request for the DescribeCertificates operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeCertificates for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeCertificates method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeCertificatesRequest method. req, resp := client.DescribeCertificatesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates
func (*RDS) DescribeDBClusterParameterGroups ¶ added in v0.7.2
func (c *RDS) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error)
DescribeDBClusterParameterGroups API operation for Amazon Relational Database Service.
Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list will contain only the description of the specified DB cluster parameter group.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DescribeDBClusterParameterGroups for usage and error information.
Returned Error Codes:
- ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBClusterParameterGroupsInput{ DBClusterParameterGroupName: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBClusterParameterGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBClusterParameterGroupsRequest ¶ added in v0.7.2
func (c *RDS) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput)
DescribeDBClusterParameterGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterParameterGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBClusterParameterGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBClusterParameterGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBClusterParameterGroupsRequest method. req, resp := client.DescribeDBClusterParameterGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups
func (*RDS) DescribeDBClusterParameters ¶ added in v0.7.2
func (c *RDS) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error)
DescribeDBClusterParameters API operation for Amazon Relational Database Service.
Returns the detailed parameter list for a particular DB cluster parameter group.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DescribeDBClusterParameters for usage and error information.
Returned Error Codes:
- ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBClusterParametersInput{ DBClusterParameterGroupName: aws.String("String"), // Required Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), Source: aws.String("String"), } resp, err := svc.DescribeDBClusterParameters(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBClusterParametersRequest ¶ added in v0.7.2
func (c *RDS) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput)
DescribeDBClusterParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterParameters operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBClusterParameters for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBClusterParameters method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBClusterParametersRequest method. req, resp := client.DescribeDBClusterParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters
func (*RDS) DescribeDBClusterSnapshotAttributes ¶ added in v1.1.33
func (c *RDS) DescribeDBClusterSnapshotAttributes(input *DescribeDBClusterSnapshotAttributesInput) (*DescribeDBClusterSnapshotAttributesOutput, error)
DescribeDBClusterSnapshotAttributes API operation for Amazon Relational Database Service.
Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.
When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts.
To add or remove access for an AWS account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action.
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 Amazon Relational Database Service's API operation DescribeDBClusterSnapshotAttributes for usage and error information.
Returned Error Codes:
- ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBClusterSnapshotAttributesInput{ DBClusterSnapshotIdentifier: aws.String("String"), // Required } resp, err := svc.DescribeDBClusterSnapshotAttributes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBClusterSnapshotAttributesRequest ¶ added in v1.1.33
func (c *RDS) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClusterSnapshotAttributesInput) (req *request.Request, output *DescribeDBClusterSnapshotAttributesOutput)
DescribeDBClusterSnapshotAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterSnapshotAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBClusterSnapshotAttributes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBClusterSnapshotAttributes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes
func (*RDS) DescribeDBClusterSnapshots ¶ added in v0.7.2
func (c *RDS) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error)
DescribeDBClusterSnapshots API operation for Amazon Relational Database Service.
Returns information about DB cluster snapshots. This API action supports pagination.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DescribeDBClusterSnapshots for usage and error information.
Returned Error Codes:
- ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBClusterSnapshotsInput{ DBClusterIdentifier: aws.String("String"), DBClusterSnapshotIdentifier: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, IncludePublic: aws.Bool(true), IncludeShared: aws.Bool(true), Marker: aws.String("String"), MaxRecords: aws.Int64(1), SnapshotType: aws.String("String"), } resp, err := svc.DescribeDBClusterSnapshots(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBClusterSnapshotsRequest ¶ added in v0.7.2
func (c *RDS) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput)
DescribeDBClusterSnapshotsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusterSnapshots operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBClusterSnapshots for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBClusterSnapshots method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBClusterSnapshotsRequest method. req, resp := client.DescribeDBClusterSnapshotsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots
func (*RDS) DescribeDBClusters ¶ added in v0.7.2
func (c *RDS) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error)
DescribeDBClusters API operation for Amazon Relational Database Service.
Returns information about provisioned Aurora DB clusters. This API supports pagination.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DescribeDBClusters for usage and error information.
Returned Error Codes:
- ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBClustersInput{ DBClusterIdentifier: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBClusters(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBClustersRequest ¶ added in v0.7.2
func (c *RDS) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput)
DescribeDBClustersRequest generates a "aws/request.Request" representing the client's request for the DescribeDBClusters operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBClusters for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBClusters method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBClustersRequest method. req, resp := client.DescribeDBClustersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters
func (*RDS) DescribeDBEngineVersions ¶
func (c *RDS) DescribeDBEngineVersions(input *DescribeDBEngineVersionsInput) (*DescribeDBEngineVersionsOutput, error)
DescribeDBEngineVersions API operation for Amazon Relational Database Service.
Returns a list of the available DB engines.
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 Amazon Relational Database Service's API operation DescribeDBEngineVersions for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBEngineVersionsInput{ DBParameterGroupFamily: aws.String("String"), DefaultOnly: aws.Bool(true), Engine: aws.String("String"), EngineVersion: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, ListSupportedCharacterSets: aws.Bool(true), ListSupportedTimezones: aws.Bool(true), Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBEngineVersions(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBEngineVersionsPages ¶
func (c *RDS) DescribeDBEngineVersionsPages(input *DescribeDBEngineVersionsInput, fn func(p *DescribeDBEngineVersionsOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBEngineVersionsPages iterates over the pages of a DescribeDBEngineVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBEngineVersions 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 DescribeDBEngineVersions operation. pageNum := 0 err := client.DescribeDBEngineVersionsPages(params, func(page *DescribeDBEngineVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBEngineVersionsRequest ¶
func (c *RDS) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput)
DescribeDBEngineVersionsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBEngineVersions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBEngineVersions for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBEngineVersions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBEngineVersionsRequest method. req, resp := client.DescribeDBEngineVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions
func (*RDS) DescribeDBInstances ¶
func (c *RDS) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error)
DescribeDBInstances API operation for Amazon Relational Database Service.
Returns information about provisioned RDS instances. This API supports pagination.
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 Amazon Relational Database Service's API operation DescribeDBInstances for usage and error information.
Returned Error Codes:
- ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBInstancesInput{ DBInstanceIdentifier: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBInstances(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBInstancesPages ¶
func (c *RDS) DescribeDBInstancesPages(input *DescribeDBInstancesInput, fn func(p *DescribeDBInstancesOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBInstancesPages iterates over the pages of a DescribeDBInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBInstances 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 DescribeDBInstances operation. pageNum := 0 err := client.DescribeDBInstancesPages(params, func(page *DescribeDBInstancesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBInstancesRequest ¶
func (c *RDS) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput)
DescribeDBInstancesRequest generates a "aws/request.Request" representing the client's request for the DescribeDBInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBInstances for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBInstances method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBInstancesRequest method. req, resp := client.DescribeDBInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances
func (*RDS) DescribeDBLogFiles ¶
func (c *RDS) DescribeDBLogFiles(input *DescribeDBLogFilesInput) (*DescribeDBLogFilesOutput, error)
DescribeDBLogFiles API operation for Amazon Relational Database Service.
Returns a list of DB log files for the DB instance.
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 Amazon Relational Database Service's API operation DescribeDBLogFiles for usage and error information.
Returned Error Codes:
- ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBLogFilesInput{ DBInstanceIdentifier: aws.String("String"), // Required FileLastWritten: aws.Int64(1), FileSize: aws.Int64(1), FilenameContains: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBLogFiles(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBLogFilesPages ¶
func (c *RDS) DescribeDBLogFilesPages(input *DescribeDBLogFilesInput, fn func(p *DescribeDBLogFilesOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBLogFilesPages iterates over the pages of a DescribeDBLogFiles operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBLogFiles 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 DescribeDBLogFiles operation. pageNum := 0 err := client.DescribeDBLogFilesPages(params, func(page *DescribeDBLogFilesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBLogFilesRequest ¶
func (c *RDS) DescribeDBLogFilesRequest(input *DescribeDBLogFilesInput) (req *request.Request, output *DescribeDBLogFilesOutput)
DescribeDBLogFilesRequest generates a "aws/request.Request" representing the client's request for the DescribeDBLogFiles operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBLogFiles for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBLogFiles method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBLogFilesRequest method. req, resp := client.DescribeDBLogFilesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles
func (*RDS) DescribeDBParameterGroups ¶
func (c *RDS) DescribeDBParameterGroups(input *DescribeDBParameterGroupsInput) (*DescribeDBParameterGroupsOutput, error)
DescribeDBParameterGroups API operation for Amazon Relational Database Service.
Returns a list of DBParameterGroup descriptions. If a DBParameterGroupName is specified, the list will contain only the description of the specified DB parameter group.
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 Amazon Relational Database Service's API operation DescribeDBParameterGroups for usage and error information.
Returned Error Codes:
- ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBParameterGroupsInput{ DBParameterGroupName: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBParameterGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBParameterGroupsPages ¶
func (c *RDS) DescribeDBParameterGroupsPages(input *DescribeDBParameterGroupsInput, fn func(p *DescribeDBParameterGroupsOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBParameterGroupsPages iterates over the pages of a DescribeDBParameterGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBParameterGroups 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 DescribeDBParameterGroups operation. pageNum := 0 err := client.DescribeDBParameterGroupsPages(params, func(page *DescribeDBParameterGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBParameterGroupsRequest ¶
func (c *RDS) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsInput) (req *request.Request, output *DescribeDBParameterGroupsOutput)
DescribeDBParameterGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBParameterGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBParameterGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBParameterGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBParameterGroupsRequest method. req, resp := client.DescribeDBParameterGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups
func (*RDS) DescribeDBParameters ¶
func (c *RDS) DescribeDBParameters(input *DescribeDBParametersInput) (*DescribeDBParametersOutput, error)
DescribeDBParameters API operation for Amazon Relational Database Service.
Returns the detailed parameter list for a particular DB parameter group.
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 Amazon Relational Database Service's API operation DescribeDBParameters for usage and error information.
Returned Error Codes:
- ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBParametersInput{ DBParameterGroupName: aws.String("String"), // Required Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), Source: aws.String("String"), } resp, err := svc.DescribeDBParameters(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBParametersPages ¶
func (c *RDS) DescribeDBParametersPages(input *DescribeDBParametersInput, fn func(p *DescribeDBParametersOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBParametersPages iterates over the pages of a DescribeDBParameters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBParameters 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 DescribeDBParameters operation. pageNum := 0 err := client.DescribeDBParametersPages(params, func(page *DescribeDBParametersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBParametersRequest ¶
func (c *RDS) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req *request.Request, output *DescribeDBParametersOutput)
DescribeDBParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeDBParameters operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBParameters for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBParameters method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBParametersRequest method. req, resp := client.DescribeDBParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters
func (*RDS) DescribeDBSecurityGroups ¶
func (c *RDS) DescribeDBSecurityGroups(input *DescribeDBSecurityGroupsInput) (*DescribeDBSecurityGroupsOutput, error)
DescribeDBSecurityGroups API operation for Amazon Relational Database Service.
Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DB security group.
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 Amazon Relational Database Service's API operation DescribeDBSecurityGroups for usage and error information.
Returned Error Codes:
- ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBSecurityGroupsInput{ DBSecurityGroupName: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBSecurityGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBSecurityGroupsPages ¶
func (c *RDS) DescribeDBSecurityGroupsPages(input *DescribeDBSecurityGroupsInput, fn func(p *DescribeDBSecurityGroupsOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBSecurityGroupsPages iterates over the pages of a DescribeDBSecurityGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBSecurityGroups 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 DescribeDBSecurityGroups operation. pageNum := 0 err := client.DescribeDBSecurityGroupsPages(params, func(page *DescribeDBSecurityGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBSecurityGroupsRequest ¶
func (c *RDS) DescribeDBSecurityGroupsRequest(input *DescribeDBSecurityGroupsInput) (req *request.Request, output *DescribeDBSecurityGroupsOutput)
DescribeDBSecurityGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBSecurityGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBSecurityGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBSecurityGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBSecurityGroupsRequest method. req, resp := client.DescribeDBSecurityGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups
func (*RDS) DescribeDBSnapshotAttributes ¶ added in v1.0.0
func (c *RDS) DescribeDBSnapshotAttributes(input *DescribeDBSnapshotAttributesInput) (*DescribeDBSnapshotAttributesOutput, error)
DescribeDBSnapshotAttributes API operation for Amazon Relational Database Service.
Returns a list of DB snapshot attribute names and values for a manual DB snapshot.
When sharing snapshots with other AWS accounts, DescribeDBSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB snapshot. If all is included in the list of values for the restore attribute, then the manual DB snapshot is public and can be copied or restored by all AWS accounts.
To add or remove access for an AWS account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API action.
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 Amazon Relational Database Service's API operation DescribeDBSnapshotAttributes for usage and error information.
Returned Error Codes:
- ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBSnapshotAttributesInput{ DBSnapshotIdentifier: aws.String("String"), // Required } resp, err := svc.DescribeDBSnapshotAttributes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBSnapshotAttributesRequest ¶ added in v1.0.0
func (c *RDS) DescribeDBSnapshotAttributesRequest(input *DescribeDBSnapshotAttributesInput) (req *request.Request, output *DescribeDBSnapshotAttributesOutput)
DescribeDBSnapshotAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeDBSnapshotAttributes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBSnapshotAttributes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBSnapshotAttributes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBSnapshotAttributesRequest method. req, resp := client.DescribeDBSnapshotAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes
func (*RDS) DescribeDBSnapshots ¶
func (c *RDS) DescribeDBSnapshots(input *DescribeDBSnapshotsInput) (*DescribeDBSnapshotsOutput, error)
DescribeDBSnapshots API operation for Amazon Relational Database Service.
Returns information about DB snapshots. This API action supports pagination.
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 Amazon Relational Database Service's API operation DescribeDBSnapshots for usage and error information.
Returned Error Codes:
- ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBSnapshotsInput{ DBInstanceIdentifier: aws.String("String"), DBSnapshotIdentifier: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, IncludePublic: aws.Bool(true), IncludeShared: aws.Bool(true), Marker: aws.String("String"), MaxRecords: aws.Int64(1), SnapshotType: aws.String("String"), } resp, err := svc.DescribeDBSnapshots(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBSnapshotsPages ¶
func (c *RDS) DescribeDBSnapshotsPages(input *DescribeDBSnapshotsInput, fn func(p *DescribeDBSnapshotsOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBSnapshotsPages iterates over the pages of a DescribeDBSnapshots operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBSnapshots 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 DescribeDBSnapshots operation. pageNum := 0 err := client.DescribeDBSnapshotsPages(params, func(page *DescribeDBSnapshotsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBSnapshotsRequest ¶
func (c *RDS) DescribeDBSnapshotsRequest(input *DescribeDBSnapshotsInput) (req *request.Request, output *DescribeDBSnapshotsOutput)
DescribeDBSnapshotsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBSnapshots operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBSnapshots for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBSnapshots method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBSnapshotsRequest method. req, resp := client.DescribeDBSnapshotsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots
func (*RDS) DescribeDBSubnetGroups ¶
func (c *RDS) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error)
DescribeDBSubnetGroups API operation for Amazon Relational Database Service.
Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.
For an overview of CIDR ranges, go to the Wikipedia Tutorial (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).
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 Amazon Relational Database Service's API operation DescribeDBSubnetGroups for usage and error information.
Returned Error Codes:
- ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeDBSubnetGroupsInput{ DBSubnetGroupName: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeDBSubnetGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeDBSubnetGroupsPages ¶
func (c *RDS) DescribeDBSubnetGroupsPages(input *DescribeDBSubnetGroupsInput, fn func(p *DescribeDBSubnetGroupsOutput, lastPage bool) (shouldContinue bool)) error
DescribeDBSubnetGroupsPages iterates over the pages of a DescribeDBSubnetGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeDBSubnetGroups 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 DescribeDBSubnetGroups operation. pageNum := 0 err := client.DescribeDBSubnetGroupsPages(params, func(page *DescribeDBSubnetGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeDBSubnetGroupsRequest ¶
func (c *RDS) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput)
DescribeDBSubnetGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeDBSubnetGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeDBSubnetGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeDBSubnetGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeDBSubnetGroupsRequest method. req, resp := client.DescribeDBSubnetGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups
func (*RDS) DescribeEngineDefaultClusterParameters ¶ added in v0.7.2
func (c *RDS) DescribeEngineDefaultClusterParameters(input *DescribeEngineDefaultClusterParametersInput) (*DescribeEngineDefaultClusterParametersOutput, error)
DescribeEngineDefaultClusterParameters API operation for Amazon Relational Database Service.
Returns the default engine and system parameter information for the cluster database engine.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DescribeEngineDefaultClusterParameters for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParameters
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeEngineDefaultClusterParametersInput{ DBParameterGroupFamily: aws.String("String"), // Required Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeEngineDefaultClusterParameters(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeEngineDefaultClusterParametersRequest ¶ added in v0.7.2
func (c *RDS) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput)
DescribeEngineDefaultClusterParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeEngineDefaultClusterParameters operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeEngineDefaultClusterParameters for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeEngineDefaultClusterParameters method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParameters
func (*RDS) DescribeEngineDefaultParameters ¶
func (c *RDS) DescribeEngineDefaultParameters(input *DescribeEngineDefaultParametersInput) (*DescribeEngineDefaultParametersOutput, error)
DescribeEngineDefaultParameters API operation for Amazon Relational Database Service.
Returns the default engine and system parameter information for the specified database engine.
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 Amazon Relational Database Service's API operation DescribeEngineDefaultParameters for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParameters
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeEngineDefaultParametersInput{ DBParameterGroupFamily: aws.String("String"), // Required Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeEngineDefaultParameters(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeEngineDefaultParametersPages ¶
func (c *RDS) DescribeEngineDefaultParametersPages(input *DescribeEngineDefaultParametersInput, fn func(p *DescribeEngineDefaultParametersOutput, lastPage bool) (shouldContinue bool)) error
DescribeEngineDefaultParametersPages iterates over the pages of a DescribeEngineDefaultParameters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeEngineDefaultParameters 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 DescribeEngineDefaultParameters operation. pageNum := 0 err := client.DescribeEngineDefaultParametersPages(params, func(page *DescribeEngineDefaultParametersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeEngineDefaultParametersRequest ¶
func (c *RDS) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput)
DescribeEngineDefaultParametersRequest generates a "aws/request.Request" representing the client's request for the DescribeEngineDefaultParameters operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeEngineDefaultParameters for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeEngineDefaultParameters method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeEngineDefaultParametersRequest method. req, resp := client.DescribeEngineDefaultParametersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParameters
func (*RDS) DescribeEventCategories ¶
func (c *RDS) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error)
DescribeEventCategories API operation for Amazon Relational Database Service.
Displays a list of categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in the Events (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) topic in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation DescribeEventCategories for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategories
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeEventCategoriesInput{ Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, SourceType: aws.String("String"), } resp, err := svc.DescribeEventCategories(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeEventCategoriesRequest ¶
func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput)
DescribeEventCategoriesRequest generates a "aws/request.Request" representing the client's request for the DescribeEventCategories operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeEventCategories for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeEventCategories method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeEventCategoriesRequest method. req, resp := client.DescribeEventCategoriesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategories
func (*RDS) DescribeEventSubscriptions ¶
func (c *RDS) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error)
DescribeEventSubscriptions API operation for Amazon Relational Database Service.
Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.
If you specify a SubscriptionName, lists the description for that subscription.
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 Amazon Relational Database Service's API operation DescribeEventSubscriptions for usage and error information.
Returned Error Codes:
- ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" The subscription name does not exist.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeEventSubscriptionsInput{ Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), SubscriptionName: aws.String("String"), } resp, err := svc.DescribeEventSubscriptions(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeEventSubscriptionsPages ¶
func (c *RDS) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(p *DescribeEventSubscriptionsOutput, lastPage bool) (shouldContinue bool)) error
DescribeEventSubscriptionsPages iterates over the pages of a DescribeEventSubscriptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeEventSubscriptions 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 DescribeEventSubscriptions operation. pageNum := 0 err := client.DescribeEventSubscriptionsPages(params, func(page *DescribeEventSubscriptionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeEventSubscriptionsRequest ¶
func (c *RDS) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput)
DescribeEventSubscriptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeEventSubscriptions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeEventSubscriptions for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeEventSubscriptions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeEventSubscriptionsRequest method. req, resp := client.DescribeEventSubscriptionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions
func (*RDS) DescribeEvents ¶
func (c *RDS) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error)
DescribeEvents API operation for Amazon Relational Database Service.
Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB instance, DB security group, database snapshot, or DB parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are 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 Amazon Relational Database Service's API operation DescribeEvents for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEvents
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeEventsInput{ Duration: aws.Int64(1), EndTime: aws.Time(time.Now()), EventCategories: []*string{ aws.String("String"), // Required // More values... }, Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), SourceIdentifier: aws.String("String"), SourceType: aws.String("SourceType"), StartTime: aws.Time(time.Now()), } resp, err := svc.DescribeEvents(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeEventsPages ¶
func (c *RDS) DescribeEventsPages(input *DescribeEventsInput, fn func(p *DescribeEventsOutput, lastPage bool) (shouldContinue bool)) error
DescribeEventsPages iterates over the pages of a DescribeEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeEvents 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 DescribeEvents operation. pageNum := 0 err := client.DescribeEventsPages(params, func(page *DescribeEventsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeEventsRequest ¶
func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput)
DescribeEventsRequest generates a "aws/request.Request" representing the client's request for the DescribeEvents operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeEvents for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeEvents method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeEventsRequest method. req, resp := client.DescribeEventsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEvents
func (*RDS) DescribeOptionGroupOptions ¶
func (c *RDS) DescribeOptionGroupOptions(input *DescribeOptionGroupOptionsInput) (*DescribeOptionGroupOptionsOutput, error)
DescribeOptionGroupOptions API operation for Amazon Relational Database Service.
Describes all available options.
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 Amazon Relational Database Service's API operation DescribeOptionGroupOptions for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptions
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeOptionGroupOptionsInput{ EngineName: aws.String("String"), // Required Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, MajorEngineVersion: aws.String("String"), Marker: aws.String("String"), MaxRecords: aws.Int64(1), } resp, err := svc.DescribeOptionGroupOptions(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeOptionGroupOptionsPages ¶
func (c *RDS) DescribeOptionGroupOptionsPages(input *DescribeOptionGroupOptionsInput, fn func(p *DescribeOptionGroupOptionsOutput, lastPage bool) (shouldContinue bool)) error
DescribeOptionGroupOptionsPages iterates over the pages of a DescribeOptionGroupOptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeOptionGroupOptions 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 DescribeOptionGroupOptions operation. pageNum := 0 err := client.DescribeOptionGroupOptionsPages(params, func(page *DescribeOptionGroupOptionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeOptionGroupOptionsRequest ¶
func (c *RDS) DescribeOptionGroupOptionsRequest(input *DescribeOptionGroupOptionsInput) (req *request.Request, output *DescribeOptionGroupOptionsOutput)
DescribeOptionGroupOptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeOptionGroupOptions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeOptionGroupOptions for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeOptionGroupOptions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeOptionGroupOptionsRequest method. req, resp := client.DescribeOptionGroupOptionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptions
func (*RDS) DescribeOptionGroups ¶
func (c *RDS) DescribeOptionGroups(input *DescribeOptionGroupsInput) (*DescribeOptionGroupsOutput, error)
DescribeOptionGroups API operation for Amazon Relational Database Service.
Describes the available option groups.
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 Amazon Relational Database Service's API operation DescribeOptionGroups for usage and error information.
Returned Error Codes:
- ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeOptionGroupsInput{ EngineName: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, MajorEngineVersion: aws.String("String"), Marker: aws.String("String"), MaxRecords: aws.Int64(1), OptionGroupName: aws.String("String"), } resp, err := svc.DescribeOptionGroups(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeOptionGroupsPages ¶
func (c *RDS) DescribeOptionGroupsPages(input *DescribeOptionGroupsInput, fn func(p *DescribeOptionGroupsOutput, lastPage bool) (shouldContinue bool)) error
DescribeOptionGroupsPages iterates over the pages of a DescribeOptionGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeOptionGroups 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 DescribeOptionGroups operation. pageNum := 0 err := client.DescribeOptionGroupsPages(params, func(page *DescribeOptionGroupsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeOptionGroupsRequest ¶
func (c *RDS) DescribeOptionGroupsRequest(input *DescribeOptionGroupsInput) (req *request.Request, output *DescribeOptionGroupsOutput)
DescribeOptionGroupsRequest generates a "aws/request.Request" representing the client's request for the DescribeOptionGroups operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeOptionGroups for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeOptionGroups method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeOptionGroupsRequest method. req, resp := client.DescribeOptionGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups
func (*RDS) DescribeOrderableDBInstanceOptions ¶
func (c *RDS) DescribeOrderableDBInstanceOptions(input *DescribeOrderableDBInstanceOptionsInput) (*DescribeOrderableDBInstanceOptionsOutput, error)
DescribeOrderableDBInstanceOptions API operation for Amazon Relational Database Service.
Returns a list of orderable DB instance options for the specified engine.
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 Amazon Relational Database Service's API operation DescribeOrderableDBInstanceOptions for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeOrderableDBInstanceOptionsInput{ Engine: aws.String("String"), // Required DBInstanceClass: aws.String("String"), EngineVersion: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, LicenseModel: aws.String("String"), Marker: aws.String("String"), MaxRecords: aws.Int64(1), Vpc: aws.Bool(true), } resp, err := svc.DescribeOrderableDBInstanceOptions(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeOrderableDBInstanceOptionsPages ¶
func (c *RDS) DescribeOrderableDBInstanceOptionsPages(input *DescribeOrderableDBInstanceOptionsInput, fn func(p *DescribeOrderableDBInstanceOptionsOutput, lastPage bool) (shouldContinue bool)) error
DescribeOrderableDBInstanceOptionsPages iterates over the pages of a DescribeOrderableDBInstanceOptions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeOrderableDBInstanceOptions 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 DescribeOrderableDBInstanceOptions operation. pageNum := 0 err := client.DescribeOrderableDBInstanceOptionsPages(params, func(page *DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeOrderableDBInstanceOptionsRequest ¶
func (c *RDS) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput)
DescribeOrderableDBInstanceOptionsRequest generates a "aws/request.Request" representing the client's request for the DescribeOrderableDBInstanceOptions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeOrderableDBInstanceOptions for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeOrderableDBInstanceOptions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions
func (*RDS) DescribePendingMaintenanceActions ¶
func (c *RDS) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error)
DescribePendingMaintenanceActions API operation for Amazon Relational Database Service.
Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
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 Amazon Relational Database Service's API operation DescribePendingMaintenanceActions for usage and error information.
Returned Error Codes:
- ErrCodeResourceNotFoundFault "ResourceNotFoundFault" The specified resource ID was not found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribePendingMaintenanceActionsInput{ Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), ResourceIdentifier: aws.String("String"), } resp, err := svc.DescribePendingMaintenanceActions(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribePendingMaintenanceActionsRequest ¶
func (c *RDS) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput)
DescribePendingMaintenanceActionsRequest generates a "aws/request.Request" representing the client's request for the DescribePendingMaintenanceActions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribePendingMaintenanceActions for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribePendingMaintenanceActions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribePendingMaintenanceActionsRequest method. req, resp := client.DescribePendingMaintenanceActionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions
func (*RDS) DescribeReservedDBInstances ¶
func (c *RDS) DescribeReservedDBInstances(input *DescribeReservedDBInstancesInput) (*DescribeReservedDBInstancesOutput, error)
DescribeReservedDBInstances API operation for Amazon Relational Database Service.
Returns information about reserved DB instances for this account, or about a specified reserved DB instance.
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 Amazon Relational Database Service's API operation DescribeReservedDBInstances for usage and error information.
Returned Error Codes:
- ErrCodeReservedDBInstanceNotFoundFault "ReservedDBInstanceNotFound" The specified reserved DB Instance not found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeReservedDBInstancesInput{ DBInstanceClass: aws.String("String"), Duration: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), MultiAZ: aws.Bool(true), OfferingType: aws.String("String"), ProductDescription: aws.String("String"), ReservedDBInstanceId: aws.String("String"), ReservedDBInstancesOfferingId: aws.String("String"), } resp, err := svc.DescribeReservedDBInstances(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeReservedDBInstancesOfferings ¶
func (c *RDS) DescribeReservedDBInstancesOfferings(input *DescribeReservedDBInstancesOfferingsInput) (*DescribeReservedDBInstancesOfferingsOutput, error)
DescribeReservedDBInstancesOfferings API operation for Amazon Relational Database Service.
Lists available reserved DB instance offerings.
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 Amazon Relational Database Service's API operation DescribeReservedDBInstancesOfferings for usage and error information.
Returned Error Codes:
- ErrCodeReservedDBInstancesOfferingNotFoundFault "ReservedDBInstancesOfferingNotFound" Specified offering does not exist.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeReservedDBInstancesOfferingsInput{ DBInstanceClass: aws.String("String"), Duration: aws.String("String"), Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), MultiAZ: aws.Bool(true), OfferingType: aws.String("String"), ProductDescription: aws.String("String"), ReservedDBInstancesOfferingId: aws.String("String"), } resp, err := svc.DescribeReservedDBInstancesOfferings(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeReservedDBInstancesOfferingsPages ¶
func (c *RDS) DescribeReservedDBInstancesOfferingsPages(input *DescribeReservedDBInstancesOfferingsInput, fn func(p *DescribeReservedDBInstancesOfferingsOutput, lastPage bool) (shouldContinue bool)) error
DescribeReservedDBInstancesOfferingsPages iterates over the pages of a DescribeReservedDBInstancesOfferings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeReservedDBInstancesOfferings 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 DescribeReservedDBInstancesOfferings operation. pageNum := 0 err := client.DescribeReservedDBInstancesOfferingsPages(params, func(page *DescribeReservedDBInstancesOfferingsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeReservedDBInstancesOfferingsRequest ¶
func (c *RDS) DescribeReservedDBInstancesOfferingsRequest(input *DescribeReservedDBInstancesOfferingsInput) (req *request.Request, output *DescribeReservedDBInstancesOfferingsOutput)
DescribeReservedDBInstancesOfferingsRequest generates a "aws/request.Request" representing the client's request for the DescribeReservedDBInstancesOfferings operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeReservedDBInstancesOfferings for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeReservedDBInstancesOfferings method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeReservedDBInstancesOfferingsRequest method. req, resp := client.DescribeReservedDBInstancesOfferingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings
func (*RDS) DescribeReservedDBInstancesPages ¶
func (c *RDS) DescribeReservedDBInstancesPages(input *DescribeReservedDBInstancesInput, fn func(p *DescribeReservedDBInstancesOutput, lastPage bool) (shouldContinue bool)) error
DescribeReservedDBInstancesPages iterates over the pages of a DescribeReservedDBInstances operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeReservedDBInstances 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 DescribeReservedDBInstances operation. pageNum := 0 err := client.DescribeReservedDBInstancesPages(params, func(page *DescribeReservedDBInstancesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DescribeReservedDBInstancesRequest ¶
func (c *RDS) DescribeReservedDBInstancesRequest(input *DescribeReservedDBInstancesInput) (req *request.Request, output *DescribeReservedDBInstancesOutput)
DescribeReservedDBInstancesRequest generates a "aws/request.Request" representing the client's request for the DescribeReservedDBInstances operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeReservedDBInstances for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeReservedDBInstances method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeReservedDBInstancesRequest method. req, resp := client.DescribeReservedDBInstancesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances
func (*RDS) DescribeSourceRegions ¶ added in v1.4.16
func (c *RDS) DescribeSourceRegions(input *DescribeSourceRegionsInput) (*DescribeSourceRegionsOutput, error)
DescribeSourceRegions API operation for Amazon Relational Database Service.
Returns a list of the source AWS regions where the current AWS region can create a Read Replica or copy a DB snapshot from. This API action supports pagination.
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 Amazon Relational Database Service's API operation DescribeSourceRegions for usage and error information. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegions
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DescribeSourceRegionsInput{ Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, Marker: aws.String("String"), MaxRecords: aws.Int64(1), RegionName: aws.String("String"), } resp, err := svc.DescribeSourceRegions(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DescribeSourceRegionsRequest ¶ added in v1.4.16
func (c *RDS) DescribeSourceRegionsRequest(input *DescribeSourceRegionsInput) (req *request.Request, output *DescribeSourceRegionsOutput)
DescribeSourceRegionsRequest generates a "aws/request.Request" representing the client's request for the DescribeSourceRegions operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeSourceRegions for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeSourceRegions method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeSourceRegionsRequest method. req, resp := client.DescribeSourceRegionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegions
func (*RDS) DownloadDBLogFilePortion ¶
func (c *RDS) DownloadDBLogFilePortion(input *DownloadDBLogFilePortionInput) (*DownloadDBLogFilePortionOutput, error)
DownloadDBLogFilePortion API operation for Amazon Relational Database Service.
Downloads all or a portion of the specified log file, up to 1 MB in size.
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 Amazon Relational Database Service's API operation DownloadDBLogFilePortion for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeDBLogFileNotFoundFault "DBLogFileNotFoundFault" LogFileName does not refer to an existing DB log file.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.DownloadDBLogFilePortionInput{ DBInstanceIdentifier: aws.String("String"), // Required LogFileName: aws.String("String"), // Required Marker: aws.String("String"), NumberOfLines: aws.Int64(1), } resp, err := svc.DownloadDBLogFilePortion(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) DownloadDBLogFilePortionPages ¶
func (c *RDS) DownloadDBLogFilePortionPages(input *DownloadDBLogFilePortionInput, fn func(p *DownloadDBLogFilePortionOutput, lastPage bool) (shouldContinue bool)) error
DownloadDBLogFilePortionPages iterates over the pages of a DownloadDBLogFilePortion operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DownloadDBLogFilePortion 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 DownloadDBLogFilePortion operation. pageNum := 0 err := client.DownloadDBLogFilePortionPages(params, func(page *DownloadDBLogFilePortionOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RDS) DownloadDBLogFilePortionRequest ¶
func (c *RDS) DownloadDBLogFilePortionRequest(input *DownloadDBLogFilePortionInput) (req *request.Request, output *DownloadDBLogFilePortionOutput)
DownloadDBLogFilePortionRequest generates a "aws/request.Request" representing the client's request for the DownloadDBLogFilePortion operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DownloadDBLogFilePortion for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DownloadDBLogFilePortion method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DownloadDBLogFilePortionRequest method. req, resp := client.DownloadDBLogFilePortionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion
func (*RDS) FailoverDBCluster ¶ added in v0.7.2
func (c *RDS) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error)
FailoverDBCluster API operation for Amazon Relational Database Service.
Forces a failover for a DB cluster.
A failover for a DB cluster promotes one of the Aurora Replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer).
Amazon Aurora will automatically fail over to an Aurora Replica, if one exists, when the primary instance fails. You can force a failover when you want to simulate a failure of a primary instance for testing. Because each instance in a DB cluster has its own endpoint address, you will need to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation FailoverDBCluster for usage and error information.
Returned Error Codes:
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.FailoverDBClusterInput{ DBClusterIdentifier: aws.String("String"), TargetDBInstanceIdentifier: aws.String("String"), } resp, err := svc.FailoverDBCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) FailoverDBClusterRequest ¶ added in v0.7.2
func (c *RDS) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput)
FailoverDBClusterRequest generates a "aws/request.Request" representing the client's request for the FailoverDBCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See FailoverDBCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the FailoverDBCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the FailoverDBClusterRequest method. req, resp := client.FailoverDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster
func (*RDS) ListTagsForResource ¶
func (c *RDS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Relational Database Service.
Lists all tags on an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html).
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 Amazon Relational Database Service's API operation ListTagsForResource for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ListTagsForResourceInput{ ResourceName: aws.String("String"), // Required Filters: []*rds.Filter{ { // Required Name: aws.String("String"), // Required Values: []*string{ // Required aws.String("String"), // Required // More values... }, }, // More values... }, } resp, err := svc.ListTagsForResource(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ListTagsForResourceRequest ¶
func (c *RDS) 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 can be used to capture response data after the request's "Send" method is called.
See ListTagsForResource for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListTagsForResource method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// 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) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource
func (*RDS) ModifyDBCluster ¶ added in v0.7.2
func (c *RDS) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error)
ModifyDBCluster API operation for Amazon Relational Database Service.
Modify a setting for an Amazon Aurora DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request. For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation ModifyDBCluster for usage and error information.
Returned Error Codes:
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" The DB subnet group cannot be deleted because it is in use.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" The state of the DB security group does not allow deletion.
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBClusterInput{ DBClusterIdentifier: aws.String("String"), // Required ApplyImmediately: aws.Bool(true), BackupRetentionPeriod: aws.Int64(1), DBClusterParameterGroupName: aws.String("String"), MasterUserPassword: aws.String("String"), NewDBClusterIdentifier: aws.String("String"), OptionGroupName: aws.String("String"), Port: aws.Int64(1), PreferredBackupWindow: aws.String("String"), PreferredMaintenanceWindow: aws.String("String"), VpcSecurityGroupIds: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.ModifyDBCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBClusterParameterGroup ¶ added in v0.7.2
func (c *RDS) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error)
ModifyDBClusterParameterGroup API operation for Amazon Relational Database Service.
Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB cluster associated with the parameter group before the change can take effect.
After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console (https://console.aws.amazon.com/rds/) or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.
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 Amazon Relational Database Service's API operation ModifyDBClusterParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group cannot be deleted because it is in use.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBClusterParameterGroupInput{ DBClusterParameterGroupName: aws.String("String"), // Required Parameters: []*rds.Parameter{ // Required { // Required AllowedValues: aws.String("String"), ApplyMethod: aws.String("ApplyMethod"), ApplyType: aws.String("String"), DataType: aws.String("String"), Description: aws.String("String"), IsModifiable: aws.Bool(true), MinimumEngineVersion: aws.String("String"), ParameterName: aws.String("String"), ParameterValue: aws.String("String"), Source: aws.String("String"), }, // More values... }, } resp, err := svc.ModifyDBClusterParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBClusterParameterGroupRequest ¶ added in v0.7.2
func (c *RDS) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage)
ModifyDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyDBClusterParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBClusterParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBClusterParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBClusterParameterGroupRequest method. req, resp := client.ModifyDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup
func (*RDS) ModifyDBClusterRequest ¶ added in v0.7.2
func (c *RDS) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput)
ModifyDBClusterRequest generates a "aws/request.Request" representing the client's request for the ModifyDBCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBClusterRequest method. req, resp := client.ModifyDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster
func (*RDS) ModifyDBClusterSnapshotAttribute ¶ added in v1.1.33
func (c *RDS) ModifyDBClusterSnapshotAttribute(input *ModifyDBClusterSnapshotAttributeInput) (*ModifyDBClusterSnapshotAttributeOutput, error)
ModifyDBClusterSnapshotAttribute API operation for Amazon Relational Database Service.
Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot.
To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts.
To view which AWS accounts have access to copy or restore a manual DB cluster snapshot, or whether a manual DB cluster snapshot public or private, use the DescribeDBClusterSnapshotAttributes API action.
If a manual DB cluster snapshot is encrypted, it cannot be shared.
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 Amazon Relational Database Service's API operation ModifyDBClusterSnapshotAttribute for usage and error information.
Returned Error Codes:
ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.
ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBClusterSnapshotAttributeInput{ AttributeName: aws.String("String"), // Required DBClusterSnapshotIdentifier: aws.String("String"), // Required ValuesToAdd: []*string{ aws.String("String"), // Required // More values... }, ValuesToRemove: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.ModifyDBClusterSnapshotAttribute(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBClusterSnapshotAttributeRequest ¶ added in v1.1.33
func (c *RDS) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnapshotAttributeInput) (req *request.Request, output *ModifyDBClusterSnapshotAttributeOutput)
ModifyDBClusterSnapshotAttributeRequest generates a "aws/request.Request" representing the client's request for the ModifyDBClusterSnapshotAttribute operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBClusterSnapshotAttribute for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBClusterSnapshotAttribute method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute
func (*RDS) ModifyDBInstance ¶
func (c *RDS) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error)
ModifyDBInstance API operation for Amazon Relational Database Service.
Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
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 Amazon Relational Database Service's API operation ModifyDBInstance for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" The state of the DB security group does not allow deletion.
ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" User already has a DB instance with the given identifier.
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" Specified DB instance class is not available in the specified Availability Zone.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" Provisioned IOPS not available in the specified Availability Zone.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" The DB upgrade failed because a resource the DB depends on could not be modified.
ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" StorageType specified cannot be associated with the DB Instance.
ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.
RDS may not also be authorized via IAM to perform necessary actions on your behalf.
ErrCodeCertificateNotFoundFault "CertificateNotFound" CertificateIdentifier does not refer to an existing certificate.
ErrCodeDomainNotFoundFault "DomainNotFoundFault" Domain does not refer to an existing Active Directory Domain.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBInstanceInput{ DBInstanceIdentifier: aws.String("String"), // Required AllocatedStorage: aws.Int64(1), AllowMajorVersionUpgrade: aws.Bool(true), ApplyImmediately: aws.Bool(true), AutoMinorVersionUpgrade: aws.Bool(true), BackupRetentionPeriod: aws.Int64(1), CACertificateIdentifier: aws.String("String"), CopyTagsToSnapshot: aws.Bool(true), DBInstanceClass: aws.String("String"), DBParameterGroupName: aws.String("String"), DBPortNumber: aws.Int64(1), DBSecurityGroups: []*string{ aws.String("String"), // Required // More values... }, DBSubnetGroupName: aws.String("String"), Domain: aws.String("String"), DomainIAMRoleName: aws.String("String"), EngineVersion: aws.String("String"), Iops: aws.Int64(1), LicenseModel: aws.String("String"), MasterUserPassword: aws.String("String"), MonitoringInterval: aws.Int64(1), MonitoringRoleArn: aws.String("String"), MultiAZ: aws.Bool(true), NewDBInstanceIdentifier: aws.String("String"), OptionGroupName: aws.String("String"), PreferredBackupWindow: aws.String("String"), PreferredMaintenanceWindow: aws.String("String"), PromotionTier: aws.Int64(1), PubliclyAccessible: aws.Bool(true), StorageType: aws.String("String"), TdeCredentialArn: aws.String("String"), TdeCredentialPassword: aws.String("String"), VpcSecurityGroupIds: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.ModifyDBInstance(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBInstanceRequest ¶
func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput)
ModifyDBInstanceRequest generates a "aws/request.Request" representing the client's request for the ModifyDBInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBInstance for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBInstance method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBInstanceRequest method. req, resp := client.ModifyDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance
func (*RDS) ModifyDBParameterGroup ¶
func (c *RDS) ModifyDBParameterGroup(input *ModifyDBParameterGroupInput) (*DBParameterGroupNameMessage, error)
ModifyDBParameterGroup API operation for Amazon Relational Database Service.
Modifies the parameters of a DB parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request.
Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot without failover to the DB instance associated with the parameter group before the change can take effect.
After you modify a DB parameter group, you should wait at least 5 minutes before creating your first DB instance that uses that DB parameter group as the default parameter group. This allows Amazon RDS to fully complete the modify action before the parameter group is used as the default for a new DB instance. This is especially important for parameters that are critical when creating the default database for a DB instance, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console (https://console.aws.amazon.com/rds/) or the DescribeDBParameters command to verify that your DB parameter group has been created or modified.
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 Amazon Relational Database Service's API operation ModifyDBParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group cannot be deleted because it is in use.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBParameterGroupInput{ DBParameterGroupName: aws.String("String"), // Required Parameters: []*rds.Parameter{ // Required { // Required AllowedValues: aws.String("String"), ApplyMethod: aws.String("ApplyMethod"), ApplyType: aws.String("String"), DataType: aws.String("String"), Description: aws.String("String"), IsModifiable: aws.Bool(true), MinimumEngineVersion: aws.String("String"), ParameterName: aws.String("String"), ParameterValue: aws.String("String"), Source: aws.String("String"), }, // More values... }, } resp, err := svc.ModifyDBParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBParameterGroupRequest ¶
func (c *RDS) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage)
ModifyDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyDBParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBParameterGroupRequest method. req, resp := client.ModifyDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup
func (*RDS) ModifyDBSnapshot ¶ added in v1.6.19
func (c *RDS) ModifyDBSnapshot(input *ModifyDBSnapshotInput) (*ModifyDBSnapshotOutput, error)
ModifyDBSnapshot API operation for Amazon Relational Database Service.
Updates a manual DB snapshot, which can be encrypted or not encrypted, with a new engine version. You can update the engine version to either a new major or minor engine version.
Amazon RDS supports upgrading a MySQL DB snapshot from MySQL 5.1 to MySQL 5.5.
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 Amazon Relational Database Service's API operation ModifyDBSnapshot for usage and error information.
Returned Error Codes:
- ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBSnapshotInput{ DBSnapshotIdentifier: aws.String("String"), // Required EngineVersion: aws.String("String"), } resp, err := svc.ModifyDBSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBSnapshotAttribute ¶ added in v1.0.0
func (c *RDS) ModifyDBSnapshotAttribute(input *ModifyDBSnapshotAttributeInput) (*ModifyDBSnapshotAttributeOutput, error)
ModifyDBSnapshotAttribute API operation for Amazon Relational Database Service.
Adds an attribute and values to, or removes an attribute and values from, a manual DB snapshot.
To share a manual DB snapshot with other AWS accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB snapshot. Uses the value all to make the manual DB snapshot public, which means it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB snapshots that contain private information that you don't want available to all AWS accounts.
To view which AWS accounts have access to copy or restore a manual DB snapshot, or whether a manual DB snapshot public or private, use the DescribeDBSnapshotAttributes API action.
If the manual DB snapshot is encrypted, it cannot be shared.
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 Amazon Relational Database Service's API operation ModifyDBSnapshotAttribute for usage and error information.
Returned Error Codes:
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.
ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBSnapshotAttributeInput{ AttributeName: aws.String("String"), // Required DBSnapshotIdentifier: aws.String("String"), // Required ValuesToAdd: []*string{ aws.String("String"), // Required // More values... }, ValuesToRemove: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.ModifyDBSnapshotAttribute(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBSnapshotAttributeRequest ¶ added in v1.0.0
func (c *RDS) ModifyDBSnapshotAttributeRequest(input *ModifyDBSnapshotAttributeInput) (req *request.Request, output *ModifyDBSnapshotAttributeOutput)
ModifyDBSnapshotAttributeRequest generates a "aws/request.Request" representing the client's request for the ModifyDBSnapshotAttribute operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBSnapshotAttribute for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBSnapshotAttribute method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBSnapshotAttributeRequest method. req, resp := client.ModifyDBSnapshotAttributeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute
func (*RDS) ModifyDBSnapshotRequest ¶ added in v1.6.19
func (c *RDS) ModifyDBSnapshotRequest(input *ModifyDBSnapshotInput) (req *request.Request, output *ModifyDBSnapshotOutput)
ModifyDBSnapshotRequest generates a "aws/request.Request" representing the client's request for the ModifyDBSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBSnapshotRequest method. req, resp := client.ModifyDBSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot
func (*RDS) ModifyDBSubnetGroup ¶
func (c *RDS) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error)
ModifyDBSubnetGroup API operation for Amazon Relational Database Service.
Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the region.
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 Amazon Relational Database Service's API operation ModifyDBSubnetGroup for usage and error information.
Returned Error Codes:
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" Request would result in user exceeding the allowed number of subnets in a DB subnet groups.
ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" The DB subnet is already in use in the Availability Zone.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyDBSubnetGroupInput{ DBSubnetGroupName: aws.String("String"), // Required SubnetIds: []*string{ // Required aws.String("String"), // Required // More values... }, DBSubnetGroupDescription: aws.String("String"), } resp, err := svc.ModifyDBSubnetGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyDBSubnetGroupRequest ¶
func (c *RDS) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput)
ModifyDBSubnetGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyDBSubnetGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyDBSubnetGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyDBSubnetGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyDBSubnetGroupRequest method. req, resp := client.ModifyDBSubnetGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup
func (*RDS) ModifyEventSubscription ¶
func (c *RDS) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error)
ModifyEventSubscription API operation for Amazon Relational Database Service.
Modifies an existing RDS event notification subscription. Note that you cannot modify the source identifiers using this call; to change source identifiers for a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription calls.
You can see a list of the event categories for a given SourceType in the Events (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) topic in the Amazon RDS User Guide or by using the DescribeEventCategories action.
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 Amazon Relational Database Service's API operation ModifyEventSubscription for usage and error information.
Returned Error Codes:
ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" You have reached the maximum number of event subscriptions.
ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" The subscription name does not exist.
ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" SNS has responded that there is a problem with the SND topic specified.
ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" You do not have permission to publish to the SNS topic ARN.
ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" The SNS topic ARN does not exist.
ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" The supplied category does not exist.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyEventSubscriptionInput{ SubscriptionName: aws.String("String"), // Required Enabled: aws.Bool(true), EventCategories: []*string{ aws.String("String"), // Required // More values... }, SnsTopicArn: aws.String("String"), SourceType: aws.String("String"), } resp, err := svc.ModifyEventSubscription(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyEventSubscriptionRequest ¶
func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput)
ModifyEventSubscriptionRequest generates a "aws/request.Request" representing the client's request for the ModifyEventSubscription operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyEventSubscription for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyEventSubscription method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyEventSubscriptionRequest method. req, resp := client.ModifyEventSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription
func (*RDS) ModifyOptionGroup ¶
func (c *RDS) ModifyOptionGroup(input *ModifyOptionGroupInput) (*ModifyOptionGroupOutput, error)
ModifyOptionGroup API operation for Amazon Relational Database Service.
Modifies an existing option group.
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 Amazon Relational Database Service's API operation ModifyOptionGroup for usage and error information.
Returned Error Codes:
ErrCodeInvalidOptionGroupStateFault "InvalidOptionGroupStateFault" The option group is not in the available state.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ModifyOptionGroupInput{ OptionGroupName: aws.String("String"), // Required ApplyImmediately: aws.Bool(true), OptionsToInclude: []*rds.OptionConfiguration{ { // Required OptionName: aws.String("String"), // Required DBSecurityGroupMemberships: []*string{ aws.String("String"), // Required // More values... }, OptionSettings: []*rds.OptionSetting{ { // Required AllowedValues: aws.String("String"), ApplyType: aws.String("String"), DataType: aws.String("String"), DefaultValue: aws.String("String"), Description: aws.String("String"), IsCollection: aws.Bool(true), IsModifiable: aws.Bool(true), Name: aws.String("String"), Value: aws.String("String"), }, // More values... }, OptionVersion: aws.String("String"), Port: aws.Int64(1), VpcSecurityGroupMemberships: []*string{ aws.String("String"), // Required // More values... }, }, // More values... }, OptionsToRemove: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.ModifyOptionGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ModifyOptionGroupRequest ¶
func (c *RDS) ModifyOptionGroupRequest(input *ModifyOptionGroupInput) (req *request.Request, output *ModifyOptionGroupOutput)
ModifyOptionGroupRequest generates a "aws/request.Request" representing the client's request for the ModifyOptionGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ModifyOptionGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ModifyOptionGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ModifyOptionGroupRequest method. req, resp := client.ModifyOptionGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup
func (*RDS) PromoteReadReplica ¶
func (c *RDS) PromoteReadReplica(input *PromoteReadReplicaInput) (*PromoteReadReplicaOutput, error)
PromoteReadReplica API operation for Amazon Relational Database Service.
Promotes a Read Replica DB instance to a standalone DB instance.
We recommend that you enable automated backups on your Read Replica before promoting the Read Replica. This ensures that no backup is taken during the promotion process. Once the instance is promoted to a primary instance, backups are taken based on your backup settings.
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 Amazon Relational Database Service's API operation PromoteReadReplica for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.PromoteReadReplicaInput{ DBInstanceIdentifier: aws.String("String"), // Required BackupRetentionPeriod: aws.Int64(1), PreferredBackupWindow: aws.String("String"), } resp, err := svc.PromoteReadReplica(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) PromoteReadReplicaDBCluster ¶ added in v1.1.35
func (c *RDS) PromoteReadReplicaDBCluster(input *PromoteReadReplicaDBClusterInput) (*PromoteReadReplicaDBClusterOutput, error)
PromoteReadReplicaDBCluster API operation for Amazon Relational Database Service.
Promotes a Read Replica DB cluster to a standalone DB cluster.
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 Amazon Relational Database Service's API operation PromoteReadReplicaDBCluster for usage and error information.
Returned Error Codes:
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.PromoteReadReplicaDBClusterInput{ DBClusterIdentifier: aws.String("String"), // Required } resp, err := svc.PromoteReadReplicaDBCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) PromoteReadReplicaDBClusterRequest ¶ added in v1.1.35
func (c *RDS) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClusterInput) (req *request.Request, output *PromoteReadReplicaDBClusterOutput)
PromoteReadReplicaDBClusterRequest generates a "aws/request.Request" representing the client's request for the PromoteReadReplicaDBCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PromoteReadReplicaDBCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the PromoteReadReplicaDBCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the PromoteReadReplicaDBClusterRequest method. req, resp := client.PromoteReadReplicaDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster
func (*RDS) PromoteReadReplicaRequest ¶
func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *request.Request, output *PromoteReadReplicaOutput)
PromoteReadReplicaRequest generates a "aws/request.Request" representing the client's request for the PromoteReadReplica operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PromoteReadReplica for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the PromoteReadReplica method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the PromoteReadReplicaRequest method. req, resp := client.PromoteReadReplicaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica
func (*RDS) PurchaseReservedDBInstancesOffering ¶
func (c *RDS) PurchaseReservedDBInstancesOffering(input *PurchaseReservedDBInstancesOfferingInput) (*PurchaseReservedDBInstancesOfferingOutput, error)
PurchaseReservedDBInstancesOffering API operation for Amazon Relational Database Service.
Purchases a reserved DB instance offering.
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 Amazon Relational Database Service's API operation PurchaseReservedDBInstancesOffering for usage and error information.
Returned Error Codes:
ErrCodeReservedDBInstancesOfferingNotFoundFault "ReservedDBInstancesOfferingNotFound" Specified offering does not exist.
ErrCodeReservedDBInstanceAlreadyExistsFault "ReservedDBInstanceAlreadyExists" User already has a reservation with the given identifier.
ErrCodeReservedDBInstanceQuotaExceededFault "ReservedDBInstanceQuotaExceeded" Request would exceed the user's DB Instance quota.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.PurchaseReservedDBInstancesOfferingInput{ ReservedDBInstancesOfferingId: aws.String("String"), // Required DBInstanceCount: aws.Int64(1), ReservedDBInstanceId: aws.String("String"), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, } resp, err := svc.PurchaseReservedDBInstancesOffering(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) PurchaseReservedDBInstancesOfferingRequest ¶
func (c *RDS) PurchaseReservedDBInstancesOfferingRequest(input *PurchaseReservedDBInstancesOfferingInput) (req *request.Request, output *PurchaseReservedDBInstancesOfferingOutput)
PurchaseReservedDBInstancesOfferingRequest generates a "aws/request.Request" representing the client's request for the PurchaseReservedDBInstancesOffering operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See PurchaseReservedDBInstancesOffering for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the PurchaseReservedDBInstancesOffering method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the PurchaseReservedDBInstancesOfferingRequest method. req, resp := client.PurchaseReservedDBInstancesOfferingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering
func (*RDS) RebootDBInstance ¶
func (c *RDS) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error)
RebootDBInstance API operation for Amazon Relational Database Service.
Rebooting a DB instance restarts the database engine service. A reboot also applies to the DB instance any modifications to the associated DB parameter group that were pending. Rebooting a DB instance results in a momentary outage of the instance, during which the DB instance status is set to rebooting. If the RDS instance is configured for MultiAZ, it is possible that the reboot will be conducted through a failover. An Amazon RDS event is created when the reboot is completed.
If your DB instance is deployed in multiple Availability Zones, you can force a failover from one AZ to the other during the reboot. You might force a failover to test the availability of your DB instance deployment or to restore operations to the original AZ after a failover occurs.
The time required to reboot is a function of the specific database engine's crash recovery process. To improve the reboot time, we recommend that you reduce database activities as much as possible during the reboot process to reduce rollback activity for in-transit transactions.
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 Amazon Relational Database Service's API operation RebootDBInstance for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RebootDBInstanceInput{ DBInstanceIdentifier: aws.String("String"), // Required ForceFailover: aws.Bool(true), } resp, err := svc.RebootDBInstance(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RebootDBInstanceRequest ¶
func (c *RDS) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput)
RebootDBInstanceRequest generates a "aws/request.Request" representing the client's request for the RebootDBInstance operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RebootDBInstance for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RebootDBInstance method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RebootDBInstanceRequest method. req, resp := client.RebootDBInstanceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance
func (*RDS) RemoveRoleFromDBCluster ¶ added in v1.4.20
func (c *RDS) RemoveRoleFromDBCluster(input *RemoveRoleFromDBClusterInput) (*RemoveRoleFromDBClusterOutput, error)
RemoveRoleFromDBCluster API operation for Amazon Relational Database Service.
Disassociates an Identity and Access Management (IAM) role from an Aurora DB cluster. For more information, see Authorizing Amazon Aurora to Access Other AWS Services On Your Behalf (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Authorizing.AWSServices.html).
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 Amazon Relational Database Service's API operation RemoveRoleFromDBCluster for usage and error information.
Returned Error Codes:
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeDBClusterRoleNotFoundFault "DBClusterRoleNotFound" The specified IAM role Amazon Resource Name (ARN) is not associated with the specified DB cluster.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RemoveRoleFromDBClusterInput{ DBClusterIdentifier: aws.String("String"), // Required RoleArn: aws.String("String"), // Required } resp, err := svc.RemoveRoleFromDBCluster(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RemoveRoleFromDBClusterRequest ¶ added in v1.4.20
func (c *RDS) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput) (req *request.Request, output *RemoveRoleFromDBClusterOutput)
RemoveRoleFromDBClusterRequest generates a "aws/request.Request" representing the client's request for the RemoveRoleFromDBCluster operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RemoveRoleFromDBCluster for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RemoveRoleFromDBCluster method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RemoveRoleFromDBClusterRequest method. req, resp := client.RemoveRoleFromDBClusterRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster
func (*RDS) RemoveSourceIdentifierFromSubscription ¶
func (c *RDS) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error)
RemoveSourceIdentifierFromSubscription API operation for Amazon Relational Database Service.
Removes a source identifier from an existing RDS event notification subscription.
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 Amazon Relational Database Service's API operation RemoveSourceIdentifierFromSubscription for usage and error information.
Returned Error Codes:
ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" The subscription name does not exist.
ErrCodeSourceNotFoundFault "SourceNotFound" The requested source could not be found.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RemoveSourceIdentifierFromSubscriptionInput{ SourceIdentifier: aws.String("String"), // Required SubscriptionName: aws.String("String"), // Required } resp, err := svc.RemoveSourceIdentifierFromSubscription(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RemoveSourceIdentifierFromSubscriptionRequest ¶
func (c *RDS) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput)
RemoveSourceIdentifierFromSubscriptionRequest generates a "aws/request.Request" representing the client's request for the RemoveSourceIdentifierFromSubscription operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RemoveSourceIdentifierFromSubscription for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RemoveSourceIdentifierFromSubscription method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription
func (*RDS) RemoveTagsFromResource ¶
func (c *RDS) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)
RemoveTagsFromResource API operation for Amazon Relational Database Service.
Removes metadata tags from an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html).
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 Amazon Relational Database Service's API operation RemoveTagsFromResource for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RemoveTagsFromResourceInput{ ResourceName: aws.String("String"), // Required TagKeys: []*string{ // Required aws.String("String"), // Required // More values... }, } resp, err := svc.RemoveTagsFromResource(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RemoveTagsFromResourceRequest ¶
func (c *RDS) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)
RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromResource operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RemoveTagsFromResource for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RemoveTagsFromResource method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RemoveTagsFromResourceRequest method. req, resp := client.RemoveTagsFromResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource
func (*RDS) ResetDBClusterParameterGroup ¶ added in v0.7.2
func (c *RDS) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error)
ResetDBClusterParameterGroup API operation for Amazon Relational Database Service.
Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters.
When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster that you want the updated static parameter to apply to.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation ResetDBClusterParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group cannot be deleted because it is in use.
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ResetDBClusterParameterGroupInput{ DBClusterParameterGroupName: aws.String("String"), // Required Parameters: []*rds.Parameter{ { // Required AllowedValues: aws.String("String"), ApplyMethod: aws.String("ApplyMethod"), ApplyType: aws.String("String"), DataType: aws.String("String"), Description: aws.String("String"), IsModifiable: aws.Bool(true), MinimumEngineVersion: aws.String("String"), ParameterName: aws.String("String"), ParameterValue: aws.String("String"), Source: aws.String("String"), }, // More values... }, ResetAllParameters: aws.Bool(true), } resp, err := svc.ResetDBClusterParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ResetDBClusterParameterGroupRequest ¶ added in v0.7.2
func (c *RDS) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage)
ResetDBClusterParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ResetDBClusterParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ResetDBClusterParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ResetDBClusterParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ResetDBClusterParameterGroupRequest method. req, resp := client.ResetDBClusterParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup
func (*RDS) ResetDBParameterGroup ¶
func (c *RDS) ResetDBParameterGroup(input *ResetDBParameterGroupInput) (*DBParameterGroupNameMessage, error)
ResetDBParameterGroup API operation for Amazon Relational Database Service.
Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance restart or RebootDBInstance request.
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 Amazon Relational Database Service's API operation ResetDBParameterGroup for usage and error information.
Returned Error Codes:
ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" The DB parameter group cannot be deleted because it is in use.
ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" DBParameterGroupName does not refer to an existing DB parameter group.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.ResetDBParameterGroupInput{ DBParameterGroupName: aws.String("String"), // Required Parameters: []*rds.Parameter{ { // Required AllowedValues: aws.String("String"), ApplyMethod: aws.String("ApplyMethod"), ApplyType: aws.String("String"), DataType: aws.String("String"), Description: aws.String("String"), IsModifiable: aws.Bool(true), MinimumEngineVersion: aws.String("String"), ParameterName: aws.String("String"), ParameterValue: aws.String("String"), Source: aws.String("String"), }, // More values... }, ResetAllParameters: aws.Bool(true), } resp, err := svc.ResetDBParameterGroup(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) ResetDBParameterGroupRequest ¶
func (c *RDS) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage)
ResetDBParameterGroupRequest generates a "aws/request.Request" representing the client's request for the ResetDBParameterGroup operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ResetDBParameterGroup for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ResetDBParameterGroup method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ResetDBParameterGroupRequest method. req, resp := client.ResetDBParameterGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup
func (*RDS) RestoreDBClusterFromS3 ¶ added in v1.3.1
func (c *RDS) RestoreDBClusterFromS3(input *RestoreDBClusterFromS3Input) (*RestoreDBClusterFromS3Output, error)
RestoreDBClusterFromS3 API operation for Amazon Relational Database Service.
Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data from MySQL by Using an Amazon S3 Bucket (AmazonRDS/latest/UserGuide/Aurora.Migrate.MySQL.html#Aurora.Migrate.MySQL.S3).
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 Amazon Relational Database Service's API operation RestoreDBClusterFromS3 for usage and error information.
Returned Error Codes:
ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.
ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" The DB cluster is not in a valid state.
ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" The DB subnet group cannot be deleted because it is in use.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" The specified Amazon S3 bucket name could not be found or Amazon RDS is not authorized to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and S3IngestionRoleArn values and try again.
ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" DBClusterParameterGroupName does not refer to an existing DB Cluster parameter group.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RestoreDBClusterFromS3Input{ DBClusterIdentifier: aws.String("String"), // Required Engine: aws.String("String"), // Required MasterUserPassword: aws.String("String"), // Required MasterUsername: aws.String("String"), // Required S3BucketName: aws.String("String"), // Required S3IngestionRoleArn: aws.String("String"), // Required SourceEngine: aws.String("String"), // Required SourceEngineVersion: aws.String("String"), // Required AvailabilityZones: []*string{ aws.String("String"), // Required // More values... }, BackupRetentionPeriod: aws.Int64(1), CharacterSetName: aws.String("String"), DBClusterParameterGroupName: aws.String("String"), DBSubnetGroupName: aws.String("String"), DatabaseName: aws.String("String"), EngineVersion: aws.String("String"), KmsKeyId: aws.String("String"), OptionGroupName: aws.String("String"), Port: aws.Int64(1), PreferredBackupWindow: aws.String("String"), PreferredMaintenanceWindow: aws.String("String"), S3Prefix: aws.String("String"), StorageEncrypted: aws.Bool(true), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, VpcSecurityGroupIds: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.RestoreDBClusterFromS3(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RestoreDBClusterFromS3Request ¶ added in v1.3.1
func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) (req *request.Request, output *RestoreDBClusterFromS3Output)
RestoreDBClusterFromS3Request generates a "aws/request.Request" representing the client's request for the RestoreDBClusterFromS3 operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RestoreDBClusterFromS3 for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RestoreDBClusterFromS3 method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RestoreDBClusterFromS3Request method. req, resp := client.RestoreDBClusterFromS3Request(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3
func (*RDS) RestoreDBClusterFromSnapshot ¶ added in v0.7.2
func (c *RDS) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error)
RestoreDBClusterFromSnapshot API operation for Amazon Relational Database Service.
Creates a new DB cluster from a DB cluster snapshot. The target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation RestoreDBClusterFromSnapshot for usage and error information.
Returned Error Codes:
ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.
ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" The DB cluster does not have enough capacity for the current operation.
ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.
ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.
ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeInvalidRestoreFault "InvalidRestoreFault" Cannot restore from vpc backup to non-vpc DB instance.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RestoreDBClusterFromSnapshotInput{ DBClusterIdentifier: aws.String("String"), // Required Engine: aws.String("String"), // Required SnapshotIdentifier: aws.String("String"), // Required AvailabilityZones: []*string{ aws.String("String"), // Required // More values... }, DBSubnetGroupName: aws.String("String"), DatabaseName: aws.String("String"), EngineVersion: aws.String("String"), KmsKeyId: aws.String("String"), OptionGroupName: aws.String("String"), Port: aws.Int64(1), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, VpcSecurityGroupIds: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.RestoreDBClusterFromSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RestoreDBClusterFromSnapshotRequest ¶ added in v0.7.2
func (c *RDS) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput)
RestoreDBClusterFromSnapshotRequest generates a "aws/request.Request" representing the client's request for the RestoreDBClusterFromSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RestoreDBClusterFromSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RestoreDBClusterFromSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RestoreDBClusterFromSnapshotRequest method. req, resp := client.RestoreDBClusterFromSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot
func (*RDS) RestoreDBClusterToPointInTime ¶ added in v0.7.2
func (c *RDS) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error)
RestoreDBClusterToPointInTime API operation for Amazon Relational Database Service.
Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group.
For more information on Amazon Aurora, see Aurora on Amazon RDS (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon Relational Database Service's API operation RestoreDBClusterToPointInTime for usage and error information.
Returned Error Codes:
ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" User already has a DB cluster with the given identifier.
ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" User attempted to create a new DB cluster and the user has already reached the maximum allowed DB cluster quota.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" The DB cluster does not have enough capacity for the current operation.
ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" There is insufficient storage available for the current action. You may be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.
ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.
ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" The supplied value is not a valid DB cluster snapshot state.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeInvalidRestoreFault "InvalidRestoreFault" Cannot restore from vpc backup to non-vpc DB instance.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RestoreDBClusterToPointInTimeInput{ DBClusterIdentifier: aws.String("String"), // Required SourceDBClusterIdentifier: aws.String("String"), // Required DBSubnetGroupName: aws.String("String"), KmsKeyId: aws.String("String"), OptionGroupName: aws.String("String"), Port: aws.Int64(1), RestoreToTime: aws.Time(time.Now()), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, UseLatestRestorableTime: aws.Bool(true), VpcSecurityGroupIds: []*string{ aws.String("String"), // Required // More values... }, } resp, err := svc.RestoreDBClusterToPointInTime(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RestoreDBClusterToPointInTimeRequest ¶ added in v0.7.2
func (c *RDS) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput)
RestoreDBClusterToPointInTimeRequest generates a "aws/request.Request" representing the client's request for the RestoreDBClusterToPointInTime operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RestoreDBClusterToPointInTime for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RestoreDBClusterToPointInTime method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RestoreDBClusterToPointInTimeRequest method. req, resp := client.RestoreDBClusterToPointInTimeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime
func (*RDS) RestoreDBInstanceFromDBSnapshot ¶
func (c *RDS) RestoreDBInstanceFromDBSnapshot(input *RestoreDBInstanceFromDBSnapshotInput) (*RestoreDBInstanceFromDBSnapshotOutput, error)
RestoreDBInstanceFromDBSnapshot API operation for Amazon Relational Database Service.
Creates a new DB instance from a DB snapshot. The target database is created from the source database restore point with the most of original configuration with the default security group and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored AZ deployment and not a single-AZ deployment.
If your intent is to replace your original DB instance with the new, restored DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot action. RDS does not allow two DB instances with the same name. Once you have renamed your original DB instance with a different identifier, then you can pass the original name of the DB instance as the DBInstanceIdentifier in the call to the RestoreDBInstanceFromDBSnapshot action. The result is that you will replace the original DB instance with the DB instance created from the snapshot.
If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot.
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 Amazon Relational Database Service's API operation RestoreDBInstanceFromDBSnapshot for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" User already has a DB instance with the given identifier.
ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" Request would result in user exceeding the allowed number of DB instances.
ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" Specified DB instance class is not available in the specified Availability Zone.
ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" The state of the DB snapshot does not allow deletion.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeInvalidRestoreFault "InvalidRestoreFault" Cannot restore from vpc backup to non-vpc DB instance.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" Provisioned IOPS not available in the specified Availability Zone.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" StorageType specified cannot be associated with the DB Instance.
ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.
RDS may not also be authorized via IAM to perform necessary actions on your behalf.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeDomainNotFoundFault "DomainNotFoundFault" Domain does not refer to an existing Active Directory Domain.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RestoreDBInstanceFromDBSnapshotInput{ DBInstanceIdentifier: aws.String("String"), // Required DBSnapshotIdentifier: aws.String("String"), // Required AutoMinorVersionUpgrade: aws.Bool(true), AvailabilityZone: aws.String("String"), CopyTagsToSnapshot: aws.Bool(true), DBInstanceClass: aws.String("String"), DBName: aws.String("String"), DBSubnetGroupName: aws.String("String"), Domain: aws.String("String"), DomainIAMRoleName: aws.String("String"), Engine: aws.String("String"), Iops: aws.Int64(1), LicenseModel: aws.String("String"), MultiAZ: aws.Bool(true), OptionGroupName: aws.String("String"), Port: aws.Int64(1), PubliclyAccessible: aws.Bool(true), StorageType: aws.String("String"), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, TdeCredentialArn: aws.String("String"), TdeCredentialPassword: aws.String("String"), } resp, err := svc.RestoreDBInstanceFromDBSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RestoreDBInstanceFromDBSnapshotRequest ¶
func (c *RDS) RestoreDBInstanceFromDBSnapshotRequest(input *RestoreDBInstanceFromDBSnapshotInput) (req *request.Request, output *RestoreDBInstanceFromDBSnapshotOutput)
RestoreDBInstanceFromDBSnapshotRequest generates a "aws/request.Request" representing the client's request for the RestoreDBInstanceFromDBSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RestoreDBInstanceFromDBSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RestoreDBInstanceFromDBSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RestoreDBInstanceFromDBSnapshotRequest method. req, resp := client.RestoreDBInstanceFromDBSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot
func (*RDS) RestoreDBInstanceToPointInTime ¶
func (c *RDS) RestoreDBInstanceToPointInTime(input *RestoreDBInstanceToPointInTimeInput) (*RestoreDBInstanceToPointInTimeOutput, error)
RestoreDBInstanceToPointInTime API operation for Amazon Relational Database Service.
Restores a DB instance to an arbitrary point in time. You can restore to any point in time before the time identified by the LatestRestorableTime property. You can restore to a point up to the number of days specified by the BackupRetentionPeriod property.
The target database is created with most of the original configuration, but in a system-selected availability zone, with the default security group, the default subnet group, and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored deployment and not a single-AZ deployment.
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 Amazon Relational Database Service's API operation RestoreDBInstanceToPointInTime for usage and error information.
Returned Error Codes:
ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" User already has a DB instance with the given identifier.
ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" Request would result in user exceeding the allowed number of DB instances.
ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" Specified DB instance class is not available in the specified Availability Zone.
ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" The specified DB instance is not in the available state.
ErrCodePointInTimeRestoreNotEnabledFault "PointInTimeRestoreNotEnabled" SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod equal to 0.
ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" Request would result in user exceeding the allowed amount of storage available across all DB instances.
ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" DB subnet group does not cover all Availability Zones after it is created because users' change.
ErrCodeInvalidRestoreFault "InvalidRestoreFault" Cannot restore from vpc backup to non-vpc DB instance.
ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
ErrCodeInvalidSubnet "InvalidSubnet" The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" Provisioned IOPS not available in the specified Availability Zone.
ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" The specified option group could not be found.
ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" StorageType specified cannot be associated with the DB Instance.
ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.
RDS may not also be authorized via IAM to perform necessary actions on your behalf.
ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" Error accessing KMS key.
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeDomainNotFoundFault "DomainNotFoundFault" Domain does not refer to an existing Active Directory Domain.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime
Example ¶
package main import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RestoreDBInstanceToPointInTimeInput{ SourceDBInstanceIdentifier: aws.String("String"), // Required TargetDBInstanceIdentifier: aws.String("String"), // Required AutoMinorVersionUpgrade: aws.Bool(true), AvailabilityZone: aws.String("String"), CopyTagsToSnapshot: aws.Bool(true), DBInstanceClass: aws.String("String"), DBName: aws.String("String"), DBSubnetGroupName: aws.String("String"), Domain: aws.String("String"), DomainIAMRoleName: aws.String("String"), Engine: aws.String("String"), Iops: aws.Int64(1), LicenseModel: aws.String("String"), MultiAZ: aws.Bool(true), OptionGroupName: aws.String("String"), Port: aws.Int64(1), PubliclyAccessible: aws.Bool(true), RestoreTime: aws.Time(time.Now()), StorageType: aws.String("String"), Tags: []*rds.Tag{ { // Required Key: aws.String("String"), Value: aws.String("String"), }, // More values... }, TdeCredentialArn: aws.String("String"), TdeCredentialPassword: aws.String("String"), UseLatestRestorableTime: aws.Bool(true), } resp, err := svc.RestoreDBInstanceToPointInTime(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RestoreDBInstanceToPointInTimeRequest ¶
func (c *RDS) RestoreDBInstanceToPointInTimeRequest(input *RestoreDBInstanceToPointInTimeInput) (req *request.Request, output *RestoreDBInstanceToPointInTimeOutput)
RestoreDBInstanceToPointInTimeRequest generates a "aws/request.Request" representing the client's request for the RestoreDBInstanceToPointInTime operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RestoreDBInstanceToPointInTime for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RestoreDBInstanceToPointInTime method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RestoreDBInstanceToPointInTimeRequest method. req, resp := client.RestoreDBInstanceToPointInTimeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime
func (*RDS) RevokeDBSecurityGroupIngress ¶
func (c *RDS) RevokeDBSecurityGroupIngress(input *RevokeDBSecurityGroupIngressInput) (*RevokeDBSecurityGroupIngressOutput, error)
RevokeDBSecurityGroupIngress API operation for Amazon Relational Database Service.
Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC Security Groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).
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 Amazon Relational Database Service's API operation RevokeDBSecurityGroupIngress for usage and error information.
Returned Error Codes:
ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" Specified CIDRIP or EC2 security group is not authorized for the specified DB security group.
RDS may not also be authorized via IAM to perform necessary actions on your behalf.
ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" The state of the DB security group does not allow deletion.
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/rds" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := rds.New(sess) params := &rds.RevokeDBSecurityGroupIngressInput{ DBSecurityGroupName: aws.String("String"), // Required CIDRIP: aws.String("String"), EC2SecurityGroupId: aws.String("String"), EC2SecurityGroupName: aws.String("String"), EC2SecurityGroupOwnerId: aws.String("String"), } resp, err := svc.RevokeDBSecurityGroupIngress(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*RDS) RevokeDBSecurityGroupIngressRequest ¶
func (c *RDS) RevokeDBSecurityGroupIngressRequest(input *RevokeDBSecurityGroupIngressInput) (req *request.Request, output *RevokeDBSecurityGroupIngressOutput)
RevokeDBSecurityGroupIngressRequest generates a "aws/request.Request" representing the client's request for the RevokeDBSecurityGroupIngress operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RevokeDBSecurityGroupIngress for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RevokeDBSecurityGroupIngress method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RevokeDBSecurityGroupIngressRequest method. req, resp := client.RevokeDBSecurityGroupIngressRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress
func (*RDS) WaitUntilDBInstanceAvailable ¶ added in v0.10.3
func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) error
WaitUntilDBInstanceAvailable uses the Amazon RDS API operation DescribeDBInstances to wait for a condition to be met before returning. If the condition is not meet within the max attempt window an error will be returned.
func (*RDS) WaitUntilDBInstanceDeleted ¶ added in v0.10.3
func (c *RDS) WaitUntilDBInstanceDeleted(input *DescribeDBInstancesInput) error
WaitUntilDBInstanceDeleted uses the Amazon RDS API operation DescribeDBInstances to wait for a condition to be met before returning. If the condition is not meet within the max attempt window an error will be returned.
type RebootDBInstanceInput ¶
type RebootDBInstanceInput struct { // The DB instance identifier. This parameter is stored as a lowercase string. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // When true, the reboot will be conducted through a MultiAZ failover. // // Constraint: You cannot specify true if the instance is not configured for // MultiAZ. ForceFailover *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceMessage
func (RebootDBInstanceInput) GoString ¶ added in v0.6.6
func (s RebootDBInstanceInput) GoString() string
GoString returns the string representation
func (*RebootDBInstanceInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *RebootDBInstanceInput) SetDBInstanceIdentifier(v string) *RebootDBInstanceInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*RebootDBInstanceInput) SetForceFailover ¶ added in v1.5.0
func (s *RebootDBInstanceInput) SetForceFailover(v bool) *RebootDBInstanceInput
SetForceFailover sets the ForceFailover field's value.
func (RebootDBInstanceInput) String ¶ added in v0.6.6
func (s RebootDBInstanceInput) String() string
String returns the string representation
func (*RebootDBInstanceInput) Validate ¶ added in v1.1.22
func (s *RebootDBInstanceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RebootDBInstanceOutput ¶
type RebootDBInstanceOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceResult
func (RebootDBInstanceOutput) GoString ¶ added in v0.6.6
func (s RebootDBInstanceOutput) GoString() string
GoString returns the string representation
func (*RebootDBInstanceOutput) SetDBInstance ¶ added in v1.5.0
func (s *RebootDBInstanceOutput) SetDBInstance(v *DBInstance) *RebootDBInstanceOutput
SetDBInstance sets the DBInstance field's value.
func (RebootDBInstanceOutput) String ¶ added in v0.6.6
func (s RebootDBInstanceOutput) String() string
String returns the string representation
type RecurringCharge ¶
type RecurringCharge struct { // The amount of the recurring charge. RecurringChargeAmount *float64 `type:"double"` // The frequency of the recurring charge. RecurringChargeFrequency *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RecurringCharge
func (RecurringCharge) GoString ¶ added in v0.6.6
func (s RecurringCharge) GoString() string
GoString returns the string representation
func (*RecurringCharge) SetRecurringChargeAmount ¶ added in v1.5.0
func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge
SetRecurringChargeAmount sets the RecurringChargeAmount field's value.
func (*RecurringCharge) SetRecurringChargeFrequency ¶ added in v1.5.0
func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge
SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value.
func (RecurringCharge) String ¶ added in v0.6.6
func (s RecurringCharge) String() string
String returns the string representation
type RemoveRoleFromDBClusterInput ¶ added in v1.4.20
type RemoveRoleFromDBClusterInput struct { // The name of the DB cluster to disassociate the IAM role rom. // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the IAM role to disassociate from the Aurora // DB cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole. // // RoleArn is a required field RoleArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterMessage
func (RemoveRoleFromDBClusterInput) GoString ¶ added in v1.4.20
func (s RemoveRoleFromDBClusterInput) GoString() string
GoString returns the string representation
func (*RemoveRoleFromDBClusterInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *RemoveRoleFromDBClusterInput) SetDBClusterIdentifier(v string) *RemoveRoleFromDBClusterInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*RemoveRoleFromDBClusterInput) SetRoleArn ¶ added in v1.5.0
func (s *RemoveRoleFromDBClusterInput) SetRoleArn(v string) *RemoveRoleFromDBClusterInput
SetRoleArn sets the RoleArn field's value.
func (RemoveRoleFromDBClusterInput) String ¶ added in v1.4.20
func (s RemoveRoleFromDBClusterInput) String() string
String returns the string representation
func (*RemoveRoleFromDBClusterInput) Validate ¶ added in v1.4.20
func (s *RemoveRoleFromDBClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveRoleFromDBClusterOutput ¶ added in v1.4.20
type RemoveRoleFromDBClusterOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterOutput
func (RemoveRoleFromDBClusterOutput) GoString ¶ added in v1.4.20
func (s RemoveRoleFromDBClusterOutput) GoString() string
GoString returns the string representation
func (RemoveRoleFromDBClusterOutput) String ¶ added in v1.4.20
func (s RemoveRoleFromDBClusterOutput) String() string
String returns the string representation
type RemoveSourceIdentifierFromSubscriptionInput ¶
type RemoveSourceIdentifierFromSubscriptionInput struct { // The source identifier to be removed from the subscription, such as the DB // instance identifier for a DB instance or the name of a security group. // // SourceIdentifier is a required field SourceIdentifier *string `type:"string" required:"true"` // The name of the RDS event notification subscription you want to remove a // source identifier from. // // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscriptionMessage
func (RemoveSourceIdentifierFromSubscriptionInput) GoString ¶ added in v0.6.6
func (s RemoveSourceIdentifierFromSubscriptionInput) GoString() string
GoString returns the string representation
func (*RemoveSourceIdentifierFromSubscriptionInput) SetSourceIdentifier ¶ added in v1.5.0
func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSourceIdentifier(v string) *RemoveSourceIdentifierFromSubscriptionInput
SetSourceIdentifier sets the SourceIdentifier field's value.
func (*RemoveSourceIdentifierFromSubscriptionInput) SetSubscriptionName ¶ added in v1.5.0
func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSubscriptionName(v string) *RemoveSourceIdentifierFromSubscriptionInput
SetSubscriptionName sets the SubscriptionName field's value.
func (RemoveSourceIdentifierFromSubscriptionInput) String ¶ added in v0.6.6
func (s RemoveSourceIdentifierFromSubscriptionInput) String() string
String returns the string representation
func (*RemoveSourceIdentifierFromSubscriptionInput) Validate ¶ added in v1.1.22
func (s *RemoveSourceIdentifierFromSubscriptionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveSourceIdentifierFromSubscriptionOutput ¶
type RemoveSourceIdentifierFromSubscriptionOutput struct { // Contains the results of a successful invocation of the DescribeEventSubscriptions // action. EventSubscription *EventSubscription `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscriptionResult
func (RemoveSourceIdentifierFromSubscriptionOutput) GoString ¶ added in v0.6.6
func (s RemoveSourceIdentifierFromSubscriptionOutput) GoString() string
GoString returns the string representation
func (*RemoveSourceIdentifierFromSubscriptionOutput) SetEventSubscription ¶ added in v1.5.0
func (s *RemoveSourceIdentifierFromSubscriptionOutput) SetEventSubscription(v *EventSubscription) *RemoveSourceIdentifierFromSubscriptionOutput
SetEventSubscription sets the EventSubscription field's value.
func (RemoveSourceIdentifierFromSubscriptionOutput) String ¶ added in v0.6.6
func (s RemoveSourceIdentifierFromSubscriptionOutput) String() string
String returns the string representation
type RemoveTagsFromResourceInput ¶
type RemoveTagsFromResourceInput struct { // The Amazon RDS resource the tags will be removed from. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). // // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // The tag key (name) of the tag to be removed. // // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceMessage
func (RemoveTagsFromResourceInput) GoString ¶ added in v0.6.6
func (s RemoveTagsFromResourceInput) GoString() string
GoString returns the string representation
func (*RemoveTagsFromResourceInput) SetResourceName ¶ added in v1.5.0
func (s *RemoveTagsFromResourceInput) SetResourceName(v string) *RemoveTagsFromResourceInput
SetResourceName sets the ResourceName field's value.
func (*RemoveTagsFromResourceInput) SetTagKeys ¶ added in v1.5.0
func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput
SetTagKeys sets the TagKeys field's value.
func (RemoveTagsFromResourceInput) String ¶ added in v0.6.6
func (s RemoveTagsFromResourceInput) String() string
String returns the string representation
func (*RemoveTagsFromResourceInput) Validate ¶ added in v1.1.22
func (s *RemoveTagsFromResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsFromResourceOutput ¶
type RemoveTagsFromResourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceOutput
func (RemoveTagsFromResourceOutput) GoString ¶ added in v0.6.6
func (s RemoveTagsFromResourceOutput) GoString() string
GoString returns the string representation
func (RemoveTagsFromResourceOutput) String ¶ added in v0.6.6
func (s RemoveTagsFromResourceOutput) String() string
String returns the string representation
type ReservedDBInstance ¶
type ReservedDBInstance struct { // The currency code for the reserved DB instance. CurrencyCode *string `type:"string"` // The DB instance class for the reserved DB instance. DBInstanceClass *string `type:"string"` // The number of reserved DB instances. DBInstanceCount *int64 `type:"integer"` // The duration of the reservation in seconds. Duration *int64 `type:"integer"` // The fixed price charged for this reserved DB instance. FixedPrice *float64 `type:"double"` // Indicates if the reservation applies to Multi-AZ deployments. MultiAZ *bool `type:"boolean"` // The offering type of this reserved DB instance. OfferingType *string `type:"string"` // The description of the reserved DB instance. ProductDescription *string `type:"string"` // The recurring price charged to run this reserved DB instance. RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"` // The Amazon Resource Name (ARN) for the reserved DB instance. ReservedDBInstanceArn *string `type:"string"` // The unique identifier for the reservation. ReservedDBInstanceId *string `type:"string"` // The offering identifier. ReservedDBInstancesOfferingId *string `type:"string"` // The time the reservation started. StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The state of the reserved DB instance. State *string `type:"string"` // The hourly price charged for this reserved DB instance. UsagePrice *float64 `type:"double"` // contains filtered or unexported fields }
This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstance
func (ReservedDBInstance) GoString ¶ added in v0.6.6
func (s ReservedDBInstance) GoString() string
GoString returns the string representation
func (*ReservedDBInstance) SetCurrencyCode ¶ added in v1.5.0
func (s *ReservedDBInstance) SetCurrencyCode(v string) *ReservedDBInstance
SetCurrencyCode sets the CurrencyCode field's value.
func (*ReservedDBInstance) SetDBInstanceClass ¶ added in v1.5.0
func (s *ReservedDBInstance) SetDBInstanceClass(v string) *ReservedDBInstance
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*ReservedDBInstance) SetDBInstanceCount ¶ added in v1.5.0
func (s *ReservedDBInstance) SetDBInstanceCount(v int64) *ReservedDBInstance
SetDBInstanceCount sets the DBInstanceCount field's value.
func (*ReservedDBInstance) SetDuration ¶ added in v1.5.0
func (s *ReservedDBInstance) SetDuration(v int64) *ReservedDBInstance
SetDuration sets the Duration field's value.
func (*ReservedDBInstance) SetFixedPrice ¶ added in v1.5.0
func (s *ReservedDBInstance) SetFixedPrice(v float64) *ReservedDBInstance
SetFixedPrice sets the FixedPrice field's value.
func (*ReservedDBInstance) SetMultiAZ ¶ added in v1.5.0
func (s *ReservedDBInstance) SetMultiAZ(v bool) *ReservedDBInstance
SetMultiAZ sets the MultiAZ field's value.
func (*ReservedDBInstance) SetOfferingType ¶ added in v1.5.0
func (s *ReservedDBInstance) SetOfferingType(v string) *ReservedDBInstance
SetOfferingType sets the OfferingType field's value.
func (*ReservedDBInstance) SetProductDescription ¶ added in v1.5.0
func (s *ReservedDBInstance) SetProductDescription(v string) *ReservedDBInstance
SetProductDescription sets the ProductDescription field's value.
func (*ReservedDBInstance) SetRecurringCharges ¶ added in v1.5.0
func (s *ReservedDBInstance) SetRecurringCharges(v []*RecurringCharge) *ReservedDBInstance
SetRecurringCharges sets the RecurringCharges field's value.
func (*ReservedDBInstance) SetReservedDBInstanceArn ¶ added in v1.5.0
func (s *ReservedDBInstance) SetReservedDBInstanceArn(v string) *ReservedDBInstance
SetReservedDBInstanceArn sets the ReservedDBInstanceArn field's value.
func (*ReservedDBInstance) SetReservedDBInstanceId ¶ added in v1.5.0
func (s *ReservedDBInstance) SetReservedDBInstanceId(v string) *ReservedDBInstance
SetReservedDBInstanceId sets the ReservedDBInstanceId field's value.
func (*ReservedDBInstance) SetReservedDBInstancesOfferingId ¶ added in v1.5.0
func (s *ReservedDBInstance) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstance
SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
func (*ReservedDBInstance) SetStartTime ¶ added in v1.5.0
func (s *ReservedDBInstance) SetStartTime(v time.Time) *ReservedDBInstance
SetStartTime sets the StartTime field's value.
func (*ReservedDBInstance) SetState ¶ added in v1.5.0
func (s *ReservedDBInstance) SetState(v string) *ReservedDBInstance
SetState sets the State field's value.
func (*ReservedDBInstance) SetUsagePrice ¶ added in v1.5.0
func (s *ReservedDBInstance) SetUsagePrice(v float64) *ReservedDBInstance
SetUsagePrice sets the UsagePrice field's value.
func (ReservedDBInstance) String ¶ added in v0.6.6
func (s ReservedDBInstance) String() string
String returns the string representation
type ReservedDBInstancesOffering ¶
type ReservedDBInstancesOffering struct { // The currency code for the reserved DB instance offering. CurrencyCode *string `type:"string"` // The DB instance class for the reserved DB instance. DBInstanceClass *string `type:"string"` // The duration of the offering in seconds. Duration *int64 `type:"integer"` // The fixed price charged for this offering. FixedPrice *float64 `type:"double"` // Indicates if the offering applies to Multi-AZ deployments. MultiAZ *bool `type:"boolean"` // The offering type. OfferingType *string `type:"string"` // The database engine used by the offering. ProductDescription *string `type:"string"` // The recurring price charged to run this reserved DB instance. RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"` // The offering identifier. ReservedDBInstancesOfferingId *string `type:"string"` // The hourly price charged for this offering. UsagePrice *float64 `type:"double"` // contains filtered or unexported fields }
This data type is used as a response element in the DescribeReservedDBInstancesOfferings action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOffering
func (ReservedDBInstancesOffering) GoString ¶ added in v0.6.6
func (s ReservedDBInstancesOffering) GoString() string
GoString returns the string representation
func (*ReservedDBInstancesOffering) SetCurrencyCode ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetCurrencyCode(v string) *ReservedDBInstancesOffering
SetCurrencyCode sets the CurrencyCode field's value.
func (*ReservedDBInstancesOffering) SetDBInstanceClass ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetDBInstanceClass(v string) *ReservedDBInstancesOffering
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*ReservedDBInstancesOffering) SetDuration ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetDuration(v int64) *ReservedDBInstancesOffering
SetDuration sets the Duration field's value.
func (*ReservedDBInstancesOffering) SetFixedPrice ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetFixedPrice(v float64) *ReservedDBInstancesOffering
SetFixedPrice sets the FixedPrice field's value.
func (*ReservedDBInstancesOffering) SetMultiAZ ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetMultiAZ(v bool) *ReservedDBInstancesOffering
SetMultiAZ sets the MultiAZ field's value.
func (*ReservedDBInstancesOffering) SetOfferingType ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetOfferingType(v string) *ReservedDBInstancesOffering
SetOfferingType sets the OfferingType field's value.
func (*ReservedDBInstancesOffering) SetProductDescription ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetProductDescription(v string) *ReservedDBInstancesOffering
SetProductDescription sets the ProductDescription field's value.
func (*ReservedDBInstancesOffering) SetRecurringCharges ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedDBInstancesOffering
SetRecurringCharges sets the RecurringCharges field's value.
func (*ReservedDBInstancesOffering) SetReservedDBInstancesOfferingId ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstancesOffering
SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.
func (*ReservedDBInstancesOffering) SetUsagePrice ¶ added in v1.5.0
func (s *ReservedDBInstancesOffering) SetUsagePrice(v float64) *ReservedDBInstancesOffering
SetUsagePrice sets the UsagePrice field's value.
func (ReservedDBInstancesOffering) String ¶ added in v0.6.6
func (s ReservedDBInstancesOffering) String() string
String returns the string representation
type ResetDBClusterParameterGroupInput ¶ added in v0.7.2
type ResetDBClusterParameterGroupInput struct { // The name of the DB cluster parameter group to reset. // // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // A list of parameter names in the DB cluster parameter group to reset to the // default values. You cannot use this parameter if the ResetAllParameters parameter // is set to true. Parameters []*Parameter `locationNameList:"Parameter" type:"list"` // A value that is set to true to reset all parameters in the DB cluster parameter // group to their default values, and false otherwise. You cannot use this parameter // if there is a list of parameter names specified for the Parameters parameter. ResetAllParameters *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroupMessage
func (ResetDBClusterParameterGroupInput) GoString ¶ added in v0.7.2
func (s ResetDBClusterParameterGroupInput) GoString() string
GoString returns the string representation
func (*ResetDBClusterParameterGroupInput) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *ResetDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ResetDBClusterParameterGroupInput
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*ResetDBClusterParameterGroupInput) SetParameters ¶ added in v1.5.0
func (s *ResetDBClusterParameterGroupInput) SetParameters(v []*Parameter) *ResetDBClusterParameterGroupInput
SetParameters sets the Parameters field's value.
func (*ResetDBClusterParameterGroupInput) SetResetAllParameters ¶ added in v1.5.0
func (s *ResetDBClusterParameterGroupInput) SetResetAllParameters(v bool) *ResetDBClusterParameterGroupInput
SetResetAllParameters sets the ResetAllParameters field's value.
func (ResetDBClusterParameterGroupInput) String ¶ added in v0.7.2
func (s ResetDBClusterParameterGroupInput) String() string
String returns the string representation
func (*ResetDBClusterParameterGroupInput) Validate ¶ added in v1.1.22
func (s *ResetDBClusterParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetDBParameterGroupInput ¶
type ResetDBParameterGroupInput struct { // The name of the DB parameter group. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // An array of parameter names, values, and the apply method for the parameter // update. At least one parameter name, value, and apply method must be supplied; // subsequent arguments are optional. A maximum of 20 parameters can be modified // in a single request. // // MySQL // // Valid Values (for Apply method): immediate | pending-reboot // // You can use the immediate value with dynamic parameters only. You can use // the pending-reboot value for both dynamic and static parameters, and changes // are applied when DB instance reboots. // // MariaDB // // Valid Values (for Apply method): immediate | pending-reboot // // You can use the immediate value with dynamic parameters only. You can use // the pending-reboot value for both dynamic and static parameters, and changes // are applied when DB instance reboots. // // Oracle // // Valid Values (for Apply method): pending-reboot Parameters []*Parameter `locationNameList:"Parameter" type:"list"` // Specifies whether (true) or not (false) to reset all parameters in the DB // parameter group to default values. // // Default: true ResetAllParameters *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroupMessage
func (ResetDBParameterGroupInput) GoString ¶ added in v0.6.6
func (s ResetDBParameterGroupInput) GoString() string
GoString returns the string representation
func (*ResetDBParameterGroupInput) SetDBParameterGroupName ¶ added in v1.5.0
func (s *ResetDBParameterGroupInput) SetDBParameterGroupName(v string) *ResetDBParameterGroupInput
SetDBParameterGroupName sets the DBParameterGroupName field's value.
func (*ResetDBParameterGroupInput) SetParameters ¶ added in v1.5.0
func (s *ResetDBParameterGroupInput) SetParameters(v []*Parameter) *ResetDBParameterGroupInput
SetParameters sets the Parameters field's value.
func (*ResetDBParameterGroupInput) SetResetAllParameters ¶ added in v1.5.0
func (s *ResetDBParameterGroupInput) SetResetAllParameters(v bool) *ResetDBParameterGroupInput
SetResetAllParameters sets the ResetAllParameters field's value.
func (ResetDBParameterGroupInput) String ¶ added in v0.6.6
func (s ResetDBParameterGroupInput) String() string
String returns the string representation
func (*ResetDBParameterGroupInput) Validate ¶ added in v1.1.22
func (s *ResetDBParameterGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourcePendingMaintenanceActions ¶
type ResourcePendingMaintenanceActions struct { // A list that provides details about the pending maintenance actions for the // resource. PendingMaintenanceActionDetails []*PendingMaintenanceAction `locationNameList:"PendingMaintenanceAction" type:"list"` // The ARN of the resource that has pending maintenance actions. ResourceIdentifier *string `type:"string"` // contains filtered or unexported fields }
Describes the pending maintenance actions for a resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResourcePendingMaintenanceActions
func (ResourcePendingMaintenanceActions) GoString ¶ added in v0.6.6
func (s ResourcePendingMaintenanceActions) GoString() string
GoString returns the string representation
func (*ResourcePendingMaintenanceActions) SetPendingMaintenanceActionDetails ¶ added in v1.5.0
func (s *ResourcePendingMaintenanceActions) SetPendingMaintenanceActionDetails(v []*PendingMaintenanceAction) *ResourcePendingMaintenanceActions
SetPendingMaintenanceActionDetails sets the PendingMaintenanceActionDetails field's value.
func (*ResourcePendingMaintenanceActions) SetResourceIdentifier ¶ added in v1.5.0
func (s *ResourcePendingMaintenanceActions) SetResourceIdentifier(v string) *ResourcePendingMaintenanceActions
SetResourceIdentifier sets the ResourceIdentifier field's value.
func (ResourcePendingMaintenanceActions) String ¶ added in v0.6.6
func (s ResourcePendingMaintenanceActions) String() string
String returns the string representation
type RestoreDBClusterFromS3Input ¶ added in v1.3.1
type RestoreDBClusterFromS3Input struct { // A list of EC2 Availability Zones that instances in the restored DB cluster // can be created in. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"` // The number of days for which automated backups of the restored DB cluster // are retained. You must specify a minimum value of 1. // // Default: 1 // // Constraints: // // * Must be a value from 1 to 35 BackupRetentionPeriod *int64 `type:"integer"` // A value that indicates that the restored DB cluster should be associated // with the specified CharacterSet. CharacterSetName *string `type:"string"` // The name of the DB cluster to create from the source data in the S3 bucket. // This parameter is isn't case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens. // // * First character must be a letter. // // * Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1 // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB cluster parameter group to associate with the restored // DB cluster. If this argument is omitted, default.aurora5.6 will be used. // // Constraints: // // * Must be 1 to 255 alphanumeric characters // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens DBClusterParameterGroupName *string `type:"string"` // A DB subnet group to associate with the restored DB cluster. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` // The database name for the restored DB cluster. DatabaseName *string `type:"string"` // The name of the database engine to be used for the restored DB cluster. // // Valid Values: aurora // // Engine is a required field Engine *string `type:"string" required:"true"` // The version number of the database engine to use. // // Aurora // // Example: 5.6.10a EngineVersion *string `type:"string"` // The KMS key identifier for an encrypted DB cluster. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are creating a DB cluster with the same AWS account that owns // the KMS encryption key used to encrypt the new DB cluster, then you can use // the KMS key alias instead of the ARN for the KM encryption key. // // If the StorageEncrypted parameter is true, and you do not specify a value // for the KmsKeyId parameter, then Amazon RDS will use your default encryption // key. AWS KMS creates the default encryption key for your AWS account. Your // AWS account has a different default encryption key for each AWS region. KmsKeyId *string `type:"string"` // The password for the master database user. This password can contain any // printable ASCII character except "/", """, or "@". // // Constraints: Must contain from 8 to 41 characters. // // MasterUserPassword is a required field MasterUserPassword *string `type:"string" required:"true"` // The name of the master user for the restored DB cluster. // // Constraints: // // * Must be 1 to 16 alphanumeric characters. // // * First character must be a letter. // // * Cannot be a reserved word for the chosen database engine. // // MasterUsername is a required field MasterUsername *string `type:"string" required:"true"` // A value that indicates that the restored DB cluster should be associated // with the specified option group. // // Permanent options cannot be removed from an option group. An option group // cannot be removed from a DB cluster once it is associated with a DB cluster. OptionGroupName *string `type:"string"` // The port number on which the instances in the restored DB cluster accept // connections. // // Default: 3306 Port *int64 `type:"integer"` // The daily time range during which automated backups are created if automated // backups are enabled using the BackupRetentionPeriod parameter. // // Default: A 30-minute window selected at random from an 8-hour block of time // per region. To see the time blocks available, see Adjusting the Preferred // Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Constraints: // // * Must be in the format hh24:mi-hh24:mi. // // * Times should be in Universal Coordinated Time (UTC). // // * Must not conflict with the preferred maintenance window. // // * Must be at least 30 minutes. PreferredBackupWindow *string `type:"string"` // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). // // Format: ddd:hh24:mi-ddd:hh24:mi // // Default: A 30-minute window selected at random from an 8-hour block of time // per region, occurring on a random day of the week. To see the time blocks // available, see Adjusting the Preferred Maintenance Window (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AdjustingTheMaintenanceWindow.html) // in the Amazon RDS User Guide. // // Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun // // Constraints: Minimum 30-minute window. PreferredMaintenanceWindow *string `type:"string"` // The name of the Amazon S3 bucket that contains the data used to create the // Amazon Aurora DB cluster. // // S3BucketName is a required field S3BucketName *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the AWS Identity and Access Management // (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your // behalf. // // S3IngestionRoleArn is a required field S3IngestionRoleArn *string `type:"string" required:"true"` // The prefix for all of the file names that contain the data used to create // the Amazon Aurora DB cluster. If you do not specify a SourceS3Prefix value, // then the Amazon Aurora DB cluster is created by using all of the files in // the Amazon S3 bucket. S3Prefix *string `type:"string"` // The identifier for the database engine that was backed up to create the files // stored in the Amazon S3 bucket. // // Valid values: mysql // // SourceEngine is a required field SourceEngine *string `type:"string" required:"true"` // The version of the database that the backup files were created from. // // MySQL version 5.5 and 5.6 are supported. // // Example: 5.6.22 // // SourceEngineVersion is a required field SourceEngineVersion *string `type:"string" required:"true"` // Specifies whether the restored DB cluster is encrypted. StorageEncrypted *bool `type:"boolean"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // A list of EC2 VPC security groups to associate with the restored DB cluster. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message
func (RestoreDBClusterFromS3Input) GoString ¶ added in v1.3.1
func (s RestoreDBClusterFromS3Input) GoString() string
GoString returns the string representation
func (*RestoreDBClusterFromS3Input) SetAvailabilityZones ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetAvailabilityZones(v []*string) *RestoreDBClusterFromS3Input
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*RestoreDBClusterFromS3Input) SetBackupRetentionPeriod ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetBackupRetentionPeriod(v int64) *RestoreDBClusterFromS3Input
SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value.
func (*RestoreDBClusterFromS3Input) SetCharacterSetName ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetCharacterSetName(v string) *RestoreDBClusterFromS3Input
SetCharacterSetName sets the CharacterSetName field's value.
func (*RestoreDBClusterFromS3Input) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetDBClusterIdentifier(v string) *RestoreDBClusterFromS3Input
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*RestoreDBClusterFromS3Input) SetDBClusterParameterGroupName ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetDBClusterParameterGroupName(v string) *RestoreDBClusterFromS3Input
SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value.
func (*RestoreDBClusterFromS3Input) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetDBSubnetGroupName(v string) *RestoreDBClusterFromS3Input
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*RestoreDBClusterFromS3Input) SetDatabaseName ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetDatabaseName(v string) *RestoreDBClusterFromS3Input
SetDatabaseName sets the DatabaseName field's value.
func (*RestoreDBClusterFromS3Input) SetEngine ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetEngine(v string) *RestoreDBClusterFromS3Input
SetEngine sets the Engine field's value.
func (*RestoreDBClusterFromS3Input) SetEngineVersion ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetEngineVersion(v string) *RestoreDBClusterFromS3Input
SetEngineVersion sets the EngineVersion field's value.
func (*RestoreDBClusterFromS3Input) SetKmsKeyId ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetKmsKeyId(v string) *RestoreDBClusterFromS3Input
SetKmsKeyId sets the KmsKeyId field's value.
func (*RestoreDBClusterFromS3Input) SetMasterUserPassword ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetMasterUserPassword(v string) *RestoreDBClusterFromS3Input
SetMasterUserPassword sets the MasterUserPassword field's value.
func (*RestoreDBClusterFromS3Input) SetMasterUsername ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetMasterUsername(v string) *RestoreDBClusterFromS3Input
SetMasterUsername sets the MasterUsername field's value.
func (*RestoreDBClusterFromS3Input) SetOptionGroupName ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetOptionGroupName(v string) *RestoreDBClusterFromS3Input
SetOptionGroupName sets the OptionGroupName field's value.
func (*RestoreDBClusterFromS3Input) SetPort ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetPort(v int64) *RestoreDBClusterFromS3Input
SetPort sets the Port field's value.
func (*RestoreDBClusterFromS3Input) SetPreferredBackupWindow ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetPreferredBackupWindow(v string) *RestoreDBClusterFromS3Input
SetPreferredBackupWindow sets the PreferredBackupWindow field's value.
func (*RestoreDBClusterFromS3Input) SetPreferredMaintenanceWindow ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetPreferredMaintenanceWindow(v string) *RestoreDBClusterFromS3Input
SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value.
func (*RestoreDBClusterFromS3Input) SetS3BucketName ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetS3BucketName(v string) *RestoreDBClusterFromS3Input
SetS3BucketName sets the S3BucketName field's value.
func (*RestoreDBClusterFromS3Input) SetS3IngestionRoleArn ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetS3IngestionRoleArn(v string) *RestoreDBClusterFromS3Input
SetS3IngestionRoleArn sets the S3IngestionRoleArn field's value.
func (*RestoreDBClusterFromS3Input) SetS3Prefix ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetS3Prefix(v string) *RestoreDBClusterFromS3Input
SetS3Prefix sets the S3Prefix field's value.
func (*RestoreDBClusterFromS3Input) SetSourceEngine ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetSourceEngine(v string) *RestoreDBClusterFromS3Input
SetSourceEngine sets the SourceEngine field's value.
func (*RestoreDBClusterFromS3Input) SetSourceEngineVersion ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetSourceEngineVersion(v string) *RestoreDBClusterFromS3Input
SetSourceEngineVersion sets the SourceEngineVersion field's value.
func (*RestoreDBClusterFromS3Input) SetStorageEncrypted ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetStorageEncrypted(v bool) *RestoreDBClusterFromS3Input
SetStorageEncrypted sets the StorageEncrypted field's value.
func (*RestoreDBClusterFromS3Input) SetTags ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetTags(v []*Tag) *RestoreDBClusterFromS3Input
SetTags sets the Tags field's value.
func (*RestoreDBClusterFromS3Input) SetVpcSecurityGroupIds ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Input) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterFromS3Input
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (RestoreDBClusterFromS3Input) String ¶ added in v1.3.1
func (s RestoreDBClusterFromS3Input) String() string
String returns the string representation
func (*RestoreDBClusterFromS3Input) Validate ¶ added in v1.3.1
func (s *RestoreDBClusterFromS3Input) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreDBClusterFromS3Output ¶ added in v1.3.1
type RestoreDBClusterFromS3Output struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Result
func (RestoreDBClusterFromS3Output) GoString ¶ added in v1.3.1
func (s RestoreDBClusterFromS3Output) GoString() string
GoString returns the string representation
func (*RestoreDBClusterFromS3Output) SetDBCluster ¶ added in v1.5.0
func (s *RestoreDBClusterFromS3Output) SetDBCluster(v *DBCluster) *RestoreDBClusterFromS3Output
SetDBCluster sets the DBCluster field's value.
func (RestoreDBClusterFromS3Output) String ¶ added in v1.3.1
func (s RestoreDBClusterFromS3Output) String() string
String returns the string representation
type RestoreDBClusterFromSnapshotInput ¶ added in v0.7.2
type RestoreDBClusterFromSnapshotInput struct { // Provides the list of EC2 Availability Zones that instances in the restored // DB cluster can be created in. AvailabilityZones []*string `locationNameList:"AvailabilityZone" type:"list"` // The name of the DB cluster to create from the DB cluster snapshot. This parameter // isn't case-sensitive. // // Constraints: // // * Must contain from 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-snapshot-id // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB subnet group to use for the new DB cluster. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` // The database name for the restored DB cluster. DatabaseName *string `type:"string"` // The database engine to use for the new DB cluster. // // Default: The same as source // // Constraint: Must be compatible with the engine of the source // // Engine is a required field Engine *string `type:"string" required:"true"` // The version of the database engine to use for the new DB cluster. EngineVersion *string `type:"string"` // The KMS key identifier to use when restoring an encrypted DB cluster from // a DB cluster snapshot. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are restoring a DB cluster with the same AWS account that owns // the KMS encryption key used to encrypt the new DB cluster, then you can use // the KMS key alias instead of the ARN for the KMS encryption key. // // If you do not specify a value for the KmsKeyId parameter, then the following // will occur: // // * If the DB cluster snapshot is encrypted, then the restored DB cluster // is encrypted using the KMS key that was used to encrypt the DB cluster // snapshot. // // * If the DB cluster snapshot is not encrypted, then the restored DB cluster // is encrypted using the specified encryption key. KmsKeyId *string `type:"string"` // The name of the option group to use for the restored DB cluster. OptionGroupName *string `type:"string"` // The port number on which the new DB cluster accepts connections. // // Constraints: Value must be 1150-65535 // // Default: The same port as the original DB cluster. Port *int64 `type:"integer"` // The identifier for the DB cluster snapshot to restore from. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` // The tags to be assigned to the restored DB cluster. Tags []*Tag `locationNameList:"Tag" type:"list"` // A list of VPC security groups that the new DB cluster will belong to. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage
func (RestoreDBClusterFromSnapshotInput) GoString ¶ added in v0.7.2
func (s RestoreDBClusterFromSnapshotInput) GoString() string
GoString returns the string representation
func (*RestoreDBClusterFromSnapshotInput) SetAvailabilityZones ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetAvailabilityZones(v []*string) *RestoreDBClusterFromSnapshotInput
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*RestoreDBClusterFromSnapshotInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetDBClusterIdentifier(v string) *RestoreDBClusterFromSnapshotInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*RestoreDBClusterFromSnapshotInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBClusterFromSnapshotInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*RestoreDBClusterFromSnapshotInput) SetDatabaseName ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetDatabaseName(v string) *RestoreDBClusterFromSnapshotInput
SetDatabaseName sets the DatabaseName field's value.
func (*RestoreDBClusterFromSnapshotInput) SetEngine ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetEngine(v string) *RestoreDBClusterFromSnapshotInput
SetEngine sets the Engine field's value.
func (*RestoreDBClusterFromSnapshotInput) SetEngineVersion ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetEngineVersion(v string) *RestoreDBClusterFromSnapshotInput
SetEngineVersion sets the EngineVersion field's value.
func (*RestoreDBClusterFromSnapshotInput) SetKmsKeyId ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetKmsKeyId(v string) *RestoreDBClusterFromSnapshotInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*RestoreDBClusterFromSnapshotInput) SetOptionGroupName ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetOptionGroupName(v string) *RestoreDBClusterFromSnapshotInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*RestoreDBClusterFromSnapshotInput) SetPort ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetPort(v int64) *RestoreDBClusterFromSnapshotInput
SetPort sets the Port field's value.
func (*RestoreDBClusterFromSnapshotInput) SetSnapshotIdentifier ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetSnapshotIdentifier(v string) *RestoreDBClusterFromSnapshotInput
SetSnapshotIdentifier sets the SnapshotIdentifier field's value.
func (*RestoreDBClusterFromSnapshotInput) SetTags ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetTags(v []*Tag) *RestoreDBClusterFromSnapshotInput
SetTags sets the Tags field's value.
func (*RestoreDBClusterFromSnapshotInput) SetVpcSecurityGroupIds ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotInput) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterFromSnapshotInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (RestoreDBClusterFromSnapshotInput) String ¶ added in v0.7.2
func (s RestoreDBClusterFromSnapshotInput) String() string
String returns the string representation
func (*RestoreDBClusterFromSnapshotInput) Validate ¶ added in v1.1.22
func (s *RestoreDBClusterFromSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreDBClusterFromSnapshotOutput ¶ added in v0.7.2
type RestoreDBClusterFromSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotResult
func (RestoreDBClusterFromSnapshotOutput) GoString ¶ added in v0.7.2
func (s RestoreDBClusterFromSnapshotOutput) GoString() string
GoString returns the string representation
func (*RestoreDBClusterFromSnapshotOutput) SetDBCluster ¶ added in v1.5.0
func (s *RestoreDBClusterFromSnapshotOutput) SetDBCluster(v *DBCluster) *RestoreDBClusterFromSnapshotOutput
SetDBCluster sets the DBCluster field's value.
func (RestoreDBClusterFromSnapshotOutput) String ¶ added in v0.7.2
func (s RestoreDBClusterFromSnapshotOutput) String() string
String returns the string representation
type RestoreDBClusterToPointInTimeInput ¶ added in v0.7.2
type RestoreDBClusterToPointInTimeInput struct { // The name of the new DB cluster to be created. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The DB subnet group name to use for the new DB cluster. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` // The KMS key identifier to use when restoring an encrypted DB cluster from // an encrypted DB cluster. // // The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption // key. If you are restoring a DB cluster with the same AWS account that owns // the KMS encryption key used to encrypt the new DB cluster, then you can use // the KMS key alias instead of the ARN for the KMS encryption key. // // You can restore to a new DB cluster and encrypt the new DB cluster with a // KMS key that is different than the KMS key used to encrypt the source DB // cluster. The new DB cluster will be encrypted with the KMS key identified // by the KmsKeyId parameter. // // If you do not specify a value for the KmsKeyId parameter, then the following // will occur: // // * If the DB cluster is encrypted, then the restored DB cluster is encrypted // using the KMS key that was used to encrypt the source DB cluster. // // * If the DB cluster is not encrypted, then the restored DB cluster is // not encrypted. // // If DBClusterIdentifier refers to a DB cluster that is note encrypted, then // the restore request is rejected. KmsKeyId *string `type:"string"` // The name of the option group for the new DB cluster. OptionGroupName *string `type:"string"` // The port number on which the new DB cluster accepts connections. // // Constraints: Value must be 1150-65535 // // Default: The same port as the original DB cluster. Port *int64 `type:"integer"` // The date and time to restore the DB cluster to. // // Valid Values: Value must be a time in Universal Coordinated Time (UTC) format // // Constraints: // // * Must be before the latest restorable time for the DB instance // // * Cannot be specified if UseLatestRestorableTime parameter is true // // Example: 2015-03-07T23:45:00Z RestoreToTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The identifier of the source DB cluster from which to restore. // // Constraints: // // * Must be the identifier of an existing database instance // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // SourceDBClusterIdentifier is a required field SourceDBClusterIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // A value that is set to true to restore the DB cluster to the latest restorable // backup time, and false otherwise. // // Default: false // // Constraints: Cannot be specified if RestoreToTime parameter is provided. UseLatestRestorableTime *bool `type:"boolean"` // A lst of VPC security groups that the new DB cluster belongs to. VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage
func (RestoreDBClusterToPointInTimeInput) GoString ¶ added in v0.7.2
func (s RestoreDBClusterToPointInTimeInput) GoString() string
GoString returns the string representation
func (*RestoreDBClusterToPointInTimeInput) SetDBClusterIdentifier ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput
SetDBClusterIdentifier sets the DBClusterIdentifier field's value.
func (*RestoreDBClusterToPointInTimeInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBClusterToPointInTimeInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*RestoreDBClusterToPointInTimeInput) SetKmsKeyId ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetKmsKeyId(v string) *RestoreDBClusterToPointInTimeInput
SetKmsKeyId sets the KmsKeyId field's value.
func (*RestoreDBClusterToPointInTimeInput) SetOptionGroupName ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBClusterToPointInTimeInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*RestoreDBClusterToPointInTimeInput) SetPort ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetPort(v int64) *RestoreDBClusterToPointInTimeInput
SetPort sets the Port field's value.
func (*RestoreDBClusterToPointInTimeInput) SetRestoreToTime ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetRestoreToTime(v time.Time) *RestoreDBClusterToPointInTimeInput
SetRestoreToTime sets the RestoreToTime field's value.
func (*RestoreDBClusterToPointInTimeInput) SetSourceDBClusterIdentifier ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetSourceDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput
SetSourceDBClusterIdentifier sets the SourceDBClusterIdentifier field's value.
func (*RestoreDBClusterToPointInTimeInput) SetTags ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetTags(v []*Tag) *RestoreDBClusterToPointInTimeInput
SetTags sets the Tags field's value.
func (*RestoreDBClusterToPointInTimeInput) SetUseLatestRestorableTime ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBClusterToPointInTimeInput
SetUseLatestRestorableTime sets the UseLatestRestorableTime field's value.
func (*RestoreDBClusterToPointInTimeInput) SetVpcSecurityGroupIds ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeInput) SetVpcSecurityGroupIds(v []*string) *RestoreDBClusterToPointInTimeInput
SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value.
func (RestoreDBClusterToPointInTimeInput) String ¶ added in v0.7.2
func (s RestoreDBClusterToPointInTimeInput) String() string
String returns the string representation
func (*RestoreDBClusterToPointInTimeInput) Validate ¶ added in v1.1.22
func (s *RestoreDBClusterToPointInTimeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreDBClusterToPointInTimeOutput ¶ added in v0.7.2
type RestoreDBClusterToPointInTimeOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBCluster // // * DeleteDBCluster // // * FailoverDBCluster // // * ModifyDBCluster // // * RestoreDBClusterFromSnapshot // // * RestoreDBClusterToPointInTime // // This data type is used as a response element in the DescribeDBClusters action. DBCluster *DBCluster `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeResult
func (RestoreDBClusterToPointInTimeOutput) GoString ¶ added in v0.7.2
func (s RestoreDBClusterToPointInTimeOutput) GoString() string
GoString returns the string representation
func (*RestoreDBClusterToPointInTimeOutput) SetDBCluster ¶ added in v1.5.0
func (s *RestoreDBClusterToPointInTimeOutput) SetDBCluster(v *DBCluster) *RestoreDBClusterToPointInTimeOutput
SetDBCluster sets the DBCluster field's value.
func (RestoreDBClusterToPointInTimeOutput) String ¶ added in v0.7.2
func (s RestoreDBClusterToPointInTimeOutput) String() string
String returns the string representation
type RestoreDBInstanceFromDBSnapshotInput ¶
type RestoreDBInstanceFromDBSnapshotInput struct { // Indicates that minor version upgrades will be applied automatically to the // DB instance during the maintenance window. AutoMinorVersionUpgrade *bool `type:"boolean"` // The EC2 Availability Zone that the database instance will be created in. // // Default: A random, system-chosen Availability Zone. // // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. // // Example: us-east-1a AvailabilityZone *string `type:"string"` // True to copy all tags from the restored DB instance to snapshots of the DB // instance; otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The compute and memory capacity of the Amazon RDS DB instance. // // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge // | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge // | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge // | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge // | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large DBInstanceClass *string `type:"string"` // Name of the DB instance to create from the DB snapshot. This parameter isn't // case-sensitive. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens (1 to 15 // for SQL Server) // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-snapshot-id // // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The database name for the restored DB instance. // // This parameter doesn't apply to the MySQL, PostgreSQL, or MariaDB engines. DBName *string `type:"string"` // The identifier for the DB snapshot to restore from. // // Constraints: // // * Must contain from 1 to 255 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier // must be the ARN of the shared DB snapshot. // // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // The DB subnet group name to use for the new instance. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` // Specify the Active Directory Domain to restore the instance in. Domain *string `type:"string"` // Specify the name of the IAM role to be used when making API calls to the // Directory Service. DomainIAMRoleName *string `type:"string"` // The database engine to use for the new instance. // // Default: The same as source // // Constraint: Must be compatible with the engine of the source. You can restore // a MariaDB 10.1 DB instance from a MySQL 5.6 snapshot. // // Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee // | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora Engine *string `type:"string"` // Specifies the amount of provisioned IOPS for the DB instance, expressed in // I/O operations per second. If this parameter is not specified, the IOPS value // will be taken from the backup. If this parameter is set to 0, the new instance // will be converted to a non-PIOPS instance, which will take additional time, // though your DB instance will be available for connections before the conversion // starts. // // Constraints: Must be an integer greater than 1000. // // SQL Server // // Setting the IOPS value for the SQL Server database engine is not supported. Iops *int64 `type:"integer"` // License model information for the restored DB instance. // // Default: Same as source. // // Valid values: license-included | bring-your-own-license | general-public-license LicenseModel *string `type:"string"` // Specifies if the DB instance is a Multi-AZ deployment. // // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. MultiAZ *bool `type:"boolean"` // The name of the option group to be used for the restored DB instance. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, // cannot be removed from an option group, and that option group cannot be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` // The port number on which the database accepts connections. // // Default: The same port as the original DB instance // // Constraints: Value must be 1150-65535 Port *int64 `type:"integer"` // Specifies the accessibility options for the DB instance. A value of true // specifies an Internet-facing instance with a publicly resolvable DNS name, // which resolves to a public IP address. A value of false specifies an internal // instance with a DNS name that resolves to a private IP address. // // Default: The default behavior varies depending on whether a VPC has been // requested or not. The following list shows the default behavior in each case. // // * Default VPC: true // // * VPC: false // // If no DB subnet group has been specified as part of the request and the PubliclyAccessible // value has not been set, the DB instance will be publicly accessible. If a // specific DB subnet group has been specified as part of the request and the // PubliclyAccessible value has not been set, the DB instance will be private. PubliclyAccessible *bool `type:"boolean"` // Specifies the storage type to be associated with the DB instance. // // Valid values: standard | gp2 | io1 // // If you specify io1, you must also include a value for the Iops parameter. // // Default: io1 if the Iops parameter is specified; otherwise standard StorageType *string `type:"string"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // The ARN from the Key Store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` // The password for the given ARN from the Key Store in order to access the // device. TdeCredentialPassword *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage
func (RestoreDBInstanceFromDBSnapshotInput) GoString ¶ added in v0.6.6
func (s RestoreDBInstanceFromDBSnapshotInput) GoString() string
GoString returns the string representation
func (*RestoreDBInstanceFromDBSnapshotInput) SetAutoMinorVersionUpgrade ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceFromDBSnapshotInput
SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetAvailabilityZone ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetAvailabilityZone(v string) *RestoreDBInstanceFromDBSnapshotInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetCopyTagsToSnapshot ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceFromDBSnapshotInput
SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceClass(v string) *RestoreDBInstanceFromDBSnapshotInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceIdentifier ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput
SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetDBName ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBName(v string) *RestoreDBInstanceFromDBSnapshotInput
SetDBName sets the DBName field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetDBSnapshotIdentifier ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSnapshotIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput
SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetDomain ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomain(v string) *RestoreDBInstanceFromDBSnapshotInput
SetDomain sets the Domain field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetDomainIAMRoleName ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceFromDBSnapshotInput
SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetEngine ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetEngine(v string) *RestoreDBInstanceFromDBSnapshotInput
SetEngine sets the Engine field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetIops ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetIops(v int64) *RestoreDBInstanceFromDBSnapshotInput
SetIops sets the Iops field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetLicenseModel ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetLicenseModel(v string) *RestoreDBInstanceFromDBSnapshotInput
SetLicenseModel sets the LicenseModel field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetMultiAZ ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetMultiAZ(v bool) *RestoreDBInstanceFromDBSnapshotInput
SetMultiAZ sets the MultiAZ field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetOptionGroupName ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetOptionGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetPort ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetPort(v int64) *RestoreDBInstanceFromDBSnapshotInput
SetPort sets the Port field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetPubliclyAccessible ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceFromDBSnapshotInput
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetStorageType ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetStorageType(v string) *RestoreDBInstanceFromDBSnapshotInput
SetStorageType sets the StorageType field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetTags ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetTags(v []*Tag) *RestoreDBInstanceFromDBSnapshotInput
SetTags sets the Tags field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialArn ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialArn(v string) *RestoreDBInstanceFromDBSnapshotInput
SetTdeCredentialArn sets the TdeCredentialArn field's value.
func (*RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialPassword ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceFromDBSnapshotInput
SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
func (RestoreDBInstanceFromDBSnapshotInput) String ¶ added in v0.6.6
func (s RestoreDBInstanceFromDBSnapshotInput) String() string
String returns the string representation
func (*RestoreDBInstanceFromDBSnapshotInput) Validate ¶ added in v1.1.22
func (s *RestoreDBInstanceFromDBSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreDBInstanceFromDBSnapshotOutput ¶
type RestoreDBInstanceFromDBSnapshotOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotResult
func (RestoreDBInstanceFromDBSnapshotOutput) GoString ¶ added in v0.6.6
func (s RestoreDBInstanceFromDBSnapshotOutput) GoString() string
GoString returns the string representation
func (*RestoreDBInstanceFromDBSnapshotOutput) SetDBInstance ¶ added in v1.5.0
func (s *RestoreDBInstanceFromDBSnapshotOutput) SetDBInstance(v *DBInstance) *RestoreDBInstanceFromDBSnapshotOutput
SetDBInstance sets the DBInstance field's value.
func (RestoreDBInstanceFromDBSnapshotOutput) String ¶ added in v0.6.6
func (s RestoreDBInstanceFromDBSnapshotOutput) String() string
String returns the string representation
type RestoreDBInstanceToPointInTimeInput ¶
type RestoreDBInstanceToPointInTimeInput struct { // Indicates that minor version upgrades will be applied automatically to the // DB instance during the maintenance window. AutoMinorVersionUpgrade *bool `type:"boolean"` // The EC2 Availability Zone that the database instance will be created in. // // Default: A random, system-chosen Availability Zone. // // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. // // Example: us-east-1a AvailabilityZone *string `type:"string"` // True to copy all tags from the restored DB instance to snapshots of the DB // instance; otherwise false. The default is false. CopyTagsToSnapshot *bool `type:"boolean"` // The compute and memory capacity of the Amazon RDS DB instance. // // Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge // | db.m2.2xlarge | db.m2.4xlarge | db.m3.medium | db.m3.large | db.m3.xlarge // | db.m3.2xlarge | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge // | db.m4.10xlarge | db.r3.large | db.r3.xlarge | db.r3.2xlarge | db.r3.4xlarge // | db.r3.8xlarge | db.t2.micro | db.t2.small | db.t2.medium | db.t2.large // // Default: The same DBInstanceClass as the original DB instance. DBInstanceClass *string `type:"string"` // The database name for the restored DB instance. // // This parameter is not used for the MySQL or MariaDB engines. DBName *string `type:"string"` // The DB subnet group name to use for the new instance. // // Constraints: Must contain no more than 255 alphanumeric characters, periods, // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup DBSubnetGroupName *string `type:"string"` // Specify the Active Directory Domain to restore the instance in. Domain *string `type:"string"` // Specify the name of the IAM role to be used when making API calls to the // Directory Service. DomainIAMRoleName *string `type:"string"` // The database engine to use for the new instance. // // Default: The same as source // // Constraint: Must be compatible with the engine of the source // // Valid Values: MySQL | mariadb | oracle-se1 | oracle-se | oracle-ee | sqlserver-ee // | sqlserver-se | sqlserver-ex | sqlserver-web | postgres | aurora Engine *string `type:"string"` // The amount of Provisioned IOPS (input/output operations per second) to be // initially allocated for the DB instance. // // Constraints: Must be an integer greater than 1000. // // SQL Server // // Setting the IOPS value for the SQL Server database engine is not supported. Iops *int64 `type:"integer"` // License model information for the restored DB instance. // // Default: Same as source. // // Valid values: license-included | bring-your-own-license | general-public-license LicenseModel *string `type:"string"` // Specifies if the DB instance is a Multi-AZ deployment. // // Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ // parameter is set to true. MultiAZ *bool `type:"boolean"` // The name of the option group to be used for the restored DB instance. // // Permanent options, such as the TDE option for Oracle Advanced Security TDE, // cannot be removed from an option group, and that option group cannot be removed // from a DB instance once it is associated with a DB instance OptionGroupName *string `type:"string"` // The port number on which the database accepts connections. // // Constraints: Value must be 1150-65535 // // Default: The same port as the original DB instance. Port *int64 `type:"integer"` // Specifies the accessibility options for the DB instance. A value of true // specifies an Internet-facing instance with a publicly resolvable DNS name, // which resolves to a public IP address. A value of false specifies an internal // instance with a DNS name that resolves to a private IP address. // // Default: The default behavior varies depending on whether a VPC has been // requested or not. The following list shows the default behavior in each case. // // * Default VPC:true // // * VPC:false // // If no DB subnet group has been specified as part of the request and the PubliclyAccessible // value has not been set, the DB instance will be publicly accessible. If a // specific DB subnet group has been specified as part of the request and the // PubliclyAccessible value has not been set, the DB instance will be private. PubliclyAccessible *bool `type:"boolean"` // The date and time to restore from. // // Valid Values: Value must be a time in Universal Coordinated Time (UTC) format // // Constraints: // // * Must be before the latest restorable time for the DB instance // // * Cannot be specified if UseLatestRestorableTime parameter is true // // Example: 2009-09-07T23:45:00Z RestoreTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The identifier of the source DB instance from which to restore. // // Constraints: // // * Must be the identifier of an existing database instance // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // SourceDBInstanceIdentifier is a required field SourceDBInstanceIdentifier *string `type:"string" required:"true"` // Specifies the storage type to be associated with the DB instance. // // Valid values: standard | gp2 | io1 // // If you specify io1, you must also include a value for the Iops parameter. // // Default: io1 if the Iops parameter is specified; otherwise standard StorageType *string `type:"string"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // The name of the new database instance to be created. // // Constraints: // // * Must contain from 1 to 63 alphanumeric characters or hyphens // // * First character must be a letter // // * Cannot end with a hyphen or contain two consecutive hyphens // // TargetDBInstanceIdentifier is a required field TargetDBInstanceIdentifier *string `type:"string" required:"true"` // The ARN from the Key Store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` // The password for the given ARN from the Key Store in order to access the // device. TdeCredentialPassword *string `type:"string"` // Specifies whether (true) or not (false) the DB instance is restored from // the latest backup time. // // Default: false // // Constraints: Cannot be specified if RestoreTime parameter is provided. UseLatestRestorableTime *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage
func (RestoreDBInstanceToPointInTimeInput) GoString ¶ added in v0.6.6
func (s RestoreDBInstanceToPointInTimeInput) GoString() string
GoString returns the string representation
func (*RestoreDBInstanceToPointInTimeInput) SetAutoMinorVersionUpgrade ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceToPointInTimeInput
SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetAvailabilityZone ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetAvailabilityZone(v string) *RestoreDBInstanceToPointInTimeInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetCopyTagsToSnapshot ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceToPointInTimeInput
SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetDBInstanceClass ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetDBInstanceClass(v string) *RestoreDBInstanceToPointInTimeInput
SetDBInstanceClass sets the DBInstanceClass field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetDBName ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetDBName(v string) *RestoreDBInstanceToPointInTimeInput
SetDBName sets the DBName field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetDBSubnetGroupName ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceToPointInTimeInput
SetDBSubnetGroupName sets the DBSubnetGroupName field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetDomain ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetDomain(v string) *RestoreDBInstanceToPointInTimeInput
SetDomain sets the Domain field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetDomainIAMRoleName ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceToPointInTimeInput
SetDomainIAMRoleName sets the DomainIAMRoleName field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetEngine ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetEngine(v string) *RestoreDBInstanceToPointInTimeInput
SetEngine sets the Engine field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetIops ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetIops(v int64) *RestoreDBInstanceToPointInTimeInput
SetIops sets the Iops field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetLicenseModel ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetLicenseModel(v string) *RestoreDBInstanceToPointInTimeInput
SetLicenseModel sets the LicenseModel field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetMultiAZ ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetMultiAZ(v bool) *RestoreDBInstanceToPointInTimeInput
SetMultiAZ sets the MultiAZ field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetOptionGroupName ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBInstanceToPointInTimeInput
SetOptionGroupName sets the OptionGroupName field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetPort ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetPort(v int64) *RestoreDBInstanceToPointInTimeInput
SetPort sets the Port field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetPubliclyAccessible ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceToPointInTimeInput
SetPubliclyAccessible sets the PubliclyAccessible field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetRestoreTime ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetRestoreTime(v time.Time) *RestoreDBInstanceToPointInTimeInput
SetRestoreTime sets the RestoreTime field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetSourceDBInstanceIdentifier ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetSourceDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput
SetSourceDBInstanceIdentifier sets the SourceDBInstanceIdentifier field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetStorageType ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetStorageType(v string) *RestoreDBInstanceToPointInTimeInput
SetStorageType sets the StorageType field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetTags ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetTags(v []*Tag) *RestoreDBInstanceToPointInTimeInput
SetTags sets the Tags field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetTargetDBInstanceIdentifier ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetTargetDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput
SetTargetDBInstanceIdentifier sets the TargetDBInstanceIdentifier field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetTdeCredentialArn ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialArn(v string) *RestoreDBInstanceToPointInTimeInput
SetTdeCredentialArn sets the TdeCredentialArn field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetTdeCredentialPassword ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceToPointInTimeInput
SetTdeCredentialPassword sets the TdeCredentialPassword field's value.
func (*RestoreDBInstanceToPointInTimeInput) SetUseLatestRestorableTime ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBInstanceToPointInTimeInput
SetUseLatestRestorableTime sets the UseLatestRestorableTime field's value.
func (RestoreDBInstanceToPointInTimeInput) String ¶ added in v0.6.6
func (s RestoreDBInstanceToPointInTimeInput) String() string
String returns the string representation
func (*RestoreDBInstanceToPointInTimeInput) Validate ¶ added in v1.1.22
func (s *RestoreDBInstanceToPointInTimeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RestoreDBInstanceToPointInTimeOutput ¶
type RestoreDBInstanceToPointInTimeOutput struct { // Contains the result of a successful invocation of the following actions: // // * CreateDBInstance // // * DeleteDBInstance // // * ModifyDBInstance // // This data type is used as a response element in the DescribeDBInstances action. DBInstance *DBInstance `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeResult
func (RestoreDBInstanceToPointInTimeOutput) GoString ¶ added in v0.6.6
func (s RestoreDBInstanceToPointInTimeOutput) GoString() string
GoString returns the string representation
func (*RestoreDBInstanceToPointInTimeOutput) SetDBInstance ¶ added in v1.5.0
func (s *RestoreDBInstanceToPointInTimeOutput) SetDBInstance(v *DBInstance) *RestoreDBInstanceToPointInTimeOutput
SetDBInstance sets the DBInstance field's value.
func (RestoreDBInstanceToPointInTimeOutput) String ¶ added in v0.6.6
func (s RestoreDBInstanceToPointInTimeOutput) String() string
String returns the string representation
type RevokeDBSecurityGroupIngressInput ¶
type RevokeDBSecurityGroupIngressInput struct { // The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP // is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId // cannot be provided. CIDRIP *string `type:"string"` // The name of the DB security group to revoke ingress from. // // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` // The id of the EC2 security group to revoke access from. For VPC DB security // groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId // and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. EC2SecurityGroupId *string `type:"string"` // The name of the EC2 security group to revoke access from. For VPC DB security // groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId // and either EC2SecurityGroupName or EC2SecurityGroupId must be provided. EC2SecurityGroupName *string `type:"string"` // The AWS Account Number of the owner of the EC2 security group specified in // the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable // value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, // EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId // must be provided. EC2SecurityGroupOwnerId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressMessage
func (RevokeDBSecurityGroupIngressInput) GoString ¶ added in v0.6.6
func (s RevokeDBSecurityGroupIngressInput) GoString() string
GoString returns the string representation
func (*RevokeDBSecurityGroupIngressInput) SetCIDRIP ¶ added in v1.5.0
func (s *RevokeDBSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeDBSecurityGroupIngressInput
SetCIDRIP sets the CIDRIP field's value.
func (*RevokeDBSecurityGroupIngressInput) SetDBSecurityGroupName ¶ added in v1.5.0
func (s *RevokeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput
SetDBSecurityGroupName sets the DBSecurityGroupName field's value.
func (*RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupId ¶ added in v1.5.0
func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *RevokeDBSecurityGroupIngressInput
SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value.
func (*RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupName ¶ added in v1.5.0
func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput
SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value.
func (*RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId ¶ added in v1.5.0
func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeDBSecurityGroupIngressInput
SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value.
func (RevokeDBSecurityGroupIngressInput) String ¶ added in v0.6.6
func (s RevokeDBSecurityGroupIngressInput) String() string
String returns the string representation
func (*RevokeDBSecurityGroupIngressInput) Validate ¶ added in v1.1.22
func (s *RevokeDBSecurityGroupIngressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RevokeDBSecurityGroupIngressOutput ¶
type RevokeDBSecurityGroupIngressOutput struct { // Contains the result of a successful invocation of the following actions: // // * DescribeDBSecurityGroups // // * AuthorizeDBSecurityGroupIngress // // * CreateDBSecurityGroup // // * RevokeDBSecurityGroupIngress // // This data type is used as a response element in the DescribeDBSecurityGroups // action. DBSecurityGroup *DBSecurityGroup `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressResult
func (RevokeDBSecurityGroupIngressOutput) GoString ¶ added in v0.6.6
func (s RevokeDBSecurityGroupIngressOutput) GoString() string
GoString returns the string representation
func (*RevokeDBSecurityGroupIngressOutput) SetDBSecurityGroup ¶ added in v1.5.0
func (s *RevokeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGroup) *RevokeDBSecurityGroupIngressOutput
SetDBSecurityGroup sets the DBSecurityGroup field's value.
func (RevokeDBSecurityGroupIngressOutput) String ¶ added in v0.6.6
func (s RevokeDBSecurityGroupIngressOutput) String() string
String returns the string representation
type SourceRegion ¶ added in v1.4.16
type SourceRegion struct { // The source region endpoint. Endpoint *string `type:"string"` // The source region name. RegionName *string `type:"string"` // The status of the source region. Status *string `type:"string"` // contains filtered or unexported fields }
Contains an AWS Region name as the result of a successful call to the DescribeSourceRegions action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceRegion
func (SourceRegion) GoString ¶ added in v1.4.16
func (s SourceRegion) GoString() string
GoString returns the string representation
func (*SourceRegion) SetEndpoint ¶ added in v1.5.0
func (s *SourceRegion) SetEndpoint(v string) *SourceRegion
SetEndpoint sets the Endpoint field's value.
func (*SourceRegion) SetRegionName ¶ added in v1.5.0
func (s *SourceRegion) SetRegionName(v string) *SourceRegion
SetRegionName sets the RegionName field's value.
func (*SourceRegion) SetStatus ¶ added in v1.5.0
func (s *SourceRegion) SetStatus(v string) *SourceRegion
SetStatus sets the Status field's value.
func (SourceRegion) String ¶ added in v1.4.16
func (s SourceRegion) String() string
String returns the string representation
type Subnet ¶
type Subnet struct { // Contains Availability Zone information. // // This data type is used as an element in the following data type: // // * OrderableDBInstanceOption SubnetAvailabilityZone *AvailabilityZone `type:"structure"` // Specifies the identifier of the subnet. SubnetIdentifier *string `type:"string"` // Specifies the status of the subnet. SubnetStatus *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element in the DescribeDBSubnetGroups action. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Subnet
func (*Subnet) SetSubnetAvailabilityZone ¶ added in v1.5.0
func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet
SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value.
func (*Subnet) SetSubnetIdentifier ¶ added in v1.5.0
SetSubnetIdentifier sets the SubnetIdentifier field's value.
func (*Subnet) SetSubnetStatus ¶ added in v1.5.0
SetSubnetStatus sets the SubnetStatus field's value.
type Tag ¶
type Tag struct { // A key is the required name of the tag. The string value can be from 1 to // 128 Unicode characters in length and cannot be prefixed with "aws:" or "rds:". // The string can only contain only the set of Unicode letters, digits, white-space, // '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). Key *string `type:"string"` // A value is the optional value of the tag. The string value can be from 1 // to 256 Unicode characters in length and cannot be prefixed with "aws:" or // "rds:". The string can only contain only the set of Unicode letters, digits, // white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). Value *string `type:"string"` // contains filtered or unexported fields }
Metadata assigned to an Amazon RDS resource consisting of a key-value pair. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Tag
type Timezone ¶ added in v1.4.16
type Timezone struct { // The name of the time zone. TimezoneName *string `type:"string"` // contains filtered or unexported fields }
A time zone associated with a DBInstance or a DBSnapshot. This data type is an element in the response to the DescribeDBInstances, the DescribeDBSnapshots, and the DescribeDBEngineVersions actions. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Timezone
func (*Timezone) SetTimezoneName ¶ added in v1.5.0
SetTimezoneName sets the TimezoneName field's value.
type UpgradeTarget ¶ added in v0.9.12
type UpgradeTarget struct { // A value that indicates whether the target version will be applied to any // source DB instances that have AutoMinorVersionUpgrade set to true. AutoUpgrade *bool `type:"boolean"` // The version of the database engine that a DB instance can be upgraded to. Description *string `type:"string"` // The name of the upgrade target database engine. Engine *string `type:"string"` // The version number of the upgrade target database engine. EngineVersion *string `type:"string"` // A value that indicates whether a database engine will be upgraded to a major // version. IsMajorVersionUpgrade *bool `type:"boolean"` // contains filtered or unexported fields }
The version of the database engine that a DB instance can be upgraded to. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/UpgradeTarget
func (UpgradeTarget) GoString ¶ added in v0.9.12
func (s UpgradeTarget) GoString() string
GoString returns the string representation
func (*UpgradeTarget) SetAutoUpgrade ¶ added in v1.5.0
func (s *UpgradeTarget) SetAutoUpgrade(v bool) *UpgradeTarget
SetAutoUpgrade sets the AutoUpgrade field's value.
func (*UpgradeTarget) SetDescription ¶ added in v1.5.0
func (s *UpgradeTarget) SetDescription(v string) *UpgradeTarget
SetDescription sets the Description field's value.
func (*UpgradeTarget) SetEngine ¶ added in v1.5.0
func (s *UpgradeTarget) SetEngine(v string) *UpgradeTarget
SetEngine sets the Engine field's value.
func (*UpgradeTarget) SetEngineVersion ¶ added in v1.5.0
func (s *UpgradeTarget) SetEngineVersion(v string) *UpgradeTarget
SetEngineVersion sets the EngineVersion field's value.
func (*UpgradeTarget) SetIsMajorVersionUpgrade ¶ added in v1.5.0
func (s *UpgradeTarget) SetIsMajorVersionUpgrade(v bool) *UpgradeTarget
SetIsMajorVersionUpgrade sets the IsMajorVersionUpgrade field's value.
func (UpgradeTarget) String ¶ added in v0.9.12
func (s UpgradeTarget) String() string
String returns the string representation
type VpcSecurityGroupMembership ¶ added in v0.9.5
type VpcSecurityGroupMembership struct { // The status of the VPC security group. Status *string `type:"string"` // The name of the VPC security group. VpcSecurityGroupId *string `type:"string"` // contains filtered or unexported fields }
This data type is used as a response element for queries on VPC security group membership. Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/VpcSecurityGroupMembership
func (VpcSecurityGroupMembership) GoString ¶ added in v0.9.5
func (s VpcSecurityGroupMembership) GoString() string
GoString returns the string representation
func (*VpcSecurityGroupMembership) SetStatus ¶ added in v1.5.0
func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership
SetStatus sets the Status field's value.
func (*VpcSecurityGroupMembership) SetVpcSecurityGroupId ¶ added in v1.5.0
func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership
SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value.
func (VpcSecurityGroupMembership) String ¶ added in v0.9.5
func (s VpcSecurityGroupMembership) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package rdsiface provides an interface to enable mocking the Amazon Relational Database Service service client for testing your code.
|
Package rdsiface provides an interface to enable mocking the Amazon Relational Database Service service client for testing your code. |