consume via API?

Is it possible to consume this project as a library (call it from other JS/TS code) as opposed to as a CLI tool?  If so are there any docs available?  Thanks!

I tried every imaginable way on AWS Lambda and received errors of attempts to write to disk on a read-only file system. Aws lambda only lets you write to the /tmp directory. Is there a way to adjust this so it can work as an api?

This is an excellent idea.

Okay, I have a BETA for you to play with: https://github.com/generalui/s3p#api
There are a few tweaks I want to make, but it should do most of what you need. Please let me know what you think!

Thanks for this. I did a mini-test.
the command "npx s3p ls --bucket --quiet --api-example" did not work.
Also, the description you have of the output is not in line with the cli.
cli:
npx s3p ls --bucket [--prefix, etc... (optional] is supposed to output
contents of the bucket by default which can be filtered based on
prefix.(This is my favorite one. So I know it like I wrote it lol). see
attached screenshot.
API:
you have the output as listing the buckets. To get this output using the
cli, the command would be..
"npx s3p list-buckets"
If you look at the screenshot, it seems like there is something up with the
how the API is taking the credentials.
I hope this helps.
On Wed, Jul 14, 2021 at 12:47 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

Okay, I have a BETA for you to play with:
https://github.com/generalui/s3p#api
There are a few tweaks I want to make, but it should do most of what you
need. Please let me know what you think!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-880049208, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEHOYXI4TQDMMNDZ4G3TXW5TFANCNFSM42E677HA
.

Below is my unacceptable hack for executing cli commands for web api.
var cp = require('child_process');
cp.exec(npx s3p ls --bucket ${t.bucket} --prefix ${t.prefix}, function(
error, stdout, stderr) {
// handle err, stdout, stderr
console.log("data", t.bucket)
console.log("images", t.prefix)
if (error) {
console.error(error: ${error.message});
res.json({"foo": error});
}
if (stderr) {
console.error(stderr: ${stderr});
res.json({"foo": stderr});
}
console.log(stdout:\n${stdout});
res.json({"foo": stdout});
});
On Wed, Jul 14, 2021 at 1:33 PM jonathan brown @.***> wrote:

Thanks for this. I did a mini-test.
the command "npx s3p ls --bucket --quiet --api-example" did not work.
Also, the description you have of the output is not in line with the cli.
cli:
npx s3p ls --bucket [--prefix, etc... (optional] is supposed to output
contents of the bucket by default which can be filtered based on
prefix.(This is my favorite one. So I know it like I wrote it lol). see
attached screenshot.
API:
you have the output as listing the buckets. To get this output using the
cli, the command would be..
"npx s3p list-buckets"
If you look at the screenshot, it seems like there is something up with
the how the API is taking the credentials.
I hope this helps.
On Wed, Jul 14, 2021 at 12:47 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

Okay, I have a BETA for you to play with:
https://github.com/generalui/s3p#api
There are a few tweaks I want to make, but it should do most of what you
need. Please let me know what you think!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-880049208, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEHOYXI4TQDMMNDZ4G3TXW5TFANCNFSM42E677HA
.

the command "npx s3p ls --bucket --quiet --api-example" did not work.

This is a beta (v3), so it's not up on NPM yet. You need to npm install it into your project as per the instructions in the README.

ah, I see.
The corresponding commands for the cli work for the API:
npx s3p list-buckets
npx s3p summarize --bucket
npx s3p ls --bucket --prefix(this works but differently. cli returns list
of strings of keys. API returns list of jsons of keys)
The corresponding commands for the cli DONT work for the API:
npx s3p cp --bucket --to-folder( --to-bucket) Error: Unhandled rejection
This is what I have tested so far.
Thanks
On Wed, Jul 14, 2021 at 5:19 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

the command "npx s3p ls --bucket --quiet --api-example" did not work.
This is a beta (v3), so it's not up on NPM yet. You need to npm install it
into your project as per the instructions in the README.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-880217441, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEBUP44LXWEJAPZXYADTXX5OLANCNFSM42E677HA
.

Thanks for testing, @brown2021. Can you give me details? What command did you run? Can you give me a full copy of the error output?
I just tested both --to-bucket and --to-folder locally and they worked in my environment. I ran:
require('s3p').cp({
   bucket: "xxx",
   prefix: "yyy",
   toBucket: "zzz"
})

@brown2021 - question: What would you like to see from the ls method?
I wanted to provide the most detailed data - which is the raw output from listObjects, but perhaps the default should be an array of item names? If so, I'd probably add a --raw option to enable the detailed, raw result.

I think this is a great idea. the item names make it easy to grab whatever
item from the bucket in the workflow without having to parse.  the --raw
idea is perfect because we don't have to exclude data if we don't want to.
On Fri, Jul 16, 2021 at 12:28 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

@brown2021 https://github.com/brown2021 - question: What would you like
to see from the ls method?
I wanted to provide the most detailed data - which is the raw output from
listObjects, but perhaps the default should be an array of item names? If
so, I'd probably add a --raw option to enable the detailed, raw result.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-881571104, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEAKPHJZG3RBMLIKCTLTYBM23ANCNFSM42E677HA
.

The script is working now. It works locally.  When i execute it from
lambda, it executes successfully with no errors but no data is copied to
the bucket.  Maybe you are internally handling the errors that allow the
API execution to complete?
So the update is that it works in a local environment.  It may be something
on AWS not letting it through.
On Fri, Jul 16, 2021 at 12:09 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

Thanks for testing, @brown2021 https://github.com/brown2021. Can you
give me details? What command did you run? Can you give me a full copy of
the error output?
I just tested both --to-bucket and --to-folder locally and they worked in
my environment. I ran:
require('s3p').cp({
bucket: "xxx",
prefix: "yyy",
toBucket: "zzz"})
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-881559162, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEC2AA2RLB6CMTWQJ6DTYBKS7ANCNFSM42E677HA
.

You should get a list of individual items that failed to copy as part of the results. I was thinking some "on-" event handlers would be a nice future addition: "onError", "onCopy", "onFiltered" etc...
If you add "quiet: false" to your params, you should see details in the cloudwatch logs for your lamba.

Thanks for the tip! I didnt see any errors from cloudwatch. But running the
following doesn't work. So if I want to store the images with a different
prefix,
it doesn't seem to appear.
require('s3p').cp({

bucket: "src",
prefix: "images",
toBucket: "target",
toPrefix:"test",
quiet: false
});
On Fri, Jul 16, 2021 at 6:28 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

You should get a list of individual items that failed to copy as part of
the results. I was thinking some "on-" event handlers would be a nice
future addition: "onError", "onCopy", "onFiltered" etc...
If you add "quiet: false" to your params, you should see details in the
cloudwatch logs for your lamba.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-881751201, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEAZEHETR465FCWNLBLTYCW77ANCNFSM42E677HA
.

Hi Shane. Can you confirm that one cannot copy files from local directory
to s3 bucket as in the aws cli?
On Sun, Jul 18, 2021 at 3:19 AM jonathan brown @.***> wrote:

Thanks for the tip! I didnt see any errors from cloudwatch. But running
the following doesn't work. So if I want to store the images with a
different prefix,
it doesn't seem to appear.
require('s3p').cp({

bucket: "src",
prefix: "images",
toBucket: "target",
toPrefix:"test",
quiet: false
});
On Fri, Jul 16, 2021 at 6:28 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

You should get a list of individual items that failed to copy as part of
the results. I was thinking some "on-" event handlers would be a nice
future addition: "onError", "onCopy", "onFiltered" etc...
If you add "quiet: false" to your params, you should see details in the
cloudwatch logs for your lamba.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-881751201, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEAZEHETR465FCWNLBLTYCW77ANCNFSM42E677HA
.

You should definitely be able to copy from one prefix and replace it with another prefix in the target. Your command looks correct. I assume you tested it with the s3p cli locally and it worked?
I've never run S3P inside Lambda. I'm guessing there is some permissions issue happening, but I'm shooting in the dark what it could be.

Thanks for the tip! I didnt see any errors from cloudwatch. But running the following doesn't work. So if I want to store the images with a different prefix, it doesn't seem to appear. require('s3p').cp({ bucket: "src", prefix: "images", toBucket: "target", toPrefix:"test", quiet: false });
…
On Fri, Jul 16, 2021 at 6:28 PM Shane Brinkman-Davis Delamore < @.***> wrote: You should get a list of individual items that failed to copy as part of the results. I was thinking some "on-" event handlers would be a nice future addition: "onError", "onCopy", "onFiltered" etc... If you add "quiet: false" to your params, you should see details in the cloudwatch logs for your lamba. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#28 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASY4UEAZEHETR465FCWNLBLTYCW77ANCNFSM42E677HA .

I ran it locally, it didnt work. This line of code fails for local to s3
npx s3p cp --folder ./images --to-bucket img-lecole
On Tue, Jul 20, 2021 at 5:01 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

You should definitely be able to copy from one prefix and replace it with
another prefix in the target. Your command looks correct. I assume you
tested it with the s3p cli locally and it worked?
I've never run S3P inside Lambda. I'm guessing there is some permissions
issue happening, but I'm shooting in the dark what it could be.
Thanks for the tip! I didnt see any errors from cloudwatch. But running
the following doesn't work. So if I want to store the images with a
different prefix, it doesn't seem to appear. require('s3p').cp({ bucket:
"src", prefix: "images", toBucket: "target", toPrefix:"test", quiet: false
});
… <#m_-1804030938973151778_>
On Fri, Jul 16, 2021 at 6:28 PM Shane Brinkman-Davis Delamore < @.***>
wrote: You should get a list of individual items that failed to copy as
part of the results. I was thinking some "on-" event handlers would be a
nice future addition: "onError", "onCopy", "onFiltered" etc... If you add
"quiet: false" to your params, you should see details in the cloudwatch
logs for your lamba. — You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#28 (comment)
https://github.com/generalui/s3p/issues/28#issuecomment-881751201>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEAZEHETR465FCWNLBLTYCW77ANCNFSM42E677HA
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-883705390, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEEXVM3HTAVZC35J4FDTYXP2ZANCNFSM42E677HA
.

