Skip to content

Commit

Permalink
Re-gen code to sent action to REST requests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhr committed Dec 21, 2021
1 parent ec9b3ab commit 2d1e4a2
Show file tree
Hide file tree
Showing 158 changed files with 4,936 additions and 56 deletions.
28 changes: 28 additions & 0 deletions lib/aws/generated/access_analyzer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ApplyArchiveRule",
:put,
url_path,
query_params,
Expand All @@ -73,6 +74,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"CancelPolicyGeneration",
:put,
url_path,
query_params,
Expand All @@ -95,6 +97,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"CreateAccessPreview",
:put,
url_path,
query_params,
Expand All @@ -116,6 +119,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"CreateAnalyzer",
:put,
url_path,
query_params,
Expand Down Expand Up @@ -144,6 +148,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"CreateArchiveRule",
:put,
url_path,
query_params,
Expand Down Expand Up @@ -174,6 +179,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"DeleteAnalyzer",
:delete,
url_path,
query_params,
Expand Down Expand Up @@ -202,6 +208,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"DeleteArchiveRule",
:delete,
url_path,
query_params,
Expand Down Expand Up @@ -230,6 +237,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"GetAccessPreview",
:get,
url_path,
query_params,
Expand Down Expand Up @@ -265,6 +273,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"GetAnalyzedResource",
:get,
url_path,
query_params,
Expand All @@ -286,6 +295,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"GetAnalyzer",
:get,
url_path,
query_params,
Expand Down Expand Up @@ -313,6 +323,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"GetArchiveRule",
:get,
url_path,
query_params,
Expand Down Expand Up @@ -341,6 +352,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"GetFinding",
:get,
url_path,
query_params,
Expand Down Expand Up @@ -382,6 +394,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"GetGeneratedPolicy",
:get,
url_path,
query_params,
Expand All @@ -404,6 +417,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListAccessPreviewFindings",
:post,
url_path,
query_params,
Expand Down Expand Up @@ -452,6 +466,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListAccessPreviews",
:get,
url_path,
query_params,
Expand All @@ -474,6 +489,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListAnalyzedResources",
:post,
url_path,
query_params,
Expand Down Expand Up @@ -522,6 +538,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListAnalyzers",
:get,
url_path,
query_params,
Expand Down Expand Up @@ -563,6 +580,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListArchiveRules",
:get,
url_path,
query_params,
Expand All @@ -588,6 +606,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListFindings",
:post,
url_path,
query_params,
Expand Down Expand Up @@ -636,6 +655,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListPolicyGenerations",
:get,
url_path,
query_params,
Expand All @@ -657,6 +677,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ListTagsForResource",
:get,
url_path,
query_params,
Expand All @@ -678,6 +699,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"StartPolicyGeneration",
:put,
url_path,
query_params,
Expand All @@ -699,6 +721,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"StartResourceScan",
:post,
url_path,
query_params,
Expand All @@ -720,6 +743,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"TagResource",
:post,
url_path,
query_params,
Expand All @@ -746,6 +770,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"UntagResource",
:delete,
url_path,
query_params,
Expand All @@ -769,6 +794,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"UpdateArchiveRule",
:put,
url_path,
query_params,
Expand All @@ -790,6 +816,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"UpdateFindings",
:put,
url_path,
query_params,
Expand Down Expand Up @@ -821,6 +848,7 @@ defmodule AWS.AccessAnalyzer do
Request.request_rest(
client,
metadata(),
"ValidatePolicy",
:post,
url_path,
query_params,
Expand Down
3 changes: 3 additions & 0 deletions lib/aws/generated/account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ defmodule AWS.Account do
Request.request_rest(
client,
metadata(),
"DeleteAlternateContact",
:post,
url_path,
query_params,
Expand All @@ -64,6 +65,7 @@ defmodule AWS.Account do
Request.request_rest(
client,
metadata(),
"GetAlternateContact",
:post,
url_path,
query_params,
Expand All @@ -89,6 +91,7 @@ defmodule AWS.Account do
Request.request_rest(
client,
metadata(),
"PutAlternateContact",
:post,
url_path,
query_params,
Expand Down
17 changes: 17 additions & 0 deletions lib/aws/generated/amp.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"CreateAlertManagerDefinition",
:post,
url_path,
query_params,
Expand All @@ -57,6 +58,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"CreateRuleGroupsNamespace",
:post,
url_path,
query_params,
Expand All @@ -78,6 +80,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"CreateWorkspace",
:post,
url_path,
query_params,
Expand All @@ -104,6 +107,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"DeleteAlertManagerDefinition",
:delete,
url_path,
query_params,
Expand Down Expand Up @@ -132,6 +136,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"DeleteRuleGroupsNamespace",
:delete,
url_path,
query_params,
Expand All @@ -158,6 +163,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"DeleteWorkspace",
:delete,
url_path,
query_params,
Expand All @@ -179,6 +185,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"DescribeAlertManagerDefinition",
:get,
url_path,
query_params,
Expand All @@ -202,6 +209,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"DescribeRuleGroupsNamespace",
:get,
url_path,
query_params,
Expand All @@ -223,6 +231,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"DescribeWorkspace",
:get,
url_path,
query_params,
Expand Down Expand Up @@ -272,6 +281,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"ListRuleGroupsNamespaces",
:get,
url_path,
query_params,
Expand All @@ -293,6 +303,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"ListTagsForResource",
:get,
url_path,
query_params,
Expand Down Expand Up @@ -341,6 +352,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"ListWorkspaces",
:get,
url_path,
query_params,
Expand All @@ -362,6 +374,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"PutAlertManagerDefinition",
:put,
url_path,
query_params,
Expand All @@ -385,6 +398,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"PutRuleGroupsNamespace",
:put,
url_path,
query_params,
Expand All @@ -406,6 +420,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"TagResource",
:post,
url_path,
query_params,
Expand All @@ -432,6 +447,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"UntagResource",
:delete,
url_path,
query_params,
Expand All @@ -453,6 +469,7 @@ defmodule AWS.Amp do
Request.request_rest(
client,
metadata(),
"UpdateWorkspaceAlias",
:post,
url_path,
query_params,
Expand Down
Loading

0 comments on commit 2d1e4a2

Please sign in to comment.