Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-sdk

Package Overview
Dependencies
Maintainers
0
Versions
1965
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-sdk - npm Package Compare versions

Comparing version 2.1650.0 to 2.1651.0

86

apis/cloudhsmv2-2017-04-28.min.json

@@ -17,3 +17,6 @@ {

"targetPrefix": "BaldrApiService",
"uid": "cloudhsmv2-2017-04-28"
"uid": "cloudhsmv2-2017-04-28",
"auth": [
"aws.auth#sigv4"
]
},

@@ -80,3 +83,3 @@ "operations": {

"Cluster": {
"shape": "Sl"
"shape": "Sm"
}

@@ -103,3 +106,3 @@ }

"Hsm": {
"shape": "So"
"shape": "Sp"
}

@@ -123,3 +126,3 @@ }

"Backup": {
"shape": "S17"
"shape": "S18"
}

@@ -143,3 +146,3 @@ }

"Cluster": {
"shape": "Sl"
"shape": "Sm"
}

@@ -169,2 +172,17 @@ }

},
"DeleteResourcePolicy": {
"input": {
"type": "structure",
"members": {
"ResourceArn": {}
}
},
"output": {
"type": "structure",
"members": {
"ResourceArn": {},
"Policy": {}
}
}
},
"DescribeBackups": {

@@ -179,4 +197,7 @@ "input": {

"Filters": {
"shape": "S1h"
"shape": "S1m"
},
"Shared": {
"type": "boolean"
},
"SortAscending": {

@@ -193,3 +214,3 @@ "type": "boolean"

"member": {
"shape": "S17"
"shape": "S18"
}

@@ -206,3 +227,3 @@ },

"Filters": {
"shape": "S1h"
"shape": "S1m"
},

@@ -221,3 +242,3 @@ "NextToken": {},

"member": {
"shape": "Sl"
"shape": "Sm"
}

@@ -229,2 +250,16 @@ },

},
"GetResourcePolicy": {
"input": {
"type": "structure",
"members": {
"ResourceArn": {}
}
},
"output": {
"type": "structure",
"members": {
"Policy": {}
}
}
},
"InitializeCluster": {

@@ -297,3 +332,3 @@ "input": {

"Backup": {
"shape": "S17"
"shape": "S18"
}

@@ -321,3 +356,3 @@ }

"Cluster": {
"shape": "Sl"
"shape": "Sm"
}

@@ -327,2 +362,18 @@ }

},
"PutResourcePolicy": {
"input": {
"type": "structure",
"members": {
"ResourceArn": {},
"Policy": {}
}
},
"output": {
"type": "structure",
"members": {
"ResourceArn": {},
"Policy": {}
}
}
},
"RestoreBackup": {

@@ -342,3 +393,3 @@ "input": {

"Backup": {
"shape": "S17"
"shape": "S18"
}

@@ -410,3 +461,3 @@ }

},
"Sl": {
"Sm": {
"type": "structure",

@@ -425,3 +476,3 @@ "members": {

"member": {
"shape": "So"
"shape": "Sp"
}

@@ -457,3 +508,3 @@ },

},
"So": {
"Sp": {
"type": "structure",

@@ -474,3 +525,3 @@ "required": [

},
"S17": {
"S18": {
"type": "structure",

@@ -482,2 +533,3 @@ "required": [

"BackupId": {},
"BackupArn": {},
"BackupState": {},

@@ -507,3 +559,3 @@ "ClusterId": {},

},
"S1h": {
"S1m": {
"type": "map",

@@ -510,0 +562,0 @@ "key": {},

5

apis/kinesisanalyticsv2-2018-05-23.min.json

@@ -17,3 +17,6 @@ {

"targetPrefix": "KinesisAnalytics_20180523",
"uid": "kinesisanalyticsv2-2018-05-23"
"uid": "kinesisanalyticsv2-2018-05-23",
"auth": [
"aws.auth#sigv4"
]
},

@@ -20,0 +23,0 @@ "operations": {

@@ -17,3 +17,6 @@ {

"targetPrefix": "PerformanceInsightsv20180227",
"uid": "pi-2018-02-27"
"uid": "pi-2018-02-27",
"auth": [
"aws.auth#sigv4"
]
},

@@ -20,0 +23,0 @@ "operations": {

@@ -15,119 +15,143 @@ import {Request} from '../lib/request';

/**
* Copy an AWS CloudHSM cluster backup to a different region.
* Copy an CloudHSM cluster backup to a different region. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
copyBackupToRegion(params: CloudHSMV2.Types.CopyBackupToRegionRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.CopyBackupToRegionResponse) => void): Request<CloudHSMV2.Types.CopyBackupToRegionResponse, AWSError>;
/**
* Copy an AWS CloudHSM cluster backup to a different region.
* Copy an CloudHSM cluster backup to a different region. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
copyBackupToRegion(callback?: (err: AWSError, data: CloudHSMV2.Types.CopyBackupToRegionResponse) => void): Request<CloudHSMV2.Types.CopyBackupToRegionResponse, AWSError>;
/**
* Creates a new AWS CloudHSM cluster.
* Creates a new CloudHSM cluster. Cross-account use: Yes. To perform this operation with an CloudHSM backup in a different AWS account, specify the full backup ARN in the value of the SourceBackupId parameter.
*/
createCluster(params: CloudHSMV2.Types.CreateClusterRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.CreateClusterResponse) => void): Request<CloudHSMV2.Types.CreateClusterResponse, AWSError>;
/**
* Creates a new AWS CloudHSM cluster.
* Creates a new CloudHSM cluster. Cross-account use: Yes. To perform this operation with an CloudHSM backup in a different AWS account, specify the full backup ARN in the value of the SourceBackupId parameter.
*/
createCluster(callback?: (err: AWSError, data: CloudHSMV2.Types.CreateClusterResponse) => void): Request<CloudHSMV2.Types.CreateClusterResponse, AWSError>;
/**
* Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
* Creates a new hardware security module (HSM) in the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Service account.
*/
createHsm(params: CloudHSMV2.Types.CreateHsmRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.CreateHsmResponse) => void): Request<CloudHSMV2.Types.CreateHsmResponse, AWSError>;
/**
* Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
* Creates a new hardware security module (HSM) in the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Service account.
*/
createHsm(callback?: (err: AWSError, data: CloudHSMV2.Types.CreateHsmResponse) => void): Request<CloudHSMV2.Types.CreateHsmResponse, AWSError>;
/**
* Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup.
* Deletes a specified CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
deleteBackup(params: CloudHSMV2.Types.DeleteBackupRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteBackupResponse) => void): Request<CloudHSMV2.Types.DeleteBackupResponse, AWSError>;
/**
* Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup.
* Deletes a specified CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
deleteBackup(callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteBackupResponse) => void): Request<CloudHSMV2.Types.DeleteBackupResponse, AWSError>;
/**
* Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.
* Deletes the specified CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.
*/
deleteCluster(params: CloudHSMV2.Types.DeleteClusterRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteClusterResponse) => void): Request<CloudHSMV2.Types.DeleteClusterResponse, AWSError>;
/**
* Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.
* Deletes the specified CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.
*/
deleteCluster(callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteClusterResponse) => void): Request<CloudHSMV2.Types.DeleteClusterResponse, AWSError>;
/**
* Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters.
* Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters. Cross-account use: No. You cannot perform this operation on an CloudHSM hsm in a different Amazon Web Services account.
*/
deleteHsm(params: CloudHSMV2.Types.DeleteHsmRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteHsmResponse) => void): Request<CloudHSMV2.Types.DeleteHsmResponse, AWSError>;
/**
* Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters.
* Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters. Cross-account use: No. You cannot perform this operation on an CloudHSM hsm in a different Amazon Web Services account.
*/
deleteHsm(callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteHsmResponse) => void): Request<CloudHSMV2.Types.DeleteHsmResponse, AWSError>;
/**
* Gets information about backups of AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get.
* Deletes an CloudHSM resource policy. Deleting a resource policy will result in the resource being unshared and removed from any RAM resource shares. Deleting the resource policy attached to a backup will not impact any clusters created from that backup. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
deleteResourcePolicy(params: CloudHSMV2.Types.DeleteResourcePolicyRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteResourcePolicyResponse) => void): Request<CloudHSMV2.Types.DeleteResourcePolicyResponse, AWSError>;
/**
* Deletes an CloudHSM resource policy. Deleting a resource policy will result in the resource being unshared and removed from any RAM resource shares. Deleting the resource policy attached to a backup will not impact any clusters created from that backup. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
deleteResourcePolicy(callback?: (err: AWSError, data: CloudHSMV2.Types.DeleteResourcePolicyResponse) => void): Request<CloudHSMV2.Types.DeleteResourcePolicyResponse, AWSError>;
/**
* Gets information about backups of CloudHSM clusters. Lists either the backups you own or the backups shared with you when the Shared parameter is true. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get. Cross-account use: Yes. Customers can describe backups in other Amazon Web Services accounts that are shared with them.
*/
describeBackups(params: CloudHSMV2.Types.DescribeBackupsRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.DescribeBackupsResponse) => void): Request<CloudHSMV2.Types.DescribeBackupsResponse, AWSError>;
/**
* Gets information about backups of AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get.
* Gets information about backups of CloudHSM clusters. Lists either the backups you own or the backups shared with you when the Shared parameter is true. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get. Cross-account use: Yes. Customers can describe backups in other Amazon Web Services accounts that are shared with them.
*/
describeBackups(callback?: (err: AWSError, data: CloudHSMV2.Types.DescribeBackupsResponse) => void): Request<CloudHSMV2.Types.DescribeBackupsResponse, AWSError>;
/**
* Gets information about AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.
* Gets information about CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get. Cross-account use: No. You cannot perform this operation on CloudHSM clusters in a different Amazon Web Services account.
*/
describeClusters(params: CloudHSMV2.Types.DescribeClustersRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.DescribeClustersResponse) => void): Request<CloudHSMV2.Types.DescribeClustersResponse, AWSError>;
/**
* Gets information about AWS CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.
* Gets information about CloudHSM clusters. This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get. Cross-account use: No. You cannot perform this operation on CloudHSM clusters in a different Amazon Web Services account.
*/
describeClusters(callback?: (err: AWSError, data: CloudHSMV2.Types.DescribeClustersResponse) => void): Request<CloudHSMV2.Types.DescribeClustersResponse, AWSError>;
/**
* Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.
* Retrieves the resource policy document attached to a given resource. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
getResourcePolicy(params: CloudHSMV2.Types.GetResourcePolicyRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.GetResourcePolicyResponse) => void): Request<CloudHSMV2.Types.GetResourcePolicyResponse, AWSError>;
/**
* Retrieves the resource policy document attached to a given resource. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
getResourcePolicy(callback?: (err: AWSError, data: CloudHSMV2.Types.GetResourcePolicyResponse) => void): Request<CloudHSMV2.Types.GetResourcePolicyResponse, AWSError>;
/**
* Claims an CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.
*/
initializeCluster(params: CloudHSMV2.Types.InitializeClusterRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.InitializeClusterResponse) => void): Request<CloudHSMV2.Types.InitializeClusterResponse, AWSError>;
/**
* Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.
* Claims an CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.
*/
initializeCluster(callback?: (err: AWSError, data: CloudHSMV2.Types.InitializeClusterResponse) => void): Request<CloudHSMV2.Types.InitializeClusterResponse, AWSError>;
/**
* Gets a list of tags for the specified AWS CloudHSM cluster. This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.
* Gets a list of tags for the specified CloudHSM cluster. This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
listTags(params: CloudHSMV2.Types.ListTagsRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.ListTagsResponse) => void): Request<CloudHSMV2.Types.ListTagsResponse, AWSError>;
/**
* Gets a list of tags for the specified AWS CloudHSM cluster. This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.
* Gets a list of tags for the specified CloudHSM cluster. This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
listTags(callback?: (err: AWSError, data: CloudHSMV2.Types.ListTagsResponse) => void): Request<CloudHSMV2.Types.ListTagsResponse, AWSError>;
/**
* Modifies attributes for AWS CloudHSM backup.
* Modifies attributes for CloudHSM backup. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
modifyBackupAttributes(params: CloudHSMV2.Types.ModifyBackupAttributesRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.ModifyBackupAttributesResponse) => void): Request<CloudHSMV2.Types.ModifyBackupAttributesResponse, AWSError>;
/**
* Modifies attributes for AWS CloudHSM backup.
* Modifies attributes for CloudHSM backup. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
modifyBackupAttributes(callback?: (err: AWSError, data: CloudHSMV2.Types.ModifyBackupAttributesResponse) => void): Request<CloudHSMV2.Types.ModifyBackupAttributesResponse, AWSError>;
/**
* Modifies AWS CloudHSM cluster.
* Modifies CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.
*/
modifyCluster(params: CloudHSMV2.Types.ModifyClusterRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.ModifyClusterResponse) => void): Request<CloudHSMV2.Types.ModifyClusterResponse, AWSError>;
/**
* Modifies AWS CloudHSM cluster.
* Modifies CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.
*/
modifyCluster(callback?: (err: AWSError, data: CloudHSMV2.Types.ModifyClusterResponse) => void): Request<CloudHSMV2.Types.ModifyClusterResponse, AWSError>;
/**
* Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see DeleteBackup.
* Creates or updates an CloudHSM resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your CloudHSM resources. The following resources support CloudHSM resource policies: Backup - The resource policy allows you to describe the backup and restore a cluster from the backup in another Amazon Web Services account. In order to share a backup, it must be in a 'READY' state and you must own it. While you can share a backup using the CloudHSM PutResourcePolicy operation, we recommend using Resource Access Manager (RAM) instead. Using RAM provides multiple benefits as it creates the policy for you, allows multiple resources to be shared at one time, and increases the discoverability of shared resources. If you use PutResourcePolicy and want consumers to be able to describe the backups you share with them, you must promote the backup to a standard RAM Resource Share using the RAM PromoteResourceShareCreatedFromPolicy API operation. For more information, see Working with shared backups in the CloudHSM User Guide Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
putResourcePolicy(params: CloudHSMV2.Types.PutResourcePolicyRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.PutResourcePolicyResponse) => void): Request<CloudHSMV2.Types.PutResourcePolicyResponse, AWSError>;
/**
* Creates or updates an CloudHSM resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your CloudHSM resources. The following resources support CloudHSM resource policies: Backup - The resource policy allows you to describe the backup and restore a cluster from the backup in another Amazon Web Services account. In order to share a backup, it must be in a 'READY' state and you must own it. While you can share a backup using the CloudHSM PutResourcePolicy operation, we recommend using Resource Access Manager (RAM) instead. Using RAM provides multiple benefits as it creates the policy for you, allows multiple resources to be shared at one time, and increases the discoverability of shared resources. If you use PutResourcePolicy and want consumers to be able to describe the backups you share with them, you must promote the backup to a standard RAM Resource Share using the RAM PromoteResourceShareCreatedFromPolicy API operation. For more information, see Working with shared backups in the CloudHSM User Guide Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
putResourcePolicy(callback?: (err: AWSError, data: CloudHSMV2.Types.PutResourcePolicyResponse) => void): Request<CloudHSMV2.Types.PutResourcePolicyResponse, AWSError>;
/**
* Restores a specified CloudHSM backup that is in the PENDING_DELETION state. For more information on deleting a backup, see DeleteBackup. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
restoreBackup(params: CloudHSMV2.Types.RestoreBackupRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.RestoreBackupResponse) => void): Request<CloudHSMV2.Types.RestoreBackupResponse, AWSError>;
/**
* Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see DeleteBackup.
* Restores a specified CloudHSM backup that is in the PENDING_DELETION state. For more information on deleting a backup, see DeleteBackup. Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.
*/
restoreBackup(callback?: (err: AWSError, data: CloudHSMV2.Types.RestoreBackupResponse) => void): Request<CloudHSMV2.Types.RestoreBackupResponse, AWSError>;
/**
* Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.
* Adds or overwrites one or more tags for the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
tagResource(params: CloudHSMV2.Types.TagResourceRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.TagResourceResponse) => void): Request<CloudHSMV2.Types.TagResourceResponse, AWSError>;
/**
* Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.
* Adds or overwrites one or more tags for the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
tagResource(callback?: (err: AWSError, data: CloudHSMV2.Types.TagResourceResponse) => void): Request<CloudHSMV2.Types.TagResourceResponse, AWSError>;
/**
* Removes the specified tag or tags from the specified AWS CloudHSM cluster.
* Removes the specified tag or tags from the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/
untagResource(params: CloudHSMV2.Types.UntagResourceRequest, callback?: (err: AWSError, data: CloudHSMV2.Types.UntagResourceResponse) => void): Request<CloudHSMV2.Types.UntagResourceResponse, AWSError>;
/**
* Removes the specified tag or tags from the specified AWS CloudHSM cluster.
* Removes the specified tag or tags from the specified CloudHSM cluster. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
*/

