Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connect Update models to latest #3604

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down Expand Up @@ -30,7 +30,8 @@ public class ActionSummary implements Serializable {
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>CREATE_TASK, ASSIGN_CONTACT_CATEGORY,
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE,
* END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
*/
private String actionType;

Expand All @@ -41,7 +42,8 @@ public class ActionSummary implements Serializable {
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>CREATE_TASK, ASSIGN_CONTACT_CATEGORY,
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE,
* END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
*
* @return <p>
* The action type.
Expand All @@ -59,7 +61,8 @@ public String getActionType() {
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>CREATE_TASK, ASSIGN_CONTACT_CATEGORY,
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE,
* END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
*
* @param actionType <p>
* The action type.
Expand All @@ -80,7 +83,8 @@ public void setActionType(String actionType) {
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>CREATE_TASK, ASSIGN_CONTACT_CATEGORY,
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE,
* END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
*
* @param actionType <p>
* The action type.
Expand All @@ -101,7 +105,8 @@ public ActionSummary withActionType(String actionType) {
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>CREATE_TASK, ASSIGN_CONTACT_CATEGORY,
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE,
* END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
*
* @param actionType <p>
* The action type.
Expand All @@ -122,7 +127,8 @@ public void setActionType(ActionType actionType) {
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>CREATE_TASK, ASSIGN_CONTACT_CATEGORY,
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION
* GENERATE_EVENTBRIDGE_EVENT, SEND_NOTIFICATION, CREATE_CASE, UPDATE_CASE,
* END_ASSOCIATED_TASKS, SUBMIT_AUTO_EVALUATION
*
* @param actionType <p>
* The action type.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand All @@ -26,7 +26,11 @@ public enum ActionType {
CREATE_TASK("CREATE_TASK"),
ASSIGN_CONTACT_CATEGORY("ASSIGN_CONTACT_CATEGORY"),
GENERATE_EVENTBRIDGE_EVENT("GENERATE_EVENTBRIDGE_EVENT"),
SEND_NOTIFICATION("SEND_NOTIFICATION");
SEND_NOTIFICATION("SEND_NOTIFICATION"),
CREATE_CASE("CREATE_CASE"),
UPDATE_CASE("UPDATE_CASE"),
END_ASSOCIATED_TASKS("END_ASSOCIATED_TASKS"),
SUBMIT_AUTO_EVALUATION("SUBMIT_AUTO_EVALUATION");

private String value;

Expand All @@ -46,6 +50,10 @@ public String toString() {
enumMap.put("ASSIGN_CONTACT_CATEGORY", ASSIGN_CONTACT_CATEGORY);
enumMap.put("GENERATE_EVENTBRIDGE_EVENT", GENERATE_EVENTBRIDGE_EVENT);
enumMap.put("SEND_NOTIFICATION", SEND_NOTIFICATION);
enumMap.put("CREATE_CASE", CREATE_CASE);
enumMap.put("UPDATE_CASE", UPDATE_CASE);
enumMap.put("END_ASSOCIATED_TASKS", END_ASSOCIATED_TASKS);
enumMap.put("SUBMIT_AUTO_EVALUATION", SUBMIT_AUTO_EVALUATION);
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
Expand Down Expand Up @@ -62,6 +62,14 @@ public class AgentContactReference implements Serializable {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code> is not
* changed. Instead, <code>StateStartTimestamp</code> reflects the time the
* contact was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>INCOMING, PENDING, CONNECTING, CONNECTED,
Expand Down Expand Up @@ -352,6 +360,14 @@ public AgentContactReference withInitiationMethod(ContactInitiationMethod initia
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code> is not
* changed. Instead, <code>StateStartTimestamp</code> reflects the time the
* contact was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>INCOMING, PENDING, CONNECTING, CONNECTED,
Expand All @@ -362,6 +378,15 @@ public AgentContactReference withInitiationMethod(ContactInitiationMethod initia
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code>
* is not changed. Instead, <code>StateStartTimestamp</code>
* reflects the time the contact was <code>CONNECTED</code> to the
* agent.
* </p>
* </note>
* @see ContactState
*/
public String getAgentContactState() {
Expand All @@ -374,6 +399,14 @@ public String getAgentContactState() {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code> is not
* changed. Instead, <code>StateStartTimestamp</code> reflects the time the
* contact was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>INCOMING, PENDING, CONNECTING, CONNECTED,
Expand All @@ -384,6 +417,15 @@ public String getAgentContactState() {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>,
* <code>StateStartTimestamp</code> is not changed. Instead,
* <code>StateStartTimestamp</code> reflects the time the contact
* was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* @see ContactState
*/
public void setAgentContactState(String agentContactState) {
Expand All @@ -396,6 +438,14 @@ public void setAgentContactState(String agentContactState) {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code> is not
* changed. Instead, <code>StateStartTimestamp</code> reflects the time the
* contact was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
Expand All @@ -409,6 +459,15 @@ public void setAgentContactState(String agentContactState) {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>,
* <code>StateStartTimestamp</code> is not changed. Instead,
* <code>StateStartTimestamp</code> reflects the time the contact
* was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* @return A reference to this updated object so that method calls can be
* chained together.
* @see ContactState
Expand All @@ -424,6 +483,14 @@ public AgentContactReference withAgentContactState(String agentContactState) {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code> is not
* changed. Instead, <code>StateStartTimestamp</code> reflects the time the
* contact was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* <p>
* <b>Constraints:</b><br/>
* <b>Allowed Values: </b>INCOMING, PENDING, CONNECTING, CONNECTED,
Expand All @@ -434,6 +501,15 @@ public AgentContactReference withAgentContactState(String agentContactState) {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>,
* <code>StateStartTimestamp</code> is not changed. Instead,
* <code>StateStartTimestamp</code> reflects the time the contact
* was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* @see ContactState
*/
public void setAgentContactState(ContactState agentContactState) {
Expand All @@ -446,6 +522,14 @@ public void setAgentContactState(ContactState agentContactState) {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code> is not
* changed. Instead, <code>StateStartTimestamp</code> reflects the time the
* contact was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
Expand All @@ -459,6 +543,15 @@ public void setAgentContactState(ContactState agentContactState) {
* "https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html"
* >state of the contact</a>.
* </p>
* <note>
* <p>
* When <code>AgentContactState</code> is set to
* <code>CONNECTED_ONHOLD</code>,
* <code>StateStartTimestamp</code> is not changed. Instead,
* <code>StateStartTimestamp</code> reflects the time the contact
* was <code>CONNECTED</code> to the agent.
* </p>
* </note>
* @return A reference to this updated object so that method calls can be
* chained together.
* @see ContactState
Expand Down
Loading