Skip to content

Commit

Permalink
Update services based on v1.44.307 of AWS Go SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Jul 25, 2023
1 parent bc203e0 commit 590ebac
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .latest-tag-aws-sdk-go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.44.306
v1.44.307
13 changes: 13 additions & 0 deletions lib/aws/generated/cloud_formation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,19 @@ defmodule AWS.CloudFormation do
Request.request_post(client, meta, "ListImports", input, options)
end

@doc """
Returns drift information for resources in a stack instance.
`ListStackInstanceResourceDrifts` returns drift information for the most recent
drift detection operation. If an operation is in progress, it may only return
partial results.
"""
def list_stack_instance_resource_drifts(%Client{} = client, input, options \\ []) do
meta = metadata()

Request.request_post(client, meta, "ListStackInstanceResourceDrifts", input, options)
end

@doc """
Returns summary information about stack instances that are associated with the
specified stack set.
Expand Down
25 changes: 24 additions & 1 deletion lib/aws/generated/cost_explorer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,24 @@ defmodule AWS.CostExplorer do
Request.request_post(client, meta, "GetRightsizingRecommendation", input, options)
end

@doc """
Retrieves the details for a Savings Plan recommendation.
These details include the hourly data-points that construct the new cost,
coverage, and utilization charts.
"""
def get_savings_plan_purchase_recommendation_details(%Client{} = client, input, options \\ []) do
meta = metadata()

Request.request_post(
client,
meta,
"GetSavingsPlanPurchaseRecommendationDetails",
input,
options
)
end

@doc """
Retrieves the Savings Plans covered for your account.
Expand Down Expand Up @@ -564,7 +582,12 @@ defmodule AWS.CostExplorer do
end

@doc """
Updates an existing cost anomaly monitor subscription.
Updates an existing cost anomaly subscription.
Specify the fields that you want to update. Omitted fields are unchanged.
The JSON below describes the generic construct for each type. See [Request Parameters](https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_UpdateAnomalySubscription.html#API_UpdateAnomalySubscription_RequestParameters)
for possible values as they apply to `AnomalySubscription`.
"""
def update_anomaly_subscription(%Client{} = client, input, options \\ []) do
meta = metadata()
Expand Down
89 changes: 89 additions & 0 deletions lib/aws/generated/quick_sight.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1754,6 +1754,58 @@ defmodule AWS.QuickSight do
Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, nil)
end

@doc """
Describes an existing snapshot job.
Poll job descriptions after a job starts to know the status of the job. For
information on available status codes, see `JobStatus`.
"""
def describe_dashboard_snapshot_job(
%Client{} = client,
aws_account_id,
dashboard_id,
snapshot_job_id,
options \\ []
) do
url_path =
"/accounts/#{AWS.Util.encode_uri(aws_account_id)}/dashboards/#{AWS.Util.encode_uri(dashboard_id)}/snapshot-jobs/#{AWS.Util.encode_uri(snapshot_job_id)}"

headers = []
query_params = []

meta = metadata()

Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, nil)
end

@doc """
Describes the result of an existing snapshot job that has finished running.
A finished snapshot job will return a `COMPLETED` or `FAILED` status when you
poll the job with a `DescribeDashboardSnapshotJob` API call.
If the job has not finished running, this operation returns a message that says
`Dashboard Snapshot Job with id <SnapshotjobId> has not reached a terminal
state.`.
"""
def describe_dashboard_snapshot_job_result(
%Client{} = client,
aws_account_id,
dashboard_id,
snapshot_job_id,
options \\ []
) do
url_path =
"/accounts/#{AWS.Util.encode_uri(aws_account_id)}/dashboards/#{AWS.Util.encode_uri(dashboard_id)}/snapshot-jobs/#{AWS.Util.encode_uri(snapshot_job_id)}/result"

headers = []
query_params = []

meta = metadata()

Request.request_rest(client, meta, :get, url_path, query_params, headers, nil, options, nil)
end

@doc """
Describes a dataset.
Expand Down Expand Up @@ -3866,6 +3918,43 @@ defmodule AWS.QuickSight do
)
end

@doc """
Starts an asynchronous job that generates a dashboard snapshot.
You can request up to one paginated PDF and up to five CSVs per API call.
Poll job descriptions with a `DescribeDashboardSnapshotJob` API call. Once the
job succeeds, use the `DescribeDashboardSnapshotJobResult` API to obtain the
download URIs that the job generates.
"""
def start_dashboard_snapshot_job(
%Client{} = client,
aws_account_id,
dashboard_id,
input,
options \\ []
) do
url_path =
"/accounts/#{AWS.Util.encode_uri(aws_account_id)}/dashboards/#{AWS.Util.encode_uri(dashboard_id)}/snapshot-jobs"

headers = []
query_params = []

meta = metadata()

Request.request_rest(
client,
meta,
:post,
url_path,
query_params,
headers,
input,
options,
nil
)
end

@doc """
Assigns one or more tags (key-value pairs) to the specified Amazon QuickSight
resource.
Expand Down

0 comments on commit 590ebac

Please sign in to comment.