Sorry, i forgot to paste in the error below...
S3.list-error:
bucket:     undefined
prefix:     undefined
startAfter: ""
limit:      1000
error:      Error:
class: class Error

stack:

  MissingRequiredParameter: Missing required key 'Bucket' in params

      at ParamValidator.fail

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:50:37)
      at ParamValidator.validateStructure

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:61:14)
      at ParamValidator.validateMember

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:88:21)
      at ParamValidator.validate

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:34:10)
      at Request.VALIDATE_PARAMETERS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:132:42)
      at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
      at callNextListener

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:86:9
      at finish

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:386:7)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:404:9
      at SharedIniFileCredentials.get

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/credentials.js:127:7)
      at getAsyncCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:398:24)
      at Config.getCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:418:9)
      at Request.VALIDATE_CREDENTIALS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:81:26)
      at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:102:18)
      at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
      at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:688:14)
      at Request.transition

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at Request.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:408:15)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:797:12
      at Promise._execute

(/Users/engineer/Desktop/node_modules/bluebird/js/release/debuggability.js:384:9)
S3.list-error:
bucket:     undefined
prefix:     undefined
startAfter: :O
limit:      1000
error:      Error:
class: class Error

stack:

  MissingRequiredParameter: Missing required key 'Bucket' in params

      at ParamValidator.fail

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:50:37)
      at ParamValidator.validateStructure

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:61:14)
      at ParamValidator.validateMember

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:88:21)
      at ParamValidator.validate

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:34:10)
      at Request.VALIDATE_PARAMETERS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:132:42)
      at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
      at callNextListener

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:86:9
      at finish

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:386:7)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:404:9
      at SharedIniFileCredentials.get

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/credentials.js:127:7)
      at getAsyncCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:398:24)
      at Config.getCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:418:9)
      at Request.VALIDATE_CREDENTIALS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:81:26)
      at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:102:18)
      at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
      at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:688:14)
      at Request.transition

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at Request.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:408:15)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:797:12
      at Promise._execute

(/Users/engineer/Desktop/node_modules/bluebird/js/release/debuggability.js:384:9)
eachRecursive:
startAfter: ""
stopAt:
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
usePrefixBisect: false
error:           Error:
class: class Error

stack:

  MissingRequiredParameter: Missing required key 'Bucket' in params

      at ParamValidator.fail

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:50:37)
      at ParamValidator.validateStructure

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:61:14)
      at ParamValidator.validateMember

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:88:21)
      at ParamValidator.validate

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:34:10)
      at Request.VALIDATE_PARAMETERS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:132:42)
      at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
      at callNextListener

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:86:9
      at finish

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:386:7)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:404:9
      at SharedIniFileCredentials.get

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/credentials.js:127:7)
      at getAsyncCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:398:24)
      at Config.getCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:418:9)
      at Request.VALIDATE_CREDENTIALS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:81:26)
      at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:102:18)
      at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
      at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:688:14)
      at Request.transition

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at Request.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:408:15)
      at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:797:12
      at Promise._execute

(/Users/engineer/Desktop/node_modules/bluebird/js/release/debuggability.js:384:9)
Unhandled rejection MissingRequiredParameter: Missing required key 'Bucket'
in params
at ParamValidator.fail

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:50:37)
at ParamValidator.validateStructure

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:61:14)
at ParamValidator.validateMember

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:88:21)
at ParamValidator.validate

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/param_validator.js:34:10)
at Request.VALIDATE_PARAMETERS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:132:42)
at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at callNextListener

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
at

/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:86:9
at finish

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:386:7)
at /Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:404:9

at SharedIniFileCredentials.get

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/credentials.js:127:7)
at getAsyncCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:398:24)
at Config.getCredentials

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/config.js:418:9)
at Request.VALIDATE_CREDENTIALS

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/event_listeners.js:81:26)
at Request.callListeners

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:102:18)
at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/state_machine.js:14:12)
at Request.runTo

(/Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:408:15)
at /Users/engineer/Desktop/node_modules/aws-sdk/lib/request.js:797:12

at Promise._execute

(/Users/engineer/Desktop/node_modules/bluebird/js/release/debuggability.js:384:9)
On Tue, Jul 20, 2021 at 8:21 PM jonathan brown @.***> wrote:

I ran it locally, it didnt work. This line of code fails for local to s3
npx s3p cp --folder ./images --to-bucket img-lecole
On Tue, Jul 20, 2021 at 5:01 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

You should definitely be able to copy from one prefix and replace it with
another prefix in the target. Your command looks correct. I assume you
tested it with the s3p cli locally and it worked?
I've never run S3P inside Lambda. I'm guessing there is some permissions
issue happening, but I'm shooting in the dark what it could be.
Thanks for the tip! I didnt see any errors from cloudwatch. But running
the following doesn't work. So if I want to store the images with a
different prefix, it doesn't seem to appear. require('s3p').cp({ bucket:
"src", prefix: "images", toBucket: "target", toPrefix:"test", quiet: false
});
… <#m_-3985731985766775973_m_-1804030938973151778_>
On Fri, Jul 16, 2021 at 6:28 PM Shane Brinkman-Davis Delamore < @.***>
wrote: You should get a list of individual items that failed to copy as
part of the results. I was thinking some "on-" event handlers would be a
nice future addition: "onError", "onCopy", "onFiltered" etc... If you add
"quiet: false" to your params, you should see details in the cloudwatch
logs for your lamba. — You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#28 (comment)
https://github.com/generalui/s3p/issues/28#issuecomment-881751201>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEAZEHETR465FCWNLBLTYCW77ANCNFSM42E677HA
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-883705390, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEEXVM3HTAVZC35J4FDTYXP2ZANCNFSM42E677HA
.

It's perhaps not the nicest error, but did you include the {bucket: "my-bucket"} parameter?

I released version 3 today with the new API functionality. I tweaked it slightly; I decided to make it match the CLI outputs as closely as possible. Quiet is false by default, and LS outputs keys only by default.

sweet. I will test
On Fri, Jul 23, 2021 at 7:37 PM Shane Brinkman-Davis Delamore <
@.***> wrote:

I released version 3 today with the new API functionality. I tweaked it
slightly; I decided to make it match the CLI outputs as closely as
possible. Quiet is false by default, and LS outputs keys only by default.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generalui/s3p/issues/28#issuecomment-885962531, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASY4UEEMVYTZYEAKJOSVNVLTZH4LLANCNFSM42E677HA
.


The input image is only source image and ground truth?

Hi:
I wonder what the input image is and can I apply AC loss individually without Dice loss.
Can I apply AC loss in 3D neural network ,such as 3D UNet
best wishes

Hi, in my understanding, the answer is yes, you can find a PyTorch implementation of 3D AC loss for a 3D network training from our lab Github, two or three days later.

@Luoxd1996 Thanks, waiting for your update.

Hi, Andy Chow,
Now the code is available at https://github.com/Luoxd1996/ACELoss, If
you have any questions, please let me know.
Xiangde Luo.
Andy Chow<EMAIL_ADDRESS>于2020年11月1日周日 下午9:18写道：

@Luoxd1996 https://github.com/Luoxd1996 Thanks, waiting for your update.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xuuuuuuchen/Active-Contour-Loss/issues/14#issuecomment-720086836,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEV7K52SRG47OAQPR7PATH3SNVN3DANCNFSM4RSB7OKQ
.

@Luoxd1996  ,Thanks very much .I wonder if you have 3D version for AC loss.I want use it in 3D Unet .I try to add a dimension，but it does not work.

Hi, huangsusan;
Yes, I have implemented a 3D version of AC Loss based on the Sobel filter, you can use it for model training directly. If you have any questions, please let me know.
Best wish,
Xiangde Luo.

@Luoxd1996 Thanks very much. I will try.

Hi, Andy Chow, Now the code is available at https://github.com/Luoxd1996/ACELoss, If you have any questions, please let me know. Xiangde Luo. Andy Chow<EMAIL_ADDRESS>于2020年11月1日周日 下午9:18写道：
…
@Luoxd1996 https://github.com/Luoxd1996 Thanks, waiting for your update. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#14 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEV7K52SRG47OAQPR7PATH3SNVN3DANCNFSM4RSB7OKQ .

Thanks, by the way, where to download the paper "Learning Euler's Elastica Model for Medical Image Segmentation", I have tried to use the URL https://arxiv.org/submit/3446612/view that not available.
Can you share it somewhere?

Hi, Any Chow,
I have submitted the manuscript to Arxiv, and it will be checked by Arxiv
and released tomorrow. If you want to read it today, you can contact my
private email.
Best wish,
Xiangde Luo.
Andy Chow<EMAIL_ADDRESS>于2020年11月2日周一 下午4:48写道：

Hi, Andy Chow, Now the code is available at
https://github.com/Luoxd1996/ACELoss, If you have any questions, please
let me know. Xiangde Luo. Andy Chow<EMAIL_ADDRESS>于2020年11月1日周日 下午9:18写道：
… <#m_8049595745776831882_>
@Luoxd1996 https://github.com/Luoxd1996 https://github.com/Luoxd1996
Thanks, waiting for your update. — You are receiving this because you were
mentioned. Reply to this email directly, view it on GitHub <#14 (comment)
https://github.com/xuuuuuuchen/Active-Contour-Loss/issues/14#issuecomment-720086836>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEV7K52SRG47OAQPR7PATH3SNVN3DANCNFSM4RSB7OKQ
.
Thanks, by the way, where to download the paper "Learning Euler's Elastica
Model for Medical Image Segmentation", I have tried to use the URL
https://arxiv.org/submit/3446612/view that not available.
Can you share it somewhere?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xuuuuuuchen/Active-Contour-Loss/issues/14#issuecomment-720330078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEV7K57XYMR2CY4C7ILG6WTSNZW7TANCNFSM4RSB7OKQ
.


what min_depth and max_depth values to use for relative depth

Hi,
In the dist_train.sh file for training , what min_depth and max_depth values should I use ? I'm training the model of my own custom dataset that has 8-bit relative depth maps.
the default values are
min_depth=0.001
max_depth=20
should I keep them ?
Thanks

Hi,
i am trying to train my model of my own custom dataset but i didnt manage to run  dist_train.sh
how can i contact with  you ?
can u help me please .

Ok here's my discord: xarda5

@LiheYoung I've been trying to modify the code for that but to no avail. Since I need to work with relative depth maps, could you recommend a good model for that? I actually don't need metric depth at all—my focus is solely on relative depth maps. Thank you


Clicking outside "All checks have passed" works on chrome but not on safari

Description
Clicking outside the pop-up doesn't make the pop-up close on safari, works on chrome though

How to replicate the issue + URL

Go to https://github.com/refined-github/refined-github

Click on the checkmark of the "All checks have passed popup"

Then try clicking outside it to close it

Extension version
24.1.10
Browser(s) used
Safari

There is no 24.1.10 on Safari. The feature hasn't been released there yet


add uniqueID to all entities and save using actorstorage

implementing https://learn.microsoft.com/en-us/minecraft/creator/documents/actorstorage
this is how the game stores entities so now entities saved from dragonfly show up when the world is loaded in single player
and entities in worlds from singleplayer show up in dragonfly.
also checks for the old keyEntities based entity data for loading older worlds, i couldnt test that since i dont have an older world but it should work.

Hi! First of all, thank you for the PR! It is very much appreciated.
Unfortunately, however, we are trying to make some changes to entities to reduce the amount of boilerplate code. As you were probably able to tell with this PR, you had to add the unique ID to every one of the entities individually, which is far from ideal. I'm hoping to come up with a system for entities where we can share more code so that this isn't necessary, but doing so isn't very easy hence the lack of progress.
For now, I'm going to keep this open. I would like to merge it at some point, but ideally once we can get entities themselves to a bit of a better point.

