vendor: update all dependencies

* Update all dependencies
  * Remove all `[[constraint]]` from Gopkg.toml
  * Add in the minimum number of `[[override]]` to build
  * Remove go get of github.com/inconshreveable/mousetrap as it is vendored
  * Update docs with new policy on constraints
This commit is contained in:
Nick Craig-Wood 2018-05-02 17:09:45 +01:00
parent 21383877df
commit 6427029c4e
4902 changed files with 1443417 additions and 227283 deletions

View file

@ -751,6 +751,19 @@
"documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectRestore.html",
"alias":"PostObjectRestore"
},
"SelectObjectContent":{
"name":"SelectObjectContent",
"http":{
"method":"POST",
"requestUri":"/{Bucket}/{Key+}?select&select-type=2"
},
"input":{
"shape":"SelectObjectContentRequest",
"locationName":"SelectObjectContentRequest",
"xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
},
"output":{"shape":"SelectObjectContentOutput"}
},
"UploadPart":{
"name":"UploadPart",
"http":{
@ -1016,6 +1029,8 @@
"locationName":"Bucket"
}
},
"BytesProcessed":{"type":"long"},
"BytesScanned":{"type":"long"},
"CORSConfiguration":{
"type":"structure",
"required":["CORSRules"],
@ -1201,6 +1216,13 @@
"member":{"shape":"CompletedPart"},
"flattened":true
},
"CompressionType":{
"type":"string",
"enum":[
"NONE",
"GZIP"
]
},
"Condition":{
"type":"structure",
"members":{
@ -1216,6 +1238,12 @@
"ContentMD5":{"type":"string"},
"ContentRange":{"type":"string"},
"ContentType":{"type":"string"},
"ContinuationEvent":{
"type":"structure",
"members":{
},
"event":true
},
"CopyObjectOutput":{
"type":"structure",
"members":{
@ -2044,6 +2072,7 @@
"DisplayName":{"type":"string"},
"ETag":{"type":"string"},
"EmailAddress":{"type":"string"},
"EnableRequestProgress":{"type":"boolean"},
"EncodingType":{
"type":"string",
"enum":["url"]
@ -2063,6 +2092,12 @@
"ReplicaKmsKeyID":{"shape":"ReplicaKmsKeyID"}
}
},
"EndEvent":{
"type":"structure",
"members":{
},
"event":true
},
"Error":{
"type":"structure",
"members":{
@ -3159,7 +3194,9 @@
"InputSerialization":{
"type":"structure",
"members":{
"CSV":{"shape":"CSVInput"}
"CSV":{"shape":"CSVInput"},
"CompressionType":{"shape":"CompressionType"},
"JSON":{"shape":"JSONInput"}
}
},
"InventoryConfiguration":{
@ -3278,6 +3315,25 @@
"IsEnabled":{"type":"boolean"},
"IsLatest":{"type":"boolean"},
"IsTruncated":{"type":"boolean"},
"JSONInput":{
"type":"structure",
"members":{
"Type":{"shape":"JSONType"}
}
},
"JSONOutput":{
"type":"structure",
"members":{
"RecordDelimiter":{"shape":"RecordDelimiter"}
}
},
"JSONType":{
"type":"string",
"enum":[
"DOCUMENT",
"LINES"
]
},
"KMSContext":{"type":"string"},
"KeyCount":{"type":"integer"},
"KeyMarker":{"type":"string"},
@ -3793,6 +3849,10 @@
"LocationPrefix":{"type":"string"},
"LoggingEnabled":{
"type":"structure",
"required":[
"TargetBucket",
"TargetPrefix"
],
"members":{
"TargetBucket":{"shape":"TargetBucket"},
"TargetGrants":{"shape":"TargetGrants"},
@ -4031,7 +4091,9 @@
"enum":[
"STANDARD",
"REDUCED_REDUNDANCY",
"GLACIER"
"GLACIER",
"STANDARD_IA",
"ONEZONE_IA"
]
},
"ObjectVersion":{
@ -4066,7 +4128,8 @@
"OutputSerialization":{
"type":"structure",
"members":{
"CSV":{"shape":"CSVOutput"}
"CSV":{"shape":"CSVOutput"},
"JSON":{"shape":"JSONOutput"}
}
},
"Owner":{
@ -4116,6 +4179,23 @@
},
"Policy":{"type":"string"},
"Prefix":{"type":"string"},
"Progress":{
"type":"structure",
"members":{
"BytesScanned":{"shape":"BytesScanned"},
"BytesProcessed":{"shape":"BytesProcessed"}
}
},
"ProgressEvent":{
"type":"structure",
"members":{
"Details":{
"shape":"Progress",
"eventpayload":true
}
},
"event":true
},
"Protocol":{
"type":"string",
"enum":[
@ -4950,6 +5030,16 @@
},
"Range":{"type":"string"},
"RecordDelimiter":{"type":"string"},
"RecordsEvent":{
"type":"structure",
"members":{
"Payload":{
"shape":"Body",
"eventpayload":true
}
},
"event":true
},
"Redirect":{
"type":"structure",
"members":{
@ -5036,6 +5126,12 @@
"Payer":{"shape":"Payer"}
}
},
"RequestProgress":{
"type":"structure",
"members":{
"Enabled":{"shape":"EnableRequestProgress"}
}
},
"ResponseCacheControl":{"type":"string"},
"ResponseContentDisposition":{"type":"string"},
"ResponseContentEncoding":{"type":"string"},
@ -5198,6 +5294,67 @@
},
"locationName":"SSE-S3"
},
"SelectObjectContentEventStream":{
"type":"structure",
"members":{
"Records":{"shape":"RecordsEvent"},
"Stats":{"shape":"StatsEvent"},
"Progress":{"shape":"ProgressEvent"},
"Cont":{"shape":"ContinuationEvent"},
"End":{"shape":"EndEvent"}
},
"eventstream":true
},
"SelectObjectContentOutput":{
"type":"structure",
"members":{
"Payload":{"shape":"SelectObjectContentEventStream"}
},
"payload":"Payload"
},
"SelectObjectContentRequest":{
"type":"structure",
"required":[
"Bucket",
"Key",
"Expression",
"ExpressionType",
"InputSerialization",
"OutputSerialization"
],
"members":{
"Bucket":{
"shape":"BucketName",
"location":"uri",
"locationName":"Bucket"
},
"Key":{
"shape":"ObjectKey",
"location":"uri",
"locationName":"Key"
},
"SSECustomerAlgorithm":{
"shape":"SSECustomerAlgorithm",
"location":"header",
"locationName":"x-amz-server-side-encryption-customer-algorithm"
},
"SSECustomerKey":{
"shape":"SSECustomerKey",
"location":"header",
"locationName":"x-amz-server-side-encryption-customer-key"
},
"SSECustomerKeyMD5":{
"shape":"SSECustomerKeyMD5",
"location":"header",
"locationName":"x-amz-server-side-encryption-customer-key-MD5"
},
"Expression":{"shape":"Expression"},
"ExpressionType":{"shape":"ExpressionType"},
"RequestProgress":{"shape":"RequestProgress"},
"InputSerialization":{"shape":"InputSerialization"},
"OutputSerialization":{"shape":"OutputSerialization"}
}
},
"SelectParameters":{
"type":"structure",
"required":[
@ -5271,12 +5428,30 @@
]
},
"StartAfter":{"type":"string"},
"Stats":{
"type":"structure",
"members":{
"BytesScanned":{"shape":"BytesScanned"},
"BytesProcessed":{"shape":"BytesProcessed"}
}
},
"StatsEvent":{
"type":"structure",
"members":{
"Details":{
"shape":"Stats",
"eventpayload":true
}
},
"event":true
},
"StorageClass":{
"type":"string",
"enum":[
"STANDARD",
"REDUCED_REDUNDANCY",
"STANDARD_IA"
"STANDARD_IA",
"ONEZONE_IA"
]
},
"StorageClassAnalysis":{
@ -5417,7 +5592,8 @@
"type":"string",
"enum":[
"GLACIER",
"STANDARD_IA"
"STANDARD_IA",
"ONEZONE_IA"
]
},
"Type":{

View file

@ -77,6 +77,7 @@
"PutObjectAcl": "uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket",
"PutObjectTagging": "Sets the supplied tag-set to an object that already exists in a bucket",
"RestoreObject": "Restores an archived copy of an object back into Amazon S3",
"SelectObjectContent": "This operation filters the contents of an Amazon S3 object based on a simple Structured Query Language (SQL) statement. In the request, along with the SQL expression, you must also specify a data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data into records, and returns only records that match the specified SQL expression. You must also specify the data serialization format for the response.",
"UploadPart": "<p>Uploads a part in a multipart upload.</p><p><b>Note:</b> After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.</p>",
"UploadPartCopy": "Uploads a part by copying data from an existing object as data source."
},
@ -241,6 +242,7 @@
"GetObjectOutput$Body": "Object data.",
"GetObjectTorrentOutput$Body": null,
"PutObjectRequest$Body": "Object data.",
"RecordsEvent$Payload": "The byte array of partial, one or more result records.",
"UploadPartRequest$Body": "Object data."
}
},
@ -387,6 +389,7 @@
"PutObjectTaggingRequest$Bucket": null,
"RestoreObjectRequest$Bucket": null,
"S3Location$BucketName": "The name of the bucket where the restore results will be placed.",
"SelectObjectContentRequest$Bucket": "The S3 Bucket.",
"UploadPartCopyRequest$Bucket": null,
"UploadPartRequest$Bucket": "Name of the bucket to which the multipart upload was initiated."
}
@ -404,6 +407,20 @@
"ListBucketsOutput$Buckets": null
}
},
"BytesProcessed": {
"base": null,
"refs": {
"Progress$BytesProcessed": "Current number of uncompressed object bytes processed.",
"Stats$BytesProcessed": "Total number of uncompressed object bytes processed."
}
},
"BytesScanned": {
"base": null,
"refs": {
"Progress$BytesScanned": "Current number of object bytes scanned.",
"Stats$BytesScanned": "Total number of object bytes scanned."
}
},
"CORSConfiguration": {
"base": null,
"refs": {
@ -518,6 +535,12 @@
"CompletedMultipartUpload$Parts": null
}
},
"CompressionType": {
"base": null,
"refs": {
"InputSerialization$CompressionType": "Specifies object's compression format. Valid values: NONE, GZIP. Default Value: NONE."
}
},
"Condition": {
"base": null,
"refs": {
@ -606,6 +629,12 @@
"PutObjectRequest$ContentType": "A standard MIME type describing the format of the object data."
}
},
"ContinuationEvent": {
"base": null,
"refs": {
"SelectObjectContentEventStream$Cont": "The Continuation Event."
}
},
"CopyObjectOutput": {
"base": null,
"refs": {
@ -937,6 +966,12 @@
"Grantee$EmailAddress": "Email address of the grantee."
}
},
"EnableRequestProgress": {
"base": null,
"refs": {
"RequestProgress$Enabled": "Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE, FALSE. Default value: FALSE."
}
},
"EncodingType": {
"base": "Requests Amazon S3 to encode the object keys in the response and specifies the encoding method to use. An object key may contain any Unicode character; however, XML 1.0 parser cannot parse some characters, such as characters with an ASCII value from 0 to 10. For characters that are not supported in XML 1.0, you can add this parameter to request that Amazon S3 encode the keys in the response.",
"refs": {
@ -962,6 +997,12 @@
"Destination$EncryptionConfiguration": "Container for information regarding encryption based configuration for replicas."
}
},
"EndEvent": {
"base": null,
"refs": {
"SelectObjectContentEventStream$End": "The End Event."
}
},
"Error": {
"base": null,
"refs": {
@ -1049,12 +1090,14 @@
"Expression": {
"base": null,
"refs": {
"SelectObjectContentRequest$Expression": "The expression that is used to query the object.",
"SelectParameters$Expression": "The expression that is used to query the object."
}
},
"ExpressionType": {
"base": null,
"refs": {
"SelectObjectContentRequest$ExpressionType": "The type of the provided expression (e.g., SQL).",
"SelectParameters$ExpressionType": "The type of the provided expression (e.g., SQL)."
}
},
@ -1492,6 +1535,7 @@
"InputSerialization": {
"base": "Describes the serialization format of the object.",
"refs": {
"SelectObjectContentRequest$InputSerialization": "Describes the format of the data in the object that is being queried.",
"SelectParameters$InputSerialization": "Describes the serialization format of the object."
}
},
@ -1604,6 +1648,24 @@
"ListPartsOutput$IsTruncated": "Indicates whether the returned list of parts is truncated."
}
},
"JSONInput": {
"base": null,
"refs": {
"InputSerialization$JSON": "Specifies JSON as object's input serialization format."
}
},
"JSONOutput": {
"base": null,
"refs": {
"OutputSerialization$JSON": "Specifies JSON as request's output serialization format."
}
},
"JSONType": {
"base": null,
"refs": {
"JSONInput$Type": "The type of JSON. Valid values: Document, Lines."
}
},
"KMSContext": {
"base": null,
"refs": {
@ -1799,7 +1861,7 @@
}
},
"LoggingEnabled": {
"base": null,
"base": "Container for logging information. Presence of this element indicates that logging is enabled. Parameters TargetBucket and TargetPrefix are required in this case.",
"refs": {
"BucketLoggingStatus$LoggingEnabled": null,
"GetBucketLoggingOutput$LoggingEnabled": null
@ -2035,7 +2097,7 @@
}
},
"NoncurrentVersionTransition": {
"base": "Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA or GLACIER storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA or GLACIER storage class at a specific period in the object's lifetime.",
"base": "Container for the transition rule that describes when noncurrent objects transition to the STANDARD_IA, ONEZONE_IA or GLACIER storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARD_IA, ONEZONE_IA or GLACIER storage class at a specific period in the object's lifetime.",
"refs": {
"NoncurrentVersionTransitionList$member": null,
"Rule$NoncurrentVersionTransition": null
@ -2141,6 +2203,7 @@
"PutObjectRequest$Key": "Object key for which the PUT operation was initiated.",
"PutObjectTaggingRequest$Key": null,
"RestoreObjectRequest$Key": null,
"SelectObjectContentRequest$Key": "The Object Key.",
"Tag$Key": "Name of the tag.",
"UploadPartCopyRequest$Key": null,
"UploadPartRequest$Key": "Object key for which the multipart upload was initiated."
@ -2219,6 +2282,7 @@
"OutputSerialization": {
"base": "Describes how results of the Select job are serialized.",
"refs": {
"SelectObjectContentRequest$OutputSerialization": "Describes the format of the data that you want Amazon S3 to return in response.",
"SelectParameters$OutputSerialization": "Describes how the results of the Select job are serialized."
}
},
@ -2325,6 +2389,18 @@
"Rule$Prefix": "Prefix identifying one or more objects to which the rule applies."
}
},
"Progress": {
"base": null,
"refs": {
"ProgressEvent$Details": "The Progress event details."
}
},
"ProgressEvent": {
"base": null,
"refs": {
"SelectObjectContentEventStream$Progress": "The Progress Event."
}
},
"Protocol": {
"base": null,
"refs": {
@ -2514,7 +2590,14 @@
"base": null,
"refs": {
"CSVInput$RecordDelimiter": "Value used to separate individual records.",
"CSVOutput$RecordDelimiter": "Value used to separate individual records."
"CSVOutput$RecordDelimiter": "Value used to separate individual records.",
"JSONOutput$RecordDelimiter": "The value used to separate individual records in the output."
}
},
"RecordsEvent": {
"base": null,
"refs": {
"SelectObjectContentEventStream$Records": "The Records Event."
}
},
"Redirect": {
@ -2630,6 +2713,12 @@
"PutBucketRequestPaymentRequest$RequestPaymentConfiguration": null
}
},
"RequestProgress": {
"base": null,
"refs": {
"SelectObjectContentRequest$RequestProgress": "Specifies if periodic request progress information should be enabled."
}
},
"ResponseCacheControl": {
"base": null,
"refs": {
@ -2758,6 +2847,7 @@
"HeadObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"PutObjectOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"PutObjectRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"SelectObjectContentRequest$SSECustomerAlgorithm": "The SSE Algorithm used to encrypt the object. For more information, go to <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html\"> Server-Side Encryption (Using Customer-Provided Encryption Keys</a>.",
"UploadPartCopyOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
"UploadPartCopyRequest$SSECustomerAlgorithm": "Specifies the algorithm to use to when encrypting the object (e.g., AES256).",
"UploadPartOutput$SSECustomerAlgorithm": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.",
@ -2772,6 +2862,7 @@
"GetObjectRequest$SSECustomerKey": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.",
"HeadObjectRequest$SSECustomerKey": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.",
"PutObjectRequest$SSECustomerKey": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.",
"SelectObjectContentRequest$SSECustomerKey": "The SSE Customer Key. For more information, go to <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html\"> Server-Side Encryption (Using Customer-Provided Encryption Keys</a>.",
"UploadPartCopyRequest$SSECustomerKey": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request.",
"UploadPartRequest$SSECustomerKey": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header. This must be the same encryption key specified in the initiate multipart upload request."
}
@ -2789,6 +2880,7 @@
"HeadObjectRequest$SSECustomerKeyMD5": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"PutObjectOutput$SSECustomerKeyMD5": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"PutObjectRequest$SSECustomerKeyMD5": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"SelectObjectContentRequest$SSECustomerKeyMD5": "The SSE Customer Key MD5. For more information, go to <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html\"> Server-Side Encryption (Using Customer-Provided Encryption Keys</a>.",
"UploadPartCopyOutput$SSECustomerKeyMD5": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
"UploadPartCopyRequest$SSECustomerKeyMD5": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.",
"UploadPartOutput$SSECustomerKeyMD5": "If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round trip message integrity verification of the customer-provided encryption key.",
@ -2826,6 +2918,22 @@
"InventoryEncryption$SSES3": "Specifies the use of SSE-S3 to encrypt delievered Inventory reports."
}
},
"SelectObjectContentEventStream": {
"base": null,
"refs": {
"SelectObjectContentOutput$Payload": null
}
},
"SelectObjectContentOutput": {
"base": null,
"refs": {
}
},
"SelectObjectContentRequest": {
"base": "Request to filter the contents of an Amazon S3 object based on a simple Structured Query Language (SQL) statement. In the request, along with the SQL expression, you must also specify a data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data into records, and returns only records that match the specified SQL expression. You must also specify the data serialization format for the response. For more information, go to <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html\">S3Select API Documentation</a>.",
"refs": {
}
},
"SelectParameters": {
"base": "Describes the parameters for Select job types.",
"refs": {
@ -2908,6 +3016,18 @@
"ListObjectsV2Request$StartAfter": "StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key. StartAfter can be any key in the bucket"
}
},
"Stats": {
"base": null,
"refs": {
"StatsEvent$Details": "The Stats event details."
}
},
"StatsEvent": {
"base": null,
"refs": {
"SelectObjectContentEventStream$Stats": "The Stats Event."
}
},
"StorageClass": {
"base": null,
"refs": {

View file

@ -0,0 +1,11 @@
{
"version": 1,
"defaultRegion": "us-west-2",
"testCases": [
{
"operationName": "ListBuckets",
"input": {},
"errorExpectedFromService": false
}
]
}