Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
To send a request via the sandbox, you can use pm.sendRequest.
pm.test("Status code is 200", function () {
pm.sendRequest('https://postman-echo.com/get', function (err, res) {
pm.expect(err).to.not.be.ok;
pm.expect(res).to.have.property('code', 200);
pm.expect(res).to.have.property('status', 'OK');
});
});
| a4b.amazonaws.com | |
| access-analyzer.amazonaws.com | |
| account.amazonaws.com | |
| acm-pca.amazonaws.com | |
| acm.amazonaws.com | |
| airflow-env.amazonaws.com | |
| airflow.amazonaws.com | |
| alexa-appkit.amazon.com | |
| alexa-connectedhome.amazon.com | |
| amazonmq.amazonaws.com |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "The AWS CloudFormation template for Kinesis Stream", | |
| "Parameters": { | |
| "Environment": { | |
| "Description": "dev, stage, or prod - this is for bucket tags", | |
| "Type": "String", | |
| "MinLength": "3", | |
| "MaxLength": "5" | |
| } |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start| import * as cdk from '@aws-cdk/core'; | |
| import { CfnApiKey, PrimaryKey, Values, GraphQLApi, MappingTemplate, FieldLogLevel, AttributeValues } from '@aws-cdk/aws-appsync' | |
| import { AttributeType, BillingMode, Table } from '@aws-cdk/aws-dynamodb'; | |
| import * as lambda from '@aws-cdk/aws-lambda' | |
| import { join } from 'path'; | |
| export class AppsyncCdkStack extends cdk.Stack { | |
| constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) { | |
| super(scope, id, props); |
| import React, { useEffect, useState } from 'react'; | |
| import Auth from 'aws-amplify' | |
| import { css } from 'emotion'; | |
| import { useRouter } from 'next/router' | |
| const primaryColor = "rgba(0,118,255,0.9)" | |
| const intitialFormState = { | |
| username: '', | |
| email: '', | |
| password: '', |
| # query | |
| curl \ | |
| -X POST \ | |
| -H "x-api-key: xxx-xxxx" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ "query": "query { listUsers { name } }" }' \ | |
| https://app-id.appsync-api.us-east-1.amazonaws.com/graphql | |
| # mutation with variables | |
| curl \ |
| import React, { useState, useEffect } from 'react'; | |
| import { API, Auth } from 'aws-amplify' | |
| import { listPosts } from './graphql/queries' | |
| const initialState = { | |
| formState: 'signUp', username: '', password: '', email: '', authCode: '' | |
| } | |
| export default function App() { | |
| const [posts, setPosts] = useState([]) |