mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+116
-4
@@ -14,6 +14,22 @@
|
||||
"uid":"cloudhsmv2-2017-04-28"
|
||||
},
|
||||
"operations":{
|
||||
"CopyBackupToRegion":{
|
||||
"name":"CopyBackupToRegion",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"CopyBackupToRegionRequest"},
|
||||
"output":{"shape":"CopyBackupToRegionResponse"},
|
||||
"errors":[
|
||||
{"shape":"CloudHsmInternalFailureException"},
|
||||
{"shape":"CloudHsmServiceException"},
|
||||
{"shape":"CloudHsmResourceNotFoundException"},
|
||||
{"shape":"CloudHsmInvalidRequestException"},
|
||||
{"shape":"CloudHsmAccessDeniedException"}
|
||||
]
|
||||
},
|
||||
"CreateCluster":{
|
||||
"name":"CreateCluster",
|
||||
"http":{
|
||||
@@ -46,6 +62,22 @@
|
||||
{"shape":"CloudHsmAccessDeniedException"}
|
||||
]
|
||||
},
|
||||
"DeleteBackup":{
|
||||
"name":"DeleteBackup",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"DeleteBackupRequest"},
|
||||
"output":{"shape":"DeleteBackupResponse"},
|
||||
"errors":[
|
||||
{"shape":"CloudHsmInternalFailureException"},
|
||||
{"shape":"CloudHsmServiceException"},
|
||||
{"shape":"CloudHsmResourceNotFoundException"},
|
||||
{"shape":"CloudHsmInvalidRequestException"},
|
||||
{"shape":"CloudHsmAccessDeniedException"}
|
||||
]
|
||||
},
|
||||
"DeleteCluster":{
|
||||
"name":"DeleteCluster",
|
||||
"http":{
|
||||
@@ -141,6 +173,22 @@
|
||||
{"shape":"CloudHsmAccessDeniedException"}
|
||||
]
|
||||
},
|
||||
"RestoreBackup":{
|
||||
"name":"RestoreBackup",
|
||||
"http":{
|
||||
"method":"POST",
|
||||
"requestUri":"/"
|
||||
},
|
||||
"input":{"shape":"RestoreBackupRequest"},
|
||||
"output":{"shape":"RestoreBackupResponse"},
|
||||
"errors":[
|
||||
{"shape":"CloudHsmInternalFailureException"},
|
||||
{"shape":"CloudHsmServiceException"},
|
||||
{"shape":"CloudHsmResourceNotFoundException"},
|
||||
{"shape":"CloudHsmInvalidRequestException"},
|
||||
{"shape":"CloudHsmAccessDeniedException"}
|
||||
]
|
||||
},
|
||||
"TagResource":{
|
||||
"name":"TagResource",
|
||||
"http":{
|
||||
@@ -182,7 +230,12 @@
|
||||
"BackupId":{"shape":"BackupId"},
|
||||
"BackupState":{"shape":"BackupState"},
|
||||
"ClusterId":{"shape":"ClusterId"},
|
||||
"CreateTimestamp":{"shape":"Timestamp"}
|
||||
"CreateTimestamp":{"shape":"Timestamp"},
|
||||
"CopyTimestamp":{"shape":"Timestamp"},
|
||||
"SourceRegion":{"shape":"Region"},
|
||||
"SourceBackup":{"shape":"BackupId"},
|
||||
"SourceCluster":{"shape":"ClusterId"},
|
||||
"DeleteTimestamp":{"shape":"Timestamp"}
|
||||
}
|
||||
},
|
||||
"BackupId":{
|
||||
@@ -198,13 +251,15 @@
|
||||
"enum":[
|
||||
"CREATE_IN_PROGRESS",
|
||||
"READY",
|
||||
"DELETED"
|
||||
"DELETED",
|
||||
"PENDING_DELETION"
|
||||
]
|
||||
},
|
||||
"Backups":{
|
||||
"type":"list",
|
||||
"member":{"shape":"Backup"}
|
||||
},
|
||||
"Boolean":{"type":"boolean"},
|
||||
"Cert":{
|
||||
"type":"string",
|
||||
"max":5000,
|
||||
@@ -296,6 +351,23 @@
|
||||
"type":"list",
|
||||
"member":{"shape":"Cluster"}
|
||||
},
|
||||
"CopyBackupToRegionRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"DestinationRegion",
|
||||
"BackupId"
|
||||
],
|
||||
"members":{
|
||||
"DestinationRegion":{"shape":"Region"},
|
||||
"BackupId":{"shape":"BackupId"}
|
||||
}
|
||||
},
|
||||
"CopyBackupToRegionResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"DestinationBackup":{"shape":"DestinationBackup"}
|
||||
}
|
||||
},
|
||||
"CreateClusterRequest":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
@@ -332,6 +404,19 @@
|
||||
"Hsm":{"shape":"Hsm"}
|
||||
}
|
||||
},
|
||||
"DeleteBackupRequest":{
|
||||
"type":"structure",
|
||||
"required":["BackupId"],
|
||||
"members":{
|
||||
"BackupId":{"shape":"BackupId"}
|
||||
}
|
||||
},
|
||||
"DeleteBackupResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Backup":{"shape":"Backup"}
|
||||
}
|
||||
},
|
||||
"DeleteClusterRequest":{
|
||||
"type":"structure",
|
||||
"required":["ClusterId"],
|
||||
@@ -366,7 +451,8 @@
|
||||
"members":{
|
||||
"NextToken":{"shape":"NextToken"},
|
||||
"MaxResults":{"shape":"MaxSize"},
|
||||
"Filters":{"shape":"Filters"}
|
||||
"Filters":{"shape":"Filters"},
|
||||
"SortAscending":{"shape":"Boolean"}
|
||||
}
|
||||
},
|
||||
"DescribeBackupsResponse":{
|
||||
@@ -391,13 +477,22 @@
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"DestinationBackup":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"CreateTimestamp":{"shape":"Timestamp"},
|
||||
"SourceRegion":{"shape":"Region"},
|
||||
"SourceBackup":{"shape":"BackupId"},
|
||||
"SourceCluster":{"shape":"ClusterId"}
|
||||
}
|
||||
},
|
||||
"EniId":{
|
||||
"type":"string",
|
||||
"pattern":"eni-[0-9a-fA-F]{8,17}"
|
||||
},
|
||||
"ExternalAz":{
|
||||
"type":"string",
|
||||
"pattern":"[a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-\\d[a-z]"
|
||||
"pattern":"[a-z]{2}(-(gov))?-(east|west|north|south|central){1,2}-\\d[a-z]"
|
||||
},
|
||||
"ExternalSubnetMapping":{
|
||||
"type":"map",
|
||||
@@ -505,6 +600,23 @@
|
||||
"max":32,
|
||||
"min":7
|
||||
},
|
||||
"Region":{
|
||||
"type":"string",
|
||||
"pattern":"[a-z]{2}(-(gov))?-(east|west|north|south|central){1,2}-\\d"
|
||||
},
|
||||
"RestoreBackupRequest":{
|
||||
"type":"structure",
|
||||
"required":["BackupId"],
|
||||
"members":{
|
||||
"BackupId":{"shape":"BackupId"}
|
||||
}
|
||||
},
|
||||
"RestoreBackupResponse":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Backup":{"shape":"Backup"}
|
||||
}
|
||||
},
|
||||
"SecurityGroup":{
|
||||
"type":"string",
|
||||
"pattern":"sg-[0-9a-fA-F]"
|
||||
|
||||
+69
-4
@@ -2,14 +2,17 @@
|
||||
"version": "2.0",
|
||||
"service": "<p>For more information about AWS CloudHSM, see <a href=\"http://aws.amazon.com/cloudhsm/\">AWS CloudHSM</a> and the <a href=\"http://docs.aws.amazon.com/cloudhsm/latest/userguide/\">AWS CloudHSM User Guide</a>.</p>",
|
||||
"operations": {
|
||||
"CopyBackupToRegion": "<p>Copy an AWS CloudHSM cluster backup to a different region.</p>",
|
||||
"CreateCluster": "<p>Creates a new AWS CloudHSM cluster.</p>",
|
||||
"CreateHsm": "<p>Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.</p>",
|
||||
"DeleteBackup": "<p>Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request. For more information on restoring a backup, see <a>RestoreBackup</a> </p>",
|
||||
"DeleteCluster": "<p>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 <a>DescribeClusters</a>. To delete an HSM, use <a>DeleteHsm</a>.</p>",
|
||||
"DeleteHsm": "<p>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 <a>DescribeClusters</a>.</p>",
|
||||
"DescribeBackups": "<p>Gets information about backups of AWS CloudHSM clusters.</p> <p>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 <code>NextToken</code> value. Use this value in a subsequent <code>DescribeBackups</code> request to get more backups. When you receive a response with no <code>NextToken</code> (or an empty or null value), that means there are no more backups to get.</p>",
|
||||
"DescribeClusters": "<p>Gets information about AWS CloudHSM clusters.</p> <p>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 <code>NextToken</code> value. Use this value in a subsequent <code>DescribeClusters</code> request to get more clusters. When you receive a response with no <code>NextToken</code> (or an empty or null value), that means there are no more clusters to get.</p>",
|
||||
"InitializeCluster": "<p>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 <a>DescribeClusters</a>.</p>",
|
||||
"ListTags": "<p>Gets a list of tags for the specified AWS CloudHSM cluster.</p> <p>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 <code>NextToken</code> value. Use this value in a subsequent <code>ListTags</code> request to get more tags. When you receive a response with no <code>NextToken</code> (or an empty or null value), that means there are no more tags to get.</p>",
|
||||
"RestoreBackup": "<p>Restores a specified AWS CloudHSM backup that is in the <code>PENDING_DELETION</code> state. For more information on deleting a backup, see <a>DeleteBackup</a>.</p>",
|
||||
"TagResource": "<p>Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.</p>",
|
||||
"UntagResource": "<p>Removes the specified tag or tags from the specified AWS CloudHSM cluster.</p>"
|
||||
},
|
||||
@@ -17,15 +20,22 @@
|
||||
"Backup": {
|
||||
"base": "<p>Contains information about a backup of an AWS CloudHSM cluster.</p>",
|
||||
"refs": {
|
||||
"Backups$member": null
|
||||
"Backups$member": null,
|
||||
"DeleteBackupResponse$Backup": "<p>Information on the <code>Backup</code> object deleted.</p>",
|
||||
"RestoreBackupResponse$Backup": "<p>Information on the <code>Backup</code> object created.</p>"
|
||||
}
|
||||
},
|
||||
"BackupId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Backup$BackupId": "<p>The identifier (ID) of the backup.</p>",
|
||||
"Backup$SourceBackup": null,
|
||||
"Cluster$SourceBackupId": "<p>The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.</p>",
|
||||
"CreateClusterRequest$SourceBackupId": "<p>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 <a>DescribeBackups</a>.</p>"
|
||||
"CopyBackupToRegionRequest$BackupId": "<p>The ID of the backup that will be copied to the destination region. </p>",
|
||||
"CreateClusterRequest$SourceBackupId": "<p>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 <a>DescribeBackups</a>.</p>",
|
||||
"DeleteBackupRequest$BackupId": "<p>The ID of the backup to be deleted. To find the ID of a backup, use the <a>DescribeBackups</a> operation.</p>",
|
||||
"DestinationBackup$SourceBackup": null,
|
||||
"RestoreBackupRequest$BackupId": "<p>The ID of the backup to be restored. To find the ID of a backup, use the <a>DescribeBackups</a> operation.</p>"
|
||||
}
|
||||
},
|
||||
"BackupPolicy": {
|
||||
@@ -46,6 +56,12 @@
|
||||
"DescribeBackupsResponse$Backups": "<p>A list of backups.</p>"
|
||||
}
|
||||
},
|
||||
"Boolean": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeBackupsRequest$SortAscending": null
|
||||
}
|
||||
},
|
||||
"Cert": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -101,10 +117,12 @@
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Backup$ClusterId": "<p>The identifier (ID) of the cluster that was backed up.</p>",
|
||||
"Backup$SourceCluster": null,
|
||||
"Cluster$ClusterId": "<p>The cluster's identifier (ID).</p>",
|
||||
"CreateHsmRequest$ClusterId": "<p>The identifier (ID) of the HSM's cluster. To find the cluster ID, use <a>DescribeClusters</a>.</p>",
|
||||
"DeleteClusterRequest$ClusterId": "<p>The identifier (ID) of the cluster that you are deleting. To find the cluster ID, use <a>DescribeClusters</a>.</p>",
|
||||
"DeleteHsmRequest$ClusterId": "<p>The identifier (ID) of the cluster that contains the HSM that you are deleting.</p>",
|
||||
"DestinationBackup$SourceCluster": null,
|
||||
"Hsm$ClusterId": "<p>The identifier (ID) of the cluster that contains the HSM.</p>",
|
||||
"InitializeClusterRequest$ClusterId": "<p>The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use <a>DescribeClusters</a>.</p>",
|
||||
"ListTagsRequest$ResourceId": "<p>The cluster identifier (ID) for the cluster whose tags you are getting. To find the cluster ID, use <a>DescribeClusters</a>.</p>",
|
||||
@@ -125,6 +143,16 @@
|
||||
"DescribeClustersResponse$Clusters": "<p>A list of clusters.</p>"
|
||||
}
|
||||
},
|
||||
"CopyBackupToRegionRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CopyBackupToRegionResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"CreateClusterRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -145,6 +173,16 @@
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteBackupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteBackupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DeleteClusterRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -185,6 +223,12 @@
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"DestinationBackup": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CopyBackupToRegionResponse$DestinationBackup": "<p>Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.</p> <p>You will need to use the <code>sourceBackupID</code> returned in this operation to use the <a>DescribeBackups</a> operation on the backup that will be copied to the destination region.</p>"
|
||||
}
|
||||
},
|
||||
"EniId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -215,7 +259,7 @@
|
||||
"Filters": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"DescribeBackupsRequest$Filters": "<p>One or more filters to limit the items returned in the response.</p> <p>Use the <code>backupIds</code> filter to return only the specified backups. Specify backups by their backup identifier (ID).</p> <p>Use the <code>clusterIds</code> filter to return only the backups for the specified clusters. Specify clusters by their cluster identifier (ID).</p> <p>Use the <code>states</code> filter to return only backups that match the specified state.</p>",
|
||||
"DescribeBackupsRequest$Filters": "<p>One or more filters to limit the items returned in the response.</p> <p>Use the <code>backupIds</code> filter to return only the specified backups. Specify backups by their backup identifier (ID).</p> <p>Use the <code>sourceBackupIds</code> filter to return only the backups created from a source backup. The <code>sourceBackupID</code> of a source backup is returned by the <a>CopyBackupToRegion</a> operation.</p> <p>Use the <code>clusterIds</code> filter to return only the backups for the specified clusters. Specify clusters by their cluster identifier (ID).</p> <p>Use the <code>states</code> filter to return only backups that match the specified state.</p>",
|
||||
"DescribeClustersRequest$Filters": "<p>One or more filters to limit the items returned in the response.</p> <p>Use the <code>clusterIds</code> filter to return only the specified clusters. Specify clusters by their cluster identifier (ID).</p> <p>Use the <code>vpcIds</code> filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).</p> <p>Use the <code>states</code> filter to return only clusters that match the specified state.</p>"
|
||||
}
|
||||
},
|
||||
@@ -306,6 +350,24 @@
|
||||
"Cluster$PreCoPassword": "<p>The default password for the cluster's Pre-Crypto Officer (PRECO) user.</p>"
|
||||
}
|
||||
},
|
||||
"Region": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Backup$SourceRegion": null,
|
||||
"CopyBackupToRegionRequest$DestinationRegion": "<p>The AWS region that will contain your copied CloudHSM cluster backup.</p>",
|
||||
"DestinationBackup$SourceRegion": null
|
||||
}
|
||||
},
|
||||
"RestoreBackupRequest": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"RestoreBackupResponse": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"SecurityGroup": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -392,7 +454,10 @@
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Backup$CreateTimestamp": "<p>The date and time when the backup was created.</p>",
|
||||
"Cluster$CreateTimestamp": "<p>The date and time when the cluster was created.</p>"
|
||||
"Backup$CopyTimestamp": null,
|
||||
"Backup$DeleteTimestamp": "<p>The date and time when the backup will be permanently deleted.</p>",
|
||||
"Cluster$CreateTimestamp": "<p>The date and time when the cluster was created.</p>",
|
||||
"DestinationBackup$CreateTimestamp": null
|
||||
}
|
||||
},
|
||||
"UntagResourceRequest": {
|
||||
|
||||
Reference in New Issue
Block a user