https://github.com/awslabs/amazon-pinpoint-preference-center

Configures and builds an Amazon Pinpoint Preference Center that allows Pinpoint Customers to collect end-user attributes and communication preferences.

https://github.com/awslabs/amazon-pinpoint-preference-center

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Configures and builds an Amazon Pinpoint Preference Center that allows Pinpoint Customers to collect end-user attributes and communication preferences.

Basic Info
Statistics
  • Stars: 13
  • Watchers: 5
  • Forks: 6
  • Open Issues: 2
  • Releases: 0
Archived
Created over 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.md

Deprecation Notice

This AWS Solution has been archived and is no longer maintained by AWS. To discover other solutions, please visit the AWS Solutions Library.

Amazon Pinpoint Preference Center

Configures and builds an Amazon Pinpoint Preference Center that allows Pinpoint Customers to collect end-user attributes and communication preferences.

Running unit tests for customization

  • Clone the repository, then make the desired code changes
  • Next, run unit tests to make sure added customization passes the tests cd ./deployment chmod +x ./run-unit-tests.sh \n ./run-unit-tests.sh \n

Building distributable for customization

  • Configure the bucket name of your target Amazon S3 distribution bucket export DIST_OUTPUT_BUCKET=my-bucket-name # bucket where customized code will reside export SOLUTION_NAME=my-solution-name export VERSION=my-version # version number for the customized code Note: You would have to create an S3 bucket with the prefix 'my-bucket-name-'; aws_region is where you are testing the customized solution. Also, the assets in bucket should be publicly accessible.

  • Now build the distributable: chmod +x ./build-s3-dist.sh \n ./build-s3-dist.sh $DIST_OUTPUT_BUCKET $SOLUTION_NAME $VERSION \n

  • Deploy the distributable to an Amazon S3 bucket in your account. Note: you must have the AWS Command Line Interface installed. aws s3 cp ./dist/ s3://my-bucket-name-<aws_region>/$SOLUTION_NAME/$VERSION/ --recursive --acl bucket-owner-full-control --profile aws-cred-profile-name \n

  • Get the link of the solution template uploaded to your Amazon S3 bucket.

  • Deploy the solution to your account by launching a new AWS CloudFormation stack using the link of the solution template in Amazon S3.


File Structure

``` |-deployment/ |-build-s3-dist.sh [ shell script for packaging distribution assets ] |-run-unit-tests.sh [ shell script for executing unit tests ] |-solution.yaml [ solution CloudFormation deployment template ] |-source/ |-example-function-js [ Example microservice function in javascript ] |- lib/ [ Example function libraries ] |-example-function-py [ Example microservice function in python ]

```

Each microservice follows the structure of:

|-service-name/ |-lib/ |-[service module libraries and unit tests] |-index.js [injection point for microservice] |-package.json


This solution collects anonymous operational metrics to help AWS improve the quality of features of the solution. For more information, including how to disable this capability, please see the Implementation Guide.


Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Licensed under the Apache License Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at

http://www.apache.org/licenses/

or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.

Owner

  • Name: Amazon Web Services - Labs
  • Login: awslabs
  • Kind: organization
  • Location: Seattle, WA

AWS Labs

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 2
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • AkshayAkyAWS (1)
  • REvOneSoftwareDev (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

source/rest-api-handler/package.json npm
  • chai * development
  • mocha * development
  • npm-run-all * development
  • sinon * development
  • sinon-chai * development
  • axios ^0.21.1
  • loglevel ^1.7.0
  • moment ^2.27.0
  • node-input-validator ^4.2.1
  • uuid ^8.2.0
  • xss ^1.0.7
source/solution-helper/package.json npm
  • aws-sdk * development
  • aws-sdk-mock * development
  • chai * development
  • mocha * development
  • npm-run-all * development
  • sinon * development
  • sinon-chai * development
  • fs-extra ^9.0.1
  • jszip ^3.5.0
  • mime-types ^2.1.27
  • replace-in-file ^6.1.0
  • shortid ^2.2.15
  • uuid ^8.3.0
source/stream-processor/package.json npm
  • aws-sdk * development
  • aws-sdk-mock * development
  • chai * development
  • mocha * development
  • npm-run-all * development
  • sinon * development
  • sinon-chai * development