404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.16.139.76: ~ $
**Example 1: To describe a blue/green deployment of an RDS DB instance after creation completes**

The following ``describe-blue-green-deployment`` example retrieves the details of a blue/green deployment after creation completes. ::

    aws rds describe-blue-green-deployments \
        --blue-green-deployment-identifier bgd-v53303651eexfake

Output::

    {
        "BlueGreenDeployments": [
            {
                "BlueGreenDeploymentIdentifier": "bgd-v53303651eexfake",
                "BlueGreenDeploymentName": "bgd-cli-test-instance",
                "Source": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
                "Target": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-green-rkfbpe",
                "SwitchoverDetails": [
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-green-rkfbpe",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1-green-j382ha",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2-green-ejv4ao",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3-green-vlpz3t",
                        "Status": "AVAILABLE"
                    }
                ],
                "Tasks": [
                    {
                        "Name": "CREATING_READ_REPLICA_OF_SOURCE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "DB_ENGINE_VERSION_UPGRADE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CONFIGURE_BACKUPS",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATING_TOPOLOGY_OF_SOURCE",
                        "Status": "COMPLETED"
                    }
                ],
                "Status": "AVAILABLE",
                "CreateTime": "2022-02-25T21:18:51.183000+00:00"
            }
        ]
    }

For more information, see `Viewing a blue/green deployment <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments-viewing.html>`__ in the *Amazon RDS User Guide*.

**Example 2: To describe a blue/green deployment for an Aurora MySQL DB cluster**

The following ``describe-blue-green-deployment`` example retrieves the details of a blue/green deployment. ::

    aws rds describe-blue-green-deployments \
        --blue-green-deployment-identifier bgd-wi89nwzglccsfake

Output::

    {
        "BlueGreenDeployments": [
            {
                "BlueGreenDeploymentIdentifier": "bgd-wi89nwzglccsfake",
                "BlueGreenDeploymentName": "my-blue-green-deployment",
                "Source": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
                "Target": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3rnukl",
                "SwitchoverDetails": [
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3rnukl",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1-green-gpmaxf",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2-green-j2oajq",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3-green-mkxies",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint-green-4sqjrq",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint-green-gwwzlg",
                        "Status": "AVAILABLE"
                    }
                ],
                "Tasks": [
                    {
                        "Name": "CREATING_READ_REPLICA_OF_SOURCE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "DB_ENGINE_VERSION_UPGRADE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATE_DB_INSTANCES_FOR_CLUSTER",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATE_CUSTOM_ENDPOINTS",
                        "Status": "COMPLETED"
                    }
                ],
                "Status": "AVAILABLE",
                "CreateTime": "2022-02-25T21:12:00.288000+00:00"
            }
        ]
    }

For more information, see `Viewing a blue/green deployment <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments-viewing.html>`__ in the *Amazon Aurora User Guide*.


**Example 3: To describe a blue/green deployment for an Aurora MySQL cluster after switchover**

The following ``describe-blue-green-deployment`` example retrieves the details about a blue/green deployment after the green environment is promoted to be the production environment. ::

    aws rds describe-blue-green-deployments \
        --blue-green-deployment-identifier bgd-wi89nwzglccsfake

Output::

    {
        "BlueGreenDeployments": [
            {
                "BlueGreenDeploymentIdentifier": "bgd-wi89nwzglccsfake",
                "BlueGreenDeploymentName": "my-blue-green-deployment",
                "Source": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-old1",
                "Target": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
                "SwitchoverDetails": [
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint",
                        "Status": "SWITCHOVER_COMPLETED"
                    }
                ],
                "Tasks": [
                    {
                        "Name": "CREATING_READ_REPLICA_OF_SOURCE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "DB_ENGINE_VERSION_UPGRADE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATE_DB_INSTANCES_FOR_CLUSTER",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATE_CUSTOM_ENDPOINTS",
                        "Status": "COMPLETED"
                    }
                ],
                "Status": "SWITCHOVER_COMPLETED",
                "CreateTime": "2022-02-25T22:38:49.522000+00:00"
            }
        ]
    }

For more information, see `Viewing a blue/green deployment <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments-viewing.html>`__ in the *Amazon Aurora User Guide*.

**Example 4: To describe a combined blue/green deployment**

The following ``describe-blue-green-deployment`` example retrieves the details of a combined blue/green deployment. ::

    aws rds describe-blue-green-deployments

