From: Andreas Gerler Date: Wed, 7 Feb 2018 14:11:52 +0000 (+0100) Subject: update aws-snippets. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=d33f2a24fba43b49af0bf48238eb9ec61385650f;p=emacsconfig.git update aws-snippets. Signed-off-by: Andreas Gerler --- diff --git a/elpa/aws-snippets-20180111.001/aws-snippets-autoloads.el b/elpa/aws-snippets-20180111.001/aws-snippets-autoloads.el deleted file mode 100644 index 26b0e807..00000000 --- a/elpa/aws-snippets-20180111.001/aws-snippets-autoloads.el +++ /dev/null @@ -1,29 +0,0 @@ -;;; aws-snippets-autoloads.el --- automatically extracted autoloads -;; -;;; Code: -(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) - -;;;### (autoloads nil "aws-snippets" "aws-snippets.el" (23126 10835 -;;;;;; 780604 640000)) -;;; Generated autoloads from aws-snippets.el - -(autoload 'aws-snippets-initialize "aws-snippets" "\ - - -\(fn)" nil nil) - -(eval-after-load 'yasnippet '(aws-snippets-initialize)) - -;;;*** - -;;;### (autoloads nil nil ("aws-snippets-pkg.el") (23126 10835 781783 -;;;;;; 534000)) - -;;;*** - -;; Local Variables: -;; version-control: never -;; no-byte-compile: t -;; no-update-autoloads: t -;; End: -;;; aws-snippets-autoloads.el ends here diff --git a/elpa/aws-snippets-20180111.001/aws-snippets-pkg.el b/elpa/aws-snippets-20180111.001/aws-snippets-pkg.el deleted file mode 100644 index db005b73..00000000 --- a/elpa/aws-snippets-20180111.001/aws-snippets-pkg.el +++ /dev/null @@ -1,3 +0,0 @@ -(define-package "aws-snippets" "0.1.0" - "Yasnippets for AWS" - '((yasnippet "0.8.0"))) diff --git a/elpa/aws-snippets-20180111.001/aws-snippets.el b/elpa/aws-snippets-20180111.001/aws-snippets.el deleted file mode 100644 index 67e04dcb..00000000 --- a/elpa/aws-snippets-20180111.001/aws-snippets.el +++ /dev/null @@ -1,276 +0,0 @@ -;;; aws-snippets.el --- Yasnippets for AWS - -;; Copyright (C) 2018 Andreas Gerler -;; keywords: snippets -;; Version: 0.1.0 -;; Package-Requires: ((yasnippet "0.8.0")) - -;; Permission is hereby granted, free of charge, to any person obtaining -;; a copy of this software and associated documentation files (the -;; "Software"), to deal in the Software without restriction, including -;; without limitation the rights to use, copy, modify, merge, publish, -;; distribute, sublicense, and/or sell copies of the Software, and to -;; permit persons to whom the Software is furnished to do so, subject to -;; the following conditions: - -;; The above copyright notice and this permission notice shall be -;; included in all copies or substantial portions of the Software. - -;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -;; LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -;; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -;; WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -;;; Code: - -(defvar aws-snippets-dir (file-name-directory (or (buffer-file-name) - load-file-name))) -(defconst aws-snippets--default-regions - '("us-east-1" "eu-west-1" "ap-southeast-1")) - -(defcustom aws-snippets-regions aws-snippets--default-regions - "List of AWS regions for selections." - :tag "regions" - :type '(choice (string :tag "Region") - (repeat :tag "List of Regions" - (string :tag "Region"))) - :set #'(lambda (symbol new) - (let ((old (and (boundp symbol) - (symbol-value symbol)))) - (set-default symbol new) - )) - :group 'aws-snippets - ) - -(defconst aws-snippets--default-profiles - '("test" "prod")) - -(defcustom aws-snippets-profiles aws-snippets--default-profiles - "List of AWS profiles for selections." - :tag "profiles" - :type '(choice (string :tag "Profile") - (repeat :tag "List of Profiles" - (string :tag "Profiles"))) - :set #'(lambda (symbol new) - (let ((old (and (boundp symbol) - (symbol-value symbol)))) - (set-default symbol new) - )) - :group 'aws-snippets - ) - -(defconst aws-snippets--default-filters - '("tag:Name" "tag:Project" "tag:Type" "tag:Cluster" "instance.group-id" "ip-address" "private-ip-address" "network-interface.subnet-id" "description" )) - -(defcustom aws-snippets-filters aws-snippets--default-filters - "List of AWS filters for selections." - :tag "default-filters" - :type '(choice (string :tag "Filter") - (repeat :tag "List of Filters" - (string :tag "Filter"))) - :set #'(lambda (symbol new) - (let ((old (and (boundp symbol) - (symbol-value symbol)))) - (set-default symbol new) - )) - :group 'aws-snippets - ) - -(defconst aws-snippets--ami-ls-query - '"reverse(sort_by(Images, &CreationDate)[].{CreationDate:CreationDate,Name:Name,ImageId:ImageId,Public:Public,Description:Description})") - -(defcustom aws-snippets-ami-ls-query aws-snippets--ami-ls-query - "Query string used for ami-ls." - :tag "ami-ls-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--autoscaling-describe-auto-scaling-groups-query - '"AutoScalingGroups[].{Name: AutoScalingGroupName, Desired: DesiredCapacity,Min: MinSize, Max: MaxSize}") - -(defcustom aws-snippets-autoscaling-describe-auto-scaling-groups-query aws-snippets--autoscaling-describe-auto-scaling-groups-query - "Query string used for autoscaling-describe-auto-scaling-groups." - :tag "autoscaling-describe-auto-scaling-groups" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--autoscaling-describe-launch-configurations-query - '"reverse(sort_by(LaunchConfigurations &CreatedTime)[*].[LaunchConfigurationName, CreatedTime])") - -(defcustom aws-snippets-autoscaling-describe-launch-configurations-query aws-snippets--autoscaling-describe-launch-configurations-query - "Query string used for autoscaling-describe-launch-configurations." - :tag "autoscaling-describe-launch-configurations-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-get-dns-names-query - '"Reservations[].Instances[?State.Name=='running'].[InstanceId, PublicDnsName]") - -(defcustom aws-snippets-ec2-get-dns-names-query aws-snippets--ec2-get-dns-names-query - "Query string used for aws-ec2-get-dns-names." - :tag "ec2-get-dns-names-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-get-instance-volumes-query - '"Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(' ', BlockDeviceMappings[].Ebs.VolumeId)]") - -(defcustom aws-snippets-ec2-get-instance-volumes-query aws-snippets--ec2-get-instance-volumes-query - "Query string used for ec2-get-instance-volumes." - :tag "ec2-get-instance-volumes-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-get-securitygroups-query - '"sort_by(SecurityGroups, &GroupName)[*].[GroupName, GroupId, Description]") - -(defcustom aws-snippets-ec2-get-securitygroups-query aws-snippets--ec2-get-securitygroups - "Query string used for ec2-get-securitygroups." - :tag "ec2-get-securitygroups-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-get-snapshots-query - '"Snapshots[].[join(\`,\`,Tags[?Key==\`Name\`].Value),StartTime,Description,SnapshotId,VolumeId,VolumeSize,Progress]") - -(defcustom aws-snippets-ec2-get-snapshots-query aws-snippets--ec2-get-snapshots-query - "Query string used for ec2-get-snapshots-query." - :tag "ec2-get-snapshots-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-get-volumes-query - '"Volumes[].[VolumeId,State,SnapshotId,join(\`,\`,Tags[?Key==\`Name\`].Value)]") - -(defcustom aws-snippets-ec2-get-volumes-query aws-snippets--ec2-get-volumes-query - "Query string used for ec2-get-volumes-query." - :tag "ec2-get-volumes-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-get-volumes-unused-query - '"Volumes[].[VolumeId,Size,VolumeType,CreateTime,State,SnapshotId]") - -(defcustom aws-snippets-ec2-get-volumes-unused-query aws-snippets--ec2-get-volumes-unused-query - "Query string used for ec2-get-volumes-unused-query." - :tag "ec2-get-volumes-unused-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-instance-running-query - '"Reservations[].Instances[].[InstanceId, State.Name]") - -(defcustom aws-snippets-ec2-instance-running-query aws-snippets--ec2-instance-running-query - "Query string used for ec2-instance-running." - :tag "ec2-instance-running-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-list-instances-query - '"Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(\`,\`,Tags[?Key==\`Schedule\`].Value),InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime]") - -(defcustom aws-snippets-ec2-list-instances-query aws-snippets--ec2-list-instances-query - "Query string used for ec2 describe-instances." - :tag "ec2-list-instances-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-list-subnets-query - '"sort_by(sort_by(Subnets[].{VpcId:VpcId, SubnetId:SubnetId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &SubnetId), &VpcId)") - -(defcustom aws-snippets-ec2-list-subnets-query aws-snippets--ec2-list-subnets-query - "Query string used for ec2-list-subnets." - :tag "ec2-list-subnets-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--ec2-list-vpcs-query - '"sort_by(Vpcs[].{VpcId:VpcId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &VpcId)") - -(defcustom aws-snippets-ec2-list-vpcs-query aws-snippets--ec2-list-vpcs-query - "Query string used for ec2-list-vpcs." - :tag "ec2-list-vpcs-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--elb-get-list-query - '"reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName, CreatedTime])") - -(defcustom aws-snippets-elb-get-list-query aws-snippets--elb-get-list-query - "Query string used for elb-get-list." - :tag "elb-get-list-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--emr-list-clusters-query - '"Clusters[*].{ID: Id, NAME: Name}") - -(defcustom aws-snippets-emr-list-clusters-query aws-snippets--emr-list-clusters-query - "Query string used for emr-list-clusters." - :tag "emr-list-clusters-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--rds-describe-instances-query - '"DBInstances[*].[DBInstanceIdentifier,DbiResourceId, Endpoint.Address]") - -(defcustom aws-snippets-rds-describe-instances-query aws-snippets--rds-describe-instances-query - "Query string used for rds describe-db-instances." - :tag "rds-describe-db-instances-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--route53-list-hosted-zones-query - '"HostedZones[].[Id, Name]") - -(defcustom aws-snippets-route53-list-hosted-zones-query aws-snippets--route53-list-hosted-zones-query - "Query string used for route53 list-hosted-zones." - :tag "route53-list-hosted-zones-query" - :group 'aws-snippets - :type 'string - ) - -(defconst aws-snippets--aws-support-ls-query - '"reverse(sort_by(cases, &timeCreated)[].[caseId, subject, timeCreated, displayId])") - -(defcustom aws-snippets-aws-support-ls-query aws-snippets--aws-support-ls-query - "Query string used for aws support-ls-query." - :tag "aws-support-ls-query" - :group 'aws-snippets - :type 'string - ) - -;;;###autoload -(defun aws-snippets-initialize () - "Initialize package." - (let ((snip-dir (expand-file-name "snippets" aws-snippets-dir))) - (when (boundp 'yas-snippet-dirs)(add-to-list 'yas-snippet-dirs snip-dir t)) - (yas-load-directory snip-dir))) - -;;;###autoload -(eval-after-load 'yasnippet - '(aws-snippets-initialize)) - -(require 'yasnippet) - -(provide 'aws-snippets) -;;; aws-snippets.el ends here diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ami-ls b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ami-ls deleted file mode 100644 index 0d456a15..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ami-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ami-ls -# key: ami-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-images --owners \$`(if (string-equal major-mode "eshell-mode")(message "{")(message "("))` aws --profile=$1 ec2 describe-security-groups --group-names 'Default' --query 'SecurityGroups[0].OwnerId' --output text `(if (string-equal major-mode "eshell-mode")(message "}")(message ")"))` --query "`(print aws-snippets-ami-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups deleted file mode 100644 index cfe0bf8d..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-describe-auto-scaling-groups -# key: asg-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-auto-scaling-groups --query '`(print aws-snippets-autoscaling-describe-auto-scaling-groups-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations deleted file mode 100644 index b7082fc3..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-describe-launch-configurations -# key: asl-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-launch-configurations --query '`(print aws-snippets-autoscaling-describe-launch-configurations-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max deleted file mode 100644 index 03709394..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-autoscaling-update-auto-scaling-group-min-max -# key: aws-autoscaling-update-auto-scaling-group-min-max -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling update-auto-scaling-group --auto-scaling-group-name ${4:`(current-kill 0)`} --min-size $5 --max-size $6 $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-change-ls b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-change-ls deleted file mode 100644 index 825d942d..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-change-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-change-ls -# key: cloud-change-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-change-sets --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-create-change-set b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-create-change-set deleted file mode 100644 index a93de833..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-create-change-set +++ /dev/null @@ -1,15 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-create-change-set -# key: cloud-createchange -# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} \ -${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} \ -cloudformation create-change-set \ -${4:--capabilities CAPABILITY_NAMED_IAM} \ ---stack-name '$5' \ ---change-set-name '$6' \ ---description '$7' \ ---parameters ${8:file://} \ -${9:--change-set-type=${10:$$(yas-choose-value '("CREATE" "UPDATE"))}}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-change-set b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-change-set deleted file mode 100644 index 958515b1..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-change-set +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-describe-change-set -# key: cloud-descchange -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-change-set --stack-name ${4:`(current-kill 0)`} --change-set-name $5 --output ${6:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-stack b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-stack deleted file mode 100644 index 143d7ed1..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-stack +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-describe-stack -# key: cloud-desc -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stacks --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-stack-events b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-stack-events deleted file mode 100644 index 062be5e7..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-describe-stack-events +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-describe-stack-events -# key: cloud-events-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stack-events --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-ls b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-ls deleted file mode 100644 index d4c180fe..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-ls +++ /dev/null @@ -1,24 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-ls -# key: cloud-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-stacks --stack-status-filter ${4:$$(yas-choose-value '( -"CREATE_COMPLETE" -"CREATE_IN_PROGRESS" -"CREATE_FAILED" -"ROLLBACK_IN_PROGRESS" -"ROLLBACK_FAILED" -"ROLLBACK_COMPLETE" -"DELETE_IN_PROGRESS" -"DELETE_FAILED" -"DELETE_COMPLETE" -"UPDATE_IN_PROGRESS" -"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" -"UPDATE_COMPLETE" -"UPDATE_ROLLBACK_IN_PROGRESS" -"UPDATE_ROLLBACK_FAILED" -"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" -"UPDATE_ROLLBACK_COMPLETE" -"REVIEW_IN_PROGRESS" -))} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-validate-template b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-validate-template deleted file mode 100644 index e288e3ef..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudformation-validate-template +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudformation-validate-template -# key: cloud-val-temp -# group: aws -# -- -aws --profile=test --region=us-east-1 cloudformation validate-template --template-body file://${1:`(current-kill 0)`} --output ${2:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudtrail-lookup-events b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudtrail-lookup-events deleted file mode 100644 index e721a36f..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-cloudtrail-lookup-events +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-cloudtrail-lookup-events -# key: cloudtrail-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudtrail lookup-events --max-items ${4:100} --lookup-attributes AttributeKey=${5:$$(yas-choose-value '("ResourceType,AttributeValue=AWS::EC2::Instance" "ResourceName,AttributeValue="))}$6 --output ${7:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-delete-snapshot b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-delete-snapshot deleted file mode 100644 index be6faa84..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-delete-snapshot +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-delete-snapshot (yank) -# key: snap-del -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-snapshot --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-delete-volume b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-delete-volume deleted file mode 100644 index 62caa0cf..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-delete-volume +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-delete-volume (yank) -# key: ebs-del -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-volume --volume-id ${4:`(current-kill 0)`} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-instance-attribute b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-instance-attribute deleted file mode 100644 index 57696cae..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-instance-attribute +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-describe-instance-attribute (yank) -# key: ec2-attribute -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute ${5:$$(yas-choose-value '("instanceType" "kernel" "ramdisk" "userData" "disableApiTermination" "instanceInitiatedShutdownBehavior" "rootDeviceName" "blockDeviceMapping" "productCodes" "sourceDestCheck" "groupSet" "ebsOptimized" "sriovNetSupport"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-instance-status b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-instance-status deleted file mode 100644 index b52b723b..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-instance-status +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-describe-instance-status (yank) -# key: aws-ec2-describe-instance-status -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-status --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-userdata b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-userdata deleted file mode 100644 index ace7b2d1..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-describe-userdata +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-describe-userdata (yank) -# key: ec2-userdata -# group: aws -# -- -(base64-decode-string (shell-command-to-string "aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute userData --query 'UserData.Value' --output text"))$0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-console-output b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-console-output deleted file mode 100644 index 597a1bed..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-console-output +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-console-output (yank) -# key: ec2-console -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 get-console-output --output text --instance-id ${4:`(current-kill 0)`} ># $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-dns-names b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-dns-names deleted file mode 100644 index 79ac75bf..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-dns-names +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-dns-names -# key: aws-ec2-get-dns-names -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --filters "Name=tag:Name,Values=$4" --query "`(print aws-snippets-ec2-get-dns-names-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-instance-details b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-instance-details deleted file mode 100644 index 4d38a909..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-instance-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-instance-details (yank) -# key: ec2-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-instance-volumes b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-instance-volumes deleted file mode 100644 index ccfd0c81..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-instance-volumes +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-instance-volumes -# key: ec2-vol -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query "`(print aws-snippets-ec2-get-instance-volumes-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroup-details b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroup-details deleted file mode 100644 index ac2f7fca..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroup-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-securitygroup-details (yank) -# key: aws-ec2-get-securitygroup-details -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --group-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroup-references b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroup-references deleted file mode 100644 index 17857460..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroup-references +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-securitygroup-references (yank) -# key: aws-ec2-get-securitygroup-references -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-group-references --group-id ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroups b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroups deleted file mode 100644 index b71e0b71..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-securitygroups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-securitygroups -# key: sg-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --query "`(print aws-snippets-ec2-get-securitygroups-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-snapshot-details b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-snapshot-details deleted file mode 100644 index 1f5dc2af..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-snapshot-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-snapshot-details (yank) -# key: snap-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-snapshots b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-snapshots deleted file mode 100644 index 31c47d81..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-snapshots +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-snapshots -# key: snap-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --query '`(print aws-snippets-ec2-get-snapshots-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-volumes b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-volumes deleted file mode 100644 index 546f1739..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-volumes +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-volumes -# key: ebs-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-volumes-unused b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-volumes-unused deleted file mode 100644 index 65c94338..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-get-volumes-unused +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-get-volumes-unused -# key: ebs-ls-avail -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-unused-query)`' --filters Name=status,Values=available --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-instance-running b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-instance-running deleted file mode 100644 index c2ae1028..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-instance-running +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-instance-running -# key: ec2state -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} --query "`(print aws-snippets-ec2-instance-running-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-instances b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-instances deleted file mode 100644 index 52bb965f..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-instances +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-list-instances -# key: ec2-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query '`(print aws-snippets-ec2-list-instances-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-subnets b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-subnets deleted file mode 100644 index 9b99e144..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-subnets +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-list-subnets -# key: sub-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-subnets --query "`(print aws-snippets-ec2-list-subnets-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-vpcs b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-vpcs deleted file mode 100644 index 82ebfd89..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-list-vpcs +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-list-vpcs -# key: vpc-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-vpcs --query "`(print aws-snippets-ec2-list-vpcs-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-start-stop-instance b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-start-stop-instance deleted file mode 100644 index e6d415cf..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-start-stop-instance +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-start-stop-instance (yank) -# key: ec2-start -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 ${4:$$(yas-choose-value '("start-instances" "stop-instances" "reboot-instances"))} --instance-ids ${5:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-volume-details b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-volume-details deleted file mode 100644 index 0b1461a9..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-ec2-volume-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-ec2-volume-details (yank) -# key: ebs-det -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --volume-ids ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-instance-health b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-instance-health deleted file mode 100644 index 07fd787f..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-instance-health +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-describe-instance-health (yank) -# key: aws-elb-describe-instance-health -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-instance-health --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-load-balancer b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-load-balancer deleted file mode 100644 index 168e4cb5..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-load-balancer +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-describe-load-balancer (yank) -# key: aws-elb-describe-load-balancer -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes deleted file mode 100644 index 113ce4e0..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-describe-load-balancer-attributes (yank) -# key: aws-elb-describe-load-balancer-attributes -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancer-attributes --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-get-list b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-get-list deleted file mode 100644 index a7c5b3ed..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-get-list +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-get-list -# key: elb-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --query "`(print aws-snippets-elb-get-list-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-search b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-search deleted file mode 100644 index 3b3f9b97..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-elb-search +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-elb-search -# key: aws-elb-search -# group: aws -# -- -for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do - for BALANCER in \`aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=\${REGION} elb describe-load-balancers --query "reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName])" --output text\`; do - aws --profile=$1 --region=\${REGION} elb describe-load-balancers --load-balancer-name \${BALANCER} --output text | awk "{print \\"\${REGION}:\${BALANCER}:\\"\\\$0}" - done -done $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-emr-describe-cluster b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-emr-describe-cluster deleted file mode 100644 index c00cdcbc..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-emr-describe-cluster +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-emr-describe-cluster (yank) -# key: aws-emr-describe-cluster -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr describe-cluster --cluster-id ${3: `(current-kill 0)`} --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-emr-list-clusters b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-emr-list-clusters deleted file mode 100644 index 175a66ef..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-emr-list-clusters +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-emr-list-clusters -# key: emr-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr list-clusters --active --query '`(print aws-snippets-emr-list-clusters-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-filters b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-filters deleted file mode 100644 index 6cdaa34c..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-filters +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-filters -# key: awsfil -# group: aws -# -- ---filters "Name=${1:$$(yas-choose-value aws-snippets-filters)},Values=$2" $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-logs-get-groups b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-logs-get-groups deleted file mode 100644 index 81fef5d2..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-logs-get-groups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-get-groups -# key: logs-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs describe-log-groups --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-logs-set-retention b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-logs-set-retention deleted file mode 100644 index d071bd3a..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-logs-set-retention +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-logs-set-retention -# key: logs-set-ret -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs put-retention-policy --log-group-name ${4:`(current-kill 0)`} --retention-in-days ${5:$$(yas-choose-value '( "60" "1" "3" "5" "7" "14" "30" "90" "120" "150" "180" "365" "400" "545" "731" "1827" "3653"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-instance-details b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-instance-details deleted file mode 100644 index adcade0d..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-instance-details +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-db-instance-details (yank) -# key: aws-rds-describe-db-instance-details -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --db-instance-identifier ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-instances b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-instances deleted file mode 100644 index 4f75830d..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-instances +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-db-instances -# key: rds-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --query "`(print aws-snippets-rds-describe-instances-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-parameter-groups b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-parameter-groups deleted file mode 100644 index 53033528..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-db-parameter-groups +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-db-parameter-groups -# key: aws-rds-describe-db-parameter-groups -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameter-groups --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-parameters b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-parameters deleted file mode 100644 index 48fb633e..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-rds-describe-parameters +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-rds-describe-parameters (yank) -# key: aws-rds-describe-parameters -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameters --db-parameter-group-name ${4:`(current-kill 0)`} --query "Parameters[*][ParameterName, ParameterValue]" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-region-loop b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-region-loop deleted file mode 100644 index 4ba9f532..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-region-loop +++ /dev/null @@ -1,8 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-region-loop -# key: aws-region-loop -# group: aws -# -- -for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do -$0 -done diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-regions b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-regions deleted file mode 100644 index 72c28a0c..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-regions +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-regions -# key: awsreg -# group: aws -# -- ---region=${1:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-route53-list-hosted-zones b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-route53-list-hosted-zones deleted file mode 100644 index 6fbe41ef..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-route53-list-hosted-zones +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-list-hosted-zones -# key: r53-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-hosted-zones --query '`(print aws-snippets-route53-list-hosted-zones-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-route53-list-resource-record-sets b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-route53-list-resource-record-sets deleted file mode 100644 index bf70025f..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-route53-list-resource-record-sets +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-route53-list-resource-record-sets (yank) -# key: aws-route53-list-resource-record-sets -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-resource-record-sets --hosted-zone-id ${2:`(current-kill 0)`} --query \"ResourceRecordSets[?contains(Name, '$3')]\" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-sns-ls b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-sns-ls deleted file mode 100644 index 3d99d0e9..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-sns-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-sns-ls -# key: sns-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} sns list-topics --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-support-describe b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-support-describe deleted file mode 100644 index d8baaf78..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-support-describe +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-support-describe -# key: support-desc -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-communications --case-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-support-ls b/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-support-ls deleted file mode 100644 index 7540de69..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/eshell-mode/aws-support-ls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- mode: snippet -*- -# name: aws-support-ls -# key: support-ls -# group: aws -# -- -aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-cases --no-include-communications --query "`(print aws-snippets-aws-support-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180111.001/snippets/shell-mode/.yas-parents b/elpa/aws-snippets-20180111.001/snippets/shell-mode/.yas-parents deleted file mode 100644 index 2de397c8..00000000 --- a/elpa/aws-snippets-20180111.001/snippets/shell-mode/.yas-parents +++ /dev/null @@ -1 +0,0 @@ -eshell-mode diff --git a/elpa/aws-snippets-20180204.522/aws-snippets-autoloads.el b/elpa/aws-snippets-20180204.522/aws-snippets-autoloads.el new file mode 100644 index 00000000..7f4bf86f --- /dev/null +++ b/elpa/aws-snippets-20180204.522/aws-snippets-autoloads.el @@ -0,0 +1,29 @@ +;;; aws-snippets-autoloads.el --- automatically extracted autoloads +;; +;;; Code: +(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) + +;;;### (autoloads nil "aws-snippets" "aws-snippets.el" (23162 61523 +;;;;;; 523006 699000)) +;;; Generated autoloads from aws-snippets.el + +(autoload 'aws-snippets-initialize "aws-snippets" "\ +Initialize package. + +\(fn)" nil nil) + +(eval-after-load 'yasnippet '(aws-snippets-initialize)) + +;;;*** + +;;;### (autoloads nil nil ("aws-snippets-pkg.el") (23162 61523 430867 +;;;;;; 76000)) + +;;;*** + +;; Local Variables: +;; version-control: never +;; no-byte-compile: t +;; no-update-autoloads: t +;; End: +;;; aws-snippets-autoloads.el ends here diff --git a/elpa/aws-snippets-20180204.522/aws-snippets-pkg.el b/elpa/aws-snippets-20180204.522/aws-snippets-pkg.el new file mode 100644 index 00000000..2a25fbe4 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/aws-snippets-pkg.el @@ -0,0 +1,7 @@ +(define-package "aws-snippets" "20180204.522" "Yasnippets for AWS" + '((yasnippet "0.8.0")) + :keywords + '("snippets")) +;; Local Variables: +;; no-byte-compile: t +;; End: diff --git a/elpa/aws-snippets-20180204.522/aws-snippets.el b/elpa/aws-snippets-20180204.522/aws-snippets.el new file mode 100644 index 00000000..fc00bd13 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/aws-snippets.el @@ -0,0 +1,197 @@ +;;; aws-snippets.el --- Yasnippets for AWS + +;; Copyright (C) 2018 Andreas Gerler +;; keywords: snippets +;; Version: 0.1.0 +;; Package-Requires: ((yasnippet "0.8.0")) + +;; Permission is hereby granted, free of charge, to any person obtaining +;; a copy of this software and associated documentation files (the +;; "Software"), to deal in the Software without restriction, including +;; without limitation the rights to use, copy, modify, merge, publish, +;; distribute, sublicense, and/or sell copies of the Software, and to +;; permit persons to whom the Software is furnished to do so, subject to +;; the following conditions: + +;; The above copyright notice and this permission notice shall be +;; included in all copies or substantial portions of the Software. + +;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +;; LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +;; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +;; WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +;;; Commentary: + +;; A collection of yasnippet snippets to be used with AWS CLI + +;;; Code: + +(defvar aws-snippets-dir (file-name-directory (or load-file-name + (buffer-file-name)))) + +(defcustom aws-snippets-regions '("us-east-1" "eu-west-1" "ap-southeast-1") + "List of AWS regions for selections." + :tag "regions" + :type '(choice (string :tag "Region") + (repeat :tag "List of Regions" + (string :tag "Region"))) + :set #'(lambda (symbol new) + (let ((old (and (boundp symbol) + (symbol-value symbol)))) + (set-default symbol new) + )) + :group 'aws-snippets) + +(defcustom aws-snippets-profiles '("test" "prod") + "List of AWS profiles for selections." + :tag "profiles" + :type '(choice (string :tag "Profile") + (repeat :tag "List of Profiles" + (string :tag "Profiles"))) + :set #'(lambda (symbol new) + (let ((old (and (boundp symbol) + (symbol-value symbol)))) + (set-default symbol new) + )) + :group 'aws-snippets) + +(defcustom aws-snippets-filters '("tag:Name" "tag:Project" "tag:Type" "tag:Cluster" "instance.group-id" "ip-address" "private-ip-address" "network-interface.subnet-id" "description" "name" "iam-instance-profile.arn") + "List of AWS filters for selections." + :tag "default-filters" + :type '(choice (string :tag "Filter") + (repeat :tag "List of Filters" + (string :tag "Filter"))) + :set #'(lambda (symbol new) + (let ((old (and (boundp symbol) + (symbol-value symbol)))) + (set-default symbol new) + )) + :group 'aws-snippets) + +(defcustom aws-snippets-ami-ls-query '"reverse(sort_by(Images, &CreationDate)[].{CreationDate:CreationDate,Name:Name,ImageId:ImageId,Public:Public,Description:Description})" + "Query string used for ami-ls." + :tag "ami-ls-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-autoscaling-describe-auto-scaling-groups-query '"AutoScalingGroups[].{Name: AutoScalingGroupName, Desired: DesiredCapacity,Min: MinSize, Max: MaxSize}" + "Query string used for autoscaling-describe-auto-scaling-groups." + :tag "autoscaling-describe-auto-scaling-groups" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-autoscaling-describe-launch-configurations-query '"reverse(sort_by(LaunchConfigurations &CreatedTime)[*].[LaunchConfigurationName, CreatedTime])" + "Query string used for autoscaling-describe-launch-configurations." + :tag "autoscaling-describe-launch-configurations-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-dns-names-query '"Reservations[].Instances[?State.Name=='running'].[InstanceId, PublicDnsName]" + "Query string used for aws-ec2-get-dns-names." + :tag "ec2-get-dns-names-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-instance-volumes-query '"Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(' ', BlockDeviceMappings[].Ebs.VolumeId)]" + "Query string used for ec2-get-instance-volumes." + :tag "ec2-get-instance-volumes-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-securitygroups-query '"sort_by(SecurityGroups, &GroupName)[*].[GroupName, GroupId, Description]" + "Query string used for ec2-get-securitygroups." + :tag "ec2-get-securitygroups-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-snapshots-query '"Snapshots[].[join(\`,\`,Tags[?Key==\`Name\`].Value),StartTime,Description,SnapshotId,VolumeId,VolumeSize,Progress]" + "Query string used for ec2-get-snapshots-query." + :tag "ec2-get-snapshots-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-volumes-query '"Volumes[].[VolumeId,State,SnapshotId,join(\`,\`,Tags[?Key==\`Name\`].Value)]" + "Query string used for ec2-get-volumes-query." + :tag "ec2-get-volumes-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-get-volumes-unused-query '"Volumes[].[VolumeId,Size,VolumeType,CreateTime,State,SnapshotId]" + "Query string used for ec2-get-volumes-unused-query." + :tag "ec2-get-volumes-unused-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-instance-running-query '"Reservations[].Instances[].[InstanceId, State.Name]" + "Query string used for ec2-instance-running." + :tag "ec2-instance-running-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-list-instances-query '"Reservations[].Instances[].[Tags[?Key==\`Name\`].Value[] | [0],Tags[?Key==\`Schedule\`].Value[] | [0],InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime]" + "Query string used for ec2 describe-instances." + :tag "ec2-list-instances-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-list-subnets-query '"sort_by(sort_by(Subnets[].{VpcId:VpcId, SubnetId:SubnetId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &SubnetId), &VpcId)" + "Query string used for ec2-list-subnets." + :tag "ec2-list-subnets-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-ec2-list-vpcs-query '"sort_by(Vpcs[].{VpcId:VpcId, State:State, AvailabilityZone:AvailabilityZone, CidrBlock:CidrBlock, AvailableIpAddressCount:AvailableIpAddressCount Tags:to_string(Tags[].[Key, Value])}, &VpcId)" + "Query string used for ec2-list-vpcs." + :tag "ec2-list-vpcs-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-elb-get-list-query '"reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName, CreatedTime])" + "Query string used for elb-get-list." + :tag "elb-get-list-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-emr-list-clusters-query '"Clusters[*].{ID: Id, NAME: Name}" + "Query string used for emr-list-clusters." + :tag "emr-list-clusters-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-rds-describe-instances-query '"DBInstances[*].[DBInstanceIdentifier,DbiResourceId, Endpoint.Address]" + "Query string used for rds describe-db-instances." + :tag "rds-describe-db-instances-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-route53-list-hosted-zones-query '"HostedZones[].[Id, Name]" + "Query string used for route53 list-hosted-zones." + :tag "route53-list-hosted-zones-query" + :group 'aws-snippets + :type 'string) + +(defcustom aws-snippets-aws-support-ls-query '"reverse(sort_by(cases, &timeCreated)[].[caseId, subject, timeCreated, displayId])" + "Query string used for aws support-ls-query." + :tag "aws-support-ls-query" + :group 'aws-snippets + :type 'string) + +;;;###autoload +(defun aws-snippets-initialize () + "Initialize package." + (let ((snip-dir (expand-file-name "snippets" aws-snippets-dir))) + (when (boundp 'yas-snippet-dirs)(add-to-list 'yas-snippet-dirs snip-dir t)) + (yas-load-directory snip-dir))) + +;;;###autoload +(eval-after-load 'yasnippet + '(aws-snippets-initialize)) + +(require 'yasnippet) + +(provide 'aws-snippets) +;;; aws-snippets.el ends here diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ami-ls b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ami-ls new file mode 100644 index 00000000..0d456a15 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ami-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ami-ls +# key: ami-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-images --owners \$`(if (string-equal major-mode "eshell-mode")(message "{")(message "("))` aws --profile=$1 ec2 describe-security-groups --group-names 'Default' --query 'SecurityGroups[0].OwnerId' --output text `(if (string-equal major-mode "eshell-mode")(message "}")(message ")"))` --query "`(print aws-snippets-ami-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups new file mode 100644 index 00000000..cfe0bf8d --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-describe-auto-scaling-groups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-describe-auto-scaling-groups +# key: asg-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-auto-scaling-groups --query '`(print aws-snippets-autoscaling-describe-auto-scaling-groups-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations new file mode 100644 index 00000000..b7082fc3 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-describe-launch-configurations @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-describe-launch-configurations +# key: asl-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling describe-launch-configurations --query '`(print aws-snippets-autoscaling-describe-launch-configurations-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max new file mode 100644 index 00000000..03709394 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-autoscaling-update-auto-scaling-group-min-max @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-autoscaling-update-auto-scaling-group-min-max +# key: aws-autoscaling-update-auto-scaling-group-min-max +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} autoscaling update-auto-scaling-group --auto-scaling-group-name ${4:`(current-kill 0)`} --min-size $5 --max-size $6 $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-change-ls b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-change-ls new file mode 100644 index 00000000..825d942d --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-change-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-change-ls +# key: cloud-change-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-change-sets --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-create-change-set b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-create-change-set new file mode 100644 index 00000000..a93de833 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-create-change-set @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-create-change-set +# key: cloud-createchange +# expand-env: ((yas/indent-line 'auto) (yas/wrap-around-region 't)) +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} \ +${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} \ +cloudformation create-change-set \ +${4:--capabilities CAPABILITY_NAMED_IAM} \ +--stack-name '$5' \ +--change-set-name '$6' \ +--description '$7' \ +--parameters ${8:file://} \ +${9:--change-set-type=${10:$$(yas-choose-value '("CREATE" "UPDATE"))}}$0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-change-set b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-change-set new file mode 100644 index 00000000..958515b1 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-change-set @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-describe-change-set +# key: cloud-descchange +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-change-set --stack-name ${4:`(current-kill 0)`} --change-set-name $5 --output ${6:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-stack b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-stack new file mode 100644 index 00000000..143d7ed1 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-stack @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-describe-stack +# key: cloud-desc +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stacks --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-stack-events b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-stack-events new file mode 100644 index 00000000..062be5e7 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-describe-stack-events @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-describe-stack-events +# key: cloud-events-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation describe-stack-events --stack-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-ls b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-ls new file mode 100644 index 00000000..599058b8 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-ls @@ -0,0 +1,25 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-ls +# key: cloud-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudformation list-stacks --stack-status-filter ${4:$$(yas-choose-value '( +"CREATE_COMPLETE" +"CREATE_IN_PROGRESS" +"CREATE_FAILED" +"ROLLBACK_IN_PROGRESS" +"ROLLBACK_FAILED" +"ROLLBACK_COMPLETE" +"DELETE_IN_PROGRESS" +"DELETE_FAILED" +"DELETE_COMPLETE" +"UPDATE_IN_PROGRESS" +"UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" +"UPDATE_COMPLETE" +"UPDATE_ROLLBACK_IN_PROGRESS" +"UPDATE_ROLLBACK_FAILED" +"UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" +"UPDATE_ROLLBACK_COMPLETE" +"REVIEW_IN_PROGRESS" +"CREATE_IN_PROGRESS CREATE_FAILED CREATE_COMPLETE ROLLBACK_IN_PROGRESS ROLLBACK_FAILED ROLLBACK_COMPLETE DELETE_IN_PROGRESS DELETE_FAILED UPDATE_IN_PROGRESS UPDATE_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_COMPLETE UPDATE_ROLLBACK_IN_PROGRESS UPDATE_ROLLBACK_FAILED UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_ROLLBACK_COMPLETE REVIEW_IN_PROGRESS" +))} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-validate-template b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-validate-template new file mode 100644 index 00000000..e288e3ef --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudformation-validate-template @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudformation-validate-template +# key: cloud-val-temp +# group: aws +# -- +aws --profile=test --region=us-east-1 cloudformation validate-template --template-body file://${1:`(current-kill 0)`} --output ${2:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudtrail-lookup-events b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudtrail-lookup-events new file mode 100644 index 00000000..e721a36f --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-cloudtrail-lookup-events @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-cloudtrail-lookup-events +# key: cloudtrail-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} cloudtrail lookup-events --max-items ${4:100} --lookup-attributes AttributeKey=${5:$$(yas-choose-value '("ResourceType,AttributeValue=AWS::EC2::Instance" "ResourceName,AttributeValue="))}$6 --output ${7:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-delete-snapshot b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-delete-snapshot new file mode 100644 index 00000000..be6faa84 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-delete-snapshot @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-delete-snapshot (yank) +# key: snap-del +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-snapshot --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-delete-volume b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-delete-volume new file mode 100644 index 00000000..62caa0cf --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-delete-volume @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-delete-volume (yank) +# key: ebs-del +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 delete-volume --volume-id ${4:`(current-kill 0)`} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-instance-attribute b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-instance-attribute new file mode 100644 index 00000000..57696cae --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-instance-attribute @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-describe-instance-attribute (yank) +# key: ec2-attribute +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute ${5:$$(yas-choose-value '("instanceType" "kernel" "ramdisk" "userData" "disableApiTermination" "instanceInitiatedShutdownBehavior" "rootDeviceName" "blockDeviceMapping" "productCodes" "sourceDestCheck" "groupSet" "ebsOptimized" "sriovNetSupport"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-instance-status b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-instance-status new file mode 100644 index 00000000..b52b723b --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-instance-status @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-describe-instance-status (yank) +# key: aws-ec2-describe-instance-status +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-status --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-userdata b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-userdata new file mode 100644 index 00000000..ace7b2d1 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-describe-userdata @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-describe-userdata (yank) +# key: ec2-userdata +# group: aws +# -- +(base64-decode-string (shell-command-to-string "aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instance-attribute --instance-id ${4:`(current-kill 0)`} --attribute userData --query 'UserData.Value' --output text"))$0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-console-output b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-console-output new file mode 100644 index 00000000..597a1bed --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-console-output @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-console-output (yank) +# key: ec2-console +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 get-console-output --output text --instance-id ${4:`(current-kill 0)`} ># $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-dns-names b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-dns-names new file mode 100644 index 00000000..79ac75bf --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-dns-names @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-dns-names +# key: aws-ec2-get-dns-names +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --filters "Name=tag:Name,Values=$4" --query "`(print aws-snippets-ec2-get-dns-names-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instance-details b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instance-details new file mode 100644 index 00000000..4d38a909 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instance-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-instance-details (yank) +# key: ec2-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instance-volumes b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instance-volumes new file mode 100644 index 00000000..ccfd0c81 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instance-volumes @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-instance-volumes +# key: ec2-vol +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query "`(print aws-snippets-ec2-get-instance-volumes-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instances b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instances new file mode 100644 index 00000000..1314c89f --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-instances @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-instances +# key: ec2-ls +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query 'Reservations[].Instances[].[join(\`,\`,Tags[?Key==\`Name\`].Value),join(\`,\`,Tags[?Key==\`Schedule\`].Value),InstanceId, State.Name, PublicDnsName, InstanceType,Placement.AvailabilityZone,LaunchTime]' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroup-details b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroup-details new file mode 100644 index 00000000..ac2f7fca --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroup-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-securitygroup-details (yank) +# key: aws-ec2-get-securitygroup-details +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --group-ids ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroup-references b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroup-references new file mode 100644 index 00000000..17857460 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroup-references @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-securitygroup-references (yank) +# key: aws-ec2-get-securitygroup-references +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-group-references --group-id ${4:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroups b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroups new file mode 100644 index 00000000..b71e0b71 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-securitygroups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-securitygroups +# key: sg-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-security-groups --query "`(print aws-snippets-ec2-get-securitygroups-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-snapshot-details b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-snapshot-details new file mode 100644 index 00000000..1f5dc2af --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-snapshot-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-snapshot-details (yank) +# key: snap-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --snapshot-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-snapshots b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-snapshots new file mode 100644 index 00000000..31c47d81 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-snapshots @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-snapshots +# key: snap-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-snapshots --query '`(print aws-snippets-ec2-get-snapshots-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-volumes b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-volumes new file mode 100644 index 00000000..546f1739 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-volumes @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-volumes +# key: ebs-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-volumes-unused b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-volumes-unused new file mode 100644 index 00000000..65c94338 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-get-volumes-unused @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-volumes-unused +# key: ebs-ls-avail +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --query '`(print aws-snippets-ec2-get-volumes-unused-query)`' --filters Name=status,Values=available --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-instance-running b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-instance-running new file mode 100644 index 00000000..c2ae1028 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-instance-running @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-instance-running +# key: ec2state +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-instances --instance-ids ${4:`(current-kill 0)`} --query "`(print aws-snippets-ec2-instance-running-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-instances b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-instances new file mode 100644 index 00000000..52bb965f --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-instances @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-list-instances +# key: ec2-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-instances --query '`(print aws-snippets-ec2-list-instances-query)`' --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-subnets b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-subnets new file mode 100644 index 00000000..9b99e144 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-subnets @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-list-subnets +# key: sub-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-subnets --query "`(print aws-snippets-ec2-list-subnets-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-vpcs b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-vpcs new file mode 100644 index 00000000..82ebfd89 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-list-vpcs @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-list-vpcs +# key: vpc-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 describe-vpcs --query "`(print aws-snippets-ec2-list-vpcs-query)`" --output ${4:$$(yas-choose-value '("table" "text" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-start-stop-instance b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-start-stop-instance new file mode 100644 index 00000000..e6d415cf --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-start-stop-instance @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-start-stop-instance (yank) +# key: ec2-start +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} ec2 ${4:$$(yas-choose-value '("start-instances" "stop-instances" "reboot-instances"))} --instance-ids ${5:`(current-kill 0)`} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-volume-details b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-volume-details new file mode 100644 index 00000000..0b1461a9 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-ec2-volume-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-ec2-volume-details (yank) +# key: ebs-det +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} ec2 describe-volumes --volume-ids ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-instance-health b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-instance-health new file mode 100644 index 00000000..07fd787f --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-instance-health @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-describe-instance-health (yank) +# key: aws-elb-describe-instance-health +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-instance-health --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-load-balancer b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-load-balancer new file mode 100644 index 00000000..168e4cb5 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-load-balancer @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-describe-load-balancer (yank) +# key: aws-elb-describe-load-balancer +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes new file mode 100644 index 00000000..113ce4e0 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-describe-load-balancer-attributes @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-describe-load-balancer-attributes (yank) +# key: aws-elb-describe-load-balancer-attributes +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancer-attributes --load-balancer-name ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-get-list b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-get-list new file mode 100644 index 00000000..a7c5b3ed --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-get-list @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-elb-get-list +# key: elb-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} elb describe-load-balancers --query "`(print aws-snippets-elb-get-list-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-search b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-search new file mode 100644 index 00000000..3b3f9b97 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-elb-search @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: aws-elb-search +# key: aws-elb-search +# group: aws +# -- +for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do + for BALANCER in \`aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=\${REGION} elb describe-load-balancers --query "reverse(sort_by(LoadBalancerDescriptions, &CreatedTime)[].[LoadBalancerName])" --output text\`; do + aws --profile=$1 --region=\${REGION} elb describe-load-balancers --load-balancer-name \${BALANCER} --output text | awk "{print \\"\${REGION}:\${BALANCER}:\\"\\\$0}" + done +done $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-emr-describe-cluster b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-emr-describe-cluster new file mode 100644 index 00000000..c00cdcbc --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-emr-describe-cluster @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-emr-describe-cluster (yank) +# key: aws-emr-describe-cluster +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr describe-cluster --cluster-id ${3: `(current-kill 0)`} --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-emr-list-clusters b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-emr-list-clusters new file mode 100644 index 00000000..175a66ef --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-emr-list-clusters @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-emr-list-clusters +# key: emr-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} --region=${2:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} emr list-clusters --active --query '`(print aws-snippets-emr-list-clusters-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-filters b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-filters new file mode 100644 index 00000000..6cdaa34c --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-filters @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-filters +# key: awsfil +# group: aws +# -- +--filters "Name=${1:$$(yas-choose-value aws-snippets-filters)},Values=$2" $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-logs-get-groups b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-logs-get-groups new file mode 100644 index 00000000..81fef5d2 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-logs-get-groups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-logs-get-groups +# key: logs-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs describe-log-groups --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-logs-set-retention b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-logs-set-retention new file mode 100644 index 00000000..d071bd3a --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-logs-set-retention @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-logs-set-retention +# key: logs-set-ret +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)}} logs put-retention-policy --log-group-name ${4:`(current-kill 0)`} --retention-in-days ${5:$$(yas-choose-value '( "60" "1" "3" "5" "7" "14" "30" "90" "120" "150" "180" "365" "400" "545" "731" "1827" "3653"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-policy-ls b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-policy-ls new file mode 100644 index 00000000..e4e1c99c --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-policy-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-policy-ls +# key: policy-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} iam list-policies --scope ${5:$$(yas-choose-value '("All" "AWS" "Local"))} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-instance-details b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-instance-details new file mode 100644 index 00000000..adcade0d --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-instance-details @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-db-instance-details (yank) +# key: aws-rds-describe-db-instance-details +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --db-instance-identifier ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-instances b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-instances new file mode 100644 index 00000000..4f75830d --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-instances @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-db-instances +# key: rds-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-instances --query "`(print aws-snippets-rds-describe-instances-query)`" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-parameter-groups b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-parameter-groups new file mode 100644 index 00000000..53033528 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-db-parameter-groups @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-db-parameter-groups +# key: aws-rds-describe-db-parameter-groups +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameter-groups --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-parameters b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-parameters new file mode 100644 index 00000000..48fb633e --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-rds-describe-parameters @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-rds-describe-parameters (yank) +# key: aws-rds-describe-parameters +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} rds describe-db-parameters --db-parameter-group-name ${4:`(current-kill 0)`} --query "Parameters[*][ParameterName, ParameterValue]" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-region-loop b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-region-loop new file mode 100644 index 00000000..4ba9f532 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-region-loop @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: aws-region-loop +# key: aws-region-loop +# group: aws +# -- +for REGION in `(mapconcat 'identity aws-snippets-regions " ")`; do +$0 +done diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-regions b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-regions new file mode 100644 index 00000000..72c28a0c --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-regions @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-regions +# key: awsreg +# group: aws +# -- +--region=${1:$$(yas-choose-value "\$\{REGION\}" aws-snippets-regions)} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-route53-list-hosted-zones b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-route53-list-hosted-zones new file mode 100644 index 00000000..6fbe41ef --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-route53-list-hosted-zones @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-route53-list-hosted-zones +# key: r53-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-hosted-zones --query '`(print aws-snippets-route53-list-hosted-zones-query)`' --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-route53-list-resource-record-sets b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-route53-list-resource-record-sets new file mode 100644 index 00000000..bf70025f --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-route53-list-resource-record-sets @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-route53-list-resource-record-sets (yank) +# key: aws-route53-list-resource-record-sets +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} route53 list-resource-record-sets --hosted-zone-id ${2:`(current-kill 0)`} --query \"ResourceRecordSets[?contains(Name, '$3')]\" --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-sns-ls b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-sns-ls new file mode 100644 index 00000000..3d99d0e9 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-sns-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-sns-ls +# key: sns-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} sns list-topics --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-support-describe b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-support-describe new file mode 100644 index 00000000..d8baaf78 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-support-describe @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-support-describe +# key: support-desc +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-communications --case-id ${4:`(current-kill 0)`} --output ${5:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-support-ls b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-support-ls new file mode 100644 index 00000000..7540de69 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/eshell-mode/aws-support-ls @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: aws-support-ls +# key: support-ls +# group: aws +# -- +aws --profile=${1:$$(yas-choose-value aws-snippets-profiles)} ${2:--region=${3:$$(yas-choose-value aws-snippets-regions)}} support describe-cases --no-include-communications --query "`(print aws-snippets-aws-support-ls-query)`" --output ${4:$$(yas-choose-value '("text" "table" "json"))} $0 \ No newline at end of file diff --git a/elpa/aws-snippets-20180204.522/snippets/shell-mode/.yas-parents b/elpa/aws-snippets-20180204.522/snippets/shell-mode/.yas-parents new file mode 100644 index 00000000..2de397c8 --- /dev/null +++ b/elpa/aws-snippets-20180204.522/snippets/shell-mode/.yas-parents @@ -0,0 +1 @@ +eshell-mode diff --git a/elpa/aws-snippets-readme.txt b/elpa/aws-snippets-readme.txt new file mode 100644 index 00000000..82ef4387 --- /dev/null +++ b/elpa/aws-snippets-readme.txt @@ -0,0 +1 @@ +A collection of yasnippet snippets to be used with AWS CLI