|
1799 | 1799 | "lastModified":{
|
1800 | 1800 | "shape":"Timestamp",
|
1801 | 1801 | "documentation":"<p>The date and time that the <code>ChannelNamespace</code> was last changed.</p>"
|
| 1802 | + }, |
| 1803 | + "handlerConfigs":{ |
| 1804 | + "shape":"HandlerConfigs", |
| 1805 | + "documentation":"<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>" |
1802 | 1806 | }
|
1803 | 1807 | },
|
1804 | 1808 | "documentation":"<p>Describes a channel namespace associated with an <code>Api</code>. The <code>ChannelNamespace</code> contains the definitions for code handlers for the <code>Api</code>.</p>"
|
|
2077 | 2081 | "shape":"Code",
|
2078 | 2082 | "documentation":"<p>The event handler functions that run custom business logic to process published events and subscribe requests.</p>"
|
2079 | 2083 | },
|
2080 |
| - "tags":{"shape":"TagMap"} |
| 2084 | + "tags":{"shape":"TagMap"}, |
| 2085 | + "handlerConfigs":{ |
| 2086 | + "shape":"HandlerConfigs", |
| 2087 | + "documentation":"<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>" |
| 2088 | + } |
2081 | 2089 | }
|
2082 | 2090 | },
|
2083 | 2091 | "CreateChannelNamespaceResponse":{
|
|
3978 | 3986 | "type":"list",
|
3979 | 3987 | "member":{"shape":"GraphqlApi"}
|
3980 | 3988 | },
|
| 3989 | + "HandlerBehavior":{ |
| 3990 | + "type":"string", |
| 3991 | + "enum":[ |
| 3992 | + "CODE", |
| 3993 | + "DIRECT" |
| 3994 | + ] |
| 3995 | + }, |
| 3996 | + "HandlerConfig":{ |
| 3997 | + "type":"structure", |
| 3998 | + "required":[ |
| 3999 | + "behavior", |
| 4000 | + "integration" |
| 4001 | + ], |
| 4002 | + "members":{ |
| 4003 | + "behavior":{ |
| 4004 | + "shape":"HandlerBehavior", |
| 4005 | + "documentation":"<p>The behavior for the handler.</p>" |
| 4006 | + }, |
| 4007 | + "integration":{ |
| 4008 | + "shape":"Integration", |
| 4009 | + "documentation":"<p>The integration data source configuration for the handler.</p>" |
| 4010 | + } |
| 4011 | + }, |
| 4012 | + "documentation":"<p>The configuration for a handler.</p>" |
| 4013 | + }, |
| 4014 | + "HandlerConfigs":{ |
| 4015 | + "type":"structure", |
| 4016 | + "members":{ |
| 4017 | + "onPublish":{ |
| 4018 | + "shape":"HandlerConfig", |
| 4019 | + "documentation":"<p>The configuration for the <code>OnPublish</code> handler.</p>" |
| 4020 | + }, |
| 4021 | + "onSubscribe":{ |
| 4022 | + "shape":"HandlerConfig", |
| 4023 | + "documentation":"<p>The configuration for the <code>OnSubscribe</code> handler.</p>" |
| 4024 | + } |
| 4025 | + }, |
| 4026 | + "documentation":"<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>" |
| 4027 | + }, |
3981 | 4028 | "HttpDataSourceConfig":{
|
3982 | 4029 | "type":"structure",
|
3983 | 4030 | "members":{
|
|
3992 | 4039 | },
|
3993 | 4040 | "documentation":"<p>Describes an HTTP data source configuration.</p>"
|
3994 | 4041 | },
|
| 4042 | + "Integration":{ |
| 4043 | + "type":"structure", |
| 4044 | + "required":["dataSourceName"], |
| 4045 | + "members":{ |
| 4046 | + "dataSourceName":{ |
| 4047 | + "shape":"String", |
| 4048 | + "documentation":"<p>The unique name of the data source that has been configured on the API.</p>" |
| 4049 | + }, |
| 4050 | + "lambdaConfig":{ |
| 4051 | + "shape":"LambdaConfig", |
| 4052 | + "documentation":"<p>The configuration for a Lambda data source.</p>" |
| 4053 | + } |
| 4054 | + }, |
| 4055 | + "documentation":"<p>The integration data source configuration for the handler.</p>" |
| 4056 | + }, |
3995 | 4057 | "InternalFailureException":{
|
3996 | 4058 | "type":"structure",
|
3997 | 4059 | "members":{
|
|
4002 | 4064 | "exception":true,
|
4003 | 4065 | "fault":true
|
4004 | 4066 | },
|
| 4067 | + "InvokeType":{ |
| 4068 | + "type":"string", |
| 4069 | + "enum":[ |
| 4070 | + "REQUEST_RESPONSE", |
| 4071 | + "EVENT" |
| 4072 | + ] |
| 4073 | + }, |
4005 | 4074 | "LambdaAuthorizerConfig":{
|
4006 | 4075 | "type":"structure",
|
4007 | 4076 | "required":["authorizerUri"],
|
|
4021 | 4090 | },
|
4022 | 4091 | "documentation":"<p>A <code>LambdaAuthorizerConfig</code> specifies how to authorize AppSync API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync API can have only one Lambda authorizer configured at a time.</p>"
|
4023 | 4092 | },
|
| 4093 | + "LambdaConfig":{ |
| 4094 | + "type":"structure", |
| 4095 | + "members":{ |
| 4096 | + "invokeType":{ |
| 4097 | + "shape":"InvokeType", |
| 4098 | + "documentation":"<p>The invocation type for a Lambda data source.</p>" |
| 4099 | + } |
| 4100 | + }, |
| 4101 | + "documentation":"<p>The configuration for a Lambda data source.</p>" |
| 4102 | + }, |
4024 | 4103 | "LambdaConflictHandlerConfig":{
|
4025 | 4104 | "type":"structure",
|
4026 | 4105 | "members":{
|
|
5451 | 5530 | "codeHandlers":{
|
5452 | 5531 | "shape":"Code",
|
5453 | 5532 | "documentation":"<p>The event handler functions that run custom business logic to process published events and subscribe requests.</p>"
|
| 5533 | + }, |
| 5534 | + "handlerConfigs":{ |
| 5535 | + "shape":"HandlerConfigs", |
| 5536 | + "documentation":"<p>The configuration for the <code>OnPublish</code> and <code>OnSubscribe</code> handlers.</p>" |
5454 | 5537 | }
|
5455 | 5538 | }
|
5456 | 5539 | },
|
|
0 commit comments