mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
Update vendored deps, including AWS SDK, openpgp, ftp, ...
This commit is contained in:
+37
-5
@@ -6,6 +6,7 @@
|
||||
"jsonVersion":"1.1",
|
||||
"protocol":"json",
|
||||
"serviceFullName":"Amazon CloudWatch Events",
|
||||
"serviceId":"CloudWatch Events",
|
||||
"signatureVersion":"v4",
|
||||
"targetPrefix":"AWSEvents",
|
||||
"uid":"events-2015-10-07"
|
||||
@@ -221,6 +222,31 @@
|
||||
"max":1600,
|
||||
"min":1
|
||||
},
|
||||
"BatchArrayProperties":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Size":{"shape":"Integer"}
|
||||
}
|
||||
},
|
||||
"BatchParameters":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"JobDefinition",
|
||||
"JobName"
|
||||
],
|
||||
"members":{
|
||||
"JobDefinition":{"shape":"String"},
|
||||
"JobName":{"shape":"String"},
|
||||
"ArrayProperties":{"shape":"BatchArrayProperties"},
|
||||
"RetryStrategy":{"shape":"BatchRetryStrategy"}
|
||||
}
|
||||
},
|
||||
"BatchRetryStrategy":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Attempts":{"shape":"Integer"}
|
||||
}
|
||||
},
|
||||
"Boolean":{"type":"boolean"},
|
||||
"ConcurrentModificationException":{
|
||||
"type":"structure",
|
||||
@@ -292,10 +318,7 @@
|
||||
"ErrorCode":{"type":"string"},
|
||||
"ErrorMessage":{"type":"string"},
|
||||
"EventId":{"type":"string"},
|
||||
"EventPattern":{
|
||||
"type":"string",
|
||||
"max":2048
|
||||
},
|
||||
"EventPattern":{"type":"string"},
|
||||
"EventResource":{"type":"string"},
|
||||
"EventResourceList":{
|
||||
"type":"list",
|
||||
@@ -399,6 +422,7 @@
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
"MessageGroupId":{"type":"string"},
|
||||
"NextToken":{
|
||||
"type":"string",
|
||||
"max":2048,
|
||||
@@ -654,6 +678,12 @@
|
||||
"type":"string",
|
||||
"max":256
|
||||
},
|
||||
"SqsParameters":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"MessageGroupId":{"shape":"MessageGroupId"}
|
||||
}
|
||||
},
|
||||
"StatementId":{
|
||||
"type":"string",
|
||||
"max":64,
|
||||
@@ -676,7 +706,9 @@
|
||||
"InputTransformer":{"shape":"InputTransformer"},
|
||||
"KinesisParameters":{"shape":"KinesisParameters"},
|
||||
"RunCommandParameters":{"shape":"RunCommandParameters"},
|
||||
"EcsParameters":{"shape":"EcsParameters"}
|
||||
"EcsParameters":{"shape":"EcsParameters"},
|
||||
"BatchParameters":{"shape":"BatchParameters"},
|
||||
"SqsParameters":{"shape":"SqsParameters"}
|
||||
}
|
||||
},
|
||||
"TargetArn":{
|
||||
|
||||
+38
-4
@@ -12,8 +12,8 @@
|
||||
"ListTargetsByRule": "<p>Lists the targets assigned to the specified rule.</p>",
|
||||
"PutEvents": "<p>Sends custom events to Amazon CloudWatch Events so that they can be matched to rules.</p>",
|
||||
"PutPermission": "<p>Running <code>PutPermission</code> permits the specified AWS account to put events to your account's default <i>event bus</i>. CloudWatch Events rules in your account are triggered by these events arriving to your default event bus. </p> <p>For another account to send events to your account, that external account must have a CloudWatch Events rule with your account's default event bus as a target.</p> <p>To enable multiple AWS accounts to put events to your default event bus, run <code>PutPermission</code> once for each of these accounts.</p> <p>The permission policy on the default event bus cannot exceed 10KB in size.</p>",
|
||||
"PutRule": "<p>Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using <a>DisableRule</a>.</p> <p>When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Please allow a short period of time for changes to take effect.</p> <p>A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule triggers on matching events as well as on a schedule.</p> <p>Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.</p>",
|
||||
"PutTargets": "<p>Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.</p> <p>Targets are the resources that are invoked when a rule is triggered.</p> <p>You can configure the following as targets for CloudWatch Events:</p> <ul> <li> <p>EC2 instances</p> </li> <li> <p>AWS Lambda functions</p> </li> <li> <p>Streams in Amazon Kinesis Streams</p> </li> <li> <p>Delivery streams in Amazon Kinesis Firehose</p> </li> <li> <p>Amazon ECS tasks</p> </li> <li> <p>AWS Step Functions state machines</p> </li> <li> <p>Pipelines in Amazon Code Pipeline</p> </li> <li> <p>Amazon Inspector assessment templates</p> </li> <li> <p>Amazon SNS topics</p> </li> <li> <p>Amazon SQS queues</p> </li> <li> <p>The default event bus of another AWS account</p> </li> </ul> <p>Note that creating rules with built-in targets is supported only in the AWS Management Console.</p> <p>For some target types, <code>PutTargets</code> provides target-specific parameters. If the target is an Amazon Kinesis stream, you can optionally specify which shard the event goes to by using the <code>KinesisParameters</code> argument. To invoke a command on multiple EC2 instances with one rule, you can use the <code>RunCommandParameters</code> field.</p> <p>To be able to make API calls against the resources that you own, Amazon CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch Events relies on resource-based policies. For EC2 instances, Amazon Kinesis streams, and AWS Step Functions state machines, CloudWatch Events relies on IAM roles that you specify in the <code>RoleARN</code> argument in <code>PutTargets</code>. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/auth-and-access-control-cwe.html\">Authentication and Access Control</a> in the <i>Amazon CloudWatch Events User Guide</i>.</p> <p>If another AWS account is in the same region and has granted you permission (using <code>PutPermission</code>), you can send events to that account by setting that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the <code>Arn</code> when you run <code>PutTargets</code>. If your account sends events to another account, your account is charged for each sent event. Each event sent to antoher account is charged as a custom event. The account receiving the event is not charged. For more information on pricing, see <a href=\"https://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> <p>For more information about enabling cross-account events, see <a>PutPermission</a>.</p> <p> <b>Input</b>, <b>InputPath</b> and <b>InputTransformer</b> are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:</p> <ul> <li> <p>If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON form (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).</p> </li> <li> <p>If <b>Input</b> is specified in the form of valid JSON, then the matched event is overridden with this constant.</p> </li> <li> <p>If <b>InputPath</b> is specified in the form of JSONPath (for example, <code>$.detail</code>), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).</p> </li> <li> <p>If <b>InputTransformer</b> is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.</p> </li> </ul> <p>When you specify <code>Input</code>, <code>InputPath</code>, or <code>InputTransformer</code>, you must use JSON dot notation, not bracket notation.</p> <p>When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Please allow a short period of time for changes to take effect.</p> <p>This action can partially fail if too many requests are made at the same time. If that happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>",
|
||||
"PutRule": "<p>Creates or updates the specified rule. Rules are enabled by default, or based on value of the state. You can disable a rule using <a>DisableRule</a>.</p> <p>If you are updating an existing rule, the rule is completely replaced with what you specify in this <code>PutRule</code> command. If you omit arguments in <code>PutRule</code>, the old values for those arguments are not kept. Instead, they are replaced with null values.</p> <p>When you create or update a rule, incoming events might not immediately start matching to new or updated rules. Please allow a short period of time for changes to take effect.</p> <p>A rule must contain at least an EventPattern or ScheduleExpression. Rules with EventPatterns are triggered when a matching event is observed. Rules with ScheduleExpressions self-trigger based on the given schedule. A rule can have both an EventPattern and a ScheduleExpression, in which case the rule triggers on matching events as well as on a schedule.</p> <p>Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.</p>",
|
||||
"PutTargets": "<p>Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule.</p> <p>Targets are the resources that are invoked when a rule is triggered.</p> <p>You can configure the following as targets for CloudWatch Events:</p> <ul> <li> <p>EC2 instances</p> </li> <li> <p>AWS Lambda functions</p> </li> <li> <p>Streams in Amazon Kinesis Streams</p> </li> <li> <p>Delivery streams in Amazon Kinesis Firehose</p> </li> <li> <p>Amazon ECS tasks</p> </li> <li> <p>AWS Step Functions state machines</p> </li> <li> <p>AWS Batch jobs</p> </li> <li> <p>Pipelines in Amazon Code Pipeline</p> </li> <li> <p>Amazon Inspector assessment templates</p> </li> <li> <p>Amazon SNS topics</p> </li> <li> <p>Amazon SQS queues, including FIFO queues</p> </li> <li> <p>The default event bus of another AWS account</p> </li> </ul> <p>Note that creating rules with built-in targets is supported only in the AWS Management Console.</p> <p>For some target types, <code>PutTargets</code> provides target-specific parameters. If the target is an Amazon Kinesis stream, you can optionally specify which shard the event goes to by using the <code>KinesisParameters</code> argument. To invoke a command on multiple EC2 instances with one rule, you can use the <code>RunCommandParameters</code> field.</p> <p>To be able to make API calls against the resources that you own, Amazon CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon SNS resources, CloudWatch Events relies on resource-based policies. For EC2 instances, Amazon Kinesis streams, and AWS Step Functions state machines, CloudWatch Events relies on IAM roles that you specify in the <code>RoleARN</code> argument in <code>PutTargets</code>. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/auth-and-access-control-cwe.html\">Authentication and Access Control</a> in the <i>Amazon CloudWatch Events User Guide</i>.</p> <p>If another AWS account is in the same region and has granted you permission (using <code>PutPermission</code>), you can send events to that account by setting that account's event bus as a target of the rules in your account. To send the matched events to the other account, specify that account's event bus as the <code>Arn</code> when you run <code>PutTargets</code>. If your account sends events to another account, your account is charged for each sent event. Each event sent to antoher account is charged as a custom event. The account receiving the event is not charged. For more information on pricing, see <a href=\"https://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> <p>For more information about enabling cross-account events, see <a>PutPermission</a>.</p> <p> <b>Input</b>, <b>InputPath</b> and <b>InputTransformer</b> are mutually exclusive and optional parameters of a target. When a rule is triggered due to a matched event:</p> <ul> <li> <p>If none of the following arguments are specified for a target, then the entire event is passed to the target in JSON form (unless the target is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from the event is passed to the target).</p> </li> <li> <p>If <b>Input</b> is specified in the form of valid JSON, then the matched event is overridden with this constant.</p> </li> <li> <p>If <b>InputPath</b> is specified in the form of JSONPath (for example, <code>$.detail</code>), then only the part of the event specified in the path is passed to the target (for example, only the detail part of the event is passed).</p> </li> <li> <p>If <b>InputTransformer</b> is specified, then one or more specified JSONPaths are extracted from the event and used as values in a template that you specify as the input to the target.</p> </li> </ul> <p>When you specify <code>InputPath</code> or <code>InputTransformer</code>, you must use JSON dot notation, not bracket notation.</p> <p>When you add targets to a rule and the associated rule triggers soon after, new or updated targets might not be immediately invoked. Please allow a short period of time for changes to take effect.</p> <p>This action can partially fail if too many requests are made at the same time. If that happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>",
|
||||
"RemovePermission": "<p>Revokes the permission of another AWS account to be able to put events to your default event bus. Specify the account to revoke by the <code>StatementId</code> value that you associated with the account when you granted it permission with <code>PutPermission</code>. You can find the <code>StatementId</code> by using <a>DescribeEventBus</a>.</p>",
|
||||
"RemoveTargets": "<p>Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked.</p> <p>When you remove a target, when the associated rule triggers, removed targets might continue to be invoked. Please allow a short period of time for changes to take effect.</p> <p>This action can partially fail if too many requests are made at the same time. If that happens, <code>FailedEntryCount</code> is non-zero in the response and each entry in <code>FailedEntries</code> provides the ID of the failed target and the error code.</p>",
|
||||
"TestEventPattern": "<p>Tests whether the specified event pattern matches the provided event.</p> <p>Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.</p>"
|
||||
@@ -31,6 +31,24 @@
|
||||
"EcsParameters$TaskDefinitionArn": "<p>The ARN of the task definition to use if the event target is an Amazon ECS cluster. </p>"
|
||||
}
|
||||
},
|
||||
"BatchArrayProperties": {
|
||||
"base": "<p>The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.</p>",
|
||||
"refs": {
|
||||
"BatchParameters$ArrayProperties": "<p>The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job.</p>"
|
||||
}
|
||||
},
|
||||
"BatchParameters": {
|
||||
"base": "<p>The custom parameters to be used when the target is an AWS Batch job.</p>",
|
||||
"refs": {
|
||||
"Target$BatchParameters": "<p>Contains the job definition, job name, and other parameters if the event target is an AWS Batch job. For more information about AWS Batch, see <a href=\"http://docs.aws.amazon.com/batch/latest/userguide/jobs.html\">Jobs</a> in the <i>AWS Batch User Guide</i>.</p>"
|
||||
}
|
||||
},
|
||||
"BatchRetryStrategy": {
|
||||
"base": "<p>The retry strategy to use for failed jobs, if the target is an AWS Batch job. If you specify a retry strategy here, it overrides the retry strategy defined in the job definition.</p>",
|
||||
"refs": {
|
||||
"BatchParameters$RetryStrategy": "<p>The retry strategy to use for failed jobs, if the target is an AWS Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1 to 10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.</p>"
|
||||
}
|
||||
},
|
||||
"Boolean": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -147,6 +165,8 @@
|
||||
"Integer": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchArrayProperties$Size": "<p>The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.</p>",
|
||||
"BatchRetryStrategy$Attempts": "<p>The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.</p>",
|
||||
"PutEventsResponse$FailedEntryCount": "<p>The number of failed entries.</p>",
|
||||
"PutTargetsResponse$FailedEntryCount": "<p>The number of failed entries.</p>",
|
||||
"RemoveTargetsResponse$FailedEntryCount": "<p>The number of failed entries.</p>"
|
||||
@@ -217,6 +237,12 @@
|
||||
"refs": {
|
||||
}
|
||||
},
|
||||
"MessageGroupId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"SqsParameters$MessageGroupId": "<p>The FIFO message group ID to use as the target.</p>"
|
||||
}
|
||||
},
|
||||
"NextToken": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -454,6 +480,12 @@
|
||||
"Rule$ScheduleExpression": "<p>The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5 minutes)\".</p>"
|
||||
}
|
||||
},
|
||||
"SqsParameters": {
|
||||
"base": "<p>This structure includes the custom parameter to be used when the target is an SQS FIFO queue.</p>",
|
||||
"refs": {
|
||||
"Target$SqsParameters": "<p>Contains the message group ID to use when the target is a FIFO queue.</p>"
|
||||
}
|
||||
},
|
||||
"StatementId": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -464,12 +496,14 @@
|
||||
"String": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"BatchParameters$JobDefinition": "<p>The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.</p>",
|
||||
"BatchParameters$JobName": "<p>The name to use for this execution of the job, if the target is an AWS Batch job.</p>",
|
||||
"DescribeEventBusResponse$Name": "<p>The name of the event bus. Currently, this is always <code>default</code>.</p>",
|
||||
"DescribeEventBusResponse$Arn": "<p>The Amazon Resource Name (ARN) of the account permitted to write events to the current account.</p>",
|
||||
"DescribeEventBusResponse$Policy": "<p>The policy that enables the external account to send events to your account.</p>",
|
||||
"PutEventsRequestEntry$Source": "<p>The source of the event.</p>",
|
||||
"PutEventsRequestEntry$DetailType": "<p>Free-form string used to decide what fields to expect in the event detail.</p>",
|
||||
"PutEventsRequestEntry$Detail": "<p>In the JSON sense, an object containing fields, which may also contain nested subobjects. No constraints are imposed on its contents.</p>",
|
||||
"PutEventsRequestEntry$Detail": "<p>A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.</p>",
|
||||
"TestEventPatternRequest$Event": "<p>The event, in JSON format, to test against the event pattern.</p>"
|
||||
}
|
||||
},
|
||||
@@ -504,7 +538,7 @@
|
||||
"TargetInput": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"Target$Input": "<p>Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. You must use JSON dot notation, not bracket notation. For more information, see <a href=\"http://www.rfc-editor.org/rfc/rfc7159.txt\">The JavaScript Object Notation (JSON) Data Interchange Format</a>.</p>"
|
||||
"Target$Input": "<p>Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see <a href=\"http://www.rfc-editor.org/rfc/rfc7159.txt\">The JavaScript Object Notation (JSON) Data Interchange Format</a>.</p>"
|
||||
}
|
||||
},
|
||||
"TargetInputPath": {
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "ListRules",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "DescribeRule",
|
||||
"input": {
|
||||
"Name": "fake-rule"
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user