appintegrations-2020-07-29.examples.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "version": "1.0",
  3. "examples": {
  4. "CreateApplication": [
  5. {
  6. "input": {
  7. "ApplicationSourceConfig": {
  8. "ExternalUrlConfig": {
  9. "AccessUrl": "https://example.com"
  10. }
  11. },
  12. "Description": "My first application.",
  13. "Name": "My Application",
  14. "Namespace": "myapplication"
  15. },
  16. "output": {
  17. "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
  18. "Id": "98542c53-e8ac-4570-9c85-c6552c8d9c5e"
  19. },
  20. "comments": {
  21. },
  22. "description": "The following creates an application named My Application with access url https://example.com.",
  23. "id": "create-an-application",
  24. "title": "To create an application"
  25. }
  26. ],
  27. "DeleteApplication": [
  28. {
  29. "input": {
  30. "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e"
  31. },
  32. "output": {
  33. },
  34. "comments": {
  35. },
  36. "description": "The following deletes an application.",
  37. "id": "delete-an-application",
  38. "title": "To delete an application"
  39. }
  40. ],
  41. "GetApplication": [
  42. {
  43. "input": {
  44. "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e"
  45. },
  46. "output": {
  47. "ApplicationSourceConfig": {
  48. "ExternalUrlConfig": {
  49. "AccessUrl": "https://example.com"
  50. }
  51. },
  52. "Description": "My first application.",
  53. "Name": "My Application",
  54. "Namespace": "myapplication"
  55. },
  56. "comments": {
  57. },
  58. "description": "The following retrives an application.",
  59. "id": "get-an-application",
  60. "title": "To get an application"
  61. }
  62. ],
  63. "ListApplicationAssociations": [
  64. {
  65. "input": {
  66. "ApplicationId": "98542c53-e8ac-4570-9c85-c6552c8d9c5e"
  67. },
  68. "output": {
  69. "ApplicationAssociations": [
  70. {
  71. "ApplicationArn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
  72. "ApplicationAssociationArn": "arn:aws:app-integrations:us-west-2:0123456789012:application-association/98542c53-e8ac-4570-9c85-c6552c8d9c5e/461dfb57-320a-454d-9bba-bb560845ff38",
  73. "ClientId": "connect.amazonaws.com"
  74. }
  75. ],
  76. "NextToken": "abc"
  77. },
  78. "comments": {
  79. },
  80. "description": "The following retrives application associations of an application",
  81. "id": "list-application-associations",
  82. "title": "To list application associations of an application"
  83. }
  84. ],
  85. "ListApplications": [
  86. {
  87. "input": {
  88. "MaxResults": 1
  89. },
  90. "output": {
  91. "Applications": [
  92. {
  93. "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
  94. "Id": "98542c53-e8ac-4570-9c85-c6552c8d9c5e",
  95. "Name": "My Application",
  96. "Namespace": "myapplication"
  97. }
  98. ],
  99. "NextToken": "abc"
  100. },
  101. "comments": {
  102. },
  103. "description": "The following lists application summary in the account.",
  104. "id": "list-applications",
  105. "title": "To list applications in the account"
  106. }
  107. ],
  108. "UpdateApplication": [
  109. {
  110. "input": {
  111. "Arn": "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
  112. "Name": "My New Application Name"
  113. },
  114. "output": {
  115. },
  116. "comments": {
  117. },
  118. "description": "The following updates an existing application named with a new name.",
  119. "id": "update-an-application",
  120. "title": "To update an application"
  121. }
  122. ]
  123. }
  124. }