connectcampaigns-2021-01-30.min.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2021-01-30",
  5. "endpointPrefix": "connect-campaigns",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "protocols": [
  9. "rest-json"
  10. ],
  11. "serviceFullName": "AmazonConnectCampaignService",
  12. "serviceId": "ConnectCampaigns",
  13. "signatureVersion": "v4",
  14. "signingName": "connect-campaigns",
  15. "uid": "connectcampaigns-2021-01-30"
  16. },
  17. "operations": {
  18. "CreateCampaign": {
  19. "http": {
  20. "method": "PUT",
  21. "requestUri": "/campaigns",
  22. "responseCode": 200
  23. },
  24. "input": {
  25. "type": "structure",
  26. "required": [
  27. "name",
  28. "connectInstanceId",
  29. "dialerConfig",
  30. "outboundCallConfig"
  31. ],
  32. "members": {
  33. "name": {},
  34. "connectInstanceId": {},
  35. "dialerConfig": {
  36. "shape": "S4"
  37. },
  38. "outboundCallConfig": {
  39. "shape": "Sa"
  40. },
  41. "tags": {
  42. "shape": "Sg"
  43. }
  44. }
  45. },
  46. "output": {
  47. "type": "structure",
  48. "members": {
  49. "id": {},
  50. "arn": {},
  51. "tags": {
  52. "shape": "Sg"
  53. }
  54. }
  55. },
  56. "idempotent": true
  57. },
  58. "DeleteCampaign": {
  59. "http": {
  60. "method": "DELETE",
  61. "requestUri": "/campaigns/{id}",
  62. "responseCode": 200
  63. },
  64. "input": {
  65. "type": "structure",
  66. "required": [
  67. "id"
  68. ],
  69. "members": {
  70. "id": {
  71. "location": "uri",
  72. "locationName": "id"
  73. }
  74. }
  75. },
  76. "idempotent": true
  77. },
  78. "DeleteConnectInstanceConfig": {
  79. "http": {
  80. "method": "DELETE",
  81. "requestUri": "/connect-instance/{connectInstanceId}/config",
  82. "responseCode": 200
  83. },
  84. "input": {
  85. "type": "structure",
  86. "required": [
  87. "connectInstanceId"
  88. ],
  89. "members": {
  90. "connectInstanceId": {
  91. "location": "uri",
  92. "locationName": "connectInstanceId"
  93. }
  94. }
  95. },
  96. "idempotent": true
  97. },
  98. "DeleteInstanceOnboardingJob": {
  99. "http": {
  100. "method": "DELETE",
  101. "requestUri": "/connect-instance/{connectInstanceId}/onboarding",
  102. "responseCode": 200
  103. },
  104. "input": {
  105. "type": "structure",
  106. "required": [
  107. "connectInstanceId"
  108. ],
  109. "members": {
  110. "connectInstanceId": {
  111. "location": "uri",
  112. "locationName": "connectInstanceId"
  113. }
  114. }
  115. },
  116. "idempotent": true
  117. },
  118. "DescribeCampaign": {
  119. "http": {
  120. "method": "GET",
  121. "requestUri": "/campaigns/{id}",
  122. "responseCode": 200
  123. },
  124. "input": {
  125. "type": "structure",
  126. "required": [
  127. "id"
  128. ],
  129. "members": {
  130. "id": {
  131. "location": "uri",
  132. "locationName": "id"
  133. }
  134. }
  135. },
  136. "output": {
  137. "type": "structure",
  138. "members": {
  139. "campaign": {
  140. "type": "structure",
  141. "required": [
  142. "id",
  143. "arn",
  144. "name",
  145. "connectInstanceId",
  146. "dialerConfig",
  147. "outboundCallConfig"
  148. ],
  149. "members": {
  150. "id": {},
  151. "arn": {},
  152. "name": {},
  153. "connectInstanceId": {},
  154. "dialerConfig": {
  155. "shape": "S4"
  156. },
  157. "outboundCallConfig": {
  158. "shape": "Sa"
  159. },
  160. "tags": {
  161. "shape": "Sg"
  162. }
  163. }
  164. }
  165. }
  166. }
  167. },
  168. "GetCampaignState": {
  169. "http": {
  170. "method": "GET",
  171. "requestUri": "/campaigns/{id}/state",
  172. "responseCode": 200
  173. },
  174. "input": {
  175. "type": "structure",
  176. "required": [
  177. "id"
  178. ],
  179. "members": {
  180. "id": {
  181. "location": "uri",
  182. "locationName": "id"
  183. }
  184. }
  185. },
  186. "output": {
  187. "type": "structure",
  188. "members": {
  189. "state": {}
  190. }
  191. }
  192. },
  193. "GetCampaignStateBatch": {
  194. "http": {
  195. "requestUri": "/campaigns-state",
  196. "responseCode": 200
  197. },
  198. "input": {
  199. "type": "structure",
  200. "required": [
  201. "campaignIds"
  202. ],
  203. "members": {
  204. "campaignIds": {
  205. "type": "list",
  206. "member": {}
  207. }
  208. }
  209. },
  210. "output": {
  211. "type": "structure",
  212. "members": {
  213. "successfulRequests": {
  214. "type": "list",
  215. "member": {
  216. "type": "structure",
  217. "members": {
  218. "campaignId": {},
  219. "state": {}
  220. }
  221. }
  222. },
  223. "failedRequests": {
  224. "type": "list",
  225. "member": {
  226. "type": "structure",
  227. "members": {
  228. "campaignId": {},
  229. "failureCode": {}
  230. }
  231. }
  232. }
  233. }
  234. }
  235. },
  236. "GetConnectInstanceConfig": {
  237. "http": {
  238. "method": "GET",
  239. "requestUri": "/connect-instance/{connectInstanceId}/config",
  240. "responseCode": 200
  241. },
  242. "input": {
  243. "type": "structure",
  244. "required": [
  245. "connectInstanceId"
  246. ],
  247. "members": {
  248. "connectInstanceId": {
  249. "location": "uri",
  250. "locationName": "connectInstanceId"
  251. }
  252. }
  253. },
  254. "output": {
  255. "type": "structure",
  256. "members": {
  257. "connectInstanceConfig": {
  258. "type": "structure",
  259. "required": [
  260. "connectInstanceId",
  261. "serviceLinkedRoleArn",
  262. "encryptionConfig"
  263. ],
  264. "members": {
  265. "connectInstanceId": {},
  266. "serviceLinkedRoleArn": {},
  267. "encryptionConfig": {
  268. "shape": "S17"
  269. }
  270. }
  271. }
  272. }
  273. }
  274. },
  275. "GetInstanceOnboardingJobStatus": {
  276. "http": {
  277. "method": "GET",
  278. "requestUri": "/connect-instance/{connectInstanceId}/onboarding",
  279. "responseCode": 200
  280. },
  281. "input": {
  282. "type": "structure",
  283. "required": [
  284. "connectInstanceId"
  285. ],
  286. "members": {
  287. "connectInstanceId": {
  288. "location": "uri",
  289. "locationName": "connectInstanceId"
  290. }
  291. }
  292. },
  293. "output": {
  294. "type": "structure",
  295. "members": {
  296. "connectInstanceOnboardingJobStatus": {
  297. "shape": "S1d"
  298. }
  299. }
  300. }
  301. },
  302. "ListCampaigns": {
  303. "http": {
  304. "requestUri": "/campaigns-summary",
  305. "responseCode": 200
  306. },
  307. "input": {
  308. "type": "structure",
  309. "members": {
  310. "maxResults": {
  311. "type": "integer"
  312. },
  313. "nextToken": {},
  314. "filters": {
  315. "type": "structure",
  316. "members": {
  317. "instanceIdFilter": {
  318. "type": "structure",
  319. "required": [
  320. "value",
  321. "operator"
  322. ],
  323. "members": {
  324. "value": {},
  325. "operator": {}
  326. }
  327. }
  328. }
  329. }
  330. }
  331. },
  332. "output": {
  333. "type": "structure",
  334. "members": {
  335. "nextToken": {},
  336. "campaignSummaryList": {
  337. "type": "list",
  338. "member": {
  339. "type": "structure",
  340. "required": [
  341. "id",
  342. "arn",
  343. "name",
  344. "connectInstanceId"
  345. ],
  346. "members": {
  347. "id": {},
  348. "arn": {},
  349. "name": {},
  350. "connectInstanceId": {}
  351. }
  352. }
  353. }
  354. }
  355. }
  356. },
  357. "ListTagsForResource": {
  358. "http": {
  359. "method": "GET",
  360. "requestUri": "/tags/{arn}",
  361. "responseCode": 200
  362. },
  363. "input": {
  364. "type": "structure",
  365. "required": [
  366. "arn"
  367. ],
  368. "members": {
  369. "arn": {
  370. "location": "uri",
  371. "locationName": "arn"
  372. }
  373. }
  374. },
  375. "output": {
  376. "type": "structure",
  377. "members": {
  378. "tags": {
  379. "shape": "Sg"
  380. }
  381. }
  382. },
  383. "idempotent": true
  384. },
  385. "PauseCampaign": {
  386. "http": {
  387. "requestUri": "/campaigns/{id}/pause",
  388. "responseCode": 200
  389. },
  390. "input": {
  391. "type": "structure",
  392. "required": [
  393. "id"
  394. ],
  395. "members": {
  396. "id": {
  397. "location": "uri",
  398. "locationName": "id"
  399. }
  400. }
  401. }
  402. },
  403. "PutDialRequestBatch": {
  404. "http": {
  405. "method": "PUT",
  406. "requestUri": "/campaigns/{id}/dial-requests",
  407. "responseCode": 200
  408. },
  409. "input": {
  410. "type": "structure",
  411. "required": [
  412. "id",
  413. "dialRequests"
  414. ],
  415. "members": {
  416. "id": {
  417. "location": "uri",
  418. "locationName": "id"
  419. },
  420. "dialRequests": {
  421. "type": "list",
  422. "member": {
  423. "type": "structure",
  424. "required": [
  425. "clientToken",
  426. "phoneNumber",
  427. "expirationTime",
  428. "attributes"
  429. ],
  430. "members": {
  431. "clientToken": {},
  432. "phoneNumber": {
  433. "type": "string",
  434. "sensitive": true
  435. },
  436. "expirationTime": {
  437. "type": "timestamp",
  438. "timestampFormat": "iso8601"
  439. },
  440. "attributes": {
  441. "type": "map",
  442. "key": {},
  443. "value": {},
  444. "sensitive": true
  445. }
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "output": {
  452. "type": "structure",
  453. "members": {
  454. "successfulRequests": {
  455. "type": "list",
  456. "member": {
  457. "type": "structure",
  458. "members": {
  459. "clientToken": {},
  460. "id": {}
  461. }
  462. }
  463. },
  464. "failedRequests": {
  465. "type": "list",
  466. "member": {
  467. "type": "structure",
  468. "members": {
  469. "clientToken": {},
  470. "id": {},
  471. "failureCode": {}
  472. }
  473. }
  474. }
  475. }
  476. },
  477. "idempotent": true
  478. },
  479. "ResumeCampaign": {
  480. "http": {
  481. "requestUri": "/campaigns/{id}/resume",
  482. "responseCode": 200
  483. },
  484. "input": {
  485. "type": "structure",
  486. "required": [
  487. "id"
  488. ],
  489. "members": {
  490. "id": {
  491. "location": "uri",
  492. "locationName": "id"
  493. }
  494. }
  495. }
  496. },
  497. "StartCampaign": {
  498. "http": {
  499. "requestUri": "/campaigns/{id}/start",
  500. "responseCode": 200
  501. },
  502. "input": {
  503. "type": "structure",
  504. "required": [
  505. "id"
  506. ],
  507. "members": {
  508. "id": {
  509. "location": "uri",
  510. "locationName": "id"
  511. }
  512. }
  513. }
  514. },
  515. "StartInstanceOnboardingJob": {
  516. "http": {
  517. "method": "PUT",
  518. "requestUri": "/connect-instance/{connectInstanceId}/onboarding",
  519. "responseCode": 200
  520. },
  521. "input": {
  522. "type": "structure",
  523. "required": [
  524. "connectInstanceId",
  525. "encryptionConfig"
  526. ],
  527. "members": {
  528. "connectInstanceId": {
  529. "location": "uri",
  530. "locationName": "connectInstanceId"
  531. },
  532. "encryptionConfig": {
  533. "shape": "S17"
  534. }
  535. }
  536. },
  537. "output": {
  538. "type": "structure",
  539. "members": {
  540. "connectInstanceOnboardingJobStatus": {
  541. "shape": "S1d"
  542. }
  543. }
  544. },
  545. "idempotent": true
  546. },
  547. "StopCampaign": {
  548. "http": {
  549. "requestUri": "/campaigns/{id}/stop",
  550. "responseCode": 200
  551. },
  552. "input": {
  553. "type": "structure",
  554. "required": [
  555. "id"
  556. ],
  557. "members": {
  558. "id": {
  559. "location": "uri",
  560. "locationName": "id"
  561. }
  562. }
  563. }
  564. },
  565. "TagResource": {
  566. "http": {
  567. "requestUri": "/tags/{arn}",
  568. "responseCode": 200
  569. },
  570. "input": {
  571. "type": "structure",
  572. "required": [
  573. "arn",
  574. "tags"
  575. ],
  576. "members": {
  577. "arn": {
  578. "location": "uri",
  579. "locationName": "arn"
  580. },
  581. "tags": {
  582. "shape": "Sg"
  583. }
  584. }
  585. },
  586. "idempotent": true
  587. },
  588. "UntagResource": {
  589. "http": {
  590. "method": "DELETE",
  591. "requestUri": "/tags/{arn}",
  592. "responseCode": 200
  593. },
  594. "input": {
  595. "type": "structure",
  596. "required": [
  597. "arn",
  598. "tagKeys"
  599. ],
  600. "members": {
  601. "arn": {
  602. "location": "uri",
  603. "locationName": "arn"
  604. },
  605. "tagKeys": {
  606. "location": "querystring",
  607. "locationName": "tagKeys",
  608. "type": "list",
  609. "member": {}
  610. }
  611. }
  612. },
  613. "idempotent": true
  614. },
  615. "UpdateCampaignDialerConfig": {
  616. "http": {
  617. "requestUri": "/campaigns/{id}/dialer-config",
  618. "responseCode": 200
  619. },
  620. "input": {
  621. "type": "structure",
  622. "required": [
  623. "id",
  624. "dialerConfig"
  625. ],
  626. "members": {
  627. "id": {
  628. "location": "uri",
  629. "locationName": "id"
  630. },
  631. "dialerConfig": {
  632. "shape": "S4"
  633. }
  634. }
  635. },
  636. "idempotent": true
  637. },
  638. "UpdateCampaignName": {
  639. "http": {
  640. "requestUri": "/campaigns/{id}/name",
  641. "responseCode": 200
  642. },
  643. "input": {
  644. "type": "structure",
  645. "required": [
  646. "id",
  647. "name"
  648. ],
  649. "members": {
  650. "id": {
  651. "location": "uri",
  652. "locationName": "id"
  653. },
  654. "name": {}
  655. }
  656. },
  657. "idempotent": true
  658. },
  659. "UpdateCampaignOutboundCallConfig": {
  660. "http": {
  661. "requestUri": "/campaigns/{id}/outbound-call-config",
  662. "responseCode": 200
  663. },
  664. "input": {
  665. "type": "structure",
  666. "required": [
  667. "id"
  668. ],
  669. "members": {
  670. "id": {
  671. "location": "uri",
  672. "locationName": "id"
  673. },
  674. "connectContactFlowId": {},
  675. "connectSourcePhoneNumber": {},
  676. "answerMachineDetectionConfig": {
  677. "shape": "Se"
  678. }
  679. }
  680. },
  681. "idempotent": true
  682. }
  683. },
  684. "shapes": {
  685. "S4": {
  686. "type": "structure",
  687. "members": {
  688. "progressiveDialerConfig": {
  689. "type": "structure",
  690. "required": [
  691. "bandwidthAllocation"
  692. ],
  693. "members": {
  694. "bandwidthAllocation": {
  695. "type": "double"
  696. },
  697. "dialingCapacity": {
  698. "type": "double"
  699. }
  700. }
  701. },
  702. "predictiveDialerConfig": {
  703. "type": "structure",
  704. "required": [
  705. "bandwidthAllocation"
  706. ],
  707. "members": {
  708. "bandwidthAllocation": {
  709. "type": "double"
  710. },
  711. "dialingCapacity": {
  712. "type": "double"
  713. }
  714. }
  715. },
  716. "agentlessDialerConfig": {
  717. "type": "structure",
  718. "members": {
  719. "dialingCapacity": {
  720. "type": "double"
  721. }
  722. }
  723. }
  724. },
  725. "union": true
  726. },
  727. "Sa": {
  728. "type": "structure",
  729. "required": [
  730. "connectContactFlowId"
  731. ],
  732. "members": {
  733. "connectContactFlowId": {},
  734. "connectSourcePhoneNumber": {},
  735. "connectQueueId": {},
  736. "answerMachineDetectionConfig": {
  737. "shape": "Se"
  738. }
  739. }
  740. },
  741. "Se": {
  742. "type": "structure",
  743. "required": [
  744. "enableAnswerMachineDetection"
  745. ],
  746. "members": {
  747. "enableAnswerMachineDetection": {
  748. "type": "boolean"
  749. },
  750. "awaitAnswerMachinePrompt": {
  751. "type": "boolean"
  752. }
  753. }
  754. },
  755. "Sg": {
  756. "type": "map",
  757. "key": {},
  758. "value": {}
  759. },
  760. "S17": {
  761. "type": "structure",
  762. "required": [
  763. "enabled"
  764. ],
  765. "members": {
  766. "enabled": {
  767. "type": "boolean"
  768. },
  769. "encryptionType": {},
  770. "keyArn": {}
  771. }
  772. },
  773. "S1d": {
  774. "type": "structure",
  775. "required": [
  776. "connectInstanceId",
  777. "status"
  778. ],
  779. "members": {
  780. "connectInstanceId": {},
  781. "status": {},
  782. "failureCode": {}
  783. }
  784. }
  785. }
  786. }