lib/aws-sdk-wellarchitected/client.rb in aws-sdk-wellarchitected-1.4.0 vs lib/aws-sdk-wellarchitected/client.rb in aws-sdk-wellarchitected-1.5.0

- old
+ new

@@ -775,11 +775,11 @@ def disassociate_lenses(params = {}, options = {}) req = build_request(:disassociate_lenses, params) req.send_request(options) end - # Get lens review. + # Get the answer to a specific question in a workload review. # # @option params [required, String] :workload_id # The ID assigned to the workload. This ID is unique within an AWS # Region. # @@ -827,13 +827,19 @@ # resp.answer.choices[0].choice_id #=> String # resp.answer.choices[0].title #=> String # resp.answer.choices[0].description #=> String # resp.answer.selected_choices #=> Array # resp.answer.selected_choices[0] #=> String + # resp.answer.choice_answers #=> Array + # resp.answer.choice_answers[0].choice_id #=> String + # resp.answer.choice_answers[0].status #=> String, one of "SELECTED", "NOT_APPLICABLE", "UNSELECTED" + # resp.answer.choice_answers[0].reason #=> String, one of "OUT_OF_SCOPE", "BUSINESS_PRIORITIES", "ARCHITECTURE_CONSTRAINTS", "OTHER", "NONE" + # resp.answer.choice_answers[0].notes #=> String # resp.answer.is_applicable #=> Boolean # resp.answer.risk #=> String, one of "UNANSWERED", "HIGH", "MEDIUM", "NONE", "NOT_APPLICABLE" # resp.answer.notes #=> String + # resp.answer.reason #=> String, one of "OUT_OF_SCOPE", "BUSINESS_PRIORITIES", "ARCHITECTURE_CONSTRAINTS", "OTHER", "NONE" # # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetAnswer AWS API Documentation # # @overload get_answer(params = {}) # @param [Hash] params ({}) @@ -1181,12 +1187,17 @@ # resp.answer_summaries[0].choices[0].choice_id #=> String # resp.answer_summaries[0].choices[0].title #=> String # resp.answer_summaries[0].choices[0].description #=> String # resp.answer_summaries[0].selected_choices #=> Array # resp.answer_summaries[0].selected_choices[0] #=> String + # resp.answer_summaries[0].choice_answer_summaries #=> Array + # resp.answer_summaries[0].choice_answer_summaries[0].choice_id #=> String + # resp.answer_summaries[0].choice_answer_summaries[0].status #=> String, one of "SELECTED", "NOT_APPLICABLE", "UNSELECTED" + # resp.answer_summaries[0].choice_answer_summaries[0].reason #=> String, one of "OUT_OF_SCOPE", "BUSINESS_PRIORITIES", "ARCHITECTURE_CONSTRAINTS", "OTHER", "NONE" # resp.answer_summaries[0].is_applicable #=> Boolean # resp.answer_summaries[0].risk #=> String, one of "UNANSWERED", "HIGH", "MEDIUM", "NONE", "NOT_APPLICABLE" + # resp.answer_summaries[0].reason #=> String, one of "OUT_OF_SCOPE", "BUSINESS_PRIORITIES", "ARCHITECTURE_CONSTRAINTS", "OTHER", "NONE" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListAnswers AWS API Documentation # # @overload list_answers(params = {}) @@ -1673,15 +1684,21 @@ req.send_request(options) end # Deletes specified tags from a resource. # + # To specify multiple tags, use separate **tagKeys** parameters, for + # example: + # + # `DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2` + # # @option params [required, String] :workload_arn # The ARN for the workload. # # @option params [required, Array<String>] :tag_keys - # The keys of the tags to be removed. + # A list of tag keys. Existing tags of the resource whose keys are + # members of this list are removed from the resource. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # @@ -1716,16 +1733,23 @@ # @option params [Array<String>] :selected_choices # List of selected choice IDs in a question answer. # # The values entered replace the previously selected choices. # + # @option params [Hash<String,Types::ChoiceUpdate>] :choice_updates + # A list of choices to update on a question in your workload. The String + # key corresponds to the choice ID to be updated. + # # @option params [String] :notes # The notes associated with the workload. # # @option params [Boolean] :is_applicable # Defines whether this question is applicable to a lens review. # + # @option params [String] :reason + # The reason why a question is not applicable to your workload. + # # @return [Types::UpdateAnswerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateAnswerOutput#workload_id #workload_id} => String # * {Types::UpdateAnswerOutput#lens_alias #lens_alias} => String # * {Types::UpdateAnswerOutput#answer #answer} => Types::Answer @@ -1735,12 +1759,20 @@ # resp = client.update_answer({ # workload_id: "WorkloadId", # required # lens_alias: "LensAlias", # required # question_id: "QuestionId", # required # selected_choices: ["ChoiceId"], + # choice_updates: { + # "ChoiceId" => { + # status: "SELECTED", # required, accepts SELECTED, NOT_APPLICABLE, UNSELECTED + # reason: "OUT_OF_SCOPE", # accepts OUT_OF_SCOPE, BUSINESS_PRIORITIES, ARCHITECTURE_CONSTRAINTS, OTHER, NONE + # notes: "ChoiceNotes", + # }, + # }, # notes: "Notes", # is_applicable: false, + # reason: "OUT_OF_SCOPE", # accepts OUT_OF_SCOPE, BUSINESS_PRIORITIES, ARCHITECTURE_CONSTRAINTS, OTHER, NONE # }) # # @example Response structure # # resp.workload_id #=> String @@ -1755,13 +1787,19 @@ # resp.answer.choices[0].choice_id #=> String # resp.answer.choices[0].title #=> String # resp.answer.choices[0].description #=> String # resp.answer.selected_choices #=> Array # resp.answer.selected_choices[0] #=> String + # resp.answer.choice_answers #=> Array + # resp.answer.choice_answers[0].choice_id #=> String + # resp.answer.choice_answers[0].status #=> String, one of "SELECTED", "NOT_APPLICABLE", "UNSELECTED" + # resp.answer.choice_answers[0].reason #=> String, one of "OUT_OF_SCOPE", "BUSINESS_PRIORITIES", "ARCHITECTURE_CONSTRAINTS", "OTHER", "NONE" + # resp.answer.choice_answers[0].notes #=> String # resp.answer.is_applicable #=> Boolean # resp.answer.risk #=> String, one of "UNANSWERED", "HIGH", "MEDIUM", "NONE", "NOT_APPLICABLE" # resp.answer.notes #=> String + # resp.answer.reason #=> String, one of "OUT_OF_SCOPE", "BUSINESS_PRIORITIES", "ARCHITECTURE_CONSTRAINTS", "OTHER", "NONE" # # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateAnswer AWS API Documentation # # @overload update_answer(params = {}) # @param [Hash] params ({}) @@ -2153,10 +2191,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-wellarchitected' - context[:gem_version] = '1.4.0' + context[:gem_version] = '1.5.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated