Skip to content

Commit

Permalink
Aws::CloudWatchLogs api update.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorrowe committed Jul 28, 2015
1 parent e908aed commit 049669b
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

* Feature - Aws::CloudWatchLogs - Added support for destinations. You can now
use destinations to subscribe to cross-account real-time feed of log events
from CloudWatch Logs and have it delivered to an Amazon Kinesis stream for
custom processing, analysis, or loading to other systems.

* Feature - Aws::S3 - Added support for the new long tail storage class and the new
storage class headers in the GET and HEAD Object responses.

Expand Down
178 changes: 176 additions & 2 deletions aws-sdk-core/apis/logs/2014-03-28/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,33 @@
}
]
},
"DeleteDestination":{
"name":"DeleteDestination",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteDestinationRequest"},
"errors":[
{
"shape":"InvalidParameterException",
"exception":true
},
{
"shape":"ResourceNotFoundException",
"exception":true
},
{
"shape":"OperationAbortedException",
"exception":true
},
{
"shape":"ServiceUnavailableException",
"exception":true,
"fault":true
}
]
},
"DeleteLogGroup":{
"name":"DeleteLogGroup",
"http":{
Expand Down Expand Up @@ -203,6 +230,26 @@
}
]
},
"DescribeDestinations":{
"name":"DescribeDestinations",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DescribeDestinationsRequest"},
"output":{"shape":"DescribeDestinationsResponse"},
"errors":[
{
"shape":"InvalidParameterException",
"exception":true
},
{
"shape":"ServiceUnavailableException",
"exception":true,
"fault":true
}
]
},
"DescribeLogGroups":{
"name":"DescribeLogGroups",
"http":{
Expand Down Expand Up @@ -343,6 +390,53 @@
}
]
},
"PutDestination":{
"name":"PutDestination",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutDestinationRequest"},
"output":{"shape":"PutDestinationResponse"},
"errors":[
{
"shape":"InvalidParameterException",
"exception":true
},
{
"shape":"OperationAbortedException",
"exception":true
},
{
"shape":"ServiceUnavailableException",
"exception":true,
"fault":true
}
]
},
"PutDestinationPolicy":{
"name":"PutDestinationPolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutDestinationPolicyRequest"},
"errors":[
{
"shape":"InvalidParameterException",
"exception":true
},
{
"shape":"OperationAbortedException",
"exception":true
},
{
"shape":"ServiceUnavailableException",
"exception":true,
"fault":true
}
]
},
"PutLogEvents":{
"name":"PutLogEvents",
"http":{
Expand Down Expand Up @@ -490,6 +584,10 @@
}
},
"shapes":{
"AccessPolicy":{
"type":"string",
"min":1
},
"Arn":{"type":"string"},
"CreateLogGroupRequest":{
"type":"structure",
Expand Down Expand Up @@ -517,6 +615,13 @@
"exception":true
},
"Days":{"type":"integer"},
"DeleteDestinationRequest":{
"type":"structure",
"required":["destinationName"],
"members":{
"destinationName":{"shape":"DestinationName"}
}
},
"DeleteLogGroupRequest":{
"type":"structure",
"required":["logGroupName"],
Expand Down Expand Up @@ -565,6 +670,21 @@
}
},
"Descending":{"type":"boolean"},
"DescribeDestinationsRequest":{
"type":"structure",
"members":{
"DestinationNamePrefix":{"shape":"DestinationName"},
"nextToken":{"shape":"NextToken"},
"limit":{"shape":"DescribeLimit"}
}
},
"DescribeDestinationsResponse":{
"type":"structure",
"members":{
"destinations":{"shape":"Destinations"},
"nextToken":{"shape":"NextToken"}
}
},
"DescribeLimit":{
"type":"integer",
"min":1,
Expand Down Expand Up @@ -638,10 +758,31 @@
"nextToken":{"shape":"NextToken"}
}
},
"Destination":{
"type":"structure",
"members":{
"destinationName":{"shape":"DestinationName"},
"targetArn":{"shape":"TargetArn"},
"roleArn":{"shape":"RoleArn"},
"accessPolicy":{"shape":"AccessPolicy"},
"arn":{"shape":"Arn"},
"creationTime":{"shape":"Timestamp"}
}
},
"DestinationArn":{
"type":"string",
"min":1
},
"DestinationName":{
"type":"string",
"min":1,
"max":512,
"pattern":"[^:*]*"
},
"Destinations":{
"type":"list",
"member":{"shape":"Destination"}
},
"EventId":{"type":"string"},
"EventMessage":{
"type":"string",
Expand Down Expand Up @@ -906,6 +1047,36 @@
"type":"list",
"member":{"shape":"OutputLogEvent"}
},
"PutDestinationPolicyRequest":{
"type":"structure",
"required":[
"destinationName",
"accessPolicy"
],
"members":{
"destinationName":{"shape":"DestinationName"},
"accessPolicy":{"shape":"AccessPolicy"}
}
},
"PutDestinationRequest":{
"type":"structure",
"required":[
"destinationName",
"targetArn",
"roleArn"
],
"members":{
"destinationName":{"shape":"DestinationName"},
"targetArn":{"shape":"TargetArn"},
"roleArn":{"shape":"RoleArn"}
}
},
"PutDestinationResponse":{
"type":"structure",
"members":{
"destination":{"shape":"Destination"}
}
},
"PutLogEventsRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -959,8 +1130,7 @@
"logGroupName",
"filterName",
"filterPattern",
"destinationArn",
"roleArn"
"destinationArn"
],
"members":{
"logGroupName":{"shape":"LogGroupName"},
Expand Down Expand Up @@ -1036,6 +1206,10 @@
"type":"list",
"member":{"shape":"SubscriptionFilter"}
},
"TargetArn":{
"type":"string",
"min":1
},
"TestEventMessages":{
"type":"list",
"member":{"shape":"EventMessage"},
Expand Down
Loading

0 comments on commit 049669b

Please sign in to comment.