mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-31 04:30:44 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
Generated
Vendored
+4
-2
@@ -319,7 +319,6 @@ func ExampleDatabaseMigrationService_DeleteCertificate_shared00() {
|
||||
//
|
||||
// Deletes the specified endpoint. All tasks associated with the endpoint must be deleted
|
||||
// before you can delete the endpoint.
|
||||
//
|
||||
func ExampleDatabaseMigrationService_DeleteEndpoint_shared00() {
|
||||
svc := databasemigrationservice.New(session.New())
|
||||
input := &databasemigrationservice.DeleteEndpointInput{
|
||||
@@ -352,7 +351,6 @@ func ExampleDatabaseMigrationService_DeleteEndpoint_shared00() {
|
||||
//
|
||||
// Deletes the specified replication instance. You must delete any migration tasks that
|
||||
// are associated with the replication instance before you can delete it.
|
||||
//
|
||||
func ExampleDatabaseMigrationService_DeleteReplicationInstance_shared00() {
|
||||
svc := databasemigrationservice.New(session.New())
|
||||
input := &databasemigrationservice.DeleteReplicationInstanceInput{
|
||||
@@ -1005,6 +1003,8 @@ func ExampleDatabaseMigrationService_ModifyReplicationInstance_shared00() {
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case databasemigrationservice.ErrCodeAccessDeniedFault:
|
||||
fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
|
||||
case databasemigrationservice.ErrCodeInvalidResourceStateFault:
|
||||
fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
|
||||
case databasemigrationservice.ErrCodeResourceAlreadyExistsFault:
|
||||
@@ -1157,6 +1157,8 @@ func ExampleDatabaseMigrationService_StartReplicationTask_shared00() {
|
||||
fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error())
|
||||
case databasemigrationservice.ErrCodeInvalidResourceStateFault:
|
||||
fmt.Println(databasemigrationservice.ErrCodeInvalidResourceStateFault, aerr.Error())
|
||||
case databasemigrationservice.ErrCodeAccessDeniedFault:
|
||||
fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user