From 568269cc5b48aebf5fa6f7b06ee44332d6b2fd82 Mon Sep 17 00:00:00 2001 From: "Arne K. Haaje" Date: Wed, 11 May 2016 23:13:45 +0200 Subject: [PATCH] Add support for CloudWatchLogs, CognitoIdentity, CognitoSync --- README.md | 2 +- Resources/config/services.xml | 15 +++++++++++++++ Resources/doc/configuration.md | 2 +- Services/ServicesFactory.php | 3 +++ composer.json | 2 +- 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f36f5b7..e6b477a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ AWS Bundle Amazon Web Services Symfony Bundle built on the top of [official AWS SDK](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/index.html). -Available services: CloudFront, CloudSearch, CloudWatch, DynamoDB, EC2, EMR, Elastic Transcoder, ElastiCache, Glacier, Redshift, RDS, Route 53, SES, SNS, SQS, S3, SWF, SimpleDB, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, IAM, ImportExport, OpsWorks, STS, StorageGateway, Support, ElasticLoadBalancing +Available services: CloudFront, CloudSearch, CloudWatch, CloudWatchLogs, CognitoIdentity, CognitoSync, DynamoDB, EC2, EMR, Elastic Transcoder, ElastiCache, Glacier, Redshift, RDS, Route 53, SES, SNS, SQS, S3, SWF, SimpleDB, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, IAM, ImportExport, OpsWorks, STS, StorageGateway, Support, ElasticLoadBalancing ## Installation: diff --git a/Resources/config/services.xml b/Resources/config/services.xml index be4e1d9..0fb170f 100644 --- a/Resources/config/services.xml +++ b/Resources/config/services.xml @@ -20,6 +20,9 @@ %seferov_aws.cloud_front% %seferov_aws.cloud_search% %seferov_aws.cloud_watch% + %seferov_aws.cloud_watch_logs% + %seferov_aws.cognito_identity% + %seferov_aws.cognito_sync% %seferov_aws.dynamo_db% %seferov_aws.ec2% %seferov_aws.emr% @@ -63,6 +66,18 @@ CloudWatch + + CloudWatchLogs + + + + CognitoIdentity + + + + CognitoSync + + DynamoDb diff --git a/Resources/doc/configuration.md b/Resources/doc/configuration.md index 251dc13..204a70d 100644 --- a/Resources/doc/configuration.md +++ b/Resources/doc/configuration.md @@ -2,7 +2,7 @@ Parameters can be set for each services seperately. If not set, general parameters at the top will be applied. -Available services: CloudFront, CloudSearch, CloudWatch, DynamoDb, Ec2, Emr, ElasticTranscoder, ElastiCache, Glacier, Redshift, Rds, Route53, Ses, Sns, Sqs, S3, Swf, SimpleDb, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, Iam, ImportExport, OpsWorks, Sts, StorageGateway, Support, ElasticLoadBalancing +Available services: CloudFront, CloudSearch, CloudWatch, CloudWatchLogs, CognitoIdentity, CognitoSync, DynamoDb, Ec2, Emr, ElasticTranscoder, ElastiCache, Glacier, Redshift, Rds, Route53, Ses, Sns, Sqs, S3, Swf, SimpleDb, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, Iam, ImportExport, OpsWorks, Sts, StorageGateway, Support, ElasticLoadBalancing ``` yaml seferov_aws: diff --git a/Services/ServicesFactory.php b/Services/ServicesFactory.php index d289ee8..51ca782 100644 --- a/Services/ServicesFactory.php +++ b/Services/ServicesFactory.php @@ -26,6 +26,9 @@ class ServicesFactory 'CloudFront', 'CloudSearch', 'CloudWatch', + 'CloudWatchLogs', + 'CognitoIdentity', + 'CognitoSync', 'DynamoDb', 'Ec2', 'Emr', diff --git a/composer.json b/composer.json index bc12d9a..3129e6c 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "require": { "php": ">=5.3.3", "symfony/symfony": "~2.3|~3.0", - "aws/aws-sdk-php": "^2.4.10" + "aws/aws-sdk-php": "^2.6.11" }, "require-dev": { "symfony/finder": "2.6.*@dev|~3.0"