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

@ -61,7 +61,6 @@
{"shape":"ConcurrentModificationException"},
{"shape":"UnauthorizedException"},
{"shape":"InternalFailureException"},
{"shape":"LimitExceededException"},
{"shape":"ApiLimitExceededException"}
]
},
@ -479,7 +478,8 @@
"enum":[
"API_KEY",
"AWS_IAM",
"AMAZON_COGNITO_USER_POOLS"
"AMAZON_COGNITO_USER_POOLS",
"OPENID_CONNECT"
]
},
"BadRequestException":{
@ -555,8 +555,10 @@
],
"members":{
"name":{"shape":"String"},
"logConfig":{"shape":"LogConfig"},
"authenticationType":{"shape":"AuthenticationType"},
"userPoolConfig":{"shape":"UserPoolConfig"}
"userPoolConfig":{"shape":"UserPoolConfig"},
"openIDConnectConfig":{"shape":"OpenIDConnectConfig"}
}
},
"CreateGraphqlApiResponse":{
@ -795,6 +797,14 @@
}
},
"ErrorMessage":{"type":"string"},
"FieldLogLevel":{
"type":"string",
"enum":[
"NONE",
"ERROR",
"ALL"
]
},
"GetDataSourceRequest":{
"type":"structure",
"required":[
@ -957,7 +967,9 @@
"name":{"shape":"ResourceName"},
"apiId":{"shape":"String"},
"authenticationType":{"shape":"AuthenticationType"},
"logConfig":{"shape":"LogConfig"},
"userPoolConfig":{"shape":"UserPoolConfig"},
"openIDConnectConfig":{"shape":"OpenIDConnectConfig"},
"arn":{"shape":"String"},
"uris":{"shape":"MapOfStringToString"}
}
@ -1140,6 +1152,17 @@
"nextToken":{"shape":"PaginationToken"}
}
},
"LogConfig":{
"type":"structure",
"required":[
"fieldLogLevel",
"cloudWatchLogsRoleArn"
],
"members":{
"fieldLogLevel":{"shape":"FieldLogLevel"},
"cloudWatchLogsRoleArn":{"shape":"String"}
}
},
"Long":{"type":"long"},
"MapOfStringToString":{
"type":"map",
@ -1149,7 +1172,7 @@
"MappingTemplate":{
"type":"string",
"max":65536,
"min":0
"min":1
},
"MaxResults":{
"type":"integer",
@ -1164,6 +1187,16 @@
"error":{"httpStatusCode":404},
"exception":true
},
"OpenIDConnectConfig":{
"type":"structure",
"required":["issuer"],
"members":{
"issuer":{"shape":"String"},
"clientId":{"shape":"String"},
"iatTTL":{"shape":"Long"},
"authTTL":{"shape":"Long"}
}
},
"OutputType":{
"type":"string",
"enum":[
@ -1325,8 +1358,10 @@
"locationName":"apiId"
},
"name":{"shape":"String"},
"logConfig":{"shape":"LogConfig"},
"authenticationType":{"shape":"AuthenticationType"},
"userPoolConfig":{"shape":"UserPoolConfig"}
"userPoolConfig":{"shape":"UserPoolConfig"},
"openIDConnectConfig":{"shape":"OpenIDConnectConfig"}
}
},
"UpdateGraphqlApiResponse":{

View file

@ -18,7 +18,7 @@
"GetResolver": "<p>Retrieves a <code>Resolver</code> object.</p>",
"GetSchemaCreationStatus": "<p>Retrieves the current status of a schema creation operation.</p>",
"GetType": "<p>Retrieves a <code>Type</code> object.</p>",
"ListApiKeys": "<p>Lists the API keys for a given API.</p>",
"ListApiKeys": "<p>Lists the API keys for a given API.</p> <note> <p>API keys are deleted automatically sometime after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call <code>DeleteApiKey</code> to manually delete a key before it's automatically deleted.</p> </note>",
"ListDataSources": "<p>Lists the data sources for a given API.</p>",
"ListGraphqlApis": "<p>Lists your GraphQL APIs.</p>",
"ListResolvers": "<p>Lists the resolvers for a given API and type.</p>",
@ -32,7 +32,7 @@
},
"shapes": {
"ApiKey": {
"base": "<p>Describes an API key.</p>",
"base": "<p>Describes an API key.</p> <p>Customers invoke AWS AppSync GraphQL APIs with API keys as an identity mechanism. There are two key versions:</p> <p> <b>da1</b>: This version was introduced at launch in November 2017. These keys always expire after 7 days. Key expiration is managed by DynamoDB TTL. The keys will cease to be valid after Feb 21, 2018 and should not be used after that date.</p> <ul> <li> <p> <code>ListApiKeys</code> returns the expiration time in milliseconds.</p> </li> <li> <p> <code>CreateApiKey</code> returns the expiration time in milliseconds.</p> </li> <li> <p> <code>UpdateApiKey</code> is not available for this key version.</p> </li> <li> <p> <code>DeleteApiKey</code> deletes the item from the table.</p> </li> <li> <p>Expiration is stored in DynamoDB as milliseconds. This results in a bug where keys are not automatically deleted because DynamoDB expects the TTL to be stored in seconds. As a one-time action, we will delete these keys from the table after Feb 21, 2018.</p> </li> </ul> <p> <b>da2</b>: This version was introduced in February 2018 when AppSync added support to extend key expiration.</p> <ul> <li> <p> <code>ListApiKeys</code> returns the expiration time in seconds.</p> </li> <li> <p> <code>CreateApiKey</code> returns the expiration time in seconds and accepts a user-provided expiration time in seconds.</p> </li> <li> <p> <code>UpdateApiKey</code> returns the expiration time in seconds and accepts a user-provided expiration time in seconds. Key expiration can only be updated while the key has not expired.</p> </li> <li> <p> <code>DeleteApiKey</code> deletes the item from the table.</p> </li> <li> <p>Expiration is stored in DynamoDB as seconds.</p> </li> </ul>",
"refs": {
"ApiKeys$member": null,
"CreateApiKeyResponse$apiKey": "<p>The API key.</p>",
@ -45,7 +45,7 @@
}
},
"ApiKeyValidityOutOfBoundsException": {
"base": "<p>The API key expiration must be set to a value between 1 and 365 days.</p>",
"base": "<p>The API key expiration must be set to a value between 1 and 365 days from creation (for <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>",
"refs": {
}
},
@ -154,7 +154,7 @@
"base": null,
"refs": {
"CreateDataSourceRequest$type": "<p>The type of the <code>DataSource</code>.</p>",
"DataSource$type": "<p>The type of the data source.</p> <ul> <li> <p> <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p> </li> <li> <p> <b>AMAZON_ELASTICSEARCH</b>: The data source is an Amazon Elasticsearch Service domain.</p> </li> <li> <p> <b>AWS_LAMBDA</b>: The data source is an AWS Lambda function.</p> </li> <li> <p> <b>NONE</b>: There is no data source. This type is used when the required information can be computed on the fly without connecting to a back-end data source.</p> </li> </ul>",
"DataSource$type": "<p>The type of the data source.</p> <ul> <li> <p> <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p> </li> <li> <p> <b>AMAZON_ELASTICSEARCH</b>: The data source is an Amazon Elasticsearch Service domain.</p> </li> <li> <p> <b>AWS_LAMBDA</b>: The data source is an AWS Lambda function.</p> </li> <li> <p> <b>NONE</b>: There is no data source. This type is used when when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.</p> </li> </ul>",
"UpdateDataSourceRequest$type": "<p>The new data source type.</p>"
}
},
@ -244,6 +244,12 @@
"GraphQLSchemaException$message": null
}
},
"FieldLogLevel": {
"base": null,
"refs": {
"LogConfig$fieldLogLevel": "<p>The field logging level. Values can be NONE, ERROR, ALL. </p> <ul> <li> <p> <b>NONE</b>: No field-level logs are captured.</p> </li> <li> <p> <b>ERROR</b>: Logs the following information only for the fields that are in error:</p> <ul> <li> <p>The error section in the server response.</p> </li> <li> <p>Field-level errors.</p> </li> <li> <p>The generated request/response functions that got resolved for error fields.</p> </li> </ul> </li> <li> <p> <b>ALL</b>: The following information is logged for all fields in the query:</p> <ul> <li> <p>Field-level tracing information.</p> </li> <li> <p>The generated request/response functions that got resolved for each field.</p> </li> </ul> </li> </ul>"
}
},
"GetDataSourceRequest": {
"base": null,
"refs": {
@ -392,12 +398,22 @@
"refs": {
}
},
"LogConfig": {
"base": "<p>The CloudWatch Logs configuration.</p>",
"refs": {
"CreateGraphqlApiRequest$logConfig": "<p>The Amazon CloudWatch logs configuration.</p>",
"GraphqlApi$logConfig": "<p>The Amazon CloudWatch Logs configuration.</p>",
"UpdateGraphqlApiRequest$logConfig": "<p>The Amazon CloudWatch logs configuration for the <code>GraphqlApi</code> object.</p>"
}
},
"Long": {
"base": null,
"refs": {
"ApiKey$expires": "<p>The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.</p>",
"CreateApiKeyRequest$expires": "<p>The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time.</p>",
"UpdateApiKeyRequest$expires": "<p>The time after which the API key expires. The date is represented as seconds since the epoch.</p>"
"CreateApiKeyRequest$expires": "<p>The time from creation time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .</p>",
"OpenIDConnectConfig$iatTTL": "<p>The number of milliseconds a token is valid after being issued to a user.</p>",
"OpenIDConnectConfig$authTTL": "<p>The number of milliseconds a token is valid after being authenticated.</p>",
"UpdateApiKeyRequest$expires": "<p>The time from update time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .</p>"
}
},
"MapOfStringToString": {
@ -432,6 +448,14 @@
"refs": {
}
},
"OpenIDConnectConfig": {
"base": "<p>Describes an Open Id Connect configuration.</p>",
"refs": {
"CreateGraphqlApiRequest$openIDConnectConfig": "<p>The Open Id Connect configuration configuration.</p>",
"GraphqlApi$openIDConnectConfig": "<p>The Open Id Connect configuration.</p>",
"UpdateGraphqlApiRequest$openIDConnectConfig": "<p>The Open Id Connect configuration configuration for the <code>GraphqlApi</code> object.</p>"
}
},
"OutputType": {
"base": null,
"refs": {
@ -560,9 +584,12 @@
"ListResolversRequest$apiId": "<p>The API ID.</p>",
"ListResolversRequest$typeName": "<p>The type name.</p>",
"ListTypesRequest$apiId": "<p>The API ID.</p>",
"LogConfig$cloudWatchLogsRoleArn": "<p>The service role that AWS AppSync will assume to publish to Amazon CloudWatch logs in your account. </p>",
"MapOfStringToString$key": null,
"MapOfStringToString$value": null,
"NotFoundException$message": null,
"OpenIDConnectConfig$issuer": "<p>The issuer for the open id connect configuration. The issuer returned by discovery MUST exactly match the value of iss in the ID Token.</p>",
"OpenIDConnectConfig$clientId": "<p>The client identifier of the Relying party at the OpenID Provider. This identifier is typically obtained when the Relying party is registered with the OpenID Provider. You can specify a regular expression so the AWS AppSync can validate against multiple client identifiers at a time</p>",
"Resolver$resolverArn": "<p>The resolver ARN.</p>",
"StartSchemaCreationRequest$apiId": "<p>The API ID.</p>",
"Type$description": "<p>The type description.</p>",