@@ -143,2 +167,6 @@ untagResource(callback?: (err: AWSError, data: CloudHSMV2.Types.UntagResourceResponse) => void): Request<CloudHSMV2.Types.UntagResourceResponse, AWSError>;

/**
* The Amazon Resource Name (ARN) of the backup.
*/
BackupArn?: BackupArn;
/**
* The state of the backup.

@@ -184,3 +212,3 @@ */

/**
* The HSM type of the cluster that was backed up.
* The HSM type used to create the backup.
*/

@@ -193,2 +221,3 @@ HsmType?: HsmType;

}
export type BackupArn = string;
export type BackupId = string;

@@ -223,3 +252,3 @@ export type BackupPolicy = "DEFAULT"|string;

/**
* The HSM hardware certificate issued (signed) by AWS CloudHSM.
* The HSM hardware certificate issued (signed) by CloudHSM.
*/

@@ -236,2 +265,3 @@ AwsHardwareCertificate?: Cert;

}
export type CloudHsmArn = string;
export interface Cluster {

@@ -338,5 +368,5 @@ /**

/**
* The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
* The identifier (ID) or the Amazon Resource Name (ARN) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID or ARN, use DescribeBackups. If using a backup in another account, the full ARN must be supplied.
*/
SourceBackupId?: BackupId;
SourceBackupId?: BackupArn;
/**

@@ -429,2 +459,18 @@ * The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria: All subnets must be in the same virtual private cloud (VPC). You can specify only one subnet per Availability Zone.

}
export interface DeleteResourcePolicyRequest {
/**
* Amazon Resource Name (ARN) of the resource from which the policy will be removed.
*/
ResourceArn?: CloudHsmArn;
}
export interface DeleteResourcePolicyResponse {
/**
* Amazon Resource Name (ARN) of the resource from which the policy was deleted.
*/
ResourceArn?: CloudHsmArn;
/**
* The policy previously attached to the resource.
*/
Policy?: ResourcePolicy;
}
export interface DescribeBackupsRequest {

@@ -444,2 +490,6 @@ /**

/**
* Describe backups that are shared with you. By default when using this option, the command returns backups that have been shared using a standard Resource Access Manager resource share. In order for a backup that was shared using the PutResourcePolicy command to be returned, the share must be promoted to a standard resource share using the RAM PromoteResourceShareCreatedFromPolicy API operation. For more information about sharing backups, see Working with shared backups in the CloudHSM User Guide.
*/
Shared?: Boolean;
/**
* Designates whether or not to sort the return backups by ascending chronological order of generation.

@@ -506,2 +556,14 @@ */

export type Filters = {[key: string]: Strings};
export interface GetResourcePolicyRequest {
/**
* Amazon Resource Name (ARN) of the resource to which a policy is attached.
*/
ResourceArn?: CloudHsmArn;
}
export interface GetResourcePolicyResponse {
/**
* The policy attached to a resource.
*/
Policy?: ResourcePolicy;
}
export interface Hsm {

@@ -623,4 +685,25 @@ /**

export type PreCoPassword = string;
export interface PutResourcePolicyRequest {
/**
* Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
*/
ResourceArn?: CloudHsmArn;
/**
* The policy you want to associate with a resource. For an example policy, see Working with shared backups in the CloudHSM User Guide
*/
Policy?: ResourcePolicy;
}
export interface PutResourcePolicyResponse {
/**
* Amazon Resource Name (ARN) of the resource to which a policy is attached.
*/
ResourceArn?: CloudHsmArn;
/**
* The policy attached to a resource.
*/
Policy?: ResourcePolicy;
}
export type Region = string;
export type ResourceId = string;
export type ResourcePolicy = string;
export interface RestoreBackupRequest {

@@ -627,0 +710,0 @@ /**

@@ -290,3 +290,3 @@ import {Request} from '../lib/request';

/**
* One or more filters to apply in the request. Restrictions: Any number of filters by the same dimension, as specified in the GroupBy or Partition parameters. A single filter for any other dimension in this dimension group.
* One or more filters to apply in the request. Restrictions: Any number of filters by the same dimension, as specified in the GroupBy or Partition parameters. A single filter for any other dimension in this dimension group. The db.sql.db_id filter isn't available for RDS for SQL Server DB instances.
*/

@@ -744,3 +744,3 @@ Filter?: MetricQueryFilterMap;

/**
* One or more filters to apply in the request. Restrictions: Any number of filters by the same dimension, as specified in the GroupBy parameter. A single filter for any other dimension in this dimension group.
* One or more filters to apply in the request. Restrictions: Any number of filters by the same dimension, as specified in the GroupBy parameter. A single filter for any other dimension in this dimension group. The db.sql.db_id filter isn't available for RDS for SQL Server DB instances.
*/

@@ -747,0 +747,0 @@ Filter?: MetricQueryFilterMap;

@@ -23,3 +23,3 @@ /**

*/
VERSION: '2.1650.0',
VERSION: '2.1651.0',

@@ -26,0 +26,0 @@ /**

{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.1650.0",
"version": "2.1651.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Amazon Web Services",

@@ -67,3 +67,3 @@ # AWS SDK for JavaScript

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1650.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1651.0.min.js"></script>

@@ -70,0 +70,0 @@ You can also build a custom browser SDK with your specified set of AWS services.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc