# aws\_publish

Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws\_susbscribe directive instead.

```
directive @aws_publish(

  subscriptions: [String]

) on FIELD_DEFINITION
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`aws_publish.subscriptions`](#subscriptions) ● [`[String]`](https://docs.monei.com/apis/graphql/types/scalars/string/.md) list scalar[​](#subscriptions "Direct link to subscriptions")

List of subscriptions which will be published to when this mutation is called.
