nealdct / aws-sap-code Goto Github PK
View Code? Open in Web Editor NEWCode used in our AWS Certified Solutions Architect Professional course
Code used in our AWS Certified Solutions Architect Professional course
Refers to the LINE20 in 'commands.sh'
_#Configure access key ID, secret access key and session token as environment variables
export AWS_ACCESS_KEY_ID=ASIA4DS6NKKM5KRRCWP6
I found the 'set' cmd works in windows environment.
Refers to the LINE30,
_# Remove environment variables
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
It prompts: 'unset' is not recognized as an internal or external command, operable program or batch file.
So, what is the DOS cmd for the 'unset'?
The function call in line 280 of AWS_CSAP_Code\build-a-serverless-app\Part-3\DCTProductVisitForm\DCTProductVisitForm\frontend\index.html should be replaced with
apigClient.productVisitPut({},body)
instead of :
apigClient.productvisitPut({},body)
$ unzip AWS_CSAP_Code.zip
Archive: AWS_CSAP_Code.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of AWS_CSAP_Code.zip or
AWS_CSAP_Code.zip.zip, and cannot find AWS_CSAP_Code.zip.ZIP, period.
Thanks for looking at it.
Refers to the LINE20 in 'commands.sh'
_#Configure access key ID, secret access key and session token as environment variables
export AWS_ACCESS_KEY_ID=ASIA4DS6NKKM5KRRCWP6
I found the 'set' cmd works in windows environment, instead of the 'export'.
Refers to the LINE30,
_# Remove environment variables
unset AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN
It prompts: 'unset' is not recognized as an internal or external command, operable program or batch file.
So, what is the DOS cmd for the 'unset'?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.