コード例 #1
0
        public void NeptuneDescribeDBClusterSnapshotAttributes()
        {
            #region describe-db-cluster-snapshot-attributes-6752ade3-0c7b-4b06-a8e4-b76bf4e2d3571

            var response = client.DescribeDBClusterSnapshotAttributes(new DescribeDBClusterSnapshotAttributesRequest
            {
                DBClusterSnapshotIdentifier = "mydbclustersnapshot"
            });

            DBClusterSnapshotAttributesResult dbClusterSnapshotAttributesResult = response.DBClusterSnapshotAttributesResult;

            #endregion
        }
コード例 #2
0
        public void NeptuneModifyDBClusterSnapshotAttribute()
        {
            #region to-add-or-remove-access-to-a-manual-db-cluster-snapshot-1473889426431

            var response = client.ModifyDBClusterSnapshotAttribute(new ModifyDBClusterSnapshotAttributeRequest
            {
                AttributeName = "restore",
                DBClusterSnapshotIdentifier = "manual-cluster-snapshot1",
                ValuesToAdd = new List <string> {
                    "123451234512",
                    "123456789012"
                },
                ValuesToRemove = new List <string> {
                    "all"
                }
            });

            DBClusterSnapshotAttributesResult dbClusterSnapshotAttributesResult = response.DBClusterSnapshotAttributesResult;

            #endregion
        }