ok that sounds good

I have incorporated your changes into https://github.com/df-mc/dragonfly/pull/942 so this is not part of the codebase. Thank you for the PR!


implementationFactory for Open Generics

I am looking to use a Factory to create the generic object. I want the generic object type passed on to the implementation factory so that I can create the object based on the generic type.
services.AddTransient(typeof(ServiceDocument<>),
    // I need to get the closed generic type here so that the corresponding object is created, i.e., ServiceDocument<Employee>
    p => new ServiceDocument<Employee>()
);

As you see in the above code, in the implementationFactory function, I want to create the object based on the generic type, for example:
- For ServiceDocument<Employee>, I need to create the ServiceDocument<Employee>
- For ServiceDocument<Department>, I have to create the ServiceDocument<Department> object

Is there a way the DI can pass in the object type to this factory function?

There's no way to access this today. Is there any way you can avoid using a factory?

I can do a workaround with constructor.
I recommend enhancing the factory to support this functionality. I see this is a good feature.

@prasannapattam The biggest problem is understanding of other containers can flow this context to their factory implementations.

I can see this is a problem on making this work for other containers.
Is it possible to create an overload which works for the default DI. Something like
Func<IServiceProvider, Type, object> implementationFactory

I think I've asked for this before (but maybe not filed and issue) in order to support decoration of open generics, so consider this my :+1:

@khellang @prasannapattam

I think I've asked for this before (but maybe not filed and issue) in order to support decoration of open generics, so consider this my 👍

Are you willing to do the research to see if all existing container adapters support this?

I really don't see how this can be supported without doing MakeGenericType somewhere in the factory implementation. That would not be all that efficient

Closing because we are not planning on adding this feature to the default DI container.


Cloned dungeons randomly lose all images/links.

When cloning a dungeon, the images and links from the original dungeon are left intact. However, when editing the cloned dungeon in some way, those images/links will randomly disappear (for some reason, it's being overwritten with an empty array/object?)

No reports of this occurring. Closing for now.


Implement QFT adder

[X] I have added the tests to cover my changes.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.

Summary
Added modular and non-modular QFT adder implementations as given in the following two papers: https://arxiv.org/pdf/quant-ph/0008033.pdf and https://arxiv.org/pdf/1411.5949.pdf.
Details and comments
Part of Qiskit Advocate Mentorship program.

@Cryoris, @ManjulaGandhi, just tagging you here in the comments, since I can't add you as reviewers. I added the initial implementation of QFT adder with corresponding tests, was hoping that you could spend some time to review the code :)


tracing: remove the "Cardano.Node" namespace prefix from all traces.

This will need https://github.com/input-output-hk/cardano-node/issues/3988 to accomodate the user impact.


Mocked response is not returned from a request issued by axios

Here's a debugging log when performing a request via axios:
$ jest test/response/axios.test.ts
  interceptor created new instance +0ms
  http:override patching "http" module +0ms
  http:override patching "https" module +1ms
  XHR patching "XMLHttpRequest" module +0ms
  interceptor use +1ms
  XHR open { method: 'GET',
  url: '/user',
  async: true,
  user: undefined,
  password: undefined } +0ms
  XHR reset +1ms
  XHR set request header Accept application/json, text/plain, */* +25ms
  XHR send GET /user +0ms
  XHR awaiting mocked response... +1ms
  interceptor applyMiddleware { url: URL {},
  method: 'GET',
  body: '',
  headers: { Accept: 'application/json, text/plain, */*' } } +29ms
  XHR recieved mocked response { status: 301,
  headers: { 'content-type': 'application/json', 'x-header': 'yes' },
  body: '{"mocked":true}' } +8ms
  XHR trigger loadstart +1ms
  XHR trigger load +0ms

After triggering the load event it freezes, resulting into test timeout.

Inspecting axios/lib/adapters/xhr.js I can see that the issued request never goes out of the readtState: 3 (LOADING).


Shut down server cant disconnect sql correctly

Description
when i shut down the server,luckperm will stll use hakari  to connect mysql,it cant not disconnect sql correctly.Please add a new function to detect if the server is shut down, if so, stop trying to connect to mysql
Reproduction Steps
This problem sometimes occurs when the server is stopped
Expected Behaviour
This problem sometimes occurs when the server is stopped
Server Details
MC: 1.12.2
LuckPerms Version
v5.3.27
Logs and Configs
[06:05:49] [luckperms-scheduler-worker-380/WARN]: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 14779ms.
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:696)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:197)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:162)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.lib.hikari.HikariDataSource.getConnection(HikariDataSource.java:100)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.common.storage.implementation.sql.connection.hikari.HikariConnectionFactory.getConnection(HikariConnectionFactory.java:174)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.common.messaging.sql.SqlMessenger.getConnection(SqlMessenger.java:85)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.common.messaging.sql.AbstractSqlMessenger.pollMessages(AbstractSqlMessenger.java:115)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler$ErrorReportingRunnable.run(AbstractJavaScheduler.java:124)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[06:05:49] [luckperms-scheduler-worker-380/WARN]: 	at java.lang.Thread.run(Thread.java:748)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: java.sql.SQLTransientConnectionException: luckperms-hikari - Connection is not available, request timed out after 14779ms.
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:696)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:197)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariPool.getConnection(HikariPool.java:162)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.lib.hikari.HikariDataSource.getConnection(HikariDataSource.java:100)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.common.storage.implementation.sql.connection.hikari.HikariConnectionFactory.getConnection(HikariConnectionFactory.java:174)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.common.messaging.sql.SqlMessenger.getConnection(SqlMessenger.java:85)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.common.messaging.sql.AbstractSqlMessenger.pollMessages(AbstractSqlMessenger.java:115)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler$ErrorReportingRunnable.run(AbstractJavaScheduler.java:124)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[06:05:49] [luckperms-scheduler-worker-391/WARN]: 	at java.lang.Thread.run(Thread.java:748)
Extra Details
No response