Output::

    {
        "BlueGreenDeployments": [
            {
                "BlueGreenDeploymentIdentifier": "bgd-wi89nwzgfakelccs",
                "BlueGreenDeploymentName": "my-blue-green-deployment",
                "Source": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
                "Target": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3rnukl",
                "SwitchoverDetails": [
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster:my-aurora-mysql-cluster-green-3rnukl",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-1-green-gpmaxf",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-2-green-j2oajq",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-aurora-mysql-cluster-3-green-mkxies",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-excluded-member-endpoint-green-4sqjrq",
                        "Status": "AVAILABLE"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:my-reader-endpoint-green-gwwzlg",
                        "Status": "AVAILABLE"
                    }
                ],
                "Tasks": [
                    {
                        "Name": "CREATING_READ_REPLICA_OF_SOURCE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "DB_ENGINE_VERSION_UPGRADE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATE_DB_INSTANCES_FOR_CLUSTER",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATE_CUSTOM_ENDPOINTS",
                        "Status": "COMPLETED"
                    }
                ],
                "Status": "AVAILABLE",
                "CreateTime": "2022-02-25T21:12:00.288000+00:00"
            },
            {
                "BlueGreenDeploymentIdentifier": "bgd-v5330365fake1eex",
                "BlueGreenDeploymentName": "bgd-cli-test-instance",
                "Source": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-old1",
                "Target": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
                "SwitchoverDetails": [
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-1",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-2",
                        "Status": "SWITCHOVER_COMPLETED"
                    },
                    {
                        "SourceMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3-old1",
                        "TargetMember": "arn:aws:rds:us-east-1:123456789012:db:my-db-instance-replica-3",
                        "Status": "SWITCHOVER_COMPLETED"
                    }
                ],
                "Tasks": [
                    {
                        "Name": "CREATING_READ_REPLICA_OF_SOURCE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "DB_ENGINE_VERSION_UPGRADE",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CONFIGURE_BACKUPS",
                        "Status": "COMPLETED"
                    },
                    {
                        "Name": "CREATING_TOPOLOGY_OF_SOURCE",
                        "Status": "COMPLETED"
                    }
                ],
                "Status": "SWITCHOVER_COMPLETED",
                "CreateTime": "2022-02-25T22:33:22.225000+00:00"
            }
        ]
    }

For more information, see `Viewing a blue/green deployment <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments-viewing.html>`__ in the *Amazon RDS User Guide* and `Viewing a blue/green deployment <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments-viewing.html>`__ in the *Amazon Aurora User Guide*.

Filemanager

Name Type Size Permission Actions
add-option-to-option-group.rst File 4.19 KB 0644
add-role-to-db-cluster.rst File 621 B 0644
add-role-to-db-instance.rst File 693 B 0644
add-source-identifier-to-subscription.rst File 1.03 KB 0644
add-tags-to-resource.rst File 539 B 0644
apply-pending-maintenance-action.rst File 1.24 KB 0644
authorize-db-security-group-ingress.rst File 1.13 KB 0644
backtrack-db-cluster.rst File 370 B 0644
cancel-export-task.rst File 1.21 KB 0644
copy-db-cluster-parameter-group.rst File 1.02 KB 0644
copy-db-cluster-snapshot.rst File 1.66 KB 0644
copy-db-parameter-group.rst File 899 B 0644
copy-db-snapshot.rst File 1.68 KB 0644
copy-option-group.rst File 971 B 0644
create-blue-green-deployment.rst File 4.9 KB 0644
create-db-cluster-endpoint.rst File 1.23 KB 0644
create-db-cluster-parameter-group.rst File 981 B 0644
create-db-cluster-snapshot.rst File 1.54 KB 0644
create-db-cluster.rst File 5.35 KB 0644
create-db-instance-read-replica.rst File 746 B 0644
create-db-instance.rst File 3.95 KB 0644
create-db-parameter-group.rst File 849 B 0644
create-db-security-group.rst File 773 B 0644
create-db-snapshot.rst File 1.47 KB 0644
create-db-subnet-group.rst File 1.83 KB 0644
create-event-subscription.rst File 1.15 KB 0644
create-global-cluster.rst File 1.03 KB 0644
create-option-group.rst File 904 B 0644
delete-blue-green-deployment.rst File 6.31 KB 0644
delete-db-cluster-endpoint.rst File 1.07 KB 0644
delete-db-cluster-parameter-group.rst File 535 B 0644
delete-db-cluster-snapshot.rst File 1.49 KB 0644
delete-db-cluster.rst File 2.18 KB 0644
delete-db-instance-automated-backup.rst File 1.68 KB 0644
delete-db-instance.rst File 523 B 0644
delete-db-parameter-group.rst File 418 B 0644
delete-db-security-group.rst File 488 B 0644
delete-db-snapshot.rst File 1.49 KB 0644
delete-db-subnet-group.rst File 454 B 0644
delete-event-subscription.rst File 911 B 0644
delete-global-cluster.rst File 1.11 KB 0644
delete-option-group.rst File 442 B 0644
describe-account-attributes.rst File 2.29 KB 0644
describe-blue-green-deployments.rst File 16.42 KB 0644
describe-certificates.rst File 640 B 0644
describe-db-cluster-backtracks.rst File 1.29 KB 0644
describe-db-cluster-endpoints.rst File 2.41 KB 0644
describe-db-cluster-parameter-groups.rst File 2.2 KB 0644
describe-db-cluster-parameters.rst File 4.75 KB 0644
describe-db-cluster-snapshot-attributes.rst File 920 B 0644
describe-db-cluster-snapshots.rst File 2.85 KB 0644
describe-db-clusters.rst File 5.94 KB 0644
describe-db-engine-versions.rst File 1.74 KB 0644
describe-db-instance-automated-backups.rst File 1.83 KB 0644
describe-db-instances.rst File 841 B 0755
describe-db-log-files.rst File 1.27 KB 0644
describe-db-parameter-groups.rst File 1.77 KB 0644
describe-db-parameters.rst File 1.46 KB 0644
describe-db-security-groups.rst File 1.2 KB 0644
describe-db-snapshot-attributes.rst File 849 B 0644
describe-db-snapshots.rst File 2.14 KB 0644
describe-db-subnet-groups.rst File 1.91 KB 0644
describe-engine-default-cluster-parameters.rst File 1.22 KB 0644
describe-engine-default-parameters.rst File 1.12 KB 0644
describe-event-categories.rst File 1.88 KB 0644
describe-event-subscriptions.rst File 918 B 0644
describe-events.rst File 1.09 KB 0644
describe-export-tasks.rst File 1.82 KB 0644
describe-global-clusters.rst File 1001 B 0644
describe-option-group-options.rst File 2.45 KB 0644
describe-option-groups.rst File 1.03 KB 0644
describe-orderable-db-instance-options.rst File 1.52 KB 0644
describe-pending-maintenance-actions.rst File 889 B 0644
describe-reserved-db-instances-offerings.rst File 1.03 KB 0644
describe-reserved-db-instances.rst File 1.49 KB 0644
describe-source-regions.rst File 5.92 KB 0644
describe-valid-db-instance-modifications.rst File 2.96 KB 0644
download-db-log-file-portion.rst File 888 B 0644
generate-auth-token.rst File 739 B 0644
generate-db-auth-token.rst File 1.08 KB 0644
list-tags-for-resource.rst File 673 B 0644
modify-certificates.rst File 1.14 KB 0644
modify-current-db-cluster-capacity.rst File 766 B 0644
modify-db-cluster-endpoint.rst File 1.13 KB 0644
modify-db-cluster-parameter-group.rst File 814 B 0644
modify-db-cluster-snapshot-attribute.rst File 945 B 0644
modify-db-cluster.rst File 3.08 KB 0644
modify-db-instance.rst File 2.01 KB 0644
modify-db-parameter-group.rst File 840 B 0644
modify-db-snapshot-attribute.rst File 2.11 KB 0644
modify-db-snapshot-attributes.rst File 1 KB 0644
modify-db-snapshot.rst File 1.67 KB 0644
modify-db-subnet-group.rst File 2.29 KB 0644
modify-event-subscription.rst File 977 B 0644
modify-global-cluster.rst File 1.01 KB 0644
promote-read-replica-db-cluster.rst File 942 B 0644
promote-read-replica.rst File 581 B 0644
purchase-reserved-db-instance.rst File 440 B 0644
purchase-reserved-db-instances-offerings.rst File 2.91 KB 0644
reboot-db-instance.rst File 919 B 0644
remove-from-global-cluster.rst File 1.85 KB 0644
remove-option-from-option-group.rst File 965 B 0644
remove-role-from-db-cluster.rst File 631 B 0644
remove-role-from-db-instance.rst File 763 B 0644
remove-source-identifier-from-subscription.rst File 1.01 KB 0644
remove-tags-from-resource.rst File 637 B 0644
reset-db-cluster-parameter-group.rst File 1.47 KB 0644
reset-db-parameter-group.rst File 1.69 KB 0644
restore-db-cluster-from-s3.rst File 2.77 KB 0644
restore-db-cluster-from-snapshot.rst File 2.63 KB 0644
restore-db-cluster-to-point-in-time.rst File 2.76 KB 0644
restore-db-instance-from-db-snapshot.rst File 1.6 KB 0644
restore-db-instance-from-s3.rst File 641 B 0644
restore-db-instance-to-point-in-time.rst File 2.72 KB 0644
start-activity-stream.rst File 1004 B 0644
start-db-cluster.rst File 820 B 0644
start-db-instance-automated-backups-replication.rst File 1.72 KB 0644
start-db-instance.rst File 330 B 0644
start-export-task.rst File 1.29 KB 0644
stop-activity-stream.rst File 786 B 0644
stop-db-cluster.rst File 816 B 0644
stop-db-instance-automated-backups-replication.rst File 1.79 KB 0644
stop-db-instance.rst File 326 B 0644
switchover-blue-green-deployment.rst File 6.23 KB 0644