LuckPerms needs to be able to access the database at all times whilst it is running. It is expected that issues will occur if the database is unavailable.


IcFooter cypress

complete cypress IcFooter E2e, Accessibility and  visual regression test also remove old a11y and screenshot test.

Summary of the changes
Tell us, in a few words, what the changes are.
Related issue
Tell us the issue number. If suggesting an improvement or component, please discuss it with us in an issue first.
Checklist

[ ] Relevant unit tests and visual regression tests added.
[ ] Visual testing against Figma component specification completed.
[ ] All acceptance criteria reviewed and met.
[ ] Accessibility Insights FastPass performed.
[ ] A11y unit test added and yields no issues.
[ ] A11y plug-in on Storybook yields no issues.
[ ] Manual screen reader testing performed using NVDA and VoiceOver.
[ ] Page can be zoomed to 400% with no loss of content.
[ ] Screen magnifier used with no issues.
[ ] Text resized to 200% with no loss of content.
[ ] Text spacing increased as per the WCAG 1.4.12 success criterion with no loss of content.
[ ] Browser setting 'prefers reduced motion' tested. No animations or motion visible whilst this setting is on.
[ ] Windows High Contrast mode tested with no loss of content.
[ ] System light and dark mode tested with no loss of content.
[ ] Manual keyboard testing for keyboard controls and logical focus order.
[ ] Min/max content examples tested with no loss of content or overflow.
[ ] Browser support tested (Chrome, Safari, Firefox and Edge).
[ ] Correct roles used and ARIA attributes used correctly where required.
[ ] Logical heading structure is maintained, and the HTML elements used for headings can be changed to fit within the wider page structure.
[ ] All prop combinations work without issue.
[ ] Changes to docs package checked and committed.
[ ] Tested for FOUC (Flash of Unstyled Content) in both SSR (Server-Side Rendering) and SSG (Static Site Generation) settings.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please could you add a visual/a11y test for when no description is provided? You'll need to rebase off develop first so that the screenshot reflects the recent changes


EDTF support - level 0, 1 and parts of level 2

https://www.loc.gov/standards/datetime/
undate supports the date portions of the spec only, not time

[ ] write a code notebook in examples folder and demonstrate support for this; check off items as they are included

[x] Level 0

[x] Date

[x] complete representation: [year][“-”][month][“-”][day]; 1985-04-12’ refers to the calendar date 1985 April 12th with day precision
[x] reduced precision for year and month:   [year][“-”][month]; ‘1985-04’ refers to the calendar month 1985 April with month precision
[x] reduced precision for year:  [year]; ‘1985’ refers to the calendar year 1985 with year precision.

[x] Time Interval (e.g. 1964/2008, 2004-06/2006-08, 2004-02-01/2005-02-08, 2004-02-01/2005-02)

[ ] Level 1

[x] Letter-prefixed calendar year: Y' may be used at the beginning of the date string to signify that the date is a year, when (and only when) the year exceeds four digits, e.g. `Y170000002' is the year 170000002
[ ] Seasons: values 21, 22, 23, 24 may be used used to signify ' Spring', 'Summer', 'Autumn', 'Winter', respectively, in place of a month value (01 through 12) for a year-and-month format string; 2001-21  =  Spring, 2001
[ ] Qualification of a date (complete) - characters '?', '~' and '%' are used to mean "uncertain", "approximate", and "uncertain" as well as "approximate"; only at end of string
[x] Unspecified digit(s) from the right  -  character 'X' may be used in place of one or more rightmost digits to indicate that the value of that digit is unspecified
[ ] Extended Interval (L1)

[ ] null string for unknown start or end date
[ ] ".." for either start or end date not specified (none or other reasons)
[ ] modifier at the end of the date to indicate uncertain and/or approximate

[x] negative calendar year, e.g. -1985

[ ] Level 2

[ ] Exponential year, e.g. ‘Y-17E7’
[ ] Significant digits - year (expressed in any of the three allowable forms: four-digit, 'Y' prefix, or exponential) may be followed by 'S', followed by a positive integer indicating the number of significant digits.
[ ] Sub-year groupings (extends Level 1 season)
[ ] Set representation

[ ] one of a set
[ ] all members of a set

[ ] Qualification (uncertain, approximate, both)

[ ] group qualification
[ ] individual component

[x] Unspecified digit - may occur anywhere
[ ] Interval - portions of dates may be approximate, uncertain, unspecified

Why reimplement everything from scratch here instead of using https://github.com/ixc/python-edtf?

@rettinghaus thanks for the question. Our underlying data model is different and the goals are different (e.g., supporting different calendars). Also, writing EDTF parsing code based on some of the other parsers out there in various programming languages was a helpful way for me to get more familiar with writing parsers before diving into other formats and calendars.
That said, we should definitely add a link in the readme to python-edtf and clarify where the projects overlap and how they are different.


Confusion regarding additional permissions granted to lambda: API category

Which Category is your question related to?
amplify-category-function
What AWS Services are you utilizing?
Lambda to add execution calling graphql API
Provide additional details
When adding additional permissions to lambda to call Graphql API, it is confusing that operation create actually is what adds appsync:GraphQL action to execution policy statement. I messed it up originally specifying read, since all I needed is to execute queries and not mutations in my lambda but it has no relation to the question asked, since the question actually asks about what to allow in manipulating appsynch itself.
? Please select the Lambda Function you would want to update lambdarelay
? Do you want to update permissions granted to this Lambda function to perform on other resources in your project? Yes
? Select the category api
Api category has a resource called coreapi
? Select the operations you want to permit for coreapi
 ◯ create
❯◉ read
 ◯ update
 ◯ delete

Specifically at:
https://github.com/aws-amplify/amplify-cli/blob/46bcab20e2a9cebb6b68f2b3298f88cf9dd49e47/packages/amplify-category-api/provider-utils/awscloudformation/service-walkthroughs/appSync-walkthrough.js#L630-L679
It might make sense to rename those, given that these permissions mainly allow to manipulate appsync function/resolvers/etc themselves. awsappsync-resources-for-iam-policies

@ambientlight Are you looking at giving crud operations on the GrpahqlAPI to a function?

@SwaySway: everything works for me as expected I have 'appsync:GraphQL in execution policy, just the confusing part is that in 'appsync:GraphQL' action is under create operation in CLI selector

@ambientlight Yes, we have this behavior currently, but we're looking to scope these policies down based on the GraphQL API type - or at the least based on Mutations/Queries/Subscriptions.

Just ran into this as well. Just needed to be able to read, but found I also needed to enable create. I would expect any of the CRUD permissions to add appsync:GraphQL.


Fix use of wrong unit package in some OpenMM tests

Description
Tests have been failing for a month or so. I didn't look at all logs, but last night's include some failures as a result of using OpenMM units where "OpenFF" units should be used. This PR fixes the failing tests locally.
Note that the linting check will fail because of upstream changes in black. These change are incorporated into #423.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[x] Ready to go

Nevermind, this won't work until #413 is complete