text
stringlengths
1
22.8M
Probable G-protein coupled receptor 85 is a protein that in humans is encoded by the GPR85 gene. See also SREB References Further reading G protein-coupled receptors
David ben Zakkai (died 940 CE) was an exilarch, leader of the Jewish community of Babylon, known in Jewish history especially for his conflict with Saadia Gaon, which ruptured the leadership of the Babylonian Jews, and which was settled by the intervention of the Abbasid Caliph Al-Qahir. He was banished to Khorasan, where he died. Biographical details He was a relative of the Prince of the Exile, 'Uḳba, who had been deposed from office and banished, and was his successor in the exilarchate. Exilarchate The office of Exilarch was at this time confronted by a dangerous adversary in the person of the passionate and ambitious gaon Mar Kohen-Zedek (in office 917–936), who attempted to make the Academy of Pumbedita the only center of the Babylonian Jews, thereby threatening the existence of the sister academy of Sura. He, as well as the Academy of Pumbedita, refused to recognize David as exilarch, whereupon the latter, who was equally resolute and ambitious, deposed Kohen-Ẓedeḳ and appointed another gaon. This dispute lasted for two years, until Nissim Naharwani, highly respected for his piety, intervened and reconciled the adversaries, peace being concluded at Sarsar (half a day's journey south of Baghdad). Kohen-Ẓedeḳ and his college accompanied the exilarch as far as Baghdad (in the fall of 921); David ben Zakkai, in turn, recognizing the former as gaon of Pumbedita. But the reputation of the Academy of Sura continued to dwindle. Relationship with Saadia Gaon A weaver filled the office of gaon for two years (926-928), and the ancient and famous academy of Sura was on the point of being dissolved, when Saadia, called from Egypt by the exilarch, was appointed gaon. This was against the advice of Naharwani, who favored Ẓemaḥ ibn Shahin ("Medieval Jew. Chron." ii. 80); but the wisdom of the choice was shown when Saadia made the fame of Sura surpass even that of Pumbedita. Inheritance case The friendly relations between David ben Zakkai and Saadia were soon disturbed. David shrank from nothing which might strengthen his position, and misused his influence in order to extort large contributions from the community. A case of inheritance which David had decided illegally for reasons of self-interest, led to a rupture between the two. The exilarch asked the two geonim to sign the document in question. Kohen-Ẓedeḳ dared not refuse, but Saadia did. David deposed Saadia from office and banished him, appointing in his place the insignificant Joseph b. Jacob b. Satia. Saadia, however, took up the gauntlet; he, in turn, deposed David, and, together with his followers, appointed David's brother, Josiah Ḥasan, as exilarch. The Babylonian Jews were now divided into two parties, each of which appealed to the caliph Al-Muḳtadir. His successor, Al-Ḳahir, finally decided the case. The opposing exilarch was banished to Khorasan, where later on he died; and Saadia was deprived of his gaonate (beginning of 933). Resolution Saadia went to Bagdad, devoting the four years of his involuntary leisure to research. He was reinstated in consequence of a law case in which one of the parties concerned chose the exilarch as judge, while the other chose Saadia, whereupon David had the man maltreated who appealed to his adversary. This caused general excitement, and restoration of peace between the two became imperative. A reconciliation took place on February 27, 937. The opposing gaon was removed from office, and Saadia forgot his injuries. After the exilarch's death Saadia even voted for his son Judah as his successor. Calendar controversy David took part in the controversy with Ben Meïr in regard to the fixing of the calendar; and he was one of those who excommunicated the agitator (see "Rev. Et. Juives," xl. 261, xlii. 182). References Sherira's Letter, in Med. Jew. Chron. i. 33, 39; Abraham ibn David, Sefer ha-Ḳabbalah, in Med. Jew. Chron. i. 65 (compare ii. 79, 224); Mas'udi, in De Sacy's Chrestomathie Arabe, i. 350; Grätz, Gesch. v. passim; Jew. Quart. Rev. xiv. 39; Felix Lazarus, Die Häupter der Vertriebenen, in Brüll's Jahrbücher, x. 179; Harkavy, Studien und Mittheilungen, v. 209, 221, 222 et seq 940 deaths Exilarchs 10th-century Jews Year of birth unknown he:דוד בן זכאי
```xml import {StoreFn} from "../../decorators/storeFn.js"; import {useDecorators} from "./useDecorators.js"; import {AnyDecorator} from "../../interfaces/AnyDecorator.js"; import {Store} from "../../domain/Store.js"; describe("useDecorators", () => { function decorator1(value: any) { return StoreFn((store) => { store.set("decorator1", value); }); } function decorator2(value: any) { return StoreFn((store) => { store.set("decorator2", value); }); } function decorate(): AnyDecorator { return useDecorators(decorator1("test1"), decorator2("test2")); } @decorate() class Test {} it("should apply all decorators", () => { expect(Store.from(Test).get("decorator1")).toBe("test1"); expect(Store.from(Test).get("decorator2")).toBe("test2"); }); }); ```
St. Anthony's Rock is a geological limestone sea stack and tourist attraction located in the central part of the city of St. Ignace, Michigan in Michigan's Upper Peninsula. Description St. Anthony's Rock is a now-landlocked sea stack or sea chimney, geologically similar to several features on Mackinac Island, such as Arch Rock or Sugar Loaf. As with nearby Castle Rock, a large chunk of Mackinac breccia resisted the Wisconsinan Glaciation, as well as the erosional forces of the subsequent post-glacial Lake Algonquin. The post-Ice Age meltoff caused the waters of Lake Algonquin to be much higher than the water level of Lake Huron is today, eroding and washing away the softer rock around the stack. A local story claims that the rock was named by visitor (1679) Father Louis Hennepin, the chaplain priest of the explorer La Salle. La Salle and Hennepin carried out a program of public devotions to the Roman Catholic saint Anthony of Padua, and Hennepin is known to have named Saint Anthony Falls after the same saint in 1680. With the coming of rails to St. Ignace in 1881, a railroad train right-of-way snaked directly adjacent to the unusual rock formation. St. Anthony's Rock became a tourist attraction celebrated in postcards and photographs. After a period of neglect the rock was re-celebrated in the 2010s as the site of a small, free-access public park. A small fence protected the rock from vandals, and a sign described its unusual geology and history. See also Castle Rock Rabbit's Back Straits of Mackinac References Geology of Michigan Landforms of Mackinac County, Michigan Roadside attractions in Michigan Stacks of the United States Tourist attractions in Mackinac County, Michigan
Thoorpu Padamara () is a 1976 Indian Telugu-language romantic drama film written and directed by Dasari Narayana Rao. A remake of the Tamil film Apoorva Raagangal (1975), it revolves around a rebel (Narasimha Raju) who falls in love with a much older woman (Srividya) while the woman's daughter (Madhavi) is drawn to the rebel's father (Kaikala Satyanarayana). The rest of the story revolves around the four characters and their problems. The film was released on 23 October 1976 and became a commercial success. Plot Suryam, a young rebel, is nursed back to health by a lonely classical singer Shivaranjani, who is significantly older than him. Though the two fall in love and want to be together, they find many obstacles in their paths. Cast Narasimha Raju as Suryam Srividya as Shivaranjani Madhavi as Kalyani Kaikala Satyanarayana as Suryam's father Mohan Babu as Shivaranjani's ex-husband Nagesh as Shivaranjani's family doctor C. Narayana Reddy as himself Murali Mohan as himself Production Thoorpu Padamara, a remake of K. Balachander's Tamil film Apoorva Raagangal (1975), was written and directed by Dasari Narayana Rao. It was produced by K. Raghava under Pratap Art Productions, photographed by K. S. Mani and edited by K. Balu. Srividya and Nagesh reprised their roles from the Tamil original. Themes Thoorpu Padamara, like Narayana Rao's other films, explores "human relation dynamics". According to Sridhar Sattiraju of Telugu360, the entire story can be summed in one of the film's dialogues which translates to: "Why the ‘Twain shall never meet, conveyed the essence of what happens when improbable relationships exist between say, a father-in-law and a daughter-in-law or say, a mother-in-law and son-in-law". Soundtrack The soundtrack was composed by Ramesh Naidu, and the lyrics were written by C. Narayana Reddy. Instead of reusing the songs from Apoorva Raagangal, Naidu was given freedom by Narayana Rao to compose original songs. Release Thoorpu Padamara was released on 23 October 1976, and became a commercial success. References External links 1976 romantic drama films 1970s Telugu-language films Films about singers Films directed by Dasari Narayana Rao Indian romantic drama films Sexuality and age in fiction Telugu remakes of Tamil films
Votes for Women, a popular slogan in the campaign for women's suffrage in the United States, was also the title of a January 20, 1901 speech by American author and humorist Samuel Langhorne Clemens, better known as Mark Twain. In this speech Twain spoke out for women's full enfranchisement in the electoral process and predicted that within 25 years, they would have the right to vote. This proved to be true, the Women's Suffrage Amendment to the Constitution being passed by the United States Congress in 1919 and ratified by all the states in 1920. This speech was given at the Annual Meeting of the Hebrew Technical School for Girls in the Temple Emanuel. See also Declaration of Sentiments Ain't I a Woman? Address to the Women of America References External links Excerpts from Votes for Women History of women's rights in the United States Women's suffrage in the United States Feminism in the United States 1901 in New York City Works by Mark Twain 1901 speeches 1901 in women's history
The 1916 season of Úrvalsdeild was the fifth season of league football in Iceland. The same three teams participated that entered last year with Fram winning the championship for a fourth time in a row. League standings Results References Úrvalsdeild karla (football) seasons Iceland Iceland Urvalsdeild
Iceberg Vodka is a vodka produced by the Canadian Iceberg Vodka Corporation. The vodka is produced using water from icebergs harvested off the coast of Newfoundland blended with neutral grain alcohol from peaches and cream corn from Ontario. Iceberg's product line includes vodka, gin, rum, and flavoured vodka. It is the only national premium vodka brand that is fully owned and produced in Canada. History The Canadian Iceberg Vodka Corporation was founded in 1994, in Toronto, and began harvesting water from icebergs off the coast of Newfoundland in 1995. In 2013, Iceberg added three kinds of flavoured vodka to their product line: cucumber, crème brûlée, and chocolate mint. Awards Won the 2006–07 Golden Icon Award for Best Vodka; the Golden Icon Awards are presented annually by Travolta Family Entertainment. In 1998, the Beverage Tasting Institute gave Iceberg a 'superlative' score of 94 out of 100, ranking it second behind the acclaimed Grey Goose in a blind taste test of the world's best vodkas. References External links Iceberg Vodka Iceberg Vodka at iVodka.com Iceberg Vodka on Twitter Canadian vodkas Canadian brands Culture of Newfoundland and Labrador
Tronson is a surname. Notable people with the surname include: Mark Tronson (born 1951), Australian Baptist pastor Robert Tronson (1924–2008), English film and television director See also Philippe Charles Tronson du Coudray (1738–1777), French Army officer
Otto Jacob Max Hilzheimer (15 November 1877, Kehnert - 10 January 1946, Berlin-Charlottenburg) was a German zoologist who specialized in the mammals and was a pioneer of conservation in Berlin. He was also an expert on domestic animals in antiquity. Max was born to Alfred and Johanna née Pringsheim (Max's uncle Nathaniel Pringsheim was a botanist). Max studied zoology at Strasbourg and Munich and worked under Richard Hertwig with a doctoral thesis on the Hypopharynx of Hymenoptera. In 1904 he was in southern France at the Laboratoire Russe de Zoologie von Villefranche-sur-Mer. He worked at the Strasbourg Museum and habilitated from the Technical University, Stuttgart in 1907. Hilzheimer was a co-founder of the German Society for Mammalogy in 1926 along with Hermann Pohle and Kurt Ohnesorge. He was also a pioneer conservationist who established a nature conservation unit in Berlin in March, 1927. This would later become the Berlin Commission for Natural Heritage Management with him as the first commissioner. He was also a director at the Märkisches Museum until January 1936. In 1935, his German citizenship was withdrawn due to his Jewish background and he was removed from all positions in 1936. His position was taken by Johannes Karl Wilhelm Klose (1880-1963). He married Walburga Münzhuber, from a Catholic family, in 1907, and it was through her efforts that he survived the Nazi period. He lived in seclusion and died in 1946. Hilzheimer was an expert on the antiquity of the breeds of dog, sheep and horse. References External links Beitrag zur Kenntnis der nordafrikanischen Schakale nebst Bemerkungen über deren verhältnis zu den haushunden, insbesondere nordafranischen und altägyptischen (1908) Handbuch der Biologie der Wirbeltiere (1913) 20th-century German zoologists 1877 births 1946 deaths Scientists from Saxony-Anhalt
Madeleine (Kétéskwew) Dion Stout is a Cree author, speaker, and health care professional. She was appointed to the Order of Canada in 2015. Personal life and education Madeleine Dion Stout was born on Kehewin First Nation, Alberta. She graduated as a registered nurse from the Edmonton General Hospital in 1968. Dion Stout later went on to continue her education at the University of Lethbridge, Alberta to earn a bachelor's degree in nursing in 1982. Dion Stout was one of the first Indigenous women to graduate from a university level nursing program. In 1993 Dion Stout received a master's degree in international affairs from Carleton University in Ottawa, Ontario. Dion Stout is currently a resident of Tsawassen First Nation. Career After becoming a registered nurse Dion Stout worked at Health and Welfare Canada the Edmonton General Hospital, and as a public health nurse on Peigan First Nation. After receiving her nursing degree Dion Stout gained employment with the Alberta Indian Health Care Commission. In 1983 she began working as a special advisor to the federal minister of Health and Welfare. In 1985 she was appointed as the director of the Indian and Inuit Health Careers Program. Dion Stout is a former Canadian Studies professor at Carleton University and served as the founding director of Carleton's Centre for Aboriginal Education, Research and Culture (1989 - 1993). Madeline has held numerous appointments on professional committees and associations including: National Collaborating Centre for Aboriginal Health board member; Well Living House at St. Michael's Hospital Counsel of Grandparents; president of the Aboriginal Nurses Association of Canada; member of the National Forum on Health; British Columbia First Nations Health Authority Board member; Vice-Chair of the Mental Health Commission of Canada board of directors. Dion Stout is currently self-employed as the president of Dion Stout Reflections Inc. and currently speaks throughout North America and Europe on topics relating to Indigenous health, reconciliation, and healing. Bibliography Aboriginal Canada: Women and Health. Ottawa: Women's Health Bureau, Health Canada. 1996. Aboriginal Women in Canada: strategic research directions for policy development. Ottawa: Status of Women Canada.1998. By Madeleine Dion Stout, Gregory D. Kipling. Aboriginal Women's Health Research Synthesis Project: Final Report. Ottawa: The Centres. 2001. By Madeleine Dion Stout, Gregory D. Kipling, Roberta Stout. The Health Transition Fund. Ottawa: The Fund. 2002. By Madeleine Dion Stout, Gregory D. Kipling. Aboriginal People, Resilience and the Residential School Legacy. Ottawa: Aboriginal Healing Foundation. 2003. By Madeleine Dion Stout and Gregory Kipling Lump Sum Compensation Payments Research Project: The Circle Rechecks Itself. Aboriginal Healing Foundation. 2007. "A Survivor Reflects on Resilience" in From Truth to Reconciliation: Transforming the Legacy of Residential Schools. Aboriginal Healing Foundation. 2008. Restoring the Balance: First Nations Women, Community, and Culture. Winnipeg: University of Manitoba Press. 2009. By Eric Guimond, Madeleine Dion Stout, Gail Guthrie Valaskakis. . Knowledge Exchange Workshop: Successful Approaches for the Prevention of Aboriginal Family Violence - Final Report. Quebec. 2009. "Towards Nahi: Addressing Health Equity in Research Involving Indigenous People" in Canadian Journal of Nursing Research 2012. By Annette J. Browne and Madeleine Dion Stout. Awards Stout has received numerous awards for her work in the health care field and with Indigenous communities including: Assiniwkimaik Award, Aboriginal Nurses Association of Canada Distinguished Alumnus Award, University of Lethbridge (1995) Honorary Doctor of Laws, University of British Columbia Honorary Doctor of Laws, University of Ottawa Centennial Award, Canadian Nurses Association of Canada (2008) Health Category, National Aboriginal Achievement Award (2010) Honorary Doctor of Laws, Carleton University (2015) Order of Canada Appointment (2015) References Year of birth missing (living people) Living people Members of the Order of Canada Cree people 20th-century First Nations writers Indspire Awards 21st-century First Nations writers
Jonathan "Jonny" Foster is a fictional character from the British ITV soap opera, Emmerdale, played by Richard Grieve. He appeared from 2007 to 2008 and in 2009. Openly gay, in 2008 Jonny enters into a civil partnership with Paul Lambert (Mathew Bose), the first of any primetime soap opera. Character creation and development It was announced on 29 March 2008 that Jonny was being written out of the programme, and it was reported that Grieve had been axed by series producer Anita Turner, in addition to the axing of characters Grayson Sinclair (Christopher Villiers) and Perdita Hyde-Sinclair (Georgia Slowe). Before this there was already reports of low morale, and the axing apparently caused friction on set. At the time Grieve said that while he had "thoroughly enjoyed the role" he thought "the time is right to move on." In December 2008, it was announced that Jonny would be returning to Emmerdale to play a part in the departure of Paul. The actor said that he "couldn't resist this opportunity" to return to the programme. Storylines Jonny first appears in February 2007 when he strikes up a friendly working relationship with Grayson Sinclair. Grayson's wife, Perdita Hyde-Sinclair, is worried that they are having an affair and invites Johnny to a dinner party with her friend, Paul Lambert. They get on and soon start dating. After six months together, Jonny moves into Victoria Cottage with Paul, Paul's father, Rodney Blackstock (Patrick Mower), and Emily Kirk (Kate McGregor). He confides in Paul that, as a teenager, he suffered from an eating disorder as a result of loneliness and unhappiness. During his time in Emmerdale, Jonny sets up an aerobics dance class and fitness club. When Rosemary King (Linda Thorson) causes problems in Grayson and Perdy's marriage, leading to Perdy being sectioned, Paul spends more time with Grayson. He acts as go-between as Perdy refuses to see Grayson and this leads to Paul developing feelings for Grayson and Jonny asks Paul to marry him. Paul accepts but has a one-night stand with Grayson. When Grayson tells Paul it meant nothing to him, Paul feels guilty and tells Jonny but persuades Jonny that it was a one-off and on 3 March 2008, they get married at Hotten Registry Office. Later that day, they have a 2nd ceremony at Home Farm as neither can tell their parents they have already married. In July, Katie Sugden (Sammy Winward) gives birth to Grayson and Perdy's son – she agreed to be their surrogate when they were still together. Katie and Grayson agreed to raise the child together and allow Perdy access but Katie changes her mind when she finds out about Grayson and Paul's one-night stand. Katie did not tell Perdy of her plans to give her the baby, so after delivering the baby in the back of Matthew King's (Matt Healy) car, she phones Grayson with the news but is convinced by Katie and Matthew to leave with the baby. Jonny, however, refuses to believe that Paul did not warn Grayson but is coming round until he sees Paul and Grayson hug. Although, Paul said nothing had happened and he had not reciprocated the hug, Jonny told Paul that he could no longer trust him and leaves at the end of the month. He later texts asking for a divorce. In January 2009, Jonny requests they close their joint bank account. Paul's friends, Lily Butterfield (Anne Charleston) and Leyla Harding (Roxy Shahidi), seeing how upset he is decides to try to reconcile him and Jonny. This causes Jonny's mother, Patricia, to visit. After initial confusion, Paul convinces Patricia that he still loves Jonny, who has moved to Australia. He plans to travel to Australia to try to rebuild his relationship with Jonny, but his mother Val Pollard (Charlie Hardwick) lies and tells him that Rodney has a heart condition, hoping to stop him leaving while Lily gets in touch with Jonny and arranges a meeting between him and Paul. While they both love each other, Paul tells Jonny he cannot leave Emmerdale because of his father's condition. However, on the day Jonny is due to fly out, Paul finds out his mother was lying and leaves for Australia Reception On 3 March 2008, Paul and Jonny made British television history by becoming the first couple on a primetime soap opera to enter a civil partnership since the Civil Partnership Act 2004 came into force on 5 December 2005. Although radio soap The Archers and daytime soap Doctors had previously featured civil partnerships, Emmerdale was the first primetime soap opera to do so. Matthew Bose, who plays Paul, said he was "proud" Emmerdale was the first, and commented that soaps "have a great responsibility to show things as they change and be cutting edge". References Emmerdale characters Fictional gay men Fictional Australian people Male characters in television Television characters introduced in 2007 Fictional LGBT characters in television Fictional characters in a same-sex marriage
Kullenga is a village in Tapa Parish, Lääne-Viru County, in northeastern Estonia. References Villages in Lääne-Viru County
The 2018 Healthy Ageing Tour was a women's cycle stage race that was held in the Netherlands from 4 to 8 April 2018. The 2018 edition of the race was the eighth running of the Healthy Ageing Tour, being held with a UCI rating of 2.1. The race was marked by the performance of the entire team; aside from winning the team time trial stage, their riders Anna van der Breggen, Amy Pieters and Chantal Blaak won three others. In the overall classification, Pieters won by 22 seconds ahead of Blaak, while Christine Majerus completed the podium – just ahead of van der Breggen, in a 1–2–3–4 – a further 20 seconds in arrears. The other major jerseys were won by Kirsten Wild (points for ), Natalie van Gogh (sprints for ) and Lisa Klein (young rider for ). Teams A total of 20 teams competed in the race, including 9 UCI Women's Teams. Route Stages Stage 1 4 April 2018 — Heerenveen to Heerenveen, , individual time trial (ITT) Stage 2 5 April 2018 — Westerkwartier to Grootegast, Stage 3a 6 April 2018 — Oldambt to Winschoten, Stage 3b 6 April 2018 — Stadskanaal to Stadskanaal, , team time trial (TTT) Stage 4 7 April 2018 — Hogeland to Winsum, Stage 5 8 April 2018 — Groningen to Groningen, Classification leadership table In the 2018 Healthy Ageing Tour, six different jerseys were awarded. For the general classification, calculated by adding each cyclist's finishing times on each stage, and allowing time bonuses for the first three finishers at intermediate sprints and at the finish of mass-start stages, the leader received a yellow jersey. This classification was considered the most important of the 2018 Healthy Ageing Tour, and the winner of the classification was considered the winner of the race. Additionally, there was a points classification, which awarded a green jersey. In the points classification, cyclists received points for finishing in the top 15 in a stage. For winning a stage, a rider earned 25 points, with 20 for second, 16 for third, 14 for fourth, 12 for fifth, 10 for sixth with a point fewer per place down to a single point for 15th place. The third classification was the sprints classification, the leader of which was awarded an orange jersey. In the sprints classification, riders received points for finishing in the top three at intermediate sprint points during each stage. The fourth jersey represented the young rider classification, marked by a white jersey. This was decided in the same way as the general classification, but only riders born after 1 January 1996 were eligible to be ranked in the classification. Other jerseys were awarded to the best club rider amongst the amateur riders (blue), and for the most courageous rider showing fighting spirit (red). There was also a classification for teams, in which the times of the best three cyclists per team on each stage were added together; the leading team at the end of the race was the team with the lowest total time. See also 2018 in women's road cycling Notes References Sources External links 2018 in women's road cycling 2018 in Dutch sport 2018
Edward "Cousin Eddie" Garafola (March 25, 1938 – September 28, 2020) was a Gambino crime family captain who dominated the construction industry in New York City until the early 2000s. Garafola is believed to have been an American Mafia member since the mid-1970s. He was the brother-in-law of former underboss Sammy "The Bull" Gravano, married to Gravano's sister Fran. In May 1985, Garafola was charged with tax evasion for failing to report income from a New York discothèque that he owned with Gravano and a third Staten Island resident. Garafola and Gravano were also suspects to the murder of Frank Fiala outside of the same discothèque, although they were not convicted. On March 2, 2000, Garafola was charged with racketeering in a classic "pump and dump" stock fraud and money laundering scheme that made him $41 million over a three-year period. Slapped with a 43-count indictment and several RICO charges, Garafola was prepared to do life in prison. Garafola's son Mario, a reputed Gambino soldier and key player, was also charged and convicted in the plot. Edward copped a plea agreement to do life in prison in order reduce his son's sentence. As of April 2012, Mario Garafola had been released from FCC Allenwood. Said Gravano: It's my brother-in-law Eddie. He's caused me nothing but trouble with his devious ways, always looking for the angle. He was a schemer, he always knew how to make money. But he's got a big edge with me. His wife is my sister and I ain't ever going to hurt her. In September 1996, Peter Gotti visited his brother, Gambino boss John Gotti, in prison. John reportedly told Peter, then acting boss, to have Thomas "Huck" Carbonara and Garafola kill Gravano. Carbonara and Garafola reportedly made several trips to Arizona, where the media had revealed Gravano was hiding, to set up a hit. Gravano's arrest on drug charges in 2000 ended this venture. On May 22, 2003, Garafola was indicted in New York for plotting to murder Gravano. Suspected of being involved in nearly two dozen murders dating back to the 1970s, Garafola pleaded guilty to the 2004 murder of his cousin, Edward "The Chink" Garofalo, although he claimed in court documents that he was not present the night of the shooting. On September 6, 2007, Garafola was sentenced to life in prison. In 2015, Garafola was denied compassionate release. A law enforcement source said Edward Garafola has not been "put on the shelf", or retired by the Gambinos, and he could theoretically give orders to mob associates if he came home. He is not related to his namesake Eddie Garafola who was killed in 1990 in a hit orchestrated by Sammy Gravano. Garafola died on September 28, 2020, and his remains were interred at Moravian Cemetery. References Further reading Eppolito, Lou and Bob Drury. Mob: Stories of Death and Betrayal from Organized Crime. New York: Simon & Schuster, 1992. Maas, Peter. Underboss: Sammy the Bull Gravano's Story of Life in the Mafia. New York: HarperCollins Publishers, 1997. Milito, Lynda and Reg Potterton. Mafia Wife: My Story of Love, Murder, and Madness. New York: HarperCollins Publishers, 2004. External links United States of America vs. JOHN MATERA, THOMAS CARBONARO, and PETER GOTTI 1939 births 2020 deaths American gangsters of Italian descent Gambino crime family
Nizhnyaya Vorobzha () is a rural locality () in Chernitsynsky Selsoviet Rural Settlement, Oktyabrsky District, Kursk Oblast, Russia. Population: Geography The village is located on the Vorobzha River (a left tributary of the Seym River), 72 km from the Russia–Ukraine border, 16 km south-west of Kursk, 1 km south-west of the district center – the urban-type settlement Pryamitsyno, 3.5 km from the selsoviet center – Chernitsyno. Streets There are the following streets in the locality: Selskaya, Yubileynaya and Zapolnaya (133 houses). Climate Nizhnyaya Vorobzha has a warm-summer humid continental climate (Dfb in the Köppen climate classification). Transport Nizhnyaya Vorobzha is located 10 km from the federal route Crimea Highway (a part of the European route ), on the road of regional importance (Kursk – Lgov – Rylsk – border with Ukraine), 2 km from the nearest railway station Dyakonovo (railway line Lgov I — Kursk). The rural locality is situated 28 km from Kursk Vostochny Airport, 119 km from Belgorod International Airport and 228 km from Voronezh Peter the Great Airport. References Notes Sources Rural localities in Oktyabrsky District, Kursk Oblast
```objective-c // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_PLATFORM_PLATFORM_EVENT_DISPATCHER_H_ #define UI_EVENTS_PLATFORM_PLATFORM_EVENT_DISPATCHER_H_ #include <stdint.h> #include "ui/events/events_export.h" #include "ui/events/platform/platform_event_types.h" namespace ui { // See documentation for |PlatformEventDispatcher::DispatchEvent()| for // explanation of the meaning of the flags. enum PostDispatchAction { POST_DISPATCH_NONE = 0x0, POST_DISPATCH_PERFORM_DEFAULT = 0x1, POST_DISPATCH_STOP_PROPAGATION = 0x2, }; // PlatformEventDispatcher receives events from a PlatformEventSource and // dispatches them. class EVENTS_EXPORT PlatformEventDispatcher { public: // Returns whether this dispatcher wants to dispatch |event|. virtual bool CanDispatchEvent(const PlatformEvent& event) = 0; // Dispatches |event|. If this is not the default dispatcher, then the // dispatcher can request that the default dispatcher gets a chance to // dispatch the event by setting POST_DISPATCH_PERFORM_DEFAULT to the return // value. If the dispatcher has processed the event, and no other dispatcher // should be allowed to dispatch the event, then the dispatcher should set // POST_DISPATCH_STOP_PROPAGATION flag on the return value. virtual uint32_t DispatchEvent(const PlatformEvent& event) = 0; protected: virtual ~PlatformEventDispatcher() { } }; } // namespace ui #endif // UI_EVENTS_PLATFORM_PLATFORM_EVENT_DISPATCHER_H_ ```
```objective-c // // vcruntime_new.h // // // Declarations and definitions of memory management functions in the VCRuntime. // #pragma once #include <vcruntime.h> #ifdef __cplusplus extern "C++" { #pragma pack(push, _CRT_PACKING) #pragma warning(push) #pragma warning(disable: 4985) // attributes not present on previous declaration #pragma push_macro("new") #undef new #ifndef __NOTHROW_T_DEFINED #define __NOTHROW_T_DEFINED namespace std { struct nothrow_t { }; #ifdef _CRT_ENABLE_SELECTANY_NOTHROW extern __declspec(selectany) nothrow_t const nothrow; #else extern nothrow_t const nothrow; #endif } #endif _Ret_notnull_ _Post_writable_byte_size_(_Size) _VCRT_ALLOCATOR void* __CRTDECL operator new( size_t _Size ); _Ret_maybenull_ _Success_(return != NULL) _Post_writable_byte_size_(_Size) _VCRT_ALLOCATOR void* __CRTDECL operator new( size_t _Size, std::nothrow_t const& ) throw(); _Ret_notnull_ _Post_writable_byte_size_(_Size) _VCRT_ALLOCATOR void* __CRTDECL operator new[]( size_t _Size ); _Ret_maybenull_ _Success_(return != NULL) _Post_writable_byte_size_(_Size) _VCRT_ALLOCATOR void* __CRTDECL operator new[]( size_t _Size, std::nothrow_t const& ) throw(); void __CRTDECL operator delete( void* _Block ) throw(); void __CRTDECL operator delete( void* _Block, std::nothrow_t const& ) throw(); void __CRTDECL operator delete[]( void* _Block ) throw(); void __CRTDECL operator delete[]( void* _Block, std::nothrow_t const& ) throw(); void __CRTDECL operator delete( void* _Block, size_t _Size ) throw(); void __CRTDECL operator delete[]( void* _Block, size_t _Size ) throw(); #ifndef __PLACEMENT_NEW_INLINE #define __PLACEMENT_NEW_INLINE _Ret_notnull_ _Post_writable_byte_size_(_Size) inline void* __CRTDECL operator new(size_t _Size, _Writable_bytes_(_Size) void* _Where) throw() { (void)_Size; return _Where; } inline void __CRTDECL operator delete(void*, void*) throw() { return; } #endif #ifndef __PLACEMENT_VEC_NEW_INLINE #define __PLACEMENT_VEC_NEW_INLINE _Ret_notnull_ _Post_writable_byte_size_(_Size) inline void* __CRTDECL operator new[](size_t _Size, _Writable_bytes_(_Size) void* _Where) throw() { (void)_Size; return _Where; } inline void __CRTDECL operator delete[](void*, void*) throw() { } #endif #pragma pop_macro("new") #pragma warning(pop) #pragma pack(pop) } // extern "C++" #endif // __cplusplus ```
David John Mays (November 22, 1896 – February 17, 1971) was an American lawyer and writer. He attempted to slow racial desegregation on behalf of Byrd Organization during the Massive Resistance era. Mays served as counsel to the Gray Commission which tried to formulate segregationists' response to the United States Supreme Court rulings in 1954 and 1955 in consolidated cases known as Brown v. Board of Education. He later unsuccessfully defended actions taken against NAACP attorneys (although he had argued against adoption of those laws and correctly predicted they would be overturned) and significantly unequal legislative reapportionment. In 2008 the University of Georgia Press published an annotated volume of excerpts of his diaries concerning the early years of Massive Resistance (1954-1959).<ref>Race Reason and Massive Resistance: The Diary of David J. Mays, 1954-1959. Edited by James R. Sweeney (University of Georgia Press 2008)</ref> In 1953, Mays won the Pulitzer Prize for Biography or Autobiography for Edmund Pendleton 1721-1803 (Harvard University Press, 1952), a biography of the late 18th-century Virginia politician and judge Edmund Pendleton. Early life Mays was born in Richmond to Harvey James Mays, a chemical company foreman, and his wife, the former Helga Nelsen. His Danish immigrant grandfather, Rasmus Nelsen, founded the Nelsen funeral home in Richmond. He eventually had 10 brothers and sisters and attended public schools near his father's employment stations in Alabama and a suburb of Memphis, Tennessee. While he and his father traveled from Washington, D.C., to visit Vanderbilt University, they stopped in Ashland, Virginia, where the elder Mays renewed a friendship and the younger Mays ultimately decided to attend Randolph-Macon Academy. David Mays never received a degree from that institution, although he studied and achieved high grades both from 1914-1916 and 1919-1920. Between these academic terms, he spent a summer selling reference books in southern Delaware, and against his father's wishes enlisted with the First Delaware Infantry for service on the Mexican border against Pancho Villa in 1916-1917 (although his unit never left Deming, New Mexico). He later served as a First Lieutenant in the U.S. Army Infantry with the American Expeditionary Force in France, although again he never reached the combat front before the war ended. Mays was a lifelong Democrat and nominal member of the Methodist Church, although he stopped supporting the denomination after it became involved in political activities, opposing the presidential candidacy of Al Smith because of his Catholic religion. Mays kept diaries for almost every year between his college schooling and old age. On May 22, 1917, he went with his father to witness the Lynching of Ell Persons, a 51-year-old black woodcutter whom a 5,000 person mob pulled from a train in Memphis en route to a court appearance. Persons had been accused of the gruesome rape and decapitation of a 16-year-old white girl, Antoinette Rappel. However, the evidence was flimsy (supposedly images captured by her dying eyes, found after her exhumation, a now-discredited technique), his confession probably under duress, and Persons never received a trial. Mays was fascinated by the scene and mob violence and stood near Persons' head as the black man was chained to the ground, doused with gasoline and burned alive. No-one was ever indicted for either murder, and the lynching propelled creation of the Memphis branch of the NAACP. After his military discharge and graduation from Randolph-Macon Academy, Mays attended the University of Richmond law school, and graduated with a LL.B. in 1924. Beginning in 1926, he held a lecturer position at that law school (until 1942), then served on its Board of Trustees (and ultimately wrote a history of the law school). That financial stability helped him to marry his cousin, Ruth Reams, despite the opposition of both families because of their consanguinity. She eventually would help her husband with his historical research and donated his papers to the Virginia Historical Society; they had no children. Legal career Upon being admitted to the Virginia bar in 1923, Mays began working with one of his professors, John Randolph Tucker. Their firm, Tucker, Mays, Cabell and Moore (later, Mays, Valentine, Davenport and Moore) became one of Richmond's leading law and lobbying firms (and long after his death merged into Troutman Sanders. Mays came to specialize in corporate law, and published a textbook on Business Law in 1933. While his partner John Randolph Tucker represented the Virginia Bankers Association from 1933 until his death, Mays's major clients included the state trucking and meatpacking associations. The Virginia Bar Association elected Mays its president for the 1958-1959 term. He also served as President of the Richmond Bar Association and was elected a Fellow of the American Bar Foundation and of the American College of Trial Lawyers. He was also a member of the American Bar Association, New York City Bar Association, Sigma Nu Phi and Phi Beta Kappa. Massive Resistance Governor Thomas B. Stanley, allied with the Byrd Organization, appointed Mays as counsel to the Gray Commission (after its chairman, Garland "Peck" Gray), which was to craft Virginia's response to Brown v. Board of Education. Following Mays' advice, the commission created a local-option approach to desegregation. However, segregationists in Virginia became radicalized (in part through the rhetorical efforts of then-newspaperman James J. Kilpatrick and U.S. Senator Harry F. Byrd). By the time Virginia's legislature next met (in a special session) to consider the proposals, even Gray wanted to include what Mays thought were unconstitutional measures which courts would strike down, such as withholding funds from any school that allowed mixing of races. Mays thought the pupil assignment plan based on showings of disturbances of the peace might survive court scrutiny, and North Carolina did have success with that approach. Nonetheless, Mays helped draft parts of what became known as the Stanley Plan. State Senators Charles R. Fenwick, Hank Mann and John B. Boatwright also included laws to restrict practices of the NAACP. The Virginia legislature passed the amalgam in September 1956 and governor Stanley signed it into law. However, by January 1959, both federal courts and the Virginia Supreme Court had begun striking down major elements. Mays resigned his position with the Gray Commission after the Stanley Plan appropriated more money to the Attorney General's office to fight desegregation. He and his firm were hired to handle legal challenges to the ethics of civil rights attorneys in what Mays called the "NAACP Cases". Those were challenges to the newly expanded state ethics laws brought by the NAACP through its attorneys Thurgood Marshall, Spottswood Robinson and Robert L. Carter (all of whom later became federal judges). Mays thought the Virginia State Bar would bring charges against Oliver Hill, but only an unsuccessful attempt was made to disbar Samuel W. Tucker. While the U.S. Supreme Court agreed with Mays' abstention argument (wait for state court interpretation) in Harrison v. NAACP in June 1959, and the Virginia Supreme Court only struck down one of the new laws against the NAACP the following year, the rest of the anti-NAACP laws in the Stanley Plan were ultimately stricken down in NAACP v. Button in 1963. Meanwhile, in 1959 Mays addressed a subcommittee of the U.S. Senate on A Question of Intent: The States, Their Schools and the 14th Amendment. Governor Stanley's successor, J. Lindsay Almond (also a Byrd ally), appointed Mays Chairman of the Virginia Commission on Constitutional Government (CCG), which became a major factor in Massive Resistance, although Mays had initially sought assurances it would not merely be another tool in the "school fight". Mays sought to use the CCG to attract Northern support for southern positions on constitutional issues. Eugene B. Sydnor Jr. of Richmond had suggested its creation in 1958, to assist in what he called defense of states rights. Not only did the CCG survive calls for its abolition by Republican gubernatorial candidate Ted Dalton in 1961, it lasted for a decade. Only the tuition assistance program to attend private schools (including "segregation academies") survived longer (until 1969). In what may have been the CCG's most influential period, Mays invited Republican Conservatives from Pennsylvania to Williamsburg in 1962 to explore setting up a similar commission in that state (which never occurred, due to the opposition of moderate governor William Scranton). The next year, Mays' fiery segregationist vice-chairman, James J. Kilpatrick of the Richmond News Leader, published an analysis of the post-Civil War Civil Rights Cases and two pamphlets: "Civil Rights and Legal Wrongs" attacking the Civil Rights bill proposed by President Kennedy and "Civil Rights and Federal Wrongs" attacking expansion of the Equal Employment Opportunity Commission. Mays also handled voting rights litigation on Virginia's behalf through his firm. He argued and lost Davis v. Mann in 1953 and the following year unsuccessfully defended Virginia's legislative reapportionment before the Virginia Supreme Court in Wilkins v. Davis. In March 1965, Mays also testified against President Lyndon Johnson's voting rights bill before the U.S. House Judiciary Committee, as requested by U.S. Rep. William M. Tuck. In Hughes v. WMCA (1965), the Supreme Court issued a per curiam opinion denying Virginia's (and New York's) reapportionment arguments. Historical research Mays also had an avocation for historical research, and after years of lunchtime research at the Library of Virginia and various dusty archives, published his two volume Edmund Pendleton biography, which won many accolades, including the Pulitzer Prize for Biography in 1953. He later edited and published a collection of Pendleton's correspondence. Mays managed to find many of Virginia's oldest court records, including some thought destroyed in the Confederate Army's evacuation fire of Richmond in 1864. At the time of his death, Mays was collaborating on editing the letters of John Taylor who like Pendleton lived in Caroline County, Virginia. The Virginia Historical Society (on whose board Mays served for 28 years) and Library of Virginia (on whose board he also served) also honored Mays. He also served on the Board of the McGregor Library of the University of Virginia, and on the council of the Institute of Early American History and Culture (affiliated with the College of William and Mary). Death and legacy Mays practiced law in Richmond until his death (after a debilitating illness) in 1971, and is buried in Hollywood Cemetery there. His widow donated his papers to the Virginia Historical Society in 1985, and the 25-year restriction on access has now expired. Bibliography Sketch of Judge Spencer Roane 1929 Business Law, Byrd Press, Richmond Virginia, 19 September 1933 Edmund Pendleton, 1721-1803: A Biography , Harvard University Press, 1952. Winner of the 1953 Pulitzer Prize for Biography or Autobiography. Edmund Pendleton, Letters and Papers In Pursuit of Excellence: History of the University of Richmond Law School, Richmond, 1970 Report Of The Committee On Federal-State Relationships As Affected By Judicial Decisions Conference Of Chief Justices, foreword by David J. Mays Race Reason and Massive Resistance: The Diary of David J. Mays, 1954-1959''. Edited by James R. Sweeney See also References External links (mainly under 'Mays, David John, 1896–' without '1971') 1896 births 1971 deaths 20th-century American lawyers People involved with the civil rights movement Lawyers from Richmond, Virginia Pulitzer Prize for Biography or Autobiography winners Virginia lawyers
The Maryland Department of Planning (MDP) is a cabinet-level agency in the government of the State of Maryland. The department is part of the Executive branch of the government and reports to the Governor of Maryland. The Maryland Department of Planning works with State and local government agencies to ensure comprehensive and integrated planning for the best use of Maryland's land and other resources. To local governments, the Department provides technical expertise, such as surveys, land use studies, and urban renewal plans. Also, the Department compiles data on the State for use in planning, including congressional redistricting. Implementing State planning and smart growth policies also is the responsibility of the Department of Planning. Background The history of State land use planning in Maryland goes back further than that of most states in the U.S. Although Maryland is 42nd among the 50 states in size (9,843.62 sq. miles), it is 19th in population (5,633,597) and ranks fifth in population density (580 per sq. mile). As a result, the pressure to use Maryland’s land for a wide range of uses has been intense and ongoing – as has concern for the impact and location of those uses. The issues of uncontrolled growth, premature rural subdivision, loss of productive soils, strip growth, loss of forest land, loss of Bay fisheries, loss of public Bay access, the need to plan for infrastructure and other capital improvements and the need to acquire forest land and set goals for agricultural land preservation have been troubling state planning officials since the late 1930s! This according to the report of the State Planning Commission, entitled Five Years of State Planning, published in 1938. The Department of Planning started out as the State Planning Commission in 1933, the first of its kind in the U.S. The commission was created to coordinate Depression-era public works programs of the National Resources Planning Board and the Works Projects Administration (WPA). Governor Albert C. Ritchie appointed the first five members. Dr. Abel Wolman served as chairman, with other members from the State Department of Health, Board of State Aid and Charities, State Roads Commission, and one member at-large. History The Maryland Department of Planning began in 1933 as the State Planning Commission. When the State Planning Department formed in 1959, the Commission became part of the new department. In 1969, the Department reorganized as the Maryland Department of State Planning. The Department was restructured in 1989 to become the Maryland Office of Planning (Chapter 540, Acts of 1989). Effective July 1, 2000, the Maryland Office of Planning was renamed the Maryland Department of Planning and became a cabinet-level agency. The Department is the principal staff agency for land use planning matters concerned with the resources and development of the State. In July 2005, the Division of Historical and Cultural Programs(DHCP) transferred to the Department of Planning from the Department of Housing and Community Development (DHCD). The transfer of DHCP to MDP added the Maryland Historical Trust (Maryland's State Historic Preservation Office, or SHPO), the Jefferson Patterson Park and Museum and the Banneker-Douglass Museum (preserving Maryland's African American heritage). The Banneker-Douglass Museum was transferred to the Governor's Office of Community Initiatives in 2007. In 2007, the Department organized to oversee three main functions: Communications and Intergovernmental Affairs; Planning Services; and Historical and Cultural Programs. In 2015, the Department re-organized into three main functions: Operations; Planning Services; and Historical and Cultural Programs. (See Historical Evolution) Agency heads 1933 Dr. Abel Wolman, First Chairman of the Maryland State Planning Commission 1942: I. Alvin Pasarew, Director, Maryland State Planning Commission 1959: James J. O'Donnell, Secretary, Maryland State Planning Department 1969: Vladimir A. Wahbe, Secretary, Maryland Department of State Planning 1979: Constance Lieder, Secretary, Maryland Department of State Planning 1989: Ronald Kreitner, Director, Maryland Office of Planning 2000: Harriet Tregoning, Secretary, Maryland Department of Planning 2001: Roy Kienitz, Secretary, Maryland Department of Planning 2003: Audrey A. Scott, Secretary, Maryland Department of Planning 2007: Richard Eberhart Hall, AICP, Secretary, Maryland Department of Planning 2015: David R. Craig, Secretary, Maryland Department of Planning 2016: Wendi W. Peters, Acting Secretary, Maryland Department of Planning 2017: Robert S. McCord, Esq., Secretary, Maryland Department of Planning 2022: Sandy Schrader, Acting Secretary, Maryland Department of Planning 2023: Rebecca L. Flora, AICP , Secretary, Maryland Department of Planning Sources Maryland Manual On-Line: A Guide to Maryland Government, Copyright September 18, 2009 Maryland State Archives (http://www.msa.md.gov/); See Maryland Department of Planning References External links Maryland Department of Planning's website 63 Years of State Planning 1959-2022 "The text of this webpage is available for modification and reuse under the terms of the Creative Commons Attribution-Sharealike 3.0 Unported License and the GNU Free Documentation License (unversioned, with no invariant sections, front-cover texts, or back-cover texts)."
Prunus carduchorum () is a rare species of wild almond native to Turkey, Iraq and Iran, near where the three countries meet. It is a subspinescent shrub 0.5-1.2 mtall. A native of the Eastern Anatolian montane steppe ecoregion, it prefers to grow at 1500 to 3000m above sea level on marl slopes, in degraded oak forests. Genetically it groups with other scrubby almonds from the region. Based on morphology it was thought to yield Prunus × pabotii when crossed with Prunus haussknechtii. Etymology The specific epithet, carduchorum, means "of the Carduchi, the wild tribesman of Kurdistan who so severely harried Xenophon and the Ten Thousand". References carduchorum Flora of Turkey Flora of Iraq Flora of Iran Plants described in 1965 Taxa named by Joseph Friedrich Nicolaus Bornmüller Taxa named by Robert Desmond Meikle
Wang Guangyang (; died 1379), courtesy name Chaozong (), was a Chinese official who served as a chancellor during the reign of the Hongwu Emperor in the Ming dynasty. Serving in both the military and civil bureacracies, he ascended as high as the position of Grand Chancellor of the Right (). Career Early career At the end of Yuan Dynasty, Wang Guangyang had achieved the highest ranking on the Imperial Examinations, but had failed to find employment. The rebel warlord Zhu Yuanzhang, who would go on to succeed at toppling the Yuan dynasty and reuniting China under the Ming dynasty as the Hongwu Emperor, conquered the region where Wang lived in 1355. Zhu met Wang, and the two spoke at length. Suitably impressed, Zhu recruited Wang, and appointed him as a local magistrate in his newly established Taiping fu (now Dangtu County, Anhui). After a few years rising through the ranks of civil administration, Wang was charged with managing requisitions for Chang Yuchun's military campaigns which helped establish the Ming dynasty. Zhu Yuanzhang established a central Secretariat for handling state correspondence in 1364. He appointed Li Shanchang to manage the affairs of this bureau, with the title Grand Chancellor of the Left (). Wang Guangyang was tasked as one of his assistants. Four years later, Zhu had unified China, and was enthroned as the Hongwu Emperor of the Ming dynasty. As Imperial Chancellor The Hongwu Emperor struggled with trusting his close advisors, and shuffled around or eliminated his most powerful ministers with some frequency. In the third year of his reign, 1370, Li Shanchang – the most powerful and respected individual in the bureaucracy – fell ill and was unable to work, leaving the Imperial Secretariat without a manager. Wang Guangyang was in Shaanxi at the time, and was summoned to the capital to take the position Vice Chancellor of the Left () to cover Li's workload. Appointed Vice Chancellor of the Right (), the junior of the two positions, was Yang Xian. Wang Guangyang seems to have been content to allow Yang to do most of the work for both of them, as Yang was able to make decisions unilaterally. Still Yang felt jealous of Wang and resented sharing power. So Yang suggested to the censor Liu Bing (劉炳) that he should impeach Wang for "failing to uphold his mother" (). When Liu sent a memorial to the throne, the emperor believed it, and transferred Wang out of the capital and back to his hometown in Gaoyou. Wang had not been home in over a decade, and according to his own poetry he was not particularly unhappy about his transfer. After a second memorial from Liu later that year, Wang was ordered to remove himself all the way to distant Hainan. Li Shanchang evidently communicated to the emperor that Wang's impeachment had been orchestrated on false pretenses by Yang Xian, so the emperor had Yang executed. Wang was recalled to the capital, given his old job back, and enfeoffed as nobility. His specific title was "Loyal and Diligent Earl" (), with a sinecure of 360 dan. Early the next year, Li Shanchang retired from office. His co-worker, Grand Chancellor of the Right () Xu Da, left the capital on a military campaign. Wang Guangyang was thereupon promoted to Grand Chancellor of the Right, with Li Shanchang's associate Hu Weiyong promoted to Vice Chancellor of the Left. The two of them were solely responsible for managing the Imperial Secretariat, with the other two positions unfilled or unattended. Wang Guangyang and Hu Weiyong sat atop the Hongwu Emperor's bureaucracy for the next two years, then Wang fell out of favour and was sent away from the capital again, this time to Guangdong Province in a position of authority. After some time, during which Hu was promoted twice, Wang returned to the capital, appointed to the lower office of Senior Censor (). At one point while in this office, Wang submitted a memorial denouncing his old boss Li Shanchang, whom the emperor forgave. In 1377 he was promoted back to his old role of Grand Chancellor of the Right. During his decade long tenure holding high ministerial positions in the capital, Wang seems not to have accomplished much for his government. Characterised as weak-willed and inattentive, he avoided offering any solid advice for or against the decisions of his monarch, instead just writing poetry and – according to later writings of the emperor – overindulging in drink. The Hongwu Emperor admonished him many times. Hu Weiyong case In December 1379, Hu Weiyong convinced the emperor to allow him to poison Liu Bowen, previously a close advisor and successful strategist, who had made himself Hu's opponent at court. The censor Tu Jie (), not knowing of the emperor's approval of the murder, reported Hu Weiyong, with the addendum that Wang Guangyang should have known of plot and reported Hu himself. The emperor condemned Wang to Guangnan () for the crime of forming a clique to bully others. Considering further that Wang had not reported the treachery of his co-worker Yang Xian, and that during his early career in Jiangxi he had sheltered Zhu Wenzheng (朱文正, a nephew and general of the Hongwu Emperor who had failed to respond to his summons after losing an important battle and being slandered as disloyal during the Ming conquest of Yuan), the emperor executed Wang Guangyang as part of the Hu Weiyong case. A decade after Wang's death, numerous associates of Li Shanchang were executed along with their family members by the Hongwu Emperor. Surviving members of Wang Guangyang's family were among them. See also Liu Bowen Yang Xian Hu Weiyong Four Major Cases of the early Ming dynasty References Bibliography 1379 deaths 14th-century executions Executed Ming dynasty people Ming dynasty government officials People executed by the Ming dynasty Yuan dynasty people Year of birth unknown
Vindhuja Vikraman (born 1 August 1993) is an Indian television actress who appears in Malayalam Tamil and Telugu language soap operas. Career Vindhuja was born 1 August 1993 to Vikraman Nair and Bindhu. She has a younger brother. She started her TV career with the comedy show, Back Benchers (2015). After that, she played supporting roles in Parasparam, Kaligandaki and Athmasakhi. In 2017, she played the lead role in soap opera Chandanamazha replacing Meghna Vincent. She then ventured into Tamil language serials through a leading role in Ponnukku Thanga Manasu. She returned to Malayalam through Oridathoru Rajakumari. She is currently playing the lead role in a Telugu Serial Manasantha Nuvve. Filmography Television Special appearances Films Music videos References External links Living people Malayali people Actresses from Kerala Indian soap opera actresses 21st-century Indian actresses Actresses in Malayalam television Actresses in Tamil television Actresses in Telugu television Actresses in Malayalam cinema 1993 births
Udaltsov is a Russian surname. Notable people with the surname include: Alexander Udaltsov (historian) (1883–1958), Bolshevik historian Anastasia Udaltsova (born 1978), Russian politician Sergei Udaltsov (born 1977), Russian political activist Russian-language surnames
Brigadier-General Ernest Berdoe Wilkinson (1864-1946) was an English soldier who after service in Asia and Africa commanded a brigade of the British Army on the Western Front in the First World War. Life Born on 10 March 1864 in Castleknock, Ireland, he was the fourth son of Lieutenant-Colonel Berdoe Amherst Wilkinson (1827-1895) and his wife Frances Neale (1830-1891). After initially serving in the militia, in 1885 he was commissioned in the regular army as a lieutenant with the Lincolnshire Regiment. Following service in Burma, in 1897 he was attached to the Egyptian Army and served in Sudan, being rewarded in 1900 with the Egyptian Order of the Medjidie and promotion to brevet major. In 1907, as a full major aged 43, he retired and took the post of Director of Agriculture and Forests for Sudan. With the outbreak of the First World War in 1914, he was recalled to service and given command of the 8th (Service) Battalion of the Lincolnshire Regiment. On 3 September 1915, he was promoted to head the 62nd Brigade, which was sent into the bloody Battle of Loos. He survived, but in 1916 was replaced and sent back to the Remount Department in the UK. In 1917 he was awarded the Egyptian Order of the Nile. He died on 11 April 1946 in Bramley, Surrey, at the age of 82. Family On 17 June 1905, in Folkestone, Kent, he married Harriet Emma Eccles (1863-1925). No children are known. He was the uncle of Dermot William Berdoe-Wilkinson (1882-1955), his executor, who served as High Sheriff of Surrey. References 1864 births 1946 deaths British Army personnel of the Mahdist War Sudanese civil servants British Army personnel of World War I Recipients of the Order of the Medjidie
Vitaly Lunkin (born 7 May 1971) is a Russian professional poker player from Moscow, Russia who has won two World Series of Poker bracelets. Vitaly Lunkin started playing at the WSOP in 2006, finishing 829th in the Main Event. In 2008, he won his first bracelet, winning the $1,500 No Limit Hold'em event and earning $629,417. The following year, he won his second bracelet and $1,891,018 in the 2009 $40,000 No Limit Hold'em and finished second to Matt Graham in the $10,000 World Championship Pot-limit Omaha event for $419,832. World Series of Poker Bracelets Other poker activities Lunki works as a professional poker trainer and coach in Moscow. He is a previous winner of the Russian Poker Tour - Moscow, and of the European Poker Tour - Barcelona super high roller for $1.3 million. As of 2017, his total live tournament winnings exceed $6,375,000. His 32 cashes at the WSOP account for over $4,000,000 of those earnings. References Russian poker players Sportspeople from Moscow World Series of Poker bracelet winners Living people 1971 births
```c++ #include "hidden_sequence.h" namespace { struct MyHiddenSeq : vespalib::Sequence<size_t> { const std::vector<size_t> &data; size_t pos; MyHiddenSeq(const std::vector<size_t> &data_in) : data(data_in), pos(0) {} bool valid() const override { return pos < data.size(); } size_t get() const override { return data[pos]; } void next() override { ++pos; } }; } vespalib::Sequence<size_t>::UP make_ext_seq(const std::vector<size_t> &data) { return std::make_unique<MyHiddenSeq>(data); } ```
```php <?php // snippet-start:[php.example_code.rds.createDBInstanceReadReplica.complete] // snippet-start:[php.example_code.rds.createDBInstanceReadReplica.import] require __DIR__ . '/vendor/autoload.php'; use Aws\Exception\AwsException; // snippet-end:[php.example_code.rds.createDBInstanceReadReplica.import] // snippet-start:[php.example_code.rds.createDBInstanceReadReplica.main] $rdsClient = new Aws\Rds\RdsClient([ 'region' => 'us-east-2' ]); $replicaDBIdentifier = '<<{{name-for-db-replica}}>>'; $sourceDBIdentifier = '<<{{db-identifier-of-db-to-replicate}}>>'; try { $result = $rdsClient->createDBInstanceReadReplica([ 'DBInstanceIdentifier' => $replicaDBIdentifier, 'SourceDBInstanceIdentifier' => $sourceDBIdentifier, ]); var_dump($result); } catch (AwsException $e) { echo $e->getMessage(); echo "\n"; } // snippet-end:[php.example_code.rds.createDBInstanceReadReplica.main] // snippet-end:[php.example_code.rds.createDBInstanceReadReplica.complete] ```
```smalltalk using Newtonsoft.Json; namespace XIVLauncher.Common.PatcherIpc; public static class IpcHelpers { public static string Base64Encode(string plainText) { var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText); return System.Convert.ToBase64String(plainTextBytes); } public static string Base64Decode(string base64EncodedData) { var base64EncodedBytes = System.Convert.FromBase64String(base64EncodedData); return System.Text.Encoding.UTF8.GetString(base64EncodedBytes); } public static JsonSerializerSettings JsonSettings = new() { TypeNameAssemblyFormatHandling = TypeNameAssemblyFormatHandling.Full, TypeNameHandling = TypeNameHandling.All }; } ```
Keith Gagnon (born December 31, 1987) is a Canadian ice dancer who competes with partner Tarrah Harvey. They are the 2009 Canadian junior silver medalists. They began skating together in June 1998. Programs (with Harvey) Competitive highlights (with Harvey) References External links Canadian male ice dancers 1987 births Figure skaters from Vancouver Living people 21st-century Canadian people
The 1964 SANFL Grand Final was an Australian rules football competition. beat Port Adelaide 9.15 (69) to 5.12 (42). This win was South Adelaide's eleventh (and as of 2021) most recent premiership, having won the wooden spoon in 1963 with a 1–17 record. References SANFL Grand Finals SANFL Grand Final, 1964
Jenningstown was a shantytown in Atlanta built on the top of, and around, what was then known as Diamond Hill in the First Ward. Atlanta University was built on the summit, opening in 1869. Its population shortly after the Civil War was 2,490, all black except for some white missionaries living there. It had rough roads and an inadequate water supply. Jenningstown is mentioned into the 20th century, though its boundaries were described as loosely defined; Beaver Slide was its southern border. References African-American history in Atlanta Former shantytowns and slums in Atlanta 1869 establishments in Georgia (U.S. state)
```smalltalk // <auto-generated/> using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.IO; using Microsoft.Extensions.DependencyInjection; using Amazon.Lambda.Core; namespace TestServerlessApp.Sub1 { public class FunctionsZipOutput_ToLower_Generated { private readonly ServiceProvider serviceProvider; /// <summary> /// Default constructor. This constructor is used by Lambda to construct the instance. When invoked in a Lambda environment /// the AWS credentials will come from the IAM role associated with the function and the AWS region will be set to the /// region the Lambda function is executed in. /// </summary> public FunctionsZipOutput_ToLower_Generated() { SetExecutionEnvironment(); var services = new ServiceCollection(); // By default, Lambda function class is added to the service container using the singleton lifetime // To use a different lifetime, specify the lifetime in Startup.ConfigureServices(IServiceCollection) method. services.AddSingleton<FunctionsZipOutput>(); services.AddSingleton<Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer>(); var startup = new TestServerlessApp.Startup(); startup.ConfigureServices(services); serviceProvider = services.BuildServiceProvider(); } /// <summary> /// The generated Lambda function handler for <see cref="ToLower(string)"/> /// </summary> /// <param name="text">The request object that will be processed by the Lambda function handler.</param> /// <returns>Result of the Lambda function execution</returns> public string ToLower(string text) { // Create a scope for every request, // this allows creating scoped dependencies without creating a scope manually. using var scope = serviceProvider.CreateScope(); var functionsZipOutput = scope.ServiceProvider.GetRequiredService<FunctionsZipOutput>(); var serializer = scope.ServiceProvider.GetRequiredService<Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer>(); return functionsZipOutput.ToLower(text); } private static void SetExecutionEnvironment() { const string envName = "AWS_EXECUTION_ENV"; var envValue = new StringBuilder(); // If there is an existing execution environment variable add the annotations package as a suffix. if(!string.IsNullOrEmpty(Environment.GetEnvironmentVariable(envName))) { envValue.Append($"{Environment.GetEnvironmentVariable(envName)}_"); } envValue.Append("lib/amazon-lambda-annotations#1.5.0.0"); Environment.SetEnvironmentVariable(envName, envValue.ToString()); } } } ```
Sadewa is a village development committee in the Himalayas of Taplejung District in the Province No. 1 of north-eastern Nepal. At the time of the 2011 Nepal census it had a population of 1,048 people living in 211 individual households. There were 515 males and 533 females at the time of census. References 1. High school 2. Heath post 3. Post Office External links UN map of the municipalities of Taplejung District Populated places in Taplejung District
Bonham is a percussion ensemble piece for eight musicians by the American composer Christopher Rouse. It was composed in 1988 and first performed in Boston, Massachusetts, the following year by the New England Conservatory of Music Percussion Ensemble conducted by Frank Epstein, to whom the work is dedicated. The work, an "ode to rock drumming and drummers", is a tribute to John Bonham, the drummer from Led Zeppelin, whom Rouse admired for his almost "orchestral approach" to the drums and his ability to produce a powerful "sonic onslaught". Rouse also perceived precision and subtlety in Bonham's performances. Bonham opens with the drum ostinato from "When the Levee Breaks". This is one of a number of references to Led Zeppelin songs in the work: "Custard Pie" is also quoted and the piece ends with a reference to "Royal Orleans". The percussionist on the drum set is instructed to use "the fattest possible sticks" to reproduce Bonham's distinctive sound throughout the entire work. In addition to Led Zeppelin songs, "Get Yourself Together" by The Butterfield Blues Band and the traditional "hambone" rhythm of Bo Diddley are cited. See also Thunderstuck References External links Christopher Rouse chamber and ensemble works Compositions by Christopher Rouse 1988 compositions Percussion music
Chronic bacterial prostatitis is a bacterial infection of the prostate gland. It should be distinguished from other forms of prostatitis such as acute bacterial prostatitis and chronic pelvic pain syndrome (CPPS). Signs and symptoms Chronic bacterial prostatitis is a relatively rare condition that usually presents with an intermittent UTI-type picture. It is defined as recurrent urinary tract infections in men originating from a chronic infection in the prostate. Symptoms may be completely absent until there is also bladder infection, and the most troublesome problem is usually recurrent cystitis. It has been said that recurrent and relapsing UTIs (i.e., UTIs due to the same pathogen) are a hallmark of chronic bacterial prostatitis. Chronic bacterial prostatitis occurs in less than 5% of patients with prostate-related non-BPH lower urinary tract symptoms (LUTS). Dr. Weidner, Professor of Medicine, Department of Urology, University of Gießen, has stated: "In studies of 656 men, we seldom found chronic bacterial prostatitis. It is truly a rare disease. Most of those were E-coli." Diagnosis In chronic bacterial prostatitis, there are bacteria in the prostate, but there may be no symptoms or milder symptoms than occur with acute prostatitis. The prostate infection is diagnosed by culturing urine as well as prostate fluid (expressed prostatic secretions or EPS) which are obtained by the doctor performing a rectal exam and putting pressure on the prostate. If no fluid is recovered after this prostatic massage, a post massage urine should also contain any prostatic bacteria. Prostate specific antigen levels may be elevated, although there is no malignancy. Semen analysis is a useful diagnostic tool. Semen cultures are also performed. Antibiotic sensitivity testing is also done to select the appropriate antibiotic. Other useful markers of infection are seminal elastase and seminal cytokines. Treatment Antibiotic therapy has to overcome the blood/prostate barrier that prevents many antibiotics from reaching levels that are higher than minimum inhibitory concentration. A blood-prostate barrier restricts cell and molecular movement across the rat ventral prostate epithelium. Treatment requires prolonged courses (4–8 weeks) of antibiotics that penetrate the prostate well. The fluoroquinolones, tetracyclines and macrolides have the best penetration. There have been contradictory findings regarding the penetrability of nitrofurantoin , quinolones (ciprofloxacin, levofloxacin), sulfas (Bactrim, Septra), doxycycline and macrolides (erythromycin, clarithromycin). This is particularly true for gram-positive infections. Certain other antibiotics with the potential for improved activity, including linezolid, moxifloxacin, tigecycline, daptomycin, clindamycin, and vancomycin, have been used limitedly off-label with reported success. In a review of multiple studies, levofloxacin was found to reach prostatic fluid concentrations 5.5 times higher than ciprofloxacin, indicating a greater ability to penetrate the prostate. Moxifloxacin shows even greater prostatic penetration than levofloxacin and may be the only fluoroquinolone able to obtain prostatic concentrations 10-fold above the minimum inhibitory concentration against Enterococcus faecalis. However, limited experience with moxifloxacin for chronic prostatitis exists. Clinical success rates with oral antibiotics can reach 70% to 90% at 6 months, although trials comparing them with placebo or no treatment do not exist. Persistent infections may be helped in 80% of patients by the use of alpha blockers (tamsulosin, alfuzosin), or long term low dose antibiotic therapy. Recurrent infections may be caused by inefficient urination (benign prostatic hypertrophy, neurogenic bladder), prostatic stones or a structural abnormality that acts as a reservoir for infection. In theory, the ability of some strains of bacteria to form biofilms might be one of the factors that facilitate development of chronic bacterial prostatitis. Bacteriophages hold promise as another potential treatment for chronic bacterial prostatitis. The addition of prostate massage to courses of antibiotics was previously proposed as being beneficial and prostate massage may mechanically break up the biofilm and enhance the drainage of the prostate gland. However, in more recent trials, this was not shown to improve outcome compared to antibiotics alone. Prostatectomy has been used to treat chronic bacterial prostatitis but inadequate data —including no randomized controlled trials— exists to allow clinical decisions. Moreover, prostatectomy can result in erectile dysfunction and urinary incontinence as complications. Prognosis Over time, the relapse rate is high, exceeding 50%. However, recent research indicates that combination therapies offer a better prognosis than antibiotics alone. A 2007 study showed that repeated combination pharmacological therapy with antibacterial agents (ciprofloxacin/azithromycin), alpha-blockers (alfuzosin) and Serenoa repens extracts may eradicate infection in 83.9% of patients with clinical remission extending throughout a follow-up period of 30 months for 94% of these patients. A 2014 study of 210 patients randomized into two treatment groups found that recurrence occurred within 2 months in 27.6% of the group using antibiotics alone (prulifloxacin 600 mg), but in only 7.8% of the group taking prulifloxacin in combination with Serenoa repens extract, Lactobacillus Sporogens and Arbutin. Large prostatic stones was shown to be related with the presence of bacteria, a higher urinary symptoms and pain score, a higher IL-1β and IL-8 concentration in seminal plasma, a greater prostatic inflammation and a lower response to antibiotic treatment. Additional images References External links Bacterial diseases Sexually transmitted diseases and infections Inflammatory prostate disorders
The 2018 RAN Women's Sevens was the 14th edition of the annual rugby sevens tournament organized by Rugby Americas North. It will be played at the Barbados Polo Club in Saint James, Barbados, with the winner eligible for the 2019 Hong Kong Women's Sevens qualifier tournament and two teams advancing to the 2019 Pan American Games. Teams The following ten teams will participate: Pool stage All times in Atlantic Standard Time (UTC−04:00) Pool A Pool B Knockout stage Trophy Plate Cup Standings See also 2019 Hong Kong Women's Sevens References 2018 2018 rugby sevens competitions 2018 in North American rugby union 2018 in women's rugby union rugby union rugby union Qualification tournaments for the 2019 Pan American Games
KXIC (800 AM) is a commercial radio station licensed to Iowa City, Iowa, and serving the Cedar Rapids area as well as Johnson County. The station is owned by iHeartMedia and licensed to iHM Licenses, LLC. It airs a sports radio format, with some news and talk shows. Most programming comes from Fox Sports Radio. KXIC operates on 800 kHz, a Mexican clear channel frequency reserved for XEROK in Ciudad Juárez. As a result, it reduces power at night from 1,000 watts to 199; prior to 1986, it broadcast during the daytime only. It uses a directional antenna for both daytime and nighttime operation. History The Johnson County Broadcasting Corporation received a construction permit for a new daytime-only radio station in Iowa City from the Federal Communications Commission on December 15, 1947. The permittee was formed by four war veterans, two with prior involvement at WSUI and two employed other stations in the region and sought to bring the first commercial station to Iowa City (WSUI is owned by the University of Iowa). KXIC began broadcasting on June 6, 1948, as an independent outlet. The station was the originating outlet for radio broadcasts of Iowa Hawkeyes football, feeding a statewide network for decades; Gene Claussen called games until the 1980s, when the Hawkeyes consolidated their network under one broadcast originating at WHO. George M. Ludwig, a state representative and father of space scientist George H. Ludwig, served as KXIC's farm editor for 11 years before his death in 1959. While he was in college at the University of Iowa, future NBC newsman Tom Pettit worked at KXIC. In the 1960s, Interstate 80 was constructed in Iowa. For several years, KXIC protested the condemnation of part of its transmitter site land for use to build the new highway, as the 8.47 acres of land seized was crucial to the station's future plans to increase power from 1,000 to 5,000 watts. The radio station had initially been awarded $13,200 by a commission seizing land for the interstate, but it appealed the award, asking for $75,000 and later $100,000. The case reached the Iowa Supreme Court before it was returned to Johnson County district court, where a jury awarded the station $53,250; the higher court overturned the award because it included inadmissible evidence about a power increase it felt was infeasible. After the interstate was built, studies were conducted to ensure that lighting on the nearby interchange with Dubuque Street did not interfere with KXIC's operation. With the door shut on an increase to 5,000 watts, KXIC opted to expand into FM broadcasting. In May 1966, KXIC-FM 100.7 signed on. In addition to a new FM station, KXIC constructed expanded studios at the transmitter site. After more than three decades of broadcasting, the Johnson County Broadcasting Company sold KXIC and the FM station, at that time known as KICG, to Tom Ingstad's Red River Valley Broadcasting Corporation in 1979 for $975,000. In the early 1980s, the station jettisoned its longtime full-service middle of the road format to take on country music sound; KXIC then adopted the syndicated Music of Your Life oldies/adult standards format in 1984. Two years later, in September 1986, KXIC was allowed to broadcast at night for the first time, picking up NBC Talknet programs. Several months later, KXIC flipped to classic hits. Ingstad reached a deal to sell KXIC and KKRQ to Heartland Media, a group headed by Ron Hamilton, in 1987 for $2.3 million. The transaction, however, never closed, and it was not until 1997 that Ingstad would sell the pair to Jacor for $8 million, with KXIC having moved to a news/talk format. Through all of the changes in KXIC history, one fixture remained constant: a daily 15-minute show hosted by Dottie Ray, who had been at the station since 1956 and began the daily show in 1959, hosting the show for 55 years until 2014 and interviewing 32,397 guests on more than 14,000 broadcasts. Her show had survived the Ingstad purchase when advertisers pulled their support upon the announcement of the program's cancellation, prompting its restoration. References External links KXIC official website XIC Sports radio stations in the United States Iowa City, Iowa Radio stations established in 1948 1948 establishments in Iowa IHeartMedia radio stations Fox Sports Radio stations
The 1979 South African Professional Championship was a non-ranking snooker tournament, which took place in August 1979. The tournament featured five exclusively South African players - Derek Mienie, Jimmy van Rensberg, Mannie Francisco, Peter Francisco and the incumbent champion, Perrie Mans. Mienie won the title, beating van Rensberg 9–6 in the final. Qualifying A first-round match was played between Mienie and Mannie Francisco, to determine who would advance to the semi-finals to play Mans, who was seeded through to this stage. Derek Mienie 9–3 Mannie Francisco Main draw References South African Professional Championship South African Professional Championship South African Professional Championship South African Professional Championship Snooker in South Africa
The Kedron River is a short river of New Zealand's Southern Alps, located some north of Lake Sumner. It flows northeast from Lake Man, close to the peak of Mount Lakeman. It reaches the Doubtful River after just . The river's entire length is within the Lake Sumner Forest Park. The river is one of the headwaters of the Waiau River. See also List of rivers of New Zealand References Rivers of Canterbury, New Zealand Rivers of New Zealand
Brian Cameron Siders (born September 11, 1978) is an American world champion powerlifter and regular participant in the Arnold Strongman Classic. Brian is regarded as one of the strongest men to ever walk the planet, especially in press-movements. Career Brian started lifting in high school, mainly just training the bench press and upper body. Brian started focusing on squatting and deadlifting in the winter of 1997, and started doing full powerlifting meets in 1998. Brian trains 6–7 days per week and up to 4 hours at a time at his gym he built at his home. Brian has set several powerlifting world records, including a world record total of 2,452 lb at the 2004 USAPL Senior National Championships, and another world record total of 2,529 lb at the 2004 IPF World Championships. Brian held the IPF world record in the bench press of 775.5 lb (352.5 kg), and total (squat, bench press and deadlift) of 2,596 lb (1,180 kg) in the +125 kg (super heavyweight) weight class. Personal records Powerlifting Competition Records: equipped Squat- 1,019 lb/462,5 kilo Bench Press - 799 lb/362,5 kilo Deadlift - 865 lb/392,5 kilo Total - 2,651 lb/1202,5 kilo The squat, bench and total are not official records because they were completed at a local powerlifting competition, and not at a national or international competition as one have to do to be counted as official records according to IPF rules. raw (unequipped) Squat- 785 lb/356 kg. Bench Press - 650 lb/295 kg. Deadlift - 840 lb/381 kg. Total - 2,240 lb (785/635/820) References American strength athletes American powerlifters 1978 births Living people Competitors at the 2005 World Games World Games silver medalists
Christopher Cannon is a medievalist at Johns Hopkins University. He is currently Bloomberg Distinguished Professor of English and Classics, previously Chair of Classics, and from 2020, Vice Dean for the Humanities and Social Sciences in the Krieger School of Arts and Sciences. His research and writings have focused on the works of Geoffrey Chaucer, early Middle English, and elementary learning in the Middle Ages. Education He was educated at Harvard University (AB, AM, PhD). He received his doctorate in 1993 for a thesis "The making of Chaucer's English: a study in the formation of a literary language". Career Prior to moving to Hopkins in 2017, Cannon was chair of the Department of English at New York University for 5 years. He held the Katharine Jex Blake Research Fellowship at Girton College, Cambridge (1993-6) and taught (for a time concurrently with his research fellowship) at UCLA (1995-6). He then taught at the University of Oxford in the Faculty of English and as Tutorial Fellow of St Edmund Hall (1997-2000) and, then, in the Faculty of English at the University of Cambridge, first as a Fellow of Pembroke College and then, again, as a Fellow of Girton College. He is general co-editor of Oxford Studies in Medieval Literature and Culture. Works Monographs From Literacy to Literature: England, 1300-1400 Oxford University Press, 2016 Review: Middle English Literature: a cultural history Polity, 2008 . The Grounds of English Literature Oxford ; New York : Oxford University Press, 2004 Review:<ref>{{cite journal|last=Gillespie|first=Vincent|year=2007|title=Review of The Grounds of English Literature by Christopher Cannon|journal=The Modern Language Review|volume=102|issue=1|pages=197–198|doi=10.1353/mlr.2007.0310 |s2cid=246648134 }}</ref> The Making of Chaucer's English: A Study of Words. Cambridge: Cambridge University Press, 1998. Edited works Mann, Jill, Christopher Cannon, and Maura Nolan. Medieval Latin and Middle English Literature: Essays in Honour of Jill Mann''. Cambridge: Cambridge University Press, 2013. Editions Cannon is currently co-editing with Harvard's James Simpson on a new edition of all of Chaucer's whose goal is to produce an edition of Chaucer's work that sounds "authentically Chaucerian". Prizes William Riley Parker Prize at MLA (2014) John Simon Guggenheim Foundation Fellowship (2002-3) The Van Courtlandt Elliott Prize, Medieval Academy of America (1995) References External links Cannon's profile at Johns Hopkins University Christopher Cannon reads ‘Truth’ by Geoffrey Chaucer Living people Classical scholars of Johns Hopkins University Harvard University alumni Chaucer scholars Classical scholars of New York University Classical scholars of the University of Oxford Fellows of Girton College, Cambridge University of California, Los Angeles faculty 1965 births
```java package com.lody.virtual.helper.utils; import android.os.Handler; /** * @author Lody */ public abstract class SchedulerTask implements Runnable { private Handler mHandler; private long mDelay; public SchedulerTask(Handler handler, long delay) { this.mHandler = handler; this.mDelay = delay; } public void schedule() { mHandler.post(mInnerRunnable); } public void cancel() { mHandler.removeCallbacks(mInnerRunnable); } private final Runnable mInnerRunnable = new Runnable() { @Override public void run() { SchedulerTask.this.run(); if(mDelay > 0) { mHandler.postDelayed(this, mDelay); } } }; } ```
```java package org.zalando.intellij.swagger.documentation.openapi; import org.zalando.intellij.swagger.documentation.DocumentationTest; public class OpenApiDocumentationTest extends DocumentationTest { public OpenApiDocumentationTest() { super("documentation/openapi"); } public void testYamlSchema() { final String expected = "<div>Example: object</div>"; testQuickDocumentation("/yaml/schema_ref.yaml", expected); } public void testJsonSchema() { final String expected = "<div>Example: object</div>"; testQuickDocumentation("/json/schema_ref.json", expected); } public void testYamlSchemaWithDescription() { final String expected = "<div>Example: object<br/>some description</div>"; testQuickDocumentation("/yaml/schema_ref_with_description.yaml", expected); } public void testJsonSchemaWithDescription() { final String expected = "<div>Example: object<br/>some description</div>"; testQuickDocumentation("/json/schema_ref_with_description.json", expected); } public void testYamlSchemaWithoutType() { final String expected = "<div>Example: undefined type</div>"; testQuickDocumentation("/yaml/schema_ref_without_type.yaml", expected); } public void testJsonSchemaWithoutType() { final String expected = "<div>Example: undefined type</div>"; testQuickDocumentation("/json/schema_ref_without_type.json", expected); } public void testYamlResponse() { final String expected = "<div>Description</div>"; testQuickDocumentation("/yaml/response_ref.yaml", expected); } public void testJsonResponse() { final String expected = "<div>Description</div>"; testQuickDocumentation("/json/response_ref.json", expected); } public void testYamlParameter() { final String expected = "<div>name: parameter_name<br/>in: query<br/>Description</div>"; testQuickDocumentation("/yaml/parameter_ref.yaml", expected); } public void testJsonParameter() { final String expected = "<div>name: parameter_name<br/>in: query<br/>Description</div>"; testQuickDocumentation("/json/parameter_ref.json", expected); } public void testYamlParameterWithoutIn() { final String expected = "<div>name: parameter_name<br/>in: undefined location<br/>Description</div>"; testQuickDocumentation("/yaml/parameter_without_in_ref.yaml", expected); } public void testJsonParameterWithoutIn() { final String expected = "<div>name: parameter_name<br/>in: undefined location<br/>Description</div>"; testQuickDocumentation("/json/parameter_without_in_ref.json", expected); } public void testYamlExample() { final String expected = "<div>Summary<br/>Description</div>"; testQuickDocumentation("/yaml/example_ref.yaml", expected); } public void testJsonExample() { final String expected = "<div>Summary<br/>Description</div>"; testQuickDocumentation("/json/example_ref.json", expected); } public void testYamlRequestBody() { final String expected = "<div>Description</div>"; testQuickDocumentation("/yaml/request_body_ref.yaml", expected); } public void testJsonRequestBody() { final String expected = "<div>Description</div>"; testQuickDocumentation("/json/request_body_ref.json", expected); } public void testYamlHeader() { final String expected = "<div>Description</div>"; testQuickDocumentation("/yaml/header_ref.yaml", expected); } public void testJsonHeader() { final String expected = "<div>Description</div>"; testQuickDocumentation("/json/header_ref.json", expected); } public void testYamlLink() { final String expected = "<div>Description</div>"; testQuickDocumentation("/yaml/link_ref.yaml", expected); } public void testJsonLink() { final String expected = "<div>Description</div>"; testQuickDocumentation("/json/link_ref.json", expected); } } ```
```shell #!/bin/sh # 6in4.sh - IPv6-in-IPv4 tunnel backend [ -n "$INCLUDE_ONLY" ] || { . /lib/functions.sh . /lib/functions/network.sh . ../netifd-proto.sh init_proto "$@" } # Function taken from 6to4 package (6to4.sh), flipped returns test_6in4_rfc1918() { local oIFS="$IFS"; IFS="."; set -- $1; IFS="$oIFS" [ $1 -eq 10 ] && return 1 [ $1 -eq 192 ] && [ $2 -eq 168 ] && return 1 [ $1 -eq 172 ] && [ $2 -ge 16 ] && [ $2 -le 31 ] && return 1 # RFC 6598 [ $1 -eq 100 ] && [ $2 -ge 64 ] && [ $2 -le 127 ] && return 1 return 0 } proto_6in4_update() { sh -c ' timeout=5 (while [ $((timeout--)) -gt 0 ]; do sleep 1 kill -0 $$ || exit 0 done; kill -9 $$) 2>/dev/null & exec "$@" ' "$1" "$@" } proto_6in4_add_prefix() { append "$3" "$1" } proto_6in4_setup() { local cfg="$1" local iface="$2" local link="6in4-$cfg" local mtu ttl tos ipaddr peeraddr ip6addr ip6prefix ip6prefixes tunlink tunnelid username password updatekey json_get_vars mtu ttl tos ipaddr peeraddr ip6addr tunlink tunnelid username password updatekey json_for_each_item proto_6in4_add_prefix ip6prefix ip6prefixes [ -z "$peeraddr" ] && { proto_notify_error "$cfg" "MISSING_ADDRESS" proto_block_restart "$cfg" return } ( proto_add_host_dependency "$cfg" "$peeraddr" "$tunlink" ) [ -z "$ipaddr" ] && { local wanif="$tunlink" if [ -z "$wanif" ] && ! network_find_wan wanif; then proto_notify_error "$cfg" "NO_WAN_LINK" return fi if ! network_get_ipaddr ipaddr "$wanif"; then proto_notify_error "$cfg" "NO_WAN_LINK" return fi } proto_init_update "$link" 1 [ -n "$ip6addr" ] && { local local6="${ip6addr%%/*}" local mask6="${ip6addr##*/}" [ "$local6" = "$mask6" ] && mask6= proto_add_ipv6_address "$local6" "$mask6" proto_add_ipv6_route "::" 0 "" "" "" "$local6/$mask6" } for ip6prefix in $ip6prefixes; do proto_add_ipv6_prefix "$ip6prefix" proto_add_ipv6_route "::" 0 "" "" "" "$ip6prefix" done proto_add_tunnel json_add_string mode sit json_add_int mtu "${mtu:-1280}" json_add_int ttl "${ttl:-64}" [ -n "$tos" ] && json_add_string tos "$tos" json_add_string local "$ipaddr" json_add_string remote "$peeraddr" [ -n "$tunlink" ] && json_add_string link "$tunlink" proto_close_tunnel proto_send_update "$cfg" [ -n "$tunnelid" -a -n "$username" -a \( -n "$password" -o -n "$updatekey" \) ] && { [ -n "$updatekey" ] && password="$updatekey" local http="http" local urlget="uclient-fetch" local urlget_opts="-qO-" local ca_path="${SSL_CERT_DIR:-/etc/ssl/certs}" [ -f /lib/libustream-ssl.so ] && http=https [ "$http" = "https" -a -z "$(find $ca_path -name "*.0" 2>/dev/null)" ] && { urlget_opts="$urlget_opts --no-check-certificate" } local url="$path_to_url" test_6in4_rfc1918 "$ipaddr" && { local url="${url}&myip=${ipaddr}" } local try=0 local max=3 ( set -o pipefail while [ $((++try)) -le $max ]; do if proto_6in4_update $urlget $urlget_opts --user="$username" --password="$password" "$url" 2>&1 | \ sed -e 's,^Killed$,timeout,' -e "s,^,update $try/$max: ," | \ logger -t "$link"; then logger -t "$link" "updated" return 0 fi sleep 5 done logger -t "$link" "update failed" ) } } proto_6in4_teardown() { local cfg="$1" } proto_6in4_init_config() { no_device=1 available=1 proto_config_add_string "ipaddr" proto_config_add_string "ip6addr" proto_config_add_array "ip6prefix" proto_config_add_string "peeraddr" proto_config_add_string "tunlink" proto_config_add_string "tunnelid" proto_config_add_string "username" proto_config_add_string "password" proto_config_add_string "updatekey" proto_config_add_int "mtu" proto_config_add_int "ttl" proto_config_add_string "tos" } [ -n "$INCLUDE_ONLY" ] || { add_protocol 6in4 } ```
Eleanor Lansing Dulles (June 1, 1895 – October 30, 1996) was an American writer, professor, and United States government employee. Her background in economics and her familiarity with European affairs enabled her to fill a number of important State Department positions. Early career Dulles graduated from Wykeham Rise School in Washington, Connecticut, and attended Bryn Mawr College, graduating with a B.A. in 1917. She spent two years working for relief organizations in France. When World War I ended, she continued her schooling. Still convinced European studies were useful to her, in 1921–22 she took courses at the Sorbonne. She returned to the U.S. for a radical change of pace, taking odd jobs in the real world including running a punch press at the American Tube and Stamping Company in Bridgeport, Connecticut, and working as a payroll clerk for a hair-net company in Long Island City, Queens, New York. Beginning in 1923, she studied at Radcliffe College and Harvard University, earning her M.A. from the former in 1924 and a doctorate in economics from the latter in 1926, writing her thesis on the French franc. She taught economics at Simmons College during the 1924–1925 academic year. For the next ten years she taught economics at various colleges, including Simmons, Bryn Mawr, and the University of Pennsylvania. As a student and college professor she made frequent trips to Europe to study and conduct research on European financial matters. Though she married in 1932, she always used her maiden name professionally. In 1933, she argued against the supposed benefits of inflationary government policies in The Dollar, the Franc and Inflation. In 1936, Dulles entered government service. Her first position was at the Social Security Board, where she studied the economic aspects of financing the Social Security program. In April 1942, she transferred to the Board of Economic Warfare where she spent five months studying various types of international economic matters. State Department In September 1942, she joined the Department of State, where she worked, aside from a short stint at the Department of Commerce, for almost twenty years, beginning as an Economic Officer in the Division of Postwar Planning. During her first three years at the State Department, Dulles was involved in post-war economic planning. She helped determine the U.S. position on international financial cooperation and participated in the Bretton Woods Conference of 1944 at which the International Monetary Fund and the International Bank for Reconstruction and Development were established. After the end of World War II, in the spring of 1945 she went to Europe, where she became involved in the reconstruction of the Austrian economy as the U.S. Financial Attaché in Austria. In 1949, Eleanor transferred to the German Austrian Division at the State Department, where she took an active interest in the affairs of Berlin and became a member of the informal 'Berlin Lobby' in the United States. She worked for the Commerce Department for several months in 1951–1952, and then returned to the State Department Office of German Affairs shortly before her brother John Foster Dulles became Secretary of State. She successfully resisted his attempts to remove her from her position. She made many trips to Berlin and was involved in planning the construction of the Berlin Medical Center. The Berlin Congress Hall, the U.S. contribution to the International Building Exhibition was nicknamed the Dulleseum (Dulles plus Museum) for the role of Eleanor and her brother John Foster in its financing and construction. Later, she was hailed as "the Mother of Berlin" for helping to revitalize Berlin's economy and culture during the 1950s. In 1958, she described the working environment at the State Department: In 1959, Dulles transferred from the German Desk to the Bureau of Intelligence and Research, where she became involved in a study of economic conditions in underdeveloped countries. As part of the study she traveled extensively in Africa, Latin America and South Asia. Secretary of State Dean Rusk requested her resignation on September 21, 1961, at the insistence of the Kennedy Administration following the April Bay of Pigs Invasion, a foreign relations disaster for the U.S. that her brother Allen had overseen as head of the CIA. She resigned in January 1962. Academia and publishing She returned to teaching, first at Duke University and then at Georgetown University. She authored several books on U.S. foreign policy. In 1963 she published a study of her brother's final year at the State Department, John Foster Dulles: The Last Year, with a foreword by President Eisenhower. She continued her trips abroad, sometimes as a representative of the U.S. Government. In 1967, she represented the United States at the funeral of Konrad Adenauer. She also wrote several books describing conditions in Germany. In 1978, she criticized Leonard Mosley's biography of her and her brothers, Dulles. She had given the author several interviews, but said his "implication that three people could connive to produce a foreign policy is a schoolboy approach". She said it contain 900 errors, twice as many as Townsend Hoopes' hostile study The Devil and John Foster Dulles. She wrote a study of Dean Acheson and John Foster Dulles that found commonality in their approaches to deterrence. It remained unpublished at her death. Awards Radcliffe gave her its Distinguished Achievement Award in 1955. In 1957 the Free University of Berlin gave her an honorary doctorate and she received the Carl Schurz Plaque. In 1993, Dulles donated a collection of her documents to the Mount Vernon College for Women, which merged with the George Washington University in 1999. The collection contains a variety of materials that document both her professional and personal life. It is currently cared for by GWU's Special Collections Research Center, located in the Estelle and Melvin Gelman Library. Family and personal life Eleanor Lansing Dulles was born on June 1, 1895, in Watertown, New York, one of five siblings born to Allen Macy Dulles and Edith ( Foster) Dulles. Her grandfather, John Watson Foster, served as United States Secretary of State under President Benjamin Harrison, for eight months. Her mother's sister married Robert Lansing, Secretary of State under President Woodrow Wilson. Her eldest brother, John Foster Dulles, was Secretary of State under President Dwight D. Eisenhower. Her other brother, Allen Dulles, served as Director of the Central Intelligence Agency from 1953 to 1961. She had two sisters, as well, Margaret and Nataline. Her nephew Avery Dulles was a prominent lay Catholic convert, who was made a cardinal of the Roman Catholic Church. Eleanor Lansing Dulles married David Simon Blondheim (1884–1934) on December 6, 1932. Blondheim had been a Medieval Studies fellow of the John Simon Guggenheim Memorial Foundation in 1926 and then a professor at Johns Hopkins University from 1929 to 1932. He was Romance philologist with a specialty in Judeo-Romance, a field that in many ways he invented. Blondheim committed suicide on March 19, 1934. Dulles and Blondheim had a son, David Dulles (born 1934, after his father's death). She later adopted a daughter, Ann Welsh Dulles (1937-2006), who was known after her 1962 marriage as Mrs. Anne Dulles Joor. Her children survived her. Dulles died on October 30, 1996, aged 101, in a retirement home in Washington, D.C., and was buried in Rock Creek Cemetery there. Henderson Harbor Throughout her life, Dulles spent summers in Henderson Harbor, New York. She was first introduced to the area as a child through her maternal grandparents who maintained a cottage there. Dulles maintained a summer residence there as an adult and in 1963 publicly campaigned against the construction of large cement plant that would endanger the ecological beauty and serenity of the area. Ancestry Writings Author The French Franc 1914–1928: The Facts and Their Interpretation (1928, reprinted 1978 by Arno Press) The Bank for International Settlements at Work (NY: Macmillan Co., 1932) The Dollar, the Franc and Inflation (NY: Macmillan Co., 1933) Depression and Reconstruction (University of Pennsylvania Press, 1936) Financing the Social Security Act: A report made for the Bureau of Research and Statistics of the Social Security Board (Washington, D.C.: Bureau of Research and Statistics of the Social Security Board, 1937) John Foster Dulles: The Last Year (NY: Harcourt, Brace & World, 1963) Berlin–The Wall Is Not Forever (University of North Carolina Press, 1967) American Foreign Policy in the Making (NY: Harper & Row, 1968) One Germany or Two (Hoover Institution Press, Stanford University, 1970) The Wall: A Tragedy in Three Acts (University of South Carolina Press, 1972) Eleanor Lansing Dulles: Chances of a Lifetime, a Memoir (Prentice-Hall, 1980) Co-author Détente: Cold War Strategies in Transition (1965), with Richard Crane Dickson Dominican Action–1965: Intervention or Cooperation? (1966), with Willard L. Beaulac, Karl H. Cerny, Jules Davids, and Joseph S. Farland Notes External links Eleanor Lansing Dulles Papers at the Seeley G. Mudd Manuscript Library, Princeton University Papers of Eleanor Lansing Dulles, Dwight D. Eisenhower Presidential Library Guide to the Eleanor Lansing Dulles Papers, 1867-1993, Special Collections Research Center, Estelle and Melvin Gelman Library, The George Washington University 1895 births 1996 deaths Bryn Mawr College alumni United States Department of State officials American centenarians Duke University faculty Georgetown University faculty Bretton Woods Conference delegates Dulles family Burials at Rock Creek Cemetery Radcliffe College alumni Women centenarians
Segundona aka Torneio de Apuramento (Qualification Tournament) or Gira Angola is the 2nd division of Angolan football (soccer). It is organized by the Angolan Football Federation and gives access to Angola's top tier football division Girabola. Unlike most league systems worldwide, Angola does not have a regular second-tier league system. The teams that are relegated from the top-tier league in Angola, the Girabola, are relegated to the provincial championship from which they originate, the so-called provincial stages. The champion of each provincial championship automatically qualifies to the Segundona, the league or tournament that qualifies to the Girabola. History The competition's first edition was played in 1981. It was contested by 20 teams divided in four groups of five teams each, with the winner of each group qualifying for the Girabola and the winners of each group contesting for the title of the league champion. Clubs from all provinces of the country disputed the competition. In 2009 the competition was again played by eighteen clubs and officially named as Segundona. From the 2011 edition on, the winners of the series played a round robin tournament to determine the league champion. 2011–2020 Segundona club participation details 2011–2020 2001–2010 Segundona club participation details 2001–2010 1991–2000 Segundona club participation details 1991–2000 1981–1990 Segundona club participation details 1981–1990 List of champions and series winners Titles by team See also Girabola Taça de Angola Supertaça de Angola References External links Girabola.com – Updated Standings and News 2 Angola
Menachem ("Max") Stark (July 15, 1974 – January 3, 2014) was an American real estate developer whose badly burned body was found smoldering in a dumpster outside a gas station in Great Neck, New York. The cousins Erskine Felix, Kendel Felix, Kendall Felix, and Irvine Henry were arrested and eventually convicted of the crime. Erskine worked for Stark, a prominent member of the Satmar Hasidic community in the Williamsburg neighborhood of New York City. Claiming that Stark owed him money, Erskine recruited his cousins to help in a botched robbery of Stark that instead turned into a homicide. The New York Post featured a front page image of Stark with the headline, "Who Didn't Want Him Dead?". The headline, referring to the notion that Stark had acquired a number of enemies during the course of his real estate dealings, sparked condemnation from local officials for showing insensitivity towards the victim, and for seeming to condone crime. Background Menachem Stark was a prominent member of the Satmar Hasidic community of Williamsburg, a neighborhood of New York City. He was a real estate developer. Public records showed that Stark and his business partner, Israel Perlmutter, had some business troubles, dating back to the 2007–2009 recession, including a $29 million loan default resulting in a 2009 bankruptcy and a lawsuit in 2011, and an unrelated $2.9 million loan default that led to a $4 million judgement in 2012. The media also reported on a long list of building violations in properties owned by Stark and his partners. Tenants had described revolting conditions in Stark-owned residential buildings for many years, although shortly after Stark's death, glowing reviews of his properties began to appear on social media sites. Among Stark and Perlmutter's creditors was the Broadway Bank of Chicago, notable for its loans to organized crime figures, such as convicted bookmaker Michael "Jaws" Giorango. Stark and Perlmutter defaulted on a $1.5 million loan from the bank, part of the $104 million in loan defaults that contributed to the bank's demise. Bank accounts belonging to Southside LLC (Stark and Perlmutter's corporation) appear to have been tampered with to conceal a diversion of funds. According to court filings, $3.6 million was found to be missing from accounts maintained by Southside LLC. Unauthorized withdrawals had been made in the second half of 2013. Jonathan Flaxer, a trustee appointed by the bankruptcy court to oversee the Southside LLC case, said that Stark had "obtained cashier's checks made out to a multitude of individuals, entities, and law firms to pay for personal debts or for use in other real estate transactions". According to the Daily News, the checks were marked "customer withdrawal". The Daily News said that court records show that, in the month before Stark was murdered, five "customer withdrawals" were taken out from the account, totaling $267,101. According to court records, a rent security account at one of Southside LLC's businesses contained only $3,500, when it should have in excess of $200,000 on deposit. The account contained rents collected from the company's buildings, which the company continued to manage as its bankruptcy was being processed. Flaxer said he would call Stark's widow and his partner Perlmutter to testify in the case. Perlmutter, via his attorney, said he would use his Fifth Amendment right to avoid self-incrimination if he is questioned about the missing money. Perlmutter also reportedly told police that the pair owed about $1 million to a loan shark or a Russian businessman. In the weeks before his death, Stark reportedly ended his conversations with the phrase "Please pray for me". He would ask the person to whom he was speaking to invoke his name and his mother's name, a sign in Orthodox Judaism of someone facing a life-threatening situation. Stark died without a will. Incident Stark exited his office located at 331 Rutledge Street in Williamsburg on January 2, 2014, at around 11:45 pm into a heavy blizzard. A surveillance camera positioned near the office captured images of Stark struggling with two attackers for nearly five minutes, before being forced into a silver Dodge Caravan in an intended robbery. Broken handcuffs and plastic restraining tape were later found on the sidewalk. His badly burned body was found the next day smoldering in a dumpster outside a Getty gas station on Cutter Mill Road in Great Neck, New York. According to the Nassau County Medical Examiner, Stark died of asphyxia by compression of the neck and chest. He was also badly burned on his torso and hands. When found, he had $4,000 cash in his pocket, and uncashed checks in his name worth another $41,000. Arrests Four cousins were arrested in the aftermath of the crime. Erskine Felix, the ringleader, lived in nearby Crown Heights and managed construction sites owned by Stark. He had about $20,000 worth of construction work which had not been paid up to that point. His co-conspirators – his brother Kendall Felix, cousin Kendel Felix, and cousin Irvine Henry – worked as carpenters on those construction sites. According to prosecutors, Erskine, claiming Stark owed him the money, plotted to kidnap him and hold him for ransom. In May 2014, Kendel Felix was indicted on charges of second-degree murder, kidnapping, and attempted robbery in the case. He said that he and two accomplices had kidnapped Stark, hoping to get the money. According to the New York Post, Kendel confessed to the killing and admitted to being the driver of the van, as well as one of the men who wrestled with Stark on the sidewalk. The Post said that Felix implicated two other men in the murder, but that they had been arrested and then released. According to Felix's alleged confession, one of the accomplices said "He owes me money" just before they grabbed Stark. Felix indicated that the death was unintentional, and occurred after one of Felix's accomplices sat on Stark inside the minivan. Convictions Kendall Felix, who admitted to burning Stark's body, was charged with conspiracy and hindering prosecution. He pleaded guilty in 2019 to both counts in exchange for a plea bargain offered by Brooklyn Supreme Court Justice Danny Chun. In March 2019, he was sentenced to 2 1/3–7 years behind bars, over prosecutors’ objections. Felix, who was confronted by Stark's widow, declined to address Chun or Stark's family during his sentencing. In April 2019, Erskine Felix was convicted of second-degree murder, first degree kidnapping and tampering with physical evidence for masterminding and carrying out the fatal kidnapping. He was acquitted of another first-degree kidnapping charge and a conspiracy charge. Jurors took fewer than five hours of deliberation to convict Felix. In June he was sentenced to 24 years to life. In May 2019, Kendel Felix was sentenced to 15-years-to-life in prison. He apologized to the victim's family. Outrage about New York Post front page The New York Post featured an image of the deceased Stark on the front page of their January 5 edition, with the headline, "Who Didn't Want Him Dead?". The front page sparked outrage, specifically among members of the Orthodox Jewish community, amid suggestions that the Post was helping to create a climate of violence. Brooklyn Borough President Eric Adams, New York Assemblyman Dov Hikind, and other local politicians condemned the coverage at a press conference at Brooklyn Borough Hall, and there were calls for a boycott of the tabloid. The Post refused to apologize, saying that the headline referred only to Stark's "many enemies", and expressed its sympathies to the deceased man's family. Stark left behind a wife and seven children. Stark was publicly mourned by the Hasidic community. The Jewish Daily Forward noted that, "For his Satmar friends and colleagues, Stark, 38, embodied the best of their world: a generous person with an open wallet for anyone in search of aid." The Forward added that, "Stark appears to have personified a contradiction familiar both inside and outside ultra-Orthodox circles: a pious philanthropist whose business dealings didn't always live up to avowed communal standards." After his death, the Hasidic fertility charity Bonei Olam dedicated a new Clinical Genetics Fund in his name, "to help couples with genetic issues realize their dreams of parenthood". References January 2014 crimes in the United States 2014 crimes in New York (state) 2014 murders in the United States 2014 in New York City Williamsburg, Brooklyn Kidnappings in the United States Robberies in the United States Deaths by person in New York (state) Crimes in Brooklyn Deaths from asphyxiation
The Yalobusha River is a river, long, in north-central Mississippi in the United States. It is a principal tributary of the Yazoo River, via which it is part of the watershed of the Mississippi River. The name "Yalobusha" comes from the Choctaw word yalooboshi, meaning "little tadpole", from yalooba, "tadpole", and -ushi, "diminutive". The United States Board on Geographic Names settled on the river's name in 1892. According to the Geographic Names Information System, it has also been known as "Yallabusha" and as the "Yellowbushy River." Course The Yalobusha River rises in Chickasaw County, northwest of the town of Houston, and flows generally west-southwestwardly through Calhoun, Grenada and Leflore Counties, past the town of Grenada. At Greenwood it joins the Tallahatchie River to form the Yazoo River. Much of the Yalobusha's course through Calhoun County has been straightened and channelized; this section of the river is also known as the "Yalobusha River Canal." In Grenada County, the river is impounded by a U.S. Army Corps of Engineers dam to form Grenada Lake, which collects the Yalobusha's largest tributary, the Skuna River. The Yalobusha at Grenada, MS averages a discharge of 2,436 cubic feet per second. Major tributaries Big Sand Creek Skuna River Batupan Bogue Topashaw Creek See also List of Mississippi rivers References External links Grenada Lake Sources Columbia Gazetter of North America entry DeLorme (1998). Mississippi Atlas & Gazetteer. Yarmouth, Maine: DeLorme. . Rivers of Mississippi Bodies of water of Calhoun County, Mississippi Bodies of water of Chickasaw County, Mississippi Bodies of water of Grenada County, Mississippi Bodies of water of Leflore County, Mississippi Mississippi placenames of Native American origin
Hanson was an electoral district of the House of Assembly in the Australian state of South Australia from 1970 to 2002. The district was based in the western suburbs of Adelaide. First won at the 1970 election by the Liberal and Country League on a two-party margin of just 0.4 percent, it bounced between a marginal to safe Liberal seat, held by Heini Becker, until it was transformed into a marginal Labor seat by the redistribution ahead of the 1993 election, but was retained by Liberal Stewart Leggett before being won by Labor for the first time at the 1997 election as a marginal Labor seat represented by Steph Key. Hanson was abolished and renamed to Ashford ahead of the 2002 election which Labor and Key have retained since. Members for Hanson Election results External links 1985 & 1989 election boundaries, page 18 & 19 Former electoral districts of South Australia 1970 establishments in Australia 1997 disestablishments in Australia
```smalltalk using Microsoft.Win32; using System; using System.Collections.Generic; using System.Runtime.Versioning; namespace XOutput.Configuration { public sealed class RegistryModifierService { private readonly Dictionary<string, RegistryKey> mapping = new Dictionary<string, RegistryKey>(); public RegistryModifierService() { FillMapping(Registry.LocalMachine); FillMapping(Registry.CurrentUser); FillMapping(Registry.ClassesRoot); FillMapping(Registry.CurrentConfig); } private void FillMapping(RegistryKey key) { mapping.Add(key.ToString(), key); } private RegistryKey GetRootRegistryKey(string key) { string root = key.Substring(0, key.IndexOf('\\')); var result = mapping[root]; if (result == null) { throw new ArgumentException(nameof(key)); } return result; } public bool KeyExists(string key) { string subkey = key.Substring(key.IndexOf('\\') + 1); using (var registryKey = GetRootRegistryKey(key)) { return registryKey.OpenSubKey(subkey) != null; } } public bool DeleteTree(string key) { if (!KeyExists(key)) { return false; } string subkey = key.Substring(key.IndexOf('\\') + 1); using (var registryKey = GetRootRegistryKey(key)) { registryKey.DeleteSubKeyTree(subkey); } return true; } public bool CreateKey(string key) { if (KeyExists(key)) { return false; } string subkey = key.Substring(key.IndexOf('\\') + 1); using (var registryKey = GetRootRegistryKey(key)) { registryKey.CreateSubKey(subkey); } return true; } public object GetValue(string key, string value, bool createKeyIfNotExists = true) { if (createKeyIfNotExists) { CreateKey(key); } return Registry.GetValue(key, value, null); } public T GetValue<T>(string key, string value, bool createKeyIfNotExists = true) { if (createKeyIfNotExists) { CreateKey(key); } return (T) Registry.GetValue(key, value, null); } public void SetValue(string key, string value, object newValue, bool createKeyIfNotExists = true) { if (createKeyIfNotExists) { CreateKey(key); } Registry.SetValue(key, value, newValue); } public void DeleteValue(string key, string value) { string subkey = key.Substring(key.IndexOf('\\') + 1); using (var registryKey = GetRootRegistryKey(key)) { registryKey.OpenSubKey(subkey).DeleteValue(value); } } public string[] GetSubKeyNames(string key, bool createKeyIfNotExists = true) { if (createKeyIfNotExists) { CreateKey(key); } string subkey = key.Substring(key.IndexOf('\\') + 1); using (var registryKey = GetRootRegistryKey(key)) { return registryKey.OpenSubKey(subkey).GetSubKeyNames(); } } } } ```
```go // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package securityhub import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/private/protocol/restjson" ) const opAcceptAdministratorInvitation = "AcceptAdministratorInvitation" // AcceptAdministratorInvitationRequest generates a "aws/request.Request" representing the // client's request for the AcceptAdministratorInvitation operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See AcceptAdministratorInvitation for more information on using the AcceptAdministratorInvitation // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the AcceptAdministratorInvitationRequest method. // req, resp := client.AcceptAdministratorInvitationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) AcceptAdministratorInvitationRequest(input *AcceptAdministratorInvitationInput) (req *request.Request, output *AcceptAdministratorInvitationOutput) { op := &request.Operation{ Name: opAcceptAdministratorInvitation, HTTPMethod: "POST", HTTPPath: "/administrator", } if input == nil { input = &AcceptAdministratorInvitationInput{} } output = &AcceptAdministratorInvitationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // AcceptAdministratorInvitation API operation for AWS SecurityHub. // // Accepts the invitation to be a member account and be monitored by the Security // Hub administrator account that the invitation was sent from. // // This operation is only used by member accounts that are not added through // Organizations. // // When the member account accepts the invitation, permission is granted to // the administrator account to view findings generated in the member account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation AcceptAdministratorInvitation for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // See also, path_to_url func (c *SecurityHub) AcceptAdministratorInvitation(input *AcceptAdministratorInvitationInput) (*AcceptAdministratorInvitationOutput, error) { req, out := c.AcceptAdministratorInvitationRequest(input) return out, req.Send() } // AcceptAdministratorInvitationWithContext is the same as AcceptAdministratorInvitation with the addition of // the ability to pass a context and additional request options. // // See AcceptAdministratorInvitation for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) AcceptAdministratorInvitationWithContext(ctx aws.Context, input *AcceptAdministratorInvitationInput, opts ...request.Option) (*AcceptAdministratorInvitationOutput, error) { req, out := c.AcceptAdministratorInvitationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opAcceptInvitation = "AcceptInvitation" // AcceptInvitationRequest generates a "aws/request.Request" representing the // client's request for the AcceptInvitation operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See AcceptInvitation for more information on using the AcceptInvitation // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the AcceptInvitationRequest method. // req, resp := client.AcceptInvitationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url // // Deprecated: This API has been deprecated, use AcceptAdministratorInvitation API instead. func (c *SecurityHub) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, AcceptInvitation, has been deprecated") } op := &request.Operation{ Name: opAcceptInvitation, HTTPMethod: "POST", HTTPPath: "/master", } if input == nil { input = &AcceptInvitationInput{} } output = &AcceptInvitationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // AcceptInvitation API operation for AWS SecurityHub. // // This method is deprecated. Instead, use AcceptAdministratorInvitation. // // The Security Hub console continues to use AcceptInvitation. It will eventually // change to use AcceptAdministratorInvitation. Any IAM policies that specifically // control access to this function must continue to use AcceptInvitation. You // should also add AcceptAdministratorInvitation to your policies to ensure // that the correct permissions are in place after the console begins to use // AcceptAdministratorInvitation. // // Accepts the invitation to be a member account and be monitored by the Security // Hub administrator account that the invitation was sent from. // // This operation is only used by member accounts that are not added through // Organizations. // // When the member account accepts the invitation, permission is granted to // the administrator account to view findings generated in the member account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation AcceptInvitation for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // See also, path_to_url // // Deprecated: This API has been deprecated, use AcceptAdministratorInvitation API instead. func (c *SecurityHub) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error) { req, out := c.AcceptInvitationRequest(input) return out, req.Send() } // AcceptInvitationWithContext is the same as AcceptInvitation with the addition of // the ability to pass a context and additional request options. // // See AcceptInvitation for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. // // Deprecated: This API has been deprecated, use AcceptAdministratorInvitation API instead. func (c *SecurityHub) AcceptInvitationWithContext(ctx aws.Context, input *AcceptInvitationInput, opts ...request.Option) (*AcceptInvitationOutput, error) { req, out := c.AcceptInvitationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchDeleteAutomationRules = "BatchDeleteAutomationRules" // BatchDeleteAutomationRulesRequest generates a "aws/request.Request" representing the // client's request for the BatchDeleteAutomationRules operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchDeleteAutomationRules for more information on using the BatchDeleteAutomationRules // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchDeleteAutomationRulesRequest method. // req, resp := client.BatchDeleteAutomationRulesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchDeleteAutomationRulesRequest(input *BatchDeleteAutomationRulesInput) (req *request.Request, output *BatchDeleteAutomationRulesOutput) { op := &request.Operation{ Name: opBatchDeleteAutomationRules, HTTPMethod: "POST", HTTPPath: "/automationrules/delete", } if input == nil { input = &BatchDeleteAutomationRulesInput{} } output = &BatchDeleteAutomationRulesOutput{} req = c.newRequest(op, input, output) return } // BatchDeleteAutomationRules API operation for AWS SecurityHub. // // Deletes one or more automation rules. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchDeleteAutomationRules for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) BatchDeleteAutomationRules(input *BatchDeleteAutomationRulesInput) (*BatchDeleteAutomationRulesOutput, error) { req, out := c.BatchDeleteAutomationRulesRequest(input) return out, req.Send() } // BatchDeleteAutomationRulesWithContext is the same as BatchDeleteAutomationRules with the addition of // the ability to pass a context and additional request options. // // See BatchDeleteAutomationRules for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchDeleteAutomationRulesWithContext(ctx aws.Context, input *BatchDeleteAutomationRulesInput, opts ...request.Option) (*BatchDeleteAutomationRulesOutput, error) { req, out := c.BatchDeleteAutomationRulesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchDisableStandards = "BatchDisableStandards" // BatchDisableStandardsRequest generates a "aws/request.Request" representing the // client's request for the BatchDisableStandards operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchDisableStandards for more information on using the BatchDisableStandards // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchDisableStandardsRequest method. // req, resp := client.BatchDisableStandardsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchDisableStandardsRequest(input *BatchDisableStandardsInput) (req *request.Request, output *BatchDisableStandardsOutput) { op := &request.Operation{ Name: opBatchDisableStandards, HTTPMethod: "POST", HTTPPath: "/standards/deregister", } if input == nil { input = &BatchDisableStandardsInput{} } output = &BatchDisableStandardsOutput{} req = c.newRequest(op, input, output) return } // BatchDisableStandards API operation for AWS SecurityHub. // // Disables the standards specified by the provided StandardsSubscriptionArns. // // For more information, see Security Standards (path_to_url // section of the Security Hub User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchDisableStandards for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) BatchDisableStandards(input *BatchDisableStandardsInput) (*BatchDisableStandardsOutput, error) { req, out := c.BatchDisableStandardsRequest(input) return out, req.Send() } // BatchDisableStandardsWithContext is the same as BatchDisableStandards with the addition of // the ability to pass a context and additional request options. // // See BatchDisableStandards for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchDisableStandardsWithContext(ctx aws.Context, input *BatchDisableStandardsInput, opts ...request.Option) (*BatchDisableStandardsOutput, error) { req, out := c.BatchDisableStandardsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchEnableStandards = "BatchEnableStandards" // BatchEnableStandardsRequest generates a "aws/request.Request" representing the // client's request for the BatchEnableStandards operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchEnableStandards for more information on using the BatchEnableStandards // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchEnableStandardsRequest method. // req, resp := client.BatchEnableStandardsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchEnableStandardsRequest(input *BatchEnableStandardsInput) (req *request.Request, output *BatchEnableStandardsOutput) { op := &request.Operation{ Name: opBatchEnableStandards, HTTPMethod: "POST", HTTPPath: "/standards/register", } if input == nil { input = &BatchEnableStandardsInput{} } output = &BatchEnableStandardsOutput{} req = c.newRequest(op, input, output) return } // BatchEnableStandards API operation for AWS SecurityHub. // // Enables the standards specified by the provided StandardsArn. To obtain the // ARN for a standard, use the DescribeStandards operation. // // For more information, see the Security Standards (path_to_url // section of the Security Hub User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchEnableStandards for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) BatchEnableStandards(input *BatchEnableStandardsInput) (*BatchEnableStandardsOutput, error) { req, out := c.BatchEnableStandardsRequest(input) return out, req.Send() } // BatchEnableStandardsWithContext is the same as BatchEnableStandards with the addition of // the ability to pass a context and additional request options. // // See BatchEnableStandards for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchEnableStandardsWithContext(ctx aws.Context, input *BatchEnableStandardsInput, opts ...request.Option) (*BatchEnableStandardsOutput, error) { req, out := c.BatchEnableStandardsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchGetAutomationRules = "BatchGetAutomationRules" // BatchGetAutomationRulesRequest generates a "aws/request.Request" representing the // client's request for the BatchGetAutomationRules operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchGetAutomationRules for more information on using the BatchGetAutomationRules // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchGetAutomationRulesRequest method. // req, resp := client.BatchGetAutomationRulesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchGetAutomationRulesRequest(input *BatchGetAutomationRulesInput) (req *request.Request, output *BatchGetAutomationRulesOutput) { op := &request.Operation{ Name: opBatchGetAutomationRules, HTTPMethod: "POST", HTTPPath: "/automationrules/get", } if input == nil { input = &BatchGetAutomationRulesInput{} } output = &BatchGetAutomationRulesOutput{} req = c.newRequest(op, input, output) return } // BatchGetAutomationRules API operation for AWS SecurityHub. // // Retrieves a list of details for automation rules based on rule Amazon Resource // Names (ARNs). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchGetAutomationRules for usage and error information. // // Returned Error Types: // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) BatchGetAutomationRules(input *BatchGetAutomationRulesInput) (*BatchGetAutomationRulesOutput, error) { req, out := c.BatchGetAutomationRulesRequest(input) return out, req.Send() } // BatchGetAutomationRulesWithContext is the same as BatchGetAutomationRules with the addition of // the ability to pass a context and additional request options. // // See BatchGetAutomationRules for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchGetAutomationRulesWithContext(ctx aws.Context, input *BatchGetAutomationRulesInput, opts ...request.Option) (*BatchGetAutomationRulesOutput, error) { req, out := c.BatchGetAutomationRulesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchGetConfigurationPolicyAssociations = "BatchGetConfigurationPolicyAssociations" // BatchGetConfigurationPolicyAssociationsRequest generates a "aws/request.Request" representing the // client's request for the BatchGetConfigurationPolicyAssociations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchGetConfigurationPolicyAssociations for more information on using the BatchGetConfigurationPolicyAssociations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchGetConfigurationPolicyAssociationsRequest method. // req, resp := client.BatchGetConfigurationPolicyAssociationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchGetConfigurationPolicyAssociationsRequest(input *BatchGetConfigurationPolicyAssociationsInput) (req *request.Request, output *BatchGetConfigurationPolicyAssociationsOutput) { op := &request.Operation{ Name: opBatchGetConfigurationPolicyAssociations, HTTPMethod: "POST", HTTPPath: "/configurationPolicyAssociation/batchget", } if input == nil { input = &BatchGetConfigurationPolicyAssociationsInput{} } output = &BatchGetConfigurationPolicyAssociationsOutput{} req = c.newRequest(op, input, output) return } // BatchGetConfigurationPolicyAssociations API operation for AWS SecurityHub. // // Returns associations between an Security Hub configuration and a batch of // target accounts, organizational units, or the root. Only the Security Hub // delegated administrator can invoke this operation from the home Region. A // configuration can refer to a configuration policy or to a self-managed configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchGetConfigurationPolicyAssociations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) BatchGetConfigurationPolicyAssociations(input *BatchGetConfigurationPolicyAssociationsInput) (*BatchGetConfigurationPolicyAssociationsOutput, error) { req, out := c.BatchGetConfigurationPolicyAssociationsRequest(input) return out, req.Send() } // BatchGetConfigurationPolicyAssociationsWithContext is the same as BatchGetConfigurationPolicyAssociations with the addition of // the ability to pass a context and additional request options. // // See BatchGetConfigurationPolicyAssociations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchGetConfigurationPolicyAssociationsWithContext(ctx aws.Context, input *BatchGetConfigurationPolicyAssociationsInput, opts ...request.Option) (*BatchGetConfigurationPolicyAssociationsOutput, error) { req, out := c.BatchGetConfigurationPolicyAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchGetSecurityControls = "BatchGetSecurityControls" // BatchGetSecurityControlsRequest generates a "aws/request.Request" representing the // client's request for the BatchGetSecurityControls operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchGetSecurityControls for more information on using the BatchGetSecurityControls // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchGetSecurityControlsRequest method. // req, resp := client.BatchGetSecurityControlsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchGetSecurityControlsRequest(input *BatchGetSecurityControlsInput) (req *request.Request, output *BatchGetSecurityControlsOutput) { op := &request.Operation{ Name: opBatchGetSecurityControls, HTTPMethod: "POST", HTTPPath: "/securityControls/batchGet", } if input == nil { input = &BatchGetSecurityControlsInput{} } output = &BatchGetSecurityControlsOutput{} req = c.newRequest(op, input, output) return } // BatchGetSecurityControls API operation for AWS SecurityHub. // // Provides details about a batch of security controls for the current Amazon // Web Services account and Amazon Web Services Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchGetSecurityControls for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // See also, path_to_url func (c *SecurityHub) BatchGetSecurityControls(input *BatchGetSecurityControlsInput) (*BatchGetSecurityControlsOutput, error) { req, out := c.BatchGetSecurityControlsRequest(input) return out, req.Send() } // BatchGetSecurityControlsWithContext is the same as BatchGetSecurityControls with the addition of // the ability to pass a context and additional request options. // // See BatchGetSecurityControls for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchGetSecurityControlsWithContext(ctx aws.Context, input *BatchGetSecurityControlsInput, opts ...request.Option) (*BatchGetSecurityControlsOutput, error) { req, out := c.BatchGetSecurityControlsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchGetStandardsControlAssociations = "BatchGetStandardsControlAssociations" // BatchGetStandardsControlAssociationsRequest generates a "aws/request.Request" representing the // client's request for the BatchGetStandardsControlAssociations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchGetStandardsControlAssociations for more information on using the BatchGetStandardsControlAssociations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchGetStandardsControlAssociationsRequest method. // req, resp := client.BatchGetStandardsControlAssociationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchGetStandardsControlAssociationsRequest(input *BatchGetStandardsControlAssociationsInput) (req *request.Request, output *BatchGetStandardsControlAssociationsOutput) { op := &request.Operation{ Name: opBatchGetStandardsControlAssociations, HTTPMethod: "POST", HTTPPath: "/associations/batchGet", } if input == nil { input = &BatchGetStandardsControlAssociationsInput{} } output = &BatchGetStandardsControlAssociationsOutput{} req = c.newRequest(op, input, output) return } // BatchGetStandardsControlAssociations API operation for AWS SecurityHub. // // For a batch of security controls and standards, identifies whether each control // is currently enabled or disabled in a standard. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchGetStandardsControlAssociations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // See also, path_to_url func (c *SecurityHub) BatchGetStandardsControlAssociations(input *BatchGetStandardsControlAssociationsInput) (*BatchGetStandardsControlAssociationsOutput, error) { req, out := c.BatchGetStandardsControlAssociationsRequest(input) return out, req.Send() } // BatchGetStandardsControlAssociationsWithContext is the same as BatchGetStandardsControlAssociations with the addition of // the ability to pass a context and additional request options. // // See BatchGetStandardsControlAssociations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchGetStandardsControlAssociationsWithContext(ctx aws.Context, input *BatchGetStandardsControlAssociationsInput, opts ...request.Option) (*BatchGetStandardsControlAssociationsOutput, error) { req, out := c.BatchGetStandardsControlAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchImportFindings = "BatchImportFindings" // BatchImportFindingsRequest generates a "aws/request.Request" representing the // client's request for the BatchImportFindings operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchImportFindings for more information on using the BatchImportFindings // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchImportFindingsRequest method. // req, resp := client.BatchImportFindingsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchImportFindingsRequest(input *BatchImportFindingsInput) (req *request.Request, output *BatchImportFindingsOutput) { op := &request.Operation{ Name: opBatchImportFindings, HTTPMethod: "POST", HTTPPath: "/findings/import", } if input == nil { input = &BatchImportFindingsInput{} } output = &BatchImportFindingsOutput{} req = c.newRequest(op, input, output) return } // BatchImportFindings API operation for AWS SecurityHub. // // Imports security findings generated by a finding provider into Security Hub. // This action is requested by the finding provider to import its findings into // Security Hub. // // BatchImportFindings must be called by one of the following: // // - The Amazon Web Services account that is associated with a finding if // you are using the default product ARN (path_to_url#securityhub-custom-providers-bfi-reqs) // or are a partner sending findings from within a customer's Amazon Web // Services account. In these cases, the identifier of the account that you // are calling BatchImportFindings from needs to be the same as the AwsAccountId // attribute for the finding. // // - An Amazon Web Services account that Security Hub has allow-listed for // an official partner integration. In this case, you can call BatchImportFindings // from the allow-listed account and send findings from different customer // accounts in the same batch. // // The maximum allowed size for a finding is 240 Kb. An error is returned for // any finding larger than 240 Kb. // // After a finding is created, BatchImportFindings cannot be used to update // the following finding fields and objects, which Security Hub customers use // to manage their investigation workflow. // // - Note // // - UserDefinedFields // // - VerificationState // // - Workflow // // Finding providers also should not use BatchImportFindings to update the following // attributes. // // - Confidence // // - Criticality // // - RelatedFindings // // - Severity // // - Types // // Instead, finding providers use FindingProviderFields to provide values for // these attributes. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchImportFindings for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // See also, path_to_url func (c *SecurityHub) BatchImportFindings(input *BatchImportFindingsInput) (*BatchImportFindingsOutput, error) { req, out := c.BatchImportFindingsRequest(input) return out, req.Send() } // BatchImportFindingsWithContext is the same as BatchImportFindings with the addition of // the ability to pass a context and additional request options. // // See BatchImportFindings for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchImportFindingsWithContext(ctx aws.Context, input *BatchImportFindingsInput, opts ...request.Option) (*BatchImportFindingsOutput, error) { req, out := c.BatchImportFindingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchUpdateAutomationRules = "BatchUpdateAutomationRules" // BatchUpdateAutomationRulesRequest generates a "aws/request.Request" representing the // client's request for the BatchUpdateAutomationRules operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchUpdateAutomationRules for more information on using the BatchUpdateAutomationRules // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchUpdateAutomationRulesRequest method. // req, resp := client.BatchUpdateAutomationRulesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchUpdateAutomationRulesRequest(input *BatchUpdateAutomationRulesInput) (req *request.Request, output *BatchUpdateAutomationRulesOutput) { op := &request.Operation{ Name: opBatchUpdateAutomationRules, HTTPMethod: "PATCH", HTTPPath: "/automationrules/update", } if input == nil { input = &BatchUpdateAutomationRulesInput{} } output = &BatchUpdateAutomationRulesOutput{} req = c.newRequest(op, input, output) return } // BatchUpdateAutomationRules API operation for AWS SecurityHub. // // Updates one or more automation rules based on rule Amazon Resource Names // (ARNs) and input parameters. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchUpdateAutomationRules for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) BatchUpdateAutomationRules(input *BatchUpdateAutomationRulesInput) (*BatchUpdateAutomationRulesOutput, error) { req, out := c.BatchUpdateAutomationRulesRequest(input) return out, req.Send() } // BatchUpdateAutomationRulesWithContext is the same as BatchUpdateAutomationRules with the addition of // the ability to pass a context and additional request options. // // See BatchUpdateAutomationRules for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchUpdateAutomationRulesWithContext(ctx aws.Context, input *BatchUpdateAutomationRulesInput, opts ...request.Option) (*BatchUpdateAutomationRulesOutput, error) { req, out := c.BatchUpdateAutomationRulesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchUpdateFindings = "BatchUpdateFindings" // BatchUpdateFindingsRequest generates a "aws/request.Request" representing the // client's request for the BatchUpdateFindings operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchUpdateFindings for more information on using the BatchUpdateFindings // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchUpdateFindingsRequest method. // req, resp := client.BatchUpdateFindingsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchUpdateFindingsRequest(input *BatchUpdateFindingsInput) (req *request.Request, output *BatchUpdateFindingsOutput) { op := &request.Operation{ Name: opBatchUpdateFindings, HTTPMethod: "PATCH", HTTPPath: "/findings/batchupdate", } if input == nil { input = &BatchUpdateFindingsInput{} } output = &BatchUpdateFindingsOutput{} req = c.newRequest(op, input, output) return } // BatchUpdateFindings API operation for AWS SecurityHub. // // Used by Security Hub customers to update information about their investigation // into a finding. Requested by administrator accounts or member accounts. Administrator // accounts can update findings for their account and their member accounts. // Member accounts can update findings for their account. // // Updates from BatchUpdateFindings do not affect the value of UpdatedAt for // a finding. // // Administrator and member accounts can use BatchUpdateFindings to update the // following finding fields and objects. // // - Confidence // // - Criticality // // - Note // // - RelatedFindings // // - Severity // // - Types // // - UserDefinedFields // // - VerificationState // // - Workflow // // You can configure IAM policies to restrict access to fields and field values. // For example, you might not want member accounts to be able to suppress findings // or change the finding severity. See Configuring access to BatchUpdateFindings // (path_to_url#batchupdatefindings-configure-access) // in the Security Hub User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchUpdateFindings for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // See also, path_to_url func (c *SecurityHub) BatchUpdateFindings(input *BatchUpdateFindingsInput) (*BatchUpdateFindingsOutput, error) { req, out := c.BatchUpdateFindingsRequest(input) return out, req.Send() } // BatchUpdateFindingsWithContext is the same as BatchUpdateFindings with the addition of // the ability to pass a context and additional request options. // // See BatchUpdateFindings for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchUpdateFindingsWithContext(ctx aws.Context, input *BatchUpdateFindingsInput, opts ...request.Option) (*BatchUpdateFindingsOutput, error) { req, out := c.BatchUpdateFindingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opBatchUpdateStandardsControlAssociations = "BatchUpdateStandardsControlAssociations" // BatchUpdateStandardsControlAssociationsRequest generates a "aws/request.Request" representing the // client's request for the BatchUpdateStandardsControlAssociations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See BatchUpdateStandardsControlAssociations for more information on using the BatchUpdateStandardsControlAssociations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the BatchUpdateStandardsControlAssociationsRequest method. // req, resp := client.BatchUpdateStandardsControlAssociationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) BatchUpdateStandardsControlAssociationsRequest(input *BatchUpdateStandardsControlAssociationsInput) (req *request.Request, output *BatchUpdateStandardsControlAssociationsOutput) { op := &request.Operation{ Name: opBatchUpdateStandardsControlAssociations, HTTPMethod: "PATCH", HTTPPath: "/associations", } if input == nil { input = &BatchUpdateStandardsControlAssociationsInput{} } output = &BatchUpdateStandardsControlAssociationsOutput{} req = c.newRequest(op, input, output) return } // BatchUpdateStandardsControlAssociations API operation for AWS SecurityHub. // // For a batch of security controls and standards, this operation updates the // enablement status of a control in a standard. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation BatchUpdateStandardsControlAssociations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) BatchUpdateStandardsControlAssociations(input *BatchUpdateStandardsControlAssociationsInput) (*BatchUpdateStandardsControlAssociationsOutput, error) { req, out := c.BatchUpdateStandardsControlAssociationsRequest(input) return out, req.Send() } // BatchUpdateStandardsControlAssociationsWithContext is the same as BatchUpdateStandardsControlAssociations with the addition of // the ability to pass a context and additional request options. // // See BatchUpdateStandardsControlAssociations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) BatchUpdateStandardsControlAssociationsWithContext(ctx aws.Context, input *BatchUpdateStandardsControlAssociationsInput, opts ...request.Option) (*BatchUpdateStandardsControlAssociationsOutput, error) { req, out := c.BatchUpdateStandardsControlAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opCreateActionTarget = "CreateActionTarget" // CreateActionTargetRequest generates a "aws/request.Request" representing the // client's request for the CreateActionTarget operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See CreateActionTarget for more information on using the CreateActionTarget // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the CreateActionTargetRequest method. // req, resp := client.CreateActionTargetRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) CreateActionTargetRequest(input *CreateActionTargetInput) (req *request.Request, output *CreateActionTargetOutput) { op := &request.Operation{ Name: opCreateActionTarget, HTTPMethod: "POST", HTTPPath: "/actionTargets", } if input == nil { input = &CreateActionTargetInput{} } output = &CreateActionTargetOutput{} req = c.newRequest(op, input, output) return } // CreateActionTarget API operation for AWS SecurityHub. // // Creates a custom action target in Security Hub. // // You can use custom actions on findings and insights in Security Hub to trigger // target actions in Amazon CloudWatch Events. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation CreateActionTarget for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // See also, path_to_url func (c *SecurityHub) CreateActionTarget(input *CreateActionTargetInput) (*CreateActionTargetOutput, error) { req, out := c.CreateActionTargetRequest(input) return out, req.Send() } // CreateActionTargetWithContext is the same as CreateActionTarget with the addition of // the ability to pass a context and additional request options. // // See CreateActionTarget for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) CreateActionTargetWithContext(ctx aws.Context, input *CreateActionTargetInput, opts ...request.Option) (*CreateActionTargetOutput, error) { req, out := c.CreateActionTargetRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opCreateAutomationRule = "CreateAutomationRule" // CreateAutomationRuleRequest generates a "aws/request.Request" representing the // client's request for the CreateAutomationRule operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See CreateAutomationRule for more information on using the CreateAutomationRule // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the CreateAutomationRuleRequest method. // req, resp := client.CreateAutomationRuleRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) CreateAutomationRuleRequest(input *CreateAutomationRuleInput) (req *request.Request, output *CreateAutomationRuleOutput) { op := &request.Operation{ Name: opCreateAutomationRule, HTTPMethod: "POST", HTTPPath: "/automationrules/create", } if input == nil { input = &CreateAutomationRuleInput{} } output = &CreateAutomationRuleOutput{} req = c.newRequest(op, input, output) return } // CreateAutomationRule API operation for AWS SecurityHub. // // Creates an automation rule based on input parameters. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation CreateAutomationRule for usage and error information. // // Returned Error Types: // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) CreateAutomationRule(input *CreateAutomationRuleInput) (*CreateAutomationRuleOutput, error) { req, out := c.CreateAutomationRuleRequest(input) return out, req.Send() } // CreateAutomationRuleWithContext is the same as CreateAutomationRule with the addition of // the ability to pass a context and additional request options. // // See CreateAutomationRule for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) CreateAutomationRuleWithContext(ctx aws.Context, input *CreateAutomationRuleInput, opts ...request.Option) (*CreateAutomationRuleOutput, error) { req, out := c.CreateAutomationRuleRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opCreateConfigurationPolicy = "CreateConfigurationPolicy" // CreateConfigurationPolicyRequest generates a "aws/request.Request" representing the // client's request for the CreateConfigurationPolicy operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See CreateConfigurationPolicy for more information on using the CreateConfigurationPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the CreateConfigurationPolicyRequest method. // req, resp := client.CreateConfigurationPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) CreateConfigurationPolicyRequest(input *CreateConfigurationPolicyInput) (req *request.Request, output *CreateConfigurationPolicyOutput) { op := &request.Operation{ Name: opCreateConfigurationPolicy, HTTPMethod: "POST", HTTPPath: "/configurationPolicy/create", } if input == nil { input = &CreateConfigurationPolicyInput{} } output = &CreateConfigurationPolicyOutput{} req = c.newRequest(op, input, output) return } // CreateConfigurationPolicy API operation for AWS SecurityHub. // // Creates a configuration policy with the defined configuration. Only the Security // Hub delegated administrator can invoke this operation from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation CreateConfigurationPolicy for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // See also, path_to_url func (c *SecurityHub) CreateConfigurationPolicy(input *CreateConfigurationPolicyInput) (*CreateConfigurationPolicyOutput, error) { req, out := c.CreateConfigurationPolicyRequest(input) return out, req.Send() } // CreateConfigurationPolicyWithContext is the same as CreateConfigurationPolicy with the addition of // the ability to pass a context and additional request options. // // See CreateConfigurationPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) CreateConfigurationPolicyWithContext(ctx aws.Context, input *CreateConfigurationPolicyInput, opts ...request.Option) (*CreateConfigurationPolicyOutput, error) { req, out := c.CreateConfigurationPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opCreateFindingAggregator = "CreateFindingAggregator" // CreateFindingAggregatorRequest generates a "aws/request.Request" representing the // client's request for the CreateFindingAggregator operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See CreateFindingAggregator for more information on using the CreateFindingAggregator // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the CreateFindingAggregatorRequest method. // req, resp := client.CreateFindingAggregatorRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) CreateFindingAggregatorRequest(input *CreateFindingAggregatorInput) (req *request.Request, output *CreateFindingAggregatorOutput) { op := &request.Operation{ Name: opCreateFindingAggregator, HTTPMethod: "POST", HTTPPath: "/findingAggregator/create", } if input == nil { input = &CreateFindingAggregatorInput{} } output = &CreateFindingAggregatorOutput{} req = c.newRequest(op, input, output) return } // CreateFindingAggregator API operation for AWS SecurityHub. // // Used to enable finding aggregation. Must be called from the aggregation Region. // // For more details about cross-Region replication, see Configuring finding // aggregation (path_to_url // in the Security Hub User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation CreateFindingAggregator for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // See also, path_to_url func (c *SecurityHub) CreateFindingAggregator(input *CreateFindingAggregatorInput) (*CreateFindingAggregatorOutput, error) { req, out := c.CreateFindingAggregatorRequest(input) return out, req.Send() } // CreateFindingAggregatorWithContext is the same as CreateFindingAggregator with the addition of // the ability to pass a context and additional request options. // // See CreateFindingAggregator for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) CreateFindingAggregatorWithContext(ctx aws.Context, input *CreateFindingAggregatorInput, opts ...request.Option) (*CreateFindingAggregatorOutput, error) { req, out := c.CreateFindingAggregatorRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opCreateInsight = "CreateInsight" // CreateInsightRequest generates a "aws/request.Request" representing the // client's request for the CreateInsight operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See CreateInsight for more information on using the CreateInsight // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the CreateInsightRequest method. // req, resp := client.CreateInsightRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) CreateInsightRequest(input *CreateInsightInput) (req *request.Request, output *CreateInsightOutput) { op := &request.Operation{ Name: opCreateInsight, HTTPMethod: "POST", HTTPPath: "/insights", } if input == nil { input = &CreateInsightInput{} } output = &CreateInsightOutput{} req = c.newRequest(op, input, output) return } // CreateInsight API operation for AWS SecurityHub. // // Creates a custom insight in Security Hub. An insight is a consolidation of // findings that relate to a security issue that requires attention or remediation. // // To group the related findings in the insight, use the GroupByAttribute. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation CreateInsight for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // See also, path_to_url func (c *SecurityHub) CreateInsight(input *CreateInsightInput) (*CreateInsightOutput, error) { req, out := c.CreateInsightRequest(input) return out, req.Send() } // CreateInsightWithContext is the same as CreateInsight with the addition of // the ability to pass a context and additional request options. // // See CreateInsight for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) CreateInsightWithContext(ctx aws.Context, input *CreateInsightInput, opts ...request.Option) (*CreateInsightOutput, error) { req, out := c.CreateInsightRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opCreateMembers = "CreateMembers" // CreateMembersRequest generates a "aws/request.Request" representing the // client's request for the CreateMembers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See CreateMembers for more information on using the CreateMembers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the CreateMembersRequest method. // req, resp := client.CreateMembersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput) { op := &request.Operation{ Name: opCreateMembers, HTTPMethod: "POST", HTTPPath: "/members", } if input == nil { input = &CreateMembersInput{} } output = &CreateMembersOutput{} req = c.newRequest(op, input, output) return } // CreateMembers API operation for AWS SecurityHub. // // Creates a member association in Security Hub between the specified accounts // and the account used to make the request, which is the administrator account. // If you are integrated with Organizations, then the administrator account // is designated by the organization management account. // // CreateMembers is always used to add accounts that are not organization members. // // For accounts that are managed using Organizations, CreateMembers is only // used in the following cases: // // - Security Hub is not configured to automatically add new organization // accounts. // // - The account was disassociated or deleted in Security Hub. // // This action can only be used by an account that has Security Hub enabled. // To enable Security Hub, you can use the EnableSecurityHub operation. // // For accounts that are not organization members, you create the account association // and then send an invitation to the member account. To send the invitation, // you use the InviteMembers operation. If the account owner accepts the invitation, // the account becomes a member account in Security Hub. // // Accounts that are managed using Organizations do not receive an invitation. // They automatically become a member account in Security Hub. // // - If the organization account does not have Security Hub enabled, then // Security Hub and the default standards are automatically enabled. Note // that Security Hub cannot be enabled automatically for the organization // management account. The organization management account must enable Security // Hub before the administrator account enables it as a member account. // // - For organization accounts that already have Security Hub enabled, Security // Hub does not make any other changes to those accounts. It does not change // their enabled standards or controls. // // A permissions policy is added that permits the administrator account to view // the findings generated in the member account. // // To remove the association between the administrator and member accounts, // use the DisassociateFromMasterAccount or DisassociateMembers operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation CreateMembers for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error) { req, out := c.CreateMembersRequest(input) return out, req.Send() } // CreateMembersWithContext is the same as CreateMembers with the addition of // the ability to pass a context and additional request options. // // See CreateMembers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) CreateMembersWithContext(ctx aws.Context, input *CreateMembersInput, opts ...request.Option) (*CreateMembersOutput, error) { req, out := c.CreateMembersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDeclineInvitations = "DeclineInvitations" // DeclineInvitationsRequest generates a "aws/request.Request" representing the // client's request for the DeclineInvitations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DeclineInvitations for more information on using the DeclineInvitations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DeclineInvitationsRequest method. // req, resp := client.DeclineInvitationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput) { op := &request.Operation{ Name: opDeclineInvitations, HTTPMethod: "POST", HTTPPath: "/invitations/decline", } if input == nil { input = &DeclineInvitationsInput{} } output = &DeclineInvitationsOutput{} req = c.newRequest(op, input, output) return } // DeclineInvitations API operation for AWS SecurityHub. // // Declines invitations to become a member account. // // A prospective member account uses this operation to decline an invitation // to become a member. // // This operation is only called by member accounts that aren't part of an organization. // Organization accounts don't receive invitations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DeclineInvitations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error) { req, out := c.DeclineInvitationsRequest(input) return out, req.Send() } // DeclineInvitationsWithContext is the same as DeclineInvitations with the addition of // the ability to pass a context and additional request options. // // See DeclineInvitations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DeclineInvitationsWithContext(ctx aws.Context, input *DeclineInvitationsInput, opts ...request.Option) (*DeclineInvitationsOutput, error) { req, out := c.DeclineInvitationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDeleteActionTarget = "DeleteActionTarget" // DeleteActionTargetRequest generates a "aws/request.Request" representing the // client's request for the DeleteActionTarget operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DeleteActionTarget for more information on using the DeleteActionTarget // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DeleteActionTargetRequest method. // req, resp := client.DeleteActionTargetRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DeleteActionTargetRequest(input *DeleteActionTargetInput) (req *request.Request, output *DeleteActionTargetOutput) { op := &request.Operation{ Name: opDeleteActionTarget, HTTPMethod: "DELETE", HTTPPath: "/actionTargets/{ActionTargetArn+}", } if input == nil { input = &DeleteActionTargetInput{} } output = &DeleteActionTargetOutput{} req = c.newRequest(op, input, output) return } // DeleteActionTarget API operation for AWS SecurityHub. // // Deletes a custom action target from Security Hub. // // Deleting a custom action target does not affect any findings or insights // that were already sent to Amazon CloudWatch Events using the custom action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DeleteActionTarget for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DeleteActionTarget(input *DeleteActionTargetInput) (*DeleteActionTargetOutput, error) { req, out := c.DeleteActionTargetRequest(input) return out, req.Send() } // DeleteActionTargetWithContext is the same as DeleteActionTarget with the addition of // the ability to pass a context and additional request options. // // See DeleteActionTarget for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DeleteActionTargetWithContext(ctx aws.Context, input *DeleteActionTargetInput, opts ...request.Option) (*DeleteActionTargetOutput, error) { req, out := c.DeleteActionTargetRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDeleteConfigurationPolicy = "DeleteConfigurationPolicy" // DeleteConfigurationPolicyRequest generates a "aws/request.Request" representing the // client's request for the DeleteConfigurationPolicy operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DeleteConfigurationPolicy for more information on using the DeleteConfigurationPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DeleteConfigurationPolicyRequest method. // req, resp := client.DeleteConfigurationPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DeleteConfigurationPolicyRequest(input *DeleteConfigurationPolicyInput) (req *request.Request, output *DeleteConfigurationPolicyOutput) { op := &request.Operation{ Name: opDeleteConfigurationPolicy, HTTPMethod: "DELETE", HTTPPath: "/configurationPolicy/{Identifier}", } if input == nil { input = &DeleteConfigurationPolicyInput{} } output = &DeleteConfigurationPolicyOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DeleteConfigurationPolicy API operation for AWS SecurityHub. // // Deletes a configuration policy. Only the Security Hub delegated administrator // can invoke this operation from the home Region. For the deletion to succeed, // you must first disassociate a configuration policy from target accounts, // organizational units, or the root by invoking the StartConfigurationPolicyDisassociation // operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DeleteConfigurationPolicy for usage and error information. // // Returned Error Types: // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // See also, path_to_url func (c *SecurityHub) DeleteConfigurationPolicy(input *DeleteConfigurationPolicyInput) (*DeleteConfigurationPolicyOutput, error) { req, out := c.DeleteConfigurationPolicyRequest(input) return out, req.Send() } // DeleteConfigurationPolicyWithContext is the same as DeleteConfigurationPolicy with the addition of // the ability to pass a context and additional request options. // // See DeleteConfigurationPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DeleteConfigurationPolicyWithContext(ctx aws.Context, input *DeleteConfigurationPolicyInput, opts ...request.Option) (*DeleteConfigurationPolicyOutput, error) { req, out := c.DeleteConfigurationPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDeleteFindingAggregator = "DeleteFindingAggregator" // DeleteFindingAggregatorRequest generates a "aws/request.Request" representing the // client's request for the DeleteFindingAggregator operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DeleteFindingAggregator for more information on using the DeleteFindingAggregator // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DeleteFindingAggregatorRequest method. // req, resp := client.DeleteFindingAggregatorRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DeleteFindingAggregatorRequest(input *DeleteFindingAggregatorInput) (req *request.Request, output *DeleteFindingAggregatorOutput) { op := &request.Operation{ Name: opDeleteFindingAggregator, HTTPMethod: "DELETE", HTTPPath: "/findingAggregator/delete/{FindingAggregatorArn+}", } if input == nil { input = &DeleteFindingAggregatorInput{} } output = &DeleteFindingAggregatorOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DeleteFindingAggregator API operation for AWS SecurityHub. // // Deletes a finding aggregator. When you delete the finding aggregator, you // stop finding aggregation. // // When you stop finding aggregation, findings that were already aggregated // to the aggregation Region are still visible from the aggregation Region. // New findings and finding updates are not aggregated. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DeleteFindingAggregator for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DeleteFindingAggregator(input *DeleteFindingAggregatorInput) (*DeleteFindingAggregatorOutput, error) { req, out := c.DeleteFindingAggregatorRequest(input) return out, req.Send() } // DeleteFindingAggregatorWithContext is the same as DeleteFindingAggregator with the addition of // the ability to pass a context and additional request options. // // See DeleteFindingAggregator for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DeleteFindingAggregatorWithContext(ctx aws.Context, input *DeleteFindingAggregatorInput, opts ...request.Option) (*DeleteFindingAggregatorOutput, error) { req, out := c.DeleteFindingAggregatorRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDeleteInsight = "DeleteInsight" // DeleteInsightRequest generates a "aws/request.Request" representing the // client's request for the DeleteInsight operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DeleteInsight for more information on using the DeleteInsight // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DeleteInsightRequest method. // req, resp := client.DeleteInsightRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DeleteInsightRequest(input *DeleteInsightInput) (req *request.Request, output *DeleteInsightOutput) { op := &request.Operation{ Name: opDeleteInsight, HTTPMethod: "DELETE", HTTPPath: "/insights/{InsightArn+}", } if input == nil { input = &DeleteInsightInput{} } output = &DeleteInsightOutput{} req = c.newRequest(op, input, output) return } // DeleteInsight API operation for AWS SecurityHub. // // Deletes the insight specified by the InsightArn. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DeleteInsight for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DeleteInsight(input *DeleteInsightInput) (*DeleteInsightOutput, error) { req, out := c.DeleteInsightRequest(input) return out, req.Send() } // DeleteInsightWithContext is the same as DeleteInsight with the addition of // the ability to pass a context and additional request options. // // See DeleteInsight for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DeleteInsightWithContext(ctx aws.Context, input *DeleteInsightInput, opts ...request.Option) (*DeleteInsightOutput, error) { req, out := c.DeleteInsightRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDeleteInvitations = "DeleteInvitations" // DeleteInvitationsRequest generates a "aws/request.Request" representing the // client's request for the DeleteInvitations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DeleteInvitations for more information on using the DeleteInvitations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DeleteInvitationsRequest method. // req, resp := client.DeleteInvitationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput) { op := &request.Operation{ Name: opDeleteInvitations, HTTPMethod: "POST", HTTPPath: "/invitations/delete", } if input == nil { input = &DeleteInvitationsInput{} } output = &DeleteInvitationsOutput{} req = c.newRequest(op, input, output) return } // DeleteInvitations API operation for AWS SecurityHub. // // Deletes invitations received by the Amazon Web Services account to become // a member account. // // A Security Hub administrator account can use this operation to delete invitations // sent to one or more member accounts. // // This operation is only used to delete invitations that are sent to member // accounts that aren't part of an organization. Organization accounts don't // receive invitations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DeleteInvitations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // See also, path_to_url func (c *SecurityHub) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error) { req, out := c.DeleteInvitationsRequest(input) return out, req.Send() } // DeleteInvitationsWithContext is the same as DeleteInvitations with the addition of // the ability to pass a context and additional request options. // // See DeleteInvitations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DeleteInvitationsWithContext(ctx aws.Context, input *DeleteInvitationsInput, opts ...request.Option) (*DeleteInvitationsOutput, error) { req, out := c.DeleteInvitationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDeleteMembers = "DeleteMembers" // DeleteMembersRequest generates a "aws/request.Request" representing the // client's request for the DeleteMembers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DeleteMembers for more information on using the DeleteMembers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DeleteMembersRequest method. // req, resp := client.DeleteMembersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput) { op := &request.Operation{ Name: opDeleteMembers, HTTPMethod: "POST", HTTPPath: "/members/delete", } if input == nil { input = &DeleteMembersInput{} } output = &DeleteMembersOutput{} req = c.newRequest(op, input, output) return } // DeleteMembers API operation for AWS SecurityHub. // // Deletes the specified member accounts from Security Hub. // // You can invoke this API only to delete accounts that became members through // invitation. You can't invoke this API to delete accounts that belong to an // Organizations organization. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DeleteMembers for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error) { req, out := c.DeleteMembersRequest(input) return out, req.Send() } // DeleteMembersWithContext is the same as DeleteMembers with the addition of // the ability to pass a context and additional request options. // // See DeleteMembers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DeleteMembersWithContext(ctx aws.Context, input *DeleteMembersInput, opts ...request.Option) (*DeleteMembersOutput, error) { req, out := c.DeleteMembersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDescribeActionTargets = "DescribeActionTargets" // DescribeActionTargetsRequest generates a "aws/request.Request" representing the // client's request for the DescribeActionTargets operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DescribeActionTargets for more information on using the DescribeActionTargets // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DescribeActionTargetsRequest method. // req, resp := client.DescribeActionTargetsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DescribeActionTargetsRequest(input *DescribeActionTargetsInput) (req *request.Request, output *DescribeActionTargetsOutput) { op := &request.Operation{ Name: opDescribeActionTargets, HTTPMethod: "POST", HTTPPath: "/actionTargets/get", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &DescribeActionTargetsInput{} } output = &DescribeActionTargetsOutput{} req = c.newRequest(op, input, output) return } // DescribeActionTargets API operation for AWS SecurityHub. // // Returns a list of the custom action targets in Security Hub in your account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DescribeActionTargets for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DescribeActionTargets(input *DescribeActionTargetsInput) (*DescribeActionTargetsOutput, error) { req, out := c.DescribeActionTargetsRequest(input) return out, req.Send() } // DescribeActionTargetsWithContext is the same as DescribeActionTargets with the addition of // the ability to pass a context and additional request options. // // See DescribeActionTargets for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeActionTargetsWithContext(ctx aws.Context, input *DescribeActionTargetsInput, opts ...request.Option) (*DescribeActionTargetsOutput, error) { req, out := c.DescribeActionTargetsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // DescribeActionTargetsPages iterates over the pages of a DescribeActionTargets operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See DescribeActionTargets method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a DescribeActionTargets operation. // pageNum := 0 // err := client.DescribeActionTargetsPages(params, // func(page *securityhub.DescribeActionTargetsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) DescribeActionTargetsPages(input *DescribeActionTargetsInput, fn func(*DescribeActionTargetsOutput, bool) bool) error { return c.DescribeActionTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } // DescribeActionTargetsPagesWithContext same as DescribeActionTargetsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeActionTargetsPagesWithContext(ctx aws.Context, input *DescribeActionTargetsInput, fn func(*DescribeActionTargetsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *DescribeActionTargetsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.DescribeActionTargetsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*DescribeActionTargetsOutput), !p.HasNextPage()) { break } } return p.Err() } const opDescribeHub = "DescribeHub" // DescribeHubRequest generates a "aws/request.Request" representing the // client's request for the DescribeHub operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DescribeHub for more information on using the DescribeHub // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DescribeHubRequest method. // req, resp := client.DescribeHubRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DescribeHubRequest(input *DescribeHubInput) (req *request.Request, output *DescribeHubOutput) { op := &request.Operation{ Name: opDescribeHub, HTTPMethod: "GET", HTTPPath: "/accounts", } if input == nil { input = &DescribeHubInput{} } output = &DescribeHubOutput{} req = c.newRequest(op, input, output) return } // DescribeHub API operation for AWS SecurityHub. // // Returns details about the Hub resource in your account, including the HubArn // and the time when you enabled Security Hub. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DescribeHub for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DescribeHub(input *DescribeHubInput) (*DescribeHubOutput, error) { req, out := c.DescribeHubRequest(input) return out, req.Send() } // DescribeHubWithContext is the same as DescribeHub with the addition of // the ability to pass a context and additional request options. // // See DescribeHub for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeHubWithContext(ctx aws.Context, input *DescribeHubInput, opts ...request.Option) (*DescribeHubOutput, error) { req, out := c.DescribeHubRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration" // DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the // client's request for the DescribeOrganizationConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DescribeOrganizationConfigurationRequest method. // req, resp := client.DescribeOrganizationConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) { op := &request.Operation{ Name: opDescribeOrganizationConfiguration, HTTPMethod: "GET", HTTPPath: "/organization/configuration", } if input == nil { input = &DescribeOrganizationConfigurationInput{} } output = &DescribeOrganizationConfigurationOutput{} req = c.newRequest(op, input, output) return } // DescribeOrganizationConfiguration API operation for AWS SecurityHub. // // Returns information about the way your organization is configured in Security // Hub. Only the Security Hub administrator account can invoke this operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DescribeOrganizationConfiguration for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) { req, out := c.DescribeOrganizationConfigurationRequest(input) return out, req.Send() } // DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of // the ability to pass a context and additional request options. // // See DescribeOrganizationConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error) { req, out := c.DescribeOrganizationConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDescribeProducts = "DescribeProducts" // DescribeProductsRequest generates a "aws/request.Request" representing the // client's request for the DescribeProducts operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DescribeProducts for more information on using the DescribeProducts // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DescribeProductsRequest method. // req, resp := client.DescribeProductsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DescribeProductsRequest(input *DescribeProductsInput) (req *request.Request, output *DescribeProductsOutput) { op := &request.Operation{ Name: opDescribeProducts, HTTPMethod: "GET", HTTPPath: "/products", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &DescribeProductsInput{} } output = &DescribeProductsOutput{} req = c.newRequest(op, input, output) return } // DescribeProducts API operation for AWS SecurityHub. // // Returns information about product integrations in Security Hub. // // You can optionally provide an integration ARN. If you provide an integration // ARN, then the results only include that integration. // // If you do not provide an integration ARN, then the results include all of // the available product integrations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DescribeProducts for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // See also, path_to_url func (c *SecurityHub) DescribeProducts(input *DescribeProductsInput) (*DescribeProductsOutput, error) { req, out := c.DescribeProductsRequest(input) return out, req.Send() } // DescribeProductsWithContext is the same as DescribeProducts with the addition of // the ability to pass a context and additional request options. // // See DescribeProducts for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeProductsWithContext(ctx aws.Context, input *DescribeProductsInput, opts ...request.Option) (*DescribeProductsOutput, error) { req, out := c.DescribeProductsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // DescribeProductsPages iterates over the pages of a DescribeProducts operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See DescribeProducts method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a DescribeProducts operation. // pageNum := 0 // err := client.DescribeProductsPages(params, // func(page *securityhub.DescribeProductsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) DescribeProductsPages(input *DescribeProductsInput, fn func(*DescribeProductsOutput, bool) bool) error { return c.DescribeProductsPagesWithContext(aws.BackgroundContext(), input, fn) } // DescribeProductsPagesWithContext same as DescribeProductsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeProductsPagesWithContext(ctx aws.Context, input *DescribeProductsInput, fn func(*DescribeProductsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *DescribeProductsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.DescribeProductsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*DescribeProductsOutput), !p.HasNextPage()) { break } } return p.Err() } const opDescribeStandards = "DescribeStandards" // DescribeStandardsRequest generates a "aws/request.Request" representing the // client's request for the DescribeStandards operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DescribeStandards for more information on using the DescribeStandards // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DescribeStandardsRequest method. // req, resp := client.DescribeStandardsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DescribeStandardsRequest(input *DescribeStandardsInput) (req *request.Request, output *DescribeStandardsOutput) { op := &request.Operation{ Name: opDescribeStandards, HTTPMethod: "GET", HTTPPath: "/standards", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &DescribeStandardsInput{} } output = &DescribeStandardsOutput{} req = c.newRequest(op, input, output) return } // DescribeStandards API operation for AWS SecurityHub. // // Returns a list of the available standards in Security Hub. // // For each standard, the results include the standard ARN, the name, and a // description. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DescribeStandards for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // See also, path_to_url func (c *SecurityHub) DescribeStandards(input *DescribeStandardsInput) (*DescribeStandardsOutput, error) { req, out := c.DescribeStandardsRequest(input) return out, req.Send() } // DescribeStandardsWithContext is the same as DescribeStandards with the addition of // the ability to pass a context and additional request options. // // See DescribeStandards for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeStandardsWithContext(ctx aws.Context, input *DescribeStandardsInput, opts ...request.Option) (*DescribeStandardsOutput, error) { req, out := c.DescribeStandardsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // DescribeStandardsPages iterates over the pages of a DescribeStandards operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See DescribeStandards method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a DescribeStandards operation. // pageNum := 0 // err := client.DescribeStandardsPages(params, // func(page *securityhub.DescribeStandardsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) DescribeStandardsPages(input *DescribeStandardsInput, fn func(*DescribeStandardsOutput, bool) bool) error { return c.DescribeStandardsPagesWithContext(aws.BackgroundContext(), input, fn) } // DescribeStandardsPagesWithContext same as DescribeStandardsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeStandardsPagesWithContext(ctx aws.Context, input *DescribeStandardsInput, fn func(*DescribeStandardsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *DescribeStandardsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.DescribeStandardsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*DescribeStandardsOutput), !p.HasNextPage()) { break } } return p.Err() } const opDescribeStandardsControls = "DescribeStandardsControls" // DescribeStandardsControlsRequest generates a "aws/request.Request" representing the // client's request for the DescribeStandardsControls operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DescribeStandardsControls for more information on using the DescribeStandardsControls // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DescribeStandardsControlsRequest method. // req, resp := client.DescribeStandardsControlsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DescribeStandardsControlsRequest(input *DescribeStandardsControlsInput) (req *request.Request, output *DescribeStandardsControlsOutput) { op := &request.Operation{ Name: opDescribeStandardsControls, HTTPMethod: "GET", HTTPPath: "/standards/controls/{StandardsSubscriptionArn+}", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &DescribeStandardsControlsInput{} } output = &DescribeStandardsControlsOutput{} req = c.newRequest(op, input, output) return } // DescribeStandardsControls API operation for AWS SecurityHub. // // Returns a list of security standards controls. // // For each control, the results include information about whether it is currently // enabled, the severity, and a link to remediation information. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DescribeStandardsControls for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DescribeStandardsControls(input *DescribeStandardsControlsInput) (*DescribeStandardsControlsOutput, error) { req, out := c.DescribeStandardsControlsRequest(input) return out, req.Send() } // DescribeStandardsControlsWithContext is the same as DescribeStandardsControls with the addition of // the ability to pass a context and additional request options. // // See DescribeStandardsControls for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeStandardsControlsWithContext(ctx aws.Context, input *DescribeStandardsControlsInput, opts ...request.Option) (*DescribeStandardsControlsOutput, error) { req, out := c.DescribeStandardsControlsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // DescribeStandardsControlsPages iterates over the pages of a DescribeStandardsControls operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See DescribeStandardsControls method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a DescribeStandardsControls operation. // pageNum := 0 // err := client.DescribeStandardsControlsPages(params, // func(page *securityhub.DescribeStandardsControlsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) DescribeStandardsControlsPages(input *DescribeStandardsControlsInput, fn func(*DescribeStandardsControlsOutput, bool) bool) error { return c.DescribeStandardsControlsPagesWithContext(aws.BackgroundContext(), input, fn) } // DescribeStandardsControlsPagesWithContext same as DescribeStandardsControlsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DescribeStandardsControlsPagesWithContext(ctx aws.Context, input *DescribeStandardsControlsInput, fn func(*DescribeStandardsControlsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *DescribeStandardsControlsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.DescribeStandardsControlsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*DescribeStandardsControlsOutput), !p.HasNextPage()) { break } } return p.Err() } const opDisableImportFindingsForProduct = "DisableImportFindingsForProduct" // DisableImportFindingsForProductRequest generates a "aws/request.Request" representing the // client's request for the DisableImportFindingsForProduct operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DisableImportFindingsForProduct for more information on using the DisableImportFindingsForProduct // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DisableImportFindingsForProductRequest method. // req, resp := client.DisableImportFindingsForProductRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DisableImportFindingsForProductRequest(input *DisableImportFindingsForProductInput) (req *request.Request, output *DisableImportFindingsForProductOutput) { op := &request.Operation{ Name: opDisableImportFindingsForProduct, HTTPMethod: "DELETE", HTTPPath: "/productSubscriptions/{ProductSubscriptionArn+}", } if input == nil { input = &DisableImportFindingsForProductInput{} } output = &DisableImportFindingsForProductOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DisableImportFindingsForProduct API operation for AWS SecurityHub. // // Disables the integration of the specified product with Security Hub. After // the integration is disabled, findings from that product are no longer sent // to Security Hub. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DisableImportFindingsForProduct for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) DisableImportFindingsForProduct(input *DisableImportFindingsForProductInput) (*DisableImportFindingsForProductOutput, error) { req, out := c.DisableImportFindingsForProductRequest(input) return out, req.Send() } // DisableImportFindingsForProductWithContext is the same as DisableImportFindingsForProduct with the addition of // the ability to pass a context and additional request options. // // See DisableImportFindingsForProduct for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DisableImportFindingsForProductWithContext(ctx aws.Context, input *DisableImportFindingsForProductInput, opts ...request.Option) (*DisableImportFindingsForProductOutput, error) { req, out := c.DisableImportFindingsForProductRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDisableOrganizationAdminAccount = "DisableOrganizationAdminAccount" // DisableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the // client's request for the DisableOrganizationAdminAccount operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DisableOrganizationAdminAccount for more information on using the DisableOrganizationAdminAccount // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DisableOrganizationAdminAccountRequest method. // req, resp := client.DisableOrganizationAdminAccountRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput) { op := &request.Operation{ Name: opDisableOrganizationAdminAccount, HTTPMethod: "POST", HTTPPath: "/organization/admin/disable", } if input == nil { input = &DisableOrganizationAdminAccountInput{} } output = &DisableOrganizationAdminAccountOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DisableOrganizationAdminAccount API operation for AWS SecurityHub. // // Disables a Security Hub administrator account. Can only be called by the // organization management account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DisableOrganizationAdminAccount for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error) { req, out := c.DisableOrganizationAdminAccountRequest(input) return out, req.Send() } // DisableOrganizationAdminAccountWithContext is the same as DisableOrganizationAdminAccount with the addition of // the ability to pass a context and additional request options. // // See DisableOrganizationAdminAccount for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DisableOrganizationAdminAccountWithContext(ctx aws.Context, input *DisableOrganizationAdminAccountInput, opts ...request.Option) (*DisableOrganizationAdminAccountOutput, error) { req, out := c.DisableOrganizationAdminAccountRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDisableSecurityHub = "DisableSecurityHub" // DisableSecurityHubRequest generates a "aws/request.Request" representing the // client's request for the DisableSecurityHub operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DisableSecurityHub for more information on using the DisableSecurityHub // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DisableSecurityHubRequest method. // req, resp := client.DisableSecurityHubRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DisableSecurityHubRequest(input *DisableSecurityHubInput) (req *request.Request, output *DisableSecurityHubOutput) { op := &request.Operation{ Name: opDisableSecurityHub, HTTPMethod: "DELETE", HTTPPath: "/accounts", } if input == nil { input = &DisableSecurityHubInput{} } output = &DisableSecurityHubOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DisableSecurityHub API operation for AWS SecurityHub. // // Disables Security Hub in your account only in the current Amazon Web Services // Region. To disable Security Hub in all Regions, you must submit one request // per Region where you have enabled Security Hub. // // You can't disable Security Hub in an account that is currently the Security // Hub administrator. // // When you disable Security Hub, your existing findings and insights and any // Security Hub configuration settings are deleted after 90 days and cannot // be recovered. Any standards that were enabled are disabled, and your administrator // and member account associations are removed. // // If you want to save your existing findings, you must export them before you // disable Security Hub. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DisableSecurityHub for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) DisableSecurityHub(input *DisableSecurityHubInput) (*DisableSecurityHubOutput, error) { req, out := c.DisableSecurityHubRequest(input) return out, req.Send() } // DisableSecurityHubWithContext is the same as DisableSecurityHub with the addition of // the ability to pass a context and additional request options. // // See DisableSecurityHub for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DisableSecurityHubWithContext(ctx aws.Context, input *DisableSecurityHubInput, opts ...request.Option) (*DisableSecurityHubOutput, error) { req, out := c.DisableSecurityHubRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDisassociateFromAdministratorAccount = "DisassociateFromAdministratorAccount" // DisassociateFromAdministratorAccountRequest generates a "aws/request.Request" representing the // client's request for the DisassociateFromAdministratorAccount operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DisassociateFromAdministratorAccount for more information on using the DisassociateFromAdministratorAccount // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DisassociateFromAdministratorAccountRequest method. // req, resp := client.DisassociateFromAdministratorAccountRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DisassociateFromAdministratorAccountRequest(input *DisassociateFromAdministratorAccountInput) (req *request.Request, output *DisassociateFromAdministratorAccountOutput) { op := &request.Operation{ Name: opDisassociateFromAdministratorAccount, HTTPMethod: "POST", HTTPPath: "/administrator/disassociate", } if input == nil { input = &DisassociateFromAdministratorAccountInput{} } output = &DisassociateFromAdministratorAccountOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DisassociateFromAdministratorAccount API operation for AWS SecurityHub. // // Disassociates the current Security Hub member account from the associated // administrator account. // // This operation is only used by accounts that are not part of an organization. // For organization accounts, only the administrator account can disassociate // a member account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DisassociateFromAdministratorAccount for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) DisassociateFromAdministratorAccount(input *DisassociateFromAdministratorAccountInput) (*DisassociateFromAdministratorAccountOutput, error) { req, out := c.DisassociateFromAdministratorAccountRequest(input) return out, req.Send() } // DisassociateFromAdministratorAccountWithContext is the same as DisassociateFromAdministratorAccount with the addition of // the ability to pass a context and additional request options. // // See DisassociateFromAdministratorAccount for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DisassociateFromAdministratorAccountWithContext(ctx aws.Context, input *DisassociateFromAdministratorAccountInput, opts ...request.Option) (*DisassociateFromAdministratorAccountOutput, error) { req, out := c.DisassociateFromAdministratorAccountRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDisassociateFromMasterAccount = "DisassociateFromMasterAccount" // DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the // client's request for the DisassociateFromMasterAccount operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DisassociateFromMasterAccount for more information on using the DisassociateFromMasterAccount // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DisassociateFromMasterAccountRequest method. // req, resp := client.DisassociateFromMasterAccountRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url // // Deprecated: This API has been deprecated, use DisassociateFromAdministratorAccount API instead. func (c *SecurityHub) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, DisassociateFromMasterAccount, has been deprecated") } op := &request.Operation{ Name: opDisassociateFromMasterAccount, HTTPMethod: "POST", HTTPPath: "/master/disassociate", } if input == nil { input = &DisassociateFromMasterAccountInput{} } output = &DisassociateFromMasterAccountOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DisassociateFromMasterAccount API operation for AWS SecurityHub. // // This method is deprecated. Instead, use DisassociateFromAdministratorAccount. // // The Security Hub console continues to use DisassociateFromMasterAccount. // It will eventually change to use DisassociateFromAdministratorAccount. Any // IAM policies that specifically control access to this function must continue // to use DisassociateFromMasterAccount. You should also add DisassociateFromAdministratorAccount // to your policies to ensure that the correct permissions are in place after // the console begins to use DisassociateFromAdministratorAccount. // // Disassociates the current Security Hub member account from the associated // administrator account. // // This operation is only used by accounts that are not part of an organization. // For organization accounts, only the administrator account can disassociate // a member account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DisassociateFromMasterAccount for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url // // Deprecated: This API has been deprecated, use DisassociateFromAdministratorAccount API instead. func (c *SecurityHub) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error) { req, out := c.DisassociateFromMasterAccountRequest(input) return out, req.Send() } // DisassociateFromMasterAccountWithContext is the same as DisassociateFromMasterAccount with the addition of // the ability to pass a context and additional request options. // // See DisassociateFromMasterAccount for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. // // Deprecated: This API has been deprecated, use DisassociateFromAdministratorAccount API instead. func (c *SecurityHub) DisassociateFromMasterAccountWithContext(ctx aws.Context, input *DisassociateFromMasterAccountInput, opts ...request.Option) (*DisassociateFromMasterAccountOutput, error) { req, out := c.DisassociateFromMasterAccountRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opDisassociateMembers = "DisassociateMembers" // DisassociateMembersRequest generates a "aws/request.Request" representing the // client's request for the DisassociateMembers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See DisassociateMembers for more information on using the DisassociateMembers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the DisassociateMembersRequest method. // req, resp := client.DisassociateMembersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) DisassociateMembersRequest(input *DisassociateMembersInput) (req *request.Request, output *DisassociateMembersOutput) { op := &request.Operation{ Name: opDisassociateMembers, HTTPMethod: "POST", HTTPPath: "/members/disassociate", } if input == nil { input = &DisassociateMembersInput{} } output = &DisassociateMembersOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // DisassociateMembers API operation for AWS SecurityHub. // // Disassociates the specified member accounts from the associated administrator // account. // // Can be used to disassociate both accounts that are managed using Organizations // and accounts that were invited manually. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation DisassociateMembers for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error) { req, out := c.DisassociateMembersRequest(input) return out, req.Send() } // DisassociateMembersWithContext is the same as DisassociateMembers with the addition of // the ability to pass a context and additional request options. // // See DisassociateMembers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) DisassociateMembersWithContext(ctx aws.Context, input *DisassociateMembersInput, opts ...request.Option) (*DisassociateMembersOutput, error) { req, out := c.DisassociateMembersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opEnableImportFindingsForProduct = "EnableImportFindingsForProduct" // EnableImportFindingsForProductRequest generates a "aws/request.Request" representing the // client's request for the EnableImportFindingsForProduct operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See EnableImportFindingsForProduct for more information on using the EnableImportFindingsForProduct // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the EnableImportFindingsForProductRequest method. // req, resp := client.EnableImportFindingsForProductRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) EnableImportFindingsForProductRequest(input *EnableImportFindingsForProductInput) (req *request.Request, output *EnableImportFindingsForProductOutput) { op := &request.Operation{ Name: opEnableImportFindingsForProduct, HTTPMethod: "POST", HTTPPath: "/productSubscriptions", } if input == nil { input = &EnableImportFindingsForProductInput{} } output = &EnableImportFindingsForProductOutput{} req = c.newRequest(op, input, output) return } // EnableImportFindingsForProduct API operation for AWS SecurityHub. // // Enables the integration of a partner product with Security Hub. Integrated // products send findings to Security Hub. // // When you enable a product integration, a permissions policy that grants permission // for the product to send findings to Security Hub is applied. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation EnableImportFindingsForProduct for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) EnableImportFindingsForProduct(input *EnableImportFindingsForProductInput) (*EnableImportFindingsForProductOutput, error) { req, out := c.EnableImportFindingsForProductRequest(input) return out, req.Send() } // EnableImportFindingsForProductWithContext is the same as EnableImportFindingsForProduct with the addition of // the ability to pass a context and additional request options. // // See EnableImportFindingsForProduct for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) EnableImportFindingsForProductWithContext(ctx aws.Context, input *EnableImportFindingsForProductInput, opts ...request.Option) (*EnableImportFindingsForProductOutput, error) { req, out := c.EnableImportFindingsForProductRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opEnableOrganizationAdminAccount = "EnableOrganizationAdminAccount" // EnableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the // client's request for the EnableOrganizationAdminAccount operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See EnableOrganizationAdminAccount for more information on using the EnableOrganizationAdminAccount // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the EnableOrganizationAdminAccountRequest method. // req, resp := client.EnableOrganizationAdminAccountRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput) { op := &request.Operation{ Name: opEnableOrganizationAdminAccount, HTTPMethod: "POST", HTTPPath: "/organization/admin/enable", } if input == nil { input = &EnableOrganizationAdminAccountInput{} } output = &EnableOrganizationAdminAccountOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // EnableOrganizationAdminAccount API operation for AWS SecurityHub. // // Designates the Security Hub administrator account for an organization. Can // only be called by the organization management account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation EnableOrganizationAdminAccount for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error) { req, out := c.EnableOrganizationAdminAccountRequest(input) return out, req.Send() } // EnableOrganizationAdminAccountWithContext is the same as EnableOrganizationAdminAccount with the addition of // the ability to pass a context and additional request options. // // See EnableOrganizationAdminAccount for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) EnableOrganizationAdminAccountWithContext(ctx aws.Context, input *EnableOrganizationAdminAccountInput, opts ...request.Option) (*EnableOrganizationAdminAccountOutput, error) { req, out := c.EnableOrganizationAdminAccountRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opEnableSecurityHub = "EnableSecurityHub" // EnableSecurityHubRequest generates a "aws/request.Request" representing the // client's request for the EnableSecurityHub operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See EnableSecurityHub for more information on using the EnableSecurityHub // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the EnableSecurityHubRequest method. // req, resp := client.EnableSecurityHubRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) EnableSecurityHubRequest(input *EnableSecurityHubInput) (req *request.Request, output *EnableSecurityHubOutput) { op := &request.Operation{ Name: opEnableSecurityHub, HTTPMethod: "POST", HTTPPath: "/accounts", } if input == nil { input = &EnableSecurityHubInput{} } output = &EnableSecurityHubOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // EnableSecurityHub API operation for AWS SecurityHub. // // Enables Security Hub for your account in the current Region or the Region // you specify in the request. // // When you enable Security Hub, you grant to Security Hub the permissions necessary // to gather findings from other services that are integrated with Security // Hub. // // When you use the EnableSecurityHub operation to enable Security Hub, you // also automatically enable the following standards: // // - Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark // v1.2.0 // // - Amazon Web Services Foundational Security Best Practices // // Other standards are not automatically enabled. // // To opt out of automatically enabled standards, set EnableDefaultStandards // to false. // // After you enable Security Hub, to enable a standard, use the BatchEnableStandards // operation. To disable a standard, use the BatchDisableStandards operation. // // To learn more, see the setup information (path_to_url // in the Security Hub User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation EnableSecurityHub for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) EnableSecurityHub(input *EnableSecurityHubInput) (*EnableSecurityHubOutput, error) { req, out := c.EnableSecurityHubRequest(input) return out, req.Send() } // EnableSecurityHubWithContext is the same as EnableSecurityHub with the addition of // the ability to pass a context and additional request options. // // See EnableSecurityHub for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) EnableSecurityHubWithContext(ctx aws.Context, input *EnableSecurityHubInput, opts ...request.Option) (*EnableSecurityHubOutput, error) { req, out := c.EnableSecurityHubRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetAdministratorAccount = "GetAdministratorAccount" // GetAdministratorAccountRequest generates a "aws/request.Request" representing the // client's request for the GetAdministratorAccount operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetAdministratorAccount for more information on using the GetAdministratorAccount // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetAdministratorAccountRequest method. // req, resp := client.GetAdministratorAccountRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetAdministratorAccountRequest(input *GetAdministratorAccountInput) (req *request.Request, output *GetAdministratorAccountOutput) { op := &request.Operation{ Name: opGetAdministratorAccount, HTTPMethod: "GET", HTTPPath: "/administrator", } if input == nil { input = &GetAdministratorAccountInput{} } output = &GetAdministratorAccountOutput{} req = c.newRequest(op, input, output) return } // GetAdministratorAccount API operation for AWS SecurityHub. // // Provides the details for the Security Hub administrator account for the current // member account. // // Can be used by both member accounts that are managed using Organizations // and accounts that were invited manually. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetAdministratorAccount for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) GetAdministratorAccount(input *GetAdministratorAccountInput) (*GetAdministratorAccountOutput, error) { req, out := c.GetAdministratorAccountRequest(input) return out, req.Send() } // GetAdministratorAccountWithContext is the same as GetAdministratorAccount with the addition of // the ability to pass a context and additional request options. // // See GetAdministratorAccount for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetAdministratorAccountWithContext(ctx aws.Context, input *GetAdministratorAccountInput, opts ...request.Option) (*GetAdministratorAccountOutput, error) { req, out := c.GetAdministratorAccountRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetConfigurationPolicy = "GetConfigurationPolicy" // GetConfigurationPolicyRequest generates a "aws/request.Request" representing the // client's request for the GetConfigurationPolicy operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetConfigurationPolicy for more information on using the GetConfigurationPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetConfigurationPolicyRequest method. // req, resp := client.GetConfigurationPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetConfigurationPolicyRequest(input *GetConfigurationPolicyInput) (req *request.Request, output *GetConfigurationPolicyOutput) { op := &request.Operation{ Name: opGetConfigurationPolicy, HTTPMethod: "GET", HTTPPath: "/configurationPolicy/get/{Identifier}", } if input == nil { input = &GetConfigurationPolicyInput{} } output = &GetConfigurationPolicyOutput{} req = c.newRequest(op, input, output) return } // GetConfigurationPolicy API operation for AWS SecurityHub. // // Provides information about a configuration policy. Only the Security Hub // delegated administrator can invoke this operation from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetConfigurationPolicy for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) GetConfigurationPolicy(input *GetConfigurationPolicyInput) (*GetConfigurationPolicyOutput, error) { req, out := c.GetConfigurationPolicyRequest(input) return out, req.Send() } // GetConfigurationPolicyWithContext is the same as GetConfigurationPolicy with the addition of // the ability to pass a context and additional request options. // // See GetConfigurationPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetConfigurationPolicyWithContext(ctx aws.Context, input *GetConfigurationPolicyInput, opts ...request.Option) (*GetConfigurationPolicyOutput, error) { req, out := c.GetConfigurationPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetConfigurationPolicyAssociation = "GetConfigurationPolicyAssociation" // GetConfigurationPolicyAssociationRequest generates a "aws/request.Request" representing the // client's request for the GetConfigurationPolicyAssociation operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetConfigurationPolicyAssociation for more information on using the GetConfigurationPolicyAssociation // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetConfigurationPolicyAssociationRequest method. // req, resp := client.GetConfigurationPolicyAssociationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetConfigurationPolicyAssociationRequest(input *GetConfigurationPolicyAssociationInput) (req *request.Request, output *GetConfigurationPolicyAssociationOutput) { op := &request.Operation{ Name: opGetConfigurationPolicyAssociation, HTTPMethod: "POST", HTTPPath: "/configurationPolicyAssociation/get", } if input == nil { input = &GetConfigurationPolicyAssociationInput{} } output = &GetConfigurationPolicyAssociationOutput{} req = c.newRequest(op, input, output) return } // GetConfigurationPolicyAssociation API operation for AWS SecurityHub. // // Returns the association between a configuration and a target account, organizational // unit, or the root. The configuration can be a configuration policy or self-managed // behavior. Only the Security Hub delegated administrator can invoke this operation // from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetConfigurationPolicyAssociation for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) GetConfigurationPolicyAssociation(input *GetConfigurationPolicyAssociationInput) (*GetConfigurationPolicyAssociationOutput, error) { req, out := c.GetConfigurationPolicyAssociationRequest(input) return out, req.Send() } // GetConfigurationPolicyAssociationWithContext is the same as GetConfigurationPolicyAssociation with the addition of // the ability to pass a context and additional request options. // // See GetConfigurationPolicyAssociation for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetConfigurationPolicyAssociationWithContext(ctx aws.Context, input *GetConfigurationPolicyAssociationInput, opts ...request.Option) (*GetConfigurationPolicyAssociationOutput, error) { req, out := c.GetConfigurationPolicyAssociationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetEnabledStandards = "GetEnabledStandards" // GetEnabledStandardsRequest generates a "aws/request.Request" representing the // client's request for the GetEnabledStandards operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetEnabledStandards for more information on using the GetEnabledStandards // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetEnabledStandardsRequest method. // req, resp := client.GetEnabledStandardsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetEnabledStandardsRequest(input *GetEnabledStandardsInput) (req *request.Request, output *GetEnabledStandardsOutput) { op := &request.Operation{ Name: opGetEnabledStandards, HTTPMethod: "POST", HTTPPath: "/standards/get", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &GetEnabledStandardsInput{} } output = &GetEnabledStandardsOutput{} req = c.newRequest(op, input, output) return } // GetEnabledStandards API operation for AWS SecurityHub. // // Returns a list of the standards that are currently enabled. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetEnabledStandards for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) GetEnabledStandards(input *GetEnabledStandardsInput) (*GetEnabledStandardsOutput, error) { req, out := c.GetEnabledStandardsRequest(input) return out, req.Send() } // GetEnabledStandardsWithContext is the same as GetEnabledStandards with the addition of // the ability to pass a context and additional request options. // // See GetEnabledStandards for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetEnabledStandardsWithContext(ctx aws.Context, input *GetEnabledStandardsInput, opts ...request.Option) (*GetEnabledStandardsOutput, error) { req, out := c.GetEnabledStandardsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // GetEnabledStandardsPages iterates over the pages of a GetEnabledStandards operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See GetEnabledStandards method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a GetEnabledStandards operation. // pageNum := 0 // err := client.GetEnabledStandardsPages(params, // func(page *securityhub.GetEnabledStandardsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) GetEnabledStandardsPages(input *GetEnabledStandardsInput, fn func(*GetEnabledStandardsOutput, bool) bool) error { return c.GetEnabledStandardsPagesWithContext(aws.BackgroundContext(), input, fn) } // GetEnabledStandardsPagesWithContext same as GetEnabledStandardsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetEnabledStandardsPagesWithContext(ctx aws.Context, input *GetEnabledStandardsInput, fn func(*GetEnabledStandardsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *GetEnabledStandardsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.GetEnabledStandardsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*GetEnabledStandardsOutput), !p.HasNextPage()) { break } } return p.Err() } const opGetFindingAggregator = "GetFindingAggregator" // GetFindingAggregatorRequest generates a "aws/request.Request" representing the // client's request for the GetFindingAggregator operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetFindingAggregator for more information on using the GetFindingAggregator // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetFindingAggregatorRequest method. // req, resp := client.GetFindingAggregatorRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetFindingAggregatorRequest(input *GetFindingAggregatorInput) (req *request.Request, output *GetFindingAggregatorOutput) { op := &request.Operation{ Name: opGetFindingAggregator, HTTPMethod: "GET", HTTPPath: "/findingAggregator/get/{FindingAggregatorArn+}", } if input == nil { input = &GetFindingAggregatorInput{} } output = &GetFindingAggregatorOutput{} req = c.newRequest(op, input, output) return } // GetFindingAggregator API operation for AWS SecurityHub. // // Returns the current finding aggregation configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetFindingAggregator for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) GetFindingAggregator(input *GetFindingAggregatorInput) (*GetFindingAggregatorOutput, error) { req, out := c.GetFindingAggregatorRequest(input) return out, req.Send() } // GetFindingAggregatorWithContext is the same as GetFindingAggregator with the addition of // the ability to pass a context and additional request options. // // See GetFindingAggregator for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetFindingAggregatorWithContext(ctx aws.Context, input *GetFindingAggregatorInput, opts ...request.Option) (*GetFindingAggregatorOutput, error) { req, out := c.GetFindingAggregatorRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetFindingHistory = "GetFindingHistory" // GetFindingHistoryRequest generates a "aws/request.Request" representing the // client's request for the GetFindingHistory operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetFindingHistory for more information on using the GetFindingHistory // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetFindingHistoryRequest method. // req, resp := client.GetFindingHistoryRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetFindingHistoryRequest(input *GetFindingHistoryInput) (req *request.Request, output *GetFindingHistoryOutput) { op := &request.Operation{ Name: opGetFindingHistory, HTTPMethod: "POST", HTTPPath: "/findingHistory/get", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &GetFindingHistoryInput{} } output = &GetFindingHistoryOutput{} req = c.newRequest(op, input, output) return } // GetFindingHistory API operation for AWS SecurityHub. // // Returns history for a Security Hub finding in the last 90 days. The history // includes changes made to any fields in the Amazon Web Services Security Finding // Format (ASFF). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetFindingHistory for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) GetFindingHistory(input *GetFindingHistoryInput) (*GetFindingHistoryOutput, error) { req, out := c.GetFindingHistoryRequest(input) return out, req.Send() } // GetFindingHistoryWithContext is the same as GetFindingHistory with the addition of // the ability to pass a context and additional request options. // // See GetFindingHistory for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetFindingHistoryWithContext(ctx aws.Context, input *GetFindingHistoryInput, opts ...request.Option) (*GetFindingHistoryOutput, error) { req, out := c.GetFindingHistoryRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // GetFindingHistoryPages iterates over the pages of a GetFindingHistory operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See GetFindingHistory method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a GetFindingHistory operation. // pageNum := 0 // err := client.GetFindingHistoryPages(params, // func(page *securityhub.GetFindingHistoryOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) GetFindingHistoryPages(input *GetFindingHistoryInput, fn func(*GetFindingHistoryOutput, bool) bool) error { return c.GetFindingHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } // GetFindingHistoryPagesWithContext same as GetFindingHistoryPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetFindingHistoryPagesWithContext(ctx aws.Context, input *GetFindingHistoryInput, fn func(*GetFindingHistoryOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *GetFindingHistoryInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.GetFindingHistoryRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*GetFindingHistoryOutput), !p.HasNextPage()) { break } } return p.Err() } const opGetFindings = "GetFindings" // GetFindingsRequest generates a "aws/request.Request" representing the // client's request for the GetFindings operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetFindings for more information on using the GetFindings // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetFindingsRequest method. // req, resp := client.GetFindingsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput) { op := &request.Operation{ Name: opGetFindings, HTTPMethod: "POST", HTTPPath: "/findings", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &GetFindingsInput{} } output = &GetFindingsOutput{} req = c.newRequest(op, input, output) return } // GetFindings API operation for AWS SecurityHub. // // Returns a list of findings that match the specified criteria. // // If finding aggregation is enabled, then when you call GetFindings from the // aggregation Region, the results include all of the matching findings from // both the aggregation Region and the linked Regions. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetFindings for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error) { req, out := c.GetFindingsRequest(input) return out, req.Send() } // GetFindingsWithContext is the same as GetFindings with the addition of // the ability to pass a context and additional request options. // // See GetFindings for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetFindingsWithContext(ctx aws.Context, input *GetFindingsInput, opts ...request.Option) (*GetFindingsOutput, error) { req, out := c.GetFindingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // GetFindingsPages iterates over the pages of a GetFindings operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See GetFindings method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a GetFindings operation. // pageNum := 0 // err := client.GetFindingsPages(params, // func(page *securityhub.GetFindingsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) GetFindingsPages(input *GetFindingsInput, fn func(*GetFindingsOutput, bool) bool) error { return c.GetFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } // GetFindingsPagesWithContext same as GetFindingsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetFindingsPagesWithContext(ctx aws.Context, input *GetFindingsInput, fn func(*GetFindingsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *GetFindingsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.GetFindingsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*GetFindingsOutput), !p.HasNextPage()) { break } } return p.Err() } const opGetInsightResults = "GetInsightResults" // GetInsightResultsRequest generates a "aws/request.Request" representing the // client's request for the GetInsightResults operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetInsightResults for more information on using the GetInsightResults // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetInsightResultsRequest method. // req, resp := client.GetInsightResultsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetInsightResultsRequest(input *GetInsightResultsInput) (req *request.Request, output *GetInsightResultsOutput) { op := &request.Operation{ Name: opGetInsightResults, HTTPMethod: "GET", HTTPPath: "/insights/results/{InsightArn+}", } if input == nil { input = &GetInsightResultsInput{} } output = &GetInsightResultsOutput{} req = c.newRequest(op, input, output) return } // GetInsightResults API operation for AWS SecurityHub. // // Lists the results of the Security Hub insight specified by the insight ARN. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetInsightResults for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) GetInsightResults(input *GetInsightResultsInput) (*GetInsightResultsOutput, error) { req, out := c.GetInsightResultsRequest(input) return out, req.Send() } // GetInsightResultsWithContext is the same as GetInsightResults with the addition of // the ability to pass a context and additional request options. // // See GetInsightResults for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetInsightResultsWithContext(ctx aws.Context, input *GetInsightResultsInput, opts ...request.Option) (*GetInsightResultsOutput, error) { req, out := c.GetInsightResultsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetInsights = "GetInsights" // GetInsightsRequest generates a "aws/request.Request" representing the // client's request for the GetInsights operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetInsights for more information on using the GetInsights // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetInsightsRequest method. // req, resp := client.GetInsightsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetInsightsRequest(input *GetInsightsInput) (req *request.Request, output *GetInsightsOutput) { op := &request.Operation{ Name: opGetInsights, HTTPMethod: "POST", HTTPPath: "/insights/get", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &GetInsightsInput{} } output = &GetInsightsOutput{} req = c.newRequest(op, input, output) return } // GetInsights API operation for AWS SecurityHub. // // Lists and describes insights for the specified insight ARNs. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetInsights for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) GetInsights(input *GetInsightsInput) (*GetInsightsOutput, error) { req, out := c.GetInsightsRequest(input) return out, req.Send() } // GetInsightsWithContext is the same as GetInsights with the addition of // the ability to pass a context and additional request options. // // See GetInsights for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetInsightsWithContext(ctx aws.Context, input *GetInsightsInput, opts ...request.Option) (*GetInsightsOutput, error) { req, out := c.GetInsightsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // GetInsightsPages iterates over the pages of a GetInsights operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See GetInsights method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a GetInsights operation. // pageNum := 0 // err := client.GetInsightsPages(params, // func(page *securityhub.GetInsightsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) GetInsightsPages(input *GetInsightsInput, fn func(*GetInsightsOutput, bool) bool) error { return c.GetInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } // GetInsightsPagesWithContext same as GetInsightsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetInsightsPagesWithContext(ctx aws.Context, input *GetInsightsInput, fn func(*GetInsightsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *GetInsightsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.GetInsightsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*GetInsightsOutput), !p.HasNextPage()) { break } } return p.Err() } const opGetInvitationsCount = "GetInvitationsCount" // GetInvitationsCountRequest generates a "aws/request.Request" representing the // client's request for the GetInvitationsCount operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetInvitationsCount for more information on using the GetInvitationsCount // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetInvitationsCountRequest method. // req, resp := client.GetInvitationsCountRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput) { op := &request.Operation{ Name: opGetInvitationsCount, HTTPMethod: "GET", HTTPPath: "/invitations/count", } if input == nil { input = &GetInvitationsCountInput{} } output = &GetInvitationsCountOutput{} req = c.newRequest(op, input, output) return } // GetInvitationsCount API operation for AWS SecurityHub. // // Returns the count of all Security Hub membership invitations that were sent // to the current member account, not including the currently accepted invitation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetInvitationsCount for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error) { req, out := c.GetInvitationsCountRequest(input) return out, req.Send() } // GetInvitationsCountWithContext is the same as GetInvitationsCount with the addition of // the ability to pass a context and additional request options. // // See GetInvitationsCount for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetInvitationsCountWithContext(ctx aws.Context, input *GetInvitationsCountInput, opts ...request.Option) (*GetInvitationsCountOutput, error) { req, out := c.GetInvitationsCountRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetMasterAccount = "GetMasterAccount" // GetMasterAccountRequest generates a "aws/request.Request" representing the // client's request for the GetMasterAccount operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetMasterAccount for more information on using the GetMasterAccount // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetMasterAccountRequest method. // req, resp := client.GetMasterAccountRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url // // Deprecated: This API has been deprecated, use GetAdministratorAccount API instead. func (c *SecurityHub) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput) { if c.Client.Config.Logger != nil { c.Client.Config.Logger.Log("This operation, GetMasterAccount, has been deprecated") } op := &request.Operation{ Name: opGetMasterAccount, HTTPMethod: "GET", HTTPPath: "/master", } if input == nil { input = &GetMasterAccountInput{} } output = &GetMasterAccountOutput{} req = c.newRequest(op, input, output) return } // GetMasterAccount API operation for AWS SecurityHub. // // This method is deprecated. Instead, use GetAdministratorAccount. // // The Security Hub console continues to use GetMasterAccount. It will eventually // change to use GetAdministratorAccount. Any IAM policies that specifically // control access to this function must continue to use GetMasterAccount. You // should also add GetAdministratorAccount to your policies to ensure that the // correct permissions are in place after the console begins to use GetAdministratorAccount. // // Provides the details for the Security Hub administrator account for the current // member account. // // Can be used by both member accounts that are managed using Organizations // and accounts that were invited manually. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetMasterAccount for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url // // Deprecated: This API has been deprecated, use GetAdministratorAccount API instead. func (c *SecurityHub) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error) { req, out := c.GetMasterAccountRequest(input) return out, req.Send() } // GetMasterAccountWithContext is the same as GetMasterAccount with the addition of // the ability to pass a context and additional request options. // // See GetMasterAccount for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. // // Deprecated: This API has been deprecated, use GetAdministratorAccount API instead. func (c *SecurityHub) GetMasterAccountWithContext(ctx aws.Context, input *GetMasterAccountInput, opts ...request.Option) (*GetMasterAccountOutput, error) { req, out := c.GetMasterAccountRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetMembers = "GetMembers" // GetMembersRequest generates a "aws/request.Request" representing the // client's request for the GetMembers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetMembers for more information on using the GetMembers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetMembersRequest method. // req, resp := client.GetMembersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput) { op := &request.Operation{ Name: opGetMembers, HTTPMethod: "POST", HTTPPath: "/members/get", } if input == nil { input = &GetMembersInput{} } output = &GetMembersOutput{} req = c.newRequest(op, input, output) return } // GetMembers API operation for AWS SecurityHub. // // Returns the details for the Security Hub member accounts for the specified // account IDs. // // An administrator account can be either the delegated Security Hub administrator // account for an organization or an administrator account that enabled Security // Hub manually. // // The results include both member accounts that are managed using Organizations // and accounts that were invited manually. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetMembers for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) GetMembers(input *GetMembersInput) (*GetMembersOutput, error) { req, out := c.GetMembersRequest(input) return out, req.Send() } // GetMembersWithContext is the same as GetMembers with the addition of // the ability to pass a context and additional request options. // // See GetMembers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetMembersWithContext(ctx aws.Context, input *GetMembersInput, opts ...request.Option) (*GetMembersOutput, error) { req, out := c.GetMembersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opGetSecurityControlDefinition = "GetSecurityControlDefinition" // GetSecurityControlDefinitionRequest generates a "aws/request.Request" representing the // client's request for the GetSecurityControlDefinition operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See GetSecurityControlDefinition for more information on using the GetSecurityControlDefinition // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the GetSecurityControlDefinitionRequest method. // req, resp := client.GetSecurityControlDefinitionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) GetSecurityControlDefinitionRequest(input *GetSecurityControlDefinitionInput) (req *request.Request, output *GetSecurityControlDefinitionOutput) { op := &request.Operation{ Name: opGetSecurityControlDefinition, HTTPMethod: "GET", HTTPPath: "/securityControl/definition", } if input == nil { input = &GetSecurityControlDefinitionInput{} } output = &GetSecurityControlDefinitionOutput{} req = c.newRequest(op, input, output) return } // GetSecurityControlDefinition API operation for AWS SecurityHub. // // Retrieves the definition of a security control. The definition includes the // control title, description, Region availability, parameter definitions, and // other details. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation GetSecurityControlDefinition for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) GetSecurityControlDefinition(input *GetSecurityControlDefinitionInput) (*GetSecurityControlDefinitionOutput, error) { req, out := c.GetSecurityControlDefinitionRequest(input) return out, req.Send() } // GetSecurityControlDefinitionWithContext is the same as GetSecurityControlDefinition with the addition of // the ability to pass a context and additional request options. // // See GetSecurityControlDefinition for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) GetSecurityControlDefinitionWithContext(ctx aws.Context, input *GetSecurityControlDefinitionInput, opts ...request.Option) (*GetSecurityControlDefinitionOutput, error) { req, out := c.GetSecurityControlDefinitionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opInviteMembers = "InviteMembers" // InviteMembersRequest generates a "aws/request.Request" representing the // client's request for the InviteMembers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See InviteMembers for more information on using the InviteMembers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the InviteMembersRequest method. // req, resp := client.InviteMembersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) InviteMembersRequest(input *InviteMembersInput) (req *request.Request, output *InviteMembersOutput) { op := &request.Operation{ Name: opInviteMembers, HTTPMethod: "POST", HTTPPath: "/members/invite", } if input == nil { input = &InviteMembersInput{} } output = &InviteMembersOutput{} req = c.newRequest(op, input, output) return } // InviteMembers API operation for AWS SecurityHub. // // Invites other Amazon Web Services accounts to become member accounts for // the Security Hub administrator account that the invitation is sent from. // // This operation is only used to invite accounts that do not belong to an organization. // Organization accounts do not receive invitations. // // Before you can use this action to invite a member, you must first use the // CreateMembers action to create the member account in Security Hub. // // When the account owner enables Security Hub and accepts the invitation to // become a member account, the administrator account can view the findings // generated from the member account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation InviteMembers for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error) { req, out := c.InviteMembersRequest(input) return out, req.Send() } // InviteMembersWithContext is the same as InviteMembers with the addition of // the ability to pass a context and additional request options. // // See InviteMembers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) InviteMembersWithContext(ctx aws.Context, input *InviteMembersInput, opts ...request.Option) (*InviteMembersOutput, error) { req, out := c.InviteMembersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opListAutomationRules = "ListAutomationRules" // ListAutomationRulesRequest generates a "aws/request.Request" representing the // client's request for the ListAutomationRules operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListAutomationRules for more information on using the ListAutomationRules // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListAutomationRulesRequest method. // req, resp := client.ListAutomationRulesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListAutomationRulesRequest(input *ListAutomationRulesInput) (req *request.Request, output *ListAutomationRulesOutput) { op := &request.Operation{ Name: opListAutomationRules, HTTPMethod: "GET", HTTPPath: "/automationrules/list", } if input == nil { input = &ListAutomationRulesInput{} } output = &ListAutomationRulesOutput{} req = c.newRequest(op, input, output) return } // ListAutomationRules API operation for AWS SecurityHub. // // A list of automation rules and their metadata for the calling account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListAutomationRules for usage and error information. // // Returned Error Types: // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) ListAutomationRules(input *ListAutomationRulesInput) (*ListAutomationRulesOutput, error) { req, out := c.ListAutomationRulesRequest(input) return out, req.Send() } // ListAutomationRulesWithContext is the same as ListAutomationRules with the addition of // the ability to pass a context and additional request options. // // See ListAutomationRules for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListAutomationRulesWithContext(ctx aws.Context, input *ListAutomationRulesInput, opts ...request.Option) (*ListAutomationRulesOutput, error) { req, out := c.ListAutomationRulesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opListConfigurationPolicies = "ListConfigurationPolicies" // ListConfigurationPoliciesRequest generates a "aws/request.Request" representing the // client's request for the ListConfigurationPolicies operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListConfigurationPolicies for more information on using the ListConfigurationPolicies // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListConfigurationPoliciesRequest method. // req, resp := client.ListConfigurationPoliciesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListConfigurationPoliciesRequest(input *ListConfigurationPoliciesInput) (req *request.Request, output *ListConfigurationPoliciesOutput) { op := &request.Operation{ Name: opListConfigurationPolicies, HTTPMethod: "GET", HTTPPath: "/configurationPolicy/list", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListConfigurationPoliciesInput{} } output = &ListConfigurationPoliciesOutput{} req = c.newRequest(op, input, output) return } // ListConfigurationPolicies API operation for AWS SecurityHub. // // Lists the configuration policies that the Security Hub delegated administrator // has created for your organization. Only the delegated administrator can invoke // this operation from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListConfigurationPolicies for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) ListConfigurationPolicies(input *ListConfigurationPoliciesInput) (*ListConfigurationPoliciesOutput, error) { req, out := c.ListConfigurationPoliciesRequest(input) return out, req.Send() } // ListConfigurationPoliciesWithContext is the same as ListConfigurationPolicies with the addition of // the ability to pass a context and additional request options. // // See ListConfigurationPolicies for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListConfigurationPoliciesWithContext(ctx aws.Context, input *ListConfigurationPoliciesInput, opts ...request.Option) (*ListConfigurationPoliciesOutput, error) { req, out := c.ListConfigurationPoliciesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListConfigurationPoliciesPages iterates over the pages of a ListConfigurationPolicies operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListConfigurationPolicies method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListConfigurationPolicies operation. // pageNum := 0 // err := client.ListConfigurationPoliciesPages(params, // func(page *securityhub.ListConfigurationPoliciesOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListConfigurationPoliciesPages(input *ListConfigurationPoliciesInput, fn func(*ListConfigurationPoliciesOutput, bool) bool) error { return c.ListConfigurationPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } // ListConfigurationPoliciesPagesWithContext same as ListConfigurationPoliciesPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListConfigurationPoliciesPagesWithContext(ctx aws.Context, input *ListConfigurationPoliciesInput, fn func(*ListConfigurationPoliciesOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListConfigurationPoliciesInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListConfigurationPoliciesRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListConfigurationPoliciesOutput), !p.HasNextPage()) { break } } return p.Err() } const opListConfigurationPolicyAssociations = "ListConfigurationPolicyAssociations" // ListConfigurationPolicyAssociationsRequest generates a "aws/request.Request" representing the // client's request for the ListConfigurationPolicyAssociations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListConfigurationPolicyAssociations for more information on using the ListConfigurationPolicyAssociations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListConfigurationPolicyAssociationsRequest method. // req, resp := client.ListConfigurationPolicyAssociationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListConfigurationPolicyAssociationsRequest(input *ListConfigurationPolicyAssociationsInput) (req *request.Request, output *ListConfigurationPolicyAssociationsOutput) { op := &request.Operation{ Name: opListConfigurationPolicyAssociations, HTTPMethod: "POST", HTTPPath: "/configurationPolicyAssociation/list", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListConfigurationPolicyAssociationsInput{} } output = &ListConfigurationPolicyAssociationsOutput{} req = c.newRequest(op, input, output) return } // ListConfigurationPolicyAssociations API operation for AWS SecurityHub. // // Provides information about the associations for your configuration policies // and self-managed behavior. Only the Security Hub delegated administrator // can invoke this operation from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListConfigurationPolicyAssociations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) ListConfigurationPolicyAssociations(input *ListConfigurationPolicyAssociationsInput) (*ListConfigurationPolicyAssociationsOutput, error) { req, out := c.ListConfigurationPolicyAssociationsRequest(input) return out, req.Send() } // ListConfigurationPolicyAssociationsWithContext is the same as ListConfigurationPolicyAssociations with the addition of // the ability to pass a context and additional request options. // // See ListConfigurationPolicyAssociations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListConfigurationPolicyAssociationsWithContext(ctx aws.Context, input *ListConfigurationPolicyAssociationsInput, opts ...request.Option) (*ListConfigurationPolicyAssociationsOutput, error) { req, out := c.ListConfigurationPolicyAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListConfigurationPolicyAssociationsPages iterates over the pages of a ListConfigurationPolicyAssociations operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListConfigurationPolicyAssociations method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListConfigurationPolicyAssociations operation. // pageNum := 0 // err := client.ListConfigurationPolicyAssociationsPages(params, // func(page *securityhub.ListConfigurationPolicyAssociationsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListConfigurationPolicyAssociationsPages(input *ListConfigurationPolicyAssociationsInput, fn func(*ListConfigurationPolicyAssociationsOutput, bool) bool) error { return c.ListConfigurationPolicyAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } // ListConfigurationPolicyAssociationsPagesWithContext same as ListConfigurationPolicyAssociationsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListConfigurationPolicyAssociationsPagesWithContext(ctx aws.Context, input *ListConfigurationPolicyAssociationsInput, fn func(*ListConfigurationPolicyAssociationsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListConfigurationPolicyAssociationsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListConfigurationPolicyAssociationsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListConfigurationPolicyAssociationsOutput), !p.HasNextPage()) { break } } return p.Err() } const opListEnabledProductsForImport = "ListEnabledProductsForImport" // ListEnabledProductsForImportRequest generates a "aws/request.Request" representing the // client's request for the ListEnabledProductsForImport operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListEnabledProductsForImport for more information on using the ListEnabledProductsForImport // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListEnabledProductsForImportRequest method. // req, resp := client.ListEnabledProductsForImportRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListEnabledProductsForImportRequest(input *ListEnabledProductsForImportInput) (req *request.Request, output *ListEnabledProductsForImportOutput) { op := &request.Operation{ Name: opListEnabledProductsForImport, HTTPMethod: "GET", HTTPPath: "/productSubscriptions", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListEnabledProductsForImportInput{} } output = &ListEnabledProductsForImportOutput{} req = c.newRequest(op, input, output) return } // ListEnabledProductsForImport API operation for AWS SecurityHub. // // Lists all findings-generating solutions (products) that you are subscribed // to receive findings from in Security Hub. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListEnabledProductsForImport for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // See also, path_to_url func (c *SecurityHub) ListEnabledProductsForImport(input *ListEnabledProductsForImportInput) (*ListEnabledProductsForImportOutput, error) { req, out := c.ListEnabledProductsForImportRequest(input) return out, req.Send() } // ListEnabledProductsForImportWithContext is the same as ListEnabledProductsForImport with the addition of // the ability to pass a context and additional request options. // // See ListEnabledProductsForImport for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListEnabledProductsForImportWithContext(ctx aws.Context, input *ListEnabledProductsForImportInput, opts ...request.Option) (*ListEnabledProductsForImportOutput, error) { req, out := c.ListEnabledProductsForImportRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListEnabledProductsForImportPages iterates over the pages of a ListEnabledProductsForImport operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListEnabledProductsForImport method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListEnabledProductsForImport operation. // pageNum := 0 // err := client.ListEnabledProductsForImportPages(params, // func(page *securityhub.ListEnabledProductsForImportOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListEnabledProductsForImportPages(input *ListEnabledProductsForImportInput, fn func(*ListEnabledProductsForImportOutput, bool) bool) error { return c.ListEnabledProductsForImportPagesWithContext(aws.BackgroundContext(), input, fn) } // ListEnabledProductsForImportPagesWithContext same as ListEnabledProductsForImportPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListEnabledProductsForImportPagesWithContext(ctx aws.Context, input *ListEnabledProductsForImportInput, fn func(*ListEnabledProductsForImportOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListEnabledProductsForImportInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListEnabledProductsForImportRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListEnabledProductsForImportOutput), !p.HasNextPage()) { break } } return p.Err() } const opListFindingAggregators = "ListFindingAggregators" // ListFindingAggregatorsRequest generates a "aws/request.Request" representing the // client's request for the ListFindingAggregators operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListFindingAggregators for more information on using the ListFindingAggregators // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListFindingAggregatorsRequest method. // req, resp := client.ListFindingAggregatorsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListFindingAggregatorsRequest(input *ListFindingAggregatorsInput) (req *request.Request, output *ListFindingAggregatorsOutput) { op := &request.Operation{ Name: opListFindingAggregators, HTTPMethod: "GET", HTTPPath: "/findingAggregator/list", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListFindingAggregatorsInput{} } output = &ListFindingAggregatorsOutput{} req = c.newRequest(op, input, output) return } // ListFindingAggregators API operation for AWS SecurityHub. // // If finding aggregation is enabled, then ListFindingAggregators returns the // ARN of the finding aggregator. You can run this operation from any Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListFindingAggregators for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // See also, path_to_url func (c *SecurityHub) ListFindingAggregators(input *ListFindingAggregatorsInput) (*ListFindingAggregatorsOutput, error) { req, out := c.ListFindingAggregatorsRequest(input) return out, req.Send() } // ListFindingAggregatorsWithContext is the same as ListFindingAggregators with the addition of // the ability to pass a context and additional request options. // // See ListFindingAggregators for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListFindingAggregatorsWithContext(ctx aws.Context, input *ListFindingAggregatorsInput, opts ...request.Option) (*ListFindingAggregatorsOutput, error) { req, out := c.ListFindingAggregatorsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListFindingAggregatorsPages iterates over the pages of a ListFindingAggregators operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListFindingAggregators method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListFindingAggregators operation. // pageNum := 0 // err := client.ListFindingAggregatorsPages(params, // func(page *securityhub.ListFindingAggregatorsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListFindingAggregatorsPages(input *ListFindingAggregatorsInput, fn func(*ListFindingAggregatorsOutput, bool) bool) error { return c.ListFindingAggregatorsPagesWithContext(aws.BackgroundContext(), input, fn) } // ListFindingAggregatorsPagesWithContext same as ListFindingAggregatorsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListFindingAggregatorsPagesWithContext(ctx aws.Context, input *ListFindingAggregatorsInput, fn func(*ListFindingAggregatorsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListFindingAggregatorsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListFindingAggregatorsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListFindingAggregatorsOutput), !p.HasNextPage()) { break } } return p.Err() } const opListInvitations = "ListInvitations" // ListInvitationsRequest generates a "aws/request.Request" representing the // client's request for the ListInvitations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListInvitations for more information on using the ListInvitations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListInvitationsRequest method. // req, resp := client.ListInvitationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) { op := &request.Operation{ Name: opListInvitations, HTTPMethod: "GET", HTTPPath: "/invitations", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListInvitationsInput{} } output = &ListInvitationsOutput{} req = c.newRequest(op, input, output) return } // ListInvitations API operation for AWS SecurityHub. // // Lists all Security Hub membership invitations that were sent to the current // Amazon Web Services account. // // This operation is only used by accounts that are managed by invitation. Accounts // that are managed using the integration with Organizations do not receive // invitations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListInvitations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { req, out := c.ListInvitationsRequest(input) return out, req.Send() } // ListInvitationsWithContext is the same as ListInvitations with the addition of // the ability to pass a context and additional request options. // // See ListInvitations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListInvitationsWithContext(ctx aws.Context, input *ListInvitationsInput, opts ...request.Option) (*ListInvitationsOutput, error) { req, out := c.ListInvitationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListInvitationsPages iterates over the pages of a ListInvitations operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListInvitations method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListInvitations operation. // pageNum := 0 // err := client.ListInvitationsPages(params, // func(page *securityhub.ListInvitationsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } // ListInvitationsPagesWithContext same as ListInvitationsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListInvitationsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListInvitationsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListInvitationsOutput), !p.HasNextPage()) { break } } return p.Err() } const opListMembers = "ListMembers" // ListMembersRequest generates a "aws/request.Request" representing the // client's request for the ListMembers operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListMembers for more information on using the ListMembers // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListMembersRequest method. // req, resp := client.ListMembersRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { op := &request.Operation{ Name: opListMembers, HTTPMethod: "GET", HTTPPath: "/members", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListMembersInput{} } output = &ListMembersOutput{} req = c.newRequest(op, input, output) return } // ListMembers API operation for AWS SecurityHub. // // Lists details about all member accounts for the current Security Hub administrator // account. // // The results include both member accounts that belong to an organization and // member accounts that were invited manually. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListMembers for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { req, out := c.ListMembersRequest(input) return out, req.Send() } // ListMembersWithContext is the same as ListMembers with the addition of // the ability to pass a context and additional request options. // // See ListMembers for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListMembersWithContext(ctx aws.Context, input *ListMembersInput, opts ...request.Option) (*ListMembersOutput, error) { req, out := c.ListMembersRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListMembersPages iterates over the pages of a ListMembers operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListMembers method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListMembers operation. // pageNum := 0 // err := client.ListMembersPages(params, // func(page *securityhub.ListMembersOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) } // ListMembersPagesWithContext same as ListMembersPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListMembersInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListMembersRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListMembersOutput), !p.HasNextPage()) { break } } return p.Err() } const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts" // ListOrganizationAdminAccountsRequest generates a "aws/request.Request" representing the // client's request for the ListOrganizationAdminAccounts operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListOrganizationAdminAccounts for more information on using the ListOrganizationAdminAccounts // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListOrganizationAdminAccountsRequest method. // req, resp := client.ListOrganizationAdminAccountsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput) { op := &request.Operation{ Name: opListOrganizationAdminAccounts, HTTPMethod: "GET", HTTPPath: "/organization/admin", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListOrganizationAdminAccountsInput{} } output = &ListOrganizationAdminAccountsOutput{} req = c.newRequest(op, input, output) return } // ListOrganizationAdminAccounts API operation for AWS SecurityHub. // // Lists the Security Hub administrator accounts. Can only be called by the // organization management account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListOrganizationAdminAccounts for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error) { req, out := c.ListOrganizationAdminAccountsRequest(input) return out, req.Send() } // ListOrganizationAdminAccountsWithContext is the same as ListOrganizationAdminAccounts with the addition of // the ability to pass a context and additional request options. // // See ListOrganizationAdminAccounts for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, opts ...request.Option) (*ListOrganizationAdminAccountsOutput, error) { req, out := c.ListOrganizationAdminAccountsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListOrganizationAdminAccountsPages iterates over the pages of a ListOrganizationAdminAccounts operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListOrganizationAdminAccounts method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. // pageNum := 0 // err := client.ListOrganizationAdminAccountsPages(params, // func(page *securityhub.ListOrganizationAdminAccountsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error { return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } // ListOrganizationAdminAccountsPagesWithContext same as ListOrganizationAdminAccountsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListOrganizationAdminAccountsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListOrganizationAdminAccountsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListOrganizationAdminAccountsOutput), !p.HasNextPage()) { break } } return p.Err() } const opListSecurityControlDefinitions = "ListSecurityControlDefinitions" // ListSecurityControlDefinitionsRequest generates a "aws/request.Request" representing the // client's request for the ListSecurityControlDefinitions operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListSecurityControlDefinitions for more information on using the ListSecurityControlDefinitions // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListSecurityControlDefinitionsRequest method. // req, resp := client.ListSecurityControlDefinitionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListSecurityControlDefinitionsRequest(input *ListSecurityControlDefinitionsInput) (req *request.Request, output *ListSecurityControlDefinitionsOutput) { op := &request.Operation{ Name: opListSecurityControlDefinitions, HTTPMethod: "GET", HTTPPath: "/securityControls/definitions", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListSecurityControlDefinitionsInput{} } output = &ListSecurityControlDefinitionsOutput{} req = c.newRequest(op, input, output) return } // ListSecurityControlDefinitions API operation for AWS SecurityHub. // // Lists all of the security controls that apply to a specified standard. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListSecurityControlDefinitions for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // See also, path_to_url func (c *SecurityHub) ListSecurityControlDefinitions(input *ListSecurityControlDefinitionsInput) (*ListSecurityControlDefinitionsOutput, error) { req, out := c.ListSecurityControlDefinitionsRequest(input) return out, req.Send() } // ListSecurityControlDefinitionsWithContext is the same as ListSecurityControlDefinitions with the addition of // the ability to pass a context and additional request options. // // See ListSecurityControlDefinitions for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListSecurityControlDefinitionsWithContext(ctx aws.Context, input *ListSecurityControlDefinitionsInput, opts ...request.Option) (*ListSecurityControlDefinitionsOutput, error) { req, out := c.ListSecurityControlDefinitionsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListSecurityControlDefinitionsPages iterates over the pages of a ListSecurityControlDefinitions operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListSecurityControlDefinitions method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListSecurityControlDefinitions operation. // pageNum := 0 // err := client.ListSecurityControlDefinitionsPages(params, // func(page *securityhub.ListSecurityControlDefinitionsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListSecurityControlDefinitionsPages(input *ListSecurityControlDefinitionsInput, fn func(*ListSecurityControlDefinitionsOutput, bool) bool) error { return c.ListSecurityControlDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } // ListSecurityControlDefinitionsPagesWithContext same as ListSecurityControlDefinitionsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListSecurityControlDefinitionsPagesWithContext(ctx aws.Context, input *ListSecurityControlDefinitionsInput, fn func(*ListSecurityControlDefinitionsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListSecurityControlDefinitionsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListSecurityControlDefinitionsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListSecurityControlDefinitionsOutput), !p.HasNextPage()) { break } } return p.Err() } const opListStandardsControlAssociations = "ListStandardsControlAssociations" // ListStandardsControlAssociationsRequest generates a "aws/request.Request" representing the // client's request for the ListStandardsControlAssociations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListStandardsControlAssociations for more information on using the ListStandardsControlAssociations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListStandardsControlAssociationsRequest method. // req, resp := client.ListStandardsControlAssociationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListStandardsControlAssociationsRequest(input *ListStandardsControlAssociationsInput) (req *request.Request, output *ListStandardsControlAssociationsOutput) { op := &request.Operation{ Name: opListStandardsControlAssociations, HTTPMethod: "GET", HTTPPath: "/associations", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { input = &ListStandardsControlAssociationsInput{} } output = &ListStandardsControlAssociationsOutput{} req = c.newRequest(op, input, output) return } // ListStandardsControlAssociations API operation for AWS SecurityHub. // // Specifies whether a control is currently enabled or disabled in each enabled // standard in the calling account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListStandardsControlAssociations for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // See also, path_to_url func (c *SecurityHub) ListStandardsControlAssociations(input *ListStandardsControlAssociationsInput) (*ListStandardsControlAssociationsOutput, error) { req, out := c.ListStandardsControlAssociationsRequest(input) return out, req.Send() } // ListStandardsControlAssociationsWithContext is the same as ListStandardsControlAssociations with the addition of // the ability to pass a context and additional request options. // // See ListStandardsControlAssociations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListStandardsControlAssociationsWithContext(ctx aws.Context, input *ListStandardsControlAssociationsInput, opts ...request.Option) (*ListStandardsControlAssociationsOutput, error) { req, out := c.ListStandardsControlAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } // ListStandardsControlAssociationsPages iterates over the pages of a ListStandardsControlAssociations operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // // See ListStandardsControlAssociations method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // // // Example iterating over at most 3 pages of a ListStandardsControlAssociations operation. // pageNum := 0 // err := client.ListStandardsControlAssociationsPages(params, // func(page *securityhub.ListStandardsControlAssociationsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) func (c *SecurityHub) ListStandardsControlAssociationsPages(input *ListStandardsControlAssociationsInput, fn func(*ListStandardsControlAssociationsOutput, bool) bool) error { return c.ListStandardsControlAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } // ListStandardsControlAssociationsPagesWithContext same as ListStandardsControlAssociationsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListStandardsControlAssociationsPagesWithContext(ctx aws.Context, input *ListStandardsControlAssociationsInput, fn func(*ListStandardsControlAssociationsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { var inCpy *ListStandardsControlAssociationsInput if input != nil { tmp := *input inCpy = &tmp } req, _ := c.ListStandardsControlAssociationsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil }, } for p.Next() { if !fn(p.Page().(*ListStandardsControlAssociationsOutput), !p.HasNextPage()) { break } } return p.Err() } const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the // client's request for the ListTagsForResource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See ListTagsForResource for more information on using the ListTagsForResource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the ListTagsForResourceRequest method. // req, resp := client.ListTagsForResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, HTTPMethod: "GET", HTTPPath: "/tags/{ResourceArn}", } if input == nil { input = &ListTagsForResourceInput{} } output = &ListTagsForResourceOutput{} req = c.newRequest(op, input, output) return } // ListTagsForResource API operation for AWS SecurityHub. // // Returns a list of tags associated with a resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation ListTagsForResource for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() } // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of // the ability to pass a context and additional request options. // // See ListTagsForResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opStartConfigurationPolicyAssociation = "StartConfigurationPolicyAssociation" // StartConfigurationPolicyAssociationRequest generates a "aws/request.Request" representing the // client's request for the StartConfigurationPolicyAssociation operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See StartConfigurationPolicyAssociation for more information on using the StartConfigurationPolicyAssociation // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the StartConfigurationPolicyAssociationRequest method. // req, resp := client.StartConfigurationPolicyAssociationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) StartConfigurationPolicyAssociationRequest(input *StartConfigurationPolicyAssociationInput) (req *request.Request, output *StartConfigurationPolicyAssociationOutput) { op := &request.Operation{ Name: opStartConfigurationPolicyAssociation, HTTPMethod: "POST", HTTPPath: "/configurationPolicyAssociation/associate", } if input == nil { input = &StartConfigurationPolicyAssociationInput{} } output = &StartConfigurationPolicyAssociationOutput{} req = c.newRequest(op, input, output) return } // StartConfigurationPolicyAssociation API operation for AWS SecurityHub. // // Associates a target account, organizational unit, or the root with a specified // configuration. The target can be associated with a configuration policy or // self-managed behavior. Only the Security Hub delegated administrator can // invoke this operation from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation StartConfigurationPolicyAssociation for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) StartConfigurationPolicyAssociation(input *StartConfigurationPolicyAssociationInput) (*StartConfigurationPolicyAssociationOutput, error) { req, out := c.StartConfigurationPolicyAssociationRequest(input) return out, req.Send() } // StartConfigurationPolicyAssociationWithContext is the same as StartConfigurationPolicyAssociation with the addition of // the ability to pass a context and additional request options. // // See StartConfigurationPolicyAssociation for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) StartConfigurationPolicyAssociationWithContext(ctx aws.Context, input *StartConfigurationPolicyAssociationInput, opts ...request.Option) (*StartConfigurationPolicyAssociationOutput, error) { req, out := c.StartConfigurationPolicyAssociationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opStartConfigurationPolicyDisassociation = "StartConfigurationPolicyDisassociation" // StartConfigurationPolicyDisassociationRequest generates a "aws/request.Request" representing the // client's request for the StartConfigurationPolicyDisassociation operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See StartConfigurationPolicyDisassociation for more information on using the StartConfigurationPolicyDisassociation // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the StartConfigurationPolicyDisassociationRequest method. // req, resp := client.StartConfigurationPolicyDisassociationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) StartConfigurationPolicyDisassociationRequest(input *StartConfigurationPolicyDisassociationInput) (req *request.Request, output *StartConfigurationPolicyDisassociationOutput) { op := &request.Operation{ Name: opStartConfigurationPolicyDisassociation, HTTPMethod: "POST", HTTPPath: "/configurationPolicyAssociation/disassociate", } if input == nil { input = &StartConfigurationPolicyDisassociationInput{} } output = &StartConfigurationPolicyDisassociationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // StartConfigurationPolicyDisassociation API operation for AWS SecurityHub. // // Disassociates a target account, organizational unit, or the root from a specified // configuration. When you disassociate a configuration from its target, the // target inherits the configuration of the closest parent. If theres no // configuration to inherit, the target retains its settings but becomes a self-managed // account. A target can be disassociated from a configuration policy or self-managed // behavior. Only the Security Hub delegated administrator can invoke this operation // from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation StartConfigurationPolicyDisassociation for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) StartConfigurationPolicyDisassociation(input *StartConfigurationPolicyDisassociationInput) (*StartConfigurationPolicyDisassociationOutput, error) { req, out := c.StartConfigurationPolicyDisassociationRequest(input) return out, req.Send() } // StartConfigurationPolicyDisassociationWithContext is the same as StartConfigurationPolicyDisassociation with the addition of // the ability to pass a context and additional request options. // // See StartConfigurationPolicyDisassociation for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) StartConfigurationPolicyDisassociationWithContext(ctx aws.Context, input *StartConfigurationPolicyDisassociationInput, opts ...request.Option) (*StartConfigurationPolicyDisassociationOutput, error) { req, out := c.StartConfigurationPolicyDisassociationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opTagResource = "TagResource" // TagResourceRequest generates a "aws/request.Request" representing the // client's request for the TagResource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See TagResource for more information on using the TagResource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the TagResourceRequest method. // req, resp := client.TagResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, HTTPMethod: "POST", HTTPPath: "/tags/{ResourceArn}", } if input == nil { input = &TagResourceInput{} } output = &TagResourceOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // TagResource API operation for AWS SecurityHub. // // Adds one or more tags to a resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation TagResource for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() } // TagResourceWithContext is the same as TagResource with the addition of // the ability to pass a context and additional request options. // // See TagResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUntagResource = "UntagResource" // UntagResourceRequest generates a "aws/request.Request" representing the // client's request for the UntagResource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UntagResource for more information on using the UntagResource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UntagResourceRequest method. // req, resp := client.UntagResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, HTTPMethod: "DELETE", HTTPPath: "/tags/{ResourceArn}", } if input == nil { input = &UntagResourceInput{} } output = &UntagResourceOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UntagResource API operation for AWS SecurityHub. // // Removes one or more tags from a resource. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UntagResource for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() } // UntagResourceWithContext is the same as UntagResource with the addition of // the ability to pass a context and additional request options. // // See UntagResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateActionTarget = "UpdateActionTarget" // UpdateActionTargetRequest generates a "aws/request.Request" representing the // client's request for the UpdateActionTarget operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateActionTarget for more information on using the UpdateActionTarget // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateActionTargetRequest method. // req, resp := client.UpdateActionTargetRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateActionTargetRequest(input *UpdateActionTargetInput) (req *request.Request, output *UpdateActionTargetOutput) { op := &request.Operation{ Name: opUpdateActionTarget, HTTPMethod: "PATCH", HTTPPath: "/actionTargets/{ActionTargetArn+}", } if input == nil { input = &UpdateActionTargetInput{} } output = &UpdateActionTargetOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UpdateActionTarget API operation for AWS SecurityHub. // // Updates the name and description of a custom action target in Security Hub. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateActionTarget for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) UpdateActionTarget(input *UpdateActionTargetInput) (*UpdateActionTargetOutput, error) { req, out := c.UpdateActionTargetRequest(input) return out, req.Send() } // UpdateActionTargetWithContext is the same as UpdateActionTarget with the addition of // the ability to pass a context and additional request options. // // See UpdateActionTarget for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateActionTargetWithContext(ctx aws.Context, input *UpdateActionTargetInput, opts ...request.Option) (*UpdateActionTargetOutput, error) { req, out := c.UpdateActionTargetRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateConfigurationPolicy = "UpdateConfigurationPolicy" // UpdateConfigurationPolicyRequest generates a "aws/request.Request" representing the // client's request for the UpdateConfigurationPolicy operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateConfigurationPolicy for more information on using the UpdateConfigurationPolicy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateConfigurationPolicyRequest method. // req, resp := client.UpdateConfigurationPolicyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateConfigurationPolicyRequest(input *UpdateConfigurationPolicyInput) (req *request.Request, output *UpdateConfigurationPolicyOutput) { op := &request.Operation{ Name: opUpdateConfigurationPolicy, HTTPMethod: "PATCH", HTTPPath: "/configurationPolicy/{Identifier}", } if input == nil { input = &UpdateConfigurationPolicyInput{} } output = &UpdateConfigurationPolicyOutput{} req = c.newRequest(op, input, output) return } // UpdateConfigurationPolicy API operation for AWS SecurityHub. // // Updates a configuration policy. Only the Security Hub delegated administrator // can invoke this operation from the home Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateConfigurationPolicy for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // See also, path_to_url func (c *SecurityHub) UpdateConfigurationPolicy(input *UpdateConfigurationPolicyInput) (*UpdateConfigurationPolicyOutput, error) { req, out := c.UpdateConfigurationPolicyRequest(input) return out, req.Send() } // UpdateConfigurationPolicyWithContext is the same as UpdateConfigurationPolicy with the addition of // the ability to pass a context and additional request options. // // See UpdateConfigurationPolicy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateConfigurationPolicyWithContext(ctx aws.Context, input *UpdateConfigurationPolicyInput, opts ...request.Option) (*UpdateConfigurationPolicyOutput, error) { req, out := c.UpdateConfigurationPolicyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateFindingAggregator = "UpdateFindingAggregator" // UpdateFindingAggregatorRequest generates a "aws/request.Request" representing the // client's request for the UpdateFindingAggregator operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateFindingAggregator for more information on using the UpdateFindingAggregator // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateFindingAggregatorRequest method. // req, resp := client.UpdateFindingAggregatorRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateFindingAggregatorRequest(input *UpdateFindingAggregatorInput) (req *request.Request, output *UpdateFindingAggregatorOutput) { op := &request.Operation{ Name: opUpdateFindingAggregator, HTTPMethod: "PATCH", HTTPPath: "/findingAggregator/update", } if input == nil { input = &UpdateFindingAggregatorInput{} } output = &UpdateFindingAggregatorOutput{} req = c.newRequest(op, input, output) return } // UpdateFindingAggregator API operation for AWS SecurityHub. // // Updates the finding aggregation configuration. Used to update the Region // linking mode and the list of included or excluded Regions. You cannot use // UpdateFindingAggregator to change the aggregation Region. // // You must run UpdateFindingAggregator from the current aggregation Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateFindingAggregator for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) UpdateFindingAggregator(input *UpdateFindingAggregatorInput) (*UpdateFindingAggregatorOutput, error) { req, out := c.UpdateFindingAggregatorRequest(input) return out, req.Send() } // UpdateFindingAggregatorWithContext is the same as UpdateFindingAggregator with the addition of // the ability to pass a context and additional request options. // // See UpdateFindingAggregator for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateFindingAggregatorWithContext(ctx aws.Context, input *UpdateFindingAggregatorInput, opts ...request.Option) (*UpdateFindingAggregatorOutput, error) { req, out := c.UpdateFindingAggregatorRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateFindings = "UpdateFindings" // UpdateFindingsRequest generates a "aws/request.Request" representing the // client's request for the UpdateFindings operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateFindings for more information on using the UpdateFindings // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateFindingsRequest method. // req, resp := client.UpdateFindingsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateFindingsRequest(input *UpdateFindingsInput) (req *request.Request, output *UpdateFindingsOutput) { op := &request.Operation{ Name: opUpdateFindings, HTTPMethod: "PATCH", HTTPPath: "/findings", } if input == nil { input = &UpdateFindingsInput{} } output = &UpdateFindingsOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UpdateFindings API operation for AWS SecurityHub. // // UpdateFindings is deprecated. Instead of UpdateFindings, use BatchUpdateFindings. // // Updates the Note and RecordState of the Security Hub-aggregated findings // that the filter attributes specify. Any member account that can view the // finding also sees the update to the finding. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateFindings for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) UpdateFindings(input *UpdateFindingsInput) (*UpdateFindingsOutput, error) { req, out := c.UpdateFindingsRequest(input) return out, req.Send() } // UpdateFindingsWithContext is the same as UpdateFindings with the addition of // the ability to pass a context and additional request options. // // See UpdateFindings for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateFindingsWithContext(ctx aws.Context, input *UpdateFindingsInput, opts ...request.Option) (*UpdateFindingsOutput, error) { req, out := c.UpdateFindingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateInsight = "UpdateInsight" // UpdateInsightRequest generates a "aws/request.Request" representing the // client's request for the UpdateInsight operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateInsight for more information on using the UpdateInsight // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateInsightRequest method. // req, resp := client.UpdateInsightRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateInsightRequest(input *UpdateInsightInput) (req *request.Request, output *UpdateInsightOutput) { op := &request.Operation{ Name: opUpdateInsight, HTTPMethod: "PATCH", HTTPPath: "/insights/{InsightArn+}", } if input == nil { input = &UpdateInsightInput{} } output = &UpdateInsightOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UpdateInsight API operation for AWS SecurityHub. // // Updates the Security Hub insight identified by the specified insight ARN. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateInsight for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // See also, path_to_url func (c *SecurityHub) UpdateInsight(input *UpdateInsightInput) (*UpdateInsightOutput, error) { req, out := c.UpdateInsightRequest(input) return out, req.Send() } // UpdateInsightWithContext is the same as UpdateInsight with the addition of // the ability to pass a context and additional request options. // // See UpdateInsight for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateInsightWithContext(ctx aws.Context, input *UpdateInsightInput, opts ...request.Option) (*UpdateInsightOutput, error) { req, out := c.UpdateInsightRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" // UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the // client's request for the UpdateOrganizationConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateOrganizationConfigurationRequest method. // req, resp := client.UpdateOrganizationConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { op := &request.Operation{ Name: opUpdateOrganizationConfiguration, HTTPMethod: "POST", HTTPPath: "/organization/configuration", } if input == nil { input = &UpdateOrganizationConfigurationInput{} } output = &UpdateOrganizationConfigurationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UpdateOrganizationConfiguration API operation for AWS SecurityHub. // // Updates the configuration of your organization in Security Hub. Only the // Security Hub administrator account can invoke this operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateOrganizationConfiguration for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - ResourceConflictException // The resource specified in the request conflicts with an existing resource. // // See also, path_to_url func (c *SecurityHub) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { req, out := c.UpdateOrganizationConfigurationRequest(input) return out, req.Send() } // UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of // the ability to pass a context and additional request options. // // See UpdateOrganizationConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error) { req, out := c.UpdateOrganizationConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateSecurityControl = "UpdateSecurityControl" // UpdateSecurityControlRequest generates a "aws/request.Request" representing the // client's request for the UpdateSecurityControl operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateSecurityControl for more information on using the UpdateSecurityControl // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateSecurityControlRequest method. // req, resp := client.UpdateSecurityControlRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateSecurityControlRequest(input *UpdateSecurityControlInput) (req *request.Request, output *UpdateSecurityControlOutput) { op := &request.Operation{ Name: opUpdateSecurityControl, HTTPMethod: "PATCH", HTTPPath: "/securityControl/update", } if input == nil { input = &UpdateSecurityControlInput{} } output = &UpdateSecurityControlOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UpdateSecurityControl API operation for AWS SecurityHub. // // Updates the properties of a security control. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateSecurityControl for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - ResourceInUseException // The request was rejected because it conflicts with the resource's availability. // For example, you tried to update a security control that's currently in the // UPDATING state. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - ResourceInUseException // The request was rejected because it conflicts with the resource's availability. // For example, you tried to update a security control that's currently in the // UPDATING state. // // See also, path_to_url func (c *SecurityHub) UpdateSecurityControl(input *UpdateSecurityControlInput) (*UpdateSecurityControlOutput, error) { req, out := c.UpdateSecurityControlRequest(input) return out, req.Send() } // UpdateSecurityControlWithContext is the same as UpdateSecurityControl with the addition of // the ability to pass a context and additional request options. // // See UpdateSecurityControl for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateSecurityControlWithContext(ctx aws.Context, input *UpdateSecurityControlInput, opts ...request.Option) (*UpdateSecurityControlOutput, error) { req, out := c.UpdateSecurityControlRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateSecurityHubConfiguration = "UpdateSecurityHubConfiguration" // UpdateSecurityHubConfigurationRequest generates a "aws/request.Request" representing the // client's request for the UpdateSecurityHubConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateSecurityHubConfiguration for more information on using the UpdateSecurityHubConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateSecurityHubConfigurationRequest method. // req, resp := client.UpdateSecurityHubConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateSecurityHubConfigurationRequest(input *UpdateSecurityHubConfigurationInput) (req *request.Request, output *UpdateSecurityHubConfigurationOutput) { op := &request.Operation{ Name: opUpdateSecurityHubConfiguration, HTTPMethod: "PATCH", HTTPPath: "/accounts", } if input == nil { input = &UpdateSecurityHubConfigurationInput{} } output = &UpdateSecurityHubConfigurationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UpdateSecurityHubConfiguration API operation for AWS SecurityHub. // // Updates configuration options for Security Hub. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateSecurityHubConfiguration for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - LimitExceededException // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) UpdateSecurityHubConfiguration(input *UpdateSecurityHubConfigurationInput) (*UpdateSecurityHubConfigurationOutput, error) { req, out := c.UpdateSecurityHubConfigurationRequest(input) return out, req.Send() } // UpdateSecurityHubConfigurationWithContext is the same as UpdateSecurityHubConfiguration with the addition of // the ability to pass a context and additional request options. // // See UpdateSecurityHubConfiguration for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateSecurityHubConfigurationWithContext(ctx aws.Context, input *UpdateSecurityHubConfigurationInput, opts ...request.Option) (*UpdateSecurityHubConfigurationOutput, error) { req, out := c.UpdateSecurityHubConfigurationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } const opUpdateStandardsControl = "UpdateStandardsControl" // UpdateStandardsControlRequest generates a "aws/request.Request" representing the // client's request for the UpdateStandardsControl operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // // See UpdateStandardsControl for more information on using the UpdateStandardsControl // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // // Example sending a request using the UpdateStandardsControlRequest method. // req, resp := client.UpdateStandardsControlRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // // See also, path_to_url func (c *SecurityHub) UpdateStandardsControlRequest(input *UpdateStandardsControlInput) (req *request.Request, output *UpdateStandardsControlOutput) { op := &request.Operation{ Name: opUpdateStandardsControl, HTTPMethod: "PATCH", HTTPPath: "/standards/control/{StandardsControlArn+}", } if input == nil { input = &UpdateStandardsControlInput{} } output = &UpdateStandardsControlOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } // UpdateStandardsControl API operation for AWS SecurityHub. // // Used to control whether an individual security standard control is enabled // or disabled. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS SecurityHub's // API operation UpdateStandardsControl for usage and error information. // // Returned Error Types: // // - InternalException // Internal server error. // // - InvalidInputException // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. // // - InvalidAccessException // The account doesn't have permission to perform this action. // // - ResourceNotFoundException // The request was rejected because we can't find the specified resource. // // - AccessDeniedException // You don't have permission to perform the action specified in the request. // // See also, path_to_url func (c *SecurityHub) UpdateStandardsControl(input *UpdateStandardsControlInput) (*UpdateStandardsControlOutput, error) { req, out := c.UpdateStandardsControlRequest(input) return out, req.Send() } // UpdateStandardsControlWithContext is the same as UpdateStandardsControl with the addition of // the ability to pass a context and additional request options. // // See UpdateStandardsControl for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See path_to_url // for more information on using Contexts. func (c *SecurityHub) UpdateStandardsControlWithContext(ctx aws.Context, input *UpdateStandardsControlInput, opts ...request.Option) (*UpdateStandardsControlOutput, error) { req, out := c.UpdateStandardsControlRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } type AcceptAdministratorInvitationInput struct { _ struct{} `type:"structure"` // The account ID of the Security Hub administrator account that sent the invitation. // // AdministratorId is a required field AdministratorId *string `type:"string" required:"true"` // The identifier of the invitation sent from the Security Hub administrator // account. // // InvitationId is a required field InvitationId *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptAdministratorInvitationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptAdministratorInvitationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AcceptAdministratorInvitationInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AcceptAdministratorInvitationInput"} if s.AdministratorId == nil { invalidParams.Add(request.NewErrParamRequired("AdministratorId")) } if s.InvitationId == nil { invalidParams.Add(request.NewErrParamRequired("InvitationId")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAdministratorId sets the AdministratorId field's value. func (s *AcceptAdministratorInvitationInput) SetAdministratorId(v string) *AcceptAdministratorInvitationInput { s.AdministratorId = &v return s } // SetInvitationId sets the InvitationId field's value. func (s *AcceptAdministratorInvitationInput) SetInvitationId(v string) *AcceptAdministratorInvitationInput { s.InvitationId = &v return s } type AcceptAdministratorInvitationOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptAdministratorInvitationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptAdministratorInvitationOutput) GoString() string { return s.String() } type AcceptInvitationInput struct { _ struct{} `type:"structure"` // The identifier of the invitation sent from the Security Hub administrator // account. // // InvitationId is a required field InvitationId *string `type:"string" required:"true"` // The account ID of the Security Hub administrator account that sent the invitation. // // MasterId is a required field MasterId *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptInvitationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptInvitationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AcceptInvitationInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AcceptInvitationInput"} if s.InvitationId == nil { invalidParams.Add(request.NewErrParamRequired("InvitationId")) } if s.MasterId == nil { invalidParams.Add(request.NewErrParamRequired("MasterId")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetInvitationId sets the InvitationId field's value. func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput { s.InvitationId = &v return s } // SetMasterId sets the MasterId field's value. func (s *AcceptInvitationInput) SetMasterId(v string) *AcceptInvitationInput { s.MasterId = &v return s } type AcceptInvitationOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptInvitationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AcceptInvitationOutput) GoString() string { return s.String() } // You don't have permission to perform the action specified in the request. type AccessDeniedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AccessDeniedException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AccessDeniedException) GoString() string { return s.String() } func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { return &AccessDeniedException{ RespMetadata: v, } } // Code returns the exception type name. func (s *AccessDeniedException) Code() string { return "AccessDeniedException" } // Message returns the exception's message. func (s *AccessDeniedException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *AccessDeniedException) OrigErr() error { return nil } func (s *AccessDeniedException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *AccessDeniedException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } // The details of an Amazon Web Services account. type AccountDetails struct { _ struct{} `type:"structure"` // The ID of an Amazon Web Services account. // // AccountId is a required field AccountId *string `type:"string" required:"true"` // The email of an Amazon Web Services account. Email *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AccountDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AccountDetails) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AccountDetails) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AccountDetails"} if s.AccountId == nil { invalidParams.Add(request.NewErrParamRequired("AccountId")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountId sets the AccountId field's value. func (s *AccountDetails) SetAccountId(v string) *AccountDetails { s.AccountId = &v return s } // SetEmail sets the Email field's value. func (s *AccountDetails) SetEmail(v string) *AccountDetails { s.Email = &v return s } // Provides details about one of the following actions that affects or that // was taken on a resource: // // - A remote IP address issued an Amazon Web Services API call // // - A DNS request was received // // - A remote IP address attempted to connect to an EC2 instance // // - A remote IP address attempted a port probe on an EC2 instance type Action struct { _ struct{} `type:"structure"` // The type of action that was detected. The possible action types are: // // * NETWORK_CONNECTION // // * AWS_API_CALL // // * DNS_REQUEST // // * PORT_PROBE ActionType *string `type:"string"` // Included if ActionType is AWS_API_CALL. Provides details about the API call // that was detected. AwsApiCallAction *AwsApiCallAction `type:"structure"` // Included if ActionType is DNS_REQUEST. Provides details about the DNS request // that was detected. DnsRequestAction *DnsRequestAction `type:"structure"` // Included if ActionType is NETWORK_CONNECTION. Provides details about the // network connection that was detected. NetworkConnectionAction *NetworkConnectionAction `type:"structure"` // Included if ActionType is PORT_PROBE. Provides details about the port probe // that was detected. PortProbeAction *PortProbeAction `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Action) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Action) GoString() string { return s.String() } // SetActionType sets the ActionType field's value. func (s *Action) SetActionType(v string) *Action { s.ActionType = &v return s } // SetAwsApiCallAction sets the AwsApiCallAction field's value. func (s *Action) SetAwsApiCallAction(v *AwsApiCallAction) *Action { s.AwsApiCallAction = v return s } // SetDnsRequestAction sets the DnsRequestAction field's value. func (s *Action) SetDnsRequestAction(v *DnsRequestAction) *Action { s.DnsRequestAction = v return s } // SetNetworkConnectionAction sets the NetworkConnectionAction field's value. func (s *Action) SetNetworkConnectionAction(v *NetworkConnectionAction) *Action { s.NetworkConnectionAction = v return s } // SetPortProbeAction sets the PortProbeAction field's value. func (s *Action) SetPortProbeAction(v *PortProbeAction) *Action { s.PortProbeAction = v return s } // Provides information about the IP address where the scanned port is located. type ActionLocalIpDetails struct { _ struct{} `type:"structure"` // The IP address. IpAddressV4 *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionLocalIpDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionLocalIpDetails) GoString() string { return s.String() } // SetIpAddressV4 sets the IpAddressV4 field's value. func (s *ActionLocalIpDetails) SetIpAddressV4(v string) *ActionLocalIpDetails { s.IpAddressV4 = &v return s } // For NetworkConnectionAction and PortProbeDetails, LocalPortDetails provides // information about the local port that was involved in the action. type ActionLocalPortDetails struct { _ struct{} `type:"structure"` // The number of the port. Port *int64 `type:"integer"` // The port name of the local connection. PortName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionLocalPortDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionLocalPortDetails) GoString() string { return s.String() } // SetPort sets the Port field's value. func (s *ActionLocalPortDetails) SetPort(v int64) *ActionLocalPortDetails { s.Port = &v return s } // SetPortName sets the PortName field's value. func (s *ActionLocalPortDetails) SetPortName(v string) *ActionLocalPortDetails { s.PortName = &v return s } // For AwsApiAction, NetworkConnectionAction, and PortProbeAction, RemoteIpDetails // provides information about the remote IP address that was involved in the // action. type ActionRemoteIpDetails struct { _ struct{} `type:"structure"` // The city where the remote IP address is located. City *City `type:"structure"` // The country where the remote IP address is located. Country *Country `type:"structure"` // The coordinates of the location of the remote IP address. GeoLocation *GeoLocation `type:"structure"` // The IP address. IpAddressV4 *string `type:"string"` // The internet service provider (ISP) organization associated with the remote // IP address. Organization *IpOrganizationDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionRemoteIpDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionRemoteIpDetails) GoString() string { return s.String() } // SetCity sets the City field's value. func (s *ActionRemoteIpDetails) SetCity(v *City) *ActionRemoteIpDetails { s.City = v return s } // SetCountry sets the Country field's value. func (s *ActionRemoteIpDetails) SetCountry(v *Country) *ActionRemoteIpDetails { s.Country = v return s } // SetGeoLocation sets the GeoLocation field's value. func (s *ActionRemoteIpDetails) SetGeoLocation(v *GeoLocation) *ActionRemoteIpDetails { s.GeoLocation = v return s } // SetIpAddressV4 sets the IpAddressV4 field's value. func (s *ActionRemoteIpDetails) SetIpAddressV4(v string) *ActionRemoteIpDetails { s.IpAddressV4 = &v return s } // SetOrganization sets the Organization field's value. func (s *ActionRemoteIpDetails) SetOrganization(v *IpOrganizationDetails) *ActionRemoteIpDetails { s.Organization = v return s } // Provides information about the remote port that was involved in an attempted // network connection. type ActionRemotePortDetails struct { _ struct{} `type:"structure"` // The number of the port. Port *int64 `type:"integer"` // The port name of the remote connection. PortName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionRemotePortDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionRemotePortDetails) GoString() string { return s.String() } // SetPort sets the Port field's value. func (s *ActionRemotePortDetails) SetPort(v int64) *ActionRemotePortDetails { s.Port = &v return s } // SetPortName sets the PortName field's value. func (s *ActionRemotePortDetails) SetPortName(v string) *ActionRemotePortDetails { s.PortName = &v return s } // An ActionTarget object. type ActionTarget struct { _ struct{} `type:"structure"` // The ARN for the target action. // // ActionTargetArn is a required field ActionTargetArn *string `type:"string" required:"true"` // The description of the target action. // // Description is a required field Description *string `type:"string" required:"true"` // The name of the action target. // // Name is a required field Name *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionTarget) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ActionTarget) GoString() string { return s.String() } // SetActionTargetArn sets the ActionTargetArn field's value. func (s *ActionTarget) SetActionTargetArn(v string) *ActionTarget { s.ActionTargetArn = &v return s } // SetDescription sets the Description field's value. func (s *ActionTarget) SetDescription(v string) *ActionTarget { s.Description = &v return s } // SetName sets the Name field's value. func (s *ActionTarget) SetName(v string) *ActionTarget { s.Name = &v return s } // An adjustment to the CVSS metric. type Adjustment struct { _ struct{} `type:"structure"` // The metric to adjust. Metric *string `type:"string"` // The reason for the adjustment. Reason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Adjustment) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Adjustment) GoString() string { return s.String() } // SetMetric sets the Metric field's value. func (s *Adjustment) SetMetric(v string) *Adjustment { s.Metric = &v return s } // SetReason sets the Reason field's value. func (s *Adjustment) SetReason(v string) *Adjustment { s.Reason = &v return s } // Represents a Security Hub administrator account designated by an organization // management account. type AdminAccount struct { _ struct{} `type:"structure"` // The Amazon Web Services account identifier of the Security Hub administrator // account. AccountId *string `type:"string"` // The current status of the Security Hub administrator account. Indicates whether // the account is currently enabled as a Security Hub administrator. Status *string `type:"string" enum:"AdminStatus"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AdminAccount) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AdminAccount) GoString() string { return s.String() } // SetAccountId sets the AccountId field's value. func (s *AdminAccount) SetAccountId(v string) *AdminAccount { s.AccountId = &v return s } // SetStatus sets the Status field's value. func (s *AdminAccount) SetStatus(v string) *AdminAccount { s.Status = &v return s } // Information about an enabled security standard in which a security control // is enabled. type AssociatedStandard struct { _ struct{} `type:"structure"` // The unique identifier of a standard in which a control is enabled. This field // consists of the resource portion of the Amazon Resource Name (ARN) returned // for a standard in the DescribeStandards (path_to_url // API response. StandardsId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociatedStandard) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociatedStandard) GoString() string { return s.String() } // SetStandardsId sets the StandardsId field's value. func (s *AssociatedStandard) SetStandardsId(v string) *AssociatedStandard { s.StandardsId = &v return s } // Options for filtering the ListConfigurationPolicyAssociations response. You // can filter by the Amazon Resource Name (ARN) or universally unique identifier // (UUID) of a configuration policy, AssociationType, or AssociationStatus. type AssociationFilters struct { _ struct{} `type:"structure"` // The current status of the association between a target and a configuration // policy. AssociationStatus *string `type:"string" enum:"ConfigurationPolicyAssociationStatus"` // Indicates whether the association between a target and a configuration was // directly applied by the Security Hub delegated administrator or inherited // from a parent. AssociationType *string `type:"string" enum:"AssociationType"` // The ARN or UUID of the configuration policy. ConfigurationPolicyId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociationFilters) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociationFilters) GoString() string { return s.String() } // SetAssociationStatus sets the AssociationStatus field's value. func (s *AssociationFilters) SetAssociationStatus(v string) *AssociationFilters { s.AssociationStatus = &v return s } // SetAssociationType sets the AssociationType field's value. func (s *AssociationFilters) SetAssociationType(v string) *AssociationFilters { s.AssociationType = &v return s } // SetConfigurationPolicyId sets the ConfigurationPolicyId field's value. func (s *AssociationFilters) SetConfigurationPolicyId(v string) *AssociationFilters { s.ConfigurationPolicyId = &v return s } // The associations between a route table and one or more subnets or a gateway. type AssociationSetDetails struct { _ struct{} `type:"structure"` // The state of the association between a route table and a subnet or gateway. AssociationState *AssociationStateDetails `type:"structure"` // The ID of the internet gateway or virtual private gateway. GatewayId *string `type:"string"` // Indicates whether this is the main route table. Main *bool `type:"boolean"` // The ID of the association. RouteTableAssociationId *string `type:"string"` // The ID of the route table. RouteTableId *string `type:"string"` // The ID of the subnet. A subnet ID is not returned for an implicit association. SubnetId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociationSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociationSetDetails) GoString() string { return s.String() } // SetAssociationState sets the AssociationState field's value. func (s *AssociationSetDetails) SetAssociationState(v *AssociationStateDetails) *AssociationSetDetails { s.AssociationState = v return s } // SetGatewayId sets the GatewayId field's value. func (s *AssociationSetDetails) SetGatewayId(v string) *AssociationSetDetails { s.GatewayId = &v return s } // SetMain sets the Main field's value. func (s *AssociationSetDetails) SetMain(v bool) *AssociationSetDetails { s.Main = &v return s } // SetRouteTableAssociationId sets the RouteTableAssociationId field's value. func (s *AssociationSetDetails) SetRouteTableAssociationId(v string) *AssociationSetDetails { s.RouteTableAssociationId = &v return s } // SetRouteTableId sets the RouteTableId field's value. func (s *AssociationSetDetails) SetRouteTableId(v string) *AssociationSetDetails { s.RouteTableId = &v return s } // SetSubnetId sets the SubnetId field's value. func (s *AssociationSetDetails) SetSubnetId(v string) *AssociationSetDetails { s.SubnetId = &v return s } // Describes the state of an association between a route table and a subnet // or gateway. type AssociationStateDetails struct { _ struct{} `type:"structure"` // The state of the association. State *string `type:"string"` // The status message, if applicable. StatusMessage *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociationStateDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AssociationStateDetails) GoString() string { return s.String() } // SetState sets the State field's value. func (s *AssociationStateDetails) SetState(v string) *AssociationStateDetails { s.State = &v return s } // SetStatusMessage sets the StatusMessage field's value. func (s *AssociationStateDetails) SetStatusMessage(v string) *AssociationStateDetails { s.StatusMessage = &v return s } // One or more actions to update finding fields if a finding matches the defined // criteria of the rule. type AutomationRulesAction struct { _ struct{} `type:"structure"` // Specifies that the automation rule action is an update to a finding field. FindingFieldsUpdate *AutomationRulesFindingFieldsUpdate `type:"structure"` // Specifies that the rule action should update the Types finding field. The // Types finding field classifies findings in the format of namespace/category/classifier. // For more information, see Types taxonomy for ASFF (path_to_url // in the Security Hub User Guide. Type *string `type:"string" enum:"AutomationRulesActionType"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesAction) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AutomationRulesAction) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AutomationRulesAction"} if s.FindingFieldsUpdate != nil { if err := s.FindingFieldsUpdate.Validate(); err != nil { invalidParams.AddNested("FindingFieldsUpdate", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFindingFieldsUpdate sets the FindingFieldsUpdate field's value. func (s *AutomationRulesAction) SetFindingFieldsUpdate(v *AutomationRulesFindingFieldsUpdate) *AutomationRulesAction { s.FindingFieldsUpdate = v return s } // SetType sets the Type field's value. func (s *AutomationRulesAction) SetType(v string) *AutomationRulesAction { s.Type = &v return s } // Defines the configuration of an automation rule. type AutomationRulesConfig struct { _ struct{} `type:"structure"` // One or more actions to update finding fields if a finding matches the defined // criteria of the rule. Actions []*AutomationRulesAction `min:"1" type:"list"` // A timestamp that indicates when the rule was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The principal that created a rule. CreatedBy *string `type:"string"` // A set of Amazon Web Services Security Finding Format (path_to_url // finding field attributes and corresponding expected values that Security // Hub uses to filter findings. If a rule is enabled and a finding matches the // conditions specified in this parameter, Security Hub applies the rule action // to the finding. Criteria *AutomationRulesFindingFilters `type:"structure"` // A description of the rule. Description *string `type:"string"` // Specifies whether a rule is the last to be applied with respect to a finding // that matches the rule criteria. This is useful when a finding matches the // criteria for multiple rules, and each rule has different actions. If a rule // is terminal, Security Hub applies the rule action to a finding that matches // the rule criteria and doesn't evaluate other rules for the finding. By default, // a rule isn't terminal. IsTerminal *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a rule. RuleArn *string `type:"string"` // The name of the rule. RuleName *string `type:"string"` // An integer ranging from 1 to 1000 that represents the order in which the // rule action is applied to findings. Security Hub applies rules with lower // values for this parameter first. RuleOrder *int64 `min:"1" type:"integer"` // Whether the rule is active after it is created. If this parameter is equal // to ENABLED, Security Hub starts applying the rule to findings and finding // updates after the rule is created. RuleStatus *string `type:"string" enum:"RuleStatus"` // A timestamp that indicates when the rule was most recently updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesConfig) GoString() string { return s.String() } // SetActions sets the Actions field's value. func (s *AutomationRulesConfig) SetActions(v []*AutomationRulesAction) *AutomationRulesConfig { s.Actions = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AutomationRulesConfig) SetCreatedAt(v time.Time) *AutomationRulesConfig { s.CreatedAt = &v return s } // SetCreatedBy sets the CreatedBy field's value. func (s *AutomationRulesConfig) SetCreatedBy(v string) *AutomationRulesConfig { s.CreatedBy = &v return s } // SetCriteria sets the Criteria field's value. func (s *AutomationRulesConfig) SetCriteria(v *AutomationRulesFindingFilters) *AutomationRulesConfig { s.Criteria = v return s } // SetDescription sets the Description field's value. func (s *AutomationRulesConfig) SetDescription(v string) *AutomationRulesConfig { s.Description = &v return s } // SetIsTerminal sets the IsTerminal field's value. func (s *AutomationRulesConfig) SetIsTerminal(v bool) *AutomationRulesConfig { s.IsTerminal = &v return s } // SetRuleArn sets the RuleArn field's value. func (s *AutomationRulesConfig) SetRuleArn(v string) *AutomationRulesConfig { s.RuleArn = &v return s } // SetRuleName sets the RuleName field's value. func (s *AutomationRulesConfig) SetRuleName(v string) *AutomationRulesConfig { s.RuleName = &v return s } // SetRuleOrder sets the RuleOrder field's value. func (s *AutomationRulesConfig) SetRuleOrder(v int64) *AutomationRulesConfig { s.RuleOrder = &v return s } // SetRuleStatus sets the RuleStatus field's value. func (s *AutomationRulesConfig) SetRuleStatus(v string) *AutomationRulesConfig { s.RuleStatus = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *AutomationRulesConfig) SetUpdatedAt(v time.Time) *AutomationRulesConfig { s.UpdatedAt = &v return s } // Identifies the finding fields that the automation rule action updates when // a finding matches the defined criteria. type AutomationRulesFindingFieldsUpdate struct { _ struct{} `type:"structure"` // The rule action updates the Confidence field of a finding. Confidence *int64 `type:"integer"` // The rule action updates the Criticality field of a finding. Criticality *int64 `type:"integer"` // The updated note. Note *NoteUpdate `type:"structure"` // The rule action updates the RelatedFindings field of a finding. RelatedFindings []*RelatedFinding `type:"list"` // Updates to the severity information for a finding. Severity *SeverityUpdate `type:"structure"` // The rule action updates the Types field of a finding. Types []*string `type:"list"` // The rule action updates the UserDefinedFields field of a finding. UserDefinedFields map[string]*string `type:"map"` // The rule action updates the VerificationState field of a finding. VerificationState *string `type:"string" enum:"VerificationState"` // Used to update information about the investigation into the finding. Workflow *WorkflowUpdate `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesFindingFieldsUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesFindingFieldsUpdate) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AutomationRulesFindingFieldsUpdate) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AutomationRulesFindingFieldsUpdate"} if s.Note != nil { if err := s.Note.Validate(); err != nil { invalidParams.AddNested("Note", err.(request.ErrInvalidParams)) } } if s.RelatedFindings != nil { for i, v := range s.RelatedFindings { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RelatedFindings", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfidence sets the Confidence field's value. func (s *AutomationRulesFindingFieldsUpdate) SetConfidence(v int64) *AutomationRulesFindingFieldsUpdate { s.Confidence = &v return s } // SetCriticality sets the Criticality field's value. func (s *AutomationRulesFindingFieldsUpdate) SetCriticality(v int64) *AutomationRulesFindingFieldsUpdate { s.Criticality = &v return s } // SetNote sets the Note field's value. func (s *AutomationRulesFindingFieldsUpdate) SetNote(v *NoteUpdate) *AutomationRulesFindingFieldsUpdate { s.Note = v return s } // SetRelatedFindings sets the RelatedFindings field's value. func (s *AutomationRulesFindingFieldsUpdate) SetRelatedFindings(v []*RelatedFinding) *AutomationRulesFindingFieldsUpdate { s.RelatedFindings = v return s } // SetSeverity sets the Severity field's value. func (s *AutomationRulesFindingFieldsUpdate) SetSeverity(v *SeverityUpdate) *AutomationRulesFindingFieldsUpdate { s.Severity = v return s } // SetTypes sets the Types field's value. func (s *AutomationRulesFindingFieldsUpdate) SetTypes(v []*string) *AutomationRulesFindingFieldsUpdate { s.Types = v return s } // SetUserDefinedFields sets the UserDefinedFields field's value. func (s *AutomationRulesFindingFieldsUpdate) SetUserDefinedFields(v map[string]*string) *AutomationRulesFindingFieldsUpdate { s.UserDefinedFields = v return s } // SetVerificationState sets the VerificationState field's value. func (s *AutomationRulesFindingFieldsUpdate) SetVerificationState(v string) *AutomationRulesFindingFieldsUpdate { s.VerificationState = &v return s } // SetWorkflow sets the Workflow field's value. func (s *AutomationRulesFindingFieldsUpdate) SetWorkflow(v *WorkflowUpdate) *AutomationRulesFindingFieldsUpdate { s.Workflow = v return s } // The criteria that determine which findings a rule applies to. type AutomationRulesFindingFilters struct { _ struct{} `type:"structure"` // The Amazon Web Services account ID in which a finding was generated. // // Array Members: Minimum number of 1 item. Maximum number of 100 items. AwsAccountId []*StringFilter `type:"list"` // The name of the Amazon Web Services account in which a finding was generated. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. AwsAccountName []*StringFilter `type:"list"` // The name of the company for the product that generated the finding. For control-based // findings, the company is Amazon Web Services. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. CompanyName []*StringFilter `type:"list"` // The unique identifier of a standard in which a control is enabled. This field // consists of the resource portion of the Amazon Resource Name (ARN) returned // for a standard in the DescribeStandards (path_to_url // API response. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ComplianceAssociatedStandardsId []*StringFilter `type:"list"` // The security control ID for which a finding was generated. Security control // IDs are the same across standards. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ComplianceSecurityControlId []*StringFilter `type:"list"` // The result of a security check. This field is only used for findings generated // from controls. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ComplianceStatus []*StringFilter `type:"list"` // The likelihood that a finding accurately identifies the behavior or issue // that it was intended to identify. Confidence is scored on a 0100 basis // using a ratio scale. A value of 0 means 0 percent confidence, and a value // of 100 means 100 percent confidence. For example, a data exfiltration detection // based on a statistical deviation of network traffic has low confidence because // an actual exfiltration hasn't been verified. For more information, see Confidence // (path_to_url#asff-confidence) // in the Security Hub User Guide. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. Confidence []*NumberFilter `type:"list"` // A timestamp that indicates when this finding record was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // Array Members: Minimum number of 1 item. Maximum number of 20 items. CreatedAt []*DateFilter `type:"list"` // The level of importance that is assigned to the resources that are associated // with a finding. Criticality is scored on a 0100 basis, using a ratio scale // that supports only full integers. A score of 0 means that the underlying // resources have no criticality, and a score of 100 is reserved for the most // critical resources. For more information, see Criticality (path_to_url#asff-criticality) // in the Security Hub User Guide. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. Criticality []*NumberFilter `type:"list"` // A finding's description. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. Description []*StringFilter `type:"list"` // A timestamp that indicates when the potential security issue captured by // a finding was first observed by the security findings product. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // Array Members: Minimum number of 1 item. Maximum number of 20 items. FirstObservedAt []*DateFilter `type:"list"` // The identifier for the solution-specific component that generated a finding. // // Array Members: Minimum number of 1 item. Maximum number of 100 items. GeneratorId []*StringFilter `type:"list"` // The product-specific identifier for a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. Id []*StringFilter `type:"list"` // A timestamp that indicates when the potential security issue captured by // a finding was most recently observed by the security findings product. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // Array Members: Minimum number of 1 item. Maximum number of 20 items. LastObservedAt []*DateFilter `type:"list"` // The text of a user-defined note that's added to a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. NoteText []*StringFilter `type:"list"` // The timestamp of when the note was updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // Array Members: Minimum number of 1 item. Maximum number of 20 items. NoteUpdatedAt []*DateFilter `type:"list"` // The principal that created a note. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. NoteUpdatedBy []*StringFilter `type:"list"` // The Amazon Resource Name (ARN) for a third-party product that generated a // finding in Security Hub. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ProductArn []*StringFilter `type:"list"` // Provides the name of the product that generated the finding. For control-based // findings, the product name is Security Hub. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ProductName []*StringFilter `type:"list"` // Provides the current state of a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. RecordState []*StringFilter `type:"list"` // The product-generated identifier for a related finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. RelatedFindingsId []*StringFilter `type:"list"` // The ARN for the product that generated a related finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. RelatedFindingsProductArn []*StringFilter `type:"list"` // The Amazon Resource Name (ARN) of the application that is related to a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceApplicationArn []*StringFilter `type:"list"` // The name of the application that is related to a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceApplicationName []*StringFilter `type:"list"` // Custom fields and values about the resource that a finding pertains to. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceDetailsOther []*MapFilter `type:"list"` // The identifier for the given resource type. For Amazon Web Services resources // that are identified by Amazon Resource Names (ARNs), this is the ARN. For // Amazon Web Services resources that lack ARNs, this is the identifier as defined // by the Amazon Web Service that created the resource. For non-Amazon Web Services // resources, this is a unique identifier that is associated with the resource. // // Array Members: Minimum number of 1 item. Maximum number of 100 items. ResourceId []*StringFilter `type:"list"` // The partition in which the resource that the finding pertains to is located. // A partition is a group of Amazon Web Services Regions. Each Amazon Web Services // account is scoped to one partition. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourcePartition []*StringFilter `type:"list"` // The Amazon Web Services Region where the resource that a finding pertains // to is located. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceRegion []*StringFilter `type:"list"` // A list of Amazon Web Services tags associated with a resource at the time // the finding was processed. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceTags []*MapFilter `type:"list"` // The type of resource that the finding pertains to. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. ResourceType []*StringFilter `type:"list"` // The severity value of the finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. SeverityLabel []*StringFilter `type:"list"` // Provides a URL that links to a page about the current finding in the finding // product. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. SourceUrl []*StringFilter `type:"list"` // A finding's title. // // Array Members: Minimum number of 1 item. Maximum number of 100 items. Title []*StringFilter `type:"list"` // One or more finding types in the format of namespace/category/classifier // that classify a finding. For a list of namespaces, classifiers, and categories, // see Types taxonomy for ASFF (path_to_url // in the Security Hub User Guide. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. Type []*StringFilter `type:"list"` // A timestamp that indicates when the finding record was most recently updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // Array Members: Minimum number of 1 item. Maximum number of 20 items. UpdatedAt []*DateFilter `type:"list"` // A list of user-defined name and value string pairs added to a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. UserDefinedFields []*MapFilter `type:"list"` // Provides the veracity of a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. VerificationState []*StringFilter `type:"list"` // Provides information about the status of the investigation into a finding. // // Array Members: Minimum number of 1 item. Maximum number of 20 items. WorkflowStatus []*StringFilter `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesFindingFilters) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesFindingFilters) GoString() string { return s.String() } // SetAwsAccountId sets the AwsAccountId field's value. func (s *AutomationRulesFindingFilters) SetAwsAccountId(v []*StringFilter) *AutomationRulesFindingFilters { s.AwsAccountId = v return s } // SetAwsAccountName sets the AwsAccountName field's value. func (s *AutomationRulesFindingFilters) SetAwsAccountName(v []*StringFilter) *AutomationRulesFindingFilters { s.AwsAccountName = v return s } // SetCompanyName sets the CompanyName field's value. func (s *AutomationRulesFindingFilters) SetCompanyName(v []*StringFilter) *AutomationRulesFindingFilters { s.CompanyName = v return s } // SetComplianceAssociatedStandardsId sets the ComplianceAssociatedStandardsId field's value. func (s *AutomationRulesFindingFilters) SetComplianceAssociatedStandardsId(v []*StringFilter) *AutomationRulesFindingFilters { s.ComplianceAssociatedStandardsId = v return s } // SetComplianceSecurityControlId sets the ComplianceSecurityControlId field's value. func (s *AutomationRulesFindingFilters) SetComplianceSecurityControlId(v []*StringFilter) *AutomationRulesFindingFilters { s.ComplianceSecurityControlId = v return s } // SetComplianceStatus sets the ComplianceStatus field's value. func (s *AutomationRulesFindingFilters) SetComplianceStatus(v []*StringFilter) *AutomationRulesFindingFilters { s.ComplianceStatus = v return s } // SetConfidence sets the Confidence field's value. func (s *AutomationRulesFindingFilters) SetConfidence(v []*NumberFilter) *AutomationRulesFindingFilters { s.Confidence = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AutomationRulesFindingFilters) SetCreatedAt(v []*DateFilter) *AutomationRulesFindingFilters { s.CreatedAt = v return s } // SetCriticality sets the Criticality field's value. func (s *AutomationRulesFindingFilters) SetCriticality(v []*NumberFilter) *AutomationRulesFindingFilters { s.Criticality = v return s } // SetDescription sets the Description field's value. func (s *AutomationRulesFindingFilters) SetDescription(v []*StringFilter) *AutomationRulesFindingFilters { s.Description = v return s } // SetFirstObservedAt sets the FirstObservedAt field's value. func (s *AutomationRulesFindingFilters) SetFirstObservedAt(v []*DateFilter) *AutomationRulesFindingFilters { s.FirstObservedAt = v return s } // SetGeneratorId sets the GeneratorId field's value. func (s *AutomationRulesFindingFilters) SetGeneratorId(v []*StringFilter) *AutomationRulesFindingFilters { s.GeneratorId = v return s } // SetId sets the Id field's value. func (s *AutomationRulesFindingFilters) SetId(v []*StringFilter) *AutomationRulesFindingFilters { s.Id = v return s } // SetLastObservedAt sets the LastObservedAt field's value. func (s *AutomationRulesFindingFilters) SetLastObservedAt(v []*DateFilter) *AutomationRulesFindingFilters { s.LastObservedAt = v return s } // SetNoteText sets the NoteText field's value. func (s *AutomationRulesFindingFilters) SetNoteText(v []*StringFilter) *AutomationRulesFindingFilters { s.NoteText = v return s } // SetNoteUpdatedAt sets the NoteUpdatedAt field's value. func (s *AutomationRulesFindingFilters) SetNoteUpdatedAt(v []*DateFilter) *AutomationRulesFindingFilters { s.NoteUpdatedAt = v return s } // SetNoteUpdatedBy sets the NoteUpdatedBy field's value. func (s *AutomationRulesFindingFilters) SetNoteUpdatedBy(v []*StringFilter) *AutomationRulesFindingFilters { s.NoteUpdatedBy = v return s } // SetProductArn sets the ProductArn field's value. func (s *AutomationRulesFindingFilters) SetProductArn(v []*StringFilter) *AutomationRulesFindingFilters { s.ProductArn = v return s } // SetProductName sets the ProductName field's value. func (s *AutomationRulesFindingFilters) SetProductName(v []*StringFilter) *AutomationRulesFindingFilters { s.ProductName = v return s } // SetRecordState sets the RecordState field's value. func (s *AutomationRulesFindingFilters) SetRecordState(v []*StringFilter) *AutomationRulesFindingFilters { s.RecordState = v return s } // SetRelatedFindingsId sets the RelatedFindingsId field's value. func (s *AutomationRulesFindingFilters) SetRelatedFindingsId(v []*StringFilter) *AutomationRulesFindingFilters { s.RelatedFindingsId = v return s } // SetRelatedFindingsProductArn sets the RelatedFindingsProductArn field's value. func (s *AutomationRulesFindingFilters) SetRelatedFindingsProductArn(v []*StringFilter) *AutomationRulesFindingFilters { s.RelatedFindingsProductArn = v return s } // SetResourceApplicationArn sets the ResourceApplicationArn field's value. func (s *AutomationRulesFindingFilters) SetResourceApplicationArn(v []*StringFilter) *AutomationRulesFindingFilters { s.ResourceApplicationArn = v return s } // SetResourceApplicationName sets the ResourceApplicationName field's value. func (s *AutomationRulesFindingFilters) SetResourceApplicationName(v []*StringFilter) *AutomationRulesFindingFilters { s.ResourceApplicationName = v return s } // SetResourceDetailsOther sets the ResourceDetailsOther field's value. func (s *AutomationRulesFindingFilters) SetResourceDetailsOther(v []*MapFilter) *AutomationRulesFindingFilters { s.ResourceDetailsOther = v return s } // SetResourceId sets the ResourceId field's value. func (s *AutomationRulesFindingFilters) SetResourceId(v []*StringFilter) *AutomationRulesFindingFilters { s.ResourceId = v return s } // SetResourcePartition sets the ResourcePartition field's value. func (s *AutomationRulesFindingFilters) SetResourcePartition(v []*StringFilter) *AutomationRulesFindingFilters { s.ResourcePartition = v return s } // SetResourceRegion sets the ResourceRegion field's value. func (s *AutomationRulesFindingFilters) SetResourceRegion(v []*StringFilter) *AutomationRulesFindingFilters { s.ResourceRegion = v return s } // SetResourceTags sets the ResourceTags field's value. func (s *AutomationRulesFindingFilters) SetResourceTags(v []*MapFilter) *AutomationRulesFindingFilters { s.ResourceTags = v return s } // SetResourceType sets the ResourceType field's value. func (s *AutomationRulesFindingFilters) SetResourceType(v []*StringFilter) *AutomationRulesFindingFilters { s.ResourceType = v return s } // SetSeverityLabel sets the SeverityLabel field's value. func (s *AutomationRulesFindingFilters) SetSeverityLabel(v []*StringFilter) *AutomationRulesFindingFilters { s.SeverityLabel = v return s } // SetSourceUrl sets the SourceUrl field's value. func (s *AutomationRulesFindingFilters) SetSourceUrl(v []*StringFilter) *AutomationRulesFindingFilters { s.SourceUrl = v return s } // SetTitle sets the Title field's value. func (s *AutomationRulesFindingFilters) SetTitle(v []*StringFilter) *AutomationRulesFindingFilters { s.Title = v return s } // SetType sets the Type field's value. func (s *AutomationRulesFindingFilters) SetType(v []*StringFilter) *AutomationRulesFindingFilters { s.Type = v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *AutomationRulesFindingFilters) SetUpdatedAt(v []*DateFilter) *AutomationRulesFindingFilters { s.UpdatedAt = v return s } // SetUserDefinedFields sets the UserDefinedFields field's value. func (s *AutomationRulesFindingFilters) SetUserDefinedFields(v []*MapFilter) *AutomationRulesFindingFilters { s.UserDefinedFields = v return s } // SetVerificationState sets the VerificationState field's value. func (s *AutomationRulesFindingFilters) SetVerificationState(v []*StringFilter) *AutomationRulesFindingFilters { s.VerificationState = v return s } // SetWorkflowStatus sets the WorkflowStatus field's value. func (s *AutomationRulesFindingFilters) SetWorkflowStatus(v []*StringFilter) *AutomationRulesFindingFilters { s.WorkflowStatus = v return s } // Metadata for automation rules in the calling account. The response includes // rules with a RuleStatus of ENABLED and DISABLED. type AutomationRulesMetadata struct { _ struct{} `type:"structure"` // A timestamp that indicates when the rule was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The principal that created a rule. CreatedBy *string `type:"string"` // A description of the rule. Description *string `type:"string"` // Specifies whether a rule is the last to be applied with respect to a finding // that matches the rule criteria. This is useful when a finding matches the // criteria for multiple rules, and each rule has different actions. If a rule // is terminal, Security Hub applies the rule action to a finding that matches // the rule criteria and doesn't evaluate other rules for the finding. By default, // a rule isn't terminal. IsTerminal *bool `type:"boolean"` // The Amazon Resource Name (ARN) for the rule. RuleArn *string `type:"string"` // The name of the rule. RuleName *string `type:"string"` // An integer ranging from 1 to 1000 that represents the order in which the // rule action is applied to findings. Security Hub applies rules with lower // values for this parameter first. RuleOrder *int64 `min:"1" type:"integer"` // Whether the rule is active after it is created. If this parameter is equal // to ENABLED, Security Hub starts applying the rule to findings and finding // updates after the rule is created. To change the value of this parameter // after creating a rule, use BatchUpdateAutomationRules (path_to_url RuleStatus *string `type:"string" enum:"RuleStatus"` // A timestamp that indicates when the rule was most recently updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesMetadata) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AutomationRulesMetadata) GoString() string { return s.String() } // SetCreatedAt sets the CreatedAt field's value. func (s *AutomationRulesMetadata) SetCreatedAt(v time.Time) *AutomationRulesMetadata { s.CreatedAt = &v return s } // SetCreatedBy sets the CreatedBy field's value. func (s *AutomationRulesMetadata) SetCreatedBy(v string) *AutomationRulesMetadata { s.CreatedBy = &v return s } // SetDescription sets the Description field's value. func (s *AutomationRulesMetadata) SetDescription(v string) *AutomationRulesMetadata { s.Description = &v return s } // SetIsTerminal sets the IsTerminal field's value. func (s *AutomationRulesMetadata) SetIsTerminal(v bool) *AutomationRulesMetadata { s.IsTerminal = &v return s } // SetRuleArn sets the RuleArn field's value. func (s *AutomationRulesMetadata) SetRuleArn(v string) *AutomationRulesMetadata { s.RuleArn = &v return s } // SetRuleName sets the RuleName field's value. func (s *AutomationRulesMetadata) SetRuleName(v string) *AutomationRulesMetadata { s.RuleName = &v return s } // SetRuleOrder sets the RuleOrder field's value. func (s *AutomationRulesMetadata) SetRuleOrder(v int64) *AutomationRulesMetadata { s.RuleOrder = &v return s } // SetRuleStatus sets the RuleStatus field's value. func (s *AutomationRulesMetadata) SetRuleStatus(v string) *AutomationRulesMetadata { s.RuleStatus = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *AutomationRulesMetadata) SetUpdatedAt(v time.Time) *AutomationRulesMetadata { s.UpdatedAt = &v return s } // Information about an Availability Zone. type AvailabilityZone struct { _ struct{} `type:"structure"` // The ID of the subnet. You can specify one subnet per Availability Zone. SubnetId *string `type:"string"` // The name of the Availability Zone. ZoneName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AvailabilityZone) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AvailabilityZone) GoString() string { return s.String() } // SetSubnetId sets the SubnetId field's value. func (s *AvailabilityZone) SetSubnetId(v string) *AvailabilityZone { s.SubnetId = &v return s } // SetZoneName sets the ZoneName field's value. func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { s.ZoneName = &v return s } // Provides details about an Amazon MQ message broker. A message broker allows // software applications and components to communicate using various programming // languages, operating systems, and formal messaging protocols. type AwsAmazonMqBrokerDetails struct { _ struct{} `type:"structure"` // The authentication strategy used to secure the broker. The default is SIMPLE. AuthenticationStrategy *string `type:"string"` // Whether automatically upgrade new minor versions for brokers, as new versions // are released and supported by Amazon MQ. Automatic upgrades occur during // the scheduled maintenance window of the broker or after a manual broker reboot. AutoMinorVersionUpgrade *bool `type:"boolean"` // The Amazon Resource Name (ARN) of the broker. BrokerArn *string `type:"string"` // The unique ID that Amazon MQ generates for the broker. BrokerId *string `type:"string"` // The broker's name. BrokerName *string `type:"string"` // The broker's deployment mode. DeploymentMode *string `type:"string"` // Encryption options for the broker. Doesnt apply to RabbitMQ brokers. EncryptionOptions *AwsAmazonMqBrokerEncryptionOptionsDetails `type:"structure"` // The type of broker engine. EngineType *string `type:"string"` // The version of the broker engine. EngineVersion *string `type:"string"` // The broker's instance type. HostInstanceType *string `type:"string"` // The metadata of the Lightweight Directory Access Protocol (LDAP) server used // to authenticate and authorize connections to the broker. This is an optional // failover server. LdapServerMetadata *AwsAmazonMqBrokerLdapServerMetadataDetails `type:"structure"` // Turns on Amazon CloudWatch logging for brokers. Logs *AwsAmazonMqBrokerLogsDetails `type:"structure"` // The scheduled time period (UTC) during which Amazon MQ begins to apply pending // updates or patches to the broker. MaintenanceWindowStartTime *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails `type:"structure"` // Permits connections from applications outside of the VPC that hosts the broker's // subnets. PubliclyAccessible *bool `type:"boolean"` // The list of rules (one minimum, 125 maximum) that authorize connections to // brokers. SecurityGroups []*string `type:"list"` // The broker's storage type. StorageType *string `type:"string"` // The list of groups that define which subnets and IP ranges the broker can // use from different Availability Zones. SubnetIds []*string `type:"list"` // The list of all broker usernames for the specified broker. Doesn't apply // to RabbitMQ brokers. Users []*AwsAmazonMqBrokerUsersDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerDetails) GoString() string { return s.String() } // SetAuthenticationStrategy sets the AuthenticationStrategy field's value. func (s *AwsAmazonMqBrokerDetails) SetAuthenticationStrategy(v string) *AwsAmazonMqBrokerDetails { s.AuthenticationStrategy = &v return s } // SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. func (s *AwsAmazonMqBrokerDetails) SetAutoMinorVersionUpgrade(v bool) *AwsAmazonMqBrokerDetails { s.AutoMinorVersionUpgrade = &v return s } // SetBrokerArn sets the BrokerArn field's value. func (s *AwsAmazonMqBrokerDetails) SetBrokerArn(v string) *AwsAmazonMqBrokerDetails { s.BrokerArn = &v return s } // SetBrokerId sets the BrokerId field's value. func (s *AwsAmazonMqBrokerDetails) SetBrokerId(v string) *AwsAmazonMqBrokerDetails { s.BrokerId = &v return s } // SetBrokerName sets the BrokerName field's value. func (s *AwsAmazonMqBrokerDetails) SetBrokerName(v string) *AwsAmazonMqBrokerDetails { s.BrokerName = &v return s } // SetDeploymentMode sets the DeploymentMode field's value. func (s *AwsAmazonMqBrokerDetails) SetDeploymentMode(v string) *AwsAmazonMqBrokerDetails { s.DeploymentMode = &v return s } // SetEncryptionOptions sets the EncryptionOptions field's value. func (s *AwsAmazonMqBrokerDetails) SetEncryptionOptions(v *AwsAmazonMqBrokerEncryptionOptionsDetails) *AwsAmazonMqBrokerDetails { s.EncryptionOptions = v return s } // SetEngineType sets the EngineType field's value. func (s *AwsAmazonMqBrokerDetails) SetEngineType(v string) *AwsAmazonMqBrokerDetails { s.EngineType = &v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsAmazonMqBrokerDetails) SetEngineVersion(v string) *AwsAmazonMqBrokerDetails { s.EngineVersion = &v return s } // SetHostInstanceType sets the HostInstanceType field's value. func (s *AwsAmazonMqBrokerDetails) SetHostInstanceType(v string) *AwsAmazonMqBrokerDetails { s.HostInstanceType = &v return s } // SetLdapServerMetadata sets the LdapServerMetadata field's value. func (s *AwsAmazonMqBrokerDetails) SetLdapServerMetadata(v *AwsAmazonMqBrokerLdapServerMetadataDetails) *AwsAmazonMqBrokerDetails { s.LdapServerMetadata = v return s } // SetLogs sets the Logs field's value. func (s *AwsAmazonMqBrokerDetails) SetLogs(v *AwsAmazonMqBrokerLogsDetails) *AwsAmazonMqBrokerDetails { s.Logs = v return s } // SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value. func (s *AwsAmazonMqBrokerDetails) SetMaintenanceWindowStartTime(v *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails) *AwsAmazonMqBrokerDetails { s.MaintenanceWindowStartTime = v return s } // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *AwsAmazonMqBrokerDetails) SetPubliclyAccessible(v bool) *AwsAmazonMqBrokerDetails { s.PubliclyAccessible = &v return s } // SetSecurityGroups sets the SecurityGroups field's value. func (s *AwsAmazonMqBrokerDetails) SetSecurityGroups(v []*string) *AwsAmazonMqBrokerDetails { s.SecurityGroups = v return s } // SetStorageType sets the StorageType field's value. func (s *AwsAmazonMqBrokerDetails) SetStorageType(v string) *AwsAmazonMqBrokerDetails { s.StorageType = &v return s } // SetSubnetIds sets the SubnetIds field's value. func (s *AwsAmazonMqBrokerDetails) SetSubnetIds(v []*string) *AwsAmazonMqBrokerDetails { s.SubnetIds = v return s } // SetUsers sets the Users field's value. func (s *AwsAmazonMqBrokerDetails) SetUsers(v []*AwsAmazonMqBrokerUsersDetails) *AwsAmazonMqBrokerDetails { s.Users = v return s } // Provides details about broker encryption options. type AwsAmazonMqBrokerEncryptionOptionsDetails struct { _ struct{} `type:"structure"` // The KMS key thats used to encrypt your data at rest. If not provided, // Amazon MQ will use a default KMS key to encrypt your data. KmsKeyId *string `type:"string"` // Specifies that an KMS key should be used for at-rest encryption. Set to true // by default if no value is provided (for example, for RabbitMQ brokers). UseAwsOwnedKey *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerEncryptionOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerEncryptionOptionsDetails) GoString() string { return s.String() } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsAmazonMqBrokerEncryptionOptionsDetails) SetKmsKeyId(v string) *AwsAmazonMqBrokerEncryptionOptionsDetails { s.KmsKeyId = &v return s } // SetUseAwsOwnedKey sets the UseAwsOwnedKey field's value. func (s *AwsAmazonMqBrokerEncryptionOptionsDetails) SetUseAwsOwnedKey(v bool) *AwsAmazonMqBrokerEncryptionOptionsDetails { s.UseAwsOwnedKey = &v return s } // The metadata of the Lightweight Directory Access Protocol (LDAP) server used // to authenticate and authorize connections to the broker. This is an optional // failover server. type AwsAmazonMqBrokerLdapServerMetadataDetails struct { _ struct{} `type:"structure"` // Specifies the location of the LDAP server, such as Amazon Web Services Directory // Service for Microsoft Active Directory. Hosts []*string `type:"list"` // The distinguished name of the node in the directory information tree (DIT) // to search for roles or groups. RoleBase *string `type:"string"` // The group name attribute in a role entry whose value is the name of that // role. RoleName *string `type:"string"` // The LDAP search filter used to find roles within the roleBase. RoleSearchMatching *string `type:"string"` // The directory search scope for the role. If set to true, the scope is to // search the entire subtree. RoleSearchSubtree *bool `type:"boolean"` // A username for the service account, which is an account in your LDAP server // that has access to initiate a connection. ServiceAccountUsername *string `type:"string"` // Selects a particular subtree of the directory information tree (DIT) to search // for user entries. UserBase *string `type:"string"` // The name of the LDAP attribute in the user's directory entry for the user's // group membership. UserRoleName *string `type:"string"` // The LDAP search filter used to find users within the userBase. UserSearchMatching *string `type:"string"` // The directory search scope for the user. If set to true, the scope is to // search the entire subtree. UserSearchSubtree *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerLdapServerMetadataDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerLdapServerMetadataDetails) GoString() string { return s.String() } // SetHosts sets the Hosts field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetHosts(v []*string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.Hosts = v return s } // SetRoleBase sets the RoleBase field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetRoleBase(v string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.RoleBase = &v return s } // SetRoleName sets the RoleName field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetRoleName(v string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.RoleName = &v return s } // SetRoleSearchMatching sets the RoleSearchMatching field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetRoleSearchMatching(v string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.RoleSearchMatching = &v return s } // SetRoleSearchSubtree sets the RoleSearchSubtree field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetRoleSearchSubtree(v bool) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.RoleSearchSubtree = &v return s } // SetServiceAccountUsername sets the ServiceAccountUsername field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetServiceAccountUsername(v string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.ServiceAccountUsername = &v return s } // SetUserBase sets the UserBase field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetUserBase(v string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.UserBase = &v return s } // SetUserRoleName sets the UserRoleName field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetUserRoleName(v string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.UserRoleName = &v return s } // SetUserSearchMatching sets the UserSearchMatching field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetUserSearchMatching(v string) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.UserSearchMatching = &v return s } // SetUserSearchSubtree sets the UserSearchSubtree field's value. func (s *AwsAmazonMqBrokerLdapServerMetadataDetails) SetUserSearchSubtree(v bool) *AwsAmazonMqBrokerLdapServerMetadataDetails { s.UserSearchSubtree = &v return s } // Provides information about logs to be activated for the specified broker. type AwsAmazonMqBrokerLogsDetails struct { _ struct{} `type:"structure"` // Activates audit logging. Every user management action made using JMX or the // ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers. Audit *bool `type:"boolean"` // The location of the CloudWatch Logs log group where audit logs are sent. AuditLogGroup *string `type:"string"` // Activates general logging. General *bool `type:"boolean"` // The location of the CloudWatch Logs log group where general logs are sent. GeneralLogGroup *string `type:"string"` // The list of information about logs that are to be turned on for the specified // broker. Pending *AwsAmazonMqBrokerLogsPendingDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerLogsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerLogsDetails) GoString() string { return s.String() } // SetAudit sets the Audit field's value. func (s *AwsAmazonMqBrokerLogsDetails) SetAudit(v bool) *AwsAmazonMqBrokerLogsDetails { s.Audit = &v return s } // SetAuditLogGroup sets the AuditLogGroup field's value. func (s *AwsAmazonMqBrokerLogsDetails) SetAuditLogGroup(v string) *AwsAmazonMqBrokerLogsDetails { s.AuditLogGroup = &v return s } // SetGeneral sets the General field's value. func (s *AwsAmazonMqBrokerLogsDetails) SetGeneral(v bool) *AwsAmazonMqBrokerLogsDetails { s.General = &v return s } // SetGeneralLogGroup sets the GeneralLogGroup field's value. func (s *AwsAmazonMqBrokerLogsDetails) SetGeneralLogGroup(v string) *AwsAmazonMqBrokerLogsDetails { s.GeneralLogGroup = &v return s } // SetPending sets the Pending field's value. func (s *AwsAmazonMqBrokerLogsDetails) SetPending(v *AwsAmazonMqBrokerLogsPendingDetails) *AwsAmazonMqBrokerLogsDetails { s.Pending = v return s } // Provides information about logs to be activated for the specified broker. type AwsAmazonMqBrokerLogsPendingDetails struct { _ struct{} `type:"structure"` // Activates audit logging. Every user management action made using JMX or the // ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers. Audit *bool `type:"boolean"` // Activates general logging. General *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerLogsPendingDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerLogsPendingDetails) GoString() string { return s.String() } // SetAudit sets the Audit field's value. func (s *AwsAmazonMqBrokerLogsPendingDetails) SetAudit(v bool) *AwsAmazonMqBrokerLogsPendingDetails { s.Audit = &v return s } // SetGeneral sets the General field's value. func (s *AwsAmazonMqBrokerLogsPendingDetails) SetGeneral(v bool) *AwsAmazonMqBrokerLogsPendingDetails { s.General = &v return s } // The scheduled time period (UTC) during which Amazon MQ begins to apply pending // updates or patches to the broker. type AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails struct { _ struct{} `type:"structure"` // The day of the week on which the maintenance window falls. DayOfWeek *string `type:"string"` // The time, in 24-hour format, on which the maintenance window falls. TimeOfDay *string `type:"string"` // The time zone in either the Country/City format or the UTC offset format. // UTC is the default format. TimeZone *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails) GoString() string { return s.String() } // SetDayOfWeek sets the DayOfWeek field's value. func (s *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails) SetDayOfWeek(v string) *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails { s.DayOfWeek = &v return s } // SetTimeOfDay sets the TimeOfDay field's value. func (s *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails) SetTimeOfDay(v string) *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails { s.TimeOfDay = &v return s } // SetTimeZone sets the TimeZone field's value. func (s *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails) SetTimeZone(v string) *AwsAmazonMqBrokerMaintenanceWindowStartTimeDetails { s.TimeZone = &v return s } // Provides details about the broker usernames for the specified broker. Doesn't // apply to RabbitMQ brokers. type AwsAmazonMqBrokerUsersDetails struct { _ struct{} `type:"structure"` // The type of change pending for the broker user. PendingChange *string `type:"string"` // The username of the broker user. Username *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerUsersDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAmazonMqBrokerUsersDetails) GoString() string { return s.String() } // SetPendingChange sets the PendingChange field's value. func (s *AwsAmazonMqBrokerUsersDetails) SetPendingChange(v string) *AwsAmazonMqBrokerUsersDetails { s.PendingChange = &v return s } // SetUsername sets the Username field's value. func (s *AwsAmazonMqBrokerUsersDetails) SetUsername(v string) *AwsAmazonMqBrokerUsersDetails { s.Username = &v return s } // Provided if ActionType is AWS_API_CALL. It provides details about the API // call that was detected. type AwsApiCallAction struct { _ struct{} `type:"structure"` // Identifies the resources that were affected by the API call. AffectedResources map[string]*string `type:"map"` // The name of the API method that was issued. Api *string `type:"string"` // Indicates whether the API call originated from a remote IP address (remoteip) // or from a DNS domain (domain). CallerType *string `type:"string"` // Provided if CallerType is domain. Provides information about the DNS domain // that the API call originated from. DomainDetails *AwsApiCallActionDomainDetails `type:"structure"` // A timestamp that indicates when the API call was first observed. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) FirstSeen *string `type:"string"` // A timestamp that indicates when the API call was most recently observed. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastSeen *string `type:"string"` // Provided if CallerType is remoteIp. Provides information about the remote // IP address that the API call originated from. RemoteIpDetails *ActionRemoteIpDetails `type:"structure"` // The name of the Amazon Web Services service that the API method belongs to. ServiceName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiCallAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiCallAction) GoString() string { return s.String() } // SetAffectedResources sets the AffectedResources field's value. func (s *AwsApiCallAction) SetAffectedResources(v map[string]*string) *AwsApiCallAction { s.AffectedResources = v return s } // SetApi sets the Api field's value. func (s *AwsApiCallAction) SetApi(v string) *AwsApiCallAction { s.Api = &v return s } // SetCallerType sets the CallerType field's value. func (s *AwsApiCallAction) SetCallerType(v string) *AwsApiCallAction { s.CallerType = &v return s } // SetDomainDetails sets the DomainDetails field's value. func (s *AwsApiCallAction) SetDomainDetails(v *AwsApiCallActionDomainDetails) *AwsApiCallAction { s.DomainDetails = v return s } // SetFirstSeen sets the FirstSeen field's value. func (s *AwsApiCallAction) SetFirstSeen(v string) *AwsApiCallAction { s.FirstSeen = &v return s } // SetLastSeen sets the LastSeen field's value. func (s *AwsApiCallAction) SetLastSeen(v string) *AwsApiCallAction { s.LastSeen = &v return s } // SetRemoteIpDetails sets the RemoteIpDetails field's value. func (s *AwsApiCallAction) SetRemoteIpDetails(v *ActionRemoteIpDetails) *AwsApiCallAction { s.RemoteIpDetails = v return s } // SetServiceName sets the ServiceName field's value. func (s *AwsApiCallAction) SetServiceName(v string) *AwsApiCallAction { s.ServiceName = &v return s } // Provided if CallerType is domain. It provides information about the DNS domain // that issued the API call. type AwsApiCallActionDomainDetails struct { _ struct{} `type:"structure"` // The name of the DNS domain that issued the API call. Domain *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiCallActionDomainDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiCallActionDomainDetails) GoString() string { return s.String() } // SetDomain sets the Domain field's value. func (s *AwsApiCallActionDomainDetails) SetDomain(v string) *AwsApiCallActionDomainDetails { s.Domain = &v return s } // Contains information about settings for logging access for the stage. type AwsApiGatewayAccessLogSettings struct { _ struct{} `type:"structure"` // The ARN of the CloudWatch Logs log group that receives the access logs. DestinationArn *string `type:"string"` // A single-line format of the access logs of data, as specified by selected // $context variables. The format must include at least $context.requestId. Format *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayAccessLogSettings) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayAccessLogSettings) GoString() string { return s.String() } // SetDestinationArn sets the DestinationArn field's value. func (s *AwsApiGatewayAccessLogSettings) SetDestinationArn(v string) *AwsApiGatewayAccessLogSettings { s.DestinationArn = &v return s } // SetFormat sets the Format field's value. func (s *AwsApiGatewayAccessLogSettings) SetFormat(v string) *AwsApiGatewayAccessLogSettings { s.Format = &v return s } // Contains information about settings for canary deployment in the stage. type AwsApiGatewayCanarySettings struct { _ struct{} `type:"structure"` // The deployment identifier for the canary deployment. DeploymentId *string `type:"string"` // The percentage of traffic that is diverted to a canary deployment. PercentTraffic *float64 `type:"double"` // Stage variables that are overridden in the canary release deployment. The // variables include new stage variables that are introduced in the canary. // // Each variable is represented as a string-to-string map between the stage // variable name and the variable value. StageVariableOverrides map[string]*string `type:"map"` // Indicates whether the canary deployment uses the stage cache. UseStageCache *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayCanarySettings) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayCanarySettings) GoString() string { return s.String() } // SetDeploymentId sets the DeploymentId field's value. func (s *AwsApiGatewayCanarySettings) SetDeploymentId(v string) *AwsApiGatewayCanarySettings { s.DeploymentId = &v return s } // SetPercentTraffic sets the PercentTraffic field's value. func (s *AwsApiGatewayCanarySettings) SetPercentTraffic(v float64) *AwsApiGatewayCanarySettings { s.PercentTraffic = &v return s } // SetStageVariableOverrides sets the StageVariableOverrides field's value. func (s *AwsApiGatewayCanarySettings) SetStageVariableOverrides(v map[string]*string) *AwsApiGatewayCanarySettings { s.StageVariableOverrides = v return s } // SetUseStageCache sets the UseStageCache field's value. func (s *AwsApiGatewayCanarySettings) SetUseStageCache(v bool) *AwsApiGatewayCanarySettings { s.UseStageCache = &v return s } // Contains information about the endpoints for the API. type AwsApiGatewayEndpointConfiguration struct { _ struct{} `type:"structure"` // A list of endpoint types for the REST API. // // For an edge-optimized API, the endpoint type is EDGE. For a Regional API, // the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE. Types []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayEndpointConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayEndpointConfiguration) GoString() string { return s.String() } // SetTypes sets the Types field's value. func (s *AwsApiGatewayEndpointConfiguration) SetTypes(v []*string) *AwsApiGatewayEndpointConfiguration { s.Types = v return s } // Defines settings for a method for the stage. type AwsApiGatewayMethodSettings struct { _ struct{} `type:"structure"` // Indicates whether the cached responses are encrypted. CacheDataEncrypted *bool `type:"boolean"` // Specifies the time to live (TTL), in seconds, for cached responses. The higher // the TTL, the longer the response is cached. CacheTtlInSeconds *int64 `type:"integer"` // Indicates whether responses are cached and returned for requests. For responses // to be cached, a cache cluster must be enabled on the stage. CachingEnabled *bool `type:"boolean"` // Indicates whether data trace logging is enabled for the method. Data trace // logging affects the log entries that are pushed to CloudWatch Logs. DataTraceEnabled *bool `type:"boolean"` // The HTTP method. You can use an asterisk (*) as a wildcard to apply method // settings to multiple methods. HttpMethod *string `type:"string"` // The logging level for this method. The logging level affects the log entries // that are pushed to CloudWatch Logs. // // If the logging level is ERROR, then the logs only include error-level entries. // // If the logging level is INFO, then the logs include both ERROR events and // extra informational events. // // Valid values: OFF | ERROR | INFO LoggingLevel *string `type:"string"` // Indicates whether CloudWatch metrics are enabled for the method. MetricsEnabled *bool `type:"boolean"` // Indicates whether authorization is required for a cache invalidation request. RequireAuthorizationForCacheControl *bool `type:"boolean"` // The resource path for this method. Forward slashes (/) are encoded as ~1 // . The initial slash must include a forward slash. // // For example, the path value /resource/subresource must be encoded as /~1resource~1subresource. // // To specify the root path, use only a slash (/). You can use an asterisk (*) // as a wildcard to apply method settings to multiple methods. ResourcePath *string `type:"string"` // The throttling burst limit for the method. ThrottlingBurstLimit *int64 `type:"integer"` // The throttling rate limit for the method. ThrottlingRateLimit *float64 `type:"double"` // Indicates how to handle unauthorized requests for cache invalidation. // // Valid values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | SUCCEED_WITHOUT_RESPONSE_HEADER UnauthorizedCacheControlHeaderStrategy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayMethodSettings) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayMethodSettings) GoString() string { return s.String() } // SetCacheDataEncrypted sets the CacheDataEncrypted field's value. func (s *AwsApiGatewayMethodSettings) SetCacheDataEncrypted(v bool) *AwsApiGatewayMethodSettings { s.CacheDataEncrypted = &v return s } // SetCacheTtlInSeconds sets the CacheTtlInSeconds field's value. func (s *AwsApiGatewayMethodSettings) SetCacheTtlInSeconds(v int64) *AwsApiGatewayMethodSettings { s.CacheTtlInSeconds = &v return s } // SetCachingEnabled sets the CachingEnabled field's value. func (s *AwsApiGatewayMethodSettings) SetCachingEnabled(v bool) *AwsApiGatewayMethodSettings { s.CachingEnabled = &v return s } // SetDataTraceEnabled sets the DataTraceEnabled field's value. func (s *AwsApiGatewayMethodSettings) SetDataTraceEnabled(v bool) *AwsApiGatewayMethodSettings { s.DataTraceEnabled = &v return s } // SetHttpMethod sets the HttpMethod field's value. func (s *AwsApiGatewayMethodSettings) SetHttpMethod(v string) *AwsApiGatewayMethodSettings { s.HttpMethod = &v return s } // SetLoggingLevel sets the LoggingLevel field's value. func (s *AwsApiGatewayMethodSettings) SetLoggingLevel(v string) *AwsApiGatewayMethodSettings { s.LoggingLevel = &v return s } // SetMetricsEnabled sets the MetricsEnabled field's value. func (s *AwsApiGatewayMethodSettings) SetMetricsEnabled(v bool) *AwsApiGatewayMethodSettings { s.MetricsEnabled = &v return s } // SetRequireAuthorizationForCacheControl sets the RequireAuthorizationForCacheControl field's value. func (s *AwsApiGatewayMethodSettings) SetRequireAuthorizationForCacheControl(v bool) *AwsApiGatewayMethodSettings { s.RequireAuthorizationForCacheControl = &v return s } // SetResourcePath sets the ResourcePath field's value. func (s *AwsApiGatewayMethodSettings) SetResourcePath(v string) *AwsApiGatewayMethodSettings { s.ResourcePath = &v return s } // SetThrottlingBurstLimit sets the ThrottlingBurstLimit field's value. func (s *AwsApiGatewayMethodSettings) SetThrottlingBurstLimit(v int64) *AwsApiGatewayMethodSettings { s.ThrottlingBurstLimit = &v return s } // SetThrottlingRateLimit sets the ThrottlingRateLimit field's value. func (s *AwsApiGatewayMethodSettings) SetThrottlingRateLimit(v float64) *AwsApiGatewayMethodSettings { s.ThrottlingRateLimit = &v return s } // SetUnauthorizedCacheControlHeaderStrategy sets the UnauthorizedCacheControlHeaderStrategy field's value. func (s *AwsApiGatewayMethodSettings) SetUnauthorizedCacheControlHeaderStrategy(v string) *AwsApiGatewayMethodSettings { s.UnauthorizedCacheControlHeaderStrategy = &v return s } // Contains information about a REST API in version 1 of Amazon API Gateway. type AwsApiGatewayRestApiDetails struct { _ struct{} `type:"structure"` // The source of the API key for metering requests according to a usage plan. // // HEADER indicates whether to read the API key from the X-API-Key header of // a request. // // AUTHORIZER indicates whether to read the API key from the UsageIdentifierKey // from a custom authorizer. ApiKeySource *string `type:"string"` // The list of binary media types supported by the REST API. BinaryMediaTypes []*string `type:"list"` // Indicates when the API was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedDate *string `type:"string"` // A description of the REST API. Description *string `type:"string"` // The endpoint configuration of the REST API. EndpointConfiguration *AwsApiGatewayEndpointConfiguration `type:"structure"` // The identifier of the REST API. Id *string `type:"string"` // The minimum size in bytes of a payload before compression is enabled. // // If null, then compression is disabled. // // If 0, then all payloads are compressed. MinimumCompressionSize *int64 `type:"integer"` // The name of the REST API. Name *string `type:"string"` // The version identifier for the REST API. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayRestApiDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayRestApiDetails) GoString() string { return s.String() } // SetApiKeySource sets the ApiKeySource field's value. func (s *AwsApiGatewayRestApiDetails) SetApiKeySource(v string) *AwsApiGatewayRestApiDetails { s.ApiKeySource = &v return s } // SetBinaryMediaTypes sets the BinaryMediaTypes field's value. func (s *AwsApiGatewayRestApiDetails) SetBinaryMediaTypes(v []*string) *AwsApiGatewayRestApiDetails { s.BinaryMediaTypes = v return s } // SetCreatedDate sets the CreatedDate field's value. func (s *AwsApiGatewayRestApiDetails) SetCreatedDate(v string) *AwsApiGatewayRestApiDetails { s.CreatedDate = &v return s } // SetDescription sets the Description field's value. func (s *AwsApiGatewayRestApiDetails) SetDescription(v string) *AwsApiGatewayRestApiDetails { s.Description = &v return s } // SetEndpointConfiguration sets the EndpointConfiguration field's value. func (s *AwsApiGatewayRestApiDetails) SetEndpointConfiguration(v *AwsApiGatewayEndpointConfiguration) *AwsApiGatewayRestApiDetails { s.EndpointConfiguration = v return s } // SetId sets the Id field's value. func (s *AwsApiGatewayRestApiDetails) SetId(v string) *AwsApiGatewayRestApiDetails { s.Id = &v return s } // SetMinimumCompressionSize sets the MinimumCompressionSize field's value. func (s *AwsApiGatewayRestApiDetails) SetMinimumCompressionSize(v int64) *AwsApiGatewayRestApiDetails { s.MinimumCompressionSize = &v return s } // SetName sets the Name field's value. func (s *AwsApiGatewayRestApiDetails) SetName(v string) *AwsApiGatewayRestApiDetails { s.Name = &v return s } // SetVersion sets the Version field's value. func (s *AwsApiGatewayRestApiDetails) SetVersion(v string) *AwsApiGatewayRestApiDetails { s.Version = &v return s } // Provides information about a version 1 Amazon API Gateway stage. type AwsApiGatewayStageDetails struct { _ struct{} `type:"structure"` // Settings for logging access for the stage. AccessLogSettings *AwsApiGatewayAccessLogSettings `type:"structure"` // Indicates whether a cache cluster is enabled for the stage. CacheClusterEnabled *bool `type:"boolean"` // If a cache cluster is enabled, the size of the cache cluster. CacheClusterSize *string `type:"string"` // If a cache cluster is enabled, the status of the cache cluster. CacheClusterStatus *string `type:"string"` // Information about settings for canary deployment in the stage. CanarySettings *AwsApiGatewayCanarySettings `type:"structure"` // The identifier of the client certificate for the stage. ClientCertificateId *string `type:"string"` // Indicates when the stage was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedDate *string `type:"string"` // The identifier of the deployment that the stage points to. DeploymentId *string `type:"string"` // A description of the stage. Description *string `type:"string"` // The version of the API documentation that is associated with the stage. DocumentationVersion *string `type:"string"` // Indicates when the stage was most recently updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastUpdatedDate *string `type:"string"` // Defines the method settings for the stage. MethodSettings []*AwsApiGatewayMethodSettings `type:"list"` // The name of the stage. StageName *string `type:"string"` // Indicates whether active tracing with X-Ray is enabled for the stage. TracingEnabled *bool `type:"boolean"` // A map that defines the stage variables for the stage. // // Variable names can have alphanumeric and underscore characters. // // Variable values can contain the following characters: // // * Uppercase and lowercase letters // // * Numbers // // * Special characters -._~:/?#&=, Variables map[string]*string `type:"map"` // The ARN of the web ACL associated with the stage. WebAclArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayStageDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayStageDetails) GoString() string { return s.String() } // SetAccessLogSettings sets the AccessLogSettings field's value. func (s *AwsApiGatewayStageDetails) SetAccessLogSettings(v *AwsApiGatewayAccessLogSettings) *AwsApiGatewayStageDetails { s.AccessLogSettings = v return s } // SetCacheClusterEnabled sets the CacheClusterEnabled field's value. func (s *AwsApiGatewayStageDetails) SetCacheClusterEnabled(v bool) *AwsApiGatewayStageDetails { s.CacheClusterEnabled = &v return s } // SetCacheClusterSize sets the CacheClusterSize field's value. func (s *AwsApiGatewayStageDetails) SetCacheClusterSize(v string) *AwsApiGatewayStageDetails { s.CacheClusterSize = &v return s } // SetCacheClusterStatus sets the CacheClusterStatus field's value. func (s *AwsApiGatewayStageDetails) SetCacheClusterStatus(v string) *AwsApiGatewayStageDetails { s.CacheClusterStatus = &v return s } // SetCanarySettings sets the CanarySettings field's value. func (s *AwsApiGatewayStageDetails) SetCanarySettings(v *AwsApiGatewayCanarySettings) *AwsApiGatewayStageDetails { s.CanarySettings = v return s } // SetClientCertificateId sets the ClientCertificateId field's value. func (s *AwsApiGatewayStageDetails) SetClientCertificateId(v string) *AwsApiGatewayStageDetails { s.ClientCertificateId = &v return s } // SetCreatedDate sets the CreatedDate field's value. func (s *AwsApiGatewayStageDetails) SetCreatedDate(v string) *AwsApiGatewayStageDetails { s.CreatedDate = &v return s } // SetDeploymentId sets the DeploymentId field's value. func (s *AwsApiGatewayStageDetails) SetDeploymentId(v string) *AwsApiGatewayStageDetails { s.DeploymentId = &v return s } // SetDescription sets the Description field's value. func (s *AwsApiGatewayStageDetails) SetDescription(v string) *AwsApiGatewayStageDetails { s.Description = &v return s } // SetDocumentationVersion sets the DocumentationVersion field's value. func (s *AwsApiGatewayStageDetails) SetDocumentationVersion(v string) *AwsApiGatewayStageDetails { s.DocumentationVersion = &v return s } // SetLastUpdatedDate sets the LastUpdatedDate field's value. func (s *AwsApiGatewayStageDetails) SetLastUpdatedDate(v string) *AwsApiGatewayStageDetails { s.LastUpdatedDate = &v return s } // SetMethodSettings sets the MethodSettings field's value. func (s *AwsApiGatewayStageDetails) SetMethodSettings(v []*AwsApiGatewayMethodSettings) *AwsApiGatewayStageDetails { s.MethodSettings = v return s } // SetStageName sets the StageName field's value. func (s *AwsApiGatewayStageDetails) SetStageName(v string) *AwsApiGatewayStageDetails { s.StageName = &v return s } // SetTracingEnabled sets the TracingEnabled field's value. func (s *AwsApiGatewayStageDetails) SetTracingEnabled(v bool) *AwsApiGatewayStageDetails { s.TracingEnabled = &v return s } // SetVariables sets the Variables field's value. func (s *AwsApiGatewayStageDetails) SetVariables(v map[string]*string) *AwsApiGatewayStageDetails { s.Variables = v return s } // SetWebAclArn sets the WebAclArn field's value. func (s *AwsApiGatewayStageDetails) SetWebAclArn(v string) *AwsApiGatewayStageDetails { s.WebAclArn = &v return s } // Contains information about a version 2 API in Amazon API Gateway. type AwsApiGatewayV2ApiDetails struct { _ struct{} `type:"structure"` // The URI of the API. // // Uses the format <api-id>.execute-api.<region>.amazonaws.com // // The stage name is typically appended to the URI to form a complete path to // a deployed API stage. ApiEndpoint *string `type:"string"` // The identifier of the API. ApiId *string `type:"string"` // An API key selection expression. Supported only for WebSocket APIs. ApiKeySelectionExpression *string `type:"string"` // A cross-origin resource sharing (CORS) configuration. Supported only for // HTTP APIs. CorsConfiguration *AwsCorsConfiguration `type:"structure"` // Indicates when the API was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedDate *string `type:"string"` // A description of the API. Description *string `type:"string"` // The name of the API. Name *string `type:"string"` // The API protocol for the API. // // Valid values: WEBSOCKET | HTTP ProtocolType *string `type:"string"` // The route selection expression for the API. // // For HTTP APIs, must be ${request.method} ${request.path}. This is the default // value for HTTP APIs. // // For WebSocket APIs, there is no default value. RouteSelectionExpression *string `type:"string"` // The version identifier for the API. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayV2ApiDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayV2ApiDetails) GoString() string { return s.String() } // SetApiEndpoint sets the ApiEndpoint field's value. func (s *AwsApiGatewayV2ApiDetails) SetApiEndpoint(v string) *AwsApiGatewayV2ApiDetails { s.ApiEndpoint = &v return s } // SetApiId sets the ApiId field's value. func (s *AwsApiGatewayV2ApiDetails) SetApiId(v string) *AwsApiGatewayV2ApiDetails { s.ApiId = &v return s } // SetApiKeySelectionExpression sets the ApiKeySelectionExpression field's value. func (s *AwsApiGatewayV2ApiDetails) SetApiKeySelectionExpression(v string) *AwsApiGatewayV2ApiDetails { s.ApiKeySelectionExpression = &v return s } // SetCorsConfiguration sets the CorsConfiguration field's value. func (s *AwsApiGatewayV2ApiDetails) SetCorsConfiguration(v *AwsCorsConfiguration) *AwsApiGatewayV2ApiDetails { s.CorsConfiguration = v return s } // SetCreatedDate sets the CreatedDate field's value. func (s *AwsApiGatewayV2ApiDetails) SetCreatedDate(v string) *AwsApiGatewayV2ApiDetails { s.CreatedDate = &v return s } // SetDescription sets the Description field's value. func (s *AwsApiGatewayV2ApiDetails) SetDescription(v string) *AwsApiGatewayV2ApiDetails { s.Description = &v return s } // SetName sets the Name field's value. func (s *AwsApiGatewayV2ApiDetails) SetName(v string) *AwsApiGatewayV2ApiDetails { s.Name = &v return s } // SetProtocolType sets the ProtocolType field's value. func (s *AwsApiGatewayV2ApiDetails) SetProtocolType(v string) *AwsApiGatewayV2ApiDetails { s.ProtocolType = &v return s } // SetRouteSelectionExpression sets the RouteSelectionExpression field's value. func (s *AwsApiGatewayV2ApiDetails) SetRouteSelectionExpression(v string) *AwsApiGatewayV2ApiDetails { s.RouteSelectionExpression = &v return s } // SetVersion sets the Version field's value. func (s *AwsApiGatewayV2ApiDetails) SetVersion(v string) *AwsApiGatewayV2ApiDetails { s.Version = &v return s } // Contains route settings for a stage. type AwsApiGatewayV2RouteSettings struct { _ struct{} `type:"structure"` // Indicates whether data trace logging is enabled. Data trace logging affects // the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket // APIs. DataTraceEnabled *bool `type:"boolean"` // Indicates whether detailed metrics are enabled. DetailedMetricsEnabled *bool `type:"boolean"` // The logging level. The logging level affects the log entries that are pushed // to CloudWatch Logs. Supported only for WebSocket APIs. // // If the logging level is ERROR, then the logs only include error-level entries. // // If the logging level is INFO, then the logs include both ERROR events and // extra informational events. // // Valid values: OFF | ERROR | INFO LoggingLevel *string `type:"string"` // The throttling burst limit. ThrottlingBurstLimit *int64 `type:"integer"` // The throttling rate limit. ThrottlingRateLimit *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayV2RouteSettings) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayV2RouteSettings) GoString() string { return s.String() } // SetDataTraceEnabled sets the DataTraceEnabled field's value. func (s *AwsApiGatewayV2RouteSettings) SetDataTraceEnabled(v bool) *AwsApiGatewayV2RouteSettings { s.DataTraceEnabled = &v return s } // SetDetailedMetricsEnabled sets the DetailedMetricsEnabled field's value. func (s *AwsApiGatewayV2RouteSettings) SetDetailedMetricsEnabled(v bool) *AwsApiGatewayV2RouteSettings { s.DetailedMetricsEnabled = &v return s } // SetLoggingLevel sets the LoggingLevel field's value. func (s *AwsApiGatewayV2RouteSettings) SetLoggingLevel(v string) *AwsApiGatewayV2RouteSettings { s.LoggingLevel = &v return s } // SetThrottlingBurstLimit sets the ThrottlingBurstLimit field's value. func (s *AwsApiGatewayV2RouteSettings) SetThrottlingBurstLimit(v int64) *AwsApiGatewayV2RouteSettings { s.ThrottlingBurstLimit = &v return s } // SetThrottlingRateLimit sets the ThrottlingRateLimit field's value. func (s *AwsApiGatewayV2RouteSettings) SetThrottlingRateLimit(v float64) *AwsApiGatewayV2RouteSettings { s.ThrottlingRateLimit = &v return s } // Contains information about a version 2 stage for Amazon API Gateway. type AwsApiGatewayV2StageDetails struct { _ struct{} `type:"structure"` // Information about settings for logging access for the stage. AccessLogSettings *AwsApiGatewayAccessLogSettings `type:"structure"` // Indicates whether the stage is managed by API Gateway. ApiGatewayManaged *bool `type:"boolean"` // Indicates whether updates to an API automatically trigger a new deployment. AutoDeploy *bool `type:"boolean"` // The identifier of a client certificate for a stage. Supported only for WebSocket // API calls. ClientCertificateId *string `type:"string"` // Indicates when the stage was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedDate *string `type:"string"` // Default route settings for the stage. DefaultRouteSettings *AwsApiGatewayV2RouteSettings `type:"structure"` // The identifier of the deployment that the stage is associated with. DeploymentId *string `type:"string"` // The description of the stage. Description *string `type:"string"` // The status of the last deployment of a stage. Supported only if the stage // has automatic deployment enabled. LastDeploymentStatusMessage *string `type:"string"` // Indicates when the stage was most recently updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastUpdatedDate *string `type:"string"` // The route settings for the stage. RouteSettings *AwsApiGatewayV2RouteSettings `type:"structure"` // The name of the stage. StageName *string `type:"string"` // A map that defines the stage variables for the stage. // // Variable names can have alphanumeric and underscore characters. // // Variable values can contain the following characters: // // * Uppercase and lowercase letters // // * Numbers // // * Special characters -._~:/?#&=, StageVariables map[string]*string `type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayV2StageDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsApiGatewayV2StageDetails) GoString() string { return s.String() } // SetAccessLogSettings sets the AccessLogSettings field's value. func (s *AwsApiGatewayV2StageDetails) SetAccessLogSettings(v *AwsApiGatewayAccessLogSettings) *AwsApiGatewayV2StageDetails { s.AccessLogSettings = v return s } // SetApiGatewayManaged sets the ApiGatewayManaged field's value. func (s *AwsApiGatewayV2StageDetails) SetApiGatewayManaged(v bool) *AwsApiGatewayV2StageDetails { s.ApiGatewayManaged = &v return s } // SetAutoDeploy sets the AutoDeploy field's value. func (s *AwsApiGatewayV2StageDetails) SetAutoDeploy(v bool) *AwsApiGatewayV2StageDetails { s.AutoDeploy = &v return s } // SetClientCertificateId sets the ClientCertificateId field's value. func (s *AwsApiGatewayV2StageDetails) SetClientCertificateId(v string) *AwsApiGatewayV2StageDetails { s.ClientCertificateId = &v return s } // SetCreatedDate sets the CreatedDate field's value. func (s *AwsApiGatewayV2StageDetails) SetCreatedDate(v string) *AwsApiGatewayV2StageDetails { s.CreatedDate = &v return s } // SetDefaultRouteSettings sets the DefaultRouteSettings field's value. func (s *AwsApiGatewayV2StageDetails) SetDefaultRouteSettings(v *AwsApiGatewayV2RouteSettings) *AwsApiGatewayV2StageDetails { s.DefaultRouteSettings = v return s } // SetDeploymentId sets the DeploymentId field's value. func (s *AwsApiGatewayV2StageDetails) SetDeploymentId(v string) *AwsApiGatewayV2StageDetails { s.DeploymentId = &v return s } // SetDescription sets the Description field's value. func (s *AwsApiGatewayV2StageDetails) SetDescription(v string) *AwsApiGatewayV2StageDetails { s.Description = &v return s } // SetLastDeploymentStatusMessage sets the LastDeploymentStatusMessage field's value. func (s *AwsApiGatewayV2StageDetails) SetLastDeploymentStatusMessage(v string) *AwsApiGatewayV2StageDetails { s.LastDeploymentStatusMessage = &v return s } // SetLastUpdatedDate sets the LastUpdatedDate field's value. func (s *AwsApiGatewayV2StageDetails) SetLastUpdatedDate(v string) *AwsApiGatewayV2StageDetails { s.LastUpdatedDate = &v return s } // SetRouteSettings sets the RouteSettings field's value. func (s *AwsApiGatewayV2StageDetails) SetRouteSettings(v *AwsApiGatewayV2RouteSettings) *AwsApiGatewayV2StageDetails { s.RouteSettings = v return s } // SetStageName sets the StageName field's value. func (s *AwsApiGatewayV2StageDetails) SetStageName(v string) *AwsApiGatewayV2StageDetails { s.StageName = &v return s } // SetStageVariables sets the StageVariables field's value. func (s *AwsApiGatewayV2StageDetails) SetStageVariables(v map[string]*string) *AwsApiGatewayV2StageDetails { s.StageVariables = v return s } // A list of additional authentication providers for the GraphqlApi API. type AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails struct { _ struct{} `type:"structure"` // The type of security configuration for your GraphQL API: API key, Identity // and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, // or Lambda. AuthenticationType *string `type:"string"` // The configuration for Lambda function authorization. LambdaAuthorizerConfig *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails `type:"structure"` // The OpenID Connect configuration. OpenIdConnectConfig *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails `type:"structure"` // The Amazon Cognito user pools configuration. UserPoolConfig *AwsAppSyncGraphQlApiUserPoolConfigDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails) GoString() string { return s.String() } // SetAuthenticationType sets the AuthenticationType field's value. func (s *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails) SetAuthenticationType(v string) *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails { s.AuthenticationType = &v return s } // SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value. func (s *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails) SetLambdaAuthorizerConfig(v *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails { s.LambdaAuthorizerConfig = v return s } // SetOpenIdConnectConfig sets the OpenIdConnectConfig field's value. func (s *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails) SetOpenIdConnectConfig(v *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails { s.OpenIdConnectConfig = v return s } // SetUserPoolConfig sets the UserPoolConfig field's value. func (s *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails) SetUserPoolConfig(v *AwsAppSyncGraphQlApiUserPoolConfigDetails) *AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails { s.UserPoolConfig = v return s } // Provides details about an AppSync Graph QL API, which lets you query multiple // databases, microservices, and APIs from a single GraphQL endpoint. type AwsAppSyncGraphQlApiDetails struct { _ struct{} `type:"structure"` // A list of additional authentication providers for the GraphQL API. AdditionalAuthenticationProviders []*AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails `type:"list"` // The unique identifier for the API. ApiId *string `type:"string"` // The Amazon Resource Name (ARN) of the API. Arn *string `type:"string"` // The type of security configuration for your GraphQL API: API key, Identity // and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, // or Lambda. AuthenticationType *string `type:"string"` // The unique identifier for the API. Id *string `type:"string"` // Specifies the configuration for Lambda function authorization. LambdaAuthorizerConfig *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails `type:"structure"` // The Amazon CloudWatch Logs configuration. LogConfig *AwsAppSyncGraphQlApiLogConfigDetails `type:"structure"` // The API name. Name *string `type:"string"` // Specifies the authorization configuration for using an OpenID Connect compliant // service with an AppSync GraphQL API endpoint. OpenIdConnectConfig *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails `type:"structure"` // The Amazon Cognito user pools configuration. UserPoolConfig *AwsAppSyncGraphQlApiUserPoolConfigDetails `type:"structure"` // The Amazon Resource Name (ARN) of the WAF web access control list (web ACL) // associated with this GraphQL API, if one exists. WafWebAclArn *string `type:"string"` // Indicates whether to use X-Ray tracing for the GraphQL API. XrayEnabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiDetails) GoString() string { return s.String() } // SetAdditionalAuthenticationProviders sets the AdditionalAuthenticationProviders field's value. func (s *AwsAppSyncGraphQlApiDetails) SetAdditionalAuthenticationProviders(v []*AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails) *AwsAppSyncGraphQlApiDetails { s.AdditionalAuthenticationProviders = v return s } // SetApiId sets the ApiId field's value. func (s *AwsAppSyncGraphQlApiDetails) SetApiId(v string) *AwsAppSyncGraphQlApiDetails { s.ApiId = &v return s } // SetArn sets the Arn field's value. func (s *AwsAppSyncGraphQlApiDetails) SetArn(v string) *AwsAppSyncGraphQlApiDetails { s.Arn = &v return s } // SetAuthenticationType sets the AuthenticationType field's value. func (s *AwsAppSyncGraphQlApiDetails) SetAuthenticationType(v string) *AwsAppSyncGraphQlApiDetails { s.AuthenticationType = &v return s } // SetId sets the Id field's value. func (s *AwsAppSyncGraphQlApiDetails) SetId(v string) *AwsAppSyncGraphQlApiDetails { s.Id = &v return s } // SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value. func (s *AwsAppSyncGraphQlApiDetails) SetLambdaAuthorizerConfig(v *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) *AwsAppSyncGraphQlApiDetails { s.LambdaAuthorizerConfig = v return s } // SetLogConfig sets the LogConfig field's value. func (s *AwsAppSyncGraphQlApiDetails) SetLogConfig(v *AwsAppSyncGraphQlApiLogConfigDetails) *AwsAppSyncGraphQlApiDetails { s.LogConfig = v return s } // SetName sets the Name field's value. func (s *AwsAppSyncGraphQlApiDetails) SetName(v string) *AwsAppSyncGraphQlApiDetails { s.Name = &v return s } // SetOpenIdConnectConfig sets the OpenIdConnectConfig field's value. func (s *AwsAppSyncGraphQlApiDetails) SetOpenIdConnectConfig(v *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) *AwsAppSyncGraphQlApiDetails { s.OpenIdConnectConfig = v return s } // SetUserPoolConfig sets the UserPoolConfig field's value. func (s *AwsAppSyncGraphQlApiDetails) SetUserPoolConfig(v *AwsAppSyncGraphQlApiUserPoolConfigDetails) *AwsAppSyncGraphQlApiDetails { s.UserPoolConfig = v return s } // SetWafWebAclArn sets the WafWebAclArn field's value. func (s *AwsAppSyncGraphQlApiDetails) SetWafWebAclArn(v string) *AwsAppSyncGraphQlApiDetails { s.WafWebAclArn = &v return s } // SetXrayEnabled sets the XrayEnabled field's value. func (s *AwsAppSyncGraphQlApiDetails) SetXrayEnabled(v bool) *AwsAppSyncGraphQlApiDetails { s.XrayEnabled = &v return s } // Specifies the authorization configuration for using an Lambda function with // your AppSync GraphQL API endpoint. type AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails struct { _ struct{} `type:"structure"` // The number of seconds a response should be cached for. The default is 5 minutes // (300 seconds). AuthorizerResultTtlInSeconds *int64 `type:"integer"` // The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. // This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN. AuthorizerUri *string `type:"string"` // A regular expression for validation of tokens before the Lambda function // is called. IdentityValidationExpression *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) GoString() string { return s.String() } // SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value. func (s *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) SetAuthorizerResultTtlInSeconds(v int64) *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails { s.AuthorizerResultTtlInSeconds = &v return s } // SetAuthorizerUri sets the AuthorizerUri field's value. func (s *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) SetAuthorizerUri(v string) *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails { s.AuthorizerUri = &v return s } // SetIdentityValidationExpression sets the IdentityValidationExpression field's value. func (s *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) SetIdentityValidationExpression(v string) *AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails { s.IdentityValidationExpression = &v return s } // Specifies the logging configuration when writing GraphQL operations and tracing // to Amazon CloudWatch for an AppSync GraphQL API. type AwsAppSyncGraphQlApiLogConfigDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the service role that AppSync assumes to // publish to CloudWatch Logs in your account. CloudWatchLogsRoleArn *string `type:"string"` // Set to TRUE to exclude sections that contain information such as headers, // context, and evaluated mapping templates, regardless of logging level. ExcludeVerboseContent *bool `type:"boolean"` // The field logging level. FieldLogLevel *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiLogConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiLogConfigDetails) GoString() string { return s.String() } // SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. func (s *AwsAppSyncGraphQlApiLogConfigDetails) SetCloudWatchLogsRoleArn(v string) *AwsAppSyncGraphQlApiLogConfigDetails { s.CloudWatchLogsRoleArn = &v return s } // SetExcludeVerboseContent sets the ExcludeVerboseContent field's value. func (s *AwsAppSyncGraphQlApiLogConfigDetails) SetExcludeVerboseContent(v bool) *AwsAppSyncGraphQlApiLogConfigDetails { s.ExcludeVerboseContent = &v return s } // SetFieldLogLevel sets the FieldLogLevel field's value. func (s *AwsAppSyncGraphQlApiLogConfigDetails) SetFieldLogLevel(v string) *AwsAppSyncGraphQlApiLogConfigDetails { s.FieldLogLevel = &v return s } // Specifies the authorization configuration for using an OpenID Connect compliant // service with your AppSync GraphQL API endpoint. type AwsAppSyncGraphQlApiOpenIdConnectConfigDetails struct { _ struct{} `type:"structure"` // The number of milliseconds that a token is valid after being authenticated. AuthTtL *int64 `type:"long"` // The client identifier of the relying party at the OpenID identity provider. // This identifier is typically obtained when the relying party is registered // with the OpenID identity provider. You can specify a regular expression so // that AppSync can validate against multiple client identifiers at a time. ClientId *string `type:"string"` // The number of milliseconds that a token is valid after it's issued to a user. IatTtL *int64 `type:"long"` // The issuer for the OIDC configuration. The issuer returned by discovery must // exactly match the value of iss in the ID token. Issuer *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) GoString() string { return s.String() } // SetAuthTtL sets the AuthTtL field's value. func (s *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) SetAuthTtL(v int64) *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails { s.AuthTtL = &v return s } // SetClientId sets the ClientId field's value. func (s *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) SetClientId(v string) *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails { s.ClientId = &v return s } // SetIatTtL sets the IatTtL field's value. func (s *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) SetIatTtL(v int64) *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails { s.IatTtL = &v return s } // SetIssuer sets the Issuer field's value. func (s *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails) SetIssuer(v string) *AwsAppSyncGraphQlApiOpenIdConnectConfigDetails { s.Issuer = &v return s } // Specifies the authorization configuration for using Amazon Cognito user pools // with your AppSync GraphQL API endpoint. type AwsAppSyncGraphQlApiUserPoolConfigDetails struct { _ struct{} `type:"structure"` // A regular expression for validating the incoming Amazon Cognito user pools // app client ID. If this value isn't set, no filtering is applied. AppIdClientRegex *string `type:"string"` // The Amazon Web Services Region in which the user pool was created. AwsRegion *string `type:"string"` // The action that you want your GraphQL API to take when a request that uses // Amazon Cognito user pools authentication doesn't match the Amazon Cognito // user pools configuration. DefaultAction *string `type:"string"` // The user pool ID. UserPoolId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiUserPoolConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAppSyncGraphQlApiUserPoolConfigDetails) GoString() string { return s.String() } // SetAppIdClientRegex sets the AppIdClientRegex field's value. func (s *AwsAppSyncGraphQlApiUserPoolConfigDetails) SetAppIdClientRegex(v string) *AwsAppSyncGraphQlApiUserPoolConfigDetails { s.AppIdClientRegex = &v return s } // SetAwsRegion sets the AwsRegion field's value. func (s *AwsAppSyncGraphQlApiUserPoolConfigDetails) SetAwsRegion(v string) *AwsAppSyncGraphQlApiUserPoolConfigDetails { s.AwsRegion = &v return s } // SetDefaultAction sets the DefaultAction field's value. func (s *AwsAppSyncGraphQlApiUserPoolConfigDetails) SetDefaultAction(v string) *AwsAppSyncGraphQlApiUserPoolConfigDetails { s.DefaultAction = &v return s } // SetUserPoolId sets the UserPoolId field's value. func (s *AwsAppSyncGraphQlApiUserPoolConfigDetails) SetUserPoolId(v string) *AwsAppSyncGraphQlApiUserPoolConfigDetails { s.UserPoolId = &v return s } // The configuration of the workgroup, which includes the location in Amazon // Simple Storage Service (Amazon S3) where query results are stored, the encryption // option, if any, used for query results, whether Amazon CloudWatch metrics // are enabled for the workgroup, and the limit for the amount of bytes scanned // (cutoff) per query, if it is specified. type AwsAthenaWorkGroupConfigurationDetails struct { _ struct{} `type:"structure"` // The location in Amazon S3 where query and calculation results are stored // and the encryption option, if any, used for query and calculation results. // These are known as client-side settings. If workgroup settings override client-side // settings, then the query uses the workgroup settings. ResultConfiguration *AwsAthenaWorkGroupConfigurationResultConfigurationDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAthenaWorkGroupConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAthenaWorkGroupConfigurationDetails) GoString() string { return s.String() } // SetResultConfiguration sets the ResultConfiguration field's value. func (s *AwsAthenaWorkGroupConfigurationDetails) SetResultConfiguration(v *AwsAthenaWorkGroupConfigurationResultConfigurationDetails) *AwsAthenaWorkGroupConfigurationDetails { s.ResultConfiguration = v return s } // The location in Amazon Simple Storage Service (Amazon S3) where query and // calculation results are stored and the encryption option, if any, used for // query and calculation results. These are known as client-side settings. If // workgroup settings override client-side settings, then the query uses the // workgroup settings. type AwsAthenaWorkGroupConfigurationResultConfigurationDetails struct { _ struct{} `type:"structure"` // Specifies the method used to encrypt the users data stores in the Athena // workgroup. EncryptionConfiguration *your_sha256_hashigurationDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAthenaWorkGroupConfigurationResultConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAthenaWorkGroupConfigurationResultConfigurationDetails) GoString() string { return s.String() } // SetEncryptionConfiguration sets the EncryptionConfiguration field's value. func (s *AwsAthenaWorkGroupConfigurationResultConfigurationDetails) SetEncryptionConfiguration(v *your_sha256_hashigurationDetails) *AwsAthenaWorkGroupConfigurationResultConfigurationDetails { s.EncryptionConfiguration = v return s } // Specifies the method used to encrypt the users data stores in the Athena // workgroup. type your_sha256_hashigurationDetails struct { _ struct{} `type:"structure"` // Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption // with Amazon S3 managed keys (SSE_S3), server-side encryption with KMS keys // (SSE_KMS), or client-side encryption with KMS customer managed keys (CSE_KMS) // is used. EncryptionOption *string `type:"string"` // For SSE_KMS and CSE_KMS, this is the KMS key Amazon Resource Name (ARN) or // ID. KmsKey *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashigurationDetails) GoString() string { return s.String() } // SetEncryptionOption sets the EncryptionOption field's value. func (s *your_sha256_hashigurationDetails) SetEncryptionOption(v string) *your_sha256_hashigurationDetails { s.EncryptionOption = &v return s } // SetKmsKey sets the KmsKey field's value. func (s *your_sha256_hashigurationDetails) SetKmsKey(v string) *your_sha256_hashigurationDetails { s.KmsKey = &v return s } // Provides information about an Amazon Athena workgroup. type AwsAthenaWorkGroupDetails struct { _ struct{} `type:"structure"` // The configuration of the workgroup, which includes the location in Amazon // Simple Storage Service (Amazon S3) where query results are stored, the encryption // option, if any, used for query results, whether Amazon CloudWatch metrics // are enabled for the workgroup, and the limit for the amount of bytes scanned // (cutoff) per query, if it is specified. Configuration *AwsAthenaWorkGroupConfigurationDetails `type:"structure"` // The workgroup description. Description *string `type:"string"` // The workgroup name. Name *string `type:"string"` // Whether the workgroup is enabled or disabled. State *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAthenaWorkGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAthenaWorkGroupDetails) GoString() string { return s.String() } // SetConfiguration sets the Configuration field's value. func (s *AwsAthenaWorkGroupDetails) SetConfiguration(v *AwsAthenaWorkGroupConfigurationDetails) *AwsAthenaWorkGroupDetails { s.Configuration = v return s } // SetDescription sets the Description field's value. func (s *AwsAthenaWorkGroupDetails) SetDescription(v string) *AwsAthenaWorkGroupDetails { s.Description = &v return s } // SetName sets the Name field's value. func (s *AwsAthenaWorkGroupDetails) SetName(v string) *AwsAthenaWorkGroupDetails { s.Name = &v return s } // SetState sets the State field's value. func (s *AwsAthenaWorkGroupDetails) SetState(v string) *AwsAthenaWorkGroupDetails { s.State = &v return s } // An Availability Zone for the automatic scaling group. type AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails struct { _ struct{} `type:"structure"` // The name of the Availability Zone. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails) GoString() string { return s.String() } // SetValue sets the Value field's value. func (s *AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails) SetValue(v string) *AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails { s.Value = &v return s } // Provides details about an auto scaling group. type AwsAutoScalingAutoScalingGroupDetails struct { _ struct{} `type:"structure"` // The list of Availability Zones for the automatic scaling group. AvailabilityZones []*AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails `type:"list"` // Indicates whether capacity rebalancing is enabled. CapacityRebalance *bool `type:"boolean"` // Indicates when the auto scaling group was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedTime *string `type:"string"` // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before // it checks the health status of an EC2 instance that has come into service. HealthCheckGracePeriod *int64 `type:"integer"` // The service to use for the health checks. Valid values are EC2 or ELB. HealthCheckType *string `type:"string"` // The name of the launch configuration. LaunchConfigurationName *string `type:"string"` // The launch template to use. LaunchTemplate *your_sha256_hashication `type:"structure"` // The list of load balancers associated with the group. LoadBalancerNames []*string `type:"list"` // The mixed instances policy for the automatic scaling group. MixedInstancesPolicy *AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingAutoScalingGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingAutoScalingGroupDetails) GoString() string { return s.String() } // SetAvailabilityZones sets the AvailabilityZones field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetAvailabilityZones(v []*AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails) *AwsAutoScalingAutoScalingGroupDetails { s.AvailabilityZones = v return s } // SetCapacityRebalance sets the CapacityRebalance field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetCapacityRebalance(v bool) *AwsAutoScalingAutoScalingGroupDetails { s.CapacityRebalance = &v return s } // SetCreatedTime sets the CreatedTime field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetCreatedTime(v string) *AwsAutoScalingAutoScalingGroupDetails { s.CreatedTime = &v return s } // SetHealthCheckGracePeriod sets the HealthCheckGracePeriod field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetHealthCheckGracePeriod(v int64) *AwsAutoScalingAutoScalingGroupDetails { s.HealthCheckGracePeriod = &v return s } // SetHealthCheckType sets the HealthCheckType field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetHealthCheckType(v string) *AwsAutoScalingAutoScalingGroupDetails { s.HealthCheckType = &v return s } // SetLaunchConfigurationName sets the LaunchConfigurationName field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetLaunchConfigurationName(v string) *AwsAutoScalingAutoScalingGroupDetails { s.LaunchConfigurationName = &v return s } // SetLaunchTemplate sets the LaunchTemplate field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetLaunchTemplate(v *your_sha256_hashication) *AwsAutoScalingAutoScalingGroupDetails { s.LaunchTemplate = v return s } // SetLoadBalancerNames sets the LoadBalancerNames field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetLoadBalancerNames(v []*string) *AwsAutoScalingAutoScalingGroupDetails { s.LoadBalancerNames = v return s } // SetMixedInstancesPolicy sets the MixedInstancesPolicy field's value. func (s *AwsAutoScalingAutoScalingGroupDetails) SetMixedInstancesPolicy(v *AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails) *AwsAutoScalingAutoScalingGroupDetails { s.MixedInstancesPolicy = v return s } // Details about the launch template to use. type your_sha256_hashication struct { _ struct{} `type:"structure"` // The identifier of the launch template. You must specify either LaunchTemplateId // or LaunchTemplateName. LaunchTemplateId *string `type:"string"` // The name of the launch template. You must specify either LaunchTemplateId // or LaunchTemplateName. LaunchTemplateName *string `type:"string"` // Identifies the version of the launch template. You can specify a version // identifier, or use the values $Latest or $Default. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashication) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashication) GoString() string { return s.String() } // SetLaunchTemplateId sets the LaunchTemplateId field's value. func (s *your_sha256_hashication) SetLaunchTemplateId(v string) *your_sha256_hashication { s.LaunchTemplateId = &v return s } // SetLaunchTemplateName sets the LaunchTemplateName field's value. func (s *your_sha256_hashication) SetLaunchTemplateName(v string) *your_sha256_hashication { s.LaunchTemplateName = &v return s } // SetVersion sets the Version field's value. func (s *your_sha256_hashication) SetVersion(v string) *your_sha256_hashication { s.Version = &v return s } // The mixed instances policy for the automatic scaling group. type AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails struct { _ struct{} `type:"structure"` // The instances distribution. The instances distribution specifies the distribution // of On-Demand Instances and Spot Instances, the maximum price to pay for Spot // Instances, and how the Auto Scaling group allocates instance types to fulfill // On-Demand and Spot capacity. InstancesDistribution *your_sha256_hashibutionDetails `type:"structure"` // The launch template to use and the instance types (overrides) to use to provision // EC2 instances to fulfill On-Demand and Spot capacities. LaunchTemplate *your_sha256_hashDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails) GoString() string { return s.String() } // SetInstancesDistribution sets the InstancesDistribution field's value. func (s *AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails) SetInstancesDistribution(v *your_sha256_hashibutionDetails) *AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails { s.InstancesDistribution = v return s } // SetLaunchTemplate sets the LaunchTemplate field's value. func (s *AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails) SetLaunchTemplate(v *your_sha256_hashDetails) *AwsAutoScalingAutoScalingGroupMixedInstancesPolicyDetails { s.LaunchTemplate = v return s } // Information about the instances distribution. type your_sha256_hashibutionDetails struct { _ struct{} `type:"structure"` // How to allocate instance types to fulfill On-Demand capacity. The valid value // is prioritized. OnDemandAllocationStrategy *string `type:"string"` // The minimum amount of the Auto Scaling group's capacity that must be fulfilled // by On-Demand Instances. OnDemandBaseCapacity *int64 `type:"integer"` // The percentage of On-Demand Instances and Spot Instances for additional capacity // beyond OnDemandBaseCapacity. OnDemandPercentageAboveBaseCapacity *int64 `type:"integer"` // How to allocate instances across Spot Instance pools. Valid values are as // follows: // // * lowest-price // // * capacity-optimized // // * capacity-optimized-prioritized SpotAllocationStrategy *string `type:"string"` // The number of Spot Instance pools across which to allocate your Spot Instances. SpotInstancePools *int64 `type:"integer"` // The maximum price per unit hour that you are willing to pay for a Spot Instance. SpotMaxPrice *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashibutionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashibutionDetails) GoString() string { return s.String() } // SetOnDemandAllocationStrategy sets the OnDemandAllocationStrategy field's value. func (s *your_sha256_hashibutionDetails) SetOnDemandAllocationStrategy(v string) *your_sha256_hashibutionDetails { s.OnDemandAllocationStrategy = &v return s } // SetOnDemandBaseCapacity sets the OnDemandBaseCapacity field's value. func (s *your_sha256_hashibutionDetails) SetOnDemandBaseCapacity(v int64) *your_sha256_hashibutionDetails { s.OnDemandBaseCapacity = &v return s } // SetOnDemandPercentageAboveBaseCapacity sets the OnDemandPercentageAboveBaseCapacity field's value. func (s *your_sha256_hashibutionDetails) SetOnDemandPercentageAboveBaseCapacity(v int64) *your_sha256_hashibutionDetails { s.OnDemandPercentageAboveBaseCapacity = &v return s } // SetSpotAllocationStrategy sets the SpotAllocationStrategy field's value. func (s *your_sha256_hashibutionDetails) SetSpotAllocationStrategy(v string) *your_sha256_hashibutionDetails { s.SpotAllocationStrategy = &v return s } // SetSpotInstancePools sets the SpotInstancePools field's value. func (s *your_sha256_hashibutionDetails) SetSpotInstancePools(v int64) *your_sha256_hashibutionDetails { s.SpotInstancePools = &v return s } // SetSpotMaxPrice sets the SpotMaxPrice field's value. func (s *your_sha256_hashibutionDetails) SetSpotMaxPrice(v string) *your_sha256_hashibutionDetails { s.SpotMaxPrice = &v return s } // Describes a launch template and overrides for a mixed instances policy. type your_sha256_hashDetails struct { _ struct{} `type:"structure"` // The launch template to use for a mixed instances policy. LaunchTemplateSpecification *your_sha256_hashLaunchTemplateSpecification `type:"structure"` // Property values to use to override the values in the launch template. Overrides []*your_sha256_hashOverridesListDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashDetails) GoString() string { return s.String() } // SetLaunchTemplateSpecification sets the LaunchTemplateSpecification field's value. func (s *your_sha256_hashDetails) SetLaunchTemplateSpecification(v *your_sha256_hashLaunchTemplateSpecification) *your_sha256_hashDetails { s.LaunchTemplateSpecification = v return s } // SetOverrides sets the Overrides field's value. func (s *your_sha256_hashDetails) SetOverrides(v []*your_sha256_hashOverridesListDetails) *your_sha256_hashDetails { s.Overrides = v return s } // Details about the launch template to use for a mixed instances policy. type your_sha256_hashLaunchTemplateSpecification struct { _ struct{} `type:"structure"` // The identifier of the launch template. You must specify either LaunchTemplateId // or LaunchTemplateName. LaunchTemplateId *string `type:"string"` // The name of the launch template. You must specify either LaunchTemplateId // or LaunchTemplateName. LaunchTemplateName *string `type:"string"` // Identifies the version of the launch template. You can specify a version // identifier, or use the values $Latest or $Default. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashLaunchTemplateSpecification) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashLaunchTemplateSpecification) GoString() string { return s.String() } // SetLaunchTemplateId sets the LaunchTemplateId field's value. func (s *your_sha256_hashLaunchTemplateSpecification) SetLaunchTemplateId(v string) *your_sha256_hashLaunchTemplateSpecification { s.LaunchTemplateId = &v return s } // SetLaunchTemplateName sets the LaunchTemplateName field's value. func (s *your_sha256_hashLaunchTemplateSpecification) SetLaunchTemplateName(v string) *your_sha256_hashLaunchTemplateSpecification { s.LaunchTemplateName = &v return s } // SetVersion sets the Version field's value. func (s *your_sha256_hashLaunchTemplateSpecification) SetVersion(v string) *your_sha256_hashLaunchTemplateSpecification { s.Version = &v return s } // Property values to use to override the values in the launch template. type your_sha256_hashOverridesListDetails struct { _ struct{} `type:"structure"` // The instance type. For example, m3.xlarge. InstanceType *string `type:"string"` // The number of capacity units provided by the specified instance type in terms // of virtual CPUs, memory, storage, throughput, or other relative performance // characteristic. WeightedCapacity *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashOverridesListDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashOverridesListDetails) GoString() string { return s.String() } // SetInstanceType sets the InstanceType field's value. func (s *your_sha256_hashOverridesListDetails) SetInstanceType(v string) *your_sha256_hashOverridesListDetails { s.InstanceType = &v return s } // SetWeightedCapacity sets the WeightedCapacity field's value. func (s *your_sha256_hashOverridesListDetails) SetWeightedCapacity(v string) *your_sha256_hashOverridesListDetails { s.WeightedCapacity = &v return s } // A block device for the instance. type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails struct { _ struct{} `type:"structure"` // The device name that is exposed to the EC2 instance. For example, /dev/sdh // or xvdh. DeviceName *string `type:"string"` // Parameters that are used to automatically set up Amazon EBS volumes when // an instance is launched. Ebs *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails `type:"structure"` // Whether to suppress the device that is included in the block device mapping // of the Amazon Machine Image (AMI). // // If NoDevice is true, then you cannot specify Ebs.> NoDevice *bool `type:"boolean"` // The name of the virtual device (for example, ephemeral0). // // You can provide either VirtualName or Ebs, but not both. VirtualName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails) GoString() string { return s.String() } // SetDeviceName sets the DeviceName field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails) SetDeviceName(v string) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails { s.DeviceName = &v return s } // SetEbs sets the Ebs field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails) SetEbs(v *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails { s.Ebs = v return s } // SetNoDevice sets the NoDevice field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails) SetNoDevice(v bool) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails { s.NoDevice = &v return s } // SetVirtualName sets the VirtualName field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails) SetVirtualName(v string) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails { s.VirtualName = &v return s } // Parameters that are used to automatically set up EBS volumes when an instance // is launched. type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails struct { _ struct{} `type:"structure"` // Whether to delete the volume when the instance is terminated. DeleteOnTermination *bool `type:"boolean"` // Whether to encrypt the volume. Encrypted *bool `type:"boolean"` // The number of input/output (I/O) operations per second (IOPS) to provision // for the volume. // // Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used // with standard, gp2, st1, or sc1 volumes. Iops *int64 `type:"integer"` // The snapshot ID of the volume to use. // // You must specify either VolumeSize or SnapshotId. SnapshotId *string `type:"string"` // The volume size, in GiBs. The following are the supported volumes sizes for // each volume type: // // * gp2 and gp3: 1-16,384 // // * io1: 4-16,384 // // * st1 and sc1: 125-16,384 // // * standard: 1-1,024 // // You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId // and VolumeSize, the volume size must be equal or greater than the size of // the snapshot. VolumeSize *int64 `type:"integer"` // The volume type. Valid values are as follows: // // * gp2 // // * gp3 // // * io1 // // * sc1 // // * st1 // // * standard VolumeType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) GoString() string { return s.String() } // SetDeleteOnTermination sets the DeleteOnTermination field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) SetDeleteOnTermination(v bool) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails { s.DeleteOnTermination = &v return s } // SetEncrypted sets the Encrypted field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) SetEncrypted(v bool) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails { s.Encrypted = &v return s } // SetIops sets the Iops field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) SetIops(v int64) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails { s.Iops = &v return s } // SetSnapshotId sets the SnapshotId field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) SetSnapshotId(v string) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails { s.SnapshotId = &v return s } // SetVolumeSize sets the VolumeSize field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) SetVolumeSize(v int64) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails { s.VolumeSize = &v return s } // SetVolumeType sets the VolumeType field's value. func (s *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails) SetVolumeType(v string) *AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails { s.VolumeType = &v return s } // Details about a launch configuration. type AwsAutoScalingLaunchConfigurationDetails struct { _ struct{} `type:"structure"` // For Auto Scaling groups that run in a VPC, specifies whether to assign a // public IP address to the group's instances. AssociatePublicIpAddress *bool `type:"boolean"` // Specifies the block devices for the instance. BlockDeviceMappings []*AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails `type:"list"` // The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are // linked to. ClassicLinkVpcId *string `type:"string"` // The identifiers of one or more security groups for the VPC that is specified // in ClassicLinkVPCId. ClassicLinkVpcSecurityGroups []*string `type:"list"` // The creation date and time for the launch configuration. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedTime *string `type:"string"` // Whether the launch configuration is optimized for Amazon EBS I/O. EbsOptimized *bool `type:"boolean"` // The name or the ARN of the instance profile associated with the IAM role // for the instance. The instance profile contains the IAM role. IamInstanceProfile *string `type:"string"` // The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 // instances. ImageId *string `type:"string"` // Indicates the type of monitoring for instances in the group. InstanceMonitoring *AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails `type:"structure"` // The instance type for the instances. InstanceType *string `type:"string"` // The identifier of the kernel associated with the AMI. KernelId *string `type:"string"` // The name of the key pair. KeyName *string `type:"string"` // The name of the launch configuration. LaunchConfigurationName *string `type:"string"` // The metadata options for the instances. MetadataOptions *AwsAutoScalingLaunchConfigurationMetadataOptions `type:"structure"` // The tenancy of the instance. An instance with dedicated tenancy runs on isolated, // single-tenant hardware and can only be launched into a VPC. PlacementTenancy *string `type:"string"` // The identifier of the RAM disk associated with the AMI. RamdiskId *string `type:"string"` // The security groups to assign to the instances in the Auto Scaling group. SecurityGroups []*string `type:"list"` // The maximum hourly price to be paid for any Spot Instance that is launched // to fulfill the request. SpotPrice *string `type:"string"` // The user data to make available to the launched EC2 instances. Must be base64-encoded // text. UserData *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationDetails) GoString() string { return s.String() } // SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetAssociatePublicIpAddress(v bool) *AwsAutoScalingLaunchConfigurationDetails { s.AssociatePublicIpAddress = &v return s } // SetBlockDeviceMappings sets the BlockDeviceMappings field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetBlockDeviceMappings(v []*AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails) *AwsAutoScalingLaunchConfigurationDetails { s.BlockDeviceMappings = v return s } // SetClassicLinkVpcId sets the ClassicLinkVpcId field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetClassicLinkVpcId(v string) *AwsAutoScalingLaunchConfigurationDetails { s.ClassicLinkVpcId = &v return s } // SetClassicLinkVpcSecurityGroups sets the ClassicLinkVpcSecurityGroups field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetClassicLinkVpcSecurityGroups(v []*string) *AwsAutoScalingLaunchConfigurationDetails { s.ClassicLinkVpcSecurityGroups = v return s } // SetCreatedTime sets the CreatedTime field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetCreatedTime(v string) *AwsAutoScalingLaunchConfigurationDetails { s.CreatedTime = &v return s } // SetEbsOptimized sets the EbsOptimized field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetEbsOptimized(v bool) *AwsAutoScalingLaunchConfigurationDetails { s.EbsOptimized = &v return s } // SetIamInstanceProfile sets the IamInstanceProfile field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetIamInstanceProfile(v string) *AwsAutoScalingLaunchConfigurationDetails { s.IamInstanceProfile = &v return s } // SetImageId sets the ImageId field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetImageId(v string) *AwsAutoScalingLaunchConfigurationDetails { s.ImageId = &v return s } // SetInstanceMonitoring sets the InstanceMonitoring field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetInstanceMonitoring(v *AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails) *AwsAutoScalingLaunchConfigurationDetails { s.InstanceMonitoring = v return s } // SetInstanceType sets the InstanceType field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetInstanceType(v string) *AwsAutoScalingLaunchConfigurationDetails { s.InstanceType = &v return s } // SetKernelId sets the KernelId field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetKernelId(v string) *AwsAutoScalingLaunchConfigurationDetails { s.KernelId = &v return s } // SetKeyName sets the KeyName field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetKeyName(v string) *AwsAutoScalingLaunchConfigurationDetails { s.KeyName = &v return s } // SetLaunchConfigurationName sets the LaunchConfigurationName field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetLaunchConfigurationName(v string) *AwsAutoScalingLaunchConfigurationDetails { s.LaunchConfigurationName = &v return s } // SetMetadataOptions sets the MetadataOptions field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetMetadataOptions(v *AwsAutoScalingLaunchConfigurationMetadataOptions) *AwsAutoScalingLaunchConfigurationDetails { s.MetadataOptions = v return s } // SetPlacementTenancy sets the PlacementTenancy field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetPlacementTenancy(v string) *AwsAutoScalingLaunchConfigurationDetails { s.PlacementTenancy = &v return s } // SetRamdiskId sets the RamdiskId field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetRamdiskId(v string) *AwsAutoScalingLaunchConfigurationDetails { s.RamdiskId = &v return s } // SetSecurityGroups sets the SecurityGroups field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetSecurityGroups(v []*string) *AwsAutoScalingLaunchConfigurationDetails { s.SecurityGroups = v return s } // SetSpotPrice sets the SpotPrice field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetSpotPrice(v string) *AwsAutoScalingLaunchConfigurationDetails { s.SpotPrice = &v return s } // SetUserData sets the UserData field's value. func (s *AwsAutoScalingLaunchConfigurationDetails) SetUserData(v string) *AwsAutoScalingLaunchConfigurationDetails { s.UserData = &v return s } // Information about the type of monitoring for instances in the group. type AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails struct { _ struct{} `type:"structure"` // If set to true, then instances in the group launch with detailed monitoring. // // If set to false, then instances in the group launch with basic monitoring. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails) SetEnabled(v bool) *AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails { s.Enabled = &v return s } // The metadata options for the instances. type AwsAutoScalingLaunchConfigurationMetadataOptions struct { _ struct{} `type:"structure"` // Enables or disables the HTTP metadata endpoint on your instances. By default, // the metadata endpoint is enabled. HttpEndpoint *string `type:"string"` // The HTTP PUT response hop limit for instance metadata requests. The larger // the number, the further instance metadata requests can travel. HttpPutResponseHopLimit *int64 `type:"integer"` // Indicates whether token usage is required or optional for metadata requests. // By default, token usage is optional. HttpTokens *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationMetadataOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsAutoScalingLaunchConfigurationMetadataOptions) GoString() string { return s.String() } // SetHttpEndpoint sets the HttpEndpoint field's value. func (s *AwsAutoScalingLaunchConfigurationMetadataOptions) SetHttpEndpoint(v string) *AwsAutoScalingLaunchConfigurationMetadataOptions { s.HttpEndpoint = &v return s } // SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value. func (s *AwsAutoScalingLaunchConfigurationMetadataOptions) SetHttpPutResponseHopLimit(v int64) *AwsAutoScalingLaunchConfigurationMetadataOptions { s.HttpPutResponseHopLimit = &v return s } // SetHttpTokens sets the HttpTokens field's value. func (s *AwsAutoScalingLaunchConfigurationMetadataOptions) SetHttpTokens(v string) *AwsAutoScalingLaunchConfigurationMetadataOptions { s.HttpTokens = &v return s } // Provides a list of backup options for each resource type. type AwsBackupBackupPlanAdvancedBackupSettingsDetails struct { _ struct{} `type:"structure"` // Specifies the backup option for a selected resource. This option is only // available for Windows Volume Shadow Copy Service (VSS) backup jobs. Valid // values are as follows: // // * Set to WindowsVSS: enabled to enable the WindowsVSS backup option and // create a Windows VSS backup. // // * Set to WindowsVSS: disabled to create a regular backup. The WindowsVSS // option is not enabled by default. BackupOptions map[string]*string `type:"map"` // The name of a resource type. The only supported resource type is Amazon EC2 // instances with Windows VSS. // // The only valid value is EC2. ResourceType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanAdvancedBackupSettingsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanAdvancedBackupSettingsDetails) GoString() string { return s.String() } // SetBackupOptions sets the BackupOptions field's value. func (s *AwsBackupBackupPlanAdvancedBackupSettingsDetails) SetBackupOptions(v map[string]*string) *AwsBackupBackupPlanAdvancedBackupSettingsDetails { s.BackupOptions = v return s } // SetResourceType sets the ResourceType field's value. func (s *AwsBackupBackupPlanAdvancedBackupSettingsDetails) SetResourceType(v string) *AwsBackupBackupPlanAdvancedBackupSettingsDetails { s.ResourceType = &v return s } // Provides details about an Backup backup plan and an array of BackupRule objects, // each of which specifies a backup rule. type AwsBackupBackupPlanBackupPlanDetails struct { _ struct{} `type:"structure"` // A list of backup options for each resource type. AdvancedBackupSettings []*AwsBackupBackupPlanAdvancedBackupSettingsDetails `type:"list"` // The display name of a backup plan. BackupPlanName *string `type:"string"` // An array of BackupRule objects, each of which specifies a scheduled task // that is used to back up a selection of resources. BackupPlanRule []*AwsBackupBackupPlanRuleDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanBackupPlanDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanBackupPlanDetails) GoString() string { return s.String() } // SetAdvancedBackupSettings sets the AdvancedBackupSettings field's value. func (s *AwsBackupBackupPlanBackupPlanDetails) SetAdvancedBackupSettings(v []*AwsBackupBackupPlanAdvancedBackupSettingsDetails) *AwsBackupBackupPlanBackupPlanDetails { s.AdvancedBackupSettings = v return s } // SetBackupPlanName sets the BackupPlanName field's value. func (s *AwsBackupBackupPlanBackupPlanDetails) SetBackupPlanName(v string) *AwsBackupBackupPlanBackupPlanDetails { s.BackupPlanName = &v return s } // SetBackupPlanRule sets the BackupPlanRule field's value. func (s *AwsBackupBackupPlanBackupPlanDetails) SetBackupPlanRule(v []*AwsBackupBackupPlanRuleDetails) *AwsBackupBackupPlanBackupPlanDetails { s.BackupPlanRule = v return s } // Provides details about an Backup backup plan and an array of BackupRule objects, // each of which specifies a backup rule. type AwsBackupBackupPlanDetails struct { _ struct{} `type:"structure"` // Uniquely identifies the backup plan to be associated with the selection of // resources. BackupPlan *AwsBackupBackupPlanBackupPlanDetails `type:"structure"` // An Amazon Resource Name (ARN) that uniquely identifies the backup plan. BackupPlanArn *string `type:"string"` // A unique ID for the backup plan. BackupPlanId *string `type:"string"` // Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot // be edited. VersionId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanDetails) GoString() string { return s.String() } // SetBackupPlan sets the BackupPlan field's value. func (s *AwsBackupBackupPlanDetails) SetBackupPlan(v *AwsBackupBackupPlanBackupPlanDetails) *AwsBackupBackupPlanDetails { s.BackupPlan = v return s } // SetBackupPlanArn sets the BackupPlanArn field's value. func (s *AwsBackupBackupPlanDetails) SetBackupPlanArn(v string) *AwsBackupBackupPlanDetails { s.BackupPlanArn = &v return s } // SetBackupPlanId sets the BackupPlanId field's value. func (s *AwsBackupBackupPlanDetails) SetBackupPlanId(v string) *AwsBackupBackupPlanDetails { s.BackupPlanId = &v return s } // SetVersionId sets the VersionId field's value. func (s *AwsBackupBackupPlanDetails) SetVersionId(v string) *AwsBackupBackupPlanDetails { s.VersionId = &v return s } // Provides lifecycle details for the backup plan. A lifecycle defines when // a backup is transitioned to cold storage and when it expires. type AwsBackupBackupPlanLifecycleDetails struct { _ struct{} `type:"structure"` // Specifies the number of days after creation that a recovery point is deleted. // Must be greater than 90 days plus MoveToColdStorageAfterDays. DeleteAfterDays *int64 `type:"long"` // Specifies the number of days after creation that a recovery point is moved // to cold storage. MoveToColdStorageAfterDays *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanLifecycleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanLifecycleDetails) GoString() string { return s.String() } // SetDeleteAfterDays sets the DeleteAfterDays field's value. func (s *AwsBackupBackupPlanLifecycleDetails) SetDeleteAfterDays(v int64) *AwsBackupBackupPlanLifecycleDetails { s.DeleteAfterDays = &v return s } // SetMoveToColdStorageAfterDays sets the MoveToColdStorageAfterDays field's value. func (s *AwsBackupBackupPlanLifecycleDetails) SetMoveToColdStorageAfterDays(v int64) *AwsBackupBackupPlanLifecycleDetails { s.MoveToColdStorageAfterDays = &v return s } // An array of CopyAction objects, each of which contains details of the copy // operation. type AwsBackupBackupPlanRuleCopyActionsDetails struct { _ struct{} `type:"structure"` // An Amazon Resource Name (ARN) that uniquely identifies the destination backup // vault for the copied backup. DestinationBackupVaultArn *string `type:"string"` // Defines when a protected resource is transitioned to cold storage and when // it expires. Backup transitions and expires backups automatically according // to the lifecycle that you define. If you do not specify a lifecycle, Backup // applies the lifecycle policy of the source backup to the destination backup. // // Backups transitioned to cold storage must be stored in cold storage for a // minimum of 90 days. Lifecycle *AwsBackupBackupPlanLifecycleDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanRuleCopyActionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanRuleCopyActionsDetails) GoString() string { return s.String() } // SetDestinationBackupVaultArn sets the DestinationBackupVaultArn field's value. func (s *AwsBackupBackupPlanRuleCopyActionsDetails) SetDestinationBackupVaultArn(v string) *AwsBackupBackupPlanRuleCopyActionsDetails { s.DestinationBackupVaultArn = &v return s } // SetLifecycle sets the Lifecycle field's value. func (s *AwsBackupBackupPlanRuleCopyActionsDetails) SetLifecycle(v *AwsBackupBackupPlanLifecycleDetails) *AwsBackupBackupPlanRuleCopyActionsDetails { s.Lifecycle = v return s } // Provides details about an array of BackupRule objects, each of which specifies // a scheduled task that is used to back up a selection of resources. type AwsBackupBackupPlanRuleDetails struct { _ struct{} `type:"structure"` // A value in minutes after a backup job is successfully started before it must // be completed, or it is canceled by Backup. CompletionWindowMinutes *int64 `type:"long"` // An array of CopyAction objects, each of which contains details of the copy // operation. CopyActions []*AwsBackupBackupPlanRuleCopyActionsDetails `type:"list"` // Specifies whether Backup creates continuous backups capable of point-in-time // restore (PITR). EnableContinuousBackup *bool `type:"boolean"` // Defines when a protected resource is transitioned to cold storage and when // it expires. Backup transitions and expires backups automatically according // to the lifecycle that you define. If you do not specify a lifecycle, Backup // applies the lifecycle policy of the source backup to the destination backup. // // Backups transitioned to cold storage must be stored in cold storage for a // minimum of 90 days. Lifecycle *AwsBackupBackupPlanLifecycleDetails `type:"structure"` // Uniquely identifies a rule that is used to schedule the backup of a selection // of resources. RuleId *string `type:"string"` // A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' // characters. RuleName *string `type:"string"` // A cron expression in UTC specifying when Backup initiates a backup job. ScheduleExpression *string `type:"string"` // A value in minutes after a backup is scheduled before a job will be canceled // if it doesn't start successfully. StartWindowMinutes *int64 `type:"long"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the Amazon Web Services account used // to create them and the Amazon Web Services Region where they are created. // They consist of letters, numbers, and hyphens. TargetBackupVault *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanRuleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupPlanRuleDetails) GoString() string { return s.String() } // SetCompletionWindowMinutes sets the CompletionWindowMinutes field's value. func (s *AwsBackupBackupPlanRuleDetails) SetCompletionWindowMinutes(v int64) *AwsBackupBackupPlanRuleDetails { s.CompletionWindowMinutes = &v return s } // SetCopyActions sets the CopyActions field's value. func (s *AwsBackupBackupPlanRuleDetails) SetCopyActions(v []*AwsBackupBackupPlanRuleCopyActionsDetails) *AwsBackupBackupPlanRuleDetails { s.CopyActions = v return s } // SetEnableContinuousBackup sets the EnableContinuousBackup field's value. func (s *AwsBackupBackupPlanRuleDetails) SetEnableContinuousBackup(v bool) *AwsBackupBackupPlanRuleDetails { s.EnableContinuousBackup = &v return s } // SetLifecycle sets the Lifecycle field's value. func (s *AwsBackupBackupPlanRuleDetails) SetLifecycle(v *AwsBackupBackupPlanLifecycleDetails) *AwsBackupBackupPlanRuleDetails { s.Lifecycle = v return s } // SetRuleId sets the RuleId field's value. func (s *AwsBackupBackupPlanRuleDetails) SetRuleId(v string) *AwsBackupBackupPlanRuleDetails { s.RuleId = &v return s } // SetRuleName sets the RuleName field's value. func (s *AwsBackupBackupPlanRuleDetails) SetRuleName(v string) *AwsBackupBackupPlanRuleDetails { s.RuleName = &v return s } // SetScheduleExpression sets the ScheduleExpression field's value. func (s *AwsBackupBackupPlanRuleDetails) SetScheduleExpression(v string) *AwsBackupBackupPlanRuleDetails { s.ScheduleExpression = &v return s } // SetStartWindowMinutes sets the StartWindowMinutes field's value. func (s *AwsBackupBackupPlanRuleDetails) SetStartWindowMinutes(v int64) *AwsBackupBackupPlanRuleDetails { s.StartWindowMinutes = &v return s } // SetTargetBackupVault sets the TargetBackupVault field's value. func (s *AwsBackupBackupPlanRuleDetails) SetTargetBackupVault(v string) *AwsBackupBackupPlanRuleDetails { s.TargetBackupVault = &v return s } // Provides details about an Backup backup vault. In Backup, a backup vault // is a container that stores and organizes your backups. type AwsBackupBackupVaultDetails struct { _ struct{} `type:"structure"` // A resource-based policy that is used to manage access permissions on the // target backup vault. AccessPolicy *string `type:"string"` // An Amazon Resource Name (ARN) that uniquely identifies a backup vault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the Amazon Web Services account used // to create them and the Amazon Web Services Region where they are created. // They consist of lowercase letters, numbers, and hyphens. BackupVaultName *string `type:"string"` // The unique ARN associated with the server-side encryption key. You can specify // a key to encrypt your backups from services that support full Backup management. // If you do not specify a key, Backup creates an KMS key for you by default. EncryptionKeyArn *string `type:"string"` // The Amazon SNS event notifications for the specified backup vault. Notifications *AwsBackupBackupVaultNotificationsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupVaultDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupVaultDetails) GoString() string { return s.String() } // SetAccessPolicy sets the AccessPolicy field's value. func (s *AwsBackupBackupVaultDetails) SetAccessPolicy(v string) *AwsBackupBackupVaultDetails { s.AccessPolicy = &v return s } // SetBackupVaultArn sets the BackupVaultArn field's value. func (s *AwsBackupBackupVaultDetails) SetBackupVaultArn(v string) *AwsBackupBackupVaultDetails { s.BackupVaultArn = &v return s } // SetBackupVaultName sets the BackupVaultName field's value. func (s *AwsBackupBackupVaultDetails) SetBackupVaultName(v string) *AwsBackupBackupVaultDetails { s.BackupVaultName = &v return s } // SetEncryptionKeyArn sets the EncryptionKeyArn field's value. func (s *AwsBackupBackupVaultDetails) SetEncryptionKeyArn(v string) *AwsBackupBackupVaultDetails { s.EncryptionKeyArn = &v return s } // SetNotifications sets the Notifications field's value. func (s *AwsBackupBackupVaultDetails) SetNotifications(v *AwsBackupBackupVaultNotificationsDetails) *AwsBackupBackupVaultDetails { s.Notifications = v return s } // Provides details about the Amazon SNS event notifications for the specified // backup vault. type AwsBackupBackupVaultNotificationsDetails struct { _ struct{} `type:"structure"` // An array of events that indicate the status of jobs to back up resources // to the backup vault. The following events are supported: // // * BACKUP_JOB_STARTED | BACKUP_JOB_COMPLETED // // * COPY_JOB_STARTED | COPY_JOB_SUCCESSFUL | COPY_JOB_FAILED // // * RESTORE_JOB_STARTED | RESTORE_JOB_COMPLETED | RECOVERY_POINT_MODIFIED // // * S3_BACKUP_OBJECT_FAILED | S3_RESTORE_OBJECT_FAILED BackupVaultEvents []*string `type:"list"` // The Amazon Resource Name (ARN) that uniquely identifies the Amazon SNS topic // for a backup vault's events. SnsTopicArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupVaultNotificationsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupBackupVaultNotificationsDetails) GoString() string { return s.String() } // SetBackupVaultEvents sets the BackupVaultEvents field's value. func (s *AwsBackupBackupVaultNotificationsDetails) SetBackupVaultEvents(v []*string) *AwsBackupBackupVaultNotificationsDetails { s.BackupVaultEvents = v return s } // SetSnsTopicArn sets the SnsTopicArn field's value. func (s *AwsBackupBackupVaultNotificationsDetails) SetSnsTopicArn(v string) *AwsBackupBackupVaultNotificationsDetails { s.SnsTopicArn = &v return s } // Specifies how long in days before a recovery point transitions to cold storage // or is deleted. type AwsBackupRecoveryPointCalculatedLifecycleDetails struct { _ struct{} `type:"structure"` // Specifies the number of days after creation that a recovery point is deleted. // Must be greater than 90 days plus MoveToColdStorageAfterDays. DeleteAt *string `type:"string"` // Specifies the number of days after creation that a recovery point is moved // to cold storage. MoveToColdStorageAt *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointCalculatedLifecycleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointCalculatedLifecycleDetails) GoString() string { return s.String() } // SetDeleteAt sets the DeleteAt field's value. func (s *AwsBackupRecoveryPointCalculatedLifecycleDetails) SetDeleteAt(v string) *AwsBackupRecoveryPointCalculatedLifecycleDetails { s.DeleteAt = &v return s } // SetMoveToColdStorageAt sets the MoveToColdStorageAt field's value. func (s *AwsBackupRecoveryPointCalculatedLifecycleDetails) SetMoveToColdStorageAt(v string) *AwsBackupRecoveryPointCalculatedLifecycleDetails { s.MoveToColdStorageAt = &v return s } // Contains information about the backup plan and rule that Backup used to initiate // the recovery point backup. type AwsBackupRecoveryPointCreatedByDetails struct { _ struct{} `type:"structure"` // An Amazon Resource Name (ARN) that uniquely identifies a backup plan. BackupPlanArn *string `type:"string"` // Uniquely identifies a backup plan. BackupPlanId *string `type:"string"` // Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most // 1,024 bytes long. Version IDs cannot be edited. BackupPlanVersion *string `type:"string"` // Uniquely identifies a rule used to schedule the backup of a selection of // resources. BackupRuleId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointCreatedByDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointCreatedByDetails) GoString() string { return s.String() } // SetBackupPlanArn sets the BackupPlanArn field's value. func (s *AwsBackupRecoveryPointCreatedByDetails) SetBackupPlanArn(v string) *AwsBackupRecoveryPointCreatedByDetails { s.BackupPlanArn = &v return s } // SetBackupPlanId sets the BackupPlanId field's value. func (s *AwsBackupRecoveryPointCreatedByDetails) SetBackupPlanId(v string) *AwsBackupRecoveryPointCreatedByDetails { s.BackupPlanId = &v return s } // SetBackupPlanVersion sets the BackupPlanVersion field's value. func (s *AwsBackupRecoveryPointCreatedByDetails) SetBackupPlanVersion(v string) *AwsBackupRecoveryPointCreatedByDetails { s.BackupPlanVersion = &v return s } // SetBackupRuleId sets the BackupRuleId field's value. func (s *AwsBackupRecoveryPointCreatedByDetails) SetBackupRuleId(v string) *AwsBackupRecoveryPointCreatedByDetails { s.BackupRuleId = &v return s } // Contains detailed information about the recovery points stored in an Backup // backup vault. A backup, or recovery point, represents the content of a resource // at a specified time. type AwsBackupRecoveryPointDetails struct { _ struct{} `type:"structure"` // The size, in bytes, of a backup. BackupSizeInBytes *int64 `type:"long"` // An Amazon Resource Name (ARN) that uniquely identifies a backup vault. BackupVaultArn *string `type:"string"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the Amazon Web Services account used // to create them and the Amazon Web Services Region where they are created. // They consist of lowercase letters, numbers, and hyphens. BackupVaultName *string `type:"string"` // A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt // timestamps. CalculatedLifecycle *AwsBackupRecoveryPointCalculatedLifecycleDetails `type:"structure"` // The date and time that a job to create a recovery point is completed, in // Unix format and UTC. The value of CompletionDate is accurate to milliseconds. // For example, the value 1516925490.087 represents Friday, January 26, 2018 // 12:11:30.087 AM. CompletionDate *string `type:"string"` // Contains identifying information about the creation of a recovery point, // including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId // of the backup plan that is used to create it. CreatedBy *AwsBackupRecoveryPointCreatedByDetails `type:"structure"` // The date and time a recovery point is created, in Unix format and UTC. The // value of CreationDate is accurate to milliseconds. For example, the value // 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM. CreationDate *string `type:"string"` // The ARN for the server-side encryption key that is used to protect your backups. EncryptionKeyArn *string `type:"string"` // Specifies the IAM role ARN used to create the target recovery point IamRoleArn *string `type:"string"` // A Boolean value that is returned as TRUE if the specified recovery point // is encrypted, or FALSE if the recovery point is not encrypted. IsEncrypted *bool `type:"boolean"` // The date and time that a recovery point was last restored, in Unix format // and UTC. The value of LastRestoreTime is accurate to milliseconds. For example, // the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 // AM. LastRestoreTime *string `type:"string"` // The lifecycle defines when a protected resource is transitioned to cold storage // and when it expires. Backup transitions and expires backups automatically // according to the lifecycle that you define Lifecycle *AwsBackupRecoveryPointLifecycleDetails `type:"structure"` // An ARN that uniquely identifies a recovery point. RecoveryPointArn *string `type:"string"` // An ARN that uniquely identifies a resource. The format of the ARN depends // on the resource type. ResourceArn *string `type:"string"` // The type of Amazon Web Services resource saved as a recovery point, such // as an Amazon EBS volume or an Amazon RDS database. ResourceType *string `type:"string"` // The ARN for the backup vault where the recovery point was originally copied // from. If the recovery point is restored to the same account, this value will // be null. SourceBackupVaultArn *string `type:"string"` // A status code specifying the state of the recovery point. Valid values are // as follows: // // * COMPLETED // // * DELETING // // * EXPIRED // // * PARTIAL Status *string `type:"string"` // A message explaining the reason of the recovery point deletion failure. StatusMessage *string `type:"string"` // Specifies the storage class of the recovery point. Valid values are as follows: // // * COLD // // * DELETED // // * WARM StorageClass *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointDetails) GoString() string { return s.String() } // SetBackupSizeInBytes sets the BackupSizeInBytes field's value. func (s *AwsBackupRecoveryPointDetails) SetBackupSizeInBytes(v int64) *AwsBackupRecoveryPointDetails { s.BackupSizeInBytes = &v return s } // SetBackupVaultArn sets the BackupVaultArn field's value. func (s *AwsBackupRecoveryPointDetails) SetBackupVaultArn(v string) *AwsBackupRecoveryPointDetails { s.BackupVaultArn = &v return s } // SetBackupVaultName sets the BackupVaultName field's value. func (s *AwsBackupRecoveryPointDetails) SetBackupVaultName(v string) *AwsBackupRecoveryPointDetails { s.BackupVaultName = &v return s } // SetCalculatedLifecycle sets the CalculatedLifecycle field's value. func (s *AwsBackupRecoveryPointDetails) SetCalculatedLifecycle(v *AwsBackupRecoveryPointCalculatedLifecycleDetails) *AwsBackupRecoveryPointDetails { s.CalculatedLifecycle = v return s } // SetCompletionDate sets the CompletionDate field's value. func (s *AwsBackupRecoveryPointDetails) SetCompletionDate(v string) *AwsBackupRecoveryPointDetails { s.CompletionDate = &v return s } // SetCreatedBy sets the CreatedBy field's value. func (s *AwsBackupRecoveryPointDetails) SetCreatedBy(v *AwsBackupRecoveryPointCreatedByDetails) *AwsBackupRecoveryPointDetails { s.CreatedBy = v return s } // SetCreationDate sets the CreationDate field's value. func (s *AwsBackupRecoveryPointDetails) SetCreationDate(v string) *AwsBackupRecoveryPointDetails { s.CreationDate = &v return s } // SetEncryptionKeyArn sets the EncryptionKeyArn field's value. func (s *AwsBackupRecoveryPointDetails) SetEncryptionKeyArn(v string) *AwsBackupRecoveryPointDetails { s.EncryptionKeyArn = &v return s } // SetIamRoleArn sets the IamRoleArn field's value. func (s *AwsBackupRecoveryPointDetails) SetIamRoleArn(v string) *AwsBackupRecoveryPointDetails { s.IamRoleArn = &v return s } // SetIsEncrypted sets the IsEncrypted field's value. func (s *AwsBackupRecoveryPointDetails) SetIsEncrypted(v bool) *AwsBackupRecoveryPointDetails { s.IsEncrypted = &v return s } // SetLastRestoreTime sets the LastRestoreTime field's value. func (s *AwsBackupRecoveryPointDetails) SetLastRestoreTime(v string) *AwsBackupRecoveryPointDetails { s.LastRestoreTime = &v return s } // SetLifecycle sets the Lifecycle field's value. func (s *AwsBackupRecoveryPointDetails) SetLifecycle(v *AwsBackupRecoveryPointLifecycleDetails) *AwsBackupRecoveryPointDetails { s.Lifecycle = v return s } // SetRecoveryPointArn sets the RecoveryPointArn field's value. func (s *AwsBackupRecoveryPointDetails) SetRecoveryPointArn(v string) *AwsBackupRecoveryPointDetails { s.RecoveryPointArn = &v return s } // SetResourceArn sets the ResourceArn field's value. func (s *AwsBackupRecoveryPointDetails) SetResourceArn(v string) *AwsBackupRecoveryPointDetails { s.ResourceArn = &v return s } // SetResourceType sets the ResourceType field's value. func (s *AwsBackupRecoveryPointDetails) SetResourceType(v string) *AwsBackupRecoveryPointDetails { s.ResourceType = &v return s } // SetSourceBackupVaultArn sets the SourceBackupVaultArn field's value. func (s *AwsBackupRecoveryPointDetails) SetSourceBackupVaultArn(v string) *AwsBackupRecoveryPointDetails { s.SourceBackupVaultArn = &v return s } // SetStatus sets the Status field's value. func (s *AwsBackupRecoveryPointDetails) SetStatus(v string) *AwsBackupRecoveryPointDetails { s.Status = &v return s } // SetStatusMessage sets the StatusMessage field's value. func (s *AwsBackupRecoveryPointDetails) SetStatusMessage(v string) *AwsBackupRecoveryPointDetails { s.StatusMessage = &v return s } // SetStorageClass sets the StorageClass field's value. func (s *AwsBackupRecoveryPointDetails) SetStorageClass(v string) *AwsBackupRecoveryPointDetails { s.StorageClass = &v return s } // Contains an array of Transition objects specifying how long in days before // a recovery point transitions to cold storage or is deleted. type AwsBackupRecoveryPointLifecycleDetails struct { _ struct{} `type:"structure"` // Specifies the number of days after creation that a recovery point is deleted. // Must be greater than 90 days plus MoveToColdStorageAfterDays. DeleteAfterDays *int64 `type:"long"` // Specifies the number of days after creation that a recovery point is moved // to cold storage. MoveToColdStorageAfterDays *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointLifecycleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsBackupRecoveryPointLifecycleDetails) GoString() string { return s.String() } // SetDeleteAfterDays sets the DeleteAfterDays field's value. func (s *AwsBackupRecoveryPointLifecycleDetails) SetDeleteAfterDays(v int64) *AwsBackupRecoveryPointLifecycleDetails { s.DeleteAfterDays = &v return s } // SetMoveToColdStorageAfterDays sets the MoveToColdStorageAfterDays field's value. func (s *AwsBackupRecoveryPointLifecycleDetails) SetMoveToColdStorageAfterDays(v int64) *AwsBackupRecoveryPointLifecycleDetails { s.MoveToColdStorageAfterDays = &v return s } // Provides details about an Certificate Manager certificate. type AwsCertificateManagerCertificateDetails struct { _ struct{} `type:"structure"` // The ARN of the private certificate authority (CA) that will be used to issue // the certificate. CertificateAuthorityArn *string `type:"string"` // Indicates when the certificate was requested. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedAt *string `type:"string"` // The fully qualified domain name (FQDN), such as www.example.com, that is // secured by the certificate. DomainName *string `type:"string"` // Contains information about the initial validation of each domain name that // occurs as a result of the RequestCertificate request. // // Only provided if the certificate type is AMAZON_ISSUED. DomainValidationOptions []*AwsCertificateManagerCertificateDomainValidationOption `type:"list"` // Contains a list of Extended Key Usage X.509 v3 extension objects. Each object // specifies a purpose for which the certificate public key can be used and // consists of a name and an object identifier (OID). ExtendedKeyUsages []*AwsCertificateManagerCertificateExtendedKeyUsage `type:"list"` // For a failed certificate request, the reason for the failure. // // Valid values: NO_AVAILABLE_CONTACTS | ADDITIONAL_VERIFICATION_REQUIRED | // DOMAIN_NOT_ALLOWED | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | CAA_ERROR // | PCA_LIMIT_EXCEEDED | PCA_INVALID_ARN | PCA_INVALID_STATE | PCA_REQUEST_FAILED // | PCA_NAME_CONSTRAINTS_VALIDATION | PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS // | PCA_INVALID_DURATION | PCA_ACCESS_DENIED | SLR_NOT_FOUND | OTHER FailureReason *string `type:"string"` // Indicates when the certificate was imported. Provided if the certificate // type is IMPORTED. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ImportedAt *string `type:"string"` // The list of ARNs for the Amazon Web Services resources that use the certificate. InUseBy []*string `type:"list"` // Indicates when the certificate was issued. Provided if the certificate type // is AMAZON_ISSUED. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) IssuedAt *string `type:"string"` // The name of the certificate authority that issued and signed the certificate. Issuer *string `type:"string"` // The algorithm that was used to generate the public-private key pair. // // Valid values: RSA_2048 | RSA_1024 |RSA_4096 | EC_prime256v1 | EC_secp384r1 // | EC_secp521r1 KeyAlgorithm *string `type:"string"` // A list of key usage X.509 v3 extension objects. KeyUsages []*AwsCertificateManagerCertificateKeyUsage `type:"list"` // The time after which the certificate becomes invalid. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) NotAfter *string `type:"string"` // The time before which the certificate is not valid. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) NotBefore *string `type:"string"` // Provides a value that specifies whether to add the certificate to a transparency // log. Options *AwsCertificateManagerCertificateOptions `type:"structure"` // Whether the certificate is eligible for renewal. // // Valid values: ELIGIBLE | INELIGIBLE RenewalEligibility *string `type:"string"` // Information about the status of the Certificate Manager managed renewal for // the certificate. Provided only when the certificate type is AMAZON_ISSUED. RenewalSummary *AwsCertificateManagerCertificateRenewalSummary `type:"structure"` // The serial number of the certificate. Serial *string `type:"string"` // The algorithm that was used to sign the certificate. SignatureAlgorithm *string `type:"string"` // The status of the certificate. // // Valid values: PENDING_VALIDATION | ISSUED | INACTIVE | EXPIRED | VALIDATION_TIMED_OUT // | REVOKED | FAILED Status *string `type:"string"` // The name of the entity that is associated with the public key contained in // the certificate. Subject *string `type:"string"` // One or more domain names (subject alternative names) included in the certificate. // This list contains the domain names that are bound to the public key that // is contained in the certificate. // // The subject alternative names include the canonical domain name (CN) of the // certificate and additional domain names that can be used to connect to the // website. SubjectAlternativeNames []*string `type:"list"` // The source of the certificate. For certificates that Certificate Manager // provides, Type is AMAZON_ISSUED. For certificates that are imported with // ImportCertificate, Type is IMPORTED. // // Valid values: IMPORTED | AMAZON_ISSUED | PRIVATE Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateDetails) GoString() string { return s.String() } // SetCertificateAuthorityArn sets the CertificateAuthorityArn field's value. func (s *AwsCertificateManagerCertificateDetails) SetCertificateAuthorityArn(v string) *AwsCertificateManagerCertificateDetails { s.CertificateAuthorityArn = &v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AwsCertificateManagerCertificateDetails) SetCreatedAt(v string) *AwsCertificateManagerCertificateDetails { s.CreatedAt = &v return s } // SetDomainName sets the DomainName field's value. func (s *AwsCertificateManagerCertificateDetails) SetDomainName(v string) *AwsCertificateManagerCertificateDetails { s.DomainName = &v return s } // SetDomainValidationOptions sets the DomainValidationOptions field's value. func (s *AwsCertificateManagerCertificateDetails) SetDomainValidationOptions(v []*AwsCertificateManagerCertificateDomainValidationOption) *AwsCertificateManagerCertificateDetails { s.DomainValidationOptions = v return s } // SetExtendedKeyUsages sets the ExtendedKeyUsages field's value. func (s *AwsCertificateManagerCertificateDetails) SetExtendedKeyUsages(v []*AwsCertificateManagerCertificateExtendedKeyUsage) *AwsCertificateManagerCertificateDetails { s.ExtendedKeyUsages = v return s } // SetFailureReason sets the FailureReason field's value. func (s *AwsCertificateManagerCertificateDetails) SetFailureReason(v string) *AwsCertificateManagerCertificateDetails { s.FailureReason = &v return s } // SetImportedAt sets the ImportedAt field's value. func (s *AwsCertificateManagerCertificateDetails) SetImportedAt(v string) *AwsCertificateManagerCertificateDetails { s.ImportedAt = &v return s } // SetInUseBy sets the InUseBy field's value. func (s *AwsCertificateManagerCertificateDetails) SetInUseBy(v []*string) *AwsCertificateManagerCertificateDetails { s.InUseBy = v return s } // SetIssuedAt sets the IssuedAt field's value. func (s *AwsCertificateManagerCertificateDetails) SetIssuedAt(v string) *AwsCertificateManagerCertificateDetails { s.IssuedAt = &v return s } // SetIssuer sets the Issuer field's value. func (s *AwsCertificateManagerCertificateDetails) SetIssuer(v string) *AwsCertificateManagerCertificateDetails { s.Issuer = &v return s } // SetKeyAlgorithm sets the KeyAlgorithm field's value. func (s *AwsCertificateManagerCertificateDetails) SetKeyAlgorithm(v string) *AwsCertificateManagerCertificateDetails { s.KeyAlgorithm = &v return s } // SetKeyUsages sets the KeyUsages field's value. func (s *AwsCertificateManagerCertificateDetails) SetKeyUsages(v []*AwsCertificateManagerCertificateKeyUsage) *AwsCertificateManagerCertificateDetails { s.KeyUsages = v return s } // SetNotAfter sets the NotAfter field's value. func (s *AwsCertificateManagerCertificateDetails) SetNotAfter(v string) *AwsCertificateManagerCertificateDetails { s.NotAfter = &v return s } // SetNotBefore sets the NotBefore field's value. func (s *AwsCertificateManagerCertificateDetails) SetNotBefore(v string) *AwsCertificateManagerCertificateDetails { s.NotBefore = &v return s } // SetOptions sets the Options field's value. func (s *AwsCertificateManagerCertificateDetails) SetOptions(v *AwsCertificateManagerCertificateOptions) *AwsCertificateManagerCertificateDetails { s.Options = v return s } // SetRenewalEligibility sets the RenewalEligibility field's value. func (s *AwsCertificateManagerCertificateDetails) SetRenewalEligibility(v string) *AwsCertificateManagerCertificateDetails { s.RenewalEligibility = &v return s } // SetRenewalSummary sets the RenewalSummary field's value. func (s *AwsCertificateManagerCertificateDetails) SetRenewalSummary(v *AwsCertificateManagerCertificateRenewalSummary) *AwsCertificateManagerCertificateDetails { s.RenewalSummary = v return s } // SetSerial sets the Serial field's value. func (s *AwsCertificateManagerCertificateDetails) SetSerial(v string) *AwsCertificateManagerCertificateDetails { s.Serial = &v return s } // SetSignatureAlgorithm sets the SignatureAlgorithm field's value. func (s *AwsCertificateManagerCertificateDetails) SetSignatureAlgorithm(v string) *AwsCertificateManagerCertificateDetails { s.SignatureAlgorithm = &v return s } // SetStatus sets the Status field's value. func (s *AwsCertificateManagerCertificateDetails) SetStatus(v string) *AwsCertificateManagerCertificateDetails { s.Status = &v return s } // SetSubject sets the Subject field's value. func (s *AwsCertificateManagerCertificateDetails) SetSubject(v string) *AwsCertificateManagerCertificateDetails { s.Subject = &v return s } // SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value. func (s *AwsCertificateManagerCertificateDetails) SetSubjectAlternativeNames(v []*string) *AwsCertificateManagerCertificateDetails { s.SubjectAlternativeNames = v return s } // SetType sets the Type field's value. func (s *AwsCertificateManagerCertificateDetails) SetType(v string) *AwsCertificateManagerCertificateDetails { s.Type = &v return s } // Contains information about one of the following: // // - The initial validation of each domain name that occurs as a result of // the RequestCertificate request // // - The validation of each domain name in the certificate, as it pertains // to Certificate Manager managed renewal type AwsCertificateManagerCertificateDomainValidationOption struct { _ struct{} `type:"structure"` // A fully qualified domain name (FQDN) in the certificate. DomainName *string `type:"string"` // The CNAME record that is added to the DNS database for domain validation. ResourceRecord *AwsCertificateManagerCertificateResourceRecord `type:"structure"` // The domain name that Certificate Manager uses to send domain validation emails. ValidationDomain *string `type:"string"` // A list of email addresses that Certificate Manager uses to send domain validation // emails. ValidationEmails []*string `type:"list"` // The method used to validate the domain name. ValidationMethod *string `type:"string"` // The validation status of the domain name. ValidationStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateDomainValidationOption) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateDomainValidationOption) GoString() string { return s.String() } // SetDomainName sets the DomainName field's value. func (s *AwsCertificateManagerCertificateDomainValidationOption) SetDomainName(v string) *AwsCertificateManagerCertificateDomainValidationOption { s.DomainName = &v return s } // SetResourceRecord sets the ResourceRecord field's value. func (s *AwsCertificateManagerCertificateDomainValidationOption) SetResourceRecord(v *AwsCertificateManagerCertificateResourceRecord) *AwsCertificateManagerCertificateDomainValidationOption { s.ResourceRecord = v return s } // SetValidationDomain sets the ValidationDomain field's value. func (s *AwsCertificateManagerCertificateDomainValidationOption) SetValidationDomain(v string) *AwsCertificateManagerCertificateDomainValidationOption { s.ValidationDomain = &v return s } // SetValidationEmails sets the ValidationEmails field's value. func (s *AwsCertificateManagerCertificateDomainValidationOption) SetValidationEmails(v []*string) *AwsCertificateManagerCertificateDomainValidationOption { s.ValidationEmails = v return s } // SetValidationMethod sets the ValidationMethod field's value. func (s *AwsCertificateManagerCertificateDomainValidationOption) SetValidationMethod(v string) *AwsCertificateManagerCertificateDomainValidationOption { s.ValidationMethod = &v return s } // SetValidationStatus sets the ValidationStatus field's value. func (s *AwsCertificateManagerCertificateDomainValidationOption) SetValidationStatus(v string) *AwsCertificateManagerCertificateDomainValidationOption { s.ValidationStatus = &v return s } // Contains information about an extended key usage X.509 v3 extension object. type AwsCertificateManagerCertificateExtendedKeyUsage struct { _ struct{} `type:"structure"` // The name of an extension value. Indicates the purpose for which the certificate // public key can be used. Name *string `type:"string"` // An object identifier (OID) for the extension value. // // The format is numbers separated by periods. OId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateExtendedKeyUsage) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateExtendedKeyUsage) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsCertificateManagerCertificateExtendedKeyUsage) SetName(v string) *AwsCertificateManagerCertificateExtendedKeyUsage { s.Name = &v return s } // SetOId sets the OId field's value. func (s *AwsCertificateManagerCertificateExtendedKeyUsage) SetOId(v string) *AwsCertificateManagerCertificateExtendedKeyUsage { s.OId = &v return s } // Contains information about a key usage X.509 v3 extension object. type AwsCertificateManagerCertificateKeyUsage struct { _ struct{} `type:"structure"` // The key usage extension name. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateKeyUsage) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateKeyUsage) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsCertificateManagerCertificateKeyUsage) SetName(v string) *AwsCertificateManagerCertificateKeyUsage { s.Name = &v return s } // Contains other options for the certificate. type AwsCertificateManagerCertificateOptions struct { _ struct{} `type:"structure"` // Whether to add the certificate to a transparency log. // // Valid values: DISABLED | ENABLED CertificateTransparencyLoggingPreference *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateOptions) GoString() string { return s.String() } // SetCertificateTransparencyLoggingPreference sets the CertificateTransparencyLoggingPreference field's value. func (s *AwsCertificateManagerCertificateOptions) SetCertificateTransparencyLoggingPreference(v string) *AwsCertificateManagerCertificateOptions { s.CertificateTransparencyLoggingPreference = &v return s } // Contains information about the Certificate Manager managed renewal for an // AMAZON_ISSUED certificate. type AwsCertificateManagerCertificateRenewalSummary struct { _ struct{} `type:"structure"` // Information about the validation of each domain name in the certificate, // as it pertains to Certificate Manager managed renewal. Provided only when // the certificate type is AMAZON_ISSUED. DomainValidationOptions []*AwsCertificateManagerCertificateDomainValidationOption `type:"list"` // The status of the Certificate Manager managed renewal of the certificate. // // Valid values: PENDING_AUTO_RENEWAL | PENDING_VALIDATION | SUCCESS | FAILED RenewalStatus *string `type:"string"` // The reason that a renewal request was unsuccessful. This attribute is used // only when RenewalStatus is FAILED. // // Valid values: NO_AVAILABLE_CONTACTS | ADDITIONAL_VERIFICATION_REQUIRED | // DOMAIN_NOT_ALLOWED | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED | CAA_ERROR // | PCA_LIMIT_EXCEEDED | PCA_INVALID_ARN | PCA_INVALID_STATE | PCA_REQUEST_FAILED // | PCA_NAME_CONSTRAINTS_VALIDATION | PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS // | PCA_INVALID_DURATION | PCA_ACCESS_DENIED | SLR_NOT_FOUND | OTHER RenewalStatusReason *string `type:"string"` // Indicates when the renewal summary was last updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) UpdatedAt *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateRenewalSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateRenewalSummary) GoString() string { return s.String() } // SetDomainValidationOptions sets the DomainValidationOptions field's value. func (s *AwsCertificateManagerCertificateRenewalSummary) SetDomainValidationOptions(v []*AwsCertificateManagerCertificateDomainValidationOption) *AwsCertificateManagerCertificateRenewalSummary { s.DomainValidationOptions = v return s } // SetRenewalStatus sets the RenewalStatus field's value. func (s *AwsCertificateManagerCertificateRenewalSummary) SetRenewalStatus(v string) *AwsCertificateManagerCertificateRenewalSummary { s.RenewalStatus = &v return s } // SetRenewalStatusReason sets the RenewalStatusReason field's value. func (s *AwsCertificateManagerCertificateRenewalSummary) SetRenewalStatusReason(v string) *AwsCertificateManagerCertificateRenewalSummary { s.RenewalStatusReason = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *AwsCertificateManagerCertificateRenewalSummary) SetUpdatedAt(v string) *AwsCertificateManagerCertificateRenewalSummary { s.UpdatedAt = &v return s } // Provides details about the CNAME record that is added to the DNS database // for domain validation. type AwsCertificateManagerCertificateResourceRecord struct { _ struct{} `type:"structure"` // The name of the resource. Name *string `type:"string"` // The type of resource. Type *string `type:"string"` // The value of the resource. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateResourceRecord) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCertificateManagerCertificateResourceRecord) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsCertificateManagerCertificateResourceRecord) SetName(v string) *AwsCertificateManagerCertificateResourceRecord { s.Name = &v return s } // SetType sets the Type field's value. func (s *AwsCertificateManagerCertificateResourceRecord) SetType(v string) *AwsCertificateManagerCertificateResourceRecord { s.Type = &v return s } // SetValue sets the Value field's value. func (s *AwsCertificateManagerCertificateResourceRecord) SetValue(v string) *AwsCertificateManagerCertificateResourceRecord { s.Value = &v return s } // Nests a stack as a resource in a top-level template. Nested stacks are stacks // created as resources for another stack. type AwsCloudFormationStackDetails struct { _ struct{} `type:"structure"` // The capabilities allowed in the stack. Capabilities []*string `type:"list"` // The time at which the stack was created. CreationTime *string `type:"string"` // A user-defined description associated with the stack. Description *string `type:"string"` // Boolean to enable or disable rollback on stack creation failures. DisableRollback *bool `type:"boolean"` // Information about whether a stack's actual configuration differs, or has // drifted, from its expected configuration, as defined in the stack template // and any values specified as template parameters. DriftInformation *AwsCloudFormationStackDriftInformationDetails `type:"structure"` // Whether termination protection is enabled for the stack. EnableTerminationProtection *bool `type:"boolean"` // The time the nested stack was last updated. This field will only be returned // if the stack has been updated at least once. LastUpdatedTime *string `type:"string"` // The Amazon Resource Names (ARNs) of the Amazon SNS topic to which stack-related // events are published. NotificationArns []*string `type:"list"` // A list of output structures. Outputs []*AwsCloudFormationStackOutputsDetails `type:"list"` // The ARN of an IAM role that's associated with the stack. RoleArn *string `type:"string"` // Unique identifier of the stack. StackId *string `type:"string"` // The name associated with the stack. StackName *string `type:"string"` // Current status of the stack. StackStatus *string `type:"string"` // Success or failure message associated with the stack status. StackStatusReason *string `type:"string"` // The length of time, in minutes, that CloudFormation waits for the nested // stack to reach the CREATE_COMPLETE state. TimeoutInMinutes *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFormationStackDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFormationStackDetails) GoString() string { return s.String() } // SetCapabilities sets the Capabilities field's value. func (s *AwsCloudFormationStackDetails) SetCapabilities(v []*string) *AwsCloudFormationStackDetails { s.Capabilities = v return s } // SetCreationTime sets the CreationTime field's value. func (s *AwsCloudFormationStackDetails) SetCreationTime(v string) *AwsCloudFormationStackDetails { s.CreationTime = &v return s } // SetDescription sets the Description field's value. func (s *AwsCloudFormationStackDetails) SetDescription(v string) *AwsCloudFormationStackDetails { s.Description = &v return s } // SetDisableRollback sets the DisableRollback field's value. func (s *AwsCloudFormationStackDetails) SetDisableRollback(v bool) *AwsCloudFormationStackDetails { s.DisableRollback = &v return s } // SetDriftInformation sets the DriftInformation field's value. func (s *AwsCloudFormationStackDetails) SetDriftInformation(v *AwsCloudFormationStackDriftInformationDetails) *AwsCloudFormationStackDetails { s.DriftInformation = v return s } // SetEnableTerminationProtection sets the EnableTerminationProtection field's value. func (s *AwsCloudFormationStackDetails) SetEnableTerminationProtection(v bool) *AwsCloudFormationStackDetails { s.EnableTerminationProtection = &v return s } // SetLastUpdatedTime sets the LastUpdatedTime field's value. func (s *AwsCloudFormationStackDetails) SetLastUpdatedTime(v string) *AwsCloudFormationStackDetails { s.LastUpdatedTime = &v return s } // SetNotificationArns sets the NotificationArns field's value. func (s *AwsCloudFormationStackDetails) SetNotificationArns(v []*string) *AwsCloudFormationStackDetails { s.NotificationArns = v return s } // SetOutputs sets the Outputs field's value. func (s *AwsCloudFormationStackDetails) SetOutputs(v []*AwsCloudFormationStackOutputsDetails) *AwsCloudFormationStackDetails { s.Outputs = v return s } // SetRoleArn sets the RoleArn field's value. func (s *AwsCloudFormationStackDetails) SetRoleArn(v string) *AwsCloudFormationStackDetails { s.RoleArn = &v return s } // SetStackId sets the StackId field's value. func (s *AwsCloudFormationStackDetails) SetStackId(v string) *AwsCloudFormationStackDetails { s.StackId = &v return s } // SetStackName sets the StackName field's value. func (s *AwsCloudFormationStackDetails) SetStackName(v string) *AwsCloudFormationStackDetails { s.StackName = &v return s } // SetStackStatus sets the StackStatus field's value. func (s *AwsCloudFormationStackDetails) SetStackStatus(v string) *AwsCloudFormationStackDetails { s.StackStatus = &v return s } // SetStackStatusReason sets the StackStatusReason field's value. func (s *AwsCloudFormationStackDetails) SetStackStatusReason(v string) *AwsCloudFormationStackDetails { s.StackStatusReason = &v return s } // SetTimeoutInMinutes sets the TimeoutInMinutes field's value. func (s *AwsCloudFormationStackDetails) SetTimeoutInMinutes(v int64) *AwsCloudFormationStackDetails { s.TimeoutInMinutes = &v return s } // Provides information about the stack's conformity to its expected template // configuration. type AwsCloudFormationStackDriftInformationDetails struct { _ struct{} `type:"structure"` // Status of the stack's actual configuration compared to its expected template // configuration. StackDriftStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFormationStackDriftInformationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFormationStackDriftInformationDetails) GoString() string { return s.String() } // SetStackDriftStatus sets the StackDriftStatus field's value. func (s *AwsCloudFormationStackDriftInformationDetails) SetStackDriftStatus(v string) *AwsCloudFormationStackDriftInformationDetails { s.StackDriftStatus = &v return s } // Provides information about the CloudFormation stack output. type AwsCloudFormationStackOutputsDetails struct { _ struct{} `type:"structure"` // A user-defined description associated with the output. Description *string `type:"string"` // The key associated with the output. OutputKey *string `type:"string"` // The value associated with the output. OutputValue *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFormationStackOutputsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFormationStackOutputsDetails) GoString() string { return s.String() } // SetDescription sets the Description field's value. func (s *AwsCloudFormationStackOutputsDetails) SetDescription(v string) *AwsCloudFormationStackOutputsDetails { s.Description = &v return s } // SetOutputKey sets the OutputKey field's value. func (s *AwsCloudFormationStackOutputsDetails) SetOutputKey(v string) *AwsCloudFormationStackOutputsDetails { s.OutputKey = &v return s } // SetOutputValue sets the OutputValue field's value. func (s *AwsCloudFormationStackOutputsDetails) SetOutputValue(v string) *AwsCloudFormationStackOutputsDetails { s.OutputValue = &v return s } // Information about a cache behavior for the distribution. type AwsCloudFrontDistributionCacheBehavior struct { _ struct{} `type:"structure"` // The protocol that viewers can use to access the files in an origin. You can // specify the following options: // // * allow-all - Viewers can use HTTP or HTTPS. // // * redirect-to-https - CloudFront responds to HTTP requests with an HTTP // status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then // uses the new URL to resubmit. // // * https-only - CloudFront responds to HTTP request with an HTTP status // code of 403 (Forbidden). ViewerProtocolPolicy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionCacheBehavior) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionCacheBehavior) GoString() string { return s.String() } // SetViewerProtocolPolicy sets the ViewerProtocolPolicy field's value. func (s *AwsCloudFrontDistributionCacheBehavior) SetViewerProtocolPolicy(v string) *AwsCloudFrontDistributionCacheBehavior { s.ViewerProtocolPolicy = &v return s } // Provides information about caching for the CloudFront distribution. type AwsCloudFrontDistributionCacheBehaviors struct { _ struct{} `type:"structure"` // The cache behaviors for the distribution. Items []*AwsCloudFrontDistributionCacheBehavior `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionCacheBehaviors) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionCacheBehaviors) GoString() string { return s.String() } // SetItems sets the Items field's value. func (s *AwsCloudFrontDistributionCacheBehaviors) SetItems(v []*AwsCloudFrontDistributionCacheBehavior) *AwsCloudFrontDistributionCacheBehaviors { s.Items = v return s } // Contains information about the default cache configuration for the CloudFront // distribution. type AwsCloudFrontDistributionDefaultCacheBehavior struct { _ struct{} `type:"structure"` // The protocol that viewers can use to access the files in an origin. You can // specify the following options: // // * allow-all - Viewers can use HTTP or HTTPS. // // * redirect-to-https - CloudFront responds to HTTP requests with an HTTP // status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then // uses the new URL to resubmit. // // * https-only - CloudFront responds to HTTP request with an HTTP status // code of 403 (Forbidden). ViewerProtocolPolicy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionDefaultCacheBehavior) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionDefaultCacheBehavior) GoString() string { return s.String() } // SetViewerProtocolPolicy sets the ViewerProtocolPolicy field's value. func (s *AwsCloudFrontDistributionDefaultCacheBehavior) SetViewerProtocolPolicy(v string) *AwsCloudFrontDistributionDefaultCacheBehavior { s.ViewerProtocolPolicy = &v return s } // A CloudFront distribution configuration. type AwsCloudFrontDistributionDetails struct { _ struct{} `type:"structure"` // Provides information about the cache configuration for the distribution. CacheBehaviors *AwsCloudFrontDistributionCacheBehaviors `type:"structure"` // The default cache behavior for the configuration. DefaultCacheBehavior *AwsCloudFrontDistributionDefaultCacheBehavior `type:"structure"` // The object that CloudFront sends in response to requests from the origin // (for example, index.html) when a viewer requests the root URL for the distribution // (path_to_url instead of an object in your distribution (path_to_url DefaultRootObject *string `type:"string"` // The domain name corresponding to the distribution. DomainName *string `type:"string"` // The entity tag is a hash of the object. ETag *string `type:"string"` // Indicates when that the distribution was last modified. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastModifiedTime *string `type:"string"` // A complex type that controls whether access logs are written for the distribution. Logging *AwsCloudFrontDistributionLogging `type:"structure"` // Provides information about the origin groups in the distribution. OriginGroups *AwsCloudFrontDistributionOriginGroups `type:"structure"` // A complex type that contains information about origins for this distribution. Origins *AwsCloudFrontDistributionOrigins `type:"structure"` // Indicates the current status of the distribution. Status *string `type:"string"` // Provides information about the TLS/SSL configuration that the distribution // uses to communicate with viewers. ViewerCertificate *AwsCloudFrontDistributionViewerCertificate `type:"structure"` // A unique identifier that specifies the WAF web ACL, if any, to associate // with this distribution. WebAclId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionDetails) GoString() string { return s.String() } // SetCacheBehaviors sets the CacheBehaviors field's value. func (s *AwsCloudFrontDistributionDetails) SetCacheBehaviors(v *AwsCloudFrontDistributionCacheBehaviors) *AwsCloudFrontDistributionDetails { s.CacheBehaviors = v return s } // SetDefaultCacheBehavior sets the DefaultCacheBehavior field's value. func (s *AwsCloudFrontDistributionDetails) SetDefaultCacheBehavior(v *AwsCloudFrontDistributionDefaultCacheBehavior) *AwsCloudFrontDistributionDetails { s.DefaultCacheBehavior = v return s } // SetDefaultRootObject sets the DefaultRootObject field's value. func (s *AwsCloudFrontDistributionDetails) SetDefaultRootObject(v string) *AwsCloudFrontDistributionDetails { s.DefaultRootObject = &v return s } // SetDomainName sets the DomainName field's value. func (s *AwsCloudFrontDistributionDetails) SetDomainName(v string) *AwsCloudFrontDistributionDetails { s.DomainName = &v return s } // SetETag sets the ETag field's value. func (s *AwsCloudFrontDistributionDetails) SetETag(v string) *AwsCloudFrontDistributionDetails { s.ETag = &v return s } // SetLastModifiedTime sets the LastModifiedTime field's value. func (s *AwsCloudFrontDistributionDetails) SetLastModifiedTime(v string) *AwsCloudFrontDistributionDetails { s.LastModifiedTime = &v return s } // SetLogging sets the Logging field's value. func (s *AwsCloudFrontDistributionDetails) SetLogging(v *AwsCloudFrontDistributionLogging) *AwsCloudFrontDistributionDetails { s.Logging = v return s } // SetOriginGroups sets the OriginGroups field's value. func (s *AwsCloudFrontDistributionDetails) SetOriginGroups(v *AwsCloudFrontDistributionOriginGroups) *AwsCloudFrontDistributionDetails { s.OriginGroups = v return s } // SetOrigins sets the Origins field's value. func (s *AwsCloudFrontDistributionDetails) SetOrigins(v *AwsCloudFrontDistributionOrigins) *AwsCloudFrontDistributionDetails { s.Origins = v return s } // SetStatus sets the Status field's value. func (s *AwsCloudFrontDistributionDetails) SetStatus(v string) *AwsCloudFrontDistributionDetails { s.Status = &v return s } // SetViewerCertificate sets the ViewerCertificate field's value. func (s *AwsCloudFrontDistributionDetails) SetViewerCertificate(v *AwsCloudFrontDistributionViewerCertificate) *AwsCloudFrontDistributionDetails { s.ViewerCertificate = v return s } // SetWebAclId sets the WebAclId field's value. func (s *AwsCloudFrontDistributionDetails) SetWebAclId(v string) *AwsCloudFrontDistributionDetails { s.WebAclId = &v return s } // A complex type that controls whether access logs are written for the CloudFront // distribution. type AwsCloudFrontDistributionLogging struct { _ struct{} `type:"structure"` // The S3 bucket to store the access logs in. Bucket *string `type:"string"` // With this field, you can enable or disable the selected distribution. Enabled *bool `type:"boolean"` // Specifies whether you want CloudFront to include cookies in access logs. IncludeCookies *bool `type:"boolean"` // An optional string that you want CloudFront to use as a prefix to the access // log filenames for this distribution. Prefix *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionLogging) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionLogging) GoString() string { return s.String() } // SetBucket sets the Bucket field's value. func (s *AwsCloudFrontDistributionLogging) SetBucket(v string) *AwsCloudFrontDistributionLogging { s.Bucket = &v return s } // SetEnabled sets the Enabled field's value. func (s *AwsCloudFrontDistributionLogging) SetEnabled(v bool) *AwsCloudFrontDistributionLogging { s.Enabled = &v return s } // SetIncludeCookies sets the IncludeCookies field's value. func (s *AwsCloudFrontDistributionLogging) SetIncludeCookies(v bool) *AwsCloudFrontDistributionLogging { s.IncludeCookies = &v return s } // SetPrefix sets the Prefix field's value. func (s *AwsCloudFrontDistributionLogging) SetPrefix(v string) *AwsCloudFrontDistributionLogging { s.Prefix = &v return s } // A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, // with one exception. An Amazon S3 bucket that is configured with static website // hosting (path_to_url // is a custom origin. type AwsCloudFrontDistributionOriginCustomOriginConfig struct { _ struct{} `type:"structure"` // The HTTP port that CloudFront uses to connect to the origin. HttpPort *int64 `type:"integer"` // The HTTPS port that CloudFront uses to connect to the origin. HttpsPort *int64 `type:"integer"` // Specifies how long, in seconds, CloudFront persists its connection to the // origin. OriginKeepaliveTimeout *int64 `type:"integer"` // Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to // the origin. OriginProtocolPolicy *string `type:"string"` // Specifies how long, in seconds, CloudFront waits for a response from the // origin. OriginReadTimeout *int64 `type:"integer"` // Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting // to your origin over HTTPS. OriginSslProtocols *AwsCloudFrontDistributionOriginSslProtocols `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginCustomOriginConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginCustomOriginConfig) GoString() string { return s.String() } // SetHttpPort sets the HttpPort field's value. func (s *AwsCloudFrontDistributionOriginCustomOriginConfig) SetHttpPort(v int64) *AwsCloudFrontDistributionOriginCustomOriginConfig { s.HttpPort = &v return s } // SetHttpsPort sets the HttpsPort field's value. func (s *AwsCloudFrontDistributionOriginCustomOriginConfig) SetHttpsPort(v int64) *AwsCloudFrontDistributionOriginCustomOriginConfig { s.HttpsPort = &v return s } // SetOriginKeepaliveTimeout sets the OriginKeepaliveTimeout field's value. func (s *AwsCloudFrontDistributionOriginCustomOriginConfig) SetOriginKeepaliveTimeout(v int64) *AwsCloudFrontDistributionOriginCustomOriginConfig { s.OriginKeepaliveTimeout = &v return s } // SetOriginProtocolPolicy sets the OriginProtocolPolicy field's value. func (s *AwsCloudFrontDistributionOriginCustomOriginConfig) SetOriginProtocolPolicy(v string) *AwsCloudFrontDistributionOriginCustomOriginConfig { s.OriginProtocolPolicy = &v return s } // SetOriginReadTimeout sets the OriginReadTimeout field's value. func (s *AwsCloudFrontDistributionOriginCustomOriginConfig) SetOriginReadTimeout(v int64) *AwsCloudFrontDistributionOriginCustomOriginConfig { s.OriginReadTimeout = &v return s } // SetOriginSslProtocols sets the OriginSslProtocols field's value. func (s *AwsCloudFrontDistributionOriginCustomOriginConfig) SetOriginSslProtocols(v *AwsCloudFrontDistributionOriginSslProtocols) *AwsCloudFrontDistributionOriginCustomOriginConfig { s.OriginSslProtocols = v return s } // Information about an origin group for the CloudFront distribution. type AwsCloudFrontDistributionOriginGroup struct { _ struct{} `type:"structure"` // Provides the criteria for an origin group to fail over. FailoverCriteria *AwsCloudFrontDistributionOriginGroupFailover `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroup) GoString() string { return s.String() } // SetFailoverCriteria sets the FailoverCriteria field's value. func (s *AwsCloudFrontDistributionOriginGroup) SetFailoverCriteria(v *AwsCloudFrontDistributionOriginGroupFailover) *AwsCloudFrontDistributionOriginGroup { s.FailoverCriteria = v return s } // Provides information about when an origin group fails over. type AwsCloudFrontDistributionOriginGroupFailover struct { _ struct{} `type:"structure"` // Information about the status codes that cause an origin group to fail over. StatusCodes *AwsCloudFrontDistributionOriginGroupFailoverStatusCodes `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroupFailover) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroupFailover) GoString() string { return s.String() } // SetStatusCodes sets the StatusCodes field's value. func (s *AwsCloudFrontDistributionOriginGroupFailover) SetStatusCodes(v *AwsCloudFrontDistributionOriginGroupFailoverStatusCodes) *AwsCloudFrontDistributionOriginGroupFailover { s.StatusCodes = v return s } // The status codes that cause an origin group to fail over. type AwsCloudFrontDistributionOriginGroupFailoverStatusCodes struct { _ struct{} `type:"structure"` // The list of status code values that can cause a failover to the next origin. Items []*int64 `type:"list"` // The number of status codes that can cause a failover. Quantity *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroupFailoverStatusCodes) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroupFailoverStatusCodes) GoString() string { return s.String() } // SetItems sets the Items field's value. func (s *AwsCloudFrontDistributionOriginGroupFailoverStatusCodes) SetItems(v []*int64) *AwsCloudFrontDistributionOriginGroupFailoverStatusCodes { s.Items = v return s } // SetQuantity sets the Quantity field's value. func (s *AwsCloudFrontDistributionOriginGroupFailoverStatusCodes) SetQuantity(v int64) *AwsCloudFrontDistributionOriginGroupFailoverStatusCodes { s.Quantity = &v return s } // Provides information about origin groups that are associated with the CloudFront // distribution. type AwsCloudFrontDistributionOriginGroups struct { _ struct{} `type:"structure"` // The list of origin groups. Items []*AwsCloudFrontDistributionOriginGroup `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroups) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginGroups) GoString() string { return s.String() } // SetItems sets the Items field's value. func (s *AwsCloudFrontDistributionOriginGroups) SetItems(v []*AwsCloudFrontDistributionOriginGroup) *AwsCloudFrontDistributionOriginGroups { s.Items = v return s } // A complex type that describes the Amazon S3 bucket, HTTP server (for example, // a web server), Elemental MediaStore, or other server from which CloudFront // gets your files. type AwsCloudFrontDistributionOriginItem struct { _ struct{} `type:"structure"` // An origin that is not an Amazon S3 bucket, with one exception. If the Amazon // S3 bucket is configured with static website hosting, use this attribute. // If the Amazon S3 bucket is not configured with static website hosting, use // the S3OriginConfig type instead. CustomOriginConfig *AwsCloudFrontDistributionOriginCustomOriginConfig `type:"structure"` // Amazon S3 origins: The DNS name of the S3 bucket from which you want CloudFront // to get objects for this origin. DomainName *string `type:"string"` // A unique identifier for the origin or origin group. Id *string `type:"string"` // An optional element that causes CloudFront to request your content from a // directory in your Amazon S3 bucket or your custom origin. OriginPath *string `type:"string"` // An origin that is an S3 bucket that is not configured with static website // hosting. S3OriginConfig *AwsCloudFrontDistributionOriginS3OriginConfig `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginItem) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginItem) GoString() string { return s.String() } // SetCustomOriginConfig sets the CustomOriginConfig field's value. func (s *AwsCloudFrontDistributionOriginItem) SetCustomOriginConfig(v *AwsCloudFrontDistributionOriginCustomOriginConfig) *AwsCloudFrontDistributionOriginItem { s.CustomOriginConfig = v return s } // SetDomainName sets the DomainName field's value. func (s *AwsCloudFrontDistributionOriginItem) SetDomainName(v string) *AwsCloudFrontDistributionOriginItem { s.DomainName = &v return s } // SetId sets the Id field's value. func (s *AwsCloudFrontDistributionOriginItem) SetId(v string) *AwsCloudFrontDistributionOriginItem { s.Id = &v return s } // SetOriginPath sets the OriginPath field's value. func (s *AwsCloudFrontDistributionOriginItem) SetOriginPath(v string) *AwsCloudFrontDistributionOriginItem { s.OriginPath = &v return s } // SetS3OriginConfig sets the S3OriginConfig field's value. func (s *AwsCloudFrontDistributionOriginItem) SetS3OriginConfig(v *AwsCloudFrontDistributionOriginS3OriginConfig) *AwsCloudFrontDistributionOriginItem { s.S3OriginConfig = v return s } // Information about an origin that is an Amazon S3 bucket that is not configured // with static website hosting. type AwsCloudFrontDistributionOriginS3OriginConfig struct { _ struct{} `type:"structure"` // The CloudFront origin access identity to associate with the origin. OriginAccessIdentity *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginS3OriginConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginS3OriginConfig) GoString() string { return s.String() } // SetOriginAccessIdentity sets the OriginAccessIdentity field's value. func (s *AwsCloudFrontDistributionOriginS3OriginConfig) SetOriginAccessIdentity(v string) *AwsCloudFrontDistributionOriginS3OriginConfig { s.OriginAccessIdentity = &v return s } // A complex type that contains information about the SSL/TLS protocols that // CloudFront can use when establishing an HTTPS connection with your origin. type AwsCloudFrontDistributionOriginSslProtocols struct { _ struct{} `type:"structure"` // A list that contains allowed SSL/TLS protocols for this distribution. Items []*string `type:"list"` // The number of SSL/TLS protocols that you want to allow CloudFront to use // when establishing an HTTPS connection with this origin. Quantity *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginSslProtocols) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOriginSslProtocols) GoString() string { return s.String() } // SetItems sets the Items field's value. func (s *AwsCloudFrontDistributionOriginSslProtocols) SetItems(v []*string) *AwsCloudFrontDistributionOriginSslProtocols { s.Items = v return s } // SetQuantity sets the Quantity field's value. func (s *AwsCloudFrontDistributionOriginSslProtocols) SetQuantity(v int64) *AwsCloudFrontDistributionOriginSslProtocols { s.Quantity = &v return s } // A complex type that contains information about origins and origin groups // for this CloudFront distribution. type AwsCloudFrontDistributionOrigins struct { _ struct{} `type:"structure"` // A complex type that contains origins or origin groups for this distribution. Items []*AwsCloudFrontDistributionOriginItem `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOrigins) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionOrigins) GoString() string { return s.String() } // SetItems sets the Items field's value. func (s *AwsCloudFrontDistributionOrigins) SetItems(v []*AwsCloudFrontDistributionOriginItem) *AwsCloudFrontDistributionOrigins { s.Items = v return s } // Provides information about the TLS/SSL configuration that the CloudFront // distribution uses to communicate with viewers. type AwsCloudFrontDistributionViewerCertificate struct { _ struct{} `type:"structure"` // The ARN of the ACM certificate. Used if the certificate is stored in ACM. // If you provide an ACM certificate ARN, you must also provide MinimumCertificateVersion // and SslSupportMethod. AcmCertificateArn *string `type:"string"` // The identifier of the certificate. Note that in CloudFront, this attribute // is deprecated. Certificate *string `type:"string"` // The source of the certificate identified by Certificate. Note that in CloudFront, // this attribute is deprecated. CertificateSource *string `type:"string"` // Whether the distribution uses the CloudFront domain name. If set to false, // then you provide either AcmCertificateArn or IamCertificateId. CloudFrontDefaultCertificate *bool `type:"boolean"` // The identifier of the IAM certificate. Used if the certificate is stored // in IAM. If you provide IamCertificateId, then you also must provide MinimumProtocolVersion // and SslSupportMethod. IamCertificateId *string `type:"string"` // The security policy that CloudFront uses for HTTPS connections with viewers. // If SslSupportMethod is sni-only, then MinimumProtocolVersion must be TLSv1 // or higher. MinimumProtocolVersion *string `type:"string"` // The viewers that the distribution accepts HTTPS connections from. SslSupportMethod *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionViewerCertificate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudFrontDistributionViewerCertificate) GoString() string { return s.String() } // SetAcmCertificateArn sets the AcmCertificateArn field's value. func (s *AwsCloudFrontDistributionViewerCertificate) SetAcmCertificateArn(v string) *AwsCloudFrontDistributionViewerCertificate { s.AcmCertificateArn = &v return s } // SetCertificate sets the Certificate field's value. func (s *AwsCloudFrontDistributionViewerCertificate) SetCertificate(v string) *AwsCloudFrontDistributionViewerCertificate { s.Certificate = &v return s } // SetCertificateSource sets the CertificateSource field's value. func (s *AwsCloudFrontDistributionViewerCertificate) SetCertificateSource(v string) *AwsCloudFrontDistributionViewerCertificate { s.CertificateSource = &v return s } // SetCloudFrontDefaultCertificate sets the CloudFrontDefaultCertificate field's value. func (s *AwsCloudFrontDistributionViewerCertificate) SetCloudFrontDefaultCertificate(v bool) *AwsCloudFrontDistributionViewerCertificate { s.CloudFrontDefaultCertificate = &v return s } // SetIamCertificateId sets the IamCertificateId field's value. func (s *AwsCloudFrontDistributionViewerCertificate) SetIamCertificateId(v string) *AwsCloudFrontDistributionViewerCertificate { s.IamCertificateId = &v return s } // SetMinimumProtocolVersion sets the MinimumProtocolVersion field's value. func (s *AwsCloudFrontDistributionViewerCertificate) SetMinimumProtocolVersion(v string) *AwsCloudFrontDistributionViewerCertificate { s.MinimumProtocolVersion = &v return s } // SetSslSupportMethod sets the SslSupportMethod field's value. func (s *AwsCloudFrontDistributionViewerCertificate) SetSslSupportMethod(v string) *AwsCloudFrontDistributionViewerCertificate { s.SslSupportMethod = &v return s } // Provides details about a CloudTrail trail. type AwsCloudTrailTrailDetails struct { _ struct{} `type:"structure"` // The ARN of the log group that CloudTrail logs are delivered to. CloudWatchLogsLogGroupArn *string `type:"string"` // The ARN of the role that the CloudWatch Events endpoint assumes when it writes // to the log group. CloudWatchLogsRoleArn *string `type:"string"` // Indicates whether the trail has custom event selectors. HasCustomEventSelectors *bool `type:"boolean"` // The Region where the trail was created. HomeRegion *string `type:"string"` // Indicates whether the trail publishes events from global services such as // IAM to the log files. IncludeGlobalServiceEvents *bool `type:"boolean"` // Indicates whether the trail applies only to the current Region or to all // Regions. IsMultiRegionTrail *bool `type:"boolean"` // Whether the trail is created for all accounts in an organization in Organizations, // or only for the current Amazon Web Services account. IsOrganizationTrail *bool `type:"boolean"` // The KMS key ID to use to encrypt the logs. KmsKeyId *string `type:"string"` // Indicates whether CloudTrail log file validation is enabled. LogFileValidationEnabled *bool `type:"boolean"` // The name of the trail. Name *string `type:"string"` // The name of the S3 bucket where the log files are published. S3BucketName *string `type:"string"` // The S3 key prefix. The key prefix is added after the name of the S3 bucket // where the log files are published. S3KeyPrefix *string `type:"string"` // The ARN of the SNS topic that is used for notifications of log file delivery. SnsTopicArn *string `type:"string"` // The name of the SNS topic that is used for notifications of log file delivery. SnsTopicName *string `type:"string"` // The ARN of the trail. TrailArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudTrailTrailDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudTrailTrailDetails) GoString() string { return s.String() } // SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. func (s *AwsCloudTrailTrailDetails) SetCloudWatchLogsLogGroupArn(v string) *AwsCloudTrailTrailDetails { s.CloudWatchLogsLogGroupArn = &v return s } // SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. func (s *AwsCloudTrailTrailDetails) SetCloudWatchLogsRoleArn(v string) *AwsCloudTrailTrailDetails { s.CloudWatchLogsRoleArn = &v return s } // SetHasCustomEventSelectors sets the HasCustomEventSelectors field's value. func (s *AwsCloudTrailTrailDetails) SetHasCustomEventSelectors(v bool) *AwsCloudTrailTrailDetails { s.HasCustomEventSelectors = &v return s } // SetHomeRegion sets the HomeRegion field's value. func (s *AwsCloudTrailTrailDetails) SetHomeRegion(v string) *AwsCloudTrailTrailDetails { s.HomeRegion = &v return s } // SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value. func (s *AwsCloudTrailTrailDetails) SetIncludeGlobalServiceEvents(v bool) *AwsCloudTrailTrailDetails { s.IncludeGlobalServiceEvents = &v return s } // SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value. func (s *AwsCloudTrailTrailDetails) SetIsMultiRegionTrail(v bool) *AwsCloudTrailTrailDetails { s.IsMultiRegionTrail = &v return s } // SetIsOrganizationTrail sets the IsOrganizationTrail field's value. func (s *AwsCloudTrailTrailDetails) SetIsOrganizationTrail(v bool) *AwsCloudTrailTrailDetails { s.IsOrganizationTrail = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsCloudTrailTrailDetails) SetKmsKeyId(v string) *AwsCloudTrailTrailDetails { s.KmsKeyId = &v return s } // SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value. func (s *AwsCloudTrailTrailDetails) SetLogFileValidationEnabled(v bool) *AwsCloudTrailTrailDetails { s.LogFileValidationEnabled = &v return s } // SetName sets the Name field's value. func (s *AwsCloudTrailTrailDetails) SetName(v string) *AwsCloudTrailTrailDetails { s.Name = &v return s } // SetS3BucketName sets the S3BucketName field's value. func (s *AwsCloudTrailTrailDetails) SetS3BucketName(v string) *AwsCloudTrailTrailDetails { s.S3BucketName = &v return s } // SetS3KeyPrefix sets the S3KeyPrefix field's value. func (s *AwsCloudTrailTrailDetails) SetS3KeyPrefix(v string) *AwsCloudTrailTrailDetails { s.S3KeyPrefix = &v return s } // SetSnsTopicArn sets the SnsTopicArn field's value. func (s *AwsCloudTrailTrailDetails) SetSnsTopicArn(v string) *AwsCloudTrailTrailDetails { s.SnsTopicArn = &v return s } // SetSnsTopicName sets the SnsTopicName field's value. func (s *AwsCloudTrailTrailDetails) SetSnsTopicName(v string) *AwsCloudTrailTrailDetails { s.SnsTopicName = &v return s } // SetTrailArn sets the TrailArn field's value. func (s *AwsCloudTrailTrailDetails) SetTrailArn(v string) *AwsCloudTrailTrailDetails { s.TrailArn = &v return s } // Specifies an alarm and associates it with the specified metric or metric // math expression. type AwsCloudWatchAlarmDetails struct { _ struct{} `type:"structure"` // Indicates whether actions should be executed during any changes to the alarm // state. ActionsEnabled *bool `type:"boolean"` // The list of actions, specified as Amazon Resource Names (ARNs) to execute // when this alarm transitions into an ALARM state from any other state. AlarmActions []*string `type:"list"` // The ARN of the alarm. AlarmArn *string `type:"string"` // The time stamp of the last update to the alarm configuration. AlarmConfigurationUpdatedTimestamp *string `type:"string"` // The description of the alarm. AlarmDescription *string `type:"string"` // The name of the alarm. If you don't specify a name, CloudFront generates // a unique physical ID and uses that ID for the alarm name. AlarmName *string `type:"string"` // The arithmetic operation to use when comparing the specified statistic and // threshold. The specified statistic value is used as the first operand. ComparisonOperator *string `type:"string"` // The number of datapoints that must be breaching to trigger the alarm. DatapointsToAlarm *int64 `type:"integer"` // The dimensions for the metric associated with the alarm. Dimensions []*AwsCloudWatchAlarmDimensionsDetails `type:"list"` // Used only for alarms based on percentiles. If ignore, the alarm state does // not change during periods with too few data points to be statistically significant. // If evaluate or this parameter is not used, the alarm is always evaluated // and possibly changes state no matter how many data points are available. EvaluateLowSampleCountPercentile *string `type:"string"` // The number of periods over which data is compared to the specified threshold. EvaluationPeriods *int64 `type:"integer"` // The percentile statistic for the metric associated with the alarm. ExtendedStatistic *string `type:"string"` // The actions to execute when this alarm transitions to the INSUFFICIENT_DATA // state from any other state. Each action is specified as an ARN. InsufficientDataActions []*string `type:"list"` // The name of the metric associated with the alarm. This is required for an // alarm based on a metric. For an alarm based on a math expression, you use // Metrics instead and you can't specify MetricName. MetricName *string `type:"string"` // The namespace of the metric associated with the alarm. This is required for // an alarm based on a metric. For an alarm based on a math expression, you // can't specify Namespace and you use Metrics instead. Namespace *string `type:"string"` // The actions to execute when this alarm transitions to the OK state from any // other state. Each action is specified as an ARN. OkActions []*string `type:"list"` // The period, in seconds, over which the statistic is applied. This is required // for an alarm based on a metric. Period *int64 `type:"integer"` // The statistic for the metric associated with the alarm, other than percentile. // For percentile statistics, use ExtendedStatistic. // // For an alarm based on a metric, you must specify either Statistic or ExtendedStatistic // but not both. // // For an alarm based on a math expression, you can't specify Statistic. Instead, // you use Metrics. Statistic *string `type:"string"` // The value to compare with the specified statistic. Threshold *float64 `type:"double"` // n an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BAND // function used as the threshold for the alarm. ThresholdMetricId *string `type:"string"` // Sets how this alarm is to handle missing data points. TreatMissingData *string `type:"string"` // The unit of the metric associated with the alarm. Unit *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudWatchAlarmDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudWatchAlarmDetails) GoString() string { return s.String() } // SetActionsEnabled sets the ActionsEnabled field's value. func (s *AwsCloudWatchAlarmDetails) SetActionsEnabled(v bool) *AwsCloudWatchAlarmDetails { s.ActionsEnabled = &v return s } // SetAlarmActions sets the AlarmActions field's value. func (s *AwsCloudWatchAlarmDetails) SetAlarmActions(v []*string) *AwsCloudWatchAlarmDetails { s.AlarmActions = v return s } // SetAlarmArn sets the AlarmArn field's value. func (s *AwsCloudWatchAlarmDetails) SetAlarmArn(v string) *AwsCloudWatchAlarmDetails { s.AlarmArn = &v return s } // SetAlarmConfigurationUpdatedTimestamp sets the AlarmConfigurationUpdatedTimestamp field's value. func (s *AwsCloudWatchAlarmDetails) SetAlarmConfigurationUpdatedTimestamp(v string) *AwsCloudWatchAlarmDetails { s.AlarmConfigurationUpdatedTimestamp = &v return s } // SetAlarmDescription sets the AlarmDescription field's value. func (s *AwsCloudWatchAlarmDetails) SetAlarmDescription(v string) *AwsCloudWatchAlarmDetails { s.AlarmDescription = &v return s } // SetAlarmName sets the AlarmName field's value. func (s *AwsCloudWatchAlarmDetails) SetAlarmName(v string) *AwsCloudWatchAlarmDetails { s.AlarmName = &v return s } // SetComparisonOperator sets the ComparisonOperator field's value. func (s *AwsCloudWatchAlarmDetails) SetComparisonOperator(v string) *AwsCloudWatchAlarmDetails { s.ComparisonOperator = &v return s } // SetDatapointsToAlarm sets the DatapointsToAlarm field's value. func (s *AwsCloudWatchAlarmDetails) SetDatapointsToAlarm(v int64) *AwsCloudWatchAlarmDetails { s.DatapointsToAlarm = &v return s } // SetDimensions sets the Dimensions field's value. func (s *AwsCloudWatchAlarmDetails) SetDimensions(v []*AwsCloudWatchAlarmDimensionsDetails) *AwsCloudWatchAlarmDetails { s.Dimensions = v return s } // SetEvaluateLowSampleCountPercentile sets the EvaluateLowSampleCountPercentile field's value. func (s *AwsCloudWatchAlarmDetails) SetEvaluateLowSampleCountPercentile(v string) *AwsCloudWatchAlarmDetails { s.EvaluateLowSampleCountPercentile = &v return s } // SetEvaluationPeriods sets the EvaluationPeriods field's value. func (s *AwsCloudWatchAlarmDetails) SetEvaluationPeriods(v int64) *AwsCloudWatchAlarmDetails { s.EvaluationPeriods = &v return s } // SetExtendedStatistic sets the ExtendedStatistic field's value. func (s *AwsCloudWatchAlarmDetails) SetExtendedStatistic(v string) *AwsCloudWatchAlarmDetails { s.ExtendedStatistic = &v return s } // SetInsufficientDataActions sets the InsufficientDataActions field's value. func (s *AwsCloudWatchAlarmDetails) SetInsufficientDataActions(v []*string) *AwsCloudWatchAlarmDetails { s.InsufficientDataActions = v return s } // SetMetricName sets the MetricName field's value. func (s *AwsCloudWatchAlarmDetails) SetMetricName(v string) *AwsCloudWatchAlarmDetails { s.MetricName = &v return s } // SetNamespace sets the Namespace field's value. func (s *AwsCloudWatchAlarmDetails) SetNamespace(v string) *AwsCloudWatchAlarmDetails { s.Namespace = &v return s } // SetOkActions sets the OkActions field's value. func (s *AwsCloudWatchAlarmDetails) SetOkActions(v []*string) *AwsCloudWatchAlarmDetails { s.OkActions = v return s } // SetPeriod sets the Period field's value. func (s *AwsCloudWatchAlarmDetails) SetPeriod(v int64) *AwsCloudWatchAlarmDetails { s.Period = &v return s } // SetStatistic sets the Statistic field's value. func (s *AwsCloudWatchAlarmDetails) SetStatistic(v string) *AwsCloudWatchAlarmDetails { s.Statistic = &v return s } // SetThreshold sets the Threshold field's value. func (s *AwsCloudWatchAlarmDetails) SetThreshold(v float64) *AwsCloudWatchAlarmDetails { s.Threshold = &v return s } // SetThresholdMetricId sets the ThresholdMetricId field's value. func (s *AwsCloudWatchAlarmDetails) SetThresholdMetricId(v string) *AwsCloudWatchAlarmDetails { s.ThresholdMetricId = &v return s } // SetTreatMissingData sets the TreatMissingData field's value. func (s *AwsCloudWatchAlarmDetails) SetTreatMissingData(v string) *AwsCloudWatchAlarmDetails { s.TreatMissingData = &v return s } // SetUnit sets the Unit field's value. func (s *AwsCloudWatchAlarmDetails) SetUnit(v string) *AwsCloudWatchAlarmDetails { s.Unit = &v return s } // Details about the dimensions for the metric associated with the alarm. type AwsCloudWatchAlarmDimensionsDetails struct { _ struct{} `type:"structure"` // The name of a dimension. Name *string `type:"string"` // The value of a dimension. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudWatchAlarmDimensionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCloudWatchAlarmDimensionsDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsCloudWatchAlarmDimensionsDetails) SetName(v string) *AwsCloudWatchAlarmDimensionsDetails { s.Name = &v return s } // SetValue sets the Value field's value. func (s *AwsCloudWatchAlarmDimensionsDetails) SetValue(v string) *AwsCloudWatchAlarmDimensionsDetails { s.Value = &v return s } // Information about the build artifacts for the CodeBuild project. type AwsCodeBuildProjectArtifactsDetails struct { _ struct{} `type:"structure"` // An identifier for the artifact definition. ArtifactIdentifier *string `type:"string"` // Indicates whether to disable encryption on the artifact. Only valid when // Type is S3. EncryptionDisabled *bool `type:"boolean"` // Only used when Type is S3. The name of the S3 bucket where the artifact is // located. Location *string `type:"string"` // Only used when Type is S3. The name of the artifact. Used with NamepaceType // and Path to determine the pattern for storing the artifact. Name *string `type:"string"` // Only used when Type is S3. The value to use for the namespace. Used with // Name and Path to determine the pattern for storing the artifact. NamespaceType *string `type:"string"` // Whether the name specified in the buildspec file overrides the artifact name. OverrideArtifactName *bool `type:"boolean"` // Only used when Type is S3. The type of output artifact to create. Packaging *string `type:"string"` // Only used when Type is S3. The path to the artifact. Used with Name and NamespaceType // to determine the pattern for storing the artifact. Path *string `type:"string"` // The type of build artifact. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectArtifactsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectArtifactsDetails) GoString() string { return s.String() } // SetArtifactIdentifier sets the ArtifactIdentifier field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetArtifactIdentifier(v string) *AwsCodeBuildProjectArtifactsDetails { s.ArtifactIdentifier = &v return s } // SetEncryptionDisabled sets the EncryptionDisabled field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetEncryptionDisabled(v bool) *AwsCodeBuildProjectArtifactsDetails { s.EncryptionDisabled = &v return s } // SetLocation sets the Location field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetLocation(v string) *AwsCodeBuildProjectArtifactsDetails { s.Location = &v return s } // SetName sets the Name field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetName(v string) *AwsCodeBuildProjectArtifactsDetails { s.Name = &v return s } // SetNamespaceType sets the NamespaceType field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetNamespaceType(v string) *AwsCodeBuildProjectArtifactsDetails { s.NamespaceType = &v return s } // SetOverrideArtifactName sets the OverrideArtifactName field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetOverrideArtifactName(v bool) *AwsCodeBuildProjectArtifactsDetails { s.OverrideArtifactName = &v return s } // SetPackaging sets the Packaging field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetPackaging(v string) *AwsCodeBuildProjectArtifactsDetails { s.Packaging = &v return s } // SetPath sets the Path field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetPath(v string) *AwsCodeBuildProjectArtifactsDetails { s.Path = &v return s } // SetType sets the Type field's value. func (s *AwsCodeBuildProjectArtifactsDetails) SetType(v string) *AwsCodeBuildProjectArtifactsDetails { s.Type = &v return s } // Information about an CodeBuild project. type AwsCodeBuildProjectDetails struct { _ struct{} `type:"structure"` // Information about the build artifacts for the CodeBuild project. Artifacts []*AwsCodeBuildProjectArtifactsDetails `type:"list"` // The KMS key used to encrypt the build output artifacts. // // You can specify either the ARN of the KMS key or, if available, the KMS key // alias (using the format alias/alias-name). EncryptionKey *string `type:"string"` // Information about the build environment for this build project. Environment *AwsCodeBuildProjectEnvironment `type:"structure"` // Information about logs for the build project. LogsConfig *AwsCodeBuildProjectLogsConfigDetails `type:"structure"` // The name of the build project. Name *string `type:"string"` // Information about the secondary artifacts for the CodeBuild project. SecondaryArtifacts []*AwsCodeBuildProjectArtifactsDetails `type:"list"` // The ARN of the IAM role that enables CodeBuild to interact with dependent // Amazon Web Services services on behalf of the Amazon Web Services account. ServiceRole *string `type:"string"` // Information about the build input source code for this build project. Source *AwsCodeBuildProjectSource `type:"structure"` // Information about the VPC configuration that CodeBuild accesses. VpcConfig *AwsCodeBuildProjectVpcConfig `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectDetails) GoString() string { return s.String() } // SetArtifacts sets the Artifacts field's value. func (s *AwsCodeBuildProjectDetails) SetArtifacts(v []*AwsCodeBuildProjectArtifactsDetails) *AwsCodeBuildProjectDetails { s.Artifacts = v return s } // SetEncryptionKey sets the EncryptionKey field's value. func (s *AwsCodeBuildProjectDetails) SetEncryptionKey(v string) *AwsCodeBuildProjectDetails { s.EncryptionKey = &v return s } // SetEnvironment sets the Environment field's value. func (s *AwsCodeBuildProjectDetails) SetEnvironment(v *AwsCodeBuildProjectEnvironment) *AwsCodeBuildProjectDetails { s.Environment = v return s } // SetLogsConfig sets the LogsConfig field's value. func (s *AwsCodeBuildProjectDetails) SetLogsConfig(v *AwsCodeBuildProjectLogsConfigDetails) *AwsCodeBuildProjectDetails { s.LogsConfig = v return s } // SetName sets the Name field's value. func (s *AwsCodeBuildProjectDetails) SetName(v string) *AwsCodeBuildProjectDetails { s.Name = &v return s } // SetSecondaryArtifacts sets the SecondaryArtifacts field's value. func (s *AwsCodeBuildProjectDetails) SetSecondaryArtifacts(v []*AwsCodeBuildProjectArtifactsDetails) *AwsCodeBuildProjectDetails { s.SecondaryArtifacts = v return s } // SetServiceRole sets the ServiceRole field's value. func (s *AwsCodeBuildProjectDetails) SetServiceRole(v string) *AwsCodeBuildProjectDetails { s.ServiceRole = &v return s } // SetSource sets the Source field's value. func (s *AwsCodeBuildProjectDetails) SetSource(v *AwsCodeBuildProjectSource) *AwsCodeBuildProjectDetails { s.Source = v return s } // SetVpcConfig sets the VpcConfig field's value. func (s *AwsCodeBuildProjectDetails) SetVpcConfig(v *AwsCodeBuildProjectVpcConfig) *AwsCodeBuildProjectDetails { s.VpcConfig = v return s } // Information about the build environment for this build project. type AwsCodeBuildProjectEnvironment struct { _ struct{} `type:"structure"` // The certificate to use with this build project. Certificate *string `type:"string"` // A set of environment variables to make available to builds for the build // project. EnvironmentVariables []*AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails `type:"list"` // The type of credentials CodeBuild uses to pull images in your build. // // Valid values: // // * CODEBUILD specifies that CodeBuild uses its own credentials. This requires // that you modify your ECR repository policy to trust the CodeBuild service // principal. // // * SERVICE_ROLE specifies that CodeBuild uses your build project's service // role. // // When you use a cross-account or private registry image, you must use SERVICE_ROLE // credentials. When you use an CodeBuild curated image, you must use CODEBUILD // credentials. ImagePullCredentialsType *string `type:"string"` // Whether to allow the Docker daemon to run inside a Docker container. Set // to true if the build project is used to build Docker images. PrivilegedMode *bool `type:"boolean"` // The credentials for access to a private registry. RegistryCredential *AwsCodeBuildProjectEnvironmentRegistryCredential `type:"structure"` // The type of build environment to use for related builds. // // The environment type ARM_CONTAINER is available only in Regions US East (N. // Virginia), US East (Ohio), US West (Oregon), Europe (Ireland), Asia Pacific // (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Sydney), and Europe (Frankfurt). // // The environment type LINUX_CONTAINER with compute type build.general1.2xlarge // is available only in Regions US East (N. Virginia), US East (N. Virginia), // US West (Oregon), Canada (Central), Europe (Ireland), Europe (London), Europe // (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), // Asia Pacific (Sydney), China (Beijing), and China (Ningxia). // // The environment type LINUX_GPU_CONTAINER is available only in Regions US // East (N. Virginia), US East (N. Virginia), US West (Oregon), Canada (Central), // Europe (Ireland), Europe (London), Europe (Frankfurt), Asia Pacific (Tokyo), // Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), China // (Beijing), and China (Ningxia). // // Valid values: WINDOWS_CONTAINER | LINUX_CONTAINER | LINUX_GPU_CONTAINER | // ARM_CONTAINER Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectEnvironment) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectEnvironment) GoString() string { return s.String() } // SetCertificate sets the Certificate field's value. func (s *AwsCodeBuildProjectEnvironment) SetCertificate(v string) *AwsCodeBuildProjectEnvironment { s.Certificate = &v return s } // SetEnvironmentVariables sets the EnvironmentVariables field's value. func (s *AwsCodeBuildProjectEnvironment) SetEnvironmentVariables(v []*AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails) *AwsCodeBuildProjectEnvironment { s.EnvironmentVariables = v return s } // SetImagePullCredentialsType sets the ImagePullCredentialsType field's value. func (s *AwsCodeBuildProjectEnvironment) SetImagePullCredentialsType(v string) *AwsCodeBuildProjectEnvironment { s.ImagePullCredentialsType = &v return s } // SetPrivilegedMode sets the PrivilegedMode field's value. func (s *AwsCodeBuildProjectEnvironment) SetPrivilegedMode(v bool) *AwsCodeBuildProjectEnvironment { s.PrivilegedMode = &v return s } // SetRegistryCredential sets the RegistryCredential field's value. func (s *AwsCodeBuildProjectEnvironment) SetRegistryCredential(v *AwsCodeBuildProjectEnvironmentRegistryCredential) *AwsCodeBuildProjectEnvironment { s.RegistryCredential = v return s } // SetType sets the Type field's value. func (s *AwsCodeBuildProjectEnvironment) SetType(v string) *AwsCodeBuildProjectEnvironment { s.Type = &v return s } // Information about an environment variable that is available to builds for // the build project. type AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails struct { _ struct{} `type:"structure"` // The name of the environment variable. Name *string `type:"string"` // The type of environment variable. Type *string `type:"string"` // The value of the environment variable. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails) SetName(v string) *AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails { s.Name = &v return s } // SetType sets the Type field's value. func (s *AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails) SetType(v string) *AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails { s.Type = &v return s } // SetValue sets the Value field's value. func (s *AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails) SetValue(v string) *AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails { s.Value = &v return s } // The credentials for access to a private registry. type AwsCodeBuildProjectEnvironmentRegistryCredential struct { _ struct{} `type:"structure"` // The ARN or name of credentials created using Secrets Manager. // // The credential can use the name of the credentials only if they exist in // your current Amazon Web Services Region. Credential *string `type:"string"` // The service that created the credentials to access a private Docker registry. // // The valid value,SECRETS_MANAGER, is for Secrets Manager. CredentialProvider *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectEnvironmentRegistryCredential) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectEnvironmentRegistryCredential) GoString() string { return s.String() } // SetCredential sets the Credential field's value. func (s *AwsCodeBuildProjectEnvironmentRegistryCredential) SetCredential(v string) *AwsCodeBuildProjectEnvironmentRegistryCredential { s.Credential = &v return s } // SetCredentialProvider sets the CredentialProvider field's value. func (s *AwsCodeBuildProjectEnvironmentRegistryCredential) SetCredentialProvider(v string) *AwsCodeBuildProjectEnvironmentRegistryCredential { s.CredentialProvider = &v return s } // Information about CloudWatch Logs for the build project. type AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails struct { _ struct{} `type:"structure"` // The group name of the logs in CloudWatch Logs. GroupName *string `type:"string"` // The current status of the logs in CloudWatch Logs for a build project. Status *string `type:"string"` // The prefix of the stream name of the CloudWatch Logs. StreamName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails) GoString() string { return s.String() } // SetGroupName sets the GroupName field's value. func (s *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails) SetGroupName(v string) *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails { s.GroupName = &v return s } // SetStatus sets the Status field's value. func (s *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails) SetStatus(v string) *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails { s.Status = &v return s } // SetStreamName sets the StreamName field's value. func (s *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails) SetStreamName(v string) *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails { s.StreamName = &v return s } // Information about logs for the build project. type AwsCodeBuildProjectLogsConfigDetails struct { _ struct{} `type:"structure"` // Information about CloudWatch Logs for the build project. CloudWatchLogs *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails `type:"structure"` // Information about logs built to an S3 bucket for a build project. S3Logs *AwsCodeBuildProjectLogsConfigS3LogsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectLogsConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectLogsConfigDetails) GoString() string { return s.String() } // SetCloudWatchLogs sets the CloudWatchLogs field's value. func (s *AwsCodeBuildProjectLogsConfigDetails) SetCloudWatchLogs(v *AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails) *AwsCodeBuildProjectLogsConfigDetails { s.CloudWatchLogs = v return s } // SetS3Logs sets the S3Logs field's value. func (s *AwsCodeBuildProjectLogsConfigDetails) SetS3Logs(v *AwsCodeBuildProjectLogsConfigS3LogsDetails) *AwsCodeBuildProjectLogsConfigDetails { s.S3Logs = v return s } // Information about logs built to an S3 bucket for a build project. type AwsCodeBuildProjectLogsConfigS3LogsDetails struct { _ struct{} `type:"structure"` // Whether to disable encryption of the S3 build log output. EncryptionDisabled *bool `type:"boolean"` // The ARN of the S3 bucket and the path prefix for S3 logs. Location *string `type:"string"` // The current status of the S3 build logs. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectLogsConfigS3LogsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectLogsConfigS3LogsDetails) GoString() string { return s.String() } // SetEncryptionDisabled sets the EncryptionDisabled field's value. func (s *AwsCodeBuildProjectLogsConfigS3LogsDetails) SetEncryptionDisabled(v bool) *AwsCodeBuildProjectLogsConfigS3LogsDetails { s.EncryptionDisabled = &v return s } // SetLocation sets the Location field's value. func (s *AwsCodeBuildProjectLogsConfigS3LogsDetails) SetLocation(v string) *AwsCodeBuildProjectLogsConfigS3LogsDetails { s.Location = &v return s } // SetStatus sets the Status field's value. func (s *AwsCodeBuildProjectLogsConfigS3LogsDetails) SetStatus(v string) *AwsCodeBuildProjectLogsConfigS3LogsDetails { s.Status = &v return s } // Information about the build input source code for this build project. type AwsCodeBuildProjectSource struct { _ struct{} `type:"structure"` // Information about the Git clone depth for the build project. GitCloneDepth *int64 `type:"integer"` // Whether to ignore SSL warnings while connecting to the project source code. InsecureSsl *bool `type:"boolean"` // Information about the location of the source code to be built. // // Valid values include: // // * For source code settings that are specified in the source action of // a pipeline in CodePipeline, location should not be specified. If it is // specified, CodePipeline ignores it. This is because CodePipeline uses // the settings in a pipeline's source action instead of this value. // // * For source code in an CodeCommit repository, the HTTPS clone URL to // the repository that contains the source code and the build spec file (for // example, path_to_url // ). // // * For source code in an S3 input bucket, one of the following. The path // to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip). // The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/). // // * For source code in a GitHub repository, the HTTPS clone URL to the repository // that contains the source and the build spec file. // // * For source code in a Bitbucket repository, the HTTPS clone URL to the // repository that contains the source and the build spec file. Location *string `type:"string"` // The type of repository that contains the source code to be built. Valid values // are: // // * BITBUCKET - The source code is in a Bitbucket repository. // // * CODECOMMIT - The source code is in an CodeCommit repository. // // * CODEPIPELINE - The source code settings are specified in the source // action of a pipeline in CodePipeline. // // * GITHUB - The source code is in a GitHub repository. // // * GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository. // // * NO_SOURCE - The project does not have input source code. // // * S3 - The source code is in an S3 input bucket. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectSource) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectSource) GoString() string { return s.String() } // SetGitCloneDepth sets the GitCloneDepth field's value. func (s *AwsCodeBuildProjectSource) SetGitCloneDepth(v int64) *AwsCodeBuildProjectSource { s.GitCloneDepth = &v return s } // SetInsecureSsl sets the InsecureSsl field's value. func (s *AwsCodeBuildProjectSource) SetInsecureSsl(v bool) *AwsCodeBuildProjectSource { s.InsecureSsl = &v return s } // SetLocation sets the Location field's value. func (s *AwsCodeBuildProjectSource) SetLocation(v string) *AwsCodeBuildProjectSource { s.Location = &v return s } // SetType sets the Type field's value. func (s *AwsCodeBuildProjectSource) SetType(v string) *AwsCodeBuildProjectSource { s.Type = &v return s } // Information about the VPC configuration that CodeBuild accesses. type AwsCodeBuildProjectVpcConfig struct { _ struct{} `type:"structure"` // A list of one or more security group IDs in your VPC. SecurityGroupIds []*string `type:"list"` // A list of one or more subnet IDs in your VPC. Subnets []*string `type:"list"` // The ID of the VPC. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectVpcConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCodeBuildProjectVpcConfig) GoString() string { return s.String() } // SetSecurityGroupIds sets the SecurityGroupIds field's value. func (s *AwsCodeBuildProjectVpcConfig) SetSecurityGroupIds(v []*string) *AwsCodeBuildProjectVpcConfig { s.SecurityGroupIds = v return s } // SetSubnets sets the Subnets field's value. func (s *AwsCodeBuildProjectVpcConfig) SetSubnets(v []*string) *AwsCodeBuildProjectVpcConfig { s.Subnets = v return s } // SetVpcId sets the VpcId field's value. func (s *AwsCodeBuildProjectVpcConfig) SetVpcId(v string) *AwsCodeBuildProjectVpcConfig { s.VpcId = &v return s } // Contains the cross-origin resource sharing (CORS) configuration for the API. // CORS is only supported for HTTP APIs. type AwsCorsConfiguration struct { _ struct{} `type:"structure"` // Indicates whether the CORS request includes credentials. AllowCredentials *bool `type:"boolean"` // The allowed headers for CORS requests. AllowHeaders []*string `type:"list"` // The allowed methods for CORS requests. AllowMethods []*string `type:"list"` // The allowed origins for CORS requests. AllowOrigins []*string `type:"list"` // The exposed headers for CORS requests. ExposeHeaders []*string `type:"list"` // The number of seconds for which the browser caches preflight request results. MaxAge *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCorsConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsCorsConfiguration) GoString() string { return s.String() } // SetAllowCredentials sets the AllowCredentials field's value. func (s *AwsCorsConfiguration) SetAllowCredentials(v bool) *AwsCorsConfiguration { s.AllowCredentials = &v return s } // SetAllowHeaders sets the AllowHeaders field's value. func (s *AwsCorsConfiguration) SetAllowHeaders(v []*string) *AwsCorsConfiguration { s.AllowHeaders = v return s } // SetAllowMethods sets the AllowMethods field's value. func (s *AwsCorsConfiguration) SetAllowMethods(v []*string) *AwsCorsConfiguration { s.AllowMethods = v return s } // SetAllowOrigins sets the AllowOrigins field's value. func (s *AwsCorsConfiguration) SetAllowOrigins(v []*string) *AwsCorsConfiguration { s.AllowOrigins = v return s } // SetExposeHeaders sets the ExposeHeaders field's value. func (s *AwsCorsConfiguration) SetExposeHeaders(v []*string) *AwsCorsConfiguration { s.ExposeHeaders = v return s } // SetMaxAge sets the MaxAge field's value. func (s *AwsCorsConfiguration) SetMaxAge(v int64) *AwsCorsConfiguration { s.MaxAge = &v return s } // Provides details about an Database Migration Service (DMS) endpoint. An endpoint // provides connection, data store type, and location information about your // data store. type AwsDmsEndpointDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) for the SSL certificate that encrypts connections // between the DMS endpoint and the replication instance. CertificateArn *string `type:"string"` // The name of the endpoint database. DatabaseName *string `type:"string"` // The Amazon Resource Name (ARN) of the endpoint. EndpointArn *string `type:"string"` // The database endpoint identifier. EndpointIdentifier *string `type:"string"` // The type of endpoint. Valid values are source and target. EndpointType *string `type:"string"` // The type of engine for the endpoint, depending on the EndpointType value. EngineName *string `type:"string"` // A value that can be used for cross-account validation. ExternalId *string `type:"string"` // Additional attributes associated with the connection. ExtraConnectionAttributes *string `type:"string"` // An DMS key identifier that is used to encrypt the connection parameters for // the endpoint. If you don't specify a value for the KmsKeyId parameter, then // DMS uses your default encryption key. KMS creates the default encryption // key for your Amazon Web Services account. Your Amazon Web Services account // has a different default encryption key for each Amazon Web Services Region. KmsKeyId *string `type:"string"` // The port used to access the endpoint. Port *int64 `type:"integer"` // The name of the server where the endpoint database resides. ServerName *string `type:"string"` // The SSL mode used to connect to the endpoint. The default is none. SslMode *string `type:"string"` // The user name to be used to log in to the endpoint database. Username *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsEndpointDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsEndpointDetails) GoString() string { return s.String() } // SetCertificateArn sets the CertificateArn field's value. func (s *AwsDmsEndpointDetails) SetCertificateArn(v string) *AwsDmsEndpointDetails { s.CertificateArn = &v return s } // SetDatabaseName sets the DatabaseName field's value. func (s *AwsDmsEndpointDetails) SetDatabaseName(v string) *AwsDmsEndpointDetails { s.DatabaseName = &v return s } // SetEndpointArn sets the EndpointArn field's value. func (s *AwsDmsEndpointDetails) SetEndpointArn(v string) *AwsDmsEndpointDetails { s.EndpointArn = &v return s } // SetEndpointIdentifier sets the EndpointIdentifier field's value. func (s *AwsDmsEndpointDetails) SetEndpointIdentifier(v string) *AwsDmsEndpointDetails { s.EndpointIdentifier = &v return s } // SetEndpointType sets the EndpointType field's value. func (s *AwsDmsEndpointDetails) SetEndpointType(v string) *AwsDmsEndpointDetails { s.EndpointType = &v return s } // SetEngineName sets the EngineName field's value. func (s *AwsDmsEndpointDetails) SetEngineName(v string) *AwsDmsEndpointDetails { s.EngineName = &v return s } // SetExternalId sets the ExternalId field's value. func (s *AwsDmsEndpointDetails) SetExternalId(v string) *AwsDmsEndpointDetails { s.ExternalId = &v return s } // SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value. func (s *AwsDmsEndpointDetails) SetExtraConnectionAttributes(v string) *AwsDmsEndpointDetails { s.ExtraConnectionAttributes = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsDmsEndpointDetails) SetKmsKeyId(v string) *AwsDmsEndpointDetails { s.KmsKeyId = &v return s } // SetPort sets the Port field's value. func (s *AwsDmsEndpointDetails) SetPort(v int64) *AwsDmsEndpointDetails { s.Port = &v return s } // SetServerName sets the ServerName field's value. func (s *AwsDmsEndpointDetails) SetServerName(v string) *AwsDmsEndpointDetails { s.ServerName = &v return s } // SetSslMode sets the SslMode field's value. func (s *AwsDmsEndpointDetails) SetSslMode(v string) *AwsDmsEndpointDetails { s.SslMode = &v return s } // SetUsername sets the Username field's value. func (s *AwsDmsEndpointDetails) SetUsername(v string) *AwsDmsEndpointDetails { s.Username = &v return s } // Provides details about an Database Migration Service (DMS) replication instance. // DMS uses a replication instance to connect to your source data store, read // the source data, and format the data for consumption by the target data store. type AwsDmsReplicationInstanceDetails struct { _ struct{} `type:"structure"` // The amount of storage (in gigabytes) that is allocated for the replication // instance. AllocatedStorage *int64 `type:"integer"` // Indicates whether minor engine upgrades are applied automatically to the // replication instance during the maintenance window. AutoMinorVersionUpgrade *bool `type:"boolean"` // The Availability Zone that the replication instance is created in. The default // value is a random, system-chosen Availability Zone in the endpoint's Amazon // Web Services Region, such as us-east-1d. AvailabilityZone *string `type:"string"` // The engine version number of the replication instance. If an engine version // number is not specified when a replication instance is created, the default // is the latest engine version available. EngineVersion *string `type:"string"` // An KMS key identifier that is used to encrypt the data on the replication // instance. If you don't specify a value for the KmsKeyId parameter, DMS uses // your default encryption key. KMS creates the default encryption key for your // Amazon Web Services account. Your Amazon Web Services account has a different // default encryption key for each Amazon Web Services Region. KmsKeyId *string `type:"string"` // Specifies whether the replication instance is deployed across multiple Availability // Zones (AZs). You can't set the AvailabilityZone parameter if the MultiAZ // parameter is set to true. MultiAZ *bool `type:"boolean"` // The maintenance window times for the replication instance. Upgrades to the // replication instance are performed during this time. PreferredMaintenanceWindow *string `type:"string"` // Specifies the accessibility options for the replication instance. A value // of true represents an instance with a public IP address. A value of false // represents an instance with a private IP address. The default value is true. PubliclyAccessible *bool `type:"boolean"` // The compute and memory capacity of the replication instance as defined for // the specified replication instance class. ReplicationInstanceClass *string `type:"string"` // The replication instance identifier. ReplicationInstanceIdentifier *string `type:"string"` // The subnet group for the replication instance. ReplicationSubnetGroup *AwsDmsReplicationInstanceReplicationSubnetGroupDetails `type:"structure"` // The virtual private cloud (VPC) security group for the replication instance. VpcSecurityGroups []*AwsDmsReplicationInstanceVpcSecurityGroupsDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationInstanceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationInstanceDetails) GoString() string { return s.String() } // SetAllocatedStorage sets the AllocatedStorage field's value. func (s *AwsDmsReplicationInstanceDetails) SetAllocatedStorage(v int64) *AwsDmsReplicationInstanceDetails { s.AllocatedStorage = &v return s } // SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. func (s *AwsDmsReplicationInstanceDetails) SetAutoMinorVersionUpgrade(v bool) *AwsDmsReplicationInstanceDetails { s.AutoMinorVersionUpgrade = &v return s } // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *AwsDmsReplicationInstanceDetails) SetAvailabilityZone(v string) *AwsDmsReplicationInstanceDetails { s.AvailabilityZone = &v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsDmsReplicationInstanceDetails) SetEngineVersion(v string) *AwsDmsReplicationInstanceDetails { s.EngineVersion = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsDmsReplicationInstanceDetails) SetKmsKeyId(v string) *AwsDmsReplicationInstanceDetails { s.KmsKeyId = &v return s } // SetMultiAZ sets the MultiAZ field's value. func (s *AwsDmsReplicationInstanceDetails) SetMultiAZ(v bool) *AwsDmsReplicationInstanceDetails { s.MultiAZ = &v return s } // SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. func (s *AwsDmsReplicationInstanceDetails) SetPreferredMaintenanceWindow(v string) *AwsDmsReplicationInstanceDetails { s.PreferredMaintenanceWindow = &v return s } // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *AwsDmsReplicationInstanceDetails) SetPubliclyAccessible(v bool) *AwsDmsReplicationInstanceDetails { s.PubliclyAccessible = &v return s } // SetReplicationInstanceClass sets the ReplicationInstanceClass field's value. func (s *AwsDmsReplicationInstanceDetails) SetReplicationInstanceClass(v string) *AwsDmsReplicationInstanceDetails { s.ReplicationInstanceClass = &v return s } // SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value. func (s *AwsDmsReplicationInstanceDetails) SetReplicationInstanceIdentifier(v string) *AwsDmsReplicationInstanceDetails { s.ReplicationInstanceIdentifier = &v return s } // SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value. func (s *AwsDmsReplicationInstanceDetails) SetReplicationSubnetGroup(v *AwsDmsReplicationInstanceReplicationSubnetGroupDetails) *AwsDmsReplicationInstanceDetails { s.ReplicationSubnetGroup = v return s } // SetVpcSecurityGroups sets the VpcSecurityGroups field's value. func (s *AwsDmsReplicationInstanceDetails) SetVpcSecurityGroups(v []*AwsDmsReplicationInstanceVpcSecurityGroupsDetails) *AwsDmsReplicationInstanceDetails { s.VpcSecurityGroups = v return s } // Provides details about the replication subnet group. type AwsDmsReplicationInstanceReplicationSubnetGroupDetails struct { _ struct{} `type:"structure"` // The identifier of the replication subnet group. ReplicationSubnetGroupIdentifier *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationInstanceReplicationSubnetGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationInstanceReplicationSubnetGroupDetails) GoString() string { return s.String() } // SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value. func (s *AwsDmsReplicationInstanceReplicationSubnetGroupDetails) SetReplicationSubnetGroupIdentifier(v string) *AwsDmsReplicationInstanceReplicationSubnetGroupDetails { s.ReplicationSubnetGroupIdentifier = &v return s } // Provides details about the virtual private cloud (VPC) security group thats // associated with the replication instance. type AwsDmsReplicationInstanceVpcSecurityGroupsDetails struct { _ struct{} `type:"structure"` // The identifier of the VPC security group thats associated with the replication // instance. VpcSecurityGroupId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationInstanceVpcSecurityGroupsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationInstanceVpcSecurityGroupsDetails) GoString() string { return s.String() } // SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value. func (s *AwsDmsReplicationInstanceVpcSecurityGroupsDetails) SetVpcSecurityGroupId(v string) *AwsDmsReplicationInstanceVpcSecurityGroupsDetails { s.VpcSecurityGroupId = &v return s } // Provides details about an Database Migration Service (DMS) replication task. // A replication task moves a set of data from the source endpoint to the target // endpoint. type AwsDmsReplicationTaskDetails struct { _ struct{} `type:"structure"` // Indicates when you want a change data capture (CDC) operation to start. CCdcStartPosition // or CCdcStartTime specifies when you want a CDC operation to start. Only a // value for one of these fields is included. CdcStartPosition *string `type:"string"` // Indicates the start time for a CDC operation. CdcStartPosition or CCdcStartTime // specifies when you want a CDC operation to start. Only a value for one of // these fields is included. CdcStartTime *string `type:"string"` // Indicates when you want a CDC operation to stop. The value can be either // server time or commit time. CdcStopPosition *string `type:"string"` // The identifier of the replication task. Id *string `type:"string"` // The migration type. MigrationType *string `type:"string"` // The Amazon Resource Name (ARN) of a replication instance. ReplicationInstanceArn *string `type:"string"` // The user-defined replication task identifier or name. ReplicationTaskIdentifier *string `type:"string"` // The settings for the replication task. ReplicationTaskSettings *string `type:"string"` // A display name for the resource identifier at the end of the EndpointArn // response parameter. If you don't specify a ResourceIdentifier value, DMS // generates a default identifier value for the end of EndpointArn. ResourceIdentifier *string `type:"string"` // The ARN of the source endpoint. SourceEndpointArn *string `type:"string"` // The table mappings for the replication task, in JSON format. TableMappings *string `type:"string"` // The ARN of the target endpoint. TargetEndpointArn *string `type:"string"` // Supplemental information that the task requires to migrate the data for certain // source and target endpoints. TaskData *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationTaskDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDmsReplicationTaskDetails) GoString() string { return s.String() } // SetCdcStartPosition sets the CdcStartPosition field's value. func (s *AwsDmsReplicationTaskDetails) SetCdcStartPosition(v string) *AwsDmsReplicationTaskDetails { s.CdcStartPosition = &v return s } // SetCdcStartTime sets the CdcStartTime field's value. func (s *AwsDmsReplicationTaskDetails) SetCdcStartTime(v string) *AwsDmsReplicationTaskDetails { s.CdcStartTime = &v return s } // SetCdcStopPosition sets the CdcStopPosition field's value. func (s *AwsDmsReplicationTaskDetails) SetCdcStopPosition(v string) *AwsDmsReplicationTaskDetails { s.CdcStopPosition = &v return s } // SetId sets the Id field's value. func (s *AwsDmsReplicationTaskDetails) SetId(v string) *AwsDmsReplicationTaskDetails { s.Id = &v return s } // SetMigrationType sets the MigrationType field's value. func (s *AwsDmsReplicationTaskDetails) SetMigrationType(v string) *AwsDmsReplicationTaskDetails { s.MigrationType = &v return s } // SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. func (s *AwsDmsReplicationTaskDetails) SetReplicationInstanceArn(v string) *AwsDmsReplicationTaskDetails { s.ReplicationInstanceArn = &v return s } // SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value. func (s *AwsDmsReplicationTaskDetails) SetReplicationTaskIdentifier(v string) *AwsDmsReplicationTaskDetails { s.ReplicationTaskIdentifier = &v return s } // SetReplicationTaskSettings sets the ReplicationTaskSettings field's value. func (s *AwsDmsReplicationTaskDetails) SetReplicationTaskSettings(v string) *AwsDmsReplicationTaskDetails { s.ReplicationTaskSettings = &v return s } // SetResourceIdentifier sets the ResourceIdentifier field's value. func (s *AwsDmsReplicationTaskDetails) SetResourceIdentifier(v string) *AwsDmsReplicationTaskDetails { s.ResourceIdentifier = &v return s } // SetSourceEndpointArn sets the SourceEndpointArn field's value. func (s *AwsDmsReplicationTaskDetails) SetSourceEndpointArn(v string) *AwsDmsReplicationTaskDetails { s.SourceEndpointArn = &v return s } // SetTableMappings sets the TableMappings field's value. func (s *AwsDmsReplicationTaskDetails) SetTableMappings(v string) *AwsDmsReplicationTaskDetails { s.TableMappings = &v return s } // SetTargetEndpointArn sets the TargetEndpointArn field's value. func (s *AwsDmsReplicationTaskDetails) SetTargetEndpointArn(v string) *AwsDmsReplicationTaskDetails { s.TargetEndpointArn = &v return s } // SetTaskData sets the TaskData field's value. func (s *AwsDmsReplicationTaskDetails) SetTaskData(v string) *AwsDmsReplicationTaskDetails { s.TaskData = &v return s } // Contains a definition of an attribute for the table. type AwsDynamoDbTableAttributeDefinition struct { _ struct{} `type:"structure"` // The name of the attribute. AttributeName *string `type:"string"` // The type of the attribute. AttributeType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableAttributeDefinition) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableAttributeDefinition) GoString() string { return s.String() } // SetAttributeName sets the AttributeName field's value. func (s *AwsDynamoDbTableAttributeDefinition) SetAttributeName(v string) *AwsDynamoDbTableAttributeDefinition { s.AttributeName = &v return s } // SetAttributeType sets the AttributeType field's value. func (s *AwsDynamoDbTableAttributeDefinition) SetAttributeType(v string) *AwsDynamoDbTableAttributeDefinition { s.AttributeType = &v return s } // Provides information about the billing for read/write capacity on the table. type AwsDynamoDbTableBillingModeSummary struct { _ struct{} `type:"structure"` // The method used to charge for read and write throughput and to manage capacity. BillingMode *string `type:"string"` // If the billing mode is PAY_PER_REQUEST, indicates when the billing mode was // set to that value. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastUpdateToPayPerRequestDateTime *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableBillingModeSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableBillingModeSummary) GoString() string { return s.String() } // SetBillingMode sets the BillingMode field's value. func (s *AwsDynamoDbTableBillingModeSummary) SetBillingMode(v string) *AwsDynamoDbTableBillingModeSummary { s.BillingMode = &v return s } // SetLastUpdateToPayPerRequestDateTime sets the LastUpdateToPayPerRequestDateTime field's value. func (s *AwsDynamoDbTableBillingModeSummary) SetLastUpdateToPayPerRequestDateTime(v string) *AwsDynamoDbTableBillingModeSummary { s.LastUpdateToPayPerRequestDateTime = &v return s } // Provides details about a DynamoDB table. type AwsDynamoDbTableDetails struct { _ struct{} `type:"structure"` // A list of attribute definitions for the table. AttributeDefinitions []*AwsDynamoDbTableAttributeDefinition `type:"list"` // Information about the billing for read/write capacity on the table. BillingModeSummary *AwsDynamoDbTableBillingModeSummary `type:"structure"` // Indicates when the table was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreationDateTime *string `type:"string"` // Indicates whether deletion protection is to be enabled (true) or disabled // (false) on the table. DeletionProtectionEnabled *bool `type:"boolean"` // List of global secondary indexes for the table. GlobalSecondaryIndexes []*AwsDynamoDbTableGlobalSecondaryIndex `type:"list"` // The version of global tables being used. GlobalTableVersion *string `type:"string"` // The number of items in the table. ItemCount *int64 `type:"integer"` // The primary key structure for the table. KeySchema []*AwsDynamoDbTableKeySchema `type:"list"` // The ARN of the latest stream for the table. LatestStreamArn *string `type:"string"` // The label of the latest stream. The label is not a unique identifier. LatestStreamLabel *string `type:"string"` // The list of local secondary indexes for the table. LocalSecondaryIndexes []*AwsDynamoDbTableLocalSecondaryIndex `type:"list"` // Information about the provisioned throughput for the table. ProvisionedThroughput *AwsDynamoDbTableProvisionedThroughput `type:"structure"` // The list of replicas of this table. Replicas []*AwsDynamoDbTableReplica `type:"list"` // Information about the restore for the table. RestoreSummary *AwsDynamoDbTableRestoreSummary `type:"structure"` // Information about the server-side encryption for the table. SseDescription *AwsDynamoDbTableSseDescription `type:"structure"` // The current DynamoDB Streams configuration for the table. StreamSpecification *AwsDynamoDbTableStreamSpecification `type:"structure"` // The identifier of the table. TableId *string `type:"string"` // The name of the table. TableName *string `type:"string"` // The total size of the table in bytes. TableSizeBytes *int64 `type:"long"` // The current status of the table. Valid values are as follows: // // * ACTIVE // // * ARCHIVED // // * ARCHIVING // // * CREATING // // * DELETING // // * INACCESSIBLE_ENCRYPTION_CREDENTIALS // // * UPDATING TableStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableDetails) GoString() string { return s.String() } // SetAttributeDefinitions sets the AttributeDefinitions field's value. func (s *AwsDynamoDbTableDetails) SetAttributeDefinitions(v []*AwsDynamoDbTableAttributeDefinition) *AwsDynamoDbTableDetails { s.AttributeDefinitions = v return s } // SetBillingModeSummary sets the BillingModeSummary field's value. func (s *AwsDynamoDbTableDetails) SetBillingModeSummary(v *AwsDynamoDbTableBillingModeSummary) *AwsDynamoDbTableDetails { s.BillingModeSummary = v return s } // SetCreationDateTime sets the CreationDateTime field's value. func (s *AwsDynamoDbTableDetails) SetCreationDateTime(v string) *AwsDynamoDbTableDetails { s.CreationDateTime = &v return s } // SetDeletionProtectionEnabled sets the DeletionProtectionEnabled field's value. func (s *AwsDynamoDbTableDetails) SetDeletionProtectionEnabled(v bool) *AwsDynamoDbTableDetails { s.DeletionProtectionEnabled = &v return s } // SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value. func (s *AwsDynamoDbTableDetails) SetGlobalSecondaryIndexes(v []*AwsDynamoDbTableGlobalSecondaryIndex) *AwsDynamoDbTableDetails { s.GlobalSecondaryIndexes = v return s } // SetGlobalTableVersion sets the GlobalTableVersion field's value. func (s *AwsDynamoDbTableDetails) SetGlobalTableVersion(v string) *AwsDynamoDbTableDetails { s.GlobalTableVersion = &v return s } // SetItemCount sets the ItemCount field's value. func (s *AwsDynamoDbTableDetails) SetItemCount(v int64) *AwsDynamoDbTableDetails { s.ItemCount = &v return s } // SetKeySchema sets the KeySchema field's value. func (s *AwsDynamoDbTableDetails) SetKeySchema(v []*AwsDynamoDbTableKeySchema) *AwsDynamoDbTableDetails { s.KeySchema = v return s } // SetLatestStreamArn sets the LatestStreamArn field's value. func (s *AwsDynamoDbTableDetails) SetLatestStreamArn(v string) *AwsDynamoDbTableDetails { s.LatestStreamArn = &v return s } // SetLatestStreamLabel sets the LatestStreamLabel field's value. func (s *AwsDynamoDbTableDetails) SetLatestStreamLabel(v string) *AwsDynamoDbTableDetails { s.LatestStreamLabel = &v return s } // SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value. func (s *AwsDynamoDbTableDetails) SetLocalSecondaryIndexes(v []*AwsDynamoDbTableLocalSecondaryIndex) *AwsDynamoDbTableDetails { s.LocalSecondaryIndexes = v return s } // SetProvisionedThroughput sets the ProvisionedThroughput field's value. func (s *AwsDynamoDbTableDetails) SetProvisionedThroughput(v *AwsDynamoDbTableProvisionedThroughput) *AwsDynamoDbTableDetails { s.ProvisionedThroughput = v return s } // SetReplicas sets the Replicas field's value. func (s *AwsDynamoDbTableDetails) SetReplicas(v []*AwsDynamoDbTableReplica) *AwsDynamoDbTableDetails { s.Replicas = v return s } // SetRestoreSummary sets the RestoreSummary field's value. func (s *AwsDynamoDbTableDetails) SetRestoreSummary(v *AwsDynamoDbTableRestoreSummary) *AwsDynamoDbTableDetails { s.RestoreSummary = v return s } // SetSseDescription sets the SseDescription field's value. func (s *AwsDynamoDbTableDetails) SetSseDescription(v *AwsDynamoDbTableSseDescription) *AwsDynamoDbTableDetails { s.SseDescription = v return s } // SetStreamSpecification sets the StreamSpecification field's value. func (s *AwsDynamoDbTableDetails) SetStreamSpecification(v *AwsDynamoDbTableStreamSpecification) *AwsDynamoDbTableDetails { s.StreamSpecification = v return s } // SetTableId sets the TableId field's value. func (s *AwsDynamoDbTableDetails) SetTableId(v string) *AwsDynamoDbTableDetails { s.TableId = &v return s } // SetTableName sets the TableName field's value. func (s *AwsDynamoDbTableDetails) SetTableName(v string) *AwsDynamoDbTableDetails { s.TableName = &v return s } // SetTableSizeBytes sets the TableSizeBytes field's value. func (s *AwsDynamoDbTableDetails) SetTableSizeBytes(v int64) *AwsDynamoDbTableDetails { s.TableSizeBytes = &v return s } // SetTableStatus sets the TableStatus field's value. func (s *AwsDynamoDbTableDetails) SetTableStatus(v string) *AwsDynamoDbTableDetails { s.TableStatus = &v return s } // Information abut a global secondary index for the table. type AwsDynamoDbTableGlobalSecondaryIndex struct { _ struct{} `type:"structure"` // Whether the index is currently backfilling. Backfilling *bool `type:"boolean"` // The ARN of the index. IndexArn *string `type:"string"` // The name of the index. IndexName *string `type:"string"` // The total size in bytes of the index. IndexSizeBytes *int64 `type:"long"` // The current status of the index. // // * ACTIVE // // * CREATING // // * DELETING // // * UPDATING IndexStatus *string `type:"string"` // The number of items in the index. ItemCount *int64 `type:"integer"` // The key schema for the index. KeySchema []*AwsDynamoDbTableKeySchema `type:"list"` // Attributes that are copied from the table into an index. Projection *AwsDynamoDbTableProjection `type:"structure"` // Information about the provisioned throughput settings for the indexes. ProvisionedThroughput *AwsDynamoDbTableProvisionedThroughput `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableGlobalSecondaryIndex) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableGlobalSecondaryIndex) GoString() string { return s.String() } // SetBackfilling sets the Backfilling field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetBackfilling(v bool) *AwsDynamoDbTableGlobalSecondaryIndex { s.Backfilling = &v return s } // SetIndexArn sets the IndexArn field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetIndexArn(v string) *AwsDynamoDbTableGlobalSecondaryIndex { s.IndexArn = &v return s } // SetIndexName sets the IndexName field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetIndexName(v string) *AwsDynamoDbTableGlobalSecondaryIndex { s.IndexName = &v return s } // SetIndexSizeBytes sets the IndexSizeBytes field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetIndexSizeBytes(v int64) *AwsDynamoDbTableGlobalSecondaryIndex { s.IndexSizeBytes = &v return s } // SetIndexStatus sets the IndexStatus field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetIndexStatus(v string) *AwsDynamoDbTableGlobalSecondaryIndex { s.IndexStatus = &v return s } // SetItemCount sets the ItemCount field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetItemCount(v int64) *AwsDynamoDbTableGlobalSecondaryIndex { s.ItemCount = &v return s } // SetKeySchema sets the KeySchema field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetKeySchema(v []*AwsDynamoDbTableKeySchema) *AwsDynamoDbTableGlobalSecondaryIndex { s.KeySchema = v return s } // SetProjection sets the Projection field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetProjection(v *AwsDynamoDbTableProjection) *AwsDynamoDbTableGlobalSecondaryIndex { s.Projection = v return s } // SetProvisionedThroughput sets the ProvisionedThroughput field's value. func (s *AwsDynamoDbTableGlobalSecondaryIndex) SetProvisionedThroughput(v *AwsDynamoDbTableProvisionedThroughput) *AwsDynamoDbTableGlobalSecondaryIndex { s.ProvisionedThroughput = v return s } // A component of the key schema for the DynamoDB table, a global secondary // index, or a local secondary index. type AwsDynamoDbTableKeySchema struct { _ struct{} `type:"structure"` // The name of the key schema attribute. AttributeName *string `type:"string"` // The type of key used for the key schema attribute. Valid values are HASH // or RANGE. KeyType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableKeySchema) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableKeySchema) GoString() string { return s.String() } // SetAttributeName sets the AttributeName field's value. func (s *AwsDynamoDbTableKeySchema) SetAttributeName(v string) *AwsDynamoDbTableKeySchema { s.AttributeName = &v return s } // SetKeyType sets the KeyType field's value. func (s *AwsDynamoDbTableKeySchema) SetKeyType(v string) *AwsDynamoDbTableKeySchema { s.KeyType = &v return s } // Information about a local secondary index for a DynamoDB table. type AwsDynamoDbTableLocalSecondaryIndex struct { _ struct{} `type:"structure"` // The ARN of the index. IndexArn *string `type:"string"` // The name of the index. IndexName *string `type:"string"` // The complete key schema for the index. KeySchema []*AwsDynamoDbTableKeySchema `type:"list"` // Attributes that are copied from the table into the index. These are in addition // to the primary key attributes and index key attributes, which are automatically // projected. Projection *AwsDynamoDbTableProjection `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableLocalSecondaryIndex) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableLocalSecondaryIndex) GoString() string { return s.String() } // SetIndexArn sets the IndexArn field's value. func (s *AwsDynamoDbTableLocalSecondaryIndex) SetIndexArn(v string) *AwsDynamoDbTableLocalSecondaryIndex { s.IndexArn = &v return s } // SetIndexName sets the IndexName field's value. func (s *AwsDynamoDbTableLocalSecondaryIndex) SetIndexName(v string) *AwsDynamoDbTableLocalSecondaryIndex { s.IndexName = &v return s } // SetKeySchema sets the KeySchema field's value. func (s *AwsDynamoDbTableLocalSecondaryIndex) SetKeySchema(v []*AwsDynamoDbTableKeySchema) *AwsDynamoDbTableLocalSecondaryIndex { s.KeySchema = v return s } // SetProjection sets the Projection field's value. func (s *AwsDynamoDbTableLocalSecondaryIndex) SetProjection(v *AwsDynamoDbTableProjection) *AwsDynamoDbTableLocalSecondaryIndex { s.Projection = v return s } // For global and local secondary indexes, identifies the attributes that are // copied from the table into the index. type AwsDynamoDbTableProjection struct { _ struct{} `type:"structure"` // The nonkey attributes that are projected into the index. For each attribute, // provide the attribute name. NonKeyAttributes []*string `type:"list"` // The types of attributes that are projected into the index. Valid values are // as follows: // // * ALL // // * INCLUDE // // * KEYS_ONLY ProjectionType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableProjection) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableProjection) GoString() string { return s.String() } // SetNonKeyAttributes sets the NonKeyAttributes field's value. func (s *AwsDynamoDbTableProjection) SetNonKeyAttributes(v []*string) *AwsDynamoDbTableProjection { s.NonKeyAttributes = v return s } // SetProjectionType sets the ProjectionType field's value. func (s *AwsDynamoDbTableProjection) SetProjectionType(v string) *AwsDynamoDbTableProjection { s.ProjectionType = &v return s } // Information about the provisioned throughput for the table or for a global // secondary index. type AwsDynamoDbTableProvisionedThroughput struct { _ struct{} `type:"structure"` // Indicates when the provisioned throughput was last decreased. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastDecreaseDateTime *string `type:"string"` // Indicates when the provisioned throughput was last increased. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastIncreaseDateTime *string `type:"string"` // The number of times during the current UTC calendar day that the provisioned // throughput was decreased. NumberOfDecreasesToday *int64 `type:"integer"` // The maximum number of strongly consistent reads consumed per second before // DynamoDB returns a ThrottlingException. ReadCapacityUnits *int64 `type:"integer"` // The maximum number of writes consumed per second before DynamoDB returns // a ThrottlingException. WriteCapacityUnits *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableProvisionedThroughput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableProvisionedThroughput) GoString() string { return s.String() } // SetLastDecreaseDateTime sets the LastDecreaseDateTime field's value. func (s *AwsDynamoDbTableProvisionedThroughput) SetLastDecreaseDateTime(v string) *AwsDynamoDbTableProvisionedThroughput { s.LastDecreaseDateTime = &v return s } // SetLastIncreaseDateTime sets the LastIncreaseDateTime field's value. func (s *AwsDynamoDbTableProvisionedThroughput) SetLastIncreaseDateTime(v string) *AwsDynamoDbTableProvisionedThroughput { s.LastIncreaseDateTime = &v return s } // SetNumberOfDecreasesToday sets the NumberOfDecreasesToday field's value. func (s *AwsDynamoDbTableProvisionedThroughput) SetNumberOfDecreasesToday(v int64) *AwsDynamoDbTableProvisionedThroughput { s.NumberOfDecreasesToday = &v return s } // SetReadCapacityUnits sets the ReadCapacityUnits field's value. func (s *AwsDynamoDbTableProvisionedThroughput) SetReadCapacityUnits(v int64) *AwsDynamoDbTableProvisionedThroughput { s.ReadCapacityUnits = &v return s } // SetWriteCapacityUnits sets the WriteCapacityUnits field's value. func (s *AwsDynamoDbTableProvisionedThroughput) SetWriteCapacityUnits(v int64) *AwsDynamoDbTableProvisionedThroughput { s.WriteCapacityUnits = &v return s } // Replica-specific configuration for the provisioned throughput. type AwsDynamoDbTableProvisionedThroughputOverride struct { _ struct{} `type:"structure"` // The read capacity units for the replica. ReadCapacityUnits *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableProvisionedThroughputOverride) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableProvisionedThroughputOverride) GoString() string { return s.String() } // SetReadCapacityUnits sets the ReadCapacityUnits field's value. func (s *AwsDynamoDbTableProvisionedThroughputOverride) SetReadCapacityUnits(v int64) *AwsDynamoDbTableProvisionedThroughputOverride { s.ReadCapacityUnits = &v return s } // Information about a replica of a DynamoDB table. type AwsDynamoDbTableReplica struct { _ struct{} `type:"structure"` // List of global secondary indexes for the replica. GlobalSecondaryIndexes []*AwsDynamoDbTableReplicaGlobalSecondaryIndex `type:"list"` // The identifier of the KMS key that will be used for KMS encryption for the // replica. KmsMasterKeyId *string `type:"string"` // Replica-specific configuration for the provisioned throughput. ProvisionedThroughputOverride *AwsDynamoDbTableProvisionedThroughputOverride `type:"structure"` // The name of the Region where the replica is located. RegionName *string `type:"string"` // The current status of the replica. Valid values are as follows: // // * ACTIVE // // * CREATING // // * CREATION_FAILED // // * DELETING // // * UPDATING ReplicaStatus *string `type:"string"` // Detailed information about the replica status. ReplicaStatusDescription *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableReplica) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableReplica) GoString() string { return s.String() } // SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value. func (s *AwsDynamoDbTableReplica) SetGlobalSecondaryIndexes(v []*AwsDynamoDbTableReplicaGlobalSecondaryIndex) *AwsDynamoDbTableReplica { s.GlobalSecondaryIndexes = v return s } // SetKmsMasterKeyId sets the KmsMasterKeyId field's value. func (s *AwsDynamoDbTableReplica) SetKmsMasterKeyId(v string) *AwsDynamoDbTableReplica { s.KmsMasterKeyId = &v return s } // SetProvisionedThroughputOverride sets the ProvisionedThroughputOverride field's value. func (s *AwsDynamoDbTableReplica) SetProvisionedThroughputOverride(v *AwsDynamoDbTableProvisionedThroughputOverride) *AwsDynamoDbTableReplica { s.ProvisionedThroughputOverride = v return s } // SetRegionName sets the RegionName field's value. func (s *AwsDynamoDbTableReplica) SetRegionName(v string) *AwsDynamoDbTableReplica { s.RegionName = &v return s } // SetReplicaStatus sets the ReplicaStatus field's value. func (s *AwsDynamoDbTableReplica) SetReplicaStatus(v string) *AwsDynamoDbTableReplica { s.ReplicaStatus = &v return s } // SetReplicaStatusDescription sets the ReplicaStatusDescription field's value. func (s *AwsDynamoDbTableReplica) SetReplicaStatusDescription(v string) *AwsDynamoDbTableReplica { s.ReplicaStatusDescription = &v return s } // Information about a global secondary index for a DynamoDB table replica. type AwsDynamoDbTableReplicaGlobalSecondaryIndex struct { _ struct{} `type:"structure"` // The name of the index. IndexName *string `type:"string"` // Replica-specific configuration for the provisioned throughput for the index. ProvisionedThroughputOverride *AwsDynamoDbTableProvisionedThroughputOverride `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableReplicaGlobalSecondaryIndex) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableReplicaGlobalSecondaryIndex) GoString() string { return s.String() } // SetIndexName sets the IndexName field's value. func (s *AwsDynamoDbTableReplicaGlobalSecondaryIndex) SetIndexName(v string) *AwsDynamoDbTableReplicaGlobalSecondaryIndex { s.IndexName = &v return s } // SetProvisionedThroughputOverride sets the ProvisionedThroughputOverride field's value. func (s *AwsDynamoDbTableReplicaGlobalSecondaryIndex) SetProvisionedThroughputOverride(v *AwsDynamoDbTableProvisionedThroughputOverride) *AwsDynamoDbTableReplicaGlobalSecondaryIndex { s.ProvisionedThroughputOverride = v return s } // Information about the restore for the table. type AwsDynamoDbTableRestoreSummary struct { _ struct{} `type:"structure"` // Indicates the point in time that the table was restored to. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) RestoreDateTime *string `type:"string"` // Whether a restore is currently in progress. RestoreInProgress *bool `type:"boolean"` // The ARN of the source backup from which the table was restored. SourceBackupArn *string `type:"string"` // The ARN of the source table for the backup. SourceTableArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableRestoreSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableRestoreSummary) GoString() string { return s.String() } // SetRestoreDateTime sets the RestoreDateTime field's value. func (s *AwsDynamoDbTableRestoreSummary) SetRestoreDateTime(v string) *AwsDynamoDbTableRestoreSummary { s.RestoreDateTime = &v return s } // SetRestoreInProgress sets the RestoreInProgress field's value. func (s *AwsDynamoDbTableRestoreSummary) SetRestoreInProgress(v bool) *AwsDynamoDbTableRestoreSummary { s.RestoreInProgress = &v return s } // SetSourceBackupArn sets the SourceBackupArn field's value. func (s *AwsDynamoDbTableRestoreSummary) SetSourceBackupArn(v string) *AwsDynamoDbTableRestoreSummary { s.SourceBackupArn = &v return s } // SetSourceTableArn sets the SourceTableArn field's value. func (s *AwsDynamoDbTableRestoreSummary) SetSourceTableArn(v string) *AwsDynamoDbTableRestoreSummary { s.SourceTableArn = &v return s } // Information about the server-side encryption for the table. type AwsDynamoDbTableSseDescription struct { _ struct{} `type:"structure"` // If the key is inaccessible, the date and time when DynamoDB detected that // the key was inaccessible. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) InaccessibleEncryptionDateTime *string `type:"string"` // The ARN of the KMS key that is used for the KMS encryption. KmsMasterKeyArn *string `type:"string"` // The type of server-side encryption. SseType *string `type:"string"` // The status of the server-side encryption. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableSseDescription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableSseDescription) GoString() string { return s.String() } // SetInaccessibleEncryptionDateTime sets the InaccessibleEncryptionDateTime field's value. func (s *AwsDynamoDbTableSseDescription) SetInaccessibleEncryptionDateTime(v string) *AwsDynamoDbTableSseDescription { s.InaccessibleEncryptionDateTime = &v return s } // SetKmsMasterKeyArn sets the KmsMasterKeyArn field's value. func (s *AwsDynamoDbTableSseDescription) SetKmsMasterKeyArn(v string) *AwsDynamoDbTableSseDescription { s.KmsMasterKeyArn = &v return s } // SetSseType sets the SseType field's value. func (s *AwsDynamoDbTableSseDescription) SetSseType(v string) *AwsDynamoDbTableSseDescription { s.SseType = &v return s } // SetStatus sets the Status field's value. func (s *AwsDynamoDbTableSseDescription) SetStatus(v string) *AwsDynamoDbTableSseDescription { s.Status = &v return s } // The current DynamoDB Streams configuration for the table. type AwsDynamoDbTableStreamSpecification struct { _ struct{} `type:"structure"` // Indicates whether DynamoDB Streams is enabled on the table. StreamEnabled *bool `type:"boolean"` // Determines the information that is written to the table. StreamViewType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableStreamSpecification) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsDynamoDbTableStreamSpecification) GoString() string { return s.String() } // SetStreamEnabled sets the StreamEnabled field's value. func (s *AwsDynamoDbTableStreamSpecification) SetStreamEnabled(v bool) *AwsDynamoDbTableStreamSpecification { s.StreamEnabled = &v return s } // SetStreamViewType sets the StreamViewType field's value. func (s *AwsDynamoDbTableStreamSpecification) SetStreamViewType(v string) *AwsDynamoDbTableStreamSpecification { s.StreamViewType = &v return s } // Provides details about an Active Directory thats used to authenticate // an Client VPN endpoint. type your_sha256_hashls struct { _ struct{} `type:"structure"` // The ID of the Active Directory used for authentication. DirectoryId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) GoString() string { return s.String() } // SetDirectoryId sets the DirectoryId field's value. func (s *your_sha256_hashls) SetDirectoryId(v string) *your_sha256_hashls { s.DirectoryId = &v return s } // Information about the authentication method used by the Client VPN endpoint. type AwsEc2ClientVpnEndpointAuthenticationOptionsDetails struct { _ struct{} `type:"structure"` // Information about the Active Directory, if applicable. With Active Directory // authentication, clients are authenticated against existing Active Directory // groups. ActiveDirectory *your_sha256_hashls `type:"structure"` // Information about the IAM SAML identity provider, if applicable. FederatedAuthentication *your_sha256_hashionDetails `type:"structure"` // Information about the authentication certificates, if applicable. MutualAuthentication *your_sha256_hashDetails `type:"structure"` // The authentication type used. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointAuthenticationOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointAuthenticationOptionsDetails) GoString() string { return s.String() } // SetActiveDirectory sets the ActiveDirectory field's value. func (s *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails) SetActiveDirectory(v *your_sha256_hashls) *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails { s.ActiveDirectory = v return s } // SetFederatedAuthentication sets the FederatedAuthentication field's value. func (s *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails) SetFederatedAuthentication(v *your_sha256_hashionDetails) *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails { s.FederatedAuthentication = v return s } // SetMutualAuthentication sets the MutualAuthentication field's value. func (s *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails) SetMutualAuthentication(v *your_sha256_hashDetails) *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails { s.MutualAuthentication = v return s } // SetType sets the Type field's value. func (s *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails) SetType(v string) *AwsEc2ClientVpnEndpointAuthenticationOptionsDetails { s.Type = &v return s } // Describes the IAM SAML identity providers used for federated authentication. type your_sha256_hashionDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the IAM SAML identity provider. SamlProviderArn *string `type:"string"` // The Amazon Resource Name (ARN) of the IAM SAML identity provider for the // self-service portal. SelfServiceSamlProviderArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashionDetails) GoString() string { return s.String() } // SetSamlProviderArn sets the SamlProviderArn field's value. func (s *your_sha256_hashionDetails) SetSamlProviderArn(v string) *your_sha256_hashionDetails { s.SamlProviderArn = &v return s } // SetSelfServiceSamlProviderArn sets the SelfServiceSamlProviderArn field's value. func (s *your_sha256_hashionDetails) SetSelfServiceSamlProviderArn(v string) *your_sha256_hashionDetails { s.SelfServiceSamlProviderArn = &v return s } // Information about the client certificate used for authentication. type your_sha256_hashDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the client certificate. ClientRootCertificateChain *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashDetails) GoString() string { return s.String() } // SetClientRootCertificateChain sets the ClientRootCertificateChain field's value. func (s *your_sha256_hashDetails) SetClientRootCertificateChain(v string) *your_sha256_hashDetails { s.ClientRootCertificateChain = &v return s } // The options for managing connection authorization for new client connections. type AwsEc2ClientVpnEndpointClientConnectOptionsDetails struct { _ struct{} `type:"structure"` // Indicates whether client connect options are enabled. Enabled *bool `type:"boolean"` // The Amazon Resource Name (ARN) of the Lambda function used for connection // authorization. LambdaFunctionArn *string `type:"string"` // The status of any updates to the client connect options. Status *AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointClientConnectOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointClientConnectOptionsDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsEc2ClientVpnEndpointClientConnectOptionsDetails) SetEnabled(v bool) *AwsEc2ClientVpnEndpointClientConnectOptionsDetails { s.Enabled = &v return s } // SetLambdaFunctionArn sets the LambdaFunctionArn field's value. func (s *AwsEc2ClientVpnEndpointClientConnectOptionsDetails) SetLambdaFunctionArn(v string) *AwsEc2ClientVpnEndpointClientConnectOptionsDetails { s.LambdaFunctionArn = &v return s } // SetStatus sets the Status field's value. func (s *AwsEc2ClientVpnEndpointClientConnectOptionsDetails) SetStatus(v *AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails) *AwsEc2ClientVpnEndpointClientConnectOptionsDetails { s.Status = v return s } // Describes the status of the Client VPN endpoint attribute. type AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails struct { _ struct{} `type:"structure"` // The status code. Code *string `type:"string"` // The status message. Message *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails) GoString() string { return s.String() } // SetCode sets the Code field's value. func (s *AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails) SetCode(v string) *AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails { s.Code = &v return s } // SetMessage sets the Message field's value. func (s *AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails) SetMessage(v string) *AwsEc2ClientVpnEndpointClientConnectOptionsStatusDetails { s.Message = &v return s } // Options for enabling a customizable text banner that will be displayed on // Amazon Web Services provided clients when a VPN session is established. type AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails struct { _ struct{} `type:"structure"` // Customizable text that will be displayed in a banner on Amazon Web Services // provided clients when a VPN session is established. BannerText *string `type:"string"` // Current state of text banner feature. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails) GoString() string { return s.String() } // SetBannerText sets the BannerText field's value. func (s *AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails) SetBannerText(v string) *AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails { s.BannerText = &v return s } // SetEnabled sets the Enabled field's value. func (s *AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails) SetEnabled(v bool) *AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails { s.Enabled = &v return s } // Information about the client connection logging options for the Client VPN // endpoint. type AwsEc2ClientVpnEndpointConnectionLogOptionsDetails struct { _ struct{} `type:"structure"` // The name of the Amazon CloudWatch Logs log group to which connection logging // data is published. CloudwatchLogGroup *string `type:"string"` // The name of the Amazon CloudWatch Logs log stream to which connection logging // data is published. CloudwatchLogStream *string `type:"string"` // Indicates whether client connection logging is enabled for the Client VPN // endpoint. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointConnectionLogOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointConnectionLogOptionsDetails) GoString() string { return s.String() } // SetCloudwatchLogGroup sets the CloudwatchLogGroup field's value. func (s *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails) SetCloudwatchLogGroup(v string) *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails { s.CloudwatchLogGroup = &v return s } // SetCloudwatchLogStream sets the CloudwatchLogStream field's value. func (s *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails) SetCloudwatchLogStream(v string) *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails { s.CloudwatchLogStream = &v return s } // SetEnabled sets the Enabled field's value. func (s *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails) SetEnabled(v bool) *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails { s.Enabled = &v return s } // Describes an Client VPN endpoint. A Client VPN endpoint is the resource that // you create and configure to enable and manage client VPN sessions. It's the // termination point for all client VPN sessions. type AwsEc2ClientVpnEndpointDetails struct { _ struct{} `type:"structure"` // Information about the authentication method used by the Client VPN endpoint. AuthenticationOptions []*AwsEc2ClientVpnEndpointAuthenticationOptionsDetails `type:"list"` // The IPv4 address range, in CIDR notation, from which client IP addresses // are assigned. ClientCidrBlock *string `type:"string"` // The options for managing connection authorization for new client connections. ClientConnectOptions *AwsEc2ClientVpnEndpointClientConnectOptionsDetails `type:"structure"` // Options for enabling a customizable text banner that will be displayed on // Amazon Web Services provided clients when a VPN session is established. ClientLoginBannerOptions *AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails `type:"structure"` // The ID of the Client VPN endpoint. ClientVpnEndpointId *string `type:"string"` // Information about the client connection logging options for the Client VPN // endpoint. ConnectionLogOptions *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails `type:"structure"` // A brief description of the endpoint. Description *string `type:"string"` // Information about the DNS servers to be used for DNS resolution. DnsServer []*string `type:"list"` // The IDs of the security groups for the target network. SecurityGroupIdSet []*string `type:"list"` // The URL of the self-service portal. SelfServicePortalUrl *string `type:"string"` // The Amazon Resource Name (ARN) of the server certificate. ServerCertificateArn *string `type:"string"` // The maximum VPN session duration time in hours. SessionTimeoutHours *int64 `type:"integer"` // Indicates whether split-tunnel is enabled in the Client VPN endpoint. SplitTunnel *bool `type:"boolean"` // The transport protocol used by the Client VPN endpoint. TransportProtocol *string `type:"string"` // The ID of the VPC. VpcId *string `type:"string"` // The port number for the Client VPN endpoint. VpnPort *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2ClientVpnEndpointDetails) GoString() string { return s.String() } // SetAuthenticationOptions sets the AuthenticationOptions field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetAuthenticationOptions(v []*AwsEc2ClientVpnEndpointAuthenticationOptionsDetails) *AwsEc2ClientVpnEndpointDetails { s.AuthenticationOptions = v return s } // SetClientCidrBlock sets the ClientCidrBlock field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetClientCidrBlock(v string) *AwsEc2ClientVpnEndpointDetails { s.ClientCidrBlock = &v return s } // SetClientConnectOptions sets the ClientConnectOptions field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetClientConnectOptions(v *AwsEc2ClientVpnEndpointClientConnectOptionsDetails) *AwsEc2ClientVpnEndpointDetails { s.ClientConnectOptions = v return s } // SetClientLoginBannerOptions sets the ClientLoginBannerOptions field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetClientLoginBannerOptions(v *AwsEc2ClientVpnEndpointClientLoginBannerOptionsDetails) *AwsEc2ClientVpnEndpointDetails { s.ClientLoginBannerOptions = v return s } // SetClientVpnEndpointId sets the ClientVpnEndpointId field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetClientVpnEndpointId(v string) *AwsEc2ClientVpnEndpointDetails { s.ClientVpnEndpointId = &v return s } // SetConnectionLogOptions sets the ConnectionLogOptions field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetConnectionLogOptions(v *AwsEc2ClientVpnEndpointConnectionLogOptionsDetails) *AwsEc2ClientVpnEndpointDetails { s.ConnectionLogOptions = v return s } // SetDescription sets the Description field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetDescription(v string) *AwsEc2ClientVpnEndpointDetails { s.Description = &v return s } // SetDnsServer sets the DnsServer field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetDnsServer(v []*string) *AwsEc2ClientVpnEndpointDetails { s.DnsServer = v return s } // SetSecurityGroupIdSet sets the SecurityGroupIdSet field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetSecurityGroupIdSet(v []*string) *AwsEc2ClientVpnEndpointDetails { s.SecurityGroupIdSet = v return s } // SetSelfServicePortalUrl sets the SelfServicePortalUrl field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetSelfServicePortalUrl(v string) *AwsEc2ClientVpnEndpointDetails { s.SelfServicePortalUrl = &v return s } // SetServerCertificateArn sets the ServerCertificateArn field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetServerCertificateArn(v string) *AwsEc2ClientVpnEndpointDetails { s.ServerCertificateArn = &v return s } // SetSessionTimeoutHours sets the SessionTimeoutHours field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetSessionTimeoutHours(v int64) *AwsEc2ClientVpnEndpointDetails { s.SessionTimeoutHours = &v return s } // SetSplitTunnel sets the SplitTunnel field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetSplitTunnel(v bool) *AwsEc2ClientVpnEndpointDetails { s.SplitTunnel = &v return s } // SetTransportProtocol sets the TransportProtocol field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetTransportProtocol(v string) *AwsEc2ClientVpnEndpointDetails { s.TransportProtocol = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetVpcId(v string) *AwsEc2ClientVpnEndpointDetails { s.VpcId = &v return s } // SetVpnPort sets the VpnPort field's value. func (s *AwsEc2ClientVpnEndpointDetails) SetVpnPort(v int64) *AwsEc2ClientVpnEndpointDetails { s.VpnPort = &v return s } // Information about an Elastic IP address. type AwsEc2EipDetails struct { _ struct{} `type:"structure"` // The identifier that Amazon Web Services assigns to represent the allocation // of the Elastic IP address for use with Amazon VPC. AllocationId *string `type:"string"` // The identifier that represents the association of the Elastic IP address // with an EC2 instance. AssociationId *string `type:"string"` // The domain in which to allocate the address. // // If the address is for use with EC2 instances in a VPC, then Domain is vpc. // Otherwise, Domain is standard. Domain *string `type:"string"` // The identifier of the EC2 instance. InstanceId *string `type:"string"` // The name of the location from which the Elastic IP address is advertised. NetworkBorderGroup *string `type:"string"` // The identifier of the network interface. NetworkInterfaceId *string `type:"string"` // The Amazon Web Services account ID of the owner of the network interface. NetworkInterfaceOwnerId *string `type:"string"` // The private IP address that is associated with the Elastic IP address. PrivateIpAddress *string `type:"string"` // A public IP address that is associated with the EC2 instance. PublicIp *string `type:"string"` // The identifier of an IP address pool. This parameter allows Amazon EC2 to // select an IP address from the address pool. PublicIpv4Pool *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2EipDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2EipDetails) GoString() string { return s.String() } // SetAllocationId sets the AllocationId field's value. func (s *AwsEc2EipDetails) SetAllocationId(v string) *AwsEc2EipDetails { s.AllocationId = &v return s } // SetAssociationId sets the AssociationId field's value. func (s *AwsEc2EipDetails) SetAssociationId(v string) *AwsEc2EipDetails { s.AssociationId = &v return s } // SetDomain sets the Domain field's value. func (s *AwsEc2EipDetails) SetDomain(v string) *AwsEc2EipDetails { s.Domain = &v return s } // SetInstanceId sets the InstanceId field's value. func (s *AwsEc2EipDetails) SetInstanceId(v string) *AwsEc2EipDetails { s.InstanceId = &v return s } // SetNetworkBorderGroup sets the NetworkBorderGroup field's value. func (s *AwsEc2EipDetails) SetNetworkBorderGroup(v string) *AwsEc2EipDetails { s.NetworkBorderGroup = &v return s } // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *AwsEc2EipDetails) SetNetworkInterfaceId(v string) *AwsEc2EipDetails { s.NetworkInterfaceId = &v return s } // SetNetworkInterfaceOwnerId sets the NetworkInterfaceOwnerId field's value. func (s *AwsEc2EipDetails) SetNetworkInterfaceOwnerId(v string) *AwsEc2EipDetails { s.NetworkInterfaceOwnerId = &v return s } // SetPrivateIpAddress sets the PrivateIpAddress field's value. func (s *AwsEc2EipDetails) SetPrivateIpAddress(v string) *AwsEc2EipDetails { s.PrivateIpAddress = &v return s } // SetPublicIp sets the PublicIp field's value. func (s *AwsEc2EipDetails) SetPublicIp(v string) *AwsEc2EipDetails { s.PublicIp = &v return s } // SetPublicIpv4Pool sets the PublicIpv4Pool field's value. func (s *AwsEc2EipDetails) SetPublicIpv4Pool(v string) *AwsEc2EipDetails { s.PublicIpv4Pool = &v return s } // The details of an Amazon EC2 instance. type AwsEc2InstanceDetails struct { _ struct{} `type:"structure"` // The IAM profile ARN of the instance. IamInstanceProfileArn *string `type:"string"` // The Amazon Machine Image (AMI) ID of the instance. ImageId *string `type:"string"` // The IPv4 addresses associated with the instance. IpV4Addresses []*string `type:"list"` // The IPv6 addresses associated with the instance. IpV6Addresses []*string `type:"list"` // The key name associated with the instance. KeyName *string `type:"string"` // Indicates when the instance was launched. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LaunchedAt *string `type:"string"` // Details about the metadata options for the Amazon EC2 instance. MetadataOptions *AwsEc2InstanceMetadataOptions `type:"structure"` // Describes the type of monitoring thats turned on for an instance. Monitoring *AwsEc2InstanceMonitoringDetails `type:"structure"` // The identifiers of the network interfaces for the EC2 instance. The details // for each network interface are in a corresponding AwsEc2NetworkInterfacesDetails // object. NetworkInterfaces []*AwsEc2InstanceNetworkInterfacesDetails `type:"list"` // The identifier of the subnet that the instance was launched in. SubnetId *string `type:"string"` // The instance type of the instance. Type *string `type:"string"` // The virtualization type of the Amazon Machine Image (AMI) required to launch // the instance. VirtualizationType *string `type:"string"` // The identifier of the VPC that the instance was launched in. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceDetails) GoString() string { return s.String() } // SetIamInstanceProfileArn sets the IamInstanceProfileArn field's value. func (s *AwsEc2InstanceDetails) SetIamInstanceProfileArn(v string) *AwsEc2InstanceDetails { s.IamInstanceProfileArn = &v return s } // SetImageId sets the ImageId field's value. func (s *AwsEc2InstanceDetails) SetImageId(v string) *AwsEc2InstanceDetails { s.ImageId = &v return s } // SetIpV4Addresses sets the IpV4Addresses field's value. func (s *AwsEc2InstanceDetails) SetIpV4Addresses(v []*string) *AwsEc2InstanceDetails { s.IpV4Addresses = v return s } // SetIpV6Addresses sets the IpV6Addresses field's value. func (s *AwsEc2InstanceDetails) SetIpV6Addresses(v []*string) *AwsEc2InstanceDetails { s.IpV6Addresses = v return s } // SetKeyName sets the KeyName field's value. func (s *AwsEc2InstanceDetails) SetKeyName(v string) *AwsEc2InstanceDetails { s.KeyName = &v return s } // SetLaunchedAt sets the LaunchedAt field's value. func (s *AwsEc2InstanceDetails) SetLaunchedAt(v string) *AwsEc2InstanceDetails { s.LaunchedAt = &v return s } // SetMetadataOptions sets the MetadataOptions field's value. func (s *AwsEc2InstanceDetails) SetMetadataOptions(v *AwsEc2InstanceMetadataOptions) *AwsEc2InstanceDetails { s.MetadataOptions = v return s } // SetMonitoring sets the Monitoring field's value. func (s *AwsEc2InstanceDetails) SetMonitoring(v *AwsEc2InstanceMonitoringDetails) *AwsEc2InstanceDetails { s.Monitoring = v return s } // SetNetworkInterfaces sets the NetworkInterfaces field's value. func (s *AwsEc2InstanceDetails) SetNetworkInterfaces(v []*AwsEc2InstanceNetworkInterfacesDetails) *AwsEc2InstanceDetails { s.NetworkInterfaces = v return s } // SetSubnetId sets the SubnetId field's value. func (s *AwsEc2InstanceDetails) SetSubnetId(v string) *AwsEc2InstanceDetails { s.SubnetId = &v return s } // SetType sets the Type field's value. func (s *AwsEc2InstanceDetails) SetType(v string) *AwsEc2InstanceDetails { s.Type = &v return s } // SetVirtualizationType sets the VirtualizationType field's value. func (s *AwsEc2InstanceDetails) SetVirtualizationType(v string) *AwsEc2InstanceDetails { s.VirtualizationType = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2InstanceDetails) SetVpcId(v string) *AwsEc2InstanceDetails { s.VpcId = &v return s } // Metadata options that allow you to configure and secure the Amazon EC2 instance. type AwsEc2InstanceMetadataOptions struct { _ struct{} `type:"structure"` // Enables or disables the HTTP metadata endpoint on the instance. HttpEndpoint *string `type:"string"` // Enables or disables the IPv6 endpoint for the instance metadata service. HttpProtocolIpv6 *string `type:"string"` // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. HttpPutResponseHopLimit *int64 `type:"integer"` // The state of token usage for your instance metadata requests. HttpTokens *string `type:"string"` // Specifies whether to allow access to instance tags from the instance metadata. InstanceMetadataTags *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceMetadataOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceMetadataOptions) GoString() string { return s.String() } // SetHttpEndpoint sets the HttpEndpoint field's value. func (s *AwsEc2InstanceMetadataOptions) SetHttpEndpoint(v string) *AwsEc2InstanceMetadataOptions { s.HttpEndpoint = &v return s } // SetHttpProtocolIpv6 sets the HttpProtocolIpv6 field's value. func (s *AwsEc2InstanceMetadataOptions) SetHttpProtocolIpv6(v string) *AwsEc2InstanceMetadataOptions { s.HttpProtocolIpv6 = &v return s } // SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value. func (s *AwsEc2InstanceMetadataOptions) SetHttpPutResponseHopLimit(v int64) *AwsEc2InstanceMetadataOptions { s.HttpPutResponseHopLimit = &v return s } // SetHttpTokens sets the HttpTokens field's value. func (s *AwsEc2InstanceMetadataOptions) SetHttpTokens(v string) *AwsEc2InstanceMetadataOptions { s.HttpTokens = &v return s } // SetInstanceMetadataTags sets the InstanceMetadataTags field's value. func (s *AwsEc2InstanceMetadataOptions) SetInstanceMetadataTags(v string) *AwsEc2InstanceMetadataOptions { s.InstanceMetadataTags = &v return s } // The type of monitoring thats turned on for an Amazon EC2 instance. type AwsEc2InstanceMonitoringDetails struct { _ struct{} `type:"structure"` // Indicates whether detailed monitoring is turned on. Otherwise, basic monitoring // is turned on. State *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceMonitoringDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceMonitoringDetails) GoString() string { return s.String() } // SetState sets the State field's value. func (s *AwsEc2InstanceMonitoringDetails) SetState(v string) *AwsEc2InstanceMonitoringDetails { s.State = &v return s } // Identifies a network interface for the Amazon EC2 instance. type AwsEc2InstanceNetworkInterfacesDetails struct { _ struct{} `type:"structure"` // The identifier of the network interface. The details are in a corresponding // AwsEc2NetworkInterfacesDetails object. NetworkInterfaceId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceNetworkInterfacesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2InstanceNetworkInterfacesDetails) GoString() string { return s.String() } // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *AwsEc2InstanceNetworkInterfacesDetails) SetNetworkInterfaceId(v string) *AwsEc2InstanceNetworkInterfacesDetails { s.NetworkInterfaceId = &v return s } // Information about a block device mapping for an Amazon Elastic Compute Cloud // (Amazon EC2) launch template. type AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails struct { _ struct{} `type:"structure"` // The device name. DeviceName *string `type:"string"` // Parameters used to automatically set up Amazon EBS volumes when the instance // is launched. Ebs *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails `type:"structure"` // Omits the device from the block device mapping when an empty string is specified. NoDevice *string `type:"string"` // The virtual device name (ephemeralN). Instance store volumes are numbered // starting from 0. An instance type with 2 available instance store volumes // can specify mappings for ephemeral0 and ephemeral1. The number of available // instance store volumes depends on the instance type. VirtualName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails) GoString() string { return s.String() } // SetDeviceName sets the DeviceName field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails) SetDeviceName(v string) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails { s.DeviceName = &v return s } // SetEbs sets the Ebs field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails) SetEbs(v *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails { s.Ebs = v return s } // SetNoDevice sets the NoDevice field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails) SetNoDevice(v string) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails { s.NoDevice = &v return s } // SetVirtualName sets the VirtualName field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails) SetVirtualName(v string) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails { s.VirtualName = &v return s } // Parameters for a block device for an Amazon Elastic Block Store (Amazon EBS) // volume in an Amazon EC2 launch template. type AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails struct { _ struct{} `type:"structure"` // Indicates whether the EBS volume is deleted on instance termination. DeleteOnTermination *bool `type:"boolean"` // Indicates whether the EBS volume is encrypted. Encrypted volumes can only // be attached to instances that support Amazon EBS encryption. If you're creating // a volume from a snapshot, you can't specify an encryption value. Encrypted *bool `type:"boolean"` // The number of I/O operations per second (IOPS). Iops *int64 `type:"integer"` // The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) // customer managed key used for encryption. KmsKeyId *string `type:"string"` // The ID of the EBS snapshot. SnapshotId *string `type:"string"` // The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s. Throughput *int64 `type:"integer"` // The size of the volume, in GiBs. You must specify either a snapshot ID or // a volume size. VolumeSize *int64 `type:"integer"` // The volume type. VolumeType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) GoString() string { return s.String() } // SetDeleteOnTermination sets the DeleteOnTermination field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetDeleteOnTermination(v bool) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.DeleteOnTermination = &v return s } // SetEncrypted sets the Encrypted field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetEncrypted(v bool) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.Encrypted = &v return s } // SetIops sets the Iops field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetIops(v int64) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.Iops = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetKmsKeyId(v string) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.KmsKeyId = &v return s } // SetSnapshotId sets the SnapshotId field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetSnapshotId(v string) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.SnapshotId = &v return s } // SetThroughput sets the Throughput field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetThroughput(v int64) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.Throughput = &v return s } // SetVolumeSize sets the VolumeSize field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetVolumeSize(v int64) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.VolumeSize = &v return s } // SetVolumeType sets the VolumeType field's value. func (s *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails) SetVolumeType(v string) *AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { s.VolumeType = &v return s } // Information about the target Capacity Reservation or Capacity Reservation // group in which to run an Amazon EC2 instance. type your_sha256_hashReservationTargetDetails struct { _ struct{} `type:"structure"` // The ID of the Capacity Reservation in which to run the instance. CapacityReservationId *string `type:"string"` // The Amazon Resource Name (ARN) of the Capacity Reservation resource group // in which to run the instance. CapacityReservationResourceGroupArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashReservationTargetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashReservationTargetDetails) GoString() string { return s.String() } // SetCapacityReservationId sets the CapacityReservationId field's value. func (s *your_sha256_hashReservationTargetDetails) SetCapacityReservationId(v string) *your_sha256_hashReservationTargetDetails { s.CapacityReservationId = &v return s } // SetCapacityReservationResourceGroupArn sets the CapacityReservationResourceGroupArn field's value. func (s *your_sha256_hashReservationTargetDetails) SetCapacityReservationResourceGroupArn(v string) *your_sha256_hashReservationTargetDetails { s.CapacityReservationResourceGroupArn = &v return s } // Specifies the Capacity Reservation targeting option of an Amazon EC2 instance. type AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails struct { _ struct{} `type:"structure"` // Indicates the instance's Capacity Reservation preferences. If equal to open, // the instance can run in any open Capacity Reservation that has matching attributes // (instance type, platform, Availability Zone). If equal to none, the instance // avoids running in a Capacity Reservation even if one is available. The instance // runs in On-Demand capacity. CapacityReservationPreference *string `type:"string"` // Specifies a target Capacity Reservation. CapacityReservationTarget *your_sha256_hashReservationTargetDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails) GoString() string { return s.String() } // SetCapacityReservationPreference sets the CapacityReservationPreference field's value. func (s *AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails) SetCapacityReservationPreference(v string) *AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails { s.CapacityReservationPreference = &v return s } // SetCapacityReservationTarget sets the CapacityReservationTarget field's value. func (s *AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails) SetCapacityReservationTarget(v *your_sha256_hashReservationTargetDetails) *AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails { s.CapacityReservationTarget = v return s } // Specifies the CPU options for an Amazon EC2 instance. For more information, // see Optimize CPU options (path_to_url // in the Amazon Elastic Compute Cloud User Guide. type AwsEc2LaunchTemplateDataCpuOptionsDetails struct { _ struct{} `type:"structure"` // The number of CPU cores for the instance. CoreCount *int64 `type:"integer"` // The number of threads per CPU core. A value of 1 disables multithreading // for the instance, The default value is 2. ThreadsPerCore *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataCpuOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataCpuOptionsDetails) GoString() string { return s.String() } // SetCoreCount sets the CoreCount field's value. func (s *AwsEc2LaunchTemplateDataCpuOptionsDetails) SetCoreCount(v int64) *AwsEc2LaunchTemplateDataCpuOptionsDetails { s.CoreCount = &v return s } // SetThreadsPerCore sets the ThreadsPerCore field's value. func (s *AwsEc2LaunchTemplateDataCpuOptionsDetails) SetThreadsPerCore(v int64) *AwsEc2LaunchTemplateDataCpuOptionsDetails { s.ThreadsPerCore = &v return s } // Specifies the credit option for CPU usage of a T2, T3, or T3a Amazon EC2 // instance. type AwsEc2LaunchTemplateDataCreditSpecificationDetails struct { _ struct{} `type:"structure"` // The credit option for CPU usage of a T instance. CpuCredits *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataCreditSpecificationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataCreditSpecificationDetails) GoString() string { return s.String() } // SetCpuCredits sets the CpuCredits field's value. func (s *AwsEc2LaunchTemplateDataCreditSpecificationDetails) SetCpuCredits(v string) *AwsEc2LaunchTemplateDataCreditSpecificationDetails { s.CpuCredits = &v return s } // The information to include in an Amazon Elastic Compute Cloud (Amazon EC2) // launch template. type AwsEc2LaunchTemplateDataDetails struct { _ struct{} `type:"structure"` // Information about a block device mapping for an Amazon EC2 launch template. BlockDeviceMappingSet []*AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails `type:"list"` // Specifies an instance's Capacity Reservation targeting option. You can specify // only one option at a time. CapacityReservationSpecification *AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails `type:"structure"` // Specifies the CPU options for an instance. For more information, see Optimize // CPU options (path_to_url // in the Amazon Elastic Compute Cloud User Guide. CpuOptions *AwsEc2LaunchTemplateDataCpuOptionsDetails `type:"structure"` // Specifies the credit option for CPU usage of a T2, T3, or T3a instance. CreditSpecification *AwsEc2LaunchTemplateDataCreditSpecificationDetails `type:"structure"` // Indicates whether to enable the instance for stop protection. For more information, // see Enable stop protection (path_to_url#Using_StopProtection) // in the Amazon EC2 User Guide. DisableApiStop *bool `type:"boolean"` // If you set this parameter to true, you can't terminate the instance using // the Amazon EC2 console, CLI, or API. If set to true, you can. DisableApiTermination *bool `type:"boolean"` // Indicates whether the instance is optimized for Amazon EBS I/O. EbsOptimized *bool `type:"boolean"` // Provides details about Elastic Graphics accelerators to associate with the // instance. ElasticGpuSpecificationSet []*AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails `type:"list"` // The Amazon Elastic Inference accelerator for the instance. ElasticInferenceAcceleratorSet []*AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails `type:"list"` // Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services // Nitro Enclaves. EnclaveOptions *AwsEc2LaunchTemplateDataEnclaveOptionsDetails `type:"structure"` // Specifies whether your Amazon EC2 instance is configured for hibernation. HibernationOptions *AwsEc2LaunchTemplateDataHibernationOptionsDetails `type:"structure"` // The name or Amazon Resource Name (ARN) of an IAM instance profile. IamInstanceProfile *AwsEc2LaunchTemplateDataIamInstanceProfileDetails `type:"structure"` // The ID of the Amazon Machine Image (AMI). ImageId *string `type:"string"` // Provides the options for specifying the instance initiated shutdown behavior. InstanceInitiatedShutdownBehavior *string `type:"string"` // Specifies the market (purchasing) option for an instance. InstanceMarketOptions *AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails `type:"structure"` // The attributes for the instance types. When you specify instance attributes, // Amazon EC2 will identify instance types with these attributes. If you specify // InstanceRequirements, you can't specify InstanceType. InstanceRequirements *AwsEc2LaunchTemplateDataInstanceRequirementsDetails `type:"structure"` // The instance type. For more information, see Instance types (path_to_url // in the Amazon EC2 User Guide. If you specify InstanceType, you can't specify // InstanceRequirements. InstanceType *string `type:"string"` // The ID of the kernel. KernelId *string `type:"string"` // The name of the key pair that allows users to connect to the instance. KeyName *string `type:"string"` // Specifies a license configuration for an instance. // The maintenance options of your instance. MaintenanceOptions *AwsEc2LaunchTemplateDataMaintenanceOptionsDetails `type:"structure"` // The metadata options for the instance. For more information, see Instance // metadata and user data (path_to_url // in the Amazon EC2 User Guide. MetadataOptions *AwsEc2LaunchTemplateDataMetadataOptionsDetails `type:"structure"` // The monitoring for the instance. Monitoring *AwsEc2LaunchTemplateDataMonitoringDetails `type:"structure"` // Specifies the parameters for a network interface that is attached to the // instance. NetworkInterfaceSet []*AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails `type:"list"` // Specifies the placement of an instance. Placement *AwsEc2LaunchTemplateDataPlacementDetails `type:"structure"` // The options for the instance hostname. PrivateDnsNameOptions *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails `type:"structure"` // The ID of the RAM disk. RamDiskId *string `type:"string"` // One or more security group IDs. SecurityGroupIdSet []*string `type:"list"` // One or more security group names. For a nondefault VPC, you must use security // group IDs instead. You cannot specify both a security group ID and security // name in the same request. SecurityGroupSet []*string `type:"list"` // The user data to make available to the instance. UserData *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataDetails) GoString() string { return s.String() } // SetBlockDeviceMappingSet sets the BlockDeviceMappingSet field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetBlockDeviceMappingSet(v []*AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails) *AwsEc2LaunchTemplateDataDetails { s.BlockDeviceMappingSet = v return s } // SetCapacityReservationSpecification sets the CapacityReservationSpecification field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetCapacityReservationSpecification(v *AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails) *AwsEc2LaunchTemplateDataDetails { s.CapacityReservationSpecification = v return s } // SetCpuOptions sets the CpuOptions field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetCpuOptions(v *AwsEc2LaunchTemplateDataCpuOptionsDetails) *AwsEc2LaunchTemplateDataDetails { s.CpuOptions = v return s } // SetCreditSpecification sets the CreditSpecification field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetCreditSpecification(v *AwsEc2LaunchTemplateDataCreditSpecificationDetails) *AwsEc2LaunchTemplateDataDetails { s.CreditSpecification = v return s } // SetDisableApiStop sets the DisableApiStop field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetDisableApiStop(v bool) *AwsEc2LaunchTemplateDataDetails { s.DisableApiStop = &v return s } // SetDisableApiTermination sets the DisableApiTermination field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetDisableApiTermination(v bool) *AwsEc2LaunchTemplateDataDetails { s.DisableApiTermination = &v return s } // SetEbsOptimized sets the EbsOptimized field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetEbsOptimized(v bool) *AwsEc2LaunchTemplateDataDetails { s.EbsOptimized = &v return s } // SetElasticGpuSpecificationSet sets the ElasticGpuSpecificationSet field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetElasticGpuSpecificationSet(v []*AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails) *AwsEc2LaunchTemplateDataDetails { s.ElasticGpuSpecificationSet = v return s } // SetElasticInferenceAcceleratorSet sets the ElasticInferenceAcceleratorSet field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetElasticInferenceAcceleratorSet(v []*AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails) *AwsEc2LaunchTemplateDataDetails { s.ElasticInferenceAcceleratorSet = v return s } // SetEnclaveOptions sets the EnclaveOptions field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetEnclaveOptions(v *AwsEc2LaunchTemplateDataEnclaveOptionsDetails) *AwsEc2LaunchTemplateDataDetails { s.EnclaveOptions = v return s } // SetHibernationOptions sets the HibernationOptions field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetHibernationOptions(v *AwsEc2LaunchTemplateDataHibernationOptionsDetails) *AwsEc2LaunchTemplateDataDetails { s.HibernationOptions = v return s } // SetIamInstanceProfile sets the IamInstanceProfile field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetIamInstanceProfile(v *AwsEc2LaunchTemplateDataIamInstanceProfileDetails) *AwsEc2LaunchTemplateDataDetails { s.IamInstanceProfile = v return s } // SetImageId sets the ImageId field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetImageId(v string) *AwsEc2LaunchTemplateDataDetails { s.ImageId = &v return s } // SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetInstanceInitiatedShutdownBehavior(v string) *AwsEc2LaunchTemplateDataDetails { s.InstanceInitiatedShutdownBehavior = &v return s } // SetInstanceMarketOptions sets the InstanceMarketOptions field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetInstanceMarketOptions(v *AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails) *AwsEc2LaunchTemplateDataDetails { s.InstanceMarketOptions = v return s } // SetInstanceRequirements sets the InstanceRequirements field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetInstanceRequirements(v *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) *AwsEc2LaunchTemplateDataDetails { s.InstanceRequirements = v return s } // SetInstanceType sets the InstanceType field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetInstanceType(v string) *AwsEc2LaunchTemplateDataDetails { s.InstanceType = &v return s } // SetKernelId sets the KernelId field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetKernelId(v string) *AwsEc2LaunchTemplateDataDetails { s.KernelId = &v return s } // SetKeyName sets the KeyName field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetKeyName(v string) *AwsEc2LaunchTemplateDataDetails { s.KeyName = &v return s } return s } // SetMaintenanceOptions sets the MaintenanceOptions field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetMaintenanceOptions(v *AwsEc2LaunchTemplateDataMaintenanceOptionsDetails) *AwsEc2LaunchTemplateDataDetails { s.MaintenanceOptions = v return s } // SetMetadataOptions sets the MetadataOptions field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetMetadataOptions(v *AwsEc2LaunchTemplateDataMetadataOptionsDetails) *AwsEc2LaunchTemplateDataDetails { s.MetadataOptions = v return s } // SetMonitoring sets the Monitoring field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetMonitoring(v *AwsEc2LaunchTemplateDataMonitoringDetails) *AwsEc2LaunchTemplateDataDetails { s.Monitoring = v return s } // SetNetworkInterfaceSet sets the NetworkInterfaceSet field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetNetworkInterfaceSet(v []*AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) *AwsEc2LaunchTemplateDataDetails { s.NetworkInterfaceSet = v return s } // SetPlacement sets the Placement field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetPlacement(v *AwsEc2LaunchTemplateDataPlacementDetails) *AwsEc2LaunchTemplateDataDetails { s.Placement = v return s } // SetPrivateDnsNameOptions sets the PrivateDnsNameOptions field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetPrivateDnsNameOptions(v *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails) *AwsEc2LaunchTemplateDataDetails { s.PrivateDnsNameOptions = v return s } // SetRamDiskId sets the RamDiskId field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetRamDiskId(v string) *AwsEc2LaunchTemplateDataDetails { s.RamDiskId = &v return s } // SetSecurityGroupIdSet sets the SecurityGroupIdSet field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetSecurityGroupIdSet(v []*string) *AwsEc2LaunchTemplateDataDetails { s.SecurityGroupIdSet = v return s } // SetSecurityGroupSet sets the SecurityGroupSet field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetSecurityGroupSet(v []*string) *AwsEc2LaunchTemplateDataDetails { s.SecurityGroupSet = v return s } // SetUserData sets the UserData field's value. func (s *AwsEc2LaunchTemplateDataDetails) SetUserData(v string) *AwsEc2LaunchTemplateDataDetails { s.UserData = &v return s } // Provides details about an Elastic Graphics specification for an Amazon EC2 // launch template. type AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails struct { _ struct{} `type:"structure"` // The type of Elastic Graphics accelerator. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails) SetType(v string) *AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails { s.Type = &v return s } // Provides details for an Amazon Elastic Inference accelerator. type AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails struct { _ struct{} `type:"structure"` // The number of Elastic Inference accelerators to attach to the instance. Count *int64 `type:"integer"` // The type of Elastic Inference accelerator. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails) GoString() string { return s.String() } // SetCount sets the Count field's value. func (s *AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails) SetCount(v int64) *AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails { s.Count = &v return s } // SetType sets the Type field's value. func (s *AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails) SetType(v string) *AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails { s.Type = &v return s } // Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. type AwsEc2LaunchTemplateDataEnclaveOptionsDetails struct { _ struct{} `type:"structure"` // If this parameter is set to true, the instance is enabled for Amazon Web // Services Nitro Enclaves. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataEnclaveOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataEnclaveOptionsDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsEc2LaunchTemplateDataEnclaveOptionsDetails) SetEnabled(v bool) *AwsEc2LaunchTemplateDataEnclaveOptionsDetails { s.Enabled = &v return s } // Specifies whether your Amazon EC2 instance is configured for hibernation. type AwsEc2LaunchTemplateDataHibernationOptionsDetails struct { _ struct{} `type:"structure"` // If you set this parameter to true, the instance is enabled for hibernation. Configured *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataHibernationOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataHibernationOptionsDetails) GoString() string { return s.String() } // SetConfigured sets the Configured field's value. func (s *AwsEc2LaunchTemplateDataHibernationOptionsDetails) SetConfigured(v bool) *AwsEc2LaunchTemplateDataHibernationOptionsDetails { s.Configured = &v return s } // Provides details for an Identity and Access Management (IAM) instance profile, // which is a container for an IAM role for your instance. type AwsEc2LaunchTemplateDataIamInstanceProfileDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the instance profile. Arn *string `type:"string"` // The name of the instance profile. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataIamInstanceProfileDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataIamInstanceProfileDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsEc2LaunchTemplateDataIamInstanceProfileDetails) SetArn(v string) *AwsEc2LaunchTemplateDataIamInstanceProfileDetails { s.Arn = &v return s } // SetName sets the Name field's value. func (s *AwsEc2LaunchTemplateDataIamInstanceProfileDetails) SetName(v string) *AwsEc2LaunchTemplateDataIamInstanceProfileDetails { s.Name = &v return s } // Provides details about the market (purchasing) option for an Amazon EC2 instance. type AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails struct { _ struct{} `type:"structure"` // The market type. MarketType *string `type:"string"` // The options for Spot Instances. SpotOptions *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails) GoString() string { return s.String() } // SetMarketType sets the MarketType field's value. func (s *AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails) SetMarketType(v string) *AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails { s.MarketType = &v return s } // SetSpotOptions sets the SpotOptions field's value. func (s *AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails) SetSpotOptions(v *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) *AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails { s.SpotOptions = v return s } // Provides details about the market (purchasing) options for Spot Instances. type AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails struct { _ struct{} `type:"structure"` // Deprecated. BlockDurationMinutes *int64 `type:"integer"` // The behavior when a Spot Instance is interrupted. InstanceInterruptionBehavior *string `type:"string"` // The maximum hourly price you're willing to pay for the Spot Instances. MaxPrice *string `type:"string"` // The Spot Instance request type. SpotInstanceType *string `type:"string"` // The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ), for persistent // requests. ValidUntil *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) GoString() string { return s.String() } // SetBlockDurationMinutes sets the BlockDurationMinutes field's value. func (s *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) SetBlockDurationMinutes(v int64) *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails { s.BlockDurationMinutes = &v return s } // SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. func (s *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) SetInstanceInterruptionBehavior(v string) *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails { s.InstanceInterruptionBehavior = &v return s } // SetMaxPrice sets the MaxPrice field's value. func (s *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) SetMaxPrice(v string) *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails { s.MaxPrice = &v return s } // SetSpotInstanceType sets the SpotInstanceType field's value. func (s *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) SetSpotInstanceType(v string) *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails { s.SpotInstanceType = &v return s } // SetValidUntil sets the ValidUntil field's value. func (s *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails) SetValidUntil(v string) *AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails { s.ValidUntil = &v return s } // The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web // Services Inferentia chips) on an Amazon EC2 instance. type your_sha256_hashils struct { _ struct{} `type:"structure"` // The maximum number of accelerators. If this parameter isn't specified, there's // no maximum limit. To exclude accelerator-enabled instance types, set Max // to 0. Max *int64 `type:"integer"` // The minimum number of accelerators. If this parameter isn't specified, there's // no minimum limit. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *your_sha256_hashils) SetMax(v int64) *your_sha256_hashils { s.Max = &v return s } // SetMin sets the Min field's value. func (s *your_sha256_hashils) SetMin(v int64) *your_sha256_hashils { s.Min = &v return s } // The minimum and maximum amount of memory, in MiB, for the accelerators on // an Amazon EC2 instance. type your_sha256_hashryMiBDetails struct { _ struct{} `type:"structure"` // The maximum amount of memory, in MiB. If this parameter isn't specified, // there's no maximum limit. Max *int64 `type:"integer"` // The minimum amount of memory, in MiB. If 0 is specified, there's no maximum // limit. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashryMiBDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashryMiBDetails) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *your_sha256_hashryMiBDetails) SetMax(v int64) *your_sha256_hashryMiBDetails { s.Max = &v return s } // SetMin sets the Min field's value. func (s *your_sha256_hashryMiBDetails) SetMin(v int64) *your_sha256_hashryMiBDetails { s.Min = &v return s } // The minimum and maximum baseline bandwidth to Amazon Elastic Block Store // (Amazon EBS), in Mbps. For more information, see Amazon EBSoptimized instances // (path_to_url // in the Amazon EC2 User Guide. type your_sha256_hashMbpsDetails struct { _ struct{} `type:"structure"` // The maximum baseline bandwidth, in Mbps. If this parameter is omitted, there's // no maximum limit. Max *int64 `type:"integer"` // The minimum baseline bandwidth, in Mbps. If this parameter is omitted, there's // no minimum limit. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashMbpsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashMbpsDetails) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *your_sha256_hashMbpsDetails) SetMax(v int64) *your_sha256_hashMbpsDetails { s.Max = &v return s } // SetMin sets the Min field's value. func (s *your_sha256_hashMbpsDetails) SetMin(v int64) *your_sha256_hashMbpsDetails { s.Min = &v return s } // The attributes for the Amazon EC2 instance types. type AwsEc2LaunchTemplateDataInstanceRequirementsDetails struct { _ struct{} `type:"structure"` // The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web // Services Inferentia chips) on an instance. AcceleratorCount *your_sha256_hashils `type:"structure"` // Indicates whether instance types must have accelerators by specific manufacturers. AcceleratorManufacturers []*string `type:"list"` // The accelerators that must be on the instance type. AcceleratorNames []*string `type:"list"` // The minimum and maximum amount of total accelerator memory, in MiB. AcceleratorTotalMemoryMiB *your_sha256_hashryMiBDetails `type:"structure"` // The accelerator types that must be on the instance type. AcceleratorTypes []*string `type:"list"` // Indicates whether bare metal instance types must be included, excluded, or // required. BareMetal *string `type:"string"` // The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more // information, see Amazon EBS optimized instances (path_to_url // in the Amazon EC2 User Guide. BaselineEbsBandwidthMbps *your_sha256_hashMbpsDetails `type:"structure"` // Indicates whether burstable performance T instance types are included, excluded, // or required. For more information, Burstable performance instances (path_to_url // in the Amazon EC2 User Guide. BurstablePerformance *string `type:"string"` // The CPU manufacturers to include. CpuManufacturers []*string `type:"list"` // The instance types to exclude. ExcludedInstanceTypes []*string `type:"list"` // Indicates whether current or previous generation instance types are included. InstanceGenerations []*string `type:"list"` // Indicates whether instance types with instance store volumes are included, // excluded, or required. For more information, see Amazon EC2 instance store // (path_to_url // in the Amazon EC2 User Guide. LocalStorage *string `type:"string"` // The type of local storage that is required. LocalStorageTypes []*string `type:"list"` // The minimum and maximum amount of memory per vCPU, in GiB. MemoryGiBPerVCpu *your_sha256_hashils `type:"structure"` // The minimum and maximum amount of memory, in MiB. MemoryMiB *AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails `type:"structure"` // The minimum and maximum number of network interfaces. NetworkInterfaceCount *your_sha256_hashtDetails `type:"structure"` // The price protection threshold for On-Demand Instances. This is the maximum // you'll pay for an On-Demand Instance, expressed as a percentage above the // least expensive current generation M, C, or R instance type with your specified // attributes. When Amazon EC2 selects instance types with your attributes, // it excludes instance types priced above your threshold. // // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. // // A high value, such as 999999, turns off price protection. OnDemandMaxPricePercentageOverLowestPrice *int64 `type:"integer"` // Indicates whether instance types must support hibernation for On-Demand Instances. RequireHibernateSupport *bool `type:"boolean"` // The price protection threshold for Spot Instances. This is the maximum you'll // pay for a Spot Instance, expressed as a percentage above the least expensive // current generation M, C, or R instance type with your specified attributes. // When Amazon EC2 selects instance types with your attributes, it excludes // instance types priced above your threshold. // // The parameter accepts an integer, which Amazon EC2 interprets as a percentage. // // A high value, such as 999999, turns off price protection. SpotMaxPricePercentageOverLowestPrice *int64 `type:"integer"` // The minimum and maximum amount of total local storage, in GB. TotalLocalStorageGB *your_sha256_hashetails `type:"structure"` // The minimum and maximum number of vCPUs. VCpuCount *AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceRequirementsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceRequirementsDetails) GoString() string { return s.String() } // SetAcceleratorCount sets the AcceleratorCount field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetAcceleratorCount(v *your_sha256_hashils) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.AcceleratorCount = v return s } // SetAcceleratorManufacturers sets the AcceleratorManufacturers field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetAcceleratorManufacturers(v []*string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.AcceleratorManufacturers = v return s } // SetAcceleratorNames sets the AcceleratorNames field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetAcceleratorNames(v []*string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.AcceleratorNames = v return s } // SetAcceleratorTotalMemoryMiB sets the AcceleratorTotalMemoryMiB field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetAcceleratorTotalMemoryMiB(v *your_sha256_hashryMiBDetails) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.AcceleratorTotalMemoryMiB = v return s } // SetAcceleratorTypes sets the AcceleratorTypes field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetAcceleratorTypes(v []*string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.AcceleratorTypes = v return s } // SetBareMetal sets the BareMetal field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetBareMetal(v string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.BareMetal = &v return s } // SetBaselineEbsBandwidthMbps sets the BaselineEbsBandwidthMbps field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetBaselineEbsBandwidthMbps(v *your_sha256_hashMbpsDetails) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.BaselineEbsBandwidthMbps = v return s } // SetBurstablePerformance sets the BurstablePerformance field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetBurstablePerformance(v string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.BurstablePerformance = &v return s } // SetCpuManufacturers sets the CpuManufacturers field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetCpuManufacturers(v []*string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.CpuManufacturers = v return s } // SetExcludedInstanceTypes sets the ExcludedInstanceTypes field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetExcludedInstanceTypes(v []*string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.ExcludedInstanceTypes = v return s } // SetInstanceGenerations sets the InstanceGenerations field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetInstanceGenerations(v []*string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.InstanceGenerations = v return s } // SetLocalStorage sets the LocalStorage field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetLocalStorage(v string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.LocalStorage = &v return s } // SetLocalStorageTypes sets the LocalStorageTypes field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetLocalStorageTypes(v []*string) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.LocalStorageTypes = v return s } // SetMemoryGiBPerVCpu sets the MemoryGiBPerVCpu field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetMemoryGiBPerVCpu(v *your_sha256_hashils) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.MemoryGiBPerVCpu = v return s } // SetMemoryMiB sets the MemoryMiB field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetMemoryMiB(v *AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.MemoryMiB = v return s } // SetNetworkInterfaceCount sets the NetworkInterfaceCount field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetNetworkInterfaceCount(v *your_sha256_hashtDetails) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.NetworkInterfaceCount = v return s } // SetOnDemandMaxPricePercentageOverLowestPrice sets the OnDemandMaxPricePercentageOverLowestPrice field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetOnDemandMaxPricePercentageOverLowestPrice(v int64) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.OnDemandMaxPricePercentageOverLowestPrice = &v return s } // SetRequireHibernateSupport sets the RequireHibernateSupport field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetRequireHibernateSupport(v bool) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.RequireHibernateSupport = &v return s } // SetSpotMaxPricePercentageOverLowestPrice sets the SpotMaxPricePercentageOverLowestPrice field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetSpotMaxPricePercentageOverLowestPrice(v int64) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.SpotMaxPricePercentageOverLowestPrice = &v return s } // SetTotalLocalStorageGB sets the TotalLocalStorageGB field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetTotalLocalStorageGB(v *your_sha256_hashetails) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.TotalLocalStorageGB = v return s } // SetVCpuCount sets the VCpuCount field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsDetails) SetVCpuCount(v *AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails) *AwsEc2LaunchTemplateDataInstanceRequirementsDetails { s.VCpuCount = v return s } // The minimum and maximum amount of memory per vCPU, in GiB. type your_sha256_hashils struct { _ struct{} `type:"structure"` // The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, // there's no maximum limit. Max *float64 `type:"double"` // The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, // there's no maximum limit. Min *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *your_sha256_hashils) SetMax(v float64) *your_sha256_hashils { s.Max = &v return s } // SetMin sets the Min field's value. func (s *your_sha256_hashils) SetMin(v float64) *your_sha256_hashils { s.Min = &v return s } // The minimum and maximum amount of memory, in MiB, for an Amazon EC2 instance. type AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails struct { _ struct{} `type:"structure"` // The maximum amount of memory, in MiB. Max *int64 `type:"integer"` // The minimum amount of memory, in MiB. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails) SetMax(v int64) *AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails { s.Max = &v return s } // SetMin sets the Min field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails) SetMin(v int64) *AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails { s.Min = &v return s } // The minimum and maximum number of network interfaces to be attached to an // Amazon EC2 instance. type your_sha256_hashtDetails struct { _ struct{} `type:"structure"` // The maximum number of network interfaces. Max *int64 `type:"integer"` // The minimum number of network interfaces. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtDetails) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *your_sha256_hashtDetails) SetMax(v int64) *your_sha256_hashtDetails { s.Max = &v return s } // SetMin sets the Min field's value. func (s *your_sha256_hashtDetails) SetMin(v int64) *your_sha256_hashtDetails { s.Min = &v return s } // The minimum and maximum amount of total local storage, in GB, that an Amazon // EC2 instance uses. type your_sha256_hashetails struct { _ struct{} `type:"structure"` // The maximum amount of total local storage, in GB. Max *float64 `type:"double"` // The minimum amount of total local storage, in GB. Min *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashetails) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *your_sha256_hashetails) SetMax(v float64) *your_sha256_hashetails { s.Max = &v return s } // SetMin sets the Min field's value. func (s *your_sha256_hashetails) SetMin(v float64) *your_sha256_hashetails { s.Min = &v return s } // The minimum and maximum number of vCPUs for an Amazon EC2 instance. type AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails struct { _ struct{} `type:"structure"` // The maximum number of vCPUs. Max *int64 `type:"integer"` // The minimum number of vCPUs. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails) GoString() string { return s.String() } // SetMax sets the Max field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails) SetMax(v int64) *AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails { s.Max = &v return s } // SetMin sets the Min field's value. func (s *AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails) SetMin(v int64) *AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails { s.Min = &v return s } // Provides details about the license configuration for an Amazon EC2 instance. _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the license configuration. } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". return s.String() } return s } // The maintenance options of an Amazon EC2 instance. type AwsEc2LaunchTemplateDataMaintenanceOptionsDetails struct { _ struct{} `type:"structure"` // Disables the automatic recovery behavior of your instance or sets it to default. AutoRecovery *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataMaintenanceOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataMaintenanceOptionsDetails) GoString() string { return s.String() } // SetAutoRecovery sets the AutoRecovery field's value. func (s *AwsEc2LaunchTemplateDataMaintenanceOptionsDetails) SetAutoRecovery(v string) *AwsEc2LaunchTemplateDataMaintenanceOptionsDetails { s.AutoRecovery = &v return s } // Specifies the metadata options for an Amazon EC2 instance. type AwsEc2LaunchTemplateDataMetadataOptionsDetails struct { _ struct{} `type:"structure"` // Enables or disables the HTTP metadata endpoint on your instances. If the // parameter is not specified, the default state is enabled, and you won't be // able to access your instance metadata. HttpEndpoint *string `type:"string"` // Enables or disables the IPv6 endpoint for the instance metadata service. HttpProtocolIpv6 *string `type:"string"` // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. HttpPutResponseHopLimit *int64 `type:"integer"` // The state of token usage for your instance metadata requests. HttpTokens *string `type:"string"` // When set to enabled, this parameter allows access to instance tags from the // instance metadata. When set to disabled, it turns off access to instance // tags from the instance metadata. For more information, see Work with instance // tags in instance metadata (path_to_url#work-with-tags-in-IMDS) // in the Amazon EC2 User Guide. InstanceMetadataTags *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataMetadataOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataMetadataOptionsDetails) GoString() string { return s.String() } // SetHttpEndpoint sets the HttpEndpoint field's value. func (s *AwsEc2LaunchTemplateDataMetadataOptionsDetails) SetHttpEndpoint(v string) *AwsEc2LaunchTemplateDataMetadataOptionsDetails { s.HttpEndpoint = &v return s } // SetHttpProtocolIpv6 sets the HttpProtocolIpv6 field's value. func (s *AwsEc2LaunchTemplateDataMetadataOptionsDetails) SetHttpProtocolIpv6(v string) *AwsEc2LaunchTemplateDataMetadataOptionsDetails { s.HttpProtocolIpv6 = &v return s } // SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value. func (s *AwsEc2LaunchTemplateDataMetadataOptionsDetails) SetHttpPutResponseHopLimit(v int64) *AwsEc2LaunchTemplateDataMetadataOptionsDetails { s.HttpPutResponseHopLimit = &v return s } // SetHttpTokens sets the HttpTokens field's value. func (s *AwsEc2LaunchTemplateDataMetadataOptionsDetails) SetHttpTokens(v string) *AwsEc2LaunchTemplateDataMetadataOptionsDetails { s.HttpTokens = &v return s } // SetInstanceMetadataTags sets the InstanceMetadataTags field's value. func (s *AwsEc2LaunchTemplateDataMetadataOptionsDetails) SetInstanceMetadataTags(v string) *AwsEc2LaunchTemplateDataMetadataOptionsDetails { s.InstanceMetadataTags = &v return s } // The monitoring for an Amazon EC2 instance. type AwsEc2LaunchTemplateDataMonitoringDetails struct { _ struct{} `type:"structure"` // Enables detailed monitoring when true is specified. Otherwise, basic monitoring // is enabled. For more information about detailed monitoring, see Enable or // turn off detailed monitoring for your instances (path_to_url // in the Amazon EC2 User Guide. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataMonitoringDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataMonitoringDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsEc2LaunchTemplateDataMonitoringDetails) SetEnabled(v bool) *AwsEc2LaunchTemplateDataMonitoringDetails { s.Enabled = &v return s } // One or more network interfaces to attach to an Amazon EC2 instance. If you // specify a network interface, you must specify security groups and subnets // as part of the network interface. type AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails struct { _ struct{} `type:"structure"` // Indicates whether to associate a Carrier IP address with eth0 for a new network // interface. You use this option when you launch an instance in a Wavelength // Zone and want to associate a Carrier IP address with the network interface. // For more information, see Carrier IP address (path_to_url#provider-owned-ip) // in the Wavelength Developer Guide. AssociateCarrierIpAddress *bool `type:"boolean"` // Associates a public IPv4 address with eth0 for a new network interface. AssociatePublicIpAddress *bool `type:"boolean"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `type:"boolean"` // A description for the network interface. Description *string `type:"string"` // The device index for the network interface attachment. DeviceIndex *int64 `type:"integer"` // The IDs of one or more security groups. Groups []*string `type:"list"` // The type of network interface. InterfaceType *string `type:"string"` // The number of IPv4 prefixes to be automatically assigned to the network interface. // You cannot use this option if you use the Ipv4Prefixes option. Ipv4PrefixCount *int64 `type:"integer"` // One or more IPv4 prefixes to be assigned to the network interface. You cannot // use this option if you use the Ipv4PrefixCount option. Ipv4Prefixes []*AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails `type:"list"` // The number of IPv6 addresses to assign to a network interface. Amazon EC2 // automatically selects the IPv6 addresses from the subnet range. You can't // use this option if you use Ipv6Addresses. Ipv6AddressCount *int64 `type:"integer"` // One or more specific IPv6 addresses from the IPv6 CIDR block range of your // subnet. You can't use this option if you use Ipv6AddressCount. Ipv6Addresses []*AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails `type:"list"` // The number of IPv6 prefixes to be automatically assigned to the network interface. // You cannot use this option if you use the Ipv6Prefix option. Ipv6PrefixCount *int64 `type:"integer"` // One or more IPv6 prefixes to be assigned to the network interface. You cannot // use this option if you use the Ipv6PrefixCount option. Ipv6Prefixes []*AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails `type:"list"` // The index of the network card. Some instance types support multiple network // cards. The primary network interface must be assigned to network card index // 0. The default is network card index 0. NetworkCardIndex *int64 `type:"integer"` // The ID of the network interface. NetworkInterfaceId *string `type:"string"` // The primary private IPv4 address of the network interface. PrivateIpAddress *string `type:"string"` // One or more private IPv4 addresses. PrivateIpAddresses []*your_sha256_hashails `type:"list"` // The number of secondary private IPv4 addresses to assign to a network interface. SecondaryPrivateIpAddressCount *int64 `type:"integer"` // The ID of the subnet for the network interface. SubnetId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) GoString() string { return s.String() } // SetAssociateCarrierIpAddress sets the AssociateCarrierIpAddress field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetAssociateCarrierIpAddress(v bool) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.AssociateCarrierIpAddress = &v return s } // SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetAssociatePublicIpAddress(v bool) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.AssociatePublicIpAddress = &v return s } // SetDeleteOnTermination sets the DeleteOnTermination field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetDeleteOnTermination(v bool) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.DeleteOnTermination = &v return s } // SetDescription sets the Description field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetDescription(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Description = &v return s } // SetDeviceIndex sets the DeviceIndex field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetDeviceIndex(v int64) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.DeviceIndex = &v return s } // SetGroups sets the Groups field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetGroups(v []*string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Groups = v return s } // SetInterfaceType sets the InterfaceType field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetInterfaceType(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.InterfaceType = &v return s } // SetIpv4PrefixCount sets the Ipv4PrefixCount field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetIpv4PrefixCount(v int64) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Ipv4PrefixCount = &v return s } // SetIpv4Prefixes sets the Ipv4Prefixes field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetIpv4Prefixes(v []*AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Ipv4Prefixes = v return s } // SetIpv6AddressCount sets the Ipv6AddressCount field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetIpv6AddressCount(v int64) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Ipv6AddressCount = &v return s } // SetIpv6Addresses sets the Ipv6Addresses field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetIpv6Addresses(v []*AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Ipv6Addresses = v return s } // SetIpv6PrefixCount sets the Ipv6PrefixCount field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetIpv6PrefixCount(v int64) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Ipv6PrefixCount = &v return s } // SetIpv6Prefixes sets the Ipv6Prefixes field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetIpv6Prefixes(v []*AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.Ipv6Prefixes = v return s } // SetNetworkCardIndex sets the NetworkCardIndex field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetNetworkCardIndex(v int64) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.NetworkCardIndex = &v return s } // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetNetworkInterfaceId(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.NetworkInterfaceId = &v return s } // SetPrivateIpAddress sets the PrivateIpAddress field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetPrivateIpAddress(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.PrivateIpAddress = &v return s } // SetPrivateIpAddresses sets the PrivateIpAddresses field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetPrivateIpAddresses(v []*your_sha256_hashails) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.PrivateIpAddresses = v return s } // SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetSecondaryPrivateIpAddressCount(v int64) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.SecondaryPrivateIpAddressCount = &v return s } // SetSubnetId sets the SubnetId field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails) SetSubnetId(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { s.SubnetId = &v return s } // Provides details on one or more IPv4 prefixes for a network interface. type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails struct { _ struct{} `type:"structure"` // The IPv4 prefix. For more information, see Assigning prefixes to Amazon EC2 // network interfaces (path_to_url // in the Amazon Elastic Compute Cloud User Guide. Ipv4Prefix *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails) GoString() string { return s.String() } // SetIpv4Prefix sets the Ipv4Prefix field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails) SetIpv4Prefix(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails { s.Ipv4Prefix = &v return s } // Specifies an IPv6 address in an Amazon EC2 launch template. type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails struct { _ struct{} `type:"structure"` // One or more specific IPv6 addresses from the IPv6 CIDR block range of your // subnet. Ipv6Address *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails) GoString() string { return s.String() } // SetIpv6Address sets the Ipv6Address field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails) SetIpv6Address(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails { s.Ipv6Address = &v return s } // Provides details on one or more IPv6 prefixes to be assigned to the network // interface. type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails struct { _ struct{} `type:"structure"` // The IPv6 prefix. Ipv6Prefix *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails) GoString() string { return s.String() } // SetIpv6Prefix sets the Ipv6Prefix field's value. func (s *AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails) SetIpv6Prefix(v string) *AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails { s.Ipv6Prefix = &v return s } // One or more private IPv4 addresses. type your_sha256_hashails struct { _ struct{} `type:"structure"` // Indicates whether the private IPv4 address is the primary private IPv4 address. // Only one IPv4 address can be designated as primary. Primary *bool `type:"boolean"` // The private IPv4 address. PrivateIpAddress *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashails) GoString() string { return s.String() } // SetPrimary sets the Primary field's value. func (s *your_sha256_hashails) SetPrimary(v bool) *your_sha256_hashails { s.Primary = &v return s } // SetPrivateIpAddress sets the PrivateIpAddress field's value. func (s *your_sha256_hashails) SetPrivateIpAddress(v string) *your_sha256_hashails { s.PrivateIpAddress = &v return s } // Provides details about the placement of an Amazon EC2 instance. type AwsEc2LaunchTemplateDataPlacementDetails struct { _ struct{} `type:"structure"` // The affinity setting for an instance on an EC2 Dedicated Host. Affinity *string `type:"string"` // The Availability Zone for the instance. AvailabilityZone *string `type:"string"` // The name of the placement group for the instance. GroupName *string `type:"string"` // The ID of the Dedicated Host for the instance. HostId *string `type:"string"` // The Amazon Resource Name (ARN) of the host resource group in which to launch // the instances. HostResourceGroupArn *string `type:"string"` // The number of the partition the instance should launch in. PartitionNumber *int64 `type:"integer"` // Reserved for future use. SpreadDomain *string `type:"string"` // The tenancy of the instance (if the instance is running in a VPC). An instance // with a tenancy of dedicated runs on single-tenant hardware. Tenancy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataPlacementDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataPlacementDetails) GoString() string { return s.String() } // SetAffinity sets the Affinity field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetAffinity(v string) *AwsEc2LaunchTemplateDataPlacementDetails { s.Affinity = &v return s } // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetAvailabilityZone(v string) *AwsEc2LaunchTemplateDataPlacementDetails { s.AvailabilityZone = &v return s } // SetGroupName sets the GroupName field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetGroupName(v string) *AwsEc2LaunchTemplateDataPlacementDetails { s.GroupName = &v return s } // SetHostId sets the HostId field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetHostId(v string) *AwsEc2LaunchTemplateDataPlacementDetails { s.HostId = &v return s } // SetHostResourceGroupArn sets the HostResourceGroupArn field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetHostResourceGroupArn(v string) *AwsEc2LaunchTemplateDataPlacementDetails { s.HostResourceGroupArn = &v return s } // SetPartitionNumber sets the PartitionNumber field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetPartitionNumber(v int64) *AwsEc2LaunchTemplateDataPlacementDetails { s.PartitionNumber = &v return s } // SetSpreadDomain sets the SpreadDomain field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetSpreadDomain(v string) *AwsEc2LaunchTemplateDataPlacementDetails { s.SpreadDomain = &v return s } // SetTenancy sets the Tenancy field's value. func (s *AwsEc2LaunchTemplateDataPlacementDetails) SetTenancy(v string) *AwsEc2LaunchTemplateDataPlacementDetails { s.Tenancy = &v return s } // Describes the options for Amazon EC2 instance hostnames. type AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails struct { _ struct{} `type:"structure"` // Indicates whether to respond to DNS queries for instance hostnames with DNS // AAAA records. EnableResourceNameDnsAAAARecord *bool `type:"boolean"` // Indicates whether to respond to DNS queries for instance hostnames with DNS // A records. EnableResourceNameDnsARecord *bool `type:"boolean"` // The type of hostname for EC2 instances. HostnameType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails) GoString() string { return s.String() } // SetEnableResourceNameDnsAAAARecord sets the EnableResourceNameDnsAAAARecord field's value. func (s *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails) SetEnableResourceNameDnsAAAARecord(v bool) *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails { s.EnableResourceNameDnsAAAARecord = &v return s } // SetEnableResourceNameDnsARecord sets the EnableResourceNameDnsARecord field's value. func (s *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails) SetEnableResourceNameDnsARecord(v bool) *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails { s.EnableResourceNameDnsARecord = &v return s } // SetHostnameType sets the HostnameType field's value. func (s *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails) SetHostnameType(v string) *AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails { s.HostnameType = &v return s } // Specifies the properties for creating an Amazon Elastic Compute Cloud (Amazon // EC2) launch template. type AwsEc2LaunchTemplateDetails struct { _ struct{} `type:"structure"` // The default version of the launch template. DefaultVersionNumber *int64 `type:"long"` // An ID for the launch template. Id *string `type:"string"` // The latest version of the launch template. LatestVersionNumber *int64 `type:"long"` // The information to include in the launch template. LaunchTemplateData *AwsEc2LaunchTemplateDataDetails `type:"structure"` // A name for the launch template. LaunchTemplateName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2LaunchTemplateDetails) GoString() string { return s.String() } // SetDefaultVersionNumber sets the DefaultVersionNumber field's value. func (s *AwsEc2LaunchTemplateDetails) SetDefaultVersionNumber(v int64) *AwsEc2LaunchTemplateDetails { s.DefaultVersionNumber = &v return s } // SetId sets the Id field's value. func (s *AwsEc2LaunchTemplateDetails) SetId(v string) *AwsEc2LaunchTemplateDetails { s.Id = &v return s } // SetLatestVersionNumber sets the LatestVersionNumber field's value. func (s *AwsEc2LaunchTemplateDetails) SetLatestVersionNumber(v int64) *AwsEc2LaunchTemplateDetails { s.LatestVersionNumber = &v return s } // SetLaunchTemplateData sets the LaunchTemplateData field's value. func (s *AwsEc2LaunchTemplateDetails) SetLaunchTemplateData(v *AwsEc2LaunchTemplateDataDetails) *AwsEc2LaunchTemplateDetails { s.LaunchTemplateData = v return s } // SetLaunchTemplateName sets the LaunchTemplateName field's value. func (s *AwsEc2LaunchTemplateDetails) SetLaunchTemplateName(v string) *AwsEc2LaunchTemplateDetails { s.LaunchTemplateName = &v return s } // An association between the network ACL and a subnet. type AwsEc2NetworkAclAssociation struct { _ struct{} `type:"structure"` // The identifier of the association between the network ACL and the subnet. NetworkAclAssociationId *string `type:"string"` // The identifier of the network ACL. NetworkAclId *string `type:"string"` // The identifier of the subnet that is associated with the network ACL. SubnetId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkAclAssociation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkAclAssociation) GoString() string { return s.String() } // SetNetworkAclAssociationId sets the NetworkAclAssociationId field's value. func (s *AwsEc2NetworkAclAssociation) SetNetworkAclAssociationId(v string) *AwsEc2NetworkAclAssociation { s.NetworkAclAssociationId = &v return s } // SetNetworkAclId sets the NetworkAclId field's value. func (s *AwsEc2NetworkAclAssociation) SetNetworkAclId(v string) *AwsEc2NetworkAclAssociation { s.NetworkAclId = &v return s } // SetSubnetId sets the SubnetId field's value. func (s *AwsEc2NetworkAclAssociation) SetSubnetId(v string) *AwsEc2NetworkAclAssociation { s.SubnetId = &v return s } // Contains details about an Amazon EC2 network access control list (ACL). type AwsEc2NetworkAclDetails struct { _ struct{} `type:"structure"` // Associations between the network ACL and subnets. Associations []*AwsEc2NetworkAclAssociation `type:"list"` // The set of rules in the network ACL. Entries []*AwsEc2NetworkAclEntry `type:"list"` // Whether this is the default network ACL for the VPC. IsDefault *bool `type:"boolean"` // The identifier of the network ACL. NetworkAclId *string `type:"string"` // The identifier of the Amazon Web Services account that owns the network ACL. OwnerId *string `type:"string"` // The identifier of the VPC for the network ACL. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkAclDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkAclDetails) GoString() string { return s.String() } // SetAssociations sets the Associations field's value. func (s *AwsEc2NetworkAclDetails) SetAssociations(v []*AwsEc2NetworkAclAssociation) *AwsEc2NetworkAclDetails { s.Associations = v return s } // SetEntries sets the Entries field's value. func (s *AwsEc2NetworkAclDetails) SetEntries(v []*AwsEc2NetworkAclEntry) *AwsEc2NetworkAclDetails { s.Entries = v return s } // SetIsDefault sets the IsDefault field's value. func (s *AwsEc2NetworkAclDetails) SetIsDefault(v bool) *AwsEc2NetworkAclDetails { s.IsDefault = &v return s } // SetNetworkAclId sets the NetworkAclId field's value. func (s *AwsEc2NetworkAclDetails) SetNetworkAclId(v string) *AwsEc2NetworkAclDetails { s.NetworkAclId = &v return s } // SetOwnerId sets the OwnerId field's value. func (s *AwsEc2NetworkAclDetails) SetOwnerId(v string) *AwsEc2NetworkAclDetails { s.OwnerId = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2NetworkAclDetails) SetVpcId(v string) *AwsEc2NetworkAclDetails { s.VpcId = &v return s } // A rule for the network ACL. Each rule allows or denies access based on the // IP address, traffic direction, port, and protocol. type AwsEc2NetworkAclEntry struct { _ struct{} `type:"structure"` // The IPV4 network range for which to deny or allow access. CidrBlock *string `type:"string"` // Whether the rule is an egress rule. An egress rule is a rule that applies // to traffic that leaves the subnet. Egress *bool `type:"boolean"` // The Internet Control Message Protocol (ICMP) type and code for which to deny // or allow access. IcmpTypeCode *IcmpTypeCode `type:"structure"` // The IPV6 network range for which to deny or allow access. Ipv6CidrBlock *string `type:"string"` // For TCP or UDP protocols, the range of ports that the rule applies to. PortRange *PortRangeFromTo `type:"structure"` // The protocol that the rule applies to. To deny or allow access to all protocols, // use the value -1. Protocol *string `type:"string"` // Whether the rule is used to allow access or deny access. RuleAction *string `type:"string"` // The rule number. The rules are processed in order by their number. RuleNumber *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkAclEntry) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkAclEntry) GoString() string { return s.String() } // SetCidrBlock sets the CidrBlock field's value. func (s *AwsEc2NetworkAclEntry) SetCidrBlock(v string) *AwsEc2NetworkAclEntry { s.CidrBlock = &v return s } // SetEgress sets the Egress field's value. func (s *AwsEc2NetworkAclEntry) SetEgress(v bool) *AwsEc2NetworkAclEntry { s.Egress = &v return s } // SetIcmpTypeCode sets the IcmpTypeCode field's value. func (s *AwsEc2NetworkAclEntry) SetIcmpTypeCode(v *IcmpTypeCode) *AwsEc2NetworkAclEntry { s.IcmpTypeCode = v return s } // SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. func (s *AwsEc2NetworkAclEntry) SetIpv6CidrBlock(v string) *AwsEc2NetworkAclEntry { s.Ipv6CidrBlock = &v return s } // SetPortRange sets the PortRange field's value. func (s *AwsEc2NetworkAclEntry) SetPortRange(v *PortRangeFromTo) *AwsEc2NetworkAclEntry { s.PortRange = v return s } // SetProtocol sets the Protocol field's value. func (s *AwsEc2NetworkAclEntry) SetProtocol(v string) *AwsEc2NetworkAclEntry { s.Protocol = &v return s } // SetRuleAction sets the RuleAction field's value. func (s *AwsEc2NetworkAclEntry) SetRuleAction(v string) *AwsEc2NetworkAclEntry { s.RuleAction = &v return s } // SetRuleNumber sets the RuleNumber field's value. func (s *AwsEc2NetworkAclEntry) SetRuleNumber(v int64) *AwsEc2NetworkAclEntry { s.RuleNumber = &v return s } // Information about the network interface attachment. type AwsEc2NetworkInterfaceAttachment struct { _ struct{} `type:"structure"` // Indicates when the attachment initiated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) AttachTime *string `type:"string"` // The identifier of the network interface attachment AttachmentId *string `type:"string"` // Indicates whether the network interface is deleted when the instance is terminated. DeleteOnTermination *bool `type:"boolean"` // The device index of the network interface attachment on the instance. DeviceIndex *int64 `type:"integer"` // The ID of the instance. InstanceId *string `type:"string"` // The Amazon Web Services account ID of the owner of the instance. InstanceOwnerId *string `type:"string"` // The attachment state. // // Valid values: attaching | attached | detaching | detached Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceAttachment) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceAttachment) GoString() string { return s.String() } // SetAttachTime sets the AttachTime field's value. func (s *AwsEc2NetworkInterfaceAttachment) SetAttachTime(v string) *AwsEc2NetworkInterfaceAttachment { s.AttachTime = &v return s } // SetAttachmentId sets the AttachmentId field's value. func (s *AwsEc2NetworkInterfaceAttachment) SetAttachmentId(v string) *AwsEc2NetworkInterfaceAttachment { s.AttachmentId = &v return s } // SetDeleteOnTermination sets the DeleteOnTermination field's value. func (s *AwsEc2NetworkInterfaceAttachment) SetDeleteOnTermination(v bool) *AwsEc2NetworkInterfaceAttachment { s.DeleteOnTermination = &v return s } // SetDeviceIndex sets the DeviceIndex field's value. func (s *AwsEc2NetworkInterfaceAttachment) SetDeviceIndex(v int64) *AwsEc2NetworkInterfaceAttachment { s.DeviceIndex = &v return s } // SetInstanceId sets the InstanceId field's value. func (s *AwsEc2NetworkInterfaceAttachment) SetInstanceId(v string) *AwsEc2NetworkInterfaceAttachment { s.InstanceId = &v return s } // SetInstanceOwnerId sets the InstanceOwnerId field's value. func (s *AwsEc2NetworkInterfaceAttachment) SetInstanceOwnerId(v string) *AwsEc2NetworkInterfaceAttachment { s.InstanceOwnerId = &v return s } // SetStatus sets the Status field's value. func (s *AwsEc2NetworkInterfaceAttachment) SetStatus(v string) *AwsEc2NetworkInterfaceAttachment { s.Status = &v return s } // Details about the network interface type AwsEc2NetworkInterfaceDetails struct { _ struct{} `type:"structure"` // The network interface attachment. Attachment *AwsEc2NetworkInterfaceAttachment `type:"structure"` // The IPv6 addresses associated with the network interface. IpV6Addresses []*AwsEc2NetworkInterfaceIpV6AddressDetail `type:"list"` // The ID of the network interface. NetworkInterfaceId *string `type:"string"` // The private IPv4 addresses associated with the network interface. PrivateIpAddresses []*AwsEc2NetworkInterfacePrivateIpAddressDetail `type:"list"` // The public DNS name of the network interface. PublicDnsName *string `type:"string"` // The address of the Elastic IP address bound to the network interface. PublicIp *string `type:"string"` // Security groups for the network interface. SecurityGroups []*AwsEc2NetworkInterfaceSecurityGroup `type:"list"` // Indicates whether traffic to or from the instance is validated. SourceDestCheck *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceDetails) GoString() string { return s.String() } // SetAttachment sets the Attachment field's value. func (s *AwsEc2NetworkInterfaceDetails) SetAttachment(v *AwsEc2NetworkInterfaceAttachment) *AwsEc2NetworkInterfaceDetails { s.Attachment = v return s } // SetIpV6Addresses sets the IpV6Addresses field's value. func (s *AwsEc2NetworkInterfaceDetails) SetIpV6Addresses(v []*AwsEc2NetworkInterfaceIpV6AddressDetail) *AwsEc2NetworkInterfaceDetails { s.IpV6Addresses = v return s } // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *AwsEc2NetworkInterfaceDetails) SetNetworkInterfaceId(v string) *AwsEc2NetworkInterfaceDetails { s.NetworkInterfaceId = &v return s } // SetPrivateIpAddresses sets the PrivateIpAddresses field's value. func (s *AwsEc2NetworkInterfaceDetails) SetPrivateIpAddresses(v []*AwsEc2NetworkInterfacePrivateIpAddressDetail) *AwsEc2NetworkInterfaceDetails { s.PrivateIpAddresses = v return s } // SetPublicDnsName sets the PublicDnsName field's value. func (s *AwsEc2NetworkInterfaceDetails) SetPublicDnsName(v string) *AwsEc2NetworkInterfaceDetails { s.PublicDnsName = &v return s } // SetPublicIp sets the PublicIp field's value. func (s *AwsEc2NetworkInterfaceDetails) SetPublicIp(v string) *AwsEc2NetworkInterfaceDetails { s.PublicIp = &v return s } // SetSecurityGroups sets the SecurityGroups field's value. func (s *AwsEc2NetworkInterfaceDetails) SetSecurityGroups(v []*AwsEc2NetworkInterfaceSecurityGroup) *AwsEc2NetworkInterfaceDetails { s.SecurityGroups = v return s } // SetSourceDestCheck sets the SourceDestCheck field's value. func (s *AwsEc2NetworkInterfaceDetails) SetSourceDestCheck(v bool) *AwsEc2NetworkInterfaceDetails { s.SourceDestCheck = &v return s } // Provides information about an IPV6 address that is associated with the network // interface. type AwsEc2NetworkInterfaceIpV6AddressDetail struct { _ struct{} `type:"structure"` // The IPV6 address. IpV6Address *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceIpV6AddressDetail) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceIpV6AddressDetail) GoString() string { return s.String() } // SetIpV6Address sets the IpV6Address field's value. func (s *AwsEc2NetworkInterfaceIpV6AddressDetail) SetIpV6Address(v string) *AwsEc2NetworkInterfaceIpV6AddressDetail { s.IpV6Address = &v return s } // Provides information about a private IPv4 address that is with the network // interface. type AwsEc2NetworkInterfacePrivateIpAddressDetail struct { _ struct{} `type:"structure"` // The private DNS name for the IP address. PrivateDnsName *string `type:"string"` // The IP address. PrivateIpAddress *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfacePrivateIpAddressDetail) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfacePrivateIpAddressDetail) GoString() string { return s.String() } // SetPrivateDnsName sets the PrivateDnsName field's value. func (s *AwsEc2NetworkInterfacePrivateIpAddressDetail) SetPrivateDnsName(v string) *AwsEc2NetworkInterfacePrivateIpAddressDetail { s.PrivateDnsName = &v return s } // SetPrivateIpAddress sets the PrivateIpAddress field's value. func (s *AwsEc2NetworkInterfacePrivateIpAddressDetail) SetPrivateIpAddress(v string) *AwsEc2NetworkInterfacePrivateIpAddressDetail { s.PrivateIpAddress = &v return s } // A security group associated with the network interface. type AwsEc2NetworkInterfaceSecurityGroup struct { _ struct{} `type:"structure"` // The ID of the security group. GroupId *string `type:"string"` // The name of the security group. GroupName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceSecurityGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2NetworkInterfaceSecurityGroup) GoString() string { return s.String() } // SetGroupId sets the GroupId field's value. func (s *AwsEc2NetworkInterfaceSecurityGroup) SetGroupId(v string) *AwsEc2NetworkInterfaceSecurityGroup { s.GroupId = &v return s } // SetGroupName sets the GroupName field's value. func (s *AwsEc2NetworkInterfaceSecurityGroup) SetGroupName(v string) *AwsEc2NetworkInterfaceSecurityGroup { s.GroupName = &v return s } // Provides details about a route table for the specified VPC. type AwsEc2RouteTableDetails struct { _ struct{} `type:"structure"` // The associations between a route table and one or more subnets or a gateway. AssociationSet []*AssociationSetDetails `type:"list"` // The ID of the Amazon Web Services account that owns the route table. OwnerId *string `type:"string"` // Describes a virtual private gateway propagating route. PropagatingVgwSet []*PropagatingVgwSetDetails `type:"list"` // The routes in the route table. RouteSet []*RouteSetDetails `type:"list"` // The ID of the route table. RouteTableId *string `type:"string"` // The ID of the virtual private cloud (VPC). VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2RouteTableDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2RouteTableDetails) GoString() string { return s.String() } // SetAssociationSet sets the AssociationSet field's value. func (s *AwsEc2RouteTableDetails) SetAssociationSet(v []*AssociationSetDetails) *AwsEc2RouteTableDetails { s.AssociationSet = v return s } // SetOwnerId sets the OwnerId field's value. func (s *AwsEc2RouteTableDetails) SetOwnerId(v string) *AwsEc2RouteTableDetails { s.OwnerId = &v return s } // SetPropagatingVgwSet sets the PropagatingVgwSet field's value. func (s *AwsEc2RouteTableDetails) SetPropagatingVgwSet(v []*PropagatingVgwSetDetails) *AwsEc2RouteTableDetails { s.PropagatingVgwSet = v return s } // SetRouteSet sets the RouteSet field's value. func (s *AwsEc2RouteTableDetails) SetRouteSet(v []*RouteSetDetails) *AwsEc2RouteTableDetails { s.RouteSet = v return s } // SetRouteTableId sets the RouteTableId field's value. func (s *AwsEc2RouteTableDetails) SetRouteTableId(v string) *AwsEc2RouteTableDetails { s.RouteTableId = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2RouteTableDetails) SetVpcId(v string) *AwsEc2RouteTableDetails { s.VpcId = &v return s } // Details about an Amazon EC2 security group. type AwsEc2SecurityGroupDetails struct { _ struct{} `type:"structure"` // The ID of the security group. GroupId *string `type:"string"` // The name of the security group. GroupName *string `type:"string"` // The inbound rules associated with the security group. IpPermissions []*AwsEc2SecurityGroupIpPermission `type:"list"` // [VPC only] The outbound rules associated with the security group. IpPermissionsEgress []*AwsEc2SecurityGroupIpPermission `type:"list"` // The Amazon Web Services account ID of the owner of the security group. OwnerId *string `type:"string"` // [VPC only] The ID of the VPC for the security group. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupDetails) GoString() string { return s.String() } // SetGroupId sets the GroupId field's value. func (s *AwsEc2SecurityGroupDetails) SetGroupId(v string) *AwsEc2SecurityGroupDetails { s.GroupId = &v return s } // SetGroupName sets the GroupName field's value. func (s *AwsEc2SecurityGroupDetails) SetGroupName(v string) *AwsEc2SecurityGroupDetails { s.GroupName = &v return s } // SetIpPermissions sets the IpPermissions field's value. func (s *AwsEc2SecurityGroupDetails) SetIpPermissions(v []*AwsEc2SecurityGroupIpPermission) *AwsEc2SecurityGroupDetails { s.IpPermissions = v return s } // SetIpPermissionsEgress sets the IpPermissionsEgress field's value. func (s *AwsEc2SecurityGroupDetails) SetIpPermissionsEgress(v []*AwsEc2SecurityGroupIpPermission) *AwsEc2SecurityGroupDetails { s.IpPermissionsEgress = v return s } // SetOwnerId sets the OwnerId field's value. func (s *AwsEc2SecurityGroupDetails) SetOwnerId(v string) *AwsEc2SecurityGroupDetails { s.OwnerId = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2SecurityGroupDetails) SetVpcId(v string) *AwsEc2SecurityGroupDetails { s.VpcId = &v return s } // An IP permission for an EC2 security group. type AwsEc2SecurityGroupIpPermission struct { _ struct{} `type:"structure"` // The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 // type number. // // A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 // types, you must specify all codes. FromPort *int64 `type:"integer"` // The IP protocol name (tcp, udp, icmp, icmpv6) or number. // // [VPC only] Use -1 to specify all protocols. // // When authorizing security group rules, specifying -1 or a protocol number // other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless // of any port range you specify. // // For tcp, udp, and icmp, you must specify a port range. // // For icmpv6, the port range is optional. If you omit the port range, traffic // for all types and codes is allowed. IpProtocol *string `type:"string"` // The IPv4 ranges. IpRanges []*AwsEc2SecurityGroupIpRange `type:"list"` // The IPv6 ranges. Ipv6Ranges []*AwsEc2SecurityGroupIpv6Range `type:"list"` // [VPC only] The prefix list IDs for an Amazon Web Services service. With outbound // rules, this is the Amazon Web Services service to access through a VPC endpoint // from instances associated with the security group. PrefixListIds []*AwsEc2SecurityGroupPrefixListId `type:"list"` // The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 // code. // // A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 // types, you must specify all codes. ToPort *int64 `type:"integer"` // The security group and Amazon Web Services account ID pairs. UserIdGroupPairs []*AwsEc2SecurityGroupUserIdGroupPair `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupIpPermission) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupIpPermission) GoString() string { return s.String() } // SetFromPort sets the FromPort field's value. func (s *AwsEc2SecurityGroupIpPermission) SetFromPort(v int64) *AwsEc2SecurityGroupIpPermission { s.FromPort = &v return s } // SetIpProtocol sets the IpProtocol field's value. func (s *AwsEc2SecurityGroupIpPermission) SetIpProtocol(v string) *AwsEc2SecurityGroupIpPermission { s.IpProtocol = &v return s } // SetIpRanges sets the IpRanges field's value. func (s *AwsEc2SecurityGroupIpPermission) SetIpRanges(v []*AwsEc2SecurityGroupIpRange) *AwsEc2SecurityGroupIpPermission { s.IpRanges = v return s } // SetIpv6Ranges sets the Ipv6Ranges field's value. func (s *AwsEc2SecurityGroupIpPermission) SetIpv6Ranges(v []*AwsEc2SecurityGroupIpv6Range) *AwsEc2SecurityGroupIpPermission { s.Ipv6Ranges = v return s } // SetPrefixListIds sets the PrefixListIds field's value. func (s *AwsEc2SecurityGroupIpPermission) SetPrefixListIds(v []*AwsEc2SecurityGroupPrefixListId) *AwsEc2SecurityGroupIpPermission { s.PrefixListIds = v return s } // SetToPort sets the ToPort field's value. func (s *AwsEc2SecurityGroupIpPermission) SetToPort(v int64) *AwsEc2SecurityGroupIpPermission { s.ToPort = &v return s } // SetUserIdGroupPairs sets the UserIdGroupPairs field's value. func (s *AwsEc2SecurityGroupIpPermission) SetUserIdGroupPairs(v []*AwsEc2SecurityGroupUserIdGroupPair) *AwsEc2SecurityGroupIpPermission { s.UserIdGroupPairs = v return s } // A range of IPv4 addresses. type AwsEc2SecurityGroupIpRange struct { _ struct{} `type:"structure"` // The IPv4 CIDR range. You can specify either a CIDR range or a source security // group, but not both. To specify a single IPv4 address, use the /32 prefix // length. CidrIp *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupIpRange) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupIpRange) GoString() string { return s.String() } // SetCidrIp sets the CidrIp field's value. func (s *AwsEc2SecurityGroupIpRange) SetCidrIp(v string) *AwsEc2SecurityGroupIpRange { s.CidrIp = &v return s } // A range of IPv6 addresses. type AwsEc2SecurityGroupIpv6Range struct { _ struct{} `type:"structure"` // The IPv6 CIDR range. You can specify either a CIDR range or a source security // group, but not both. To specify a single IPv6 address, use the /128 prefix // length. CidrIpv6 *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupIpv6Range) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupIpv6Range) GoString() string { return s.String() } // SetCidrIpv6 sets the CidrIpv6 field's value. func (s *AwsEc2SecurityGroupIpv6Range) SetCidrIpv6(v string) *AwsEc2SecurityGroupIpv6Range { s.CidrIpv6 = &v return s } // A prefix list ID. type AwsEc2SecurityGroupPrefixListId struct { _ struct{} `type:"structure"` // The ID of the prefix. PrefixListId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupPrefixListId) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupPrefixListId) GoString() string { return s.String() } // SetPrefixListId sets the PrefixListId field's value. func (s *AwsEc2SecurityGroupPrefixListId) SetPrefixListId(v string) *AwsEc2SecurityGroupPrefixListId { s.PrefixListId = &v return s } // A relationship between a security group and a user. type AwsEc2SecurityGroupUserIdGroupPair struct { _ struct{} `type:"structure"` // The ID of the security group. GroupId *string `type:"string"` // The name of the security group. GroupName *string `type:"string"` // The status of a VPC peering connection, if applicable. PeeringStatus *string `type:"string"` // The ID of an Amazon Web Services account. // // For a referenced security group in another VPC, the account ID of the referenced // security group is returned in the response. If the referenced security group // is deleted, this value is not returned. // // [EC2-Classic] Required when adding or removing rules that reference a security // group in another VPC. UserId *string `type:"string"` // The ID of the VPC for the referenced security group, if applicable. VpcId *string `type:"string"` // The ID of the VPC peering connection, if applicable. VpcPeeringConnectionId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupUserIdGroupPair) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SecurityGroupUserIdGroupPair) GoString() string { return s.String() } // SetGroupId sets the GroupId field's value. func (s *AwsEc2SecurityGroupUserIdGroupPair) SetGroupId(v string) *AwsEc2SecurityGroupUserIdGroupPair { s.GroupId = &v return s } // SetGroupName sets the GroupName field's value. func (s *AwsEc2SecurityGroupUserIdGroupPair) SetGroupName(v string) *AwsEc2SecurityGroupUserIdGroupPair { s.GroupName = &v return s } // SetPeeringStatus sets the PeeringStatus field's value. func (s *AwsEc2SecurityGroupUserIdGroupPair) SetPeeringStatus(v string) *AwsEc2SecurityGroupUserIdGroupPair { s.PeeringStatus = &v return s } // SetUserId sets the UserId field's value. func (s *AwsEc2SecurityGroupUserIdGroupPair) SetUserId(v string) *AwsEc2SecurityGroupUserIdGroupPair { s.UserId = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2SecurityGroupUserIdGroupPair) SetVpcId(v string) *AwsEc2SecurityGroupUserIdGroupPair { s.VpcId = &v return s } // SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. func (s *AwsEc2SecurityGroupUserIdGroupPair) SetVpcPeeringConnectionId(v string) *AwsEc2SecurityGroupUserIdGroupPair { s.VpcPeeringConnectionId = &v return s } // Contains information about a subnet in Amazon EC2. type AwsEc2SubnetDetails struct { _ struct{} `type:"structure"` // Whether to assign an IPV6 address to a network interface that is created // in this subnet. AssignIpv6AddressOnCreation *bool `type:"boolean"` // The Availability Zone for the subnet. AvailabilityZone *string `type:"string"` // The identifier of the Availability Zone for the subnet. AvailabilityZoneId *string `type:"string"` // The number of available IPV4 addresses in the subnet. Does not include addresses // for stopped instances. AvailableIpAddressCount *int64 `type:"integer"` // The IPV4 CIDR block that is assigned to the subnet. CidrBlock *string `type:"string"` // Whether this subnet is the default subnet for the Availability Zone. DefaultForAz *bool `type:"boolean"` // The IPV6 CIDR blocks that are associated with the subnet. Ipv6CidrBlockAssociationSet []*Ipv6CidrBlockAssociation `type:"list"` // Whether instances in this subnet receive a public IP address. MapPublicIpOnLaunch *bool `type:"boolean"` // The identifier of the Amazon Web Services account that owns the subnet. OwnerId *string `type:"string"` // The current state of the subnet. Valid values are available or pending. State *string `type:"string"` // The ARN of the subnet. SubnetArn *string `type:"string"` // The identifier of the subnet. SubnetId *string `type:"string"` // The identifier of the VPC that contains the subnet. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SubnetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2SubnetDetails) GoString() string { return s.String() } // SetAssignIpv6AddressOnCreation sets the AssignIpv6AddressOnCreation field's value. func (s *AwsEc2SubnetDetails) SetAssignIpv6AddressOnCreation(v bool) *AwsEc2SubnetDetails { s.AssignIpv6AddressOnCreation = &v return s } // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *AwsEc2SubnetDetails) SetAvailabilityZone(v string) *AwsEc2SubnetDetails { s.AvailabilityZone = &v return s } // SetAvailabilityZoneId sets the AvailabilityZoneId field's value. func (s *AwsEc2SubnetDetails) SetAvailabilityZoneId(v string) *AwsEc2SubnetDetails { s.AvailabilityZoneId = &v return s } // SetAvailableIpAddressCount sets the AvailableIpAddressCount field's value. func (s *AwsEc2SubnetDetails) SetAvailableIpAddressCount(v int64) *AwsEc2SubnetDetails { s.AvailableIpAddressCount = &v return s } // SetCidrBlock sets the CidrBlock field's value. func (s *AwsEc2SubnetDetails) SetCidrBlock(v string) *AwsEc2SubnetDetails { s.CidrBlock = &v return s } // SetDefaultForAz sets the DefaultForAz field's value. func (s *AwsEc2SubnetDetails) SetDefaultForAz(v bool) *AwsEc2SubnetDetails { s.DefaultForAz = &v return s } // SetIpv6CidrBlockAssociationSet sets the Ipv6CidrBlockAssociationSet field's value. func (s *AwsEc2SubnetDetails) SetIpv6CidrBlockAssociationSet(v []*Ipv6CidrBlockAssociation) *AwsEc2SubnetDetails { s.Ipv6CidrBlockAssociationSet = v return s } // SetMapPublicIpOnLaunch sets the MapPublicIpOnLaunch field's value. func (s *AwsEc2SubnetDetails) SetMapPublicIpOnLaunch(v bool) *AwsEc2SubnetDetails { s.MapPublicIpOnLaunch = &v return s } // SetOwnerId sets the OwnerId field's value. func (s *AwsEc2SubnetDetails) SetOwnerId(v string) *AwsEc2SubnetDetails { s.OwnerId = &v return s } // SetState sets the State field's value. func (s *AwsEc2SubnetDetails) SetState(v string) *AwsEc2SubnetDetails { s.State = &v return s } // SetSubnetArn sets the SubnetArn field's value. func (s *AwsEc2SubnetDetails) SetSubnetArn(v string) *AwsEc2SubnetDetails { s.SubnetArn = &v return s } // SetSubnetId sets the SubnetId field's value. func (s *AwsEc2SubnetDetails) SetSubnetId(v string) *AwsEc2SubnetDetails { s.SubnetId = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2SubnetDetails) SetVpcId(v string) *AwsEc2SubnetDetails { s.VpcId = &v return s } // Information about an Amazon Web Services Amazon EC2 Transit Gateway that // interconnects virtual private clouds (VPCs) and on-premises networks. type AwsEc2TransitGatewayDetails struct { _ struct{} `type:"structure"` // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. AmazonSideAsn *int64 `type:"integer"` // The ID of the default association route table. AssociationDefaultRouteTableId *string `type:"string"` // Turn on or turn off automatic acceptance of attachment requests. AutoAcceptSharedAttachments *string `type:"string"` // Turn on or turn off automatic association with the default association route // table. DefaultRouteTableAssociation *string `type:"string"` // Turn on or turn off automatic propagation of routes to the default propagation // route table. DefaultRouteTablePropagation *string `type:"string"` // The description of the transit gateway. Description *string `type:"string"` // Turn on or turn off DNS support. DnsSupport *string `type:"string"` // The ID of the transit gateway. Id *string `type:"string"` // Indicates whether multicast is supported on the transit gateway. MulticastSupport *string `type:"string"` // The ID of the default propagation route table. PropagationDefaultRouteTableId *string `type:"string"` // The transit gateway Classless Inter-Domain Routing (CIDR) blocks. TransitGatewayCidrBlocks []*string `type:"list"` // Turn on or turn off Equal Cost Multipath Protocol (ECMP) support. VpnEcmpSupport *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2TransitGatewayDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2TransitGatewayDetails) GoString() string { return s.String() } // SetAmazonSideAsn sets the AmazonSideAsn field's value. func (s *AwsEc2TransitGatewayDetails) SetAmazonSideAsn(v int64) *AwsEc2TransitGatewayDetails { s.AmazonSideAsn = &v return s } // SetAssociationDefaultRouteTableId sets the AssociationDefaultRouteTableId field's value. func (s *AwsEc2TransitGatewayDetails) SetAssociationDefaultRouteTableId(v string) *AwsEc2TransitGatewayDetails { s.AssociationDefaultRouteTableId = &v return s } // SetAutoAcceptSharedAttachments sets the AutoAcceptSharedAttachments field's value. func (s *AwsEc2TransitGatewayDetails) SetAutoAcceptSharedAttachments(v string) *AwsEc2TransitGatewayDetails { s.AutoAcceptSharedAttachments = &v return s } // SetDefaultRouteTableAssociation sets the DefaultRouteTableAssociation field's value. func (s *AwsEc2TransitGatewayDetails) SetDefaultRouteTableAssociation(v string) *AwsEc2TransitGatewayDetails { s.DefaultRouteTableAssociation = &v return s } // SetDefaultRouteTablePropagation sets the DefaultRouteTablePropagation field's value. func (s *AwsEc2TransitGatewayDetails) SetDefaultRouteTablePropagation(v string) *AwsEc2TransitGatewayDetails { s.DefaultRouteTablePropagation = &v return s } // SetDescription sets the Description field's value. func (s *AwsEc2TransitGatewayDetails) SetDescription(v string) *AwsEc2TransitGatewayDetails { s.Description = &v return s } // SetDnsSupport sets the DnsSupport field's value. func (s *AwsEc2TransitGatewayDetails) SetDnsSupport(v string) *AwsEc2TransitGatewayDetails { s.DnsSupport = &v return s } // SetId sets the Id field's value. func (s *AwsEc2TransitGatewayDetails) SetId(v string) *AwsEc2TransitGatewayDetails { s.Id = &v return s } // SetMulticastSupport sets the MulticastSupport field's value. func (s *AwsEc2TransitGatewayDetails) SetMulticastSupport(v string) *AwsEc2TransitGatewayDetails { s.MulticastSupport = &v return s } // SetPropagationDefaultRouteTableId sets the PropagationDefaultRouteTableId field's value. func (s *AwsEc2TransitGatewayDetails) SetPropagationDefaultRouteTableId(v string) *AwsEc2TransitGatewayDetails { s.PropagationDefaultRouteTableId = &v return s } // SetTransitGatewayCidrBlocks sets the TransitGatewayCidrBlocks field's value. func (s *AwsEc2TransitGatewayDetails) SetTransitGatewayCidrBlocks(v []*string) *AwsEc2TransitGatewayDetails { s.TransitGatewayCidrBlocks = v return s } // SetVpnEcmpSupport sets the VpnEcmpSupport field's value. func (s *AwsEc2TransitGatewayDetails) SetVpnEcmpSupport(v string) *AwsEc2TransitGatewayDetails { s.VpnEcmpSupport = &v return s } // An attachment to an Amazon EC2 volume. type AwsEc2VolumeAttachment struct { _ struct{} `type:"structure"` // The datetime when the attachment initiated. AttachTime *string `type:"string"` // Whether the EBS volume is deleted when the EC2 instance is terminated. DeleteOnTermination *bool `type:"boolean"` // The identifier of the EC2 instance. InstanceId *string `type:"string"` // The attachment state of the volume. Valid values are as follows: // // * attaching // // * attached // // * busy // // * detaching // // * detached Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VolumeAttachment) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VolumeAttachment) GoString() string { return s.String() } // SetAttachTime sets the AttachTime field's value. func (s *AwsEc2VolumeAttachment) SetAttachTime(v string) *AwsEc2VolumeAttachment { s.AttachTime = &v return s } // SetDeleteOnTermination sets the DeleteOnTermination field's value. func (s *AwsEc2VolumeAttachment) SetDeleteOnTermination(v bool) *AwsEc2VolumeAttachment { s.DeleteOnTermination = &v return s } // SetInstanceId sets the InstanceId field's value. func (s *AwsEc2VolumeAttachment) SetInstanceId(v string) *AwsEc2VolumeAttachment { s.InstanceId = &v return s } // SetStatus sets the Status field's value. func (s *AwsEc2VolumeAttachment) SetStatus(v string) *AwsEc2VolumeAttachment { s.Status = &v return s } // Details about an EC2 volume. type AwsEc2VolumeDetails struct { _ struct{} `type:"structure"` // The volume attachments. Attachments []*AwsEc2VolumeAttachment `type:"list"` // Indicates when the volume was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateTime *string `type:"string"` // The device name for the volume that is attached to the instance. DeviceName *string `type:"string"` // Specifies whether the volume is encrypted. Encrypted *bool `type:"boolean"` // The ARN of the KMS key that was used to protect the volume encryption key // for the volume. KmsKeyId *string `type:"string"` // The size of the volume, in GiBs. Size *int64 `type:"integer"` // The snapshot from which the volume was created. SnapshotId *string `type:"string"` // The volume state. Valid values are as follows: // // * available // // * creating // // * deleted // // * deleting // // * error // // * in-use Status *string `type:"string"` // The ID of the volume. VolumeId *string `type:"string"` // Indicates whether the volume was scanned or skipped. VolumeScanStatus *string `type:"string"` // The volume type. VolumeType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VolumeDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VolumeDetails) GoString() string { return s.String() } // SetAttachments sets the Attachments field's value. func (s *AwsEc2VolumeDetails) SetAttachments(v []*AwsEc2VolumeAttachment) *AwsEc2VolumeDetails { s.Attachments = v return s } // SetCreateTime sets the CreateTime field's value. func (s *AwsEc2VolumeDetails) SetCreateTime(v string) *AwsEc2VolumeDetails { s.CreateTime = &v return s } // SetDeviceName sets the DeviceName field's value. func (s *AwsEc2VolumeDetails) SetDeviceName(v string) *AwsEc2VolumeDetails { s.DeviceName = &v return s } // SetEncrypted sets the Encrypted field's value. func (s *AwsEc2VolumeDetails) SetEncrypted(v bool) *AwsEc2VolumeDetails { s.Encrypted = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsEc2VolumeDetails) SetKmsKeyId(v string) *AwsEc2VolumeDetails { s.KmsKeyId = &v return s } // SetSize sets the Size field's value. func (s *AwsEc2VolumeDetails) SetSize(v int64) *AwsEc2VolumeDetails { s.Size = &v return s } // SetSnapshotId sets the SnapshotId field's value. func (s *AwsEc2VolumeDetails) SetSnapshotId(v string) *AwsEc2VolumeDetails { s.SnapshotId = &v return s } // SetStatus sets the Status field's value. func (s *AwsEc2VolumeDetails) SetStatus(v string) *AwsEc2VolumeDetails { s.Status = &v return s } // SetVolumeId sets the VolumeId field's value. func (s *AwsEc2VolumeDetails) SetVolumeId(v string) *AwsEc2VolumeDetails { s.VolumeId = &v return s } // SetVolumeScanStatus sets the VolumeScanStatus field's value. func (s *AwsEc2VolumeDetails) SetVolumeScanStatus(v string) *AwsEc2VolumeDetails { s.VolumeScanStatus = &v return s } // SetVolumeType sets the VolumeType field's value. func (s *AwsEc2VolumeDetails) SetVolumeType(v string) *AwsEc2VolumeDetails { s.VolumeType = &v return s } // Details about an EC2 VPC. type AwsEc2VpcDetails struct { _ struct{} `type:"structure"` // Information about the IPv4 CIDR blocks associated with the VPC. CidrBlockAssociationSet []*CidrBlockAssociation `type:"list"` // The identifier of the set of Dynamic Host Configuration Protocol (DHCP) options // that are associated with the VPC. If the default options are associated with // the VPC, then this is default. DhcpOptionsId *string `type:"string"` // Information about the IPv6 CIDR blocks associated with the VPC. Ipv6CidrBlockAssociationSet []*Ipv6CidrBlockAssociation `type:"list"` // The current state of the VPC. Valid values are available or pending. State *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcDetails) GoString() string { return s.String() } // SetCidrBlockAssociationSet sets the CidrBlockAssociationSet field's value. func (s *AwsEc2VpcDetails) SetCidrBlockAssociationSet(v []*CidrBlockAssociation) *AwsEc2VpcDetails { s.CidrBlockAssociationSet = v return s } // SetDhcpOptionsId sets the DhcpOptionsId field's value. func (s *AwsEc2VpcDetails) SetDhcpOptionsId(v string) *AwsEc2VpcDetails { s.DhcpOptionsId = &v return s } // SetIpv6CidrBlockAssociationSet sets the Ipv6CidrBlockAssociationSet field's value. func (s *AwsEc2VpcDetails) SetIpv6CidrBlockAssociationSet(v []*Ipv6CidrBlockAssociation) *AwsEc2VpcDetails { s.Ipv6CidrBlockAssociationSet = v return s } // SetState sets the State field's value. func (s *AwsEc2VpcDetails) SetState(v string) *AwsEc2VpcDetails { s.State = &v return s } // Contains details about the service configuration for a VPC endpoint service. type AwsEc2VpcEndpointServiceDetails struct { _ struct{} `type:"structure"` // Whether requests from other Amazon Web Services accounts to create an endpoint // to the service must first be accepted. AcceptanceRequired *bool `type:"boolean"` // The Availability Zones where the service is available. AvailabilityZones []*string `type:"list"` // The DNS names for the service. BaseEndpointDnsNames []*string `type:"list"` // The ARNs of the Gateway Load Balancers for the service. GatewayLoadBalancerArns []*string `type:"list"` // Whether the service manages its VPC endpoints. ManagesVpcEndpoints *bool `type:"boolean"` // The ARNs of the Network Load Balancers for the service. NetworkLoadBalancerArns []*string `type:"list"` // The private DNS name for the service. PrivateDnsName *string `type:"string"` // The identifier of the service. ServiceId *string `type:"string"` // The name of the service. ServiceName *string `type:"string"` // The current state of the service. Valid values are as follows: // // * Available // // * Deleted // // * Deleting // // * Failed // // * Pending ServiceState *string `type:"string"` // The types for the service. ServiceType []*AwsEc2VpcEndpointServiceServiceTypeDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcEndpointServiceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcEndpointServiceDetails) GoString() string { return s.String() } // SetAcceptanceRequired sets the AcceptanceRequired field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetAcceptanceRequired(v bool) *AwsEc2VpcEndpointServiceDetails { s.AcceptanceRequired = &v return s } // SetAvailabilityZones sets the AvailabilityZones field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetAvailabilityZones(v []*string) *AwsEc2VpcEndpointServiceDetails { s.AvailabilityZones = v return s } // SetBaseEndpointDnsNames sets the BaseEndpointDnsNames field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetBaseEndpointDnsNames(v []*string) *AwsEc2VpcEndpointServiceDetails { s.BaseEndpointDnsNames = v return s } // SetGatewayLoadBalancerArns sets the GatewayLoadBalancerArns field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetGatewayLoadBalancerArns(v []*string) *AwsEc2VpcEndpointServiceDetails { s.GatewayLoadBalancerArns = v return s } // SetManagesVpcEndpoints sets the ManagesVpcEndpoints field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetManagesVpcEndpoints(v bool) *AwsEc2VpcEndpointServiceDetails { s.ManagesVpcEndpoints = &v return s } // SetNetworkLoadBalancerArns sets the NetworkLoadBalancerArns field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetNetworkLoadBalancerArns(v []*string) *AwsEc2VpcEndpointServiceDetails { s.NetworkLoadBalancerArns = v return s } // SetPrivateDnsName sets the PrivateDnsName field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetPrivateDnsName(v string) *AwsEc2VpcEndpointServiceDetails { s.PrivateDnsName = &v return s } // SetServiceId sets the ServiceId field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetServiceId(v string) *AwsEc2VpcEndpointServiceDetails { s.ServiceId = &v return s } // SetServiceName sets the ServiceName field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetServiceName(v string) *AwsEc2VpcEndpointServiceDetails { s.ServiceName = &v return s } // SetServiceState sets the ServiceState field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetServiceState(v string) *AwsEc2VpcEndpointServiceDetails { s.ServiceState = &v return s } // SetServiceType sets the ServiceType field's value. func (s *AwsEc2VpcEndpointServiceDetails) SetServiceType(v []*AwsEc2VpcEndpointServiceServiceTypeDetails) *AwsEc2VpcEndpointServiceDetails { s.ServiceType = v return s } // The service type information for a VPC endpoint service. type AwsEc2VpcEndpointServiceServiceTypeDetails struct { _ struct{} `type:"structure"` // The type of service. ServiceType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcEndpointServiceServiceTypeDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcEndpointServiceServiceTypeDetails) GoString() string { return s.String() } // SetServiceType sets the ServiceType field's value. func (s *AwsEc2VpcEndpointServiceServiceTypeDetails) SetServiceType(v string) *AwsEc2VpcEndpointServiceServiceTypeDetails { s.ServiceType = &v return s } // Provides information about a VPC peering connection between two VPCs: a requester // VPC that you own and an accepter VPC with which to create the connection. type AwsEc2VpcPeeringConnectionDetails struct { _ struct{} `type:"structure"` // Information about the accepter VPC. AccepterVpcInfo *AwsEc2VpcPeeringConnectionVpcInfoDetails `type:"structure"` // The time at which an unaccepted VPC peering connection will expire. ExpirationTime *string `type:"string"` // Information about the requester VPC. RequesterVpcInfo *AwsEc2VpcPeeringConnectionVpcInfoDetails `type:"structure"` // The status of the VPC peering connection. Status *AwsEc2VpcPeeringConnectionStatusDetails `type:"structure"` // The ID of the VPC peering connection. VpcPeeringConnectionId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcPeeringConnectionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcPeeringConnectionDetails) GoString() string { return s.String() } // SetAccepterVpcInfo sets the AccepterVpcInfo field's value. func (s *AwsEc2VpcPeeringConnectionDetails) SetAccepterVpcInfo(v *AwsEc2VpcPeeringConnectionVpcInfoDetails) *AwsEc2VpcPeeringConnectionDetails { s.AccepterVpcInfo = v return s } // SetExpirationTime sets the ExpirationTime field's value. func (s *AwsEc2VpcPeeringConnectionDetails) SetExpirationTime(v string) *AwsEc2VpcPeeringConnectionDetails { s.ExpirationTime = &v return s } // SetRequesterVpcInfo sets the RequesterVpcInfo field's value. func (s *AwsEc2VpcPeeringConnectionDetails) SetRequesterVpcInfo(v *AwsEc2VpcPeeringConnectionVpcInfoDetails) *AwsEc2VpcPeeringConnectionDetails { s.RequesterVpcInfo = v return s } // SetStatus sets the Status field's value. func (s *AwsEc2VpcPeeringConnectionDetails) SetStatus(v *AwsEc2VpcPeeringConnectionStatusDetails) *AwsEc2VpcPeeringConnectionDetails { s.Status = v return s } // SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. func (s *AwsEc2VpcPeeringConnectionDetails) SetVpcPeeringConnectionId(v string) *AwsEc2VpcPeeringConnectionDetails { s.VpcPeeringConnectionId = &v return s } // Details about the status of the VPC peering connection. type AwsEc2VpcPeeringConnectionStatusDetails struct { _ struct{} `type:"structure"` // The status of the VPC peering connection. Code *string `type:"string"` // A message that provides more information about the status, if applicable. Message *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcPeeringConnectionStatusDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcPeeringConnectionStatusDetails) GoString() string { return s.String() } // SetCode sets the Code field's value. func (s *AwsEc2VpcPeeringConnectionStatusDetails) SetCode(v string) *AwsEc2VpcPeeringConnectionStatusDetails { s.Code = &v return s } // SetMessage sets the Message field's value. func (s *AwsEc2VpcPeeringConnectionStatusDetails) SetMessage(v string) *AwsEc2VpcPeeringConnectionStatusDetails { s.Message = &v return s } // Describes a VPC in a VPC peering connection. type AwsEc2VpcPeeringConnectionVpcInfoDetails struct { _ struct{} `type:"structure"` // The IPv4 CIDR block for the VPC. CidrBlock *string `type:"string"` // Information about the IPv4 CIDR blocks for the VPC. CidrBlockSet []*VpcInfoCidrBlockSetDetails `type:"list"` // The IPv6 CIDR block for the VPC. Ipv6CidrBlockSet []*VpcInfoIpv6CidrBlockSetDetails `type:"list"` // The ID of the Amazon Web Services account that owns the VPC. OwnerId *string `type:"string"` // Information about the VPC peering connection options for the accepter or // requester VPC. PeeringOptions *VpcInfoPeeringOptionsDetails `type:"structure"` // The Amazon Web Services Region in which the VPC is located. Region *string `type:"string"` // The ID of the VPC. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcPeeringConnectionVpcInfoDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpcPeeringConnectionVpcInfoDetails) GoString() string { return s.String() } // SetCidrBlock sets the CidrBlock field's value. func (s *AwsEc2VpcPeeringConnectionVpcInfoDetails) SetCidrBlock(v string) *AwsEc2VpcPeeringConnectionVpcInfoDetails { s.CidrBlock = &v return s } // SetCidrBlockSet sets the CidrBlockSet field's value. func (s *AwsEc2VpcPeeringConnectionVpcInfoDetails) SetCidrBlockSet(v []*VpcInfoCidrBlockSetDetails) *AwsEc2VpcPeeringConnectionVpcInfoDetails { s.CidrBlockSet = v return s } // SetIpv6CidrBlockSet sets the Ipv6CidrBlockSet field's value. func (s *AwsEc2VpcPeeringConnectionVpcInfoDetails) SetIpv6CidrBlockSet(v []*VpcInfoIpv6CidrBlockSetDetails) *AwsEc2VpcPeeringConnectionVpcInfoDetails { s.Ipv6CidrBlockSet = v return s } // SetOwnerId sets the OwnerId field's value. func (s *AwsEc2VpcPeeringConnectionVpcInfoDetails) SetOwnerId(v string) *AwsEc2VpcPeeringConnectionVpcInfoDetails { s.OwnerId = &v return s } // SetPeeringOptions sets the PeeringOptions field's value. func (s *AwsEc2VpcPeeringConnectionVpcInfoDetails) SetPeeringOptions(v *VpcInfoPeeringOptionsDetails) *AwsEc2VpcPeeringConnectionVpcInfoDetails { s.PeeringOptions = v return s } // SetRegion sets the Region field's value. func (s *AwsEc2VpcPeeringConnectionVpcInfoDetails) SetRegion(v string) *AwsEc2VpcPeeringConnectionVpcInfoDetails { s.Region = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsEc2VpcPeeringConnectionVpcInfoDetails) SetVpcId(v string) *AwsEc2VpcPeeringConnectionVpcInfoDetails { s.VpcId = &v return s } // Details about an Amazon EC2 VPN connection. type AwsEc2VpnConnectionDetails struct { _ struct{} `type:"structure"` // The category of the VPN connection. VPN indicates an Amazon Web Services // VPN connection. VPN-Classic indicates an Amazon Web Services Classic VPN // connection. Category *string `type:"string"` // The configuration information for the VPN connection's customer gateway, // in the native XML format. CustomerGatewayConfiguration *string `type:"string"` // The identifier of the customer gateway that is at your end of the VPN connection. CustomerGatewayId *string `type:"string"` // The VPN connection options. Options *AwsEc2VpnConnectionOptionsDetails `type:"structure"` // The static routes that are associated with the VPN connection. Routes []*AwsEc2VpnConnectionRoutesDetails `type:"list"` // The current state of the VPN connection. Valid values are as follows: // // * available // // * deleted // // * deleting // // * pending State *string `type:"string"` // The identifier of the transit gateway that is associated with the VPN connection. TransitGatewayId *string `type:"string"` // The type of VPN connection. Type *string `type:"string"` // Information about the VPN tunnel. VgwTelemetry []*AwsEc2VpnConnectionVgwTelemetryDetails `type:"list"` // The identifier of the VPN connection. VpnConnectionId *string `type:"string"` // The identifier of the virtual private gateway that is at the Amazon Web Services // side of the VPN connection. VpnGatewayId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionDetails) GoString() string { return s.String() } // SetCategory sets the Category field's value. func (s *AwsEc2VpnConnectionDetails) SetCategory(v string) *AwsEc2VpnConnectionDetails { s.Category = &v return s } // SetCustomerGatewayConfiguration sets the CustomerGatewayConfiguration field's value. func (s *AwsEc2VpnConnectionDetails) SetCustomerGatewayConfiguration(v string) *AwsEc2VpnConnectionDetails { s.CustomerGatewayConfiguration = &v return s } // SetCustomerGatewayId sets the CustomerGatewayId field's value. func (s *AwsEc2VpnConnectionDetails) SetCustomerGatewayId(v string) *AwsEc2VpnConnectionDetails { s.CustomerGatewayId = &v return s } // SetOptions sets the Options field's value. func (s *AwsEc2VpnConnectionDetails) SetOptions(v *AwsEc2VpnConnectionOptionsDetails) *AwsEc2VpnConnectionDetails { s.Options = v return s } // SetRoutes sets the Routes field's value. func (s *AwsEc2VpnConnectionDetails) SetRoutes(v []*AwsEc2VpnConnectionRoutesDetails) *AwsEc2VpnConnectionDetails { s.Routes = v return s } // SetState sets the State field's value. func (s *AwsEc2VpnConnectionDetails) SetState(v string) *AwsEc2VpnConnectionDetails { s.State = &v return s } // SetTransitGatewayId sets the TransitGatewayId field's value. func (s *AwsEc2VpnConnectionDetails) SetTransitGatewayId(v string) *AwsEc2VpnConnectionDetails { s.TransitGatewayId = &v return s } // SetType sets the Type field's value. func (s *AwsEc2VpnConnectionDetails) SetType(v string) *AwsEc2VpnConnectionDetails { s.Type = &v return s } // SetVgwTelemetry sets the VgwTelemetry field's value. func (s *AwsEc2VpnConnectionDetails) SetVgwTelemetry(v []*AwsEc2VpnConnectionVgwTelemetryDetails) *AwsEc2VpnConnectionDetails { s.VgwTelemetry = v return s } // SetVpnConnectionId sets the VpnConnectionId field's value. func (s *AwsEc2VpnConnectionDetails) SetVpnConnectionId(v string) *AwsEc2VpnConnectionDetails { s.VpnConnectionId = &v return s } // SetVpnGatewayId sets the VpnGatewayId field's value. func (s *AwsEc2VpnConnectionDetails) SetVpnGatewayId(v string) *AwsEc2VpnConnectionDetails { s.VpnGatewayId = &v return s } // VPN connection options. type AwsEc2VpnConnectionOptionsDetails struct { _ struct{} `type:"structure"` // Whether the VPN connection uses static routes only. StaticRoutesOnly *bool `type:"boolean"` // The VPN tunnel options. TunnelOptions []*AwsEc2VpnConnectionOptionsTunnelOptionsDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionOptionsDetails) GoString() string { return s.String() } // SetStaticRoutesOnly sets the StaticRoutesOnly field's value. func (s *AwsEc2VpnConnectionOptionsDetails) SetStaticRoutesOnly(v bool) *AwsEc2VpnConnectionOptionsDetails { s.StaticRoutesOnly = &v return s } // SetTunnelOptions sets the TunnelOptions field's value. func (s *AwsEc2VpnConnectionOptionsDetails) SetTunnelOptions(v []*AwsEc2VpnConnectionOptionsTunnelOptionsDetails) *AwsEc2VpnConnectionOptionsDetails { s.TunnelOptions = v return s } // The VPN tunnel options. type AwsEc2VpnConnectionOptionsTunnelOptionsDetails struct { _ struct{} `type:"structure"` // The number of seconds after which a Dead Peer Detection (DPD) timeout occurs. DpdTimeoutSeconds *int64 `type:"integer"` // The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel. IkeVersions []*string `type:"list"` // The external IP address of the VPN tunnel. OutsideIpAddress *string `type:"string"` // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 // IKE negotiations. Phase1DhGroupNumbers []*int64 `type:"list"` // The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations. Phase1EncryptionAlgorithms []*string `type:"list"` // The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations. Phase1IntegrityAlgorithms []*string `type:"list"` // The lifetime for phase 1 of the IKE negotiation, in seconds. Phase1LifetimeSeconds *int64 `type:"integer"` // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 // IKE negotiations. Phase2DhGroupNumbers []*int64 `type:"list"` // The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations. Phase2EncryptionAlgorithms []*string `type:"list"` // The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations. Phase2IntegrityAlgorithms []*string `type:"list"` // The lifetime for phase 2 of the IKE negotiation, in seconds. Phase2LifetimeSeconds *int64 `type:"integer"` // The preshared key to establish initial authentication between the virtual // private gateway and the customer gateway. PreSharedKey *string `type:"string"` // The percentage of the rekey window, which is determined by RekeyMarginTimeSeconds // during which the rekey time is randomly selected. RekeyFuzzPercentage *int64 `type:"integer"` // The margin time, in seconds, before the phase 2 lifetime expires, during // which the Amazon Web Services side of the VPN connection performs an IKE // rekey. RekeyMarginTimeSeconds *int64 `type:"integer"` // The number of packets in an IKE replay window. ReplayWindowSize *int64 `type:"integer"` // The range of inside IPv4 addresses for the tunnel. TunnelInsideCidr *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionOptionsTunnelOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionOptionsTunnelOptionsDetails) GoString() string { return s.String() } // SetDpdTimeoutSeconds sets the DpdTimeoutSeconds field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetDpdTimeoutSeconds(v int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.DpdTimeoutSeconds = &v return s } // SetIkeVersions sets the IkeVersions field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetIkeVersions(v []*string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.IkeVersions = v return s } // SetOutsideIpAddress sets the OutsideIpAddress field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetOutsideIpAddress(v string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.OutsideIpAddress = &v return s } // SetPhase1DhGroupNumbers sets the Phase1DhGroupNumbers field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase1DhGroupNumbers(v []*int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase1DhGroupNumbers = v return s } // SetPhase1EncryptionAlgorithms sets the Phase1EncryptionAlgorithms field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase1EncryptionAlgorithms(v []*string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase1EncryptionAlgorithms = v return s } // SetPhase1IntegrityAlgorithms sets the Phase1IntegrityAlgorithms field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase1IntegrityAlgorithms(v []*string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase1IntegrityAlgorithms = v return s } // SetPhase1LifetimeSeconds sets the Phase1LifetimeSeconds field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase1LifetimeSeconds(v int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase1LifetimeSeconds = &v return s } // SetPhase2DhGroupNumbers sets the Phase2DhGroupNumbers field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase2DhGroupNumbers(v []*int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase2DhGroupNumbers = v return s } // SetPhase2EncryptionAlgorithms sets the Phase2EncryptionAlgorithms field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase2EncryptionAlgorithms(v []*string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase2EncryptionAlgorithms = v return s } // SetPhase2IntegrityAlgorithms sets the Phase2IntegrityAlgorithms field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase2IntegrityAlgorithms(v []*string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase2IntegrityAlgorithms = v return s } // SetPhase2LifetimeSeconds sets the Phase2LifetimeSeconds field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPhase2LifetimeSeconds(v int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.Phase2LifetimeSeconds = &v return s } // SetPreSharedKey sets the PreSharedKey field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetPreSharedKey(v string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.PreSharedKey = &v return s } // SetRekeyFuzzPercentage sets the RekeyFuzzPercentage field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetRekeyFuzzPercentage(v int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.RekeyFuzzPercentage = &v return s } // SetRekeyMarginTimeSeconds sets the RekeyMarginTimeSeconds field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetRekeyMarginTimeSeconds(v int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.RekeyMarginTimeSeconds = &v return s } // SetReplayWindowSize sets the ReplayWindowSize field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetReplayWindowSize(v int64) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.ReplayWindowSize = &v return s } // SetTunnelInsideCidr sets the TunnelInsideCidr field's value. func (s *AwsEc2VpnConnectionOptionsTunnelOptionsDetails) SetTunnelInsideCidr(v string) *AwsEc2VpnConnectionOptionsTunnelOptionsDetails { s.TunnelInsideCidr = &v return s } // A static routes associated with the VPN connection. type AwsEc2VpnConnectionRoutesDetails struct { _ struct{} `type:"structure"` // The CIDR block associated with the local subnet of the customer data center. DestinationCidrBlock *string `type:"string"` // The current state of the static route. State *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionRoutesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionRoutesDetails) GoString() string { return s.String() } // SetDestinationCidrBlock sets the DestinationCidrBlock field's value. func (s *AwsEc2VpnConnectionRoutesDetails) SetDestinationCidrBlock(v string) *AwsEc2VpnConnectionRoutesDetails { s.DestinationCidrBlock = &v return s } // SetState sets the State field's value. func (s *AwsEc2VpnConnectionRoutesDetails) SetState(v string) *AwsEc2VpnConnectionRoutesDetails { s.State = &v return s } // Information about the VPN tunnel. type AwsEc2VpnConnectionVgwTelemetryDetails struct { _ struct{} `type:"structure"` // The number of accepted routes. AcceptedRouteCount *int64 `type:"integer"` // The ARN of the VPN tunnel endpoint certificate. CertificateArn *string `type:"string"` // The date and time of the last change in status. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastStatusChange *string `type:"string"` // The Internet-routable IP address of the virtual private gateway's outside // interface. OutsideIpAddress *string `type:"string"` // The status of the VPN tunnel. Valid values are DOWN or UP. Status *string `type:"string"` // If an error occurs, a description of the error. StatusMessage *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionVgwTelemetryDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEc2VpnConnectionVgwTelemetryDetails) GoString() string { return s.String() } // SetAcceptedRouteCount sets the AcceptedRouteCount field's value. func (s *AwsEc2VpnConnectionVgwTelemetryDetails) SetAcceptedRouteCount(v int64) *AwsEc2VpnConnectionVgwTelemetryDetails { s.AcceptedRouteCount = &v return s } // SetCertificateArn sets the CertificateArn field's value. func (s *AwsEc2VpnConnectionVgwTelemetryDetails) SetCertificateArn(v string) *AwsEc2VpnConnectionVgwTelemetryDetails { s.CertificateArn = &v return s } // SetLastStatusChange sets the LastStatusChange field's value. func (s *AwsEc2VpnConnectionVgwTelemetryDetails) SetLastStatusChange(v string) *AwsEc2VpnConnectionVgwTelemetryDetails { s.LastStatusChange = &v return s } // SetOutsideIpAddress sets the OutsideIpAddress field's value. func (s *AwsEc2VpnConnectionVgwTelemetryDetails) SetOutsideIpAddress(v string) *AwsEc2VpnConnectionVgwTelemetryDetails { s.OutsideIpAddress = &v return s } // SetStatus sets the Status field's value. func (s *AwsEc2VpnConnectionVgwTelemetryDetails) SetStatus(v string) *AwsEc2VpnConnectionVgwTelemetryDetails { s.Status = &v return s } // SetStatusMessage sets the StatusMessage field's value. func (s *AwsEc2VpnConnectionVgwTelemetryDetails) SetStatusMessage(v string) *AwsEc2VpnConnectionVgwTelemetryDetails { s.StatusMessage = &v return s } // Information about an Amazon ECR image. type AwsEcrContainerImageDetails struct { _ struct{} `type:"structure"` // The architecture of the image. Valid values are as follows: // // * arm64 // // * i386 // // * x86_64 Architecture *string `type:"string"` // The sha256 digest of the image manifest. ImageDigest *string `type:"string"` // The date and time when the image was pushed to the repository. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ImagePublishedAt *string `type:"string"` // The list of tags that are associated with the image. ImageTags []*string `type:"list"` // The Amazon Web Services account identifier that is associated with the registry // that the image belongs to. RegistryId *string `type:"string"` // The name of the repository that the image belongs to. RepositoryName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrContainerImageDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrContainerImageDetails) GoString() string { return s.String() } // SetArchitecture sets the Architecture field's value. func (s *AwsEcrContainerImageDetails) SetArchitecture(v string) *AwsEcrContainerImageDetails { s.Architecture = &v return s } // SetImageDigest sets the ImageDigest field's value. func (s *AwsEcrContainerImageDetails) SetImageDigest(v string) *AwsEcrContainerImageDetails { s.ImageDigest = &v return s } // SetImagePublishedAt sets the ImagePublishedAt field's value. func (s *AwsEcrContainerImageDetails) SetImagePublishedAt(v string) *AwsEcrContainerImageDetails { s.ImagePublishedAt = &v return s } // SetImageTags sets the ImageTags field's value. func (s *AwsEcrContainerImageDetails) SetImageTags(v []*string) *AwsEcrContainerImageDetails { s.ImageTags = v return s } // SetRegistryId sets the RegistryId field's value. func (s *AwsEcrContainerImageDetails) SetRegistryId(v string) *AwsEcrContainerImageDetails { s.RegistryId = &v return s } // SetRepositoryName sets the RepositoryName field's value. func (s *AwsEcrContainerImageDetails) SetRepositoryName(v string) *AwsEcrContainerImageDetails { s.RepositoryName = &v return s } // Provides information about an Amazon Elastic Container Registry repository. type AwsEcrRepositoryDetails struct { _ struct{} `type:"structure"` // The ARN of the repository. Arn *string `type:"string"` // The image scanning configuration for a repository. ImageScanningConfiguration *AwsEcrRepositoryImageScanningConfigurationDetails `type:"structure"` // The tag mutability setting for the repository. Valid values are IMMUTABLE // or MUTABLE. ImageTagMutability *string `type:"string"` // Information about the lifecycle policy for the repository. LifecyclePolicy *AwsEcrRepositoryLifecyclePolicyDetails `type:"structure"` // The name of the repository. RepositoryName *string `type:"string"` // The text of the repository policy. RepositoryPolicyText *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrRepositoryDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrRepositoryDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsEcrRepositoryDetails) SetArn(v string) *AwsEcrRepositoryDetails { s.Arn = &v return s } // SetImageScanningConfiguration sets the ImageScanningConfiguration field's value. func (s *AwsEcrRepositoryDetails) SetImageScanningConfiguration(v *AwsEcrRepositoryImageScanningConfigurationDetails) *AwsEcrRepositoryDetails { s.ImageScanningConfiguration = v return s } // SetImageTagMutability sets the ImageTagMutability field's value. func (s *AwsEcrRepositoryDetails) SetImageTagMutability(v string) *AwsEcrRepositoryDetails { s.ImageTagMutability = &v return s } // SetLifecyclePolicy sets the LifecyclePolicy field's value. func (s *AwsEcrRepositoryDetails) SetLifecyclePolicy(v *AwsEcrRepositoryLifecyclePolicyDetails) *AwsEcrRepositoryDetails { s.LifecyclePolicy = v return s } // SetRepositoryName sets the RepositoryName field's value. func (s *AwsEcrRepositoryDetails) SetRepositoryName(v string) *AwsEcrRepositoryDetails { s.RepositoryName = &v return s } // SetRepositoryPolicyText sets the RepositoryPolicyText field's value. func (s *AwsEcrRepositoryDetails) SetRepositoryPolicyText(v string) *AwsEcrRepositoryDetails { s.RepositoryPolicyText = &v return s } // The image scanning configuration for a repository. type AwsEcrRepositoryImageScanningConfigurationDetails struct { _ struct{} `type:"structure"` // Whether to scan images after they are pushed to a repository. ScanOnPush *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrRepositoryImageScanningConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrRepositoryImageScanningConfigurationDetails) GoString() string { return s.String() } // SetScanOnPush sets the ScanOnPush field's value. func (s *AwsEcrRepositoryImageScanningConfigurationDetails) SetScanOnPush(v bool) *AwsEcrRepositoryImageScanningConfigurationDetails { s.ScanOnPush = &v return s } // Information about the lifecycle policy for the repository. type AwsEcrRepositoryLifecyclePolicyDetails struct { _ struct{} `type:"structure"` // The text of the lifecycle policy. LifecyclePolicyText *string `type:"string"` // The Amazon Web Services account identifier that is associated with the registry // that contains the repository. RegistryId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrRepositoryLifecyclePolicyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcrRepositoryLifecyclePolicyDetails) GoString() string { return s.String() } // SetLifecyclePolicyText sets the LifecyclePolicyText field's value. func (s *AwsEcrRepositoryLifecyclePolicyDetails) SetLifecyclePolicyText(v string) *AwsEcrRepositoryLifecyclePolicyDetails { s.LifecyclePolicyText = &v return s } // SetRegistryId sets the RegistryId field's value. func (s *AwsEcrRepositoryLifecyclePolicyDetails) SetRegistryId(v string) *AwsEcrRepositoryLifecyclePolicyDetails { s.RegistryId = &v return s } // Indicates whether to enable CloudWatch Container Insights for the ECS cluster. type AwsEcsClusterClusterSettingsDetails struct { _ struct{} `type:"structure"` // The name of the setting. The valid value is containerInsights. Name *string `type:"string"` // The value of the setting. Valid values are disabled or enabled. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterClusterSettingsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterClusterSettingsDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsEcsClusterClusterSettingsDetails) SetName(v string) *AwsEcsClusterClusterSettingsDetails { s.Name = &v return s } // SetValue sets the Value field's value. func (s *AwsEcsClusterClusterSettingsDetails) SetValue(v string) *AwsEcsClusterClusterSettingsDetails { s.Value = &v return s } // The run command configuration for the cluster. type AwsEcsClusterConfigurationDetails struct { _ struct{} `type:"structure"` // Contains the run command configuration for the cluster. ExecuteCommandConfiguration *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterConfigurationDetails) GoString() string { return s.String() } // SetExecuteCommandConfiguration sets the ExecuteCommandConfiguration field's value. func (s *AwsEcsClusterConfigurationDetails) SetExecuteCommandConfiguration(v *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails) *AwsEcsClusterConfigurationDetails { s.ExecuteCommandConfiguration = v return s } // Contains the run command configuration for the cluster. type AwsEcsClusterConfigurationExecuteCommandConfigurationDetails struct { _ struct{} `type:"structure"` // The identifier of the KMS key that is used to encrypt the data between the // local client and the container. KmsKeyId *string `type:"string"` // The log configuration for the results of the run command actions. Required // if Logging is NONE. LogConfiguration *your_sha256_hashationDetails `type:"structure"` // The log setting to use for redirecting logs for run command results. Logging *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterConfigurationExecuteCommandConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterConfigurationExecuteCommandConfigurationDetails) GoString() string { return s.String() } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails) SetKmsKeyId(v string) *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails { s.KmsKeyId = &v return s } // SetLogConfiguration sets the LogConfiguration field's value. func (s *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails) SetLogConfiguration(v *your_sha256_hashationDetails) *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails { s.LogConfiguration = v return s } // SetLogging sets the Logging field's value. func (s *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails) SetLogging(v string) *AwsEcsClusterConfigurationExecuteCommandConfigurationDetails { s.Logging = &v return s } // The log configuration for the results of the run command actions. type your_sha256_hashationDetails struct { _ struct{} `type:"structure"` // Whether to enable encryption on the CloudWatch logs. CloudWatchEncryptionEnabled *bool `type:"boolean"` // The name of the CloudWatch log group to send the logs to. CloudWatchLogGroupName *string `type:"string"` // The name of the S3 bucket to send logs to. S3BucketName *string `type:"string"` // Whether to encrypt the logs that are sent to the S3 bucket. S3EncryptionEnabled *bool `type:"boolean"` // Identifies the folder in the S3 bucket to send the logs to. S3KeyPrefix *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashationDetails) GoString() string { return s.String() } // SetCloudWatchEncryptionEnabled sets the CloudWatchEncryptionEnabled field's value. func (s *your_sha256_hashationDetails) SetCloudWatchEncryptionEnabled(v bool) *your_sha256_hashationDetails { s.CloudWatchEncryptionEnabled = &v return s } // SetCloudWatchLogGroupName sets the CloudWatchLogGroupName field's value. func (s *your_sha256_hashationDetails) SetCloudWatchLogGroupName(v string) *your_sha256_hashationDetails { s.CloudWatchLogGroupName = &v return s } // SetS3BucketName sets the S3BucketName field's value. func (s *your_sha256_hashationDetails) SetS3BucketName(v string) *your_sha256_hashationDetails { s.S3BucketName = &v return s } // SetS3EncryptionEnabled sets the S3EncryptionEnabled field's value. func (s *your_sha256_hashationDetails) SetS3EncryptionEnabled(v bool) *your_sha256_hashationDetails { s.S3EncryptionEnabled = &v return s } // SetS3KeyPrefix sets the S3KeyPrefix field's value. func (s *your_sha256_hashationDetails) SetS3KeyPrefix(v string) *your_sha256_hashationDetails { s.S3KeyPrefix = &v return s } // The default capacity provider strategy for the cluster. The default capacity // provider strategy is used when services or tasks are run without a specified // launch type or capacity provider strategy. type AwsEcsClusterDefaultCapacityProviderStrategyDetails struct { _ struct{} `type:"structure"` // The minimum number of tasks to run on the specified capacity provider. Base *int64 `type:"integer"` // The name of the capacity provider. CapacityProvider *string `type:"string"` // The relative percentage of the total number of tasks launched that should // use the capacity provider. Weight *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterDefaultCapacityProviderStrategyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterDefaultCapacityProviderStrategyDetails) GoString() string { return s.String() } // SetBase sets the Base field's value. func (s *AwsEcsClusterDefaultCapacityProviderStrategyDetails) SetBase(v int64) *AwsEcsClusterDefaultCapacityProviderStrategyDetails { s.Base = &v return s } // SetCapacityProvider sets the CapacityProvider field's value. func (s *AwsEcsClusterDefaultCapacityProviderStrategyDetails) SetCapacityProvider(v string) *AwsEcsClusterDefaultCapacityProviderStrategyDetails { s.CapacityProvider = &v return s } // SetWeight sets the Weight field's value. func (s *AwsEcsClusterDefaultCapacityProviderStrategyDetails) SetWeight(v int64) *AwsEcsClusterDefaultCapacityProviderStrategyDetails { s.Weight = &v return s } // Provides details about an Amazon ECS cluster. type AwsEcsClusterDetails struct { _ struct{} `type:"structure"` // The number of services that are running on the cluster in an ACTIVE state. // You can view these services with the Amazon ECS ListServices (path_to_url // API operation. ActiveServicesCount *int64 `type:"integer"` // The short name of one or more capacity providers to associate with the cluster. CapacityProviders []*string `type:"list"` // The Amazon Resource Name (ARN) that identifies the cluster. ClusterArn *string `type:"string"` // A name that you use to identify your cluster. ClusterName *string `type:"string"` // The setting to use to create the cluster. Specifically used to configure // whether to enable CloudWatch Container Insights for the cluster. ClusterSettings []*AwsEcsClusterClusterSettingsDetails `type:"list"` // The run command configuration for the cluster. Configuration *AwsEcsClusterConfigurationDetails `type:"structure"` // The default capacity provider strategy for the cluster. The default capacity // provider strategy is used when services or tasks are run without a specified // launch type or capacity provider strategy. DefaultCapacityProviderStrategy []*AwsEcsClusterDefaultCapacityProviderStrategyDetails `type:"list"` // The number of container instances registered into the cluster. This includes // container instances in both ACTIVE and DRAINING status. RegisteredContainerInstancesCount *int64 `type:"integer"` // The number of tasks in the cluster that are in the RUNNING state. RunningTasksCount *int64 `type:"integer"` // The status of the cluster. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsClusterDetails) GoString() string { return s.String() } // SetActiveServicesCount sets the ActiveServicesCount field's value. func (s *AwsEcsClusterDetails) SetActiveServicesCount(v int64) *AwsEcsClusterDetails { s.ActiveServicesCount = &v return s } // SetCapacityProviders sets the CapacityProviders field's value. func (s *AwsEcsClusterDetails) SetCapacityProviders(v []*string) *AwsEcsClusterDetails { s.CapacityProviders = v return s } // SetClusterArn sets the ClusterArn field's value. func (s *AwsEcsClusterDetails) SetClusterArn(v string) *AwsEcsClusterDetails { s.ClusterArn = &v return s } // SetClusterName sets the ClusterName field's value. func (s *AwsEcsClusterDetails) SetClusterName(v string) *AwsEcsClusterDetails { s.ClusterName = &v return s } // SetClusterSettings sets the ClusterSettings field's value. func (s *AwsEcsClusterDetails) SetClusterSettings(v []*AwsEcsClusterClusterSettingsDetails) *AwsEcsClusterDetails { s.ClusterSettings = v return s } // SetConfiguration sets the Configuration field's value. func (s *AwsEcsClusterDetails) SetConfiguration(v *AwsEcsClusterConfigurationDetails) *AwsEcsClusterDetails { s.Configuration = v return s } // SetDefaultCapacityProviderStrategy sets the DefaultCapacityProviderStrategy field's value. func (s *AwsEcsClusterDetails) SetDefaultCapacityProviderStrategy(v []*AwsEcsClusterDefaultCapacityProviderStrategyDetails) *AwsEcsClusterDetails { s.DefaultCapacityProviderStrategy = v return s } // SetRegisteredContainerInstancesCount sets the RegisteredContainerInstancesCount field's value. func (s *AwsEcsClusterDetails) SetRegisteredContainerInstancesCount(v int64) *AwsEcsClusterDetails { s.RegisteredContainerInstancesCount = &v return s } // SetRunningTasksCount sets the RunningTasksCount field's value. func (s *AwsEcsClusterDetails) SetRunningTasksCount(v int64) *AwsEcsClusterDetails { s.RunningTasksCount = &v return s } // SetStatus sets the Status field's value. func (s *AwsEcsClusterDetails) SetStatus(v string) *AwsEcsClusterDetails { s.Status = &v return s } // Provides information about an Amazon ECS container. type AwsEcsContainerDetails struct { _ struct{} `type:"structure"` // The image used for the container. Image *string `type:"string"` // The mount points for data volumes in your container. MountPoints []*AwsMountPoint `type:"list"` // The name of the container. Name *string `type:"string"` // When this parameter is true, the container is given elevated privileges on // the host container instance (similar to the root user). Privileged *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsContainerDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsContainerDetails) GoString() string { return s.String() } // SetImage sets the Image field's value. func (s *AwsEcsContainerDetails) SetImage(v string) *AwsEcsContainerDetails { s.Image = &v return s } // SetMountPoints sets the MountPoints field's value. func (s *AwsEcsContainerDetails) SetMountPoints(v []*AwsMountPoint) *AwsEcsContainerDetails { s.MountPoints = v return s } // SetName sets the Name field's value. func (s *AwsEcsContainerDetails) SetName(v string) *AwsEcsContainerDetails { s.Name = &v return s } // SetPrivileged sets the Privileged field's value. func (s *AwsEcsContainerDetails) SetPrivileged(v bool) *AwsEcsContainerDetails { s.Privileged = &v return s } // Strategy item for the capacity provider strategy that the service uses. type AwsEcsServiceCapacityProviderStrategyDetails struct { _ struct{} `type:"structure"` // The minimum number of tasks to run on the capacity provider. Only one strategy // item can specify a value for Base. // // The value must be between 0 and 100000. Base *int64 `type:"integer"` // The short name of the capacity provider. CapacityProvider *string `type:"string"` // The relative percentage of the total number of tasks that should use the // capacity provider. // // If no weight is specified, the default value is 0. At least one capacity // provider must have a weight greater than 0. // // The value can be between 0 and 1000. Weight *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceCapacityProviderStrategyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceCapacityProviderStrategyDetails) GoString() string { return s.String() } // SetBase sets the Base field's value. func (s *AwsEcsServiceCapacityProviderStrategyDetails) SetBase(v int64) *AwsEcsServiceCapacityProviderStrategyDetails { s.Base = &v return s } // SetCapacityProvider sets the CapacityProvider field's value. func (s *AwsEcsServiceCapacityProviderStrategyDetails) SetCapacityProvider(v string) *AwsEcsServiceCapacityProviderStrategyDetails { s.CapacityProvider = &v return s } // SetWeight sets the Weight field's value. func (s *AwsEcsServiceCapacityProviderStrategyDetails) SetWeight(v int64) *AwsEcsServiceCapacityProviderStrategyDetails { s.Weight = &v return s } // Determines whether a service deployment fails if a service cannot reach a // steady state. type your_sha256_hashils struct { _ struct{} `type:"structure"` // Whether to enable the deployment circuit breaker logic for the service. Enable *bool `type:"boolean"` // Whether to roll back the service if a service deployment fails. If rollback // is enabled, when a service deployment fails, the service is rolled back to // the last deployment that completed successfully. Rollback *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) GoString() string { return s.String() } // SetEnable sets the Enable field's value. func (s *your_sha256_hashils) SetEnable(v bool) *your_sha256_hashils { s.Enable = &v return s } // SetRollback sets the Rollback field's value. func (s *your_sha256_hashils) SetRollback(v bool) *your_sha256_hashils { s.Rollback = &v return s } // Optional deployment parameters for the service. type AwsEcsServiceDeploymentConfigurationDetails struct { _ struct{} `type:"structure"` // Determines whether a service deployment fails if a service cannot reach a // steady state. DeploymentCircuitBreaker *your_sha256_hashils `type:"structure"` // For a service that uses the rolling update (ECS) deployment type, the maximum // number of tasks in a service that are allowed in the RUNNING or PENDING state // during a deployment, and for tasks that use the EC2 launch type, when any // container instances are in the DRAINING state. Provided as a percentage of // the desired number of tasks. The default value is 200%. // // For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment // types, and tasks that use the EC2 launch type, the maximum number of tasks // in the service that remain in the RUNNING state while the container instances // are in the DRAINING state. // // For the Fargate launch type, the maximum percent value is not used. MaximumPercent *int64 `type:"integer"` // For a service that uses the rolling update (ECS) deployment type, the minimum // number of tasks in a service that must remain in the RUNNING state during // a deployment, and while any container instances are in the DRAINING state // if the service contains tasks using the EC2 launch type. Expressed as a percentage // of the desired number of tasks. The default value is 100%. // // For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment // types and tasks that use the EC2 launch type, the minimum number of the tasks // in the service that remain in the RUNNING state while the container instances // are in the DRAINING state. // // For the Fargate launch type, the minimum healthy percent value is not used. MinimumHealthyPercent *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceDeploymentConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceDeploymentConfigurationDetails) GoString() string { return s.String() } // SetDeploymentCircuitBreaker sets the DeploymentCircuitBreaker field's value. func (s *AwsEcsServiceDeploymentConfigurationDetails) SetDeploymentCircuitBreaker(v *your_sha256_hashils) *AwsEcsServiceDeploymentConfigurationDetails { s.DeploymentCircuitBreaker = v return s } // SetMaximumPercent sets the MaximumPercent field's value. func (s *AwsEcsServiceDeploymentConfigurationDetails) SetMaximumPercent(v int64) *AwsEcsServiceDeploymentConfigurationDetails { s.MaximumPercent = &v return s } // SetMinimumHealthyPercent sets the MinimumHealthyPercent field's value. func (s *AwsEcsServiceDeploymentConfigurationDetails) SetMinimumHealthyPercent(v int64) *AwsEcsServiceDeploymentConfigurationDetails { s.MinimumHealthyPercent = &v return s } // Information about the deployment controller type that the service uses. type AwsEcsServiceDeploymentControllerDetails struct { _ struct{} `type:"structure"` // The rolling update (ECS) deployment type replaces the current running version // of the container with the latest version. // // The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment // model that is powered by CodeDeploy. This deployment model a new deployment // of a service can be verified before production traffic is sent to it. // // The external (EXTERNAL) deployment type allows the use of any third-party // deployment controller for full control over the deployment process for an // Amazon ECS service. // // Valid values: ECS | CODE_DEPLOY | EXTERNAL Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceDeploymentControllerDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceDeploymentControllerDetails) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *AwsEcsServiceDeploymentControllerDetails) SetType(v string) *AwsEcsServiceDeploymentControllerDetails { s.Type = &v return s } // Provides details about a service within an ECS cluster. type AwsEcsServiceDetails struct { _ struct{} `type:"structure"` // The capacity provider strategy that the service uses. CapacityProviderStrategy []*AwsEcsServiceCapacityProviderStrategyDetails `type:"list"` // The ARN of the cluster that hosts the service. Cluster *string `type:"string"` // Deployment parameters for the service. Includes the number of tasks that // run and the order in which to start and stop tasks. DeploymentConfiguration *AwsEcsServiceDeploymentConfigurationDetails `type:"structure"` // Contains the deployment controller type that the service uses. DeploymentController *AwsEcsServiceDeploymentControllerDetails `type:"structure"` // The number of instantiations of the task definition to run on the service. DesiredCount *int64 `type:"integer"` // Whether to enable Amazon ECS managed tags for the tasks in the service. EnableEcsManagedTags *bool `type:"boolean"` // Whether the execute command functionality is enabled for the service. EnableExecuteCommand *bool `type:"boolean"` // After a task starts, the amount of time in seconds that the Amazon ECS service // scheduler ignores unhealthy Elastic Load Balancing target health checks. HealthCheckGracePeriodSeconds *int64 `type:"integer"` // The launch type that the service uses. // // Valid values: EC2 | FARGATE | EXTERNAL LaunchType *string `type:"string"` // Information about the load balancers that the service uses. LoadBalancers []*AwsEcsServiceLoadBalancersDetails `type:"list"` // The name of the service. Name *string `type:"string"` // For tasks that use the awsvpc networking mode, the VPC subnet and security // group configuration. NetworkConfiguration *AwsEcsServiceNetworkConfigurationDetails `type:"structure"` // The placement constraints for the tasks in the service. PlacementConstraints []*AwsEcsServicePlacementConstraintsDetails `type:"list"` // Information about how tasks for the service are placed. PlacementStrategies []*AwsEcsServicePlacementStrategiesDetails `type:"list"` // The platform version on which to run the service. Only specified for tasks // that are hosted on Fargate. If a platform version is not specified, the LATEST // platform version is used by default. PlatformVersion *string `type:"string"` // Indicates whether to propagate the tags from the task definition to the task // or from the service to the task. If no value is provided, then tags are not // propagated. // // Valid values: TASK_DEFINITION | SERVICE PropagateTags *string `type:"string"` // The ARN of the IAM role that is associated with the service. The role allows // the Amazon ECS container agent to register container instances with an Elastic // Load Balancing load balancer. Role *string `type:"string"` // The scheduling strategy to use for the service. // // The REPLICA scheduling strategy places and maintains the desired number of // tasks across the cluster. By default, the service scheduler spreads tasks // across Availability Zones. Task placement strategies and constraints are // used to customize task placement decisions. // // The DAEMON scheduling strategy deploys exactly one task on each active container // instance that meets all of the task placement constraints that are specified // in the cluster. The service scheduler also evaluates the task placement constraints // for running tasks and stops tasks that do not meet the placement constraints. // // Valid values: REPLICA | DAEMON SchedulingStrategy *string `type:"string"` // The ARN of the service. ServiceArn *string `type:"string"` // The name of the service. // // The name can contain up to 255 characters. It can use letters, numbers, underscores, // and hyphens. ServiceName *string `type:"string"` // Information about the service discovery registries to assign to the service. ServiceRegistries []*AwsEcsServiceServiceRegistriesDetails `type:"list"` // The task definition to use for tasks in the service. TaskDefinition *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceDetails) GoString() string { return s.String() } // SetCapacityProviderStrategy sets the CapacityProviderStrategy field's value. func (s *AwsEcsServiceDetails) SetCapacityProviderStrategy(v []*AwsEcsServiceCapacityProviderStrategyDetails) *AwsEcsServiceDetails { s.CapacityProviderStrategy = v return s } // SetCluster sets the Cluster field's value. func (s *AwsEcsServiceDetails) SetCluster(v string) *AwsEcsServiceDetails { s.Cluster = &v return s } // SetDeploymentConfiguration sets the DeploymentConfiguration field's value. func (s *AwsEcsServiceDetails) SetDeploymentConfiguration(v *AwsEcsServiceDeploymentConfigurationDetails) *AwsEcsServiceDetails { s.DeploymentConfiguration = v return s } // SetDeploymentController sets the DeploymentController field's value. func (s *AwsEcsServiceDetails) SetDeploymentController(v *AwsEcsServiceDeploymentControllerDetails) *AwsEcsServiceDetails { s.DeploymentController = v return s } // SetDesiredCount sets the DesiredCount field's value. func (s *AwsEcsServiceDetails) SetDesiredCount(v int64) *AwsEcsServiceDetails { s.DesiredCount = &v return s } // SetEnableEcsManagedTags sets the EnableEcsManagedTags field's value. func (s *AwsEcsServiceDetails) SetEnableEcsManagedTags(v bool) *AwsEcsServiceDetails { s.EnableEcsManagedTags = &v return s } // SetEnableExecuteCommand sets the EnableExecuteCommand field's value. func (s *AwsEcsServiceDetails) SetEnableExecuteCommand(v bool) *AwsEcsServiceDetails { s.EnableExecuteCommand = &v return s } // SetHealthCheckGracePeriodSeconds sets the HealthCheckGracePeriodSeconds field's value. func (s *AwsEcsServiceDetails) SetHealthCheckGracePeriodSeconds(v int64) *AwsEcsServiceDetails { s.HealthCheckGracePeriodSeconds = &v return s } // SetLaunchType sets the LaunchType field's value. func (s *AwsEcsServiceDetails) SetLaunchType(v string) *AwsEcsServiceDetails { s.LaunchType = &v return s } // SetLoadBalancers sets the LoadBalancers field's value. func (s *AwsEcsServiceDetails) SetLoadBalancers(v []*AwsEcsServiceLoadBalancersDetails) *AwsEcsServiceDetails { s.LoadBalancers = v return s } // SetName sets the Name field's value. func (s *AwsEcsServiceDetails) SetName(v string) *AwsEcsServiceDetails { s.Name = &v return s } // SetNetworkConfiguration sets the NetworkConfiguration field's value. func (s *AwsEcsServiceDetails) SetNetworkConfiguration(v *AwsEcsServiceNetworkConfigurationDetails) *AwsEcsServiceDetails { s.NetworkConfiguration = v return s } // SetPlacementConstraints sets the PlacementConstraints field's value. func (s *AwsEcsServiceDetails) SetPlacementConstraints(v []*AwsEcsServicePlacementConstraintsDetails) *AwsEcsServiceDetails { s.PlacementConstraints = v return s } // SetPlacementStrategies sets the PlacementStrategies field's value. func (s *AwsEcsServiceDetails) SetPlacementStrategies(v []*AwsEcsServicePlacementStrategiesDetails) *AwsEcsServiceDetails { s.PlacementStrategies = v return s } // SetPlatformVersion sets the PlatformVersion field's value. func (s *AwsEcsServiceDetails) SetPlatformVersion(v string) *AwsEcsServiceDetails { s.PlatformVersion = &v return s } // SetPropagateTags sets the PropagateTags field's value. func (s *AwsEcsServiceDetails) SetPropagateTags(v string) *AwsEcsServiceDetails { s.PropagateTags = &v return s } // SetRole sets the Role field's value. func (s *AwsEcsServiceDetails) SetRole(v string) *AwsEcsServiceDetails { s.Role = &v return s } // SetSchedulingStrategy sets the SchedulingStrategy field's value. func (s *AwsEcsServiceDetails) SetSchedulingStrategy(v string) *AwsEcsServiceDetails { s.SchedulingStrategy = &v return s } // SetServiceArn sets the ServiceArn field's value. func (s *AwsEcsServiceDetails) SetServiceArn(v string) *AwsEcsServiceDetails { s.ServiceArn = &v return s } // SetServiceName sets the ServiceName field's value. func (s *AwsEcsServiceDetails) SetServiceName(v string) *AwsEcsServiceDetails { s.ServiceName = &v return s } // SetServiceRegistries sets the ServiceRegistries field's value. func (s *AwsEcsServiceDetails) SetServiceRegistries(v []*AwsEcsServiceServiceRegistriesDetails) *AwsEcsServiceDetails { s.ServiceRegistries = v return s } // SetTaskDefinition sets the TaskDefinition field's value. func (s *AwsEcsServiceDetails) SetTaskDefinition(v string) *AwsEcsServiceDetails { s.TaskDefinition = &v return s } // Information about a load balancer that the service uses. type AwsEcsServiceLoadBalancersDetails struct { _ struct{} `type:"structure"` // The name of the container to associate with the load balancer. ContainerName *string `type:"string"` // The port on the container to associate with the load balancer. This port // must correspond to a containerPort in the task definition the tasks in the // service are using. For tasks that use the EC2 launch type, the container // instance they are launched on must allow ingress traffic on the hostPort // of the port mapping. ContainerPort *int64 `type:"integer"` // The name of the load balancer to associate with the Amazon ECS service or // task set. // // Only specified when using a Classic Load Balancer. For an Application Load // Balancer or a Network Load Balancer, the load balancer name is omitted. LoadBalancerName *string `type:"string"` // The ARN of the Elastic Load Balancing target group or groups associated with // a service or task set. // // Only specified when using an Application Load Balancer or a Network Load // Balancer. For a Classic Load Balancer, the target group ARN is omitted. TargetGroupArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceLoadBalancersDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceLoadBalancersDetails) GoString() string { return s.String() } // SetContainerName sets the ContainerName field's value. func (s *AwsEcsServiceLoadBalancersDetails) SetContainerName(v string) *AwsEcsServiceLoadBalancersDetails { s.ContainerName = &v return s } // SetContainerPort sets the ContainerPort field's value. func (s *AwsEcsServiceLoadBalancersDetails) SetContainerPort(v int64) *AwsEcsServiceLoadBalancersDetails { s.ContainerPort = &v return s } // SetLoadBalancerName sets the LoadBalancerName field's value. func (s *AwsEcsServiceLoadBalancersDetails) SetLoadBalancerName(v string) *AwsEcsServiceLoadBalancersDetails { s.LoadBalancerName = &v return s } // SetTargetGroupArn sets the TargetGroupArn field's value. func (s *AwsEcsServiceLoadBalancersDetails) SetTargetGroupArn(v string) *AwsEcsServiceLoadBalancersDetails { s.TargetGroupArn = &v return s } // For tasks that use the awsvpc networking mode, the VPC subnet and security // group configuration. type AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails struct { _ struct{} `type:"structure"` // Whether the task's elastic network interface receives a public IP address. // The default value is DISABLED. // // Valid values: ENABLED | DISABLED AssignPublicIp *string `type:"string"` // The IDs of the security groups associated with the task or service. // // You can provide up to five security groups. SecurityGroups []*string `type:"list"` // The IDs of the subnets associated with the task or service. // // You can provide up to 16 subnets. Subnets []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails) GoString() string { return s.String() } // SetAssignPublicIp sets the AssignPublicIp field's value. func (s *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails) SetAssignPublicIp(v string) *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails { s.AssignPublicIp = &v return s } // SetSecurityGroups sets the SecurityGroups field's value. func (s *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails) SetSecurityGroups(v []*string) *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails { s.SecurityGroups = v return s } // SetSubnets sets the Subnets field's value. func (s *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails) SetSubnets(v []*string) *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails { s.Subnets = v return s } // For tasks that use the awsvpc networking mode, the VPC subnet and security // group configuration. type AwsEcsServiceNetworkConfigurationDetails struct { _ struct{} `type:"structure"` // The VPC subnet and security group configuration. AwsVpcConfiguration *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceNetworkConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceNetworkConfigurationDetails) GoString() string { return s.String() } // SetAwsVpcConfiguration sets the AwsVpcConfiguration field's value. func (s *AwsEcsServiceNetworkConfigurationDetails) SetAwsVpcConfiguration(v *AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails) *AwsEcsServiceNetworkConfigurationDetails { s.AwsVpcConfiguration = v return s } // A placement constraint for the tasks in the service. type AwsEcsServicePlacementConstraintsDetails struct { _ struct{} `type:"structure"` // A cluster query language expression to apply to the constraint. You cannot // specify an expression if the constraint type is distinctInstance. Expression *string `type:"string"` // The type of constraint. Use distinctInstance to run each task in a particular // group on a different container instance. Use memberOf to restrict the selection // to a group of valid candidates. // // Valid values: distinctInstance | memberOf Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServicePlacementConstraintsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServicePlacementConstraintsDetails) GoString() string { return s.String() } // SetExpression sets the Expression field's value. func (s *AwsEcsServicePlacementConstraintsDetails) SetExpression(v string) *AwsEcsServicePlacementConstraintsDetails { s.Expression = &v return s } // SetType sets the Type field's value. func (s *AwsEcsServicePlacementConstraintsDetails) SetType(v string) *AwsEcsServicePlacementConstraintsDetails { s.Type = &v return s } // A placement strategy that determines how to place the tasks for the service. type AwsEcsServicePlacementStrategiesDetails struct { _ struct{} `type:"structure"` // The field to apply the placement strategy against. // // For the spread placement strategy, valid values are instanceId (or host, // which has the same effect), or any platform or custom attribute that is applied // to a container instance, such as attribute:ecs.availability-zone. // // For the binpack placement strategy, valid values are cpu and memory. // // For the random placement strategy, this attribute is not used. Field *string `type:"string"` // The type of placement strategy. // // The random placement strategy randomly places tasks on available candidates. // // The spread placement strategy spreads placement across available candidates // evenly based on the value of Field. // // The binpack strategy places tasks on available candidates that have the least // available amount of the resource that is specified in Field. // // Valid values: random | spread | binpack Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServicePlacementStrategiesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServicePlacementStrategiesDetails) GoString() string { return s.String() } // SetField sets the Field field's value. func (s *AwsEcsServicePlacementStrategiesDetails) SetField(v string) *AwsEcsServicePlacementStrategiesDetails { s.Field = &v return s } // SetType sets the Type field's value. func (s *AwsEcsServicePlacementStrategiesDetails) SetType(v string) *AwsEcsServicePlacementStrategiesDetails { s.Type = &v return s } // Information about a service discovery registry to assign to the service. type AwsEcsServiceServiceRegistriesDetails struct { _ struct{} `type:"structure"` // The container name value to use for the service discovery service. // // If the task definition uses the bridge or host network mode, you must specify // ContainerName and ContainerPort. // // If the task definition uses the awsvpc network mode and a type SRV DNS record, // you must specify either ContainerName and ContainerPort, or Port , but not // both. ContainerName *string `type:"string"` // The port value to use for the service discovery service. // // If the task definition uses the bridge or host network mode, you must specify // ContainerName and ContainerPort. // // If the task definition uses the awsvpc network mode and a type SRV DNS record, // you must specify either ContainerName and ContainerPort, or Port , but not // both. ContainerPort *int64 `type:"integer"` // The port value to use for a service discovery service that specifies an SRV // record. This field can be used if both the awsvpcawsvpc network mode and // SRV records are used. Port *int64 `type:"integer"` // The ARN of the service registry. RegistryArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceServiceRegistriesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsServiceServiceRegistriesDetails) GoString() string { return s.String() } // SetContainerName sets the ContainerName field's value. func (s *AwsEcsServiceServiceRegistriesDetails) SetContainerName(v string) *AwsEcsServiceServiceRegistriesDetails { s.ContainerName = &v return s } // SetContainerPort sets the ContainerPort field's value. func (s *AwsEcsServiceServiceRegistriesDetails) SetContainerPort(v int64) *AwsEcsServiceServiceRegistriesDetails { s.ContainerPort = &v return s } // SetPort sets the Port field's value. func (s *AwsEcsServiceServiceRegistriesDetails) SetPort(v int64) *AwsEcsServiceServiceRegistriesDetails { s.Port = &v return s } // SetRegistryArn sets the RegistryArn field's value. func (s *AwsEcsServiceServiceRegistriesDetails) SetRegistryArn(v string) *AwsEcsServiceServiceRegistriesDetails { s.RegistryArn = &v return s } // A dependency that is defined for container startup and shutdown. type AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails struct { _ struct{} `type:"structure"` // The dependency condition of the dependent container. Indicates the required // status of the dependent container before the current container can start. // Valid values are as follows: // // * COMPLETE // // * HEALTHY // // * SUCCESS // // * START Condition *string `type:"string"` // The name of the dependent container. ContainerName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails) GoString() string { return s.String() } // SetCondition sets the Condition field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails) SetCondition(v string) *AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails { s.Condition = &v return s } // SetContainerName sets the ContainerName field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails) SetContainerName(v string) *AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails { s.ContainerName = &v return s } // A container definition that describes a container in the task. type AwsEcsTaskDefinitionContainerDefinitionsDetails struct { _ struct{} `type:"structure"` // The command that is passed to the container. Command []*string `type:"list"` // The number of CPU units reserved for the container. Cpu *int64 `type:"integer"` // The dependencies that are defined for container startup and shutdown. DependsOn []*AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails `type:"list"` // Whether to disable networking within the container. DisableNetworking *bool `type:"boolean"` // A list of DNS search domains that are presented to the container. DnsSearchDomains []*string `type:"list"` // A list of DNS servers that are presented to the container. DnsServers []*string `type:"list"` // A key-value map of labels to add to the container. DockerLabels map[string]*string `type:"map"` // A list of strings to provide custom labels for SELinux and AppArmor multi-level // security systems. DockerSecurityOptions []*string `type:"list"` // The entry point that is passed to the container. EntryPoint []*string `type:"list"` // The environment variables to pass to a container. Environment []*AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails `type:"list"` // A list of files containing the environment variables to pass to a container. EnvironmentFiles []*AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails `type:"list"` // Whether the container is essential. All tasks must have at least one essential // container. Essential *bool `type:"boolean"` // A list of hostnames and IP address mappings to append to the /etc/hosts file // on the container. ExtraHosts []*AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails `type:"list"` // The FireLens configuration for the container. Specifies and configures a // log router for container logs. FirelensConfiguration *your_sha256_hashails `type:"structure"` // The container health check command and associated configuration parameters // for the container. HealthCheck *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails `type:"structure"` // The hostname to use for the container. Hostname *string `type:"string"` // The image used to start the container. Image *string `type:"string"` // If set to true, then containerized applications can be deployed that require // stdin or a tty to be allocated. Interactive *bool `type:"boolean"` // A list of links for the container in the form container_name:alias . Allows // containers to communicate with each other without the need for port mappings. Links []*string `type:"list"` // Linux-specific modifications that are applied to the container, such as Linux // kernel capabilities. LinuxParameters *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails `type:"structure"` // The log configuration specification for the container. LogConfiguration *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails `type:"structure"` // The amount (in MiB) of memory to present to the container. If the container // attempts to exceed the memory specified here, the container is shut down. // The total amount of memory reserved for all containers within a task must // be lower than the task memory value, if one is specified. Memory *int64 `type:"integer"` // The soft limit (in MiB) of memory to reserve for the container. MemoryReservation *int64 `type:"integer"` // The mount points for the data volumes in the container. MountPoints []*AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails `type:"list"` // The name of the container. Name *string `type:"string"` // The list of port mappings for the container. PortMappings []*AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails `type:"list"` // Whether the container is given elevated privileges on the host container // instance. The elevated privileges are similar to the root user. Privileged *bool `type:"boolean"` // Whether to allocate a TTY to the container. PseudoTerminal *bool `type:"boolean"` // Whether the container is given read-only access to its root file system. ReadonlyRootFilesystem *bool `type:"boolean"` // The private repository authentication credentials to use. RepositoryCredentials *your_sha256_hashails `type:"structure"` // The type and amount of a resource to assign to a container. The only supported // resource is a GPU. ResourceRequirements []*your_sha256_hashils `type:"list"` // The secrets to pass to the container. Secrets []*AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails `type:"list"` // The number of seconds to wait before giving up on resolving dependencies // for a container. StartTimeout *int64 `type:"integer"` // The number of seconds to wait before the container is stopped if it doesn't // shut down normally on its own. StopTimeout *int64 `type:"integer"` // A list of namespaced kernel parameters to set in the container. SystemControls []*AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails `type:"list"` // A list of ulimits to set in the container. Ulimits []*AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails `type:"list"` // The user to use inside the container. // // The value can use one of the following formats. // // * user // // * user :group // // * uid // // * uid :gid // // * user :gid // // * uid :group User *string `type:"string"` // Data volumes to mount from another container. VolumesFrom []*AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails `type:"list"` // The working directory in which to run commands inside the container. WorkingDirectory *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsDetails) GoString() string { return s.String() } // SetCommand sets the Command field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetCommand(v []*string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Command = v return s } // SetCpu sets the Cpu field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetCpu(v int64) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Cpu = &v return s } // SetDependsOn sets the DependsOn field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetDependsOn(v []*AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.DependsOn = v return s } // SetDisableNetworking sets the DisableNetworking field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetDisableNetworking(v bool) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.DisableNetworking = &v return s } // SetDnsSearchDomains sets the DnsSearchDomains field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetDnsSearchDomains(v []*string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.DnsSearchDomains = v return s } // SetDnsServers sets the DnsServers field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetDnsServers(v []*string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.DnsServers = v return s } // SetDockerLabels sets the DockerLabels field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetDockerLabels(v map[string]*string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.DockerLabels = v return s } // SetDockerSecurityOptions sets the DockerSecurityOptions field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetDockerSecurityOptions(v []*string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.DockerSecurityOptions = v return s } // SetEntryPoint sets the EntryPoint field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetEntryPoint(v []*string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.EntryPoint = v return s } // SetEnvironment sets the Environment field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetEnvironment(v []*AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Environment = v return s } // SetEnvironmentFiles sets the EnvironmentFiles field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetEnvironmentFiles(v []*AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.EnvironmentFiles = v return s } // SetEssential sets the Essential field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetEssential(v bool) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Essential = &v return s } // SetExtraHosts sets the ExtraHosts field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetExtraHosts(v []*AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.ExtraHosts = v return s } // SetFirelensConfiguration sets the FirelensConfiguration field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetFirelensConfiguration(v *your_sha256_hashails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.FirelensConfiguration = v return s } // SetHealthCheck sets the HealthCheck field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetHealthCheck(v *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.HealthCheck = v return s } // SetHostname sets the Hostname field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetHostname(v string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Hostname = &v return s } // SetImage sets the Image field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetImage(v string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Image = &v return s } // SetInteractive sets the Interactive field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetInteractive(v bool) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Interactive = &v return s } // SetLinks sets the Links field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetLinks(v []*string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Links = v return s } // SetLinuxParameters sets the LinuxParameters field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetLinuxParameters(v *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.LinuxParameters = v return s } // SetLogConfiguration sets the LogConfiguration field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetLogConfiguration(v *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.LogConfiguration = v return s } // SetMemory sets the Memory field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetMemory(v int64) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Memory = &v return s } // SetMemoryReservation sets the MemoryReservation field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetMemoryReservation(v int64) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.MemoryReservation = &v return s } // SetMountPoints sets the MountPoints field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetMountPoints(v []*AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.MountPoints = v return s } // SetName sets the Name field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetName(v string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Name = &v return s } // SetPortMappings sets the PortMappings field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetPortMappings(v []*AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.PortMappings = v return s } // SetPrivileged sets the Privileged field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetPrivileged(v bool) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Privileged = &v return s } // SetPseudoTerminal sets the PseudoTerminal field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetPseudoTerminal(v bool) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.PseudoTerminal = &v return s } // SetReadonlyRootFilesystem sets the ReadonlyRootFilesystem field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetReadonlyRootFilesystem(v bool) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.ReadonlyRootFilesystem = &v return s } // SetRepositoryCredentials sets the RepositoryCredentials field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetRepositoryCredentials(v *your_sha256_hashails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.RepositoryCredentials = v return s } // SetResourceRequirements sets the ResourceRequirements field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetResourceRequirements(v []*your_sha256_hashils) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.ResourceRequirements = v return s } // SetSecrets sets the Secrets field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetSecrets(v []*AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Secrets = v return s } // SetStartTimeout sets the StartTimeout field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetStartTimeout(v int64) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.StartTimeout = &v return s } // SetStopTimeout sets the StopTimeout field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetStopTimeout(v int64) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.StopTimeout = &v return s } // SetSystemControls sets the SystemControls field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetSystemControls(v []*AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.SystemControls = v return s } // SetUlimits sets the Ulimits field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetUlimits(v []*AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.Ulimits = v return s } // SetUser sets the User field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetUser(v string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.User = &v return s } // SetVolumesFrom sets the VolumesFrom field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetVolumesFrom(v []*AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.VolumesFrom = v return s } // SetWorkingDirectory sets the WorkingDirectory field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsDetails) SetWorkingDirectory(v string) *AwsEcsTaskDefinitionContainerDefinitionsDetails { s.WorkingDirectory = &v return s } // An environment variable to pass to the container. type AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails struct { _ struct{} `type:"structure"` // The name of the environment variable. Name *string `type:"string"` // The value of the environment variable. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails) SetName(v string) *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails { s.Name = &v return s } // SetValue sets the Value field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails) SetValue(v string) *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails { s.Value = &v return s } // A file that contain environment variables to pass to a container. type AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails struct { _ struct{} `type:"structure"` // The type of environment file. The valid value is s3. Type *string `type:"string"` // The ARN of the S3 object that contains the environment variable file. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails) SetType(v string) *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails { s.Type = &v return s } // SetValue sets the Value field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails) SetValue(v string) *AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails { s.Value = &v return s } // A hostname and IP address mapping to append to the /etc/hosts file on the // container. type AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails struct { _ struct{} `type:"structure"` // The hostname to use in the /etc/hosts entry. Hostname *string `type:"string"` // The IP address to use in the /etc/hosts entry. IpAddress *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails) GoString() string { return s.String() } // SetHostname sets the Hostname field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails) SetHostname(v string) *AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails { s.Hostname = &v return s } // SetIpAddress sets the IpAddress field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails) SetIpAddress(v string) *AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails { s.IpAddress = &v return s } // The FireLens configuration for the container. The configuration specifies // and configures a log router for container logs. type your_sha256_hashails struct { _ struct{} `type:"structure"` // The options to use to configure the log router. // // The valid option keys are as follows: // // * enable-ecs-log-metadata. The value can be true or false. // // * config-file-type. The value can be s3 or file. // // * config-file-value. The value is either an S3 ARN or a file path. Options map[string]*string `type:"map"` // The log router to use. Valid values are fluentbit or fluentd. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashails) GoString() string { return s.String() } // SetOptions sets the Options field's value. func (s *your_sha256_hashails) SetOptions(v map[string]*string) *your_sha256_hashails { s.Options = v return s } // SetType sets the Type field's value. func (s *your_sha256_hashails) SetType(v string) *your_sha256_hashails { s.Type = &v return s } // The container health check command and associated configuration parameters // for the container. type AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails struct { _ struct{} `type:"structure"` // The command that the container runs to determine whether it is healthy. Command []*string `type:"list"` // The time period in seconds between each health check execution. The default // value is 30 seconds. Interval *int64 `type:"integer"` // The number of times to retry a failed health check before the container is // considered unhealthy. The default value is 3. Retries *int64 `type:"integer"` // The optional grace period in seconds that allows containers time to bootstrap // before failed health checks count towards the maximum number of retries. StartPeriod *int64 `type:"integer"` // The time period in seconds to wait for a health check to succeed before it // is considered a failure. The default value is 5. Timeout *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) GoString() string { return s.String() } // SetCommand sets the Command field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) SetCommand(v []*string) *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails { s.Command = v return s } // SetInterval sets the Interval field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) SetInterval(v int64) *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails { s.Interval = &v return s } // SetRetries sets the Retries field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) SetRetries(v int64) *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails { s.Retries = &v return s } // SetStartPeriod sets the StartPeriod field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) SetStartPeriod(v int64) *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails { s.StartPeriod = &v return s } // SetTimeout sets the Timeout field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails) SetTimeout(v int64) *AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails { s.Timeout = &v return s } // The Linux capabilities for the container that are added to or dropped from // the default configuration provided by Docker. type your_sha256_hashiesDetails struct { _ struct{} `type:"structure"` // The Linux capabilities for the container that are added to the default configuration // provided by Docker. Valid values are as follows: // // Valid values: "ALL" | "AUDIT_CONTROL" |"AUDIT_WRITE" | "BLOCK_SUSPEND" | // "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" // | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" |"MAC_OVERRIDE" // | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" // | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" // | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | // "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | // "WAKE_ALARM" Add []*string `type:"list"` // The Linux capabilities for the container that are dropped from the default // configuration provided by Docker. // // Valid values: "ALL" | "AUDIT_CONTROL" |"AUDIT_WRITE" | "BLOCK_SUSPEND" | // "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" // | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" |"MAC_OVERRIDE" // | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" // | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" // | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | // "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | // "WAKE_ALARM" Drop []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashiesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashiesDetails) GoString() string { return s.String() } // SetAdd sets the Add field's value. func (s *your_sha256_hashiesDetails) SetAdd(v []*string) *your_sha256_hashiesDetails { s.Add = v return s } // SetDrop sets the Drop field's value. func (s *your_sha256_hashiesDetails) SetDrop(v []*string) *your_sha256_hashiesDetails { s.Drop = v return s } // >Linux-specific modifications that are applied to the container, such as // Linux kernel capabilities. type AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails struct { _ struct{} `type:"structure"` // The Linux capabilities for the container that are added to or dropped from // the default configuration provided by Docker. Capabilities *your_sha256_hashiesDetails `type:"structure"` // The host devices to expose to the container. Devices []*your_sha256_hashtails `type:"list"` // Whether to run an init process inside the container that forwards signals // and reaps processes. InitProcessEnabled *bool `type:"boolean"` // The total amount of swap memory (in MiB) that a container can use. MaxSwap *int64 `type:"integer"` // The value for the size (in MiB) of the /dev/shm volume. SharedMemorySize *int64 `type:"integer"` // Configures the container's memory swappiness behavior. Determines how aggressively // pages are swapped. The higher the value, the more aggressive the swappiness. // The default is 60. Swappiness *int64 `type:"integer"` // The container path, mount options, and size (in MiB) of the tmpfs mount. Tmpfs []*your_sha256_hashils `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) GoString() string { return s.String() } // SetCapabilities sets the Capabilities field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) SetCapabilities(v *your_sha256_hashiesDetails) *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { s.Capabilities = v return s } // SetDevices sets the Devices field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) SetDevices(v []*your_sha256_hashtails) *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { s.Devices = v return s } // SetInitProcessEnabled sets the InitProcessEnabled field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) SetInitProcessEnabled(v bool) *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { s.InitProcessEnabled = &v return s } // SetMaxSwap sets the MaxSwap field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) SetMaxSwap(v int64) *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { s.MaxSwap = &v return s } // SetSharedMemorySize sets the SharedMemorySize field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) SetSharedMemorySize(v int64) *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { s.SharedMemorySize = &v return s } // SetSwappiness sets the Swappiness field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) SetSwappiness(v int64) *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { s.Swappiness = &v return s } // SetTmpfs sets the Tmpfs field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails) SetTmpfs(v []*your_sha256_hashils) *AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { s.Tmpfs = v return s } // A host device to expose to the container. type your_sha256_hashtails struct { _ struct{} `type:"structure"` // The path inside the container at which to expose the host device. ContainerPath *string `type:"string"` // The path for the device on the host container instance. HostPath *string `type:"string"` // The explicit permissions to provide to the container for the device. By default, // the container has permissions for read, write, and mknod for the device. Permissions []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtails) GoString() string { return s.String() } // SetContainerPath sets the ContainerPath field's value. func (s *your_sha256_hashtails) SetContainerPath(v string) *your_sha256_hashtails { s.ContainerPath = &v return s } // SetHostPath sets the HostPath field's value. func (s *your_sha256_hashtails) SetHostPath(v string) *your_sha256_hashtails { s.HostPath = &v return s } // SetPermissions sets the Permissions field's value. func (s *your_sha256_hashtails) SetPermissions(v []*string) *your_sha256_hashtails { s.Permissions = v return s } // The container path, mount options, and size (in MiB) of a tmpfs mount. type your_sha256_hashils struct { _ struct{} `type:"structure"` // The absolute file path where the tmpfs volume is to be mounted. ContainerPath *string `type:"string"` // The list of tmpfs volume mount options. // // Valid values: "defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" // |"exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | // "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" // | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" // | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" // |"mode" | "uid" | "gid" | "nr_inodes" |"nr_blocks" | "mpol" MountOptions []*string `type:"list"` // The maximum size (in MiB) of the tmpfs volume. Size *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) GoString() string { return s.String() } // SetContainerPath sets the ContainerPath field's value. func (s *your_sha256_hashils) SetContainerPath(v string) *your_sha256_hashils { s.ContainerPath = &v return s } // SetMountOptions sets the MountOptions field's value. func (s *your_sha256_hashils) SetMountOptions(v []*string) *your_sha256_hashils { s.MountOptions = v return s } // SetSize sets the Size field's value. func (s *your_sha256_hashils) SetSize(v int64) *your_sha256_hashils { s.Size = &v return s } // The log configuration specification for the container. type AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails struct { _ struct{} `type:"structure"` // The log driver to use for the container. // // Valid values on Fargate are as follows: // // * awsfirelens // // * awslogs // // * splunk // // Valid values on Amazon EC2 are as follows: // // * awsfirelens // // * awslogs // // * fluentd // // * gelf // // * journald // // * json-file // // * logentries // // * splunk // // * syslog LogDriver *string `type:"string"` // The configuration options to send to the log driver. Requires version 1.19 // of the Docker Remote API or greater on your container instance. Options map[string]*string `type:"map"` // The secrets to pass to the log configuration. SecretOptions []*your_sha256_hashtionsDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails) GoString() string { return s.String() } // SetLogDriver sets the LogDriver field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails) SetLogDriver(v string) *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails { s.LogDriver = &v return s } // SetOptions sets the Options field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails) SetOptions(v map[string]*string) *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails { s.Options = v return s } // SetSecretOptions sets the SecretOptions field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails) SetSecretOptions(v []*your_sha256_hashtionsDetails) *AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails { s.SecretOptions = v return s } // A secret to pass to the log configuration. type your_sha256_hashtionsDetails struct { _ struct{} `type:"structure"` // The name of the secret. Name *string `type:"string"` // The secret to expose to the container. // // The value is either the full ARN of the Secrets Manager secret or the full // ARN of the parameter in the Systems Manager Parameter Store. ValueFrom *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtionsDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *your_sha256_hashtionsDetails) SetName(v string) *your_sha256_hashtionsDetails { s.Name = &v return s } // SetValueFrom sets the ValueFrom field's value. func (s *your_sha256_hashtionsDetails) SetValueFrom(v string) *your_sha256_hashtionsDetails { s.ValueFrom = &v return s } // A mount point for the data volumes in the container. type AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails struct { _ struct{} `type:"structure"` // The path on the container to mount the host volume at. ContainerPath *string `type:"string"` // Whether the container has read-only access to the volume. ReadOnly *bool `type:"boolean"` // The name of the volume to mount. Must match the name of a volume listed in // VolumeDetails for the task definition. SourceVolume *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails) GoString() string { return s.String() } // SetContainerPath sets the ContainerPath field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails) SetContainerPath(v string) *AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails { s.ContainerPath = &v return s } // SetReadOnly sets the ReadOnly field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails) SetReadOnly(v bool) *AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails { s.ReadOnly = &v return s } // SetSourceVolume sets the SourceVolume field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails) SetSourceVolume(v string) *AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails { s.SourceVolume = &v return s } // A port mapping for the container. type AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails struct { _ struct{} `type:"structure"` // The port number on the container that is bound to the user-specified or automatically // assigned host port. ContainerPort *int64 `type:"integer"` // The port number on the container instance to reserve for the container. HostPort *int64 `type:"integer"` // The protocol used for the port mapping. The default is tcp. Protocol *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails) GoString() string { return s.String() } // SetContainerPort sets the ContainerPort field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails) SetContainerPort(v int64) *AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails { s.ContainerPort = &v return s } // SetHostPort sets the HostPort field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails) SetHostPort(v int64) *AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails { s.HostPort = &v return s } // SetProtocol sets the Protocol field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails) SetProtocol(v string) *AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails { s.Protocol = &v return s } // The private repository authentication credentials to use. type your_sha256_hashails struct { _ struct{} `type:"structure"` // The ARN of the secret that contains the private repository credentials. CredentialsParameter *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashails) GoString() string { return s.String() } // SetCredentialsParameter sets the CredentialsParameter field's value. func (s *your_sha256_hashails) SetCredentialsParameter(v string) *your_sha256_hashails { s.CredentialsParameter = &v return s } // A resource to assign to a container. type your_sha256_hashils struct { _ struct{} `type:"structure"` // The type of resource to assign to a container. Valid values are GPU or InferenceAccelerator. Type *string `type:"string"` // The value for the specified resource type. // // For GPU, the value is the number of physical GPUs the Amazon ECS container // agent reserves for the container. // // For InferenceAccelerator, the value should match the DeviceName attribute // of an entry in InferenceAccelerators. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashils) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *your_sha256_hashils) SetType(v string) *your_sha256_hashils { s.Type = &v return s } // SetValue sets the Value field's value. func (s *your_sha256_hashils) SetValue(v string) *your_sha256_hashils { s.Value = &v return s } // A secret to pass to the container. type AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails struct { _ struct{} `type:"structure"` // The name of the secret. Name *string `type:"string"` // The secret to expose to the container. The value is either the full ARN of // the Secrets Manager secret or the full ARN of the parameter in the Systems // Manager Parameter Store. ValueFrom *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails) SetName(v string) *AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails { s.Name = &v return s } // SetValueFrom sets the ValueFrom field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails) SetValueFrom(v string) *AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails { s.ValueFrom = &v return s } // A namespaced kernel parameter to set in the container. type AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails struct { _ struct{} `type:"structure"` // The namespaced kernel parameter for which to set a value. Namespace *string `type:"string"` // The value of the parameter. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails) GoString() string { return s.String() } // SetNamespace sets the Namespace field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails) SetNamespace(v string) *AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails { s.Namespace = &v return s } // SetValue sets the Value field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails) SetValue(v string) *AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails { s.Value = &v return s } // A ulimit to set in the container. type AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails struct { _ struct{} `type:"structure"` // The hard limit for the ulimit type. HardLimit *int64 `type:"integer"` // The type of the ulimit. Valid values are as follows: // // * core // // * cpu // // * data // // * fsize // // * locks // // * memlock // // * msgqueue // // * nice // // * nofile // // * nproc // // * rss // // * rtprio // // * rttime // // * sigpending // // * stack Name *string `type:"string"` // The soft limit for the ulimit type. SoftLimit *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails) GoString() string { return s.String() } // SetHardLimit sets the HardLimit field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails) SetHardLimit(v int64) *AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails { s.HardLimit = &v return s } // SetName sets the Name field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails) SetName(v string) *AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails { s.Name = &v return s } // SetSoftLimit sets the SoftLimit field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails) SetSoftLimit(v int64) *AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails { s.SoftLimit = &v return s } // A data volume to mount from another container. type AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails struct { _ struct{} `type:"structure"` // Whether the container has read-only access to the volume. ReadOnly *bool `type:"boolean"` // The name of another container within the same task definition from which // to mount volumes. SourceContainer *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails) GoString() string { return s.String() } // SetReadOnly sets the ReadOnly field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails) SetReadOnly(v bool) *AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails { s.ReadOnly = &v return s } // SetSourceContainer sets the SourceContainer field's value. func (s *AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails) SetSourceContainer(v string) *AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails { s.SourceContainer = &v return s } // Details about a task definition. A task definition describes the container // and volume definitions of an Amazon Elastic Container Service task. type AwsEcsTaskDefinitionDetails struct { _ struct{} `type:"structure"` // The container definitions that describe the containers that make up the task. ContainerDefinitions []*AwsEcsTaskDefinitionContainerDefinitionsDetails `type:"list"` // The number of CPU units used by the task.Valid values are as follows: // // * 256 (.25 vCPU) // // * 512 (.5 vCPU) // // * 1024 (1 vCPU) // // * 2048 (2 vCPU) // // * 4096 (4 vCPU) Cpu *string `type:"string"` // The ARN of the task execution role that grants the container agent permission // to make API calls on behalf of the container user. ExecutionRoleArn *string `type:"string"` // The name of a family that this task definition is registered to. Family *string `type:"string"` // The Elastic Inference accelerators to use for the containers in the task. InferenceAccelerators []*AwsEcsTaskDefinitionInferenceAcceleratorsDetails `type:"list"` // The inter-process communication (IPC) resource namespace to use for the containers // in the task. Valid values are as follows: // // * host // // * none // // * task IpcMode *string `type:"string"` // The amount (in MiB) of memory used by the task. // // For tasks that are hosted on Amazon EC2, you can provide a task-level memory // value or a container-level memory value. For tasks that are hosted on Fargate, // you must use one of the specified values (path_to_url#task_size) // in the Amazon Elastic Container Service Developer Guide , which determines // your range of supported values for the Cpu and Memory parameters. Memory *string `type:"string"` // The Docker networking mode to use for the containers in the task. Valid values // are as follows: // // * awsvpc // // * bridge // // * host // // * none NetworkMode *string `type:"string"` // The process namespace to use for the containers in the task. Valid values // are host or task. PidMode *string `type:"string"` // The placement constraint objects to use for tasks. PlacementConstraints []*AwsEcsTaskDefinitionPlacementConstraintsDetails `type:"list"` // The configuration details for the App Mesh proxy. ProxyConfiguration *AwsEcsTaskDefinitionProxyConfigurationDetails `type:"structure"` // The task launch types that the task definition was validated against. RequiresCompatibilities []*string `type:"list"` // The status of the task definition. Status *string `type:"string"` // The short name or ARN of the IAM role that grants containers in the task // permission to call Amazon Web Services API operations on your behalf. TaskRoleArn *string `type:"string"` // The data volume definitions for the task. Volumes []*AwsEcsTaskDefinitionVolumesDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionDetails) GoString() string { return s.String() } // SetContainerDefinitions sets the ContainerDefinitions field's value. func (s *AwsEcsTaskDefinitionDetails) SetContainerDefinitions(v []*AwsEcsTaskDefinitionContainerDefinitionsDetails) *AwsEcsTaskDefinitionDetails { s.ContainerDefinitions = v return s } // SetCpu sets the Cpu field's value. func (s *AwsEcsTaskDefinitionDetails) SetCpu(v string) *AwsEcsTaskDefinitionDetails { s.Cpu = &v return s } // SetExecutionRoleArn sets the ExecutionRoleArn field's value. func (s *AwsEcsTaskDefinitionDetails) SetExecutionRoleArn(v string) *AwsEcsTaskDefinitionDetails { s.ExecutionRoleArn = &v return s } // SetFamily sets the Family field's value. func (s *AwsEcsTaskDefinitionDetails) SetFamily(v string) *AwsEcsTaskDefinitionDetails { s.Family = &v return s } // SetInferenceAccelerators sets the InferenceAccelerators field's value. func (s *AwsEcsTaskDefinitionDetails) SetInferenceAccelerators(v []*AwsEcsTaskDefinitionInferenceAcceleratorsDetails) *AwsEcsTaskDefinitionDetails { s.InferenceAccelerators = v return s } // SetIpcMode sets the IpcMode field's value. func (s *AwsEcsTaskDefinitionDetails) SetIpcMode(v string) *AwsEcsTaskDefinitionDetails { s.IpcMode = &v return s } // SetMemory sets the Memory field's value. func (s *AwsEcsTaskDefinitionDetails) SetMemory(v string) *AwsEcsTaskDefinitionDetails { s.Memory = &v return s } // SetNetworkMode sets the NetworkMode field's value. func (s *AwsEcsTaskDefinitionDetails) SetNetworkMode(v string) *AwsEcsTaskDefinitionDetails { s.NetworkMode = &v return s } // SetPidMode sets the PidMode field's value. func (s *AwsEcsTaskDefinitionDetails) SetPidMode(v string) *AwsEcsTaskDefinitionDetails { s.PidMode = &v return s } // SetPlacementConstraints sets the PlacementConstraints field's value. func (s *AwsEcsTaskDefinitionDetails) SetPlacementConstraints(v []*AwsEcsTaskDefinitionPlacementConstraintsDetails) *AwsEcsTaskDefinitionDetails { s.PlacementConstraints = v return s } // SetProxyConfiguration sets the ProxyConfiguration field's value. func (s *AwsEcsTaskDefinitionDetails) SetProxyConfiguration(v *AwsEcsTaskDefinitionProxyConfigurationDetails) *AwsEcsTaskDefinitionDetails { s.ProxyConfiguration = v return s } // SetRequiresCompatibilities sets the RequiresCompatibilities field's value. func (s *AwsEcsTaskDefinitionDetails) SetRequiresCompatibilities(v []*string) *AwsEcsTaskDefinitionDetails { s.RequiresCompatibilities = v return s } // SetStatus sets the Status field's value. func (s *AwsEcsTaskDefinitionDetails) SetStatus(v string) *AwsEcsTaskDefinitionDetails { s.Status = &v return s } // SetTaskRoleArn sets the TaskRoleArn field's value. func (s *AwsEcsTaskDefinitionDetails) SetTaskRoleArn(v string) *AwsEcsTaskDefinitionDetails { s.TaskRoleArn = &v return s } // SetVolumes sets the Volumes field's value. func (s *AwsEcsTaskDefinitionDetails) SetVolumes(v []*AwsEcsTaskDefinitionVolumesDetails) *AwsEcsTaskDefinitionDetails { s.Volumes = v return s } // An Elastic Inference accelerator to use for the containers in the task. type AwsEcsTaskDefinitionInferenceAcceleratorsDetails struct { _ struct{} `type:"structure"` // The Elastic Inference accelerator device name. DeviceName *string `type:"string"` // The Elastic Inference accelerator type to use. DeviceType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionInferenceAcceleratorsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionInferenceAcceleratorsDetails) GoString() string { return s.String() } // SetDeviceName sets the DeviceName field's value. func (s *AwsEcsTaskDefinitionInferenceAcceleratorsDetails) SetDeviceName(v string) *AwsEcsTaskDefinitionInferenceAcceleratorsDetails { s.DeviceName = &v return s } // SetDeviceType sets the DeviceType field's value. func (s *AwsEcsTaskDefinitionInferenceAcceleratorsDetails) SetDeviceType(v string) *AwsEcsTaskDefinitionInferenceAcceleratorsDetails { s.DeviceType = &v return s } // A placement constraint object to use for tasks. type AwsEcsTaskDefinitionPlacementConstraintsDetails struct { _ struct{} `type:"structure"` // A cluster query language expression to apply to the constraint. Expression *string `type:"string"` // The type of constraint. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionPlacementConstraintsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionPlacementConstraintsDetails) GoString() string { return s.String() } // SetExpression sets the Expression field's value. func (s *AwsEcsTaskDefinitionPlacementConstraintsDetails) SetExpression(v string) *AwsEcsTaskDefinitionPlacementConstraintsDetails { s.Expression = &v return s } // SetType sets the Type field's value. func (s *AwsEcsTaskDefinitionPlacementConstraintsDetails) SetType(v string) *AwsEcsTaskDefinitionPlacementConstraintsDetails { s.Type = &v return s } // The configuration details for the App Mesh proxy. type AwsEcsTaskDefinitionProxyConfigurationDetails struct { _ struct{} `type:"structure"` // The name of the container that will serve as the App Mesh proxy. ContainerName *string `type:"string"` // The set of network configuration parameters to provide to the Container Network // Interface (CNI) plugin, specified as key-value pairs. ProxyConfigurationProperties []*your_sha256_hashesDetails `type:"list"` // The proxy type. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionProxyConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionProxyConfigurationDetails) GoString() string { return s.String() } // SetContainerName sets the ContainerName field's value. func (s *AwsEcsTaskDefinitionProxyConfigurationDetails) SetContainerName(v string) *AwsEcsTaskDefinitionProxyConfigurationDetails { s.ContainerName = &v return s } // SetProxyConfigurationProperties sets the ProxyConfigurationProperties field's value. func (s *AwsEcsTaskDefinitionProxyConfigurationDetails) SetProxyConfigurationProperties(v []*your_sha256_hashesDetails) *AwsEcsTaskDefinitionProxyConfigurationDetails { s.ProxyConfigurationProperties = v return s } // SetType sets the Type field's value. func (s *AwsEcsTaskDefinitionProxyConfigurationDetails) SetType(v string) *AwsEcsTaskDefinitionProxyConfigurationDetails { s.Type = &v return s } // A network configuration parameter to provide to the Container Network Interface // (CNI) plugin. type your_sha256_hashesDetails struct { _ struct{} `type:"structure"` // The name of the property. Name *string `type:"string"` // The value of the property. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashesDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *your_sha256_hashesDetails) SetName(v string) *your_sha256_hashesDetails { s.Name = &v return s } // SetValue sets the Value field's value. func (s *your_sha256_hashesDetails) SetValue(v string) *your_sha256_hashesDetails { s.Value = &v return s } // A data volume to mount from another container. type AwsEcsTaskDefinitionVolumesDetails struct { _ struct{} `type:"structure"` // Information about a Docker volume. DockerVolumeConfiguration *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails `type:"structure"` // Information about the Amazon Elastic File System file system that is used // for task storage. EfsVolumeConfiguration *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails `type:"structure"` // Information about a bind mount host volume. Host *AwsEcsTaskDefinitionVolumesHostDetails `type:"structure"` // The name of the data volume. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesDetails) GoString() string { return s.String() } // SetDockerVolumeConfiguration sets the DockerVolumeConfiguration field's value. func (s *AwsEcsTaskDefinitionVolumesDetails) SetDockerVolumeConfiguration(v *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) *AwsEcsTaskDefinitionVolumesDetails { s.DockerVolumeConfiguration = v return s } // SetEfsVolumeConfiguration sets the EfsVolumeConfiguration field's value. func (s *AwsEcsTaskDefinitionVolumesDetails) SetEfsVolumeConfiguration(v *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) *AwsEcsTaskDefinitionVolumesDetails { s.EfsVolumeConfiguration = v return s } // SetHost sets the Host field's value. func (s *AwsEcsTaskDefinitionVolumesDetails) SetHost(v *AwsEcsTaskDefinitionVolumesHostDetails) *AwsEcsTaskDefinitionVolumesDetails { s.Host = v return s } // SetName sets the Name field's value. func (s *AwsEcsTaskDefinitionVolumesDetails) SetName(v string) *AwsEcsTaskDefinitionVolumesDetails { s.Name = &v return s } // Information about a Docker volume. type AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails struct { _ struct{} `type:"structure"` // Whether to create the Docker volume automatically if it does not already // exist. Autoprovision *bool `type:"boolean"` // The Docker volume driver to use. Driver *string `type:"string"` // A map of Docker driver-specific options that are passed through. DriverOpts map[string]*string `type:"map"` // Custom metadata to add to the Docker volume. Labels map[string]*string `type:"map"` // The scope for the Docker volume that determines its lifecycle. Docker volumes // that are scoped to a task are provisioned automatically when the task starts // and destroyed when the task stops. Docker volumes that are shared persist // after the task stops. Valid values are shared or task. Scope *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) GoString() string { return s.String() } // SetAutoprovision sets the Autoprovision field's value. func (s *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) SetAutoprovision(v bool) *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails { s.Autoprovision = &v return s } // SetDriver sets the Driver field's value. func (s *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) SetDriver(v string) *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails { s.Driver = &v return s } // SetDriverOpts sets the DriverOpts field's value. func (s *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) SetDriverOpts(v map[string]*string) *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails { s.DriverOpts = v return s } // SetLabels sets the Labels field's value. func (s *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) SetLabels(v map[string]*string) *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails { s.Labels = v return s } // SetScope sets the Scope field's value. func (s *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails) SetScope(v string) *AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails { s.Scope = &v return s } type your_sha256_hashnfigDetails struct { _ struct{} `type:"structure"` // The Amazon EFS access point identifier to use. AccessPointId *string `type:"string"` // Whether to use the Amazon ECS task IAM role defined in a task definition // when mounting the Amazon EFS file system. Iam *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashnfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashnfigDetails) GoString() string { return s.String() } // SetAccessPointId sets the AccessPointId field's value. func (s *your_sha256_hashnfigDetails) SetAccessPointId(v string) *your_sha256_hashnfigDetails { s.AccessPointId = &v return s } // SetIam sets the Iam field's value. func (s *your_sha256_hashnfigDetails) SetIam(v string) *your_sha256_hashnfigDetails { s.Iam = &v return s } // Information about the Amazon Elastic File System file system that is used // for task storage. type AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails struct { _ struct{} `type:"structure"` // The authorization configuration details for the Amazon EFS file system. AuthorizationConfig *your_sha256_hashnfigDetails `type:"structure"` // The Amazon EFS file system identifier to use. FilesystemId *string `type:"string"` // The directory within the Amazon EFS file system to mount as the root directory // inside the host. RootDirectory *string `type:"string"` // Whether to enable encryption for Amazon EFS data in transit between the Amazon // ECS host and the Amazon EFS server. TransitEncryption *string `type:"string"` // The port to use when sending encrypted data between the Amazon ECS host and // the Amazon EFS server. TransitEncryptionPort *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) GoString() string { return s.String() } // SetAuthorizationConfig sets the AuthorizationConfig field's value. func (s *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) SetAuthorizationConfig(v *your_sha256_hashnfigDetails) *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails { s.AuthorizationConfig = v return s } // SetFilesystemId sets the FilesystemId field's value. func (s *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) SetFilesystemId(v string) *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails { s.FilesystemId = &v return s } // SetRootDirectory sets the RootDirectory field's value. func (s *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) SetRootDirectory(v string) *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails { s.RootDirectory = &v return s } // SetTransitEncryption sets the TransitEncryption field's value. func (s *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) SetTransitEncryption(v string) *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails { s.TransitEncryption = &v return s } // SetTransitEncryptionPort sets the TransitEncryptionPort field's value. func (s *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails) SetTransitEncryptionPort(v int64) *AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails { s.TransitEncryptionPort = &v return s } // Information about a bind mount host volume. type AwsEcsTaskDefinitionVolumesHostDetails struct { _ struct{} `type:"structure"` // The path on the host container instance that is presented to the container. SourcePath *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesHostDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDefinitionVolumesHostDetails) GoString() string { return s.String() } // SetSourcePath sets the SourcePath field's value. func (s *AwsEcsTaskDefinitionVolumesHostDetails) SetSourcePath(v string) *AwsEcsTaskDefinitionVolumesHostDetails { s.SourcePath = &v return s } // Provides details about a task in a cluster. type AwsEcsTaskDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the cluster that hosts the task. ClusterArn *string `type:"string"` // The containers that are associated with the task. Containers []*AwsEcsContainerDetails `type:"list"` // The Unix timestamp for the time when the task was created. More specifically, // it's for the time when the task entered the PENDING state. CreatedAt *string `type:"string"` // The name of the task group that's associated with the task. Group *string `type:"string"` // The Unix timestamp for the time when the task started. More specifically, // it's for the time when the task transitioned from the PENDING state to the // RUNNING state. StartedAt *string `type:"string"` // The tag specified when a task is started. If an Amazon ECS service started // the task, the startedBy parameter contains the deployment ID of that service. StartedBy *string `type:"string"` // The ARN of the task definition that creates the task. TaskDefinitionArn *string `type:"string"` // The version counter for the task. Version *string `type:"string"` // Details about the data volume that is used in a task definition. Volumes []*AwsEcsTaskVolumeDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskDetails) GoString() string { return s.String() } // SetClusterArn sets the ClusterArn field's value. func (s *AwsEcsTaskDetails) SetClusterArn(v string) *AwsEcsTaskDetails { s.ClusterArn = &v return s } // SetContainers sets the Containers field's value. func (s *AwsEcsTaskDetails) SetContainers(v []*AwsEcsContainerDetails) *AwsEcsTaskDetails { s.Containers = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AwsEcsTaskDetails) SetCreatedAt(v string) *AwsEcsTaskDetails { s.CreatedAt = &v return s } // SetGroup sets the Group field's value. func (s *AwsEcsTaskDetails) SetGroup(v string) *AwsEcsTaskDetails { s.Group = &v return s } // SetStartedAt sets the StartedAt field's value. func (s *AwsEcsTaskDetails) SetStartedAt(v string) *AwsEcsTaskDetails { s.StartedAt = &v return s } // SetStartedBy sets the StartedBy field's value. func (s *AwsEcsTaskDetails) SetStartedBy(v string) *AwsEcsTaskDetails { s.StartedBy = &v return s } // SetTaskDefinitionArn sets the TaskDefinitionArn field's value. func (s *AwsEcsTaskDetails) SetTaskDefinitionArn(v string) *AwsEcsTaskDetails { s.TaskDefinitionArn = &v return s } // SetVersion sets the Version field's value. func (s *AwsEcsTaskDetails) SetVersion(v string) *AwsEcsTaskDetails { s.Version = &v return s } // SetVolumes sets the Volumes field's value. func (s *AwsEcsTaskDetails) SetVolumes(v []*AwsEcsTaskVolumeDetails) *AwsEcsTaskDetails { s.Volumes = v return s } // Provides information about a data volume that's used in a task definition. type AwsEcsTaskVolumeDetails struct { _ struct{} `type:"structure"` // This parameter is specified when you use bind mount host volumes. The contents // of the host parameter determine whether your bind mount host volume persists // on the host container instance and where it's stored. Host *AwsEcsTaskVolumeHostDetails `type:"structure"` // The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, // underscores, and hyphens are allowed. This name is referenced in the sourceVolume // parameter of container definition mountPoints. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskVolumeDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskVolumeDetails) GoString() string { return s.String() } // SetHost sets the Host field's value. func (s *AwsEcsTaskVolumeDetails) SetHost(v *AwsEcsTaskVolumeHostDetails) *AwsEcsTaskVolumeDetails { s.Host = v return s } // SetName sets the Name field's value. func (s *AwsEcsTaskVolumeDetails) SetName(v string) *AwsEcsTaskVolumeDetails { s.Name = &v return s } // Provides details on a container instance bind mount host volume. type AwsEcsTaskVolumeHostDetails struct { _ struct{} `type:"structure"` // When the host parameter is used, specify a sourcePath to declare the path // on the host container instance that's presented to the container. SourcePath *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskVolumeHostDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEcsTaskVolumeHostDetails) GoString() string { return s.String() } // SetSourcePath sets the SourcePath field's value. func (s *AwsEcsTaskVolumeHostDetails) SetSourcePath(v string) *AwsEcsTaskVolumeHostDetails { s.SourcePath = &v return s } // Provides information about an Amazon EFS access point. type AwsEfsAccessPointDetails struct { _ struct{} `type:"structure"` // The ID of the Amazon EFS access point. AccessPointId *string `type:"string"` // The Amazon Resource Name (ARN) of the Amazon EFS access point. Arn *string `type:"string"` // The opaque string specified in the request to ensure idempotent creation. ClientToken *string `type:"string"` // The ID of the Amazon EFS file system that the access point applies to. FileSystemId *string `type:"string"` // The full POSIX identity, including the user ID, group ID, and secondary group // IDs on the access point, that is used for all file operations by NFS clients // using the access point. PosixUser *AwsEfsAccessPointPosixUserDetails `type:"structure"` // The directory on the Amazon EFS file system that the access point exposes // as the root directory to NFS clients using the access point. RootDirectory *AwsEfsAccessPointRootDirectoryDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointDetails) GoString() string { return s.String() } // SetAccessPointId sets the AccessPointId field's value. func (s *AwsEfsAccessPointDetails) SetAccessPointId(v string) *AwsEfsAccessPointDetails { s.AccessPointId = &v return s } // SetArn sets the Arn field's value. func (s *AwsEfsAccessPointDetails) SetArn(v string) *AwsEfsAccessPointDetails { s.Arn = &v return s } // SetClientToken sets the ClientToken field's value. func (s *AwsEfsAccessPointDetails) SetClientToken(v string) *AwsEfsAccessPointDetails { s.ClientToken = &v return s } // SetFileSystemId sets the FileSystemId field's value. func (s *AwsEfsAccessPointDetails) SetFileSystemId(v string) *AwsEfsAccessPointDetails { s.FileSystemId = &v return s } // SetPosixUser sets the PosixUser field's value. func (s *AwsEfsAccessPointDetails) SetPosixUser(v *AwsEfsAccessPointPosixUserDetails) *AwsEfsAccessPointDetails { s.PosixUser = v return s } // SetRootDirectory sets the RootDirectory field's value. func (s *AwsEfsAccessPointDetails) SetRootDirectory(v *AwsEfsAccessPointRootDirectoryDetails) *AwsEfsAccessPointDetails { s.RootDirectory = v return s } // Provides details for all file system operations using this Amazon EFS access // point. type AwsEfsAccessPointPosixUserDetails struct { _ struct{} `type:"structure"` // The POSIX group ID used for all file system operations using this access // point. Gid *string `type:"string"` // Secondary POSIX group IDs used for all file system operations using this // access point. SecondaryGids []*string `type:"list"` // The POSIX user ID used for all file system operations using this access point. Uid *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointPosixUserDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointPosixUserDetails) GoString() string { return s.String() } // SetGid sets the Gid field's value. func (s *AwsEfsAccessPointPosixUserDetails) SetGid(v string) *AwsEfsAccessPointPosixUserDetails { s.Gid = &v return s } // SetSecondaryGids sets the SecondaryGids field's value. func (s *AwsEfsAccessPointPosixUserDetails) SetSecondaryGids(v []*string) *AwsEfsAccessPointPosixUserDetails { s.SecondaryGids = v return s } // SetUid sets the Uid field's value. func (s *AwsEfsAccessPointPosixUserDetails) SetUid(v string) *AwsEfsAccessPointPosixUserDetails { s.Uid = &v return s } // Provides information about the settings that Amazon EFS uses to create the // root directory when a client connects to an access point. type AwsEfsAccessPointRootDirectoryCreationInfoDetails struct { _ struct{} `type:"structure"` // Specifies the POSIX group ID to apply to the root directory. OwnerGid *string `type:"string"` // Specifies the POSIX user ID to apply to the root directory. OwnerUid *string `type:"string"` // Specifies the POSIX permissions to apply to the root directory, in the format // of an octal number representing the file's mode bits. Permissions *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointRootDirectoryCreationInfoDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointRootDirectoryCreationInfoDetails) GoString() string { return s.String() } // SetOwnerGid sets the OwnerGid field's value. func (s *AwsEfsAccessPointRootDirectoryCreationInfoDetails) SetOwnerGid(v string) *AwsEfsAccessPointRootDirectoryCreationInfoDetails { s.OwnerGid = &v return s } // SetOwnerUid sets the OwnerUid field's value. func (s *AwsEfsAccessPointRootDirectoryCreationInfoDetails) SetOwnerUid(v string) *AwsEfsAccessPointRootDirectoryCreationInfoDetails { s.OwnerUid = &v return s } // SetPermissions sets the Permissions field's value. func (s *AwsEfsAccessPointRootDirectoryCreationInfoDetails) SetPermissions(v string) *AwsEfsAccessPointRootDirectoryCreationInfoDetails { s.Permissions = &v return s } // Provides information about the directory on the Amazon EFS file system that // the access point exposes as the root directory to NFS clients using the access // point. type AwsEfsAccessPointRootDirectoryDetails struct { _ struct{} `type:"structure"` // Specifies the POSIX IDs and permissions to apply to the access point's root // directory. CreationInfo *AwsEfsAccessPointRootDirectoryCreationInfoDetails `type:"structure"` // Specifies the path on the Amazon EFS file system to expose as the root directory // to NFS clients using the access point to access the EFS file system. A path // can have up to four subdirectories. If the specified path does not exist, // you are required to provide CreationInfo. Path *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointRootDirectoryDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEfsAccessPointRootDirectoryDetails) GoString() string { return s.String() } // SetCreationInfo sets the CreationInfo field's value. func (s *AwsEfsAccessPointRootDirectoryDetails) SetCreationInfo(v *AwsEfsAccessPointRootDirectoryCreationInfoDetails) *AwsEfsAccessPointRootDirectoryDetails { s.CreationInfo = v return s } // SetPath sets the Path field's value. func (s *AwsEfsAccessPointRootDirectoryDetails) SetPath(v string) *AwsEfsAccessPointRootDirectoryDetails { s.Path = &v return s } // Provides details about an Amazon EKS cluster. type AwsEksClusterDetails struct { _ struct{} `type:"structure"` // The ARN of the cluster. Arn *string `type:"string"` // The certificate authority data for the cluster. CertificateAuthorityData *string `type:"string"` // The status of the cluster. Valid values are as follows: // // * ACTIVE // // * CREATING // // * DELETING // // * FAILED // // * PENDING // // * UPDATING ClusterStatus *string `type:"string"` // The endpoint for the Amazon EKS API server. Endpoint *string `type:"string"` // The logging configuration for the cluster. Logging *AwsEksClusterLoggingDetails `type:"structure"` // The name of the cluster. Name *string `type:"string"` // The VPC configuration used by the cluster control plane. ResourcesVpcConfig *AwsEksClusterResourcesVpcConfigDetails `type:"structure"` // The ARN of the IAM role that provides permissions for the Amazon EKS control // plane to make calls to Amazon Web Services API operations on your behalf. RoleArn *string `type:"string"` // The Amazon EKS server version for the cluster. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsEksClusterDetails) SetArn(v string) *AwsEksClusterDetails { s.Arn = &v return s } // SetCertificateAuthorityData sets the CertificateAuthorityData field's value. func (s *AwsEksClusterDetails) SetCertificateAuthorityData(v string) *AwsEksClusterDetails { s.CertificateAuthorityData = &v return s } // SetClusterStatus sets the ClusterStatus field's value. func (s *AwsEksClusterDetails) SetClusterStatus(v string) *AwsEksClusterDetails { s.ClusterStatus = &v return s } // SetEndpoint sets the Endpoint field's value. func (s *AwsEksClusterDetails) SetEndpoint(v string) *AwsEksClusterDetails { s.Endpoint = &v return s } // SetLogging sets the Logging field's value. func (s *AwsEksClusterDetails) SetLogging(v *AwsEksClusterLoggingDetails) *AwsEksClusterDetails { s.Logging = v return s } // SetName sets the Name field's value. func (s *AwsEksClusterDetails) SetName(v string) *AwsEksClusterDetails { s.Name = &v return s } // SetResourcesVpcConfig sets the ResourcesVpcConfig field's value. func (s *AwsEksClusterDetails) SetResourcesVpcConfig(v *AwsEksClusterResourcesVpcConfigDetails) *AwsEksClusterDetails { s.ResourcesVpcConfig = v return s } // SetRoleArn sets the RoleArn field's value. func (s *AwsEksClusterDetails) SetRoleArn(v string) *AwsEksClusterDetails { s.RoleArn = &v return s } // SetVersion sets the Version field's value. func (s *AwsEksClusterDetails) SetVersion(v string) *AwsEksClusterDetails { s.Version = &v return s } // Details for a cluster logging configuration. type AwsEksClusterLoggingClusterLoggingDetails struct { _ struct{} `type:"structure"` // Whether the logging types that are listed in Types are enabled. Enabled *bool `type:"boolean"` // A list of logging types. Valid values are as follows: // // * api // // * audit // // * authenticator // // * controllerManager // // * scheduler Types []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterLoggingClusterLoggingDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterLoggingClusterLoggingDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsEksClusterLoggingClusterLoggingDetails) SetEnabled(v bool) *AwsEksClusterLoggingClusterLoggingDetails { s.Enabled = &v return s } // SetTypes sets the Types field's value. func (s *AwsEksClusterLoggingClusterLoggingDetails) SetTypes(v []*string) *AwsEksClusterLoggingClusterLoggingDetails { s.Types = v return s } // The logging configuration for an Amazon EKS cluster. type AwsEksClusterLoggingDetails struct { _ struct{} `type:"structure"` // Cluster logging configurations. ClusterLogging []*AwsEksClusterLoggingClusterLoggingDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterLoggingDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterLoggingDetails) GoString() string { return s.String() } // SetClusterLogging sets the ClusterLogging field's value. func (s *AwsEksClusterLoggingDetails) SetClusterLogging(v []*AwsEksClusterLoggingClusterLoggingDetails) *AwsEksClusterLoggingDetails { s.ClusterLogging = v return s } // Information about the VPC configuration used by the cluster control plane. type AwsEksClusterResourcesVpcConfigDetails struct { _ struct{} `type:"structure"` // Indicates whether the Amazon EKS public API server endpoint is turned on. // If the Amazon EKS public API server endpoint is turned off, your cluster's // Kubernetes API server can only receive requests that originate from within // the cluster VPC. EndpointPublicAccess *bool `type:"boolean"` // The security groups that are associated with the cross-account elastic network // interfaces that are used to allow communication between your nodes and the // Amazon EKS control plane. SecurityGroupIds []*string `type:"list"` // The subnets that are associated with the cluster. SubnetIds []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterResourcesVpcConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEksClusterResourcesVpcConfigDetails) GoString() string { return s.String() } // SetEndpointPublicAccess sets the EndpointPublicAccess field's value. func (s *AwsEksClusterResourcesVpcConfigDetails) SetEndpointPublicAccess(v bool) *AwsEksClusterResourcesVpcConfigDetails { s.EndpointPublicAccess = &v return s } // SetSecurityGroupIds sets the SecurityGroupIds field's value. func (s *AwsEksClusterResourcesVpcConfigDetails) SetSecurityGroupIds(v []*string) *AwsEksClusterResourcesVpcConfigDetails { s.SecurityGroupIds = v return s } // SetSubnetIds sets the SubnetIds field's value. func (s *AwsEksClusterResourcesVpcConfigDetails) SetSubnetIds(v []*string) *AwsEksClusterResourcesVpcConfigDetails { s.SubnetIds = v return s } // Contains details about an Elastic Beanstalk environment. type AwsElasticBeanstalkEnvironmentDetails struct { _ struct{} `type:"structure"` // The name of the application that is associated with the environment. ApplicationName *string `type:"string"` // The URL to the CNAME for this environment. Cname *string `type:"string"` // The creation date for this environment. DateCreated *string `type:"string"` // The date when this environment was last modified. DateUpdated *string `type:"string"` // A description of the environment. Description *string `type:"string"` // For load-balanced, autoscaling environments, the URL to the load balancer. // For single-instance environments, the IP address of the instance. EndpointUrl *string `type:"string"` // The ARN of the environment. EnvironmentArn *string `type:"string"` // The identifier of the environment. EnvironmentId *string `type:"string"` // Links to other environments in the same group. EnvironmentLinks []*AwsElasticBeanstalkEnvironmentEnvironmentLink `type:"list"` // The name of the environment. EnvironmentName *string `type:"string"` // The configuration setting for the environment. OptionSettings []*AwsElasticBeanstalkEnvironmentOptionSetting `type:"list"` // The ARN of the platform version for the environment. PlatformArn *string `type:"string"` // The name of the solution stack that is deployed with the environment. SolutionStackName *string `type:"string"` // The current operational status of the environment. Valid values are as follows: // // * Aborting // // * Launching // // * LinkingFrom // // * LinkingTo // // * Ready // // * Terminated // // * Terminating // // * Updating Status *string `type:"string"` // The tier of the environment. Tier *AwsElasticBeanstalkEnvironmentTier `type:"structure"` // The application version of the environment. VersionLabel *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentDetails) GoString() string { return s.String() } // SetApplicationName sets the ApplicationName field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetApplicationName(v string) *AwsElasticBeanstalkEnvironmentDetails { s.ApplicationName = &v return s } // SetCname sets the Cname field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetCname(v string) *AwsElasticBeanstalkEnvironmentDetails { s.Cname = &v return s } // SetDateCreated sets the DateCreated field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetDateCreated(v string) *AwsElasticBeanstalkEnvironmentDetails { s.DateCreated = &v return s } // SetDateUpdated sets the DateUpdated field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetDateUpdated(v string) *AwsElasticBeanstalkEnvironmentDetails { s.DateUpdated = &v return s } // SetDescription sets the Description field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetDescription(v string) *AwsElasticBeanstalkEnvironmentDetails { s.Description = &v return s } // SetEndpointUrl sets the EndpointUrl field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetEndpointUrl(v string) *AwsElasticBeanstalkEnvironmentDetails { s.EndpointUrl = &v return s } // SetEnvironmentArn sets the EnvironmentArn field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetEnvironmentArn(v string) *AwsElasticBeanstalkEnvironmentDetails { s.EnvironmentArn = &v return s } // SetEnvironmentId sets the EnvironmentId field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetEnvironmentId(v string) *AwsElasticBeanstalkEnvironmentDetails { s.EnvironmentId = &v return s } // SetEnvironmentLinks sets the EnvironmentLinks field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetEnvironmentLinks(v []*AwsElasticBeanstalkEnvironmentEnvironmentLink) *AwsElasticBeanstalkEnvironmentDetails { s.EnvironmentLinks = v return s } // SetEnvironmentName sets the EnvironmentName field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetEnvironmentName(v string) *AwsElasticBeanstalkEnvironmentDetails { s.EnvironmentName = &v return s } // SetOptionSettings sets the OptionSettings field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetOptionSettings(v []*AwsElasticBeanstalkEnvironmentOptionSetting) *AwsElasticBeanstalkEnvironmentDetails { s.OptionSettings = v return s } // SetPlatformArn sets the PlatformArn field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetPlatformArn(v string) *AwsElasticBeanstalkEnvironmentDetails { s.PlatformArn = &v return s } // SetSolutionStackName sets the SolutionStackName field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetSolutionStackName(v string) *AwsElasticBeanstalkEnvironmentDetails { s.SolutionStackName = &v return s } // SetStatus sets the Status field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetStatus(v string) *AwsElasticBeanstalkEnvironmentDetails { s.Status = &v return s } // SetTier sets the Tier field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetTier(v *AwsElasticBeanstalkEnvironmentTier) *AwsElasticBeanstalkEnvironmentDetails { s.Tier = v return s } // SetVersionLabel sets the VersionLabel field's value. func (s *AwsElasticBeanstalkEnvironmentDetails) SetVersionLabel(v string) *AwsElasticBeanstalkEnvironmentDetails { s.VersionLabel = &v return s } // Contains information about a link to another environment that is in the same // group. type AwsElasticBeanstalkEnvironmentEnvironmentLink struct { _ struct{} `type:"structure"` // The name of the linked environment. EnvironmentName *string `type:"string"` // The name of the environment link. LinkName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentEnvironmentLink) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentEnvironmentLink) GoString() string { return s.String() } // SetEnvironmentName sets the EnvironmentName field's value. func (s *AwsElasticBeanstalkEnvironmentEnvironmentLink) SetEnvironmentName(v string) *AwsElasticBeanstalkEnvironmentEnvironmentLink { s.EnvironmentName = &v return s } // SetLinkName sets the LinkName field's value. func (s *AwsElasticBeanstalkEnvironmentEnvironmentLink) SetLinkName(v string) *AwsElasticBeanstalkEnvironmentEnvironmentLink { s.LinkName = &v return s } // A configuration option setting for the environment. type AwsElasticBeanstalkEnvironmentOptionSetting struct { _ struct{} `type:"structure"` // The type of resource that the configuration option is associated with. Namespace *string `type:"string"` // The name of the option. OptionName *string `type:"string"` // The name of the resource. ResourceName *string `type:"string"` // The value of the configuration setting. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentOptionSetting) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentOptionSetting) GoString() string { return s.String() } // SetNamespace sets the Namespace field's value. func (s *AwsElasticBeanstalkEnvironmentOptionSetting) SetNamespace(v string) *AwsElasticBeanstalkEnvironmentOptionSetting { s.Namespace = &v return s } // SetOptionName sets the OptionName field's value. func (s *AwsElasticBeanstalkEnvironmentOptionSetting) SetOptionName(v string) *AwsElasticBeanstalkEnvironmentOptionSetting { s.OptionName = &v return s } // SetResourceName sets the ResourceName field's value. func (s *AwsElasticBeanstalkEnvironmentOptionSetting) SetResourceName(v string) *AwsElasticBeanstalkEnvironmentOptionSetting { s.ResourceName = &v return s } // SetValue sets the Value field's value. func (s *AwsElasticBeanstalkEnvironmentOptionSetting) SetValue(v string) *AwsElasticBeanstalkEnvironmentOptionSetting { s.Value = &v return s } // Contains information about the tier of the environment. type AwsElasticBeanstalkEnvironmentTier struct { _ struct{} `type:"structure"` // The name of the environment tier. Valid values are WebServer or Worker. Name *string `type:"string"` // The type of environment tier. Valid values are Standard or SQS/HTTP. Type *string `type:"string"` // The version of the environment tier. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentTier) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticBeanstalkEnvironmentTier) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsElasticBeanstalkEnvironmentTier) SetName(v string) *AwsElasticBeanstalkEnvironmentTier { s.Name = &v return s } // SetType sets the Type field's value. func (s *AwsElasticBeanstalkEnvironmentTier) SetType(v string) *AwsElasticBeanstalkEnvironmentTier { s.Type = &v return s } // SetVersion sets the Version field's value. func (s *AwsElasticBeanstalkEnvironmentTier) SetVersion(v string) *AwsElasticBeanstalkEnvironmentTier { s.Version = &v return s } // Information about an Elasticsearch domain. type AwsElasticsearchDomainDetails struct { _ struct{} `type:"structure"` // IAM policy document specifying the access policies for the new Elasticsearch // domain. AccessPolicies *string `type:"string"` // Additional options for the domain endpoint. DomainEndpointOptions *AwsElasticsearchDomainDomainEndpointOptions `type:"structure"` // Unique identifier for an Elasticsearch domain. DomainId *string `type:"string"` // Name of an Elasticsearch domain. // // Domain names are unique across all domains owned by the same account within // an Amazon Web Services Region. // // Domain names must start with a lowercase letter and must be between 3 and // 28 characters. // // Valid characters are a-z (lowercase only), 0-9, and (hyphen). DomainName *string `type:"string"` // Information about an OpenSearch cluster configuration. ElasticsearchClusterConfig *AwsElasticsearchDomainElasticsearchClusterConfigDetails `type:"structure"` // OpenSearch version. ElasticsearchVersion *string `type:"string"` // Details about the configuration for encryption at rest. EncryptionAtRestOptions *AwsElasticsearchDomainEncryptionAtRestOptions `type:"structure"` // Domain-specific endpoint used to submit index, search, and data upload requests // to an Elasticsearch domain. // // The endpoint is a service URL. Endpoint *string `type:"string"` // The key-value pair that exists if the Elasticsearch domain uses VPC endpoints. Endpoints map[string]*string `type:"map"` // Configures the CloudWatch Logs to publish for the Elasticsearch domain. LogPublishingOptions *AwsElasticsearchDomainLogPublishingOptions `type:"structure"` // Details about the configuration for node-to-node encryption. NodeToNodeEncryptionOptions *AwsElasticsearchDomainNodeToNodeEncryptionOptions `type:"structure"` // Information about the status of a domain relative to the latest service software. ServiceSoftwareOptions *AwsElasticsearchDomainServiceSoftwareOptions `type:"structure"` // Information that OpenSearch derives based on VPCOptions for the domain. VPCOptions *AwsElasticsearchDomainVPCOptions `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainDetails) GoString() string { return s.String() } // SetAccessPolicies sets the AccessPolicies field's value. func (s *AwsElasticsearchDomainDetails) SetAccessPolicies(v string) *AwsElasticsearchDomainDetails { s.AccessPolicies = &v return s } // SetDomainEndpointOptions sets the DomainEndpointOptions field's value. func (s *AwsElasticsearchDomainDetails) SetDomainEndpointOptions(v *AwsElasticsearchDomainDomainEndpointOptions) *AwsElasticsearchDomainDetails { s.DomainEndpointOptions = v return s } // SetDomainId sets the DomainId field's value. func (s *AwsElasticsearchDomainDetails) SetDomainId(v string) *AwsElasticsearchDomainDetails { s.DomainId = &v return s } // SetDomainName sets the DomainName field's value. func (s *AwsElasticsearchDomainDetails) SetDomainName(v string) *AwsElasticsearchDomainDetails { s.DomainName = &v return s } // SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value. func (s *AwsElasticsearchDomainDetails) SetElasticsearchClusterConfig(v *AwsElasticsearchDomainElasticsearchClusterConfigDetails) *AwsElasticsearchDomainDetails { s.ElasticsearchClusterConfig = v return s } // SetElasticsearchVersion sets the ElasticsearchVersion field's value. func (s *AwsElasticsearchDomainDetails) SetElasticsearchVersion(v string) *AwsElasticsearchDomainDetails { s.ElasticsearchVersion = &v return s } // SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. func (s *AwsElasticsearchDomainDetails) SetEncryptionAtRestOptions(v *AwsElasticsearchDomainEncryptionAtRestOptions) *AwsElasticsearchDomainDetails { s.EncryptionAtRestOptions = v return s } // SetEndpoint sets the Endpoint field's value. func (s *AwsElasticsearchDomainDetails) SetEndpoint(v string) *AwsElasticsearchDomainDetails { s.Endpoint = &v return s } // SetEndpoints sets the Endpoints field's value. func (s *AwsElasticsearchDomainDetails) SetEndpoints(v map[string]*string) *AwsElasticsearchDomainDetails { s.Endpoints = v return s } // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *AwsElasticsearchDomainDetails) SetLogPublishingOptions(v *AwsElasticsearchDomainLogPublishingOptions) *AwsElasticsearchDomainDetails { s.LogPublishingOptions = v return s } // SetNodeToNodeEncryptionOptions sets the NodeToNodeEncryptionOptions field's value. func (s *AwsElasticsearchDomainDetails) SetNodeToNodeEncryptionOptions(v *AwsElasticsearchDomainNodeToNodeEncryptionOptions) *AwsElasticsearchDomainDetails { s.NodeToNodeEncryptionOptions = v return s } // SetServiceSoftwareOptions sets the ServiceSoftwareOptions field's value. func (s *AwsElasticsearchDomainDetails) SetServiceSoftwareOptions(v *AwsElasticsearchDomainServiceSoftwareOptions) *AwsElasticsearchDomainDetails { s.ServiceSoftwareOptions = v return s } // SetVPCOptions sets the VPCOptions field's value. func (s *AwsElasticsearchDomainDetails) SetVPCOptions(v *AwsElasticsearchDomainVPCOptions) *AwsElasticsearchDomainDetails { s.VPCOptions = v return s } // Additional options for the domain endpoint, such as whether to require HTTPS // for all traffic. type AwsElasticsearchDomainDomainEndpointOptions struct { _ struct{} `type:"structure"` // Whether to require that all traffic to the domain arrive over HTTPS. EnforceHTTPS *bool `type:"boolean"` // The TLS security policy to apply to the HTTPS endpoint of the OpenSearch // domain. // // Valid values: // // * Policy-Min-TLS-1-0-2019-07, which supports TLSv1.0 and higher // // * Policy-Min-TLS-1-2-2019-07, which only supports TLSv1.2 TLSSecurityPolicy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainDomainEndpointOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainDomainEndpointOptions) GoString() string { return s.String() } // SetEnforceHTTPS sets the EnforceHTTPS field's value. func (s *AwsElasticsearchDomainDomainEndpointOptions) SetEnforceHTTPS(v bool) *AwsElasticsearchDomainDomainEndpointOptions { s.EnforceHTTPS = &v return s } // SetTLSSecurityPolicy sets the TLSSecurityPolicy field's value. func (s *AwsElasticsearchDomainDomainEndpointOptions) SetTLSSecurityPolicy(v string) *AwsElasticsearchDomainDomainEndpointOptions { s.TLSSecurityPolicy = &v return s } // details about the configuration of an OpenSearch cluster. type AwsElasticsearchDomainElasticsearchClusterConfigDetails struct { _ struct{} `type:"structure"` // The number of instances to use for the master node. If this attribute is // specified, then DedicatedMasterEnabled must be true. DedicatedMasterCount *int64 `type:"integer"` // Whether to use a dedicated master node for the Elasticsearch domain. A dedicated // master node performs cluster management tasks, but doesn't hold data or respond // to data upload requests. DedicatedMasterEnabled *bool `type:"boolean"` // The hardware configuration of the computer that hosts the dedicated master // node. A sample value is m3.medium.elasticsearch. If this attribute is specified, // then DedicatedMasterEnabled must be true. // // For a list of valid values, see Supported instance types in Amazon OpenSearch // Service (path_to_url // in the Amazon OpenSearch Service Developer Guide. DedicatedMasterType *string `type:"string"` // The number of data nodes to use in the Elasticsearch domain. InstanceCount *int64 `type:"integer"` // The instance type for your data nodes. For example, m3.medium.elasticsearch. // // For a list of valid values, see Supported instance types in Amazon OpenSearch // Service (path_to_url // in the Amazon OpenSearch Service Developer Guide. InstanceType *string `type:"string"` // Configuration options for zone awareness. Provided if ZoneAwarenessEnabled // is true. ZoneAwarenessConfig *your_sha256_hashfigDetails `type:"structure"` // Whether to enable zone awareness for the Elasticsearch domain. When zone // awareness is enabled, OpenSearch allocates the cluster's nodes and replica // index shards across Availability Zones in the same Region. This prevents // data loss and minimizes downtime if a node or data center fails. ZoneAwarenessEnabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainElasticsearchClusterConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainElasticsearchClusterConfigDetails) GoString() string { return s.String() } // SetDedicatedMasterCount sets the DedicatedMasterCount field's value. func (s *AwsElasticsearchDomainElasticsearchClusterConfigDetails) SetDedicatedMasterCount(v int64) *AwsElasticsearchDomainElasticsearchClusterConfigDetails { s.DedicatedMasterCount = &v return s } // SetDedicatedMasterEnabled sets the DedicatedMasterEnabled field's value. func (s *AwsElasticsearchDomainElasticsearchClusterConfigDetails) SetDedicatedMasterEnabled(v bool) *AwsElasticsearchDomainElasticsearchClusterConfigDetails { s.DedicatedMasterEnabled = &v return s } // SetDedicatedMasterType sets the DedicatedMasterType field's value. func (s *AwsElasticsearchDomainElasticsearchClusterConfigDetails) SetDedicatedMasterType(v string) *AwsElasticsearchDomainElasticsearchClusterConfigDetails { s.DedicatedMasterType = &v return s } // SetInstanceCount sets the InstanceCount field's value. func (s *AwsElasticsearchDomainElasticsearchClusterConfigDetails) SetInstanceCount(v int64) *AwsElasticsearchDomainElasticsearchClusterConfigDetails { s.InstanceCount = &v return s } // SetInstanceType sets the InstanceType field's value. func (s *AwsElasticsearchDomainElasticsearchClusterConfigDetails) SetInstanceType(v string) *AwsElasticsearchDomainElasticsearchClusterConfigDetails { s.InstanceType = &v return s } // SetZoneAwarenessConfig sets the ZoneAwarenessConfig field's value. func (s *AwsElasticsearchDomainElasticsearchClusterConfigDetails) SetZoneAwarenessConfig(v *your_sha256_hashfigDetails) *AwsElasticsearchDomainElasticsearchClusterConfigDetails { s.ZoneAwarenessConfig = v return s } // SetZoneAwarenessEnabled sets the ZoneAwarenessEnabled field's value. func (s *AwsElasticsearchDomainElasticsearchClusterConfigDetails) SetZoneAwarenessEnabled(v bool) *AwsElasticsearchDomainElasticsearchClusterConfigDetails { s.ZoneAwarenessEnabled = &v return s } // Configuration options for zone awareness. type your_sha256_hashfigDetails struct { _ struct{} `type:"structure"` // he number of Availability Zones that the domain uses. Valid values are 2 // and 3. The default is 2. AvailabilityZoneCount *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashfigDetails) GoString() string { return s.String() } // SetAvailabilityZoneCount sets the AvailabilityZoneCount field's value. func (s *your_sha256_hashfigDetails) SetAvailabilityZoneCount(v int64) *your_sha256_hashfigDetails { s.AvailabilityZoneCount = &v return s } // Details about the configuration for encryption at rest. type AwsElasticsearchDomainEncryptionAtRestOptions struct { _ struct{} `type:"structure"` // Whether encryption at rest is enabled. Enabled *bool `type:"boolean"` // The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a. KmsKeyId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainEncryptionAtRestOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainEncryptionAtRestOptions) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsElasticsearchDomainEncryptionAtRestOptions) SetEnabled(v bool) *AwsElasticsearchDomainEncryptionAtRestOptions { s.Enabled = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsElasticsearchDomainEncryptionAtRestOptions) SetKmsKeyId(v string) *AwsElasticsearchDomainEncryptionAtRestOptions { s.KmsKeyId = &v return s } // configures the CloudWatch Logs to publish for the Elasticsearch domain. type AwsElasticsearchDomainLogPublishingOptions struct { _ struct{} `type:"structure"` // The log configuration. AuditLogs *AwsElasticsearchDomainLogPublishingOptionsLogConfig `type:"structure"` // Configures the OpenSearch index logs publishing. IndexSlowLogs *AwsElasticsearchDomainLogPublishingOptionsLogConfig `type:"structure"` // Configures the OpenSearch search slow log publishing. SearchSlowLogs *AwsElasticsearchDomainLogPublishingOptionsLogConfig `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainLogPublishingOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainLogPublishingOptions) GoString() string { return s.String() } // SetAuditLogs sets the AuditLogs field's value. func (s *AwsElasticsearchDomainLogPublishingOptions) SetAuditLogs(v *AwsElasticsearchDomainLogPublishingOptionsLogConfig) *AwsElasticsearchDomainLogPublishingOptions { s.AuditLogs = v return s } // SetIndexSlowLogs sets the IndexSlowLogs field's value. func (s *AwsElasticsearchDomainLogPublishingOptions) SetIndexSlowLogs(v *AwsElasticsearchDomainLogPublishingOptionsLogConfig) *AwsElasticsearchDomainLogPublishingOptions { s.IndexSlowLogs = v return s } // SetSearchSlowLogs sets the SearchSlowLogs field's value. func (s *AwsElasticsearchDomainLogPublishingOptions) SetSearchSlowLogs(v *AwsElasticsearchDomainLogPublishingOptionsLogConfig) *AwsElasticsearchDomainLogPublishingOptions { s.SearchSlowLogs = v return s } // The log configuration. type AwsElasticsearchDomainLogPublishingOptionsLogConfig struct { _ struct{} `type:"structure"` // The ARN of the CloudWatch Logs group to publish the logs to. CloudWatchLogsLogGroupArn *string `type:"string"` // Whether the log publishing is enabled. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainLogPublishingOptionsLogConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainLogPublishingOptionsLogConfig) GoString() string { return s.String() } // SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. func (s *AwsElasticsearchDomainLogPublishingOptionsLogConfig) SetCloudWatchLogsLogGroupArn(v string) *AwsElasticsearchDomainLogPublishingOptionsLogConfig { s.CloudWatchLogsLogGroupArn = &v return s } // SetEnabled sets the Enabled field's value. func (s *AwsElasticsearchDomainLogPublishingOptionsLogConfig) SetEnabled(v bool) *AwsElasticsearchDomainLogPublishingOptionsLogConfig { s.Enabled = &v return s } // Details about the configuration for node-to-node encryption. type AwsElasticsearchDomainNodeToNodeEncryptionOptions struct { _ struct{} `type:"structure"` // Whether node-to-node encryption is enabled. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainNodeToNodeEncryptionOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainNodeToNodeEncryptionOptions) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsElasticsearchDomainNodeToNodeEncryptionOptions) SetEnabled(v bool) *AwsElasticsearchDomainNodeToNodeEncryptionOptions { s.Enabled = &v return s } // Information about the state of the domain relative to the latest service // software. type AwsElasticsearchDomainServiceSoftwareOptions struct { _ struct{} `type:"structure"` // The epoch time when the deployment window closes for required updates. After // this time, Amazon OpenSearch Service schedules the software upgrade automatically. AutomatedUpdateDate *string `type:"string"` // Whether a request to update the domain can be canceled. Cancellable *bool `type:"boolean"` // The version of the service software that is currently installed on the domain. CurrentVersion *string `type:"string"` // A more detailed description of the service software status. Description *string `type:"string"` // The most recent version of the service software. NewVersion *string `type:"string"` // Whether a service software update is available for the domain. UpdateAvailable *bool `type:"boolean"` // The status of the service software update. Valid values are as follows: // // * COMPLETED // // * ELIGIBLE // // * IN_PROGRESS // // * NOT_ELIGIBLE // // * PENDING_UPDATE UpdateStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainServiceSoftwareOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainServiceSoftwareOptions) GoString() string { return s.String() } // SetAutomatedUpdateDate sets the AutomatedUpdateDate field's value. func (s *AwsElasticsearchDomainServiceSoftwareOptions) SetAutomatedUpdateDate(v string) *AwsElasticsearchDomainServiceSoftwareOptions { s.AutomatedUpdateDate = &v return s } // SetCancellable sets the Cancellable field's value. func (s *AwsElasticsearchDomainServiceSoftwareOptions) SetCancellable(v bool) *AwsElasticsearchDomainServiceSoftwareOptions { s.Cancellable = &v return s } // SetCurrentVersion sets the CurrentVersion field's value. func (s *AwsElasticsearchDomainServiceSoftwareOptions) SetCurrentVersion(v string) *AwsElasticsearchDomainServiceSoftwareOptions { s.CurrentVersion = &v return s } // SetDescription sets the Description field's value. func (s *AwsElasticsearchDomainServiceSoftwareOptions) SetDescription(v string) *AwsElasticsearchDomainServiceSoftwareOptions { s.Description = &v return s } // SetNewVersion sets the NewVersion field's value. func (s *AwsElasticsearchDomainServiceSoftwareOptions) SetNewVersion(v string) *AwsElasticsearchDomainServiceSoftwareOptions { s.NewVersion = &v return s } // SetUpdateAvailable sets the UpdateAvailable field's value. func (s *AwsElasticsearchDomainServiceSoftwareOptions) SetUpdateAvailable(v bool) *AwsElasticsearchDomainServiceSoftwareOptions { s.UpdateAvailable = &v return s } // SetUpdateStatus sets the UpdateStatus field's value. func (s *AwsElasticsearchDomainServiceSoftwareOptions) SetUpdateStatus(v string) *AwsElasticsearchDomainServiceSoftwareOptions { s.UpdateStatus = &v return s } // Information that OpenSearch derives based on VPCOptions for the domain. type AwsElasticsearchDomainVPCOptions struct { _ struct{} `type:"structure"` // The list of Availability Zones associated with the VPC subnets. AvailabilityZones []*string `type:"list"` // The list of security group IDs associated with the VPC endpoints for the // domain. SecurityGroupIds []*string `type:"list"` // A list of subnet IDs associated with the VPC endpoints for the domain. SubnetIds []*string `type:"list"` // ID for the VPC. VPCId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainVPCOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElasticsearchDomainVPCOptions) GoString() string { return s.String() } // SetAvailabilityZones sets the AvailabilityZones field's value. func (s *AwsElasticsearchDomainVPCOptions) SetAvailabilityZones(v []*string) *AwsElasticsearchDomainVPCOptions { s.AvailabilityZones = v return s } // SetSecurityGroupIds sets the SecurityGroupIds field's value. func (s *AwsElasticsearchDomainVPCOptions) SetSecurityGroupIds(v []*string) *AwsElasticsearchDomainVPCOptions { s.SecurityGroupIds = v return s } // SetSubnetIds sets the SubnetIds field's value. func (s *AwsElasticsearchDomainVPCOptions) SetSubnetIds(v []*string) *AwsElasticsearchDomainVPCOptions { s.SubnetIds = v return s } // SetVPCId sets the VPCId field's value. func (s *AwsElasticsearchDomainVPCOptions) SetVPCId(v string) *AwsElasticsearchDomainVPCOptions { s.VPCId = &v return s } // Contains information about a stickiness policy that was created using CreateAppCookieStickinessPolicy. type AwsElbAppCookieStickinessPolicy struct { _ struct{} `type:"structure"` // The name of the application cookie used for stickiness. CookieName *string `type:"string"` // The mnemonic name for the policy being created. The name must be unique within // the set of policies for the load balancer. PolicyName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbAppCookieStickinessPolicy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbAppCookieStickinessPolicy) GoString() string { return s.String() } // SetCookieName sets the CookieName field's value. func (s *AwsElbAppCookieStickinessPolicy) SetCookieName(v string) *AwsElbAppCookieStickinessPolicy { s.CookieName = &v return s } // SetPolicyName sets the PolicyName field's value. func (s *AwsElbAppCookieStickinessPolicy) SetPolicyName(v string) *AwsElbAppCookieStickinessPolicy { s.PolicyName = &v return s } // Contains information about a stickiness policy that was created using CreateLBCookieStickinessPolicy. type AwsElbLbCookieStickinessPolicy struct { _ struct{} `type:"structure"` // The amount of time, in seconds, after which the cookie is considered stale. // If an expiration period is not specified, the stickiness session lasts for // the duration of the browser session. CookieExpirationPeriod *int64 `type:"long"` // The name of the policy. The name must be unique within the set of policies // for the load balancer. PolicyName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLbCookieStickinessPolicy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLbCookieStickinessPolicy) GoString() string { return s.String() } // SetCookieExpirationPeriod sets the CookieExpirationPeriod field's value. func (s *AwsElbLbCookieStickinessPolicy) SetCookieExpirationPeriod(v int64) *AwsElbLbCookieStickinessPolicy { s.CookieExpirationPeriod = &v return s } // SetPolicyName sets the PolicyName field's value. func (s *AwsElbLbCookieStickinessPolicy) SetPolicyName(v string) *AwsElbLbCookieStickinessPolicy { s.PolicyName = &v return s } // Contains information about the access log configuration for the load balancer. type AwsElbLoadBalancerAccessLog struct { _ struct{} `type:"structure"` // The interval in minutes for publishing the access logs. // // You can publish access logs either every 5 minutes or every 60 minutes. EmitInterval *int64 `type:"integer"` // Indicates whether access logs are enabled for the load balancer. Enabled *bool `type:"boolean"` // The name of the S3 bucket where the access logs are stored. S3BucketName *string `type:"string"` // The logical hierarchy that was created for the S3 bucket. // // If a prefix is not provided, the log is placed at the root level of the bucket. S3BucketPrefix *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerAccessLog) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerAccessLog) GoString() string { return s.String() } // SetEmitInterval sets the EmitInterval field's value. func (s *AwsElbLoadBalancerAccessLog) SetEmitInterval(v int64) *AwsElbLoadBalancerAccessLog { s.EmitInterval = &v return s } // SetEnabled sets the Enabled field's value. func (s *AwsElbLoadBalancerAccessLog) SetEnabled(v bool) *AwsElbLoadBalancerAccessLog { s.Enabled = &v return s } // SetS3BucketName sets the S3BucketName field's value. func (s *AwsElbLoadBalancerAccessLog) SetS3BucketName(v string) *AwsElbLoadBalancerAccessLog { s.S3BucketName = &v return s } // SetS3BucketPrefix sets the S3BucketPrefix field's value. func (s *AwsElbLoadBalancerAccessLog) SetS3BucketPrefix(v string) *AwsElbLoadBalancerAccessLog { s.S3BucketPrefix = &v return s } // Provides information about additional attributes for the load balancer. type AwsElbLoadBalancerAdditionalAttribute struct { _ struct{} `type:"structure"` // The name of the attribute. Key *string `type:"string"` // The value of the attribute. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerAdditionalAttribute) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerAdditionalAttribute) GoString() string { return s.String() } // SetKey sets the Key field's value. func (s *AwsElbLoadBalancerAdditionalAttribute) SetKey(v string) *AwsElbLoadBalancerAdditionalAttribute { s.Key = &v return s } // SetValue sets the Value field's value. func (s *AwsElbLoadBalancerAdditionalAttribute) SetValue(v string) *AwsElbLoadBalancerAdditionalAttribute { s.Value = &v return s } // Contains attributes for the load balancer. type AwsElbLoadBalancerAttributes struct { _ struct{} `type:"structure"` // Information about the access log configuration for the load balancer. // // If the access log is enabled, the load balancer captures detailed information // about all requests. It delivers the information to a specified S3 bucket. AccessLog *AwsElbLoadBalancerAccessLog `type:"structure"` // Any additional attributes for a load balancer. AdditionalAttributes []*AwsElbLoadBalancerAdditionalAttribute `type:"list"` // Information about the connection draining configuration for the load balancer. // // If connection draining is enabled, the load balancer allows existing requests // to complete before it shifts traffic away from a deregistered or unhealthy // instance. ConnectionDraining *AwsElbLoadBalancerConnectionDraining `type:"structure"` // Connection settings for the load balancer. // // If an idle timeout is configured, the load balancer allows connections to // remain idle for the specified duration. When a connection is idle, no data // is sent over the connection. ConnectionSettings *AwsElbLoadBalancerConnectionSettings `type:"structure"` // Cross-zone load balancing settings for the load balancer. // // If cross-zone load balancing is enabled, the load balancer routes the request // traffic evenly across all instances regardless of the Availability Zones. CrossZoneLoadBalancing *AwsElbLoadBalancerCrossZoneLoadBalancing `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerAttributes) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerAttributes) GoString() string { return s.String() } // SetAccessLog sets the AccessLog field's value. func (s *AwsElbLoadBalancerAttributes) SetAccessLog(v *AwsElbLoadBalancerAccessLog) *AwsElbLoadBalancerAttributes { s.AccessLog = v return s } // SetAdditionalAttributes sets the AdditionalAttributes field's value. func (s *AwsElbLoadBalancerAttributes) SetAdditionalAttributes(v []*AwsElbLoadBalancerAdditionalAttribute) *AwsElbLoadBalancerAttributes { s.AdditionalAttributes = v return s } // SetConnectionDraining sets the ConnectionDraining field's value. func (s *AwsElbLoadBalancerAttributes) SetConnectionDraining(v *AwsElbLoadBalancerConnectionDraining) *AwsElbLoadBalancerAttributes { s.ConnectionDraining = v return s } // SetConnectionSettings sets the ConnectionSettings field's value. func (s *AwsElbLoadBalancerAttributes) SetConnectionSettings(v *AwsElbLoadBalancerConnectionSettings) *AwsElbLoadBalancerAttributes { s.ConnectionSettings = v return s } // SetCrossZoneLoadBalancing sets the CrossZoneLoadBalancing field's value. func (s *AwsElbLoadBalancerAttributes) SetCrossZoneLoadBalancing(v *AwsElbLoadBalancerCrossZoneLoadBalancing) *AwsElbLoadBalancerAttributes { s.CrossZoneLoadBalancing = v return s } // Provides information about the configuration of an EC2 instance for the load // balancer. type AwsElbLoadBalancerBackendServerDescription struct { _ struct{} `type:"structure"` // The port on which the EC2 instance is listening. InstancePort *int64 `type:"integer"` // The names of the policies that are enabled for the EC2 instance. PolicyNames []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerBackendServerDescription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerBackendServerDescription) GoString() string { return s.String() } // SetInstancePort sets the InstancePort field's value. func (s *AwsElbLoadBalancerBackendServerDescription) SetInstancePort(v int64) *AwsElbLoadBalancerBackendServerDescription { s.InstancePort = &v return s } // SetPolicyNames sets the PolicyNames field's value. func (s *AwsElbLoadBalancerBackendServerDescription) SetPolicyNames(v []*string) *AwsElbLoadBalancerBackendServerDescription { s.PolicyNames = v return s } // Contains information about the connection draining configuration for the // load balancer. type AwsElbLoadBalancerConnectionDraining struct { _ struct{} `type:"structure"` // Indicates whether connection draining is enabled for the load balancer. Enabled *bool `type:"boolean"` // The maximum time, in seconds, to keep the existing connections open before // deregistering the instances. Timeout *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerConnectionDraining) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerConnectionDraining) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsElbLoadBalancerConnectionDraining) SetEnabled(v bool) *AwsElbLoadBalancerConnectionDraining { s.Enabled = &v return s } // SetTimeout sets the Timeout field's value. func (s *AwsElbLoadBalancerConnectionDraining) SetTimeout(v int64) *AwsElbLoadBalancerConnectionDraining { s.Timeout = &v return s } // Contains connection settings for the load balancer. type AwsElbLoadBalancerConnectionSettings struct { _ struct{} `type:"structure"` // The time, in seconds, that the connection can be idle (no data is sent over // the connection) before it is closed by the load balancer. IdleTimeout *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerConnectionSettings) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerConnectionSettings) GoString() string { return s.String() } // SetIdleTimeout sets the IdleTimeout field's value. func (s *AwsElbLoadBalancerConnectionSettings) SetIdleTimeout(v int64) *AwsElbLoadBalancerConnectionSettings { s.IdleTimeout = &v return s } // Contains cross-zone load balancing settings for the load balancer. type AwsElbLoadBalancerCrossZoneLoadBalancing struct { _ struct{} `type:"structure"` // Indicates whether cross-zone load balancing is enabled for the load balancer. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerCrossZoneLoadBalancing) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerCrossZoneLoadBalancing) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsElbLoadBalancerCrossZoneLoadBalancing) SetEnabled(v bool) *AwsElbLoadBalancerCrossZoneLoadBalancing { s.Enabled = &v return s } // Contains details about a Classic Load Balancer. type AwsElbLoadBalancerDetails struct { _ struct{} `type:"structure"` // The list of Availability Zones for the load balancer. AvailabilityZones []*string `type:"list"` // Information about the configuration of the EC2 instances. BackendServerDescriptions []*AwsElbLoadBalancerBackendServerDescription `type:"list"` // The name of the Amazon Route 53 hosted zone for the load balancer. CanonicalHostedZoneName *string `type:"string"` // The ID of the Amazon Route 53 hosted zone for the load balancer. CanonicalHostedZoneNameID *string `type:"string"` // Indicates when the load balancer was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedTime *string `type:"string"` // The DNS name of the load balancer. DnsName *string `type:"string"` // Information about the health checks that are conducted on the load balancer. HealthCheck *AwsElbLoadBalancerHealthCheck `type:"structure"` // List of EC2 instances for the load balancer. Instances []*AwsElbLoadBalancerInstance `type:"list"` // The policies that are enabled for the load balancer listeners. ListenerDescriptions []*AwsElbLoadBalancerListenerDescription `type:"list"` // The attributes for a load balancer. LoadBalancerAttributes *AwsElbLoadBalancerAttributes `type:"structure"` // The name of the load balancer. LoadBalancerName *string `type:"string"` // The policies for a load balancer. Policies *AwsElbLoadBalancerPolicies `type:"structure"` // The type of load balancer. Only provided if the load balancer is in a VPC. // // If Scheme is internet-facing, the load balancer has a public DNS name that // resolves to a public IP address. // // If Scheme is internal, the load balancer has a public DNS name that resolves // to a private IP address. Scheme *string `type:"string"` // The security groups for the load balancer. Only provided if the load balancer // is in a VPC. SecurityGroups []*string `type:"list"` // Information about the security group for the load balancer. This is the security // group that is used for inbound rules. SourceSecurityGroup *AwsElbLoadBalancerSourceSecurityGroup `type:"structure"` // The list of subnet identifiers for the load balancer. Subnets []*string `type:"list"` // The identifier of the VPC for the load balancer. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerDetails) GoString() string { return s.String() } // SetAvailabilityZones sets the AvailabilityZones field's value. func (s *AwsElbLoadBalancerDetails) SetAvailabilityZones(v []*string) *AwsElbLoadBalancerDetails { s.AvailabilityZones = v return s } // SetBackendServerDescriptions sets the BackendServerDescriptions field's value. func (s *AwsElbLoadBalancerDetails) SetBackendServerDescriptions(v []*AwsElbLoadBalancerBackendServerDescription) *AwsElbLoadBalancerDetails { s.BackendServerDescriptions = v return s } // SetCanonicalHostedZoneName sets the CanonicalHostedZoneName field's value. func (s *AwsElbLoadBalancerDetails) SetCanonicalHostedZoneName(v string) *AwsElbLoadBalancerDetails { s.CanonicalHostedZoneName = &v return s } // SetCanonicalHostedZoneNameID sets the CanonicalHostedZoneNameID field's value. func (s *AwsElbLoadBalancerDetails) SetCanonicalHostedZoneNameID(v string) *AwsElbLoadBalancerDetails { s.CanonicalHostedZoneNameID = &v return s } // SetCreatedTime sets the CreatedTime field's value. func (s *AwsElbLoadBalancerDetails) SetCreatedTime(v string) *AwsElbLoadBalancerDetails { s.CreatedTime = &v return s } // SetDnsName sets the DnsName field's value. func (s *AwsElbLoadBalancerDetails) SetDnsName(v string) *AwsElbLoadBalancerDetails { s.DnsName = &v return s } // SetHealthCheck sets the HealthCheck field's value. func (s *AwsElbLoadBalancerDetails) SetHealthCheck(v *AwsElbLoadBalancerHealthCheck) *AwsElbLoadBalancerDetails { s.HealthCheck = v return s } // SetInstances sets the Instances field's value. func (s *AwsElbLoadBalancerDetails) SetInstances(v []*AwsElbLoadBalancerInstance) *AwsElbLoadBalancerDetails { s.Instances = v return s } // SetListenerDescriptions sets the ListenerDescriptions field's value. func (s *AwsElbLoadBalancerDetails) SetListenerDescriptions(v []*AwsElbLoadBalancerListenerDescription) *AwsElbLoadBalancerDetails { s.ListenerDescriptions = v return s } // SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value. func (s *AwsElbLoadBalancerDetails) SetLoadBalancerAttributes(v *AwsElbLoadBalancerAttributes) *AwsElbLoadBalancerDetails { s.LoadBalancerAttributes = v return s } // SetLoadBalancerName sets the LoadBalancerName field's value. func (s *AwsElbLoadBalancerDetails) SetLoadBalancerName(v string) *AwsElbLoadBalancerDetails { s.LoadBalancerName = &v return s } // SetPolicies sets the Policies field's value. func (s *AwsElbLoadBalancerDetails) SetPolicies(v *AwsElbLoadBalancerPolicies) *AwsElbLoadBalancerDetails { s.Policies = v return s } // SetScheme sets the Scheme field's value. func (s *AwsElbLoadBalancerDetails) SetScheme(v string) *AwsElbLoadBalancerDetails { s.Scheme = &v return s } // SetSecurityGroups sets the SecurityGroups field's value. func (s *AwsElbLoadBalancerDetails) SetSecurityGroups(v []*string) *AwsElbLoadBalancerDetails { s.SecurityGroups = v return s } // SetSourceSecurityGroup sets the SourceSecurityGroup field's value. func (s *AwsElbLoadBalancerDetails) SetSourceSecurityGroup(v *AwsElbLoadBalancerSourceSecurityGroup) *AwsElbLoadBalancerDetails { s.SourceSecurityGroup = v return s } // SetSubnets sets the Subnets field's value. func (s *AwsElbLoadBalancerDetails) SetSubnets(v []*string) *AwsElbLoadBalancerDetails { s.Subnets = v return s } // SetVpcId sets the VpcId field's value. func (s *AwsElbLoadBalancerDetails) SetVpcId(v string) *AwsElbLoadBalancerDetails { s.VpcId = &v return s } // Contains information about the health checks that are conducted on the load // balancer. type AwsElbLoadBalancerHealthCheck struct { _ struct{} `type:"structure"` // The number of consecutive health check successes required before the instance // is moved to the Healthy state. HealthyThreshold *int64 `type:"integer"` // The approximate interval, in seconds, between health checks of an individual // instance. Interval *int64 `type:"integer"` // The instance that is being checked. The target specifies the protocol and // port. The available protocols are TCP, SSL, HTTP, and HTTPS. The range of // valid ports is 1 through 65535. // // For the HTTP and HTTPS protocols, the target also specifies the ping path. // // For the TCP protocol, the target is specified as TCP: <port> . // // For the SSL protocol, the target is specified as SSL.<port> . // // For the HTTP and HTTPS protocols, the target is specified as <protocol>:<port>/<path // to ping> . Target *string `type:"string"` // The amount of time, in seconds, during which no response means a failed health // check. Timeout *int64 `type:"integer"` // The number of consecutive health check failures that must occur before the // instance is moved to the Unhealthy state. UnhealthyThreshold *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerHealthCheck) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerHealthCheck) GoString() string { return s.String() } // SetHealthyThreshold sets the HealthyThreshold field's value. func (s *AwsElbLoadBalancerHealthCheck) SetHealthyThreshold(v int64) *AwsElbLoadBalancerHealthCheck { s.HealthyThreshold = &v return s } // SetInterval sets the Interval field's value. func (s *AwsElbLoadBalancerHealthCheck) SetInterval(v int64) *AwsElbLoadBalancerHealthCheck { s.Interval = &v return s } // SetTarget sets the Target field's value. func (s *AwsElbLoadBalancerHealthCheck) SetTarget(v string) *AwsElbLoadBalancerHealthCheck { s.Target = &v return s } // SetTimeout sets the Timeout field's value. func (s *AwsElbLoadBalancerHealthCheck) SetTimeout(v int64) *AwsElbLoadBalancerHealthCheck { s.Timeout = &v return s } // SetUnhealthyThreshold sets the UnhealthyThreshold field's value. func (s *AwsElbLoadBalancerHealthCheck) SetUnhealthyThreshold(v int64) *AwsElbLoadBalancerHealthCheck { s.UnhealthyThreshold = &v return s } // Provides information about an EC2 instance for a load balancer. type AwsElbLoadBalancerInstance struct { _ struct{} `type:"structure"` // The instance identifier. InstanceId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerInstance) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerInstance) GoString() string { return s.String() } // SetInstanceId sets the InstanceId field's value. func (s *AwsElbLoadBalancerInstance) SetInstanceId(v string) *AwsElbLoadBalancerInstance { s.InstanceId = &v return s } // Information about a load balancer listener. type AwsElbLoadBalancerListener struct { _ struct{} `type:"structure"` // The port on which the instance is listening. InstancePort *int64 `type:"integer"` // The protocol to use to route traffic to instances. // // Valid values: HTTP | HTTPS | TCP | SSL InstanceProtocol *string `type:"string"` // The port on which the load balancer is listening. // // On EC2-VPC, you can specify any port from the range 1-65535. // // On EC2-Classic, you can specify any port from the following list: 25, 80, // 443, 465, 587, 1024-65535. LoadBalancerPort *int64 `type:"integer"` // The load balancer transport protocol to use for routing. // // Valid values: HTTP | HTTPS | TCP | SSL Protocol *string `type:"string"` // The ARN of the server certificate. SslCertificateId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerListener) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerListener) GoString() string { return s.String() } // SetInstancePort sets the InstancePort field's value. func (s *AwsElbLoadBalancerListener) SetInstancePort(v int64) *AwsElbLoadBalancerListener { s.InstancePort = &v return s } // SetInstanceProtocol sets the InstanceProtocol field's value. func (s *AwsElbLoadBalancerListener) SetInstanceProtocol(v string) *AwsElbLoadBalancerListener { s.InstanceProtocol = &v return s } // SetLoadBalancerPort sets the LoadBalancerPort field's value. func (s *AwsElbLoadBalancerListener) SetLoadBalancerPort(v int64) *AwsElbLoadBalancerListener { s.LoadBalancerPort = &v return s } // SetProtocol sets the Protocol field's value. func (s *AwsElbLoadBalancerListener) SetProtocol(v string) *AwsElbLoadBalancerListener { s.Protocol = &v return s } // SetSslCertificateId sets the SslCertificateId field's value. func (s *AwsElbLoadBalancerListener) SetSslCertificateId(v string) *AwsElbLoadBalancerListener { s.SslCertificateId = &v return s } // Lists the policies that are enabled for a load balancer listener. type AwsElbLoadBalancerListenerDescription struct { _ struct{} `type:"structure"` // Information about the listener. Listener *AwsElbLoadBalancerListener `type:"structure"` // The policies enabled for the listener. PolicyNames []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerListenerDescription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerListenerDescription) GoString() string { return s.String() } // SetListener sets the Listener field's value. func (s *AwsElbLoadBalancerListenerDescription) SetListener(v *AwsElbLoadBalancerListener) *AwsElbLoadBalancerListenerDescription { s.Listener = v return s } // SetPolicyNames sets the PolicyNames field's value. func (s *AwsElbLoadBalancerListenerDescription) SetPolicyNames(v []*string) *AwsElbLoadBalancerListenerDescription { s.PolicyNames = v return s } // Contains information about the policies for a load balancer. type AwsElbLoadBalancerPolicies struct { _ struct{} `type:"structure"` // The stickiness policies that are created using CreateAppCookieStickinessPolicy. AppCookieStickinessPolicies []*AwsElbAppCookieStickinessPolicy `type:"list"` // The stickiness policies that are created using CreateLBCookieStickinessPolicy. LbCookieStickinessPolicies []*AwsElbLbCookieStickinessPolicy `type:"list"` // The policies other than the stickiness policies. OtherPolicies []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerPolicies) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerPolicies) GoString() string { return s.String() } // SetAppCookieStickinessPolicies sets the AppCookieStickinessPolicies field's value. func (s *AwsElbLoadBalancerPolicies) SetAppCookieStickinessPolicies(v []*AwsElbAppCookieStickinessPolicy) *AwsElbLoadBalancerPolicies { s.AppCookieStickinessPolicies = v return s } // SetLbCookieStickinessPolicies sets the LbCookieStickinessPolicies field's value. func (s *AwsElbLoadBalancerPolicies) SetLbCookieStickinessPolicies(v []*AwsElbLbCookieStickinessPolicy) *AwsElbLoadBalancerPolicies { s.LbCookieStickinessPolicies = v return s } // SetOtherPolicies sets the OtherPolicies field's value. func (s *AwsElbLoadBalancerPolicies) SetOtherPolicies(v []*string) *AwsElbLoadBalancerPolicies { s.OtherPolicies = v return s } // Contains information about the security group for the load balancer. type AwsElbLoadBalancerSourceSecurityGroup struct { _ struct{} `type:"structure"` // The name of the security group. GroupName *string `type:"string"` // The owner of the security group. OwnerAlias *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerSourceSecurityGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbLoadBalancerSourceSecurityGroup) GoString() string { return s.String() } // SetGroupName sets the GroupName field's value. func (s *AwsElbLoadBalancerSourceSecurityGroup) SetGroupName(v string) *AwsElbLoadBalancerSourceSecurityGroup { s.GroupName = &v return s } // SetOwnerAlias sets the OwnerAlias field's value. func (s *AwsElbLoadBalancerSourceSecurityGroup) SetOwnerAlias(v string) *AwsElbLoadBalancerSourceSecurityGroup { s.OwnerAlias = &v return s } // A load balancer attribute. type AwsElbv2LoadBalancerAttribute struct { _ struct{} `type:"structure"` // The name of the load balancer attribute. Key *string `type:"string"` // The value of the load balancer attribute. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbv2LoadBalancerAttribute) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbv2LoadBalancerAttribute) GoString() string { return s.String() } // SetKey sets the Key field's value. func (s *AwsElbv2LoadBalancerAttribute) SetKey(v string) *AwsElbv2LoadBalancerAttribute { s.Key = &v return s } // SetValue sets the Value field's value. func (s *AwsElbv2LoadBalancerAttribute) SetValue(v string) *AwsElbv2LoadBalancerAttribute { s.Value = &v return s } // Information about a load balancer. type AwsElbv2LoadBalancerDetails struct { _ struct{} `type:"structure"` // The Availability Zones for the load balancer. AvailabilityZones []*AvailabilityZone `type:"list"` // The ID of the Amazon Route 53 hosted zone associated with the load balancer. CanonicalHostedZoneId *string `type:"string"` // Indicates when the load balancer was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedTime *string `type:"string"` // The public DNS name of the load balancer. DNSName *string `type:"string"` // The type of IP addresses used by the subnets for your load balancer. The // possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and // IPv6 addresses). IpAddressType *string `type:"string"` // Attributes of the load balancer. LoadBalancerAttributes []*AwsElbv2LoadBalancerAttribute `type:"list"` // The nodes of an Internet-facing load balancer have public IP addresses. Scheme *string `type:"string"` // The IDs of the security groups for the load balancer. SecurityGroups []*string `type:"list"` // The state of the load balancer. State *LoadBalancerState `type:"structure"` // The type of load balancer. Type *string `type:"string"` // The ID of the VPC for the load balancer. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbv2LoadBalancerDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsElbv2LoadBalancerDetails) GoString() string { return s.String() } // SetAvailabilityZones sets the AvailabilityZones field's value. func (s *AwsElbv2LoadBalancerDetails) SetAvailabilityZones(v []*AvailabilityZone) *AwsElbv2LoadBalancerDetails { s.AvailabilityZones = v return s } // SetCanonicalHostedZoneId sets the CanonicalHostedZoneId field's value. func (s *AwsElbv2LoadBalancerDetails) SetCanonicalHostedZoneId(v string) *AwsElbv2LoadBalancerDetails { s.CanonicalHostedZoneId = &v return s } // SetCreatedTime sets the CreatedTime field's value. func (s *AwsElbv2LoadBalancerDetails) SetCreatedTime(v string) *AwsElbv2LoadBalancerDetails { s.CreatedTime = &v return s } // SetDNSName sets the DNSName field's value. func (s *AwsElbv2LoadBalancerDetails) SetDNSName(v string) *AwsElbv2LoadBalancerDetails { s.DNSName = &v return s } // SetIpAddressType sets the IpAddressType field's value. func (s *AwsElbv2LoadBalancerDetails) SetIpAddressType(v string) *AwsElbv2LoadBalancerDetails { s.IpAddressType = &v return s } // SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value. func (s *AwsElbv2LoadBalancerDetails) SetLoadBalancerAttributes(v []*AwsElbv2LoadBalancerAttribute) *AwsElbv2LoadBalancerDetails { s.LoadBalancerAttributes = v return s } // SetScheme sets the Scheme field's value. func (s *AwsElbv2LoadBalancerDetails) SetScheme(v string) *AwsElbv2LoadBalancerDetails { s.Scheme = &v return s } // SetSecurityGroups sets the SecurityGroups field's value. func (s *AwsElbv2LoadBalancerDetails) SetSecurityGroups(v []*string) *AwsElbv2LoadBalancerDetails { s.SecurityGroups = v return s } // SetState sets the State field's value. func (s *AwsElbv2LoadBalancerDetails) SetState(v *LoadBalancerState) *AwsElbv2LoadBalancerDetails { s.State = v return s } // SetType sets the Type field's value. func (s *AwsElbv2LoadBalancerDetails) SetType(v string) *AwsElbv2LoadBalancerDetails { s.Type = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsElbv2LoadBalancerDetails) SetVpcId(v string) *AwsElbv2LoadBalancerDetails { s.VpcId = &v return s } // A schema defines the structure of events that are sent to Amazon EventBridge. // Schema registries are containers for schemas. They collect and organize schemas // so that your schemas are in logical groups. type AwsEventSchemasRegistryDetails struct { _ struct{} `type:"structure"` // A description of the registry to be created. Description *string `type:"string"` // The Amazon Resource Name (ARN) of the registry. RegistryArn *string `type:"string"` // The name of the schema registry. RegistryName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventSchemasRegistryDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventSchemasRegistryDetails) GoString() string { return s.String() } // SetDescription sets the Description field's value. func (s *AwsEventSchemasRegistryDetails) SetDescription(v string) *AwsEventSchemasRegistryDetails { s.Description = &v return s } // SetRegistryArn sets the RegistryArn field's value. func (s *AwsEventSchemasRegistryDetails) SetRegistryArn(v string) *AwsEventSchemasRegistryDetails { s.RegistryArn = &v return s } // SetRegistryName sets the RegistryName field's value. func (s *AwsEventSchemasRegistryDetails) SetRegistryName(v string) *AwsEventSchemasRegistryDetails { s.RegistryName = &v return s } // Provides details about an Amazon EventBridge global endpoint. The endpoint // can improve your applications availability by making it Regional-fault // tolerant. type AwsEventsEndpointDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the endpoint. Arn *string `type:"string"` // A description of the endpoint. Description *string `type:"string"` // The URL subdomain of the endpoint. For example, if EndpointUrl is path_to_url // then the EndpointId is abcde.veo. EndpointId *string `type:"string"` // The URL of the endpoint. EndpointUrl *string `type:"string"` // The event buses being used by the endpoint. EventBuses []*AwsEventsEndpointEventBusesDetails `type:"list"` // The name of the endpoint. Name *string `type:"string"` // Whether event replication was enabled or disabled for this endpoint. The // default state is ENABLED, which means you must supply a RoleArn. If you don't // have a RoleArn or you don't want event replication enabled, set the state // to DISABLED. ReplicationConfig *AwsEventsEndpointReplicationConfigDetails `type:"structure"` // The ARN of the role used by event replication for the endpoint. RoleArn *string `type:"string"` // The routing configuration of the endpoint. RoutingConfig *AwsEventsEndpointRoutingConfigDetails `type:"structure"` // The current state of the endpoint. State *string `type:"string"` // The reason the endpoint is in its current state. StateReason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsEventsEndpointDetails) SetArn(v string) *AwsEventsEndpointDetails { s.Arn = &v return s } // SetDescription sets the Description field's value. func (s *AwsEventsEndpointDetails) SetDescription(v string) *AwsEventsEndpointDetails { s.Description = &v return s } // SetEndpointId sets the EndpointId field's value. func (s *AwsEventsEndpointDetails) SetEndpointId(v string) *AwsEventsEndpointDetails { s.EndpointId = &v return s } // SetEndpointUrl sets the EndpointUrl field's value. func (s *AwsEventsEndpointDetails) SetEndpointUrl(v string) *AwsEventsEndpointDetails { s.EndpointUrl = &v return s } // SetEventBuses sets the EventBuses field's value. func (s *AwsEventsEndpointDetails) SetEventBuses(v []*AwsEventsEndpointEventBusesDetails) *AwsEventsEndpointDetails { s.EventBuses = v return s } // SetName sets the Name field's value. func (s *AwsEventsEndpointDetails) SetName(v string) *AwsEventsEndpointDetails { s.Name = &v return s } // SetReplicationConfig sets the ReplicationConfig field's value. func (s *AwsEventsEndpointDetails) SetReplicationConfig(v *AwsEventsEndpointReplicationConfigDetails) *AwsEventsEndpointDetails { s.ReplicationConfig = v return s } // SetRoleArn sets the RoleArn field's value. func (s *AwsEventsEndpointDetails) SetRoleArn(v string) *AwsEventsEndpointDetails { s.RoleArn = &v return s } // SetRoutingConfig sets the RoutingConfig field's value. func (s *AwsEventsEndpointDetails) SetRoutingConfig(v *AwsEventsEndpointRoutingConfigDetails) *AwsEventsEndpointDetails { s.RoutingConfig = v return s } // SetState sets the State field's value. func (s *AwsEventsEndpointDetails) SetState(v string) *AwsEventsEndpointDetails { s.State = &v return s } // SetStateReason sets the StateReason field's value. func (s *AwsEventsEndpointDetails) SetStateReason(v string) *AwsEventsEndpointDetails { s.StateReason = &v return s } // Provides details about the Amazon EventBridge event buses that the endpoint // is associated with. type AwsEventsEndpointEventBusesDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the event bus that the endpoint is associated // with. EventBusArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointEventBusesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointEventBusesDetails) GoString() string { return s.String() } // SetEventBusArn sets the EventBusArn field's value. func (s *AwsEventsEndpointEventBusesDetails) SetEventBusArn(v string) *AwsEventsEndpointEventBusesDetails { s.EventBusArn = &v return s } // Indicates whether replication is enabled or disabled for the endpoint. If // enabled, the endpoint can replicate all events to a secondary Amazon Web // Services Region. type AwsEventsEndpointReplicationConfigDetails struct { _ struct{} `type:"structure"` // The state of event replication. State *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointReplicationConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointReplicationConfigDetails) GoString() string { return s.String() } // SetState sets the State field's value. func (s *AwsEventsEndpointReplicationConfigDetails) SetState(v string) *AwsEventsEndpointReplicationConfigDetails { s.State = &v return s } // Provides details about the routing configuration of the endpoint. type AwsEventsEndpointRoutingConfigDetails struct { _ struct{} `type:"structure"` // The failover configuration for an endpoint. This includes what triggers failover // and what happens when it's triggered. FailoverConfig *AwsEventsEndpointRoutingConfigFailoverConfigDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigDetails) GoString() string { return s.String() } // SetFailoverConfig sets the FailoverConfig field's value. func (s *AwsEventsEndpointRoutingConfigDetails) SetFailoverConfig(v *AwsEventsEndpointRoutingConfigFailoverConfigDetails) *AwsEventsEndpointRoutingConfigDetails { s.FailoverConfig = v return s } // The failover configuration for an endpoint. This includes what triggers failover // and what happens when it's triggered. type AwsEventsEndpointRoutingConfigFailoverConfigDetails struct { _ struct{} `type:"structure"` // The main Region of the endpoint. Primary *AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails `type:"structure"` // The Region that events are routed to when failover is triggered or event // replication is enabled. Secondary *AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigFailoverConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigFailoverConfigDetails) GoString() string { return s.String() } // SetPrimary sets the Primary field's value. func (s *AwsEventsEndpointRoutingConfigFailoverConfigDetails) SetPrimary(v *AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails) *AwsEventsEndpointRoutingConfigFailoverConfigDetails { s.Primary = v return s } // SetSecondary sets the Secondary field's value. func (s *AwsEventsEndpointRoutingConfigFailoverConfigDetails) SetSecondary(v *AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails) *AwsEventsEndpointRoutingConfigFailoverConfigDetails { s.Secondary = v return s } // Provides details about the primary Amazon Web Services Region of the endpoint. type AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the health check used by the endpoint to // determine whether failover is triggered. HealthCheck *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails) GoString() string { return s.String() } // SetHealthCheck sets the HealthCheck field's value. func (s *AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails) SetHealthCheck(v string) *AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails { s.HealthCheck = &v return s } // The Amazon Web Services Region that events are routed to when failover is // triggered or event replication is enabled. type AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails struct { _ struct{} `type:"structure"` // Defines the secondary Region. Route *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails) GoString() string { return s.String() } // SetRoute sets the Route field's value. func (s *AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails) SetRoute(v string) *AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails { s.Route = &v return s } // Provides details about Amazon EventBridge event bus. An event bus is a router // that receives events and delivers them to zero or more destinations, or targets. // This can be a custom event bus which you can use to receive events from your // custom applications and services, or it can be a partner event bus which // can be matched to a partner event source. type AwsEventsEventbusDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the account permitted to write events to // the current account. Arn *string `type:"string"` // The name of the event bus. Name *string `type:"string"` // The policy that enables the external account to send events to your account. Policy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEventbusDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsEventsEventbusDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsEventsEventbusDetails) SetArn(v string) *AwsEventsEventbusDetails { s.Arn = &v return s } // SetName sets the Name field's value. func (s *AwsEventsEventbusDetails) SetName(v string) *AwsEventsEventbusDetails { s.Name = &v return s } // SetPolicy sets the Policy field's value. func (s *AwsEventsEventbusDetails) SetPolicy(v string) *AwsEventsEventbusDetails { s.Policy = &v return s } // An object that contains information on the status of CloudTrail as a data // source for the detector. type AwsGuardDutyDetectorDataSourcesCloudTrailDetails struct { _ struct{} `type:"structure"` // Specifies whether CloudTrail is activated as a data source for the detector. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesCloudTrailDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesCloudTrailDetails) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *AwsGuardDutyDetectorDataSourcesCloudTrailDetails) SetStatus(v string) *AwsGuardDutyDetectorDataSourcesCloudTrailDetails { s.Status = &v return s } // Describes which data sources are activated for the detector. type AwsGuardDutyDetectorDataSourcesDetails struct { _ struct{} `type:"structure"` // An object that contains information on the status of CloudTrail as a data // source for the detector. CloudTrail *AwsGuardDutyDetectorDataSourcesCloudTrailDetails `type:"structure"` // An object that contains information on the status of DNS logs as a data source // for the detector. DnsLogs *AwsGuardDutyDetectorDataSourcesDnsLogsDetails `type:"structure"` // An object that contains information on the status of VPC Flow Logs as a data // source for the detector. FlowLogs *AwsGuardDutyDetectorDataSourcesFlowLogsDetails `type:"structure"` // An object that contains information on the status of Kubernetes data sources // for the detector. Kubernetes *AwsGuardDutyDetectorDataSourcesKubernetesDetails `type:"structure"` // An object that contains information on the status of Malware Protection as // a data source for the detector. MalwareProtection *AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails `type:"structure"` // An object that contains information on the status of S3 Data event logs as // a data source for the detector. S3Logs *AwsGuardDutyDetectorDataSourcesS3LogsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesDetails) GoString() string { return s.String() } // SetCloudTrail sets the CloudTrail field's value. func (s *AwsGuardDutyDetectorDataSourcesDetails) SetCloudTrail(v *AwsGuardDutyDetectorDataSourcesCloudTrailDetails) *AwsGuardDutyDetectorDataSourcesDetails { s.CloudTrail = v return s } // SetDnsLogs sets the DnsLogs field's value. func (s *AwsGuardDutyDetectorDataSourcesDetails) SetDnsLogs(v *AwsGuardDutyDetectorDataSourcesDnsLogsDetails) *AwsGuardDutyDetectorDataSourcesDetails { s.DnsLogs = v return s } // SetFlowLogs sets the FlowLogs field's value. func (s *AwsGuardDutyDetectorDataSourcesDetails) SetFlowLogs(v *AwsGuardDutyDetectorDataSourcesFlowLogsDetails) *AwsGuardDutyDetectorDataSourcesDetails { s.FlowLogs = v return s } // SetKubernetes sets the Kubernetes field's value. func (s *AwsGuardDutyDetectorDataSourcesDetails) SetKubernetes(v *AwsGuardDutyDetectorDataSourcesKubernetesDetails) *AwsGuardDutyDetectorDataSourcesDetails { s.Kubernetes = v return s } // SetMalwareProtection sets the MalwareProtection field's value. func (s *AwsGuardDutyDetectorDataSourcesDetails) SetMalwareProtection(v *AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) *AwsGuardDutyDetectorDataSourcesDetails { s.MalwareProtection = v return s } // SetS3Logs sets the S3Logs field's value. func (s *AwsGuardDutyDetectorDataSourcesDetails) SetS3Logs(v *AwsGuardDutyDetectorDataSourcesS3LogsDetails) *AwsGuardDutyDetectorDataSourcesDetails { s.S3Logs = v return s } // An object that contains information on the status of DNS logs as a data source // for the detector. type AwsGuardDutyDetectorDataSourcesDnsLogsDetails struct { _ struct{} `type:"structure"` // Describes whether DNS logs is enabled as a data source for the detector. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesDnsLogsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesDnsLogsDetails) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *AwsGuardDutyDetectorDataSourcesDnsLogsDetails) SetStatus(v string) *AwsGuardDutyDetectorDataSourcesDnsLogsDetails { s.Status = &v return s } // An object that contains information on the status of VPC Flow Logs as a data // source for the detector. type AwsGuardDutyDetectorDataSourcesFlowLogsDetails struct { _ struct{} `type:"structure"` // Describes whether VPC Flow Logs are activated as a data source for the detector. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesFlowLogsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesFlowLogsDetails) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *AwsGuardDutyDetectorDataSourcesFlowLogsDetails) SetStatus(v string) *AwsGuardDutyDetectorDataSourcesFlowLogsDetails { s.Status = &v return s } // An object that contains information on the status of Kubernetes audit logs // as a data source for the detector. type AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails struct { _ struct{} `type:"structure"` // Describes whether Kubernetes audit logs are activated as a data source for // the detector. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails) SetStatus(v string) *AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails { s.Status = &v return s } // An object that contains information on the status of Kubernetes data sources // for the detector. type AwsGuardDutyDetectorDataSourcesKubernetesDetails struct { _ struct{} `type:"structure"` // Describes whether Kubernetes audit logs are activated as a data source for // the detector. AuditLogs *AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesKubernetesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesKubernetesDetails) GoString() string { return s.String() } // SetAuditLogs sets the AuditLogs field's value. func (s *AwsGuardDutyDetectorDataSourcesKubernetesDetails) SetAuditLogs(v *AwsGuardDutyDetectorDataSourcesKubernetesAuditLogsDetails) *AwsGuardDutyDetectorDataSourcesKubernetesDetails { s.AuditLogs = v return s } // An object that contains information on the status of Malware Protection as // a data source for the detector. type AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails struct { _ struct{} `type:"structure"` // Describes the configuration of Malware Protection for EC2 instances with // findings. ScanEc2InstanceWithFindings *your_sha256_hashithFindingsDetails `type:"structure"` // The GuardDuty Malware Protection service role. ServiceRole *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) GoString() string { return s.String() } // SetScanEc2InstanceWithFindings sets the ScanEc2InstanceWithFindings field's value. func (s *AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) SetScanEc2InstanceWithFindings(v *your_sha256_hashithFindingsDetails) *AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails { s.ScanEc2InstanceWithFindings = v return s } // SetServiceRole sets the ServiceRole field's value. func (s *AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails) SetServiceRole(v string) *AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails { s.ServiceRole = &v return s } // Describes the configuration of Malware Protection for EC2 instances with // findings. type your_sha256_hashithFindingsDetails struct { _ struct{} `type:"structure"` // Describes the configuration of scanning EBS volumes (Malware Protection) // as a data source. EbsVolumes *your_sha256_hashithFindingsEbsVolumesDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashithFindingsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashithFindingsDetails) GoString() string { return s.String() } // SetEbsVolumes sets the EbsVolumes field's value. func (s *your_sha256_hashithFindingsDetails) SetEbsVolumes(v *your_sha256_hashithFindingsEbsVolumesDetails) *your_sha256_hashithFindingsDetails { s.EbsVolumes = v return s } // Describes the configuration of scanning EBS volumes (Malware Protection) // as a data source. type your_sha256_hashithFindingsEbsVolumesDetails struct { _ struct{} `type:"structure"` // Specifies the reason why scanning EBS volumes (Malware Protection) isnt // activated as a data source. Reason *string `type:"string"` // Describes whether scanning EBS volumes is activated as a data source for // the detector. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashithFindingsEbsVolumesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashithFindingsEbsVolumesDetails) GoString() string { return s.String() } // SetReason sets the Reason field's value. func (s *your_sha256_hashithFindingsEbsVolumesDetails) SetReason(v string) *your_sha256_hashithFindingsEbsVolumesDetails { s.Reason = &v return s } // SetStatus sets the Status field's value. func (s *your_sha256_hashithFindingsEbsVolumesDetails) SetStatus(v string) *your_sha256_hashithFindingsEbsVolumesDetails { s.Status = &v return s } // An object that contains information on the status of S3 data event logs as // a data source for the detector. type AwsGuardDutyDetectorDataSourcesS3LogsDetails struct { _ struct{} `type:"structure"` // A value that describes whether S3 data event logs are automatically enabled // for new members of an organization. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesS3LogsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDataSourcesS3LogsDetails) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *AwsGuardDutyDetectorDataSourcesS3LogsDetails) SetStatus(v string) *AwsGuardDutyDetectorDataSourcesS3LogsDetails { s.Status = &v return s } // Provides details about an Amazon GuardDuty detector. A detector is an object // that represents the GuardDuty service. A detector is required for GuardDuty // to become operational. type AwsGuardDutyDetectorDetails struct { _ struct{} `type:"structure"` // Describes which data sources are activated for the detector. DataSources *AwsGuardDutyDetectorDataSourcesDetails `type:"structure"` // Describes which features are activated for the detector. Features []*AwsGuardDutyDetectorFeaturesDetails `type:"list"` // The publishing frequency of the finding. FindingPublishingFrequency *string `type:"string"` // The GuardDuty service role. ServiceRole *string `type:"string"` // The activation status of the detector. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorDetails) GoString() string { return s.String() } // SetDataSources sets the DataSources field's value. func (s *AwsGuardDutyDetectorDetails) SetDataSources(v *AwsGuardDutyDetectorDataSourcesDetails) *AwsGuardDutyDetectorDetails { s.DataSources = v return s } // SetFeatures sets the Features field's value. func (s *AwsGuardDutyDetectorDetails) SetFeatures(v []*AwsGuardDutyDetectorFeaturesDetails) *AwsGuardDutyDetectorDetails { s.Features = v return s } // SetFindingPublishingFrequency sets the FindingPublishingFrequency field's value. func (s *AwsGuardDutyDetectorDetails) SetFindingPublishingFrequency(v string) *AwsGuardDutyDetectorDetails { s.FindingPublishingFrequency = &v return s } // SetServiceRole sets the ServiceRole field's value. func (s *AwsGuardDutyDetectorDetails) SetServiceRole(v string) *AwsGuardDutyDetectorDetails { s.ServiceRole = &v return s } // SetStatus sets the Status field's value. func (s *AwsGuardDutyDetectorDetails) SetStatus(v string) *AwsGuardDutyDetectorDetails { s.Status = &v return s } // Describes which features are activated for the detector. type AwsGuardDutyDetectorFeaturesDetails struct { _ struct{} `type:"structure"` // Indicates the name of the feature that is activated for the detector. Name *string `type:"string"` // Indicates the status of the feature that is activated for the detector. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorFeaturesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsGuardDutyDetectorFeaturesDetails) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsGuardDutyDetectorFeaturesDetails) SetName(v string) *AwsGuardDutyDetectorFeaturesDetails { s.Name = &v return s } // SetStatus sets the Status field's value. func (s *AwsGuardDutyDetectorFeaturesDetails) SetStatus(v string) *AwsGuardDutyDetectorFeaturesDetails { s.Status = &v return s } // IAM access key details related to a finding. type AwsIamAccessKeyDetails struct { _ struct{} `type:"structure"` // The identifier of the access key. AccessKeyId *string `type:"string"` // The Amazon Web Services account ID of the account for the key. AccountId *string `type:"string"` // Indicates when the IAM access key was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedAt *string `type:"string"` // The ID of the principal associated with an access key. PrincipalId *string `type:"string"` // The name of the principal. PrincipalName *string `type:"string"` // The type of principal associated with an access key. PrincipalType *string `type:"string"` // Information about the session that the key was used for. SessionContext *AwsIamAccessKeySessionContext `type:"structure"` // The status of the IAM access key related to a finding. Status *string `type:"string" enum:"AwsIamAccessKeyStatus"` // The user associated with the IAM access key related to a finding. // // The UserName parameter has been replaced with the PrincipalName parameter // because access keys can also be assigned to principals that are not IAM users. // // Deprecated: This filter is deprecated. Instead, use PrincipalName. UserName *string `deprecated:"true" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeyDetails) GoString() string { return s.String() } // SetAccessKeyId sets the AccessKeyId field's value. func (s *AwsIamAccessKeyDetails) SetAccessKeyId(v string) *AwsIamAccessKeyDetails { s.AccessKeyId = &v return s } // SetAccountId sets the AccountId field's value. func (s *AwsIamAccessKeyDetails) SetAccountId(v string) *AwsIamAccessKeyDetails { s.AccountId = &v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AwsIamAccessKeyDetails) SetCreatedAt(v string) *AwsIamAccessKeyDetails { s.CreatedAt = &v return s } // SetPrincipalId sets the PrincipalId field's value. func (s *AwsIamAccessKeyDetails) SetPrincipalId(v string) *AwsIamAccessKeyDetails { s.PrincipalId = &v return s } // SetPrincipalName sets the PrincipalName field's value. func (s *AwsIamAccessKeyDetails) SetPrincipalName(v string) *AwsIamAccessKeyDetails { s.PrincipalName = &v return s } // SetPrincipalType sets the PrincipalType field's value. func (s *AwsIamAccessKeyDetails) SetPrincipalType(v string) *AwsIamAccessKeyDetails { s.PrincipalType = &v return s } // SetSessionContext sets the SessionContext field's value. func (s *AwsIamAccessKeyDetails) SetSessionContext(v *AwsIamAccessKeySessionContext) *AwsIamAccessKeyDetails { s.SessionContext = v return s } // SetStatus sets the Status field's value. func (s *AwsIamAccessKeyDetails) SetStatus(v string) *AwsIamAccessKeyDetails { s.Status = &v return s } // SetUserName sets the UserName field's value. func (s *AwsIamAccessKeyDetails) SetUserName(v string) *AwsIamAccessKeyDetails { s.UserName = &v return s } // Provides information about the session that the key was used for. type AwsIamAccessKeySessionContext struct { _ struct{} `type:"structure"` // Attributes of the session that the key was used for. Attributes *AwsIamAccessKeySessionContextAttributes `type:"structure"` // Information about the entity that created the session. SessionIssuer *AwsIamAccessKeySessionContextSessionIssuer `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeySessionContext) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeySessionContext) GoString() string { return s.String() } // SetAttributes sets the Attributes field's value. func (s *AwsIamAccessKeySessionContext) SetAttributes(v *AwsIamAccessKeySessionContextAttributes) *AwsIamAccessKeySessionContext { s.Attributes = v return s } // SetSessionIssuer sets the SessionIssuer field's value. func (s *AwsIamAccessKeySessionContext) SetSessionIssuer(v *AwsIamAccessKeySessionContextSessionIssuer) *AwsIamAccessKeySessionContext { s.SessionIssuer = v return s } // Attributes of the session that the key was used for. type AwsIamAccessKeySessionContextAttributes struct { _ struct{} `type:"structure"` // Indicates when the session was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreationDate *string `type:"string"` // Indicates whether the session used multi-factor authentication (MFA). MfaAuthenticated *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeySessionContextAttributes) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeySessionContextAttributes) GoString() string { return s.String() } // SetCreationDate sets the CreationDate field's value. func (s *AwsIamAccessKeySessionContextAttributes) SetCreationDate(v string) *AwsIamAccessKeySessionContextAttributes { s.CreationDate = &v return s } // SetMfaAuthenticated sets the MfaAuthenticated field's value. func (s *AwsIamAccessKeySessionContextAttributes) SetMfaAuthenticated(v bool) *AwsIamAccessKeySessionContextAttributes { s.MfaAuthenticated = &v return s } // Information about the entity that created the session. type AwsIamAccessKeySessionContextSessionIssuer struct { _ struct{} `type:"structure"` // The identifier of the Amazon Web Services account that created the session. AccountId *string `type:"string"` // The ARN of the session. Arn *string `type:"string"` // The principal ID of the principal (user, role, or group) that created the // session. PrincipalId *string `type:"string"` // The type of principal (user, role, or group) that created the session. Type *string `type:"string"` // The name of the principal that created the session. UserName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeySessionContextSessionIssuer) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAccessKeySessionContextSessionIssuer) GoString() string { return s.String() } // SetAccountId sets the AccountId field's value. func (s *AwsIamAccessKeySessionContextSessionIssuer) SetAccountId(v string) *AwsIamAccessKeySessionContextSessionIssuer { s.AccountId = &v return s } // SetArn sets the Arn field's value. func (s *AwsIamAccessKeySessionContextSessionIssuer) SetArn(v string) *AwsIamAccessKeySessionContextSessionIssuer { s.Arn = &v return s } // SetPrincipalId sets the PrincipalId field's value. func (s *AwsIamAccessKeySessionContextSessionIssuer) SetPrincipalId(v string) *AwsIamAccessKeySessionContextSessionIssuer { s.PrincipalId = &v return s } // SetType sets the Type field's value. func (s *AwsIamAccessKeySessionContextSessionIssuer) SetType(v string) *AwsIamAccessKeySessionContextSessionIssuer { s.Type = &v return s } // SetUserName sets the UserName field's value. func (s *AwsIamAccessKeySessionContextSessionIssuer) SetUserName(v string) *AwsIamAccessKeySessionContextSessionIssuer { s.UserName = &v return s } // A managed policy that is attached to an IAM principal. type AwsIamAttachedManagedPolicy struct { _ struct{} `type:"structure"` // The ARN of the policy. PolicyArn *string `type:"string"` // The name of the policy. PolicyName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAttachedManagedPolicy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamAttachedManagedPolicy) GoString() string { return s.String() } // SetPolicyArn sets the PolicyArn field's value. func (s *AwsIamAttachedManagedPolicy) SetPolicyArn(v string) *AwsIamAttachedManagedPolicy { s.PolicyArn = &v return s } // SetPolicyName sets the PolicyName field's value. func (s *AwsIamAttachedManagedPolicy) SetPolicyName(v string) *AwsIamAttachedManagedPolicy { s.PolicyName = &v return s } // Contains details about an IAM group. type AwsIamGroupDetails struct { _ struct{} `type:"structure"` // A list of the managed policies that are attached to the IAM group. AttachedManagedPolicies []*AwsIamAttachedManagedPolicy `type:"list"` // Indicates when the IAM group was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateDate *string `type:"string"` // The identifier of the IAM group. GroupId *string `type:"string"` // The name of the IAM group. GroupName *string `type:"string"` // The list of inline policies that are embedded in the group. GroupPolicyList []*AwsIamGroupPolicy `type:"list"` // The path to the group. Path *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamGroupDetails) GoString() string { return s.String() } // SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value. func (s *AwsIamGroupDetails) SetAttachedManagedPolicies(v []*AwsIamAttachedManagedPolicy) *AwsIamGroupDetails { s.AttachedManagedPolicies = v return s } // SetCreateDate sets the CreateDate field's value. func (s *AwsIamGroupDetails) SetCreateDate(v string) *AwsIamGroupDetails { s.CreateDate = &v return s } // SetGroupId sets the GroupId field's value. func (s *AwsIamGroupDetails) SetGroupId(v string) *AwsIamGroupDetails { s.GroupId = &v return s } // SetGroupName sets the GroupName field's value. func (s *AwsIamGroupDetails) SetGroupName(v string) *AwsIamGroupDetails { s.GroupName = &v return s } // SetGroupPolicyList sets the GroupPolicyList field's value. func (s *AwsIamGroupDetails) SetGroupPolicyList(v []*AwsIamGroupPolicy) *AwsIamGroupDetails { s.GroupPolicyList = v return s } // SetPath sets the Path field's value. func (s *AwsIamGroupDetails) SetPath(v string) *AwsIamGroupDetails { s.Path = &v return s } // A managed policy that is attached to the IAM group. type AwsIamGroupPolicy struct { _ struct{} `type:"structure"` // The name of the policy. PolicyName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamGroupPolicy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamGroupPolicy) GoString() string { return s.String() } // SetPolicyName sets the PolicyName field's value. func (s *AwsIamGroupPolicy) SetPolicyName(v string) *AwsIamGroupPolicy { s.PolicyName = &v return s } // Information about an instance profile. type AwsIamInstanceProfile struct { _ struct{} `type:"structure"` // The ARN of the instance profile. Arn *string `type:"string"` // Indicates when the instance profile was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateDate *string `type:"string"` // The identifier of the instance profile. InstanceProfileId *string `type:"string"` // The name of the instance profile. InstanceProfileName *string `type:"string"` // The path to the instance profile. Path *string `type:"string"` // The roles associated with the instance profile. Roles []*AwsIamInstanceProfileRole `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamInstanceProfile) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamInstanceProfile) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AwsIamInstanceProfile) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AwsIamInstanceProfile"} if s.Roles != nil { for i, v := range s.Roles { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Roles", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetArn sets the Arn field's value. func (s *AwsIamInstanceProfile) SetArn(v string) *AwsIamInstanceProfile { s.Arn = &v return s } // SetCreateDate sets the CreateDate field's value. func (s *AwsIamInstanceProfile) SetCreateDate(v string) *AwsIamInstanceProfile { s.CreateDate = &v return s } // SetInstanceProfileId sets the InstanceProfileId field's value. func (s *AwsIamInstanceProfile) SetInstanceProfileId(v string) *AwsIamInstanceProfile { s.InstanceProfileId = &v return s } // SetInstanceProfileName sets the InstanceProfileName field's value. func (s *AwsIamInstanceProfile) SetInstanceProfileName(v string) *AwsIamInstanceProfile { s.InstanceProfileName = &v return s } // SetPath sets the Path field's value. func (s *AwsIamInstanceProfile) SetPath(v string) *AwsIamInstanceProfile { s.Path = &v return s } // SetRoles sets the Roles field's value. func (s *AwsIamInstanceProfile) SetRoles(v []*AwsIamInstanceProfileRole) *AwsIamInstanceProfile { s.Roles = v return s } // Information about a role associated with an instance profile. type AwsIamInstanceProfileRole struct { _ struct{} `type:"structure"` // The ARN of the role. Arn *string `type:"string"` // The policy that grants an entity permission to assume the role. AssumeRolePolicyDocument *string `min:"1" type:"string"` // Indicates when the role was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateDate *string `type:"string"` // The path to the role. Path *string `type:"string"` // The identifier of the role. RoleId *string `type:"string"` // The name of the role. RoleName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamInstanceProfileRole) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamInstanceProfileRole) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AwsIamInstanceProfileRole) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AwsIamInstanceProfileRole"} if s.AssumeRolePolicyDocument != nil && len(*s.AssumeRolePolicyDocument) < 1 { invalidParams.Add(request.NewErrParamMinLen("AssumeRolePolicyDocument", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetArn sets the Arn field's value. func (s *AwsIamInstanceProfileRole) SetArn(v string) *AwsIamInstanceProfileRole { s.Arn = &v return s } // SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value. func (s *AwsIamInstanceProfileRole) SetAssumeRolePolicyDocument(v string) *AwsIamInstanceProfileRole { s.AssumeRolePolicyDocument = &v return s } // SetCreateDate sets the CreateDate field's value. func (s *AwsIamInstanceProfileRole) SetCreateDate(v string) *AwsIamInstanceProfileRole { s.CreateDate = &v return s } // SetPath sets the Path field's value. func (s *AwsIamInstanceProfileRole) SetPath(v string) *AwsIamInstanceProfileRole { s.Path = &v return s } // SetRoleId sets the RoleId field's value. func (s *AwsIamInstanceProfileRole) SetRoleId(v string) *AwsIamInstanceProfileRole { s.RoleId = &v return s } // SetRoleName sets the RoleName field's value. func (s *AwsIamInstanceProfileRole) SetRoleName(v string) *AwsIamInstanceProfileRole { s.RoleName = &v return s } // Information about the policy used to set the permissions boundary for an // IAM principal. type AwsIamPermissionsBoundary struct { _ struct{} `type:"structure"` // The ARN of the policy used to set the permissions boundary. PermissionsBoundaryArn *string `type:"string"` // The usage type for the permissions boundary. PermissionsBoundaryType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamPermissionsBoundary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamPermissionsBoundary) GoString() string { return s.String() } // SetPermissionsBoundaryArn sets the PermissionsBoundaryArn field's value. func (s *AwsIamPermissionsBoundary) SetPermissionsBoundaryArn(v string) *AwsIamPermissionsBoundary { s.PermissionsBoundaryArn = &v return s } // SetPermissionsBoundaryType sets the PermissionsBoundaryType field's value. func (s *AwsIamPermissionsBoundary) SetPermissionsBoundaryType(v string) *AwsIamPermissionsBoundary { s.PermissionsBoundaryType = &v return s } // Represents an IAM permissions policy. type AwsIamPolicyDetails struct { _ struct{} `type:"structure"` // The number of users, groups, and roles that the policy is attached to. AttachmentCount *int64 `type:"integer"` // When the policy was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateDate *string `type:"string"` // The identifier of the default version of the policy. DefaultVersionId *string `type:"string"` // A description of the policy. Description *string `type:"string"` // Whether the policy can be attached to a user, group, or role. IsAttachable *bool `type:"boolean"` // The path to the policy. Path *string `type:"string"` // The number of users and roles that use the policy to set the permissions // boundary. PermissionsBoundaryUsageCount *int64 `type:"integer"` // The unique identifier of the policy. PolicyId *string `type:"string"` // The name of the policy. PolicyName *string `type:"string"` // List of versions of the policy. PolicyVersionList []*AwsIamPolicyVersion `type:"list"` // When the policy was most recently updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) UpdateDate *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamPolicyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamPolicyDetails) GoString() string { return s.String() } // SetAttachmentCount sets the AttachmentCount field's value. func (s *AwsIamPolicyDetails) SetAttachmentCount(v int64) *AwsIamPolicyDetails { s.AttachmentCount = &v return s } // SetCreateDate sets the CreateDate field's value. func (s *AwsIamPolicyDetails) SetCreateDate(v string) *AwsIamPolicyDetails { s.CreateDate = &v return s } // SetDefaultVersionId sets the DefaultVersionId field's value. func (s *AwsIamPolicyDetails) SetDefaultVersionId(v string) *AwsIamPolicyDetails { s.DefaultVersionId = &v return s } // SetDescription sets the Description field's value. func (s *AwsIamPolicyDetails) SetDescription(v string) *AwsIamPolicyDetails { s.Description = &v return s } // SetIsAttachable sets the IsAttachable field's value. func (s *AwsIamPolicyDetails) SetIsAttachable(v bool) *AwsIamPolicyDetails { s.IsAttachable = &v return s } // SetPath sets the Path field's value. func (s *AwsIamPolicyDetails) SetPath(v string) *AwsIamPolicyDetails { s.Path = &v return s } // SetPermissionsBoundaryUsageCount sets the PermissionsBoundaryUsageCount field's value. func (s *AwsIamPolicyDetails) SetPermissionsBoundaryUsageCount(v int64) *AwsIamPolicyDetails { s.PermissionsBoundaryUsageCount = &v return s } // SetPolicyId sets the PolicyId field's value. func (s *AwsIamPolicyDetails) SetPolicyId(v string) *AwsIamPolicyDetails { s.PolicyId = &v return s } // SetPolicyName sets the PolicyName field's value. func (s *AwsIamPolicyDetails) SetPolicyName(v string) *AwsIamPolicyDetails { s.PolicyName = &v return s } // SetPolicyVersionList sets the PolicyVersionList field's value. func (s *AwsIamPolicyDetails) SetPolicyVersionList(v []*AwsIamPolicyVersion) *AwsIamPolicyDetails { s.PolicyVersionList = v return s } // SetUpdateDate sets the UpdateDate field's value. func (s *AwsIamPolicyDetails) SetUpdateDate(v string) *AwsIamPolicyDetails { s.UpdateDate = &v return s } // A version of an IAM policy. type AwsIamPolicyVersion struct { _ struct{} `type:"structure"` // Indicates when the version was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateDate *string `type:"string"` // Whether the version is the default version. IsDefaultVersion *bool `type:"boolean"` // The identifier of the policy version. VersionId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamPolicyVersion) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamPolicyVersion) GoString() string { return s.String() } // SetCreateDate sets the CreateDate field's value. func (s *AwsIamPolicyVersion) SetCreateDate(v string) *AwsIamPolicyVersion { s.CreateDate = &v return s } // SetIsDefaultVersion sets the IsDefaultVersion field's value. func (s *AwsIamPolicyVersion) SetIsDefaultVersion(v bool) *AwsIamPolicyVersion { s.IsDefaultVersion = &v return s } // SetVersionId sets the VersionId field's value. func (s *AwsIamPolicyVersion) SetVersionId(v string) *AwsIamPolicyVersion { s.VersionId = &v return s } // Contains information about an IAM role, including all of the role's policies. type AwsIamRoleDetails struct { _ struct{} `type:"structure"` // The trust policy that grants permission to assume the role. AssumeRolePolicyDocument *string `min:"1" type:"string"` // The list of the managed policies that are attached to the role. AttachedManagedPolicies []*AwsIamAttachedManagedPolicy `type:"list"` // Indicates when the role was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateDate *string `type:"string"` // The list of instance profiles that contain this role. InstanceProfileList []*AwsIamInstanceProfile `type:"list"` // The maximum session duration (in seconds) that you want to set for the specified // role. MaxSessionDuration *int64 `type:"integer"` // The path to the role. Path *string `type:"string"` // Information about the policy used to set the permissions boundary for an // IAM principal. PermissionsBoundary *AwsIamPermissionsBoundary `type:"structure"` // The stable and unique string identifying the role. RoleId *string `type:"string"` // The friendly name that identifies the role. RoleName *string `type:"string"` // The list of inline policies that are embedded in the role. RolePolicyList []*AwsIamRolePolicy `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamRoleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamRoleDetails) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AwsIamRoleDetails) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AwsIamRoleDetails"} if s.AssumeRolePolicyDocument != nil && len(*s.AssumeRolePolicyDocument) < 1 { invalidParams.Add(request.NewErrParamMinLen("AssumeRolePolicyDocument", 1)) } if s.InstanceProfileList != nil { for i, v := range s.InstanceProfileList { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InstanceProfileList", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value. func (s *AwsIamRoleDetails) SetAssumeRolePolicyDocument(v string) *AwsIamRoleDetails { s.AssumeRolePolicyDocument = &v return s } // SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value. func (s *AwsIamRoleDetails) SetAttachedManagedPolicies(v []*AwsIamAttachedManagedPolicy) *AwsIamRoleDetails { s.AttachedManagedPolicies = v return s } // SetCreateDate sets the CreateDate field's value. func (s *AwsIamRoleDetails) SetCreateDate(v string) *AwsIamRoleDetails { s.CreateDate = &v return s } // SetInstanceProfileList sets the InstanceProfileList field's value. func (s *AwsIamRoleDetails) SetInstanceProfileList(v []*AwsIamInstanceProfile) *AwsIamRoleDetails { s.InstanceProfileList = v return s } // SetMaxSessionDuration sets the MaxSessionDuration field's value. func (s *AwsIamRoleDetails) SetMaxSessionDuration(v int64) *AwsIamRoleDetails { s.MaxSessionDuration = &v return s } // SetPath sets the Path field's value. func (s *AwsIamRoleDetails) SetPath(v string) *AwsIamRoleDetails { s.Path = &v return s } // SetPermissionsBoundary sets the PermissionsBoundary field's value. func (s *AwsIamRoleDetails) SetPermissionsBoundary(v *AwsIamPermissionsBoundary) *AwsIamRoleDetails { s.PermissionsBoundary = v return s } // SetRoleId sets the RoleId field's value. func (s *AwsIamRoleDetails) SetRoleId(v string) *AwsIamRoleDetails { s.RoleId = &v return s } // SetRoleName sets the RoleName field's value. func (s *AwsIamRoleDetails) SetRoleName(v string) *AwsIamRoleDetails { s.RoleName = &v return s } // SetRolePolicyList sets the RolePolicyList field's value. func (s *AwsIamRoleDetails) SetRolePolicyList(v []*AwsIamRolePolicy) *AwsIamRoleDetails { s.RolePolicyList = v return s } // An inline policy that is embedded in the role. type AwsIamRolePolicy struct { _ struct{} `type:"structure"` // The name of the policy. PolicyName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamRolePolicy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamRolePolicy) GoString() string { return s.String() } // SetPolicyName sets the PolicyName field's value. func (s *AwsIamRolePolicy) SetPolicyName(v string) *AwsIamRolePolicy { s.PolicyName = &v return s } // Information about an IAM user. type AwsIamUserDetails struct { _ struct{} `type:"structure"` // A list of the managed policies that are attached to the user. AttachedManagedPolicies []*AwsIamAttachedManagedPolicy `type:"list"` // Indicates when the user was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreateDate *string `type:"string"` // A list of IAM groups that the user belongs to. GroupList []*string `type:"list"` // The path to the user. Path *string `type:"string"` // The permissions boundary for the user. PermissionsBoundary *AwsIamPermissionsBoundary `type:"structure"` // The unique identifier for the user. UserId *string `type:"string"` // The name of the user. UserName *string `type:"string"` // The list of inline policies that are embedded in the user. UserPolicyList []*AwsIamUserPolicy `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamUserDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamUserDetails) GoString() string { return s.String() } // SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value. func (s *AwsIamUserDetails) SetAttachedManagedPolicies(v []*AwsIamAttachedManagedPolicy) *AwsIamUserDetails { s.AttachedManagedPolicies = v return s } // SetCreateDate sets the CreateDate field's value. func (s *AwsIamUserDetails) SetCreateDate(v string) *AwsIamUserDetails { s.CreateDate = &v return s } // SetGroupList sets the GroupList field's value. func (s *AwsIamUserDetails) SetGroupList(v []*string) *AwsIamUserDetails { s.GroupList = v return s } // SetPath sets the Path field's value. func (s *AwsIamUserDetails) SetPath(v string) *AwsIamUserDetails { s.Path = &v return s } // SetPermissionsBoundary sets the PermissionsBoundary field's value. func (s *AwsIamUserDetails) SetPermissionsBoundary(v *AwsIamPermissionsBoundary) *AwsIamUserDetails { s.PermissionsBoundary = v return s } // SetUserId sets the UserId field's value. func (s *AwsIamUserDetails) SetUserId(v string) *AwsIamUserDetails { s.UserId = &v return s } // SetUserName sets the UserName field's value. func (s *AwsIamUserDetails) SetUserName(v string) *AwsIamUserDetails { s.UserName = &v return s } // SetUserPolicyList sets the UserPolicyList field's value. func (s *AwsIamUserDetails) SetUserPolicyList(v []*AwsIamUserPolicy) *AwsIamUserDetails { s.UserPolicyList = v return s } // Information about an inline policy that is embedded in the user. type AwsIamUserPolicy struct { _ struct{} `type:"structure"` // The name of the policy. PolicyName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamUserPolicy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsIamUserPolicy) GoString() string { return s.String() } // SetPolicyName sets the PolicyName field's value. func (s *AwsIamUserPolicy) SetPolicyName(v string) *AwsIamUserPolicy { s.PolicyName = &v return s } // Provides information about an Amazon Kinesis data stream. type AwsKinesisStreamDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the Kinesis data stream. Arn *string `type:"string"` // The name of the Kinesis stream. If you don't specify a name, CloudFront generates // a unique physical ID and uses that ID for the stream name. Name *string `type:"string"` // The number of hours for the data records that are stored in shards to remain // accessible. RetentionPeriodHours *int64 `type:"integer"` // The number of shards that the stream uses. ShardCount *int64 `type:"integer"` // When specified, enables or updates server-side encryption using an KMS key // for a specified stream. Removing this property from your stack template and // updating your stack disables encryption. StreamEncryption *AwsKinesisStreamStreamEncryptionDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsKinesisStreamDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsKinesisStreamDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsKinesisStreamDetails) SetArn(v string) *AwsKinesisStreamDetails { s.Arn = &v return s } // SetName sets the Name field's value. func (s *AwsKinesisStreamDetails) SetName(v string) *AwsKinesisStreamDetails { s.Name = &v return s } // SetRetentionPeriodHours sets the RetentionPeriodHours field's value. func (s *AwsKinesisStreamDetails) SetRetentionPeriodHours(v int64) *AwsKinesisStreamDetails { s.RetentionPeriodHours = &v return s } // SetShardCount sets the ShardCount field's value. func (s *AwsKinesisStreamDetails) SetShardCount(v int64) *AwsKinesisStreamDetails { s.ShardCount = &v return s } // SetStreamEncryption sets the StreamEncryption field's value. func (s *AwsKinesisStreamDetails) SetStreamEncryption(v *AwsKinesisStreamStreamEncryptionDetails) *AwsKinesisStreamDetails { s.StreamEncryption = v return s } // Provides information about stream encryption. type AwsKinesisStreamStreamEncryptionDetails struct { _ struct{} `type:"structure"` // The encryption type to use. EncryptionType *string `type:"string"` // The globally unique identifier for the customer-managed KMS key to use for // encryption. KeyId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsKinesisStreamStreamEncryptionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsKinesisStreamStreamEncryptionDetails) GoString() string { return s.String() } // SetEncryptionType sets the EncryptionType field's value. func (s *AwsKinesisStreamStreamEncryptionDetails) SetEncryptionType(v string) *AwsKinesisStreamStreamEncryptionDetails { s.EncryptionType = &v return s } // SetKeyId sets the KeyId field's value. func (s *AwsKinesisStreamStreamEncryptionDetails) SetKeyId(v string) *AwsKinesisStreamStreamEncryptionDetails { s.KeyId = &v return s } // Contains metadata about an KMS key. type AwsKmsKeyDetails struct { _ struct{} `type:"structure"` // The twelve-digit account ID of the Amazon Web Services account that owns // the KMS key. AWSAccountId *string `type:"string"` // Indicates when the KMS key was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreationDate *float64 `type:"double"` // A description of the KMS key. Description *string `type:"string"` // The globally unique identifier for the KMS key. KeyId *string `type:"string"` // The manager of the KMS key. KMS keys in your Amazon Web Services account // are either customer managed or Amazon Web Services managed. KeyManager *string `type:"string"` // Whether the key has key rotation enabled. KeyRotationStatus *bool `type:"boolean"` // The state of the KMS key. Valid values are as follows: // // * Disabled // // * Enabled // // * PendingDeletion // // * PendingImport // // * Unavailable KeyState *string `type:"string"` // The source of the KMS key material. // // When this value is AWS_KMS, KMS created the key material. // // When this value is EXTERNAL, the key material was imported from your existing // key management infrastructure or the KMS key lacks key material. // // When this value is AWS_CLOUDHSM, the key material was created in the CloudHSM // cluster associated with a custom key store. Origin *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsKmsKeyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsKmsKeyDetails) GoString() string { return s.String() } // SetAWSAccountId sets the AWSAccountId field's value. func (s *AwsKmsKeyDetails) SetAWSAccountId(v string) *AwsKmsKeyDetails { s.AWSAccountId = &v return s } // SetCreationDate sets the CreationDate field's value. func (s *AwsKmsKeyDetails) SetCreationDate(v float64) *AwsKmsKeyDetails { s.CreationDate = &v return s } // SetDescription sets the Description field's value. func (s *AwsKmsKeyDetails) SetDescription(v string) *AwsKmsKeyDetails { s.Description = &v return s } // SetKeyId sets the KeyId field's value. func (s *AwsKmsKeyDetails) SetKeyId(v string) *AwsKmsKeyDetails { s.KeyId = &v return s } // SetKeyManager sets the KeyManager field's value. func (s *AwsKmsKeyDetails) SetKeyManager(v string) *AwsKmsKeyDetails { s.KeyManager = &v return s } // SetKeyRotationStatus sets the KeyRotationStatus field's value. func (s *AwsKmsKeyDetails) SetKeyRotationStatus(v bool) *AwsKmsKeyDetails { s.KeyRotationStatus = &v return s } // SetKeyState sets the KeyState field's value. func (s *AwsKmsKeyDetails) SetKeyState(v string) *AwsKmsKeyDetails { s.KeyState = &v return s } // SetOrigin sets the Origin field's value. func (s *AwsKmsKeyDetails) SetOrigin(v string) *AwsKmsKeyDetails { s.Origin = &v return s } // The code for the Lambda function. You can specify either an object in Amazon // S3, or upload a deployment package directly. type AwsLambdaFunctionCode struct { _ struct{} `type:"structure"` // An Amazon S3 bucket in the same Amazon Web Services Region as your function. // The bucket can be in a different Amazon Web Services account. S3Bucket *string `type:"string"` // The Amazon S3 key of the deployment package. S3Key *string `type:"string"` // For versioned objects, the version of the deployment package object to use. S3ObjectVersion *string `type:"string"` // The base64-encoded contents of the deployment package. Amazon Web Services // SDK and Amazon Web Services CLI clients handle the encoding for you. ZipFile *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionCode) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionCode) GoString() string { return s.String() } // SetS3Bucket sets the S3Bucket field's value. func (s *AwsLambdaFunctionCode) SetS3Bucket(v string) *AwsLambdaFunctionCode { s.S3Bucket = &v return s } // SetS3Key sets the S3Key field's value. func (s *AwsLambdaFunctionCode) SetS3Key(v string) *AwsLambdaFunctionCode { s.S3Key = &v return s } // SetS3ObjectVersion sets the S3ObjectVersion field's value. func (s *AwsLambdaFunctionCode) SetS3ObjectVersion(v string) *AwsLambdaFunctionCode { s.S3ObjectVersion = &v return s } // SetZipFile sets the ZipFile field's value. func (s *AwsLambdaFunctionCode) SetZipFile(v string) *AwsLambdaFunctionCode { s.ZipFile = &v return s } // The dead-letter queue for failed asynchronous invocations. type AwsLambdaFunctionDeadLetterConfig struct { _ struct{} `type:"structure"` // The ARN of an SQS queue or SNS topic. TargetArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionDeadLetterConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionDeadLetterConfig) GoString() string { return s.String() } // SetTargetArn sets the TargetArn field's value. func (s *AwsLambdaFunctionDeadLetterConfig) SetTargetArn(v string) *AwsLambdaFunctionDeadLetterConfig { s.TargetArn = &v return s } // Details about an Lambda function's configuration. type AwsLambdaFunctionDetails struct { _ struct{} `type:"structure"` // The instruction set architecture that the function uses. Valid values are // x86_64 or arm64. Architectures []*string `type:"list"` // An AwsLambdaFunctionCode object. Code *AwsLambdaFunctionCode `type:"structure"` // The SHA256 hash of the function's deployment package. CodeSha256 *string `type:"string"` // The function's dead letter queue. DeadLetterConfig *AwsLambdaFunctionDeadLetterConfig `type:"structure"` // The function's environment variables. Environment *AwsLambdaFunctionEnvironment `type:"structure"` // The name of the function. FunctionName *string `type:"string"` // The function that Lambda calls to begin executing your function. Handler *string `type:"string"` // The KMS key that is used to encrypt the function's environment variables. // This key is only returned if you've configured a customer managed customer // managed key. KmsKeyArn *string `type:"string"` // Indicates when the function was last updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastModified *string `type:"string"` // The function's layers. Layers []*AwsLambdaFunctionLayer `type:"list"` // For Lambda@Edge functions, the ARN of the master function. MasterArn *string `type:"string"` // The memory that is allocated to the function. MemorySize *int64 `type:"integer"` // The type of deployment package that's used to deploy the function code to // Lambda. Set to Image for a container image and Zip for a .zip file archive. PackageType *string `type:"string"` // The latest updated revision of the function or alias. RevisionId *string `type:"string"` // The function's execution role. Role *string `type:"string"` // The runtime environment for the Lambda function. Runtime *string `type:"string"` // The amount of time that Lambda allows a function to run before stopping it. Timeout *int64 `type:"integer"` // The function's X-Ray tracing configuration. TracingConfig *AwsLambdaFunctionTracingConfig `type:"structure"` // The version of the Lambda function. Version *string `type:"string"` // The function's networking configuration. VpcConfig *AwsLambdaFunctionVpcConfig `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionDetails) GoString() string { return s.String() } // SetArchitectures sets the Architectures field's value. func (s *AwsLambdaFunctionDetails) SetArchitectures(v []*string) *AwsLambdaFunctionDetails { s.Architectures = v return s } // SetCode sets the Code field's value. func (s *AwsLambdaFunctionDetails) SetCode(v *AwsLambdaFunctionCode) *AwsLambdaFunctionDetails { s.Code = v return s } // SetCodeSha256 sets the CodeSha256 field's value. func (s *AwsLambdaFunctionDetails) SetCodeSha256(v string) *AwsLambdaFunctionDetails { s.CodeSha256 = &v return s } // SetDeadLetterConfig sets the DeadLetterConfig field's value. func (s *AwsLambdaFunctionDetails) SetDeadLetterConfig(v *AwsLambdaFunctionDeadLetterConfig) *AwsLambdaFunctionDetails { s.DeadLetterConfig = v return s } // SetEnvironment sets the Environment field's value. func (s *AwsLambdaFunctionDetails) SetEnvironment(v *AwsLambdaFunctionEnvironment) *AwsLambdaFunctionDetails { s.Environment = v return s } // SetFunctionName sets the FunctionName field's value. func (s *AwsLambdaFunctionDetails) SetFunctionName(v string) *AwsLambdaFunctionDetails { s.FunctionName = &v return s } // SetHandler sets the Handler field's value. func (s *AwsLambdaFunctionDetails) SetHandler(v string) *AwsLambdaFunctionDetails { s.Handler = &v return s } // SetKmsKeyArn sets the KmsKeyArn field's value. func (s *AwsLambdaFunctionDetails) SetKmsKeyArn(v string) *AwsLambdaFunctionDetails { s.KmsKeyArn = &v return s } // SetLastModified sets the LastModified field's value. func (s *AwsLambdaFunctionDetails) SetLastModified(v string) *AwsLambdaFunctionDetails { s.LastModified = &v return s } // SetLayers sets the Layers field's value. func (s *AwsLambdaFunctionDetails) SetLayers(v []*AwsLambdaFunctionLayer) *AwsLambdaFunctionDetails { s.Layers = v return s } // SetMasterArn sets the MasterArn field's value. func (s *AwsLambdaFunctionDetails) SetMasterArn(v string) *AwsLambdaFunctionDetails { s.MasterArn = &v return s } // SetMemorySize sets the MemorySize field's value. func (s *AwsLambdaFunctionDetails) SetMemorySize(v int64) *AwsLambdaFunctionDetails { s.MemorySize = &v return s } // SetPackageType sets the PackageType field's value. func (s *AwsLambdaFunctionDetails) SetPackageType(v string) *AwsLambdaFunctionDetails { s.PackageType = &v return s } // SetRevisionId sets the RevisionId field's value. func (s *AwsLambdaFunctionDetails) SetRevisionId(v string) *AwsLambdaFunctionDetails { s.RevisionId = &v return s } // SetRole sets the Role field's value. func (s *AwsLambdaFunctionDetails) SetRole(v string) *AwsLambdaFunctionDetails { s.Role = &v return s } // SetRuntime sets the Runtime field's value. func (s *AwsLambdaFunctionDetails) SetRuntime(v string) *AwsLambdaFunctionDetails { s.Runtime = &v return s } // SetTimeout sets the Timeout field's value. func (s *AwsLambdaFunctionDetails) SetTimeout(v int64) *AwsLambdaFunctionDetails { s.Timeout = &v return s } // SetTracingConfig sets the TracingConfig field's value. func (s *AwsLambdaFunctionDetails) SetTracingConfig(v *AwsLambdaFunctionTracingConfig) *AwsLambdaFunctionDetails { s.TracingConfig = v return s } // SetVersion sets the Version field's value. func (s *AwsLambdaFunctionDetails) SetVersion(v string) *AwsLambdaFunctionDetails { s.Version = &v return s } // SetVpcConfig sets the VpcConfig field's value. func (s *AwsLambdaFunctionDetails) SetVpcConfig(v *AwsLambdaFunctionVpcConfig) *AwsLambdaFunctionDetails { s.VpcConfig = v return s } // A function's environment variable settings. type AwsLambdaFunctionEnvironment struct { _ struct{} `type:"structure"` // An AwsLambdaFunctionEnvironmentError object. Error *AwsLambdaFunctionEnvironmentError `type:"structure"` // Environment variable key-value pairs. Variables map[string]*string `type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionEnvironment) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionEnvironment) GoString() string { return s.String() } // SetError sets the Error field's value. func (s *AwsLambdaFunctionEnvironment) SetError(v *AwsLambdaFunctionEnvironmentError) *AwsLambdaFunctionEnvironment { s.Error = v return s } // SetVariables sets the Variables field's value. func (s *AwsLambdaFunctionEnvironment) SetVariables(v map[string]*string) *AwsLambdaFunctionEnvironment { s.Variables = v return s } // Error messages for environment variables that could not be applied. type AwsLambdaFunctionEnvironmentError struct { _ struct{} `type:"structure"` // The error code. ErrorCode *string `type:"string"` // The error message. Message *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionEnvironmentError) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionEnvironmentError) GoString() string { return s.String() } // SetErrorCode sets the ErrorCode field's value. func (s *AwsLambdaFunctionEnvironmentError) SetErrorCode(v string) *AwsLambdaFunctionEnvironmentError { s.ErrorCode = &v return s } // SetMessage sets the Message field's value. func (s *AwsLambdaFunctionEnvironmentError) SetMessage(v string) *AwsLambdaFunctionEnvironmentError { s.Message = &v return s } // An Lambda layer. type AwsLambdaFunctionLayer struct { _ struct{} `type:"structure"` // The ARN of the function layer. Arn *string `type:"string"` // The size of the layer archive in bytes. CodeSize *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionLayer) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionLayer) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsLambdaFunctionLayer) SetArn(v string) *AwsLambdaFunctionLayer { s.Arn = &v return s } // SetCodeSize sets the CodeSize field's value. func (s *AwsLambdaFunctionLayer) SetCodeSize(v int64) *AwsLambdaFunctionLayer { s.CodeSize = &v return s } // The function's X-Ray tracing configuration. type AwsLambdaFunctionTracingConfig struct { _ struct{} `type:"structure"` // The tracing mode. Mode *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionTracingConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionTracingConfig) GoString() string { return s.String() } // SetMode sets the Mode field's value. func (s *AwsLambdaFunctionTracingConfig) SetMode(v string) *AwsLambdaFunctionTracingConfig { s.Mode = &v return s } // The VPC security groups and subnets that are attached to a Lambda function. type AwsLambdaFunctionVpcConfig struct { _ struct{} `type:"structure"` // A list of VPC security groups IDs. SecurityGroupIds []*string `type:"list"` // A list of VPC subnet IDs. SubnetIds []*string `type:"list"` // The ID of the VPC. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionVpcConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaFunctionVpcConfig) GoString() string { return s.String() } // SetSecurityGroupIds sets the SecurityGroupIds field's value. func (s *AwsLambdaFunctionVpcConfig) SetSecurityGroupIds(v []*string) *AwsLambdaFunctionVpcConfig { s.SecurityGroupIds = v return s } // SetSubnetIds sets the SubnetIds field's value. func (s *AwsLambdaFunctionVpcConfig) SetSubnetIds(v []*string) *AwsLambdaFunctionVpcConfig { s.SubnetIds = v return s } // SetVpcId sets the VpcId field's value. func (s *AwsLambdaFunctionVpcConfig) SetVpcId(v string) *AwsLambdaFunctionVpcConfig { s.VpcId = &v return s } // Details about a Lambda layer version. type AwsLambdaLayerVersionDetails struct { _ struct{} `type:"structure"` // The layer's compatible function runtimes (path_to_url // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (path_to_url#runtime-support-policy) // in the Lambda Developer Guide. // // Array Members: Maximum number of 5 items. // // Valid Values: nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | // nodejs12.x | nodejs14.x | nodejs16.x | java8 | java8.al2 | java11 | python2.7 // | python3.6 | python3.7 | python3.8 | python3.9 | dotnetcore1.0 | dotnetcore2.0 // | dotnetcore2.1 | dotnetcore3.1 | dotnet6 | nodejs4.3-edge | go1.x | ruby2.5 // | ruby2.7 | provided | provided.al2 | nodejs18.x | python3.10 | java17 | // ruby3.2 | python3.11 | nodejs20.x | provided.al2023 | python3.12 | java21 CompatibleRuntimes []*string `type:"list"` // Indicates when the version was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedDate *string `type:"string"` // The version number. Version *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaLayerVersionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsLambdaLayerVersionDetails) GoString() string { return s.String() } // SetCompatibleRuntimes sets the CompatibleRuntimes field's value. func (s *AwsLambdaLayerVersionDetails) SetCompatibleRuntimes(v []*string) *AwsLambdaLayerVersionDetails { s.CompatibleRuntimes = v return s } // SetCreatedDate sets the CreatedDate field's value. func (s *AwsLambdaLayerVersionDetails) SetCreatedDate(v string) *AwsLambdaLayerVersionDetails { s.CreatedDate = &v return s } // SetVersion sets the Version field's value. func (s *AwsLambdaLayerVersionDetails) SetVersion(v int64) *AwsLambdaLayerVersionDetails { s.Version = &v return s } // Details for a volume mount point that's used in a container definition. type AwsMountPoint struct { _ struct{} `type:"structure"` // The path on the container to mount the host volume at. ContainerPath *string `type:"string"` // The name of the volume to mount. Must be a volume name referenced in the // name parameter of task definition volume. SourceVolume *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMountPoint) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMountPoint) GoString() string { return s.String() } // SetContainerPath sets the ContainerPath field's value. func (s *AwsMountPoint) SetContainerPath(v string) *AwsMountPoint { s.ContainerPath = &v return s } // SetSourceVolume sets the SourceVolume field's value. func (s *AwsMountPoint) SetSourceVolume(v string) *AwsMountPoint { s.SourceVolume = &v return s } // Provides details about different modes of client authentication. type AwsMskClusterClusterInfoClientAuthenticationDetails struct { _ struct{} `type:"structure"` // Provides details for client authentication using SASL. Sasl *AwsMskClusterClusterInfoClientAuthenticationSaslDetails `type:"structure"` // Provides details for client authentication using TLS. Tls *AwsMskClusterClusterInfoClientAuthenticationTlsDetails `type:"structure"` // Provides details for allowing no client authentication. Unauthenticated *your_sha256_hashls `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationDetails) GoString() string { return s.String() } // SetSasl sets the Sasl field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationDetails) SetSasl(v *AwsMskClusterClusterInfoClientAuthenticationSaslDetails) *AwsMskClusterClusterInfoClientAuthenticationDetails { s.Sasl = v return s } // SetTls sets the Tls field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationDetails) SetTls(v *AwsMskClusterClusterInfoClientAuthenticationTlsDetails) *AwsMskClusterClusterInfoClientAuthenticationDetails { s.Tls = v return s } // SetUnauthenticated sets the Unauthenticated field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationDetails) SetUnauthenticated(v *your_sha256_hashls) *AwsMskClusterClusterInfoClientAuthenticationDetails { s.Unauthenticated = v return s } // Provides details for client authentication using SASL. type AwsMskClusterClusterInfoClientAuthenticationSaslDetails struct { _ struct{} `type:"structure"` // Provides details for SASL client authentication using IAM. Iam *AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails `type:"structure"` // Details for SASL client authentication using SCRAM. Scram *AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationSaslDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationSaslDetails) GoString() string { return s.String() } // SetIam sets the Iam field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationSaslDetails) SetIam(v *AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails) *AwsMskClusterClusterInfoClientAuthenticationSaslDetails { s.Iam = v return s } // SetScram sets the Scram field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationSaslDetails) SetScram(v *AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails) *AwsMskClusterClusterInfoClientAuthenticationSaslDetails { s.Scram = v return s } // Details for SASL/IAM client authentication. type AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails struct { _ struct{} `type:"structure"` // Indicates whether SASL/IAM authentication is enabled or not. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails) SetEnabled(v bool) *AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails { s.Enabled = &v return s } // Details for SASL/SCRAM client authentication. type AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails struct { _ struct{} `type:"structure"` // Indicates whether SASL/SCRAM authentication is enabled or not. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails) SetEnabled(v bool) *AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails { s.Enabled = &v return s } // Provides details for client authentication using TLS. type AwsMskClusterClusterInfoClientAuthenticationTlsDetails struct { _ struct{} `type:"structure"` // List of Amazon Web Services Private CA Amazon Resource Names (ARNs). Amazon // Web Services Private CA enables creation of private certificate authority // (CA) hierarchies, including root and subordinate CAs, without the investment // and maintenance costs of operating an on-premises CA. CertificateAuthorityArnList []*string `type:"list"` // Indicates whether TLS authentication is enabled or not. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationTlsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoClientAuthenticationTlsDetails) GoString() string { return s.String() } // SetCertificateAuthorityArnList sets the CertificateAuthorityArnList field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationTlsDetails) SetCertificateAuthorityArnList(v []*string) *AwsMskClusterClusterInfoClientAuthenticationTlsDetails { s.CertificateAuthorityArnList = v return s } // SetEnabled sets the Enabled field's value. func (s *AwsMskClusterClusterInfoClientAuthenticationTlsDetails) SetEnabled(v bool) *AwsMskClusterClusterInfoClientAuthenticationTlsDetails { s.Enabled = &v return s } // Provides details for allowing no client authentication. type your_sha256_hashls struct { _ struct{} `type:"structure"` // Indicates whether unauthenticated is allowed or not. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *your_sha256_hashls) SetEnabled(v bool) *your_sha256_hashls { s.Enabled = &v return s } // Provide details about an Amazon Managed Streaming for Apache Kafka (Amazon // MSK) cluster. type AwsMskClusterClusterInfoDetails struct { _ struct{} `type:"structure"` // Provides information for different modes of client authentication. ClientAuthentication *AwsMskClusterClusterInfoClientAuthenticationDetails `type:"structure"` // The name of the cluster. ClusterName *string `type:"string"` // The current version of the cluster. CurrentVersion *string `type:"string"` // Includes encryption-related information, such as the KMS key used for encrypting // data at rest and whether you want Amazon MSK to encrypt your data in transit. EncryptionInfo *AwsMskClusterClusterInfoEncryptionInfoDetails `type:"structure"` // Specifies the level of monitoring for the cluster. EnhancedMonitoring *string `type:"string"` // The number of broker nodes in the cluster. NumberOfBrokerNodes *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoDetails) GoString() string { return s.String() } // SetClientAuthentication sets the ClientAuthentication field's value. func (s *AwsMskClusterClusterInfoDetails) SetClientAuthentication(v *AwsMskClusterClusterInfoClientAuthenticationDetails) *AwsMskClusterClusterInfoDetails { s.ClientAuthentication = v return s } // SetClusterName sets the ClusterName field's value. func (s *AwsMskClusterClusterInfoDetails) SetClusterName(v string) *AwsMskClusterClusterInfoDetails { s.ClusterName = &v return s } // SetCurrentVersion sets the CurrentVersion field's value. func (s *AwsMskClusterClusterInfoDetails) SetCurrentVersion(v string) *AwsMskClusterClusterInfoDetails { s.CurrentVersion = &v return s } // SetEncryptionInfo sets the EncryptionInfo field's value. func (s *AwsMskClusterClusterInfoDetails) SetEncryptionInfo(v *AwsMskClusterClusterInfoEncryptionInfoDetails) *AwsMskClusterClusterInfoDetails { s.EncryptionInfo = v return s } // SetEnhancedMonitoring sets the EnhancedMonitoring field's value. func (s *AwsMskClusterClusterInfoDetails) SetEnhancedMonitoring(v string) *AwsMskClusterClusterInfoDetails { s.EnhancedMonitoring = &v return s } // SetNumberOfBrokerNodes sets the NumberOfBrokerNodes field's value. func (s *AwsMskClusterClusterInfoDetails) SetNumberOfBrokerNodes(v int64) *AwsMskClusterClusterInfoDetails { s.NumberOfBrokerNodes = &v return s } // Includes encryption-related information, such as the KMS key used for encrypting // data at rest and whether you want MSK to encrypt your data in transit. type AwsMskClusterClusterInfoEncryptionInfoDetails struct { _ struct{} `type:"structure"` // The data-volume encryption details. You can't update encryption at rest settings // for existing clusters. EncryptionAtRest *AwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails `type:"structure"` // The settings for encrypting data in transit. EncryptionInTransit *your_sha256_hash `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoEncryptionInfoDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoEncryptionInfoDetails) GoString() string { return s.String() } // SetEncryptionAtRest sets the EncryptionAtRest field's value. func (s *AwsMskClusterClusterInfoEncryptionInfoDetails) SetEncryptionAtRest(v *AwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails) *AwsMskClusterClusterInfoEncryptionInfoDetails { s.EncryptionAtRest = v return s } // SetEncryptionInTransit sets the EncryptionInTransit field's value. func (s *AwsMskClusterClusterInfoEncryptionInfoDetails) SetEncryptionInTransit(v *your_sha256_hash) *AwsMskClusterClusterInfoEncryptionInfoDetails { s.EncryptionInTransit = v return s } // The data-volume encryption details. You can't update encryption at rest settings // for existing clusters. type AwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the KMS key for encrypting data at rest. // If you don't specify a KMS key, MSK creates one for you and uses it. DataVolumeKMSKeyId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails) GoString() string { return s.String() } // SetDataVolumeKMSKeyId sets the DataVolumeKMSKeyId field's value. func (s *AwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails) SetDataVolumeKMSKeyId(v string) *AwsMskClusterClusterInfoEncryptionInfoEncryptionAtRestDetails { s.DataVolumeKMSKeyId = &v return s } // The settings for encrypting data in transit. type your_sha256_hash struct { _ struct{} `type:"structure"` // Indicates the encryption setting for data in transit between clients and // brokers. ClientBroker *string `type:"string"` // When set to true, it indicates that data communication among the broker nodes // of the cluster is encrypted. When set to false, the communication happens // in plain text. The default value is true. InCluster *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hash) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hash) GoString() string { return s.String() } // SetClientBroker sets the ClientBroker field's value. func (s *your_sha256_hash) SetClientBroker(v string) *your_sha256_hash { s.ClientBroker = &v return s } // SetInCluster sets the InCluster field's value. func (s *your_sha256_hash) SetInCluster(v bool) *your_sha256_hash { s.InCluster = &v return s } // Provides details about an Amazon Managed Streaming for Apache Kafka (Amazon // MSK) cluster. type AwsMskClusterDetails struct { _ struct{} `type:"structure"` // Provides information about a cluster. ClusterInfo *AwsMskClusterClusterInfoDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsMskClusterDetails) GoString() string { return s.String() } // SetClusterInfo sets the ClusterInfo field's value. func (s *AwsMskClusterDetails) SetClusterInfo(v *AwsMskClusterClusterInfoDetails) *AwsMskClusterDetails { s.ClusterInfo = v return s } // Details about an Network Firewall firewall. type AwsNetworkFirewallFirewallDetails struct { _ struct{} `type:"structure"` // Whether the firewall is protected from deletion. If set to true, then the // firewall cannot be deleted. DeleteProtection *bool `type:"boolean"` // A description of the firewall. Description *string `type:"string"` // The ARN of the firewall. FirewallArn *string `type:"string"` // The identifier of the firewall. FirewallId *string `type:"string"` // A descriptive name of the firewall. FirewallName *string `type:"string"` // The ARN of the firewall policy. FirewallPolicyArn *string `type:"string"` // Whether the firewall is protected from a change to the firewall policy. If // set to true, you cannot associate a different policy with the firewall. FirewallPolicyChangeProtection *bool `type:"boolean"` // Whether the firewall is protected from a change to the subnet associations. // If set to true, you cannot map different subnets to the firewall. SubnetChangeProtection *bool `type:"boolean"` // The public subnets that Network Firewall uses for the firewall. Each subnet // must belong to a different Availability Zone. SubnetMappings []*AwsNetworkFirewallFirewallSubnetMappingsDetails `type:"list"` // The identifier of the VPC where the firewall is used. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallFirewallDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallFirewallDetails) GoString() string { return s.String() } // SetDeleteProtection sets the DeleteProtection field's value. func (s *AwsNetworkFirewallFirewallDetails) SetDeleteProtection(v bool) *AwsNetworkFirewallFirewallDetails { s.DeleteProtection = &v return s } // SetDescription sets the Description field's value. func (s *AwsNetworkFirewallFirewallDetails) SetDescription(v string) *AwsNetworkFirewallFirewallDetails { s.Description = &v return s } // SetFirewallArn sets the FirewallArn field's value. func (s *AwsNetworkFirewallFirewallDetails) SetFirewallArn(v string) *AwsNetworkFirewallFirewallDetails { s.FirewallArn = &v return s } // SetFirewallId sets the FirewallId field's value. func (s *AwsNetworkFirewallFirewallDetails) SetFirewallId(v string) *AwsNetworkFirewallFirewallDetails { s.FirewallId = &v return s } // SetFirewallName sets the FirewallName field's value. func (s *AwsNetworkFirewallFirewallDetails) SetFirewallName(v string) *AwsNetworkFirewallFirewallDetails { s.FirewallName = &v return s } // SetFirewallPolicyArn sets the FirewallPolicyArn field's value. func (s *AwsNetworkFirewallFirewallDetails) SetFirewallPolicyArn(v string) *AwsNetworkFirewallFirewallDetails { s.FirewallPolicyArn = &v return s } // SetFirewallPolicyChangeProtection sets the FirewallPolicyChangeProtection field's value. func (s *AwsNetworkFirewallFirewallDetails) SetFirewallPolicyChangeProtection(v bool) *AwsNetworkFirewallFirewallDetails { s.FirewallPolicyChangeProtection = &v return s } // SetSubnetChangeProtection sets the SubnetChangeProtection field's value. func (s *AwsNetworkFirewallFirewallDetails) SetSubnetChangeProtection(v bool) *AwsNetworkFirewallFirewallDetails { s.SubnetChangeProtection = &v return s } // SetSubnetMappings sets the SubnetMappings field's value. func (s *AwsNetworkFirewallFirewallDetails) SetSubnetMappings(v []*AwsNetworkFirewallFirewallSubnetMappingsDetails) *AwsNetworkFirewallFirewallDetails { s.SubnetMappings = v return s } // SetVpcId sets the VpcId field's value. func (s *AwsNetworkFirewallFirewallDetails) SetVpcId(v string) *AwsNetworkFirewallFirewallDetails { s.VpcId = &v return s } // Details about a firewall policy. A firewall policy defines the behavior of // a network firewall. type AwsNetworkFirewallFirewallPolicyDetails struct { _ struct{} `type:"structure"` // A description of the firewall policy. Description *string `type:"string"` // The firewall policy configuration. FirewallPolicy *FirewallPolicyDetails `type:"structure"` // The ARN of the firewall policy. FirewallPolicyArn *string `type:"string"` // The identifier of the firewall policy. FirewallPolicyId *string `type:"string"` // The name of the firewall policy. FirewallPolicyName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallFirewallPolicyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallFirewallPolicyDetails) GoString() string { return s.String() } // SetDescription sets the Description field's value. func (s *AwsNetworkFirewallFirewallPolicyDetails) SetDescription(v string) *AwsNetworkFirewallFirewallPolicyDetails { s.Description = &v return s } // SetFirewallPolicy sets the FirewallPolicy field's value. func (s *AwsNetworkFirewallFirewallPolicyDetails) SetFirewallPolicy(v *FirewallPolicyDetails) *AwsNetworkFirewallFirewallPolicyDetails { s.FirewallPolicy = v return s } // SetFirewallPolicyArn sets the FirewallPolicyArn field's value. func (s *AwsNetworkFirewallFirewallPolicyDetails) SetFirewallPolicyArn(v string) *AwsNetworkFirewallFirewallPolicyDetails { s.FirewallPolicyArn = &v return s } // SetFirewallPolicyId sets the FirewallPolicyId field's value. func (s *AwsNetworkFirewallFirewallPolicyDetails) SetFirewallPolicyId(v string) *AwsNetworkFirewallFirewallPolicyDetails { s.FirewallPolicyId = &v return s } // SetFirewallPolicyName sets the FirewallPolicyName field's value. func (s *AwsNetworkFirewallFirewallPolicyDetails) SetFirewallPolicyName(v string) *AwsNetworkFirewallFirewallPolicyDetails { s.FirewallPolicyName = &v return s } // A public subnet that Network Firewall uses for the firewall. type AwsNetworkFirewallFirewallSubnetMappingsDetails struct { _ struct{} `type:"structure"` // The identifier of the subnet SubnetId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallFirewallSubnetMappingsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallFirewallSubnetMappingsDetails) GoString() string { return s.String() } // SetSubnetId sets the SubnetId field's value. func (s *AwsNetworkFirewallFirewallSubnetMappingsDetails) SetSubnetId(v string) *AwsNetworkFirewallFirewallSubnetMappingsDetails { s.SubnetId = &v return s } // Details about an Network Firewall rule group. Rule groups are used to inspect // and control network traffic. Stateless rule groups apply to individual packets. // Stateful rule groups apply to packets in the context of their traffic flow. // // Rule groups are referenced in firewall policies. type AwsNetworkFirewallRuleGroupDetails struct { _ struct{} `type:"structure"` // The maximum number of operating resources that this rule group can use. Capacity *int64 `type:"integer"` // A description of the rule group. Description *string `type:"string"` // Details about the rule group. RuleGroup *RuleGroupDetails `type:"structure"` // The ARN of the rule group. RuleGroupArn *string `type:"string"` // The identifier of the rule group. RuleGroupId *string `type:"string"` // The descriptive name of the rule group. RuleGroupName *string `type:"string"` // The type of rule group. A rule group can be stateful or stateless. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallRuleGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsNetworkFirewallRuleGroupDetails) GoString() string { return s.String() } // SetCapacity sets the Capacity field's value. func (s *AwsNetworkFirewallRuleGroupDetails) SetCapacity(v int64) *AwsNetworkFirewallRuleGroupDetails { s.Capacity = &v return s } // SetDescription sets the Description field's value. func (s *AwsNetworkFirewallRuleGroupDetails) SetDescription(v string) *AwsNetworkFirewallRuleGroupDetails { s.Description = &v return s } // SetRuleGroup sets the RuleGroup field's value. func (s *AwsNetworkFirewallRuleGroupDetails) SetRuleGroup(v *RuleGroupDetails) *AwsNetworkFirewallRuleGroupDetails { s.RuleGroup = v return s } // SetRuleGroupArn sets the RuleGroupArn field's value. func (s *AwsNetworkFirewallRuleGroupDetails) SetRuleGroupArn(v string) *AwsNetworkFirewallRuleGroupDetails { s.RuleGroupArn = &v return s } // SetRuleGroupId sets the RuleGroupId field's value. func (s *AwsNetworkFirewallRuleGroupDetails) SetRuleGroupId(v string) *AwsNetworkFirewallRuleGroupDetails { s.RuleGroupId = &v return s } // SetRuleGroupName sets the RuleGroupName field's value. func (s *AwsNetworkFirewallRuleGroupDetails) SetRuleGroupName(v string) *AwsNetworkFirewallRuleGroupDetails { s.RuleGroupName = &v return s } // SetType sets the Type field's value. func (s *AwsNetworkFirewallRuleGroupDetails) SetType(v string) *AwsNetworkFirewallRuleGroupDetails { s.Type = &v return s } // Provides information about domain access control options. type AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails struct { _ struct{} `type:"structure"` // Enables fine-grained access control. Enabled *bool `type:"boolean"` // Enables the internal user database. InternalUserDatabaseEnabled *bool `type:"boolean"` // Specifies information about the master user of the domain. MasterUserOptions *AwsOpenSearchServiceDomainMasterUserOptionsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails) SetEnabled(v bool) *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails { s.Enabled = &v return s } // SetInternalUserDatabaseEnabled sets the InternalUserDatabaseEnabled field's value. func (s *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails) SetInternalUserDatabaseEnabled(v bool) *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails { s.InternalUserDatabaseEnabled = &v return s } // SetMasterUserOptions sets the MasterUserOptions field's value. func (s *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails) SetMasterUserOptions(v *AwsOpenSearchServiceDomainMasterUserOptionsDetails) *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails { s.MasterUserOptions = v return s } // Details about the configuration of an OpenSearch cluster. type AwsOpenSearchServiceDomainClusterConfigDetails struct { _ struct{} `type:"structure"` // The number of instances to use for the master node. If this attribute is // specified, then DedicatedMasterEnabled must be true. DedicatedMasterCount *int64 `type:"integer"` // Whether to use a dedicated master node for the OpenSearch domain. A dedicated // master node performs cluster management tasks, but does not hold data or // respond to data upload requests. DedicatedMasterEnabled *bool `type:"boolean"` // The hardware configuration of the computer that hosts the dedicated master // node. // // If this attribute is specified, then DedicatedMasterEnabled must be true. DedicatedMasterType *string `type:"string"` // The number of data nodes to use in the OpenSearch domain. InstanceCount *int64 `type:"integer"` // The instance type for your data nodes. // // For a list of valid values, see Supported instance types in Amazon OpenSearch // Service (path_to_url // in the Amazon OpenSearch Service Developer Guide. InstanceType *string `type:"string"` // The number of UltraWarm instances. WarmCount *int64 `type:"integer"` // Whether UltraWarm is enabled. WarmEnabled *bool `type:"boolean"` // The type of UltraWarm instance. WarmType *string `type:"string"` // Configuration options for zone awareness. Provided if ZoneAwarenessEnabled // is true. ZoneAwarenessConfig *your_sha256_hashs `type:"structure"` // Whether to enable zone awareness for the OpenSearch domain. When zone awareness // is enabled, OpenSearch Service allocates the cluster's nodes and replica // index shards across Availability Zones (AZs) in the same Region. This prevents // data loss and minimizes downtime if a node or data center fails. ZoneAwarenessEnabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainClusterConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainClusterConfigDetails) GoString() string { return s.String() } // SetDedicatedMasterCount sets the DedicatedMasterCount field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetDedicatedMasterCount(v int64) *AwsOpenSearchServiceDomainClusterConfigDetails { s.DedicatedMasterCount = &v return s } // SetDedicatedMasterEnabled sets the DedicatedMasterEnabled field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetDedicatedMasterEnabled(v bool) *AwsOpenSearchServiceDomainClusterConfigDetails { s.DedicatedMasterEnabled = &v return s } // SetDedicatedMasterType sets the DedicatedMasterType field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetDedicatedMasterType(v string) *AwsOpenSearchServiceDomainClusterConfigDetails { s.DedicatedMasterType = &v return s } // SetInstanceCount sets the InstanceCount field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetInstanceCount(v int64) *AwsOpenSearchServiceDomainClusterConfigDetails { s.InstanceCount = &v return s } // SetInstanceType sets the InstanceType field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetInstanceType(v string) *AwsOpenSearchServiceDomainClusterConfigDetails { s.InstanceType = &v return s } // SetWarmCount sets the WarmCount field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetWarmCount(v int64) *AwsOpenSearchServiceDomainClusterConfigDetails { s.WarmCount = &v return s } // SetWarmEnabled sets the WarmEnabled field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetWarmEnabled(v bool) *AwsOpenSearchServiceDomainClusterConfigDetails { s.WarmEnabled = &v return s } // SetWarmType sets the WarmType field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetWarmType(v string) *AwsOpenSearchServiceDomainClusterConfigDetails { s.WarmType = &v return s } // SetZoneAwarenessConfig sets the ZoneAwarenessConfig field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetZoneAwarenessConfig(v *your_sha256_hashs) *AwsOpenSearchServiceDomainClusterConfigDetails { s.ZoneAwarenessConfig = v return s } // SetZoneAwarenessEnabled sets the ZoneAwarenessEnabled field's value. func (s *AwsOpenSearchServiceDomainClusterConfigDetails) SetZoneAwarenessEnabled(v bool) *AwsOpenSearchServiceDomainClusterConfigDetails { s.ZoneAwarenessEnabled = &v return s } // Configuration options for zone awareness. type your_sha256_hashs struct { _ struct{} `type:"structure"` // The number of Availability Zones that the domain uses. Valid values are 2 // or 3. The default is 2. AvailabilityZoneCount *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashs) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashs) GoString() string { return s.String() } // SetAvailabilityZoneCount sets the AvailabilityZoneCount field's value. func (s *your_sha256_hashs) SetAvailabilityZoneCount(v int64) *your_sha256_hashs { s.AvailabilityZoneCount = &v return s } // Information about an Amazon OpenSearch Service domain. type AwsOpenSearchServiceDomainDetails struct { _ struct{} `type:"structure"` // IAM policy document that specifies the access policies for the OpenSearch // Service domain. AccessPolicies *string `type:"string"` // Specifies options for fine-grained access control. AdvancedSecurityOptions *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails `type:"structure"` // The ARN of the OpenSearch Service domain. Arn *string `type:"string"` // Details about the configuration of an OpenSearch cluster. ClusterConfig *AwsOpenSearchServiceDomainClusterConfigDetails `type:"structure"` // The domain endpoint. DomainEndpoint *string `type:"string"` // Additional options for the domain endpoint. DomainEndpointOptions *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails `type:"structure"` // The domain endpoints. Used if the OpenSearch domain resides in a VPC. // // This is a map of key-value pairs. The key is always vpc. The value is the // endpoint. DomainEndpoints map[string]*string `type:"map"` // The name of the endpoint. DomainName *string `type:"string"` // Details about the configuration for encryption at rest. EncryptionAtRestOptions *AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails `type:"structure"` // The version of the domain engine. EngineVersion *string `type:"string"` // The identifier of the domain. Id *string `type:"string"` // Configures the CloudWatch Logs to publish for the OpenSearch domain. LogPublishingOptions *AwsOpenSearchServiceDomainLogPublishingOptionsDetails `type:"structure"` // Details about the configuration for node-to-node encryption. NodeToNodeEncryptionOptions *AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails `type:"structure"` // Information about the status of a domain relative to the latest service software. ServiceSoftwareOptions *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails `type:"structure"` // Information that OpenSearch Service derives based on VPCOptions for the domain. VpcOptions *AwsOpenSearchServiceDomainVpcOptionsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainDetails) GoString() string { return s.String() } // SetAccessPolicies sets the AccessPolicies field's value. func (s *AwsOpenSearchServiceDomainDetails) SetAccessPolicies(v string) *AwsOpenSearchServiceDomainDetails { s.AccessPolicies = &v return s } // SetAdvancedSecurityOptions sets the AdvancedSecurityOptions field's value. func (s *AwsOpenSearchServiceDomainDetails) SetAdvancedSecurityOptions(v *AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails) *AwsOpenSearchServiceDomainDetails { s.AdvancedSecurityOptions = v return s } // SetArn sets the Arn field's value. func (s *AwsOpenSearchServiceDomainDetails) SetArn(v string) *AwsOpenSearchServiceDomainDetails { s.Arn = &v return s } // SetClusterConfig sets the ClusterConfig field's value. func (s *AwsOpenSearchServiceDomainDetails) SetClusterConfig(v *AwsOpenSearchServiceDomainClusterConfigDetails) *AwsOpenSearchServiceDomainDetails { s.ClusterConfig = v return s } // SetDomainEndpoint sets the DomainEndpoint field's value. func (s *AwsOpenSearchServiceDomainDetails) SetDomainEndpoint(v string) *AwsOpenSearchServiceDomainDetails { s.DomainEndpoint = &v return s } // SetDomainEndpointOptions sets the DomainEndpointOptions field's value. func (s *AwsOpenSearchServiceDomainDetails) SetDomainEndpointOptions(v *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) *AwsOpenSearchServiceDomainDetails { s.DomainEndpointOptions = v return s } // SetDomainEndpoints sets the DomainEndpoints field's value. func (s *AwsOpenSearchServiceDomainDetails) SetDomainEndpoints(v map[string]*string) *AwsOpenSearchServiceDomainDetails { s.DomainEndpoints = v return s } // SetDomainName sets the DomainName field's value. func (s *AwsOpenSearchServiceDomainDetails) SetDomainName(v string) *AwsOpenSearchServiceDomainDetails { s.DomainName = &v return s } // SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. func (s *AwsOpenSearchServiceDomainDetails) SetEncryptionAtRestOptions(v *AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails) *AwsOpenSearchServiceDomainDetails { s.EncryptionAtRestOptions = v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsOpenSearchServiceDomainDetails) SetEngineVersion(v string) *AwsOpenSearchServiceDomainDetails { s.EngineVersion = &v return s } // SetId sets the Id field's value. func (s *AwsOpenSearchServiceDomainDetails) SetId(v string) *AwsOpenSearchServiceDomainDetails { s.Id = &v return s } // SetLogPublishingOptions sets the LogPublishingOptions field's value. func (s *AwsOpenSearchServiceDomainDetails) SetLogPublishingOptions(v *AwsOpenSearchServiceDomainLogPublishingOptionsDetails) *AwsOpenSearchServiceDomainDetails { s.LogPublishingOptions = v return s } // SetNodeToNodeEncryptionOptions sets the NodeToNodeEncryptionOptions field's value. func (s *AwsOpenSearchServiceDomainDetails) SetNodeToNodeEncryptionOptions(v *AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails) *AwsOpenSearchServiceDomainDetails { s.NodeToNodeEncryptionOptions = v return s } // SetServiceSoftwareOptions sets the ServiceSoftwareOptions field's value. func (s *AwsOpenSearchServiceDomainDetails) SetServiceSoftwareOptions(v *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) *AwsOpenSearchServiceDomainDetails { s.ServiceSoftwareOptions = v return s } // SetVpcOptions sets the VpcOptions field's value. func (s *AwsOpenSearchServiceDomainDetails) SetVpcOptions(v *AwsOpenSearchServiceDomainVpcOptionsDetails) *AwsOpenSearchServiceDomainDetails { s.VpcOptions = v return s } // Information about additional options for the domain endpoint. type AwsOpenSearchServiceDomainDomainEndpointOptionsDetails struct { _ struct{} `type:"structure"` // The fully qualified URL for the custom endpoint. CustomEndpoint *string `type:"string"` // The ARN for the security certificate. The certificate is managed in ACM. CustomEndpointCertificateArn *string `type:"string"` // Whether to enable a custom endpoint for the domain. CustomEndpointEnabled *bool `type:"boolean"` // Whether to require that all traffic to the domain arrive over HTTPS. EnforceHTTPS *bool `type:"boolean"` // The TLS security policy to apply to the HTTPS endpoint of the OpenSearch // domain. TLSSecurityPolicy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) GoString() string { return s.String() } // SetCustomEndpoint sets the CustomEndpoint field's value. func (s *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) SetCustomEndpoint(v string) *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails { s.CustomEndpoint = &v return s } // SetCustomEndpointCertificateArn sets the CustomEndpointCertificateArn field's value. func (s *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) SetCustomEndpointCertificateArn(v string) *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails { s.CustomEndpointCertificateArn = &v return s } // SetCustomEndpointEnabled sets the CustomEndpointEnabled field's value. func (s *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) SetCustomEndpointEnabled(v bool) *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails { s.CustomEndpointEnabled = &v return s } // SetEnforceHTTPS sets the EnforceHTTPS field's value. func (s *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) SetEnforceHTTPS(v bool) *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails { s.EnforceHTTPS = &v return s } // SetTLSSecurityPolicy sets the TLSSecurityPolicy field's value. func (s *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails) SetTLSSecurityPolicy(v string) *AwsOpenSearchServiceDomainDomainEndpointOptionsDetails { s.TLSSecurityPolicy = &v return s } // Details about the configuration for encryption at rest for the OpenSearch // domain. type AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails struct { _ struct{} `type:"structure"` // Whether encryption at rest is enabled. Enabled *bool `type:"boolean"` // The KMS key ID. KmsKeyId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails) SetEnabled(v bool) *AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails { s.Enabled = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails) SetKmsKeyId(v string) *AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails { s.KmsKeyId = &v return s } // Configuration details for a log publishing option. type AwsOpenSearchServiceDomainLogPublishingOption struct { _ struct{} `type:"structure"` // The ARN of the CloudWatch Logs group to publish the logs to. CloudWatchLogsLogGroupArn *string `type:"string"` // Whether the log publishing is enabled. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainLogPublishingOption) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainLogPublishingOption) GoString() string { return s.String() } // SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. func (s *AwsOpenSearchServiceDomainLogPublishingOption) SetCloudWatchLogsLogGroupArn(v string) *AwsOpenSearchServiceDomainLogPublishingOption { s.CloudWatchLogsLogGroupArn = &v return s } // SetEnabled sets the Enabled field's value. func (s *AwsOpenSearchServiceDomainLogPublishingOption) SetEnabled(v bool) *AwsOpenSearchServiceDomainLogPublishingOption { s.Enabled = &v return s } // Configures the CloudWatch Logs to publish for the OpenSearch domain. type AwsOpenSearchServiceDomainLogPublishingOptionsDetails struct { _ struct{} `type:"structure"` // Configures the OpenSearch audit logs publishing. AuditLogs *AwsOpenSearchServiceDomainLogPublishingOption `type:"structure"` // Configures the OpenSearch index logs publishing. IndexSlowLogs *AwsOpenSearchServiceDomainLogPublishingOption `type:"structure"` // Configures the OpenSearch search slow log publishing. SearchSlowLogs *AwsOpenSearchServiceDomainLogPublishingOption `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainLogPublishingOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainLogPublishingOptionsDetails) GoString() string { return s.String() } // SetAuditLogs sets the AuditLogs field's value. func (s *AwsOpenSearchServiceDomainLogPublishingOptionsDetails) SetAuditLogs(v *AwsOpenSearchServiceDomainLogPublishingOption) *AwsOpenSearchServiceDomainLogPublishingOptionsDetails { s.AuditLogs = v return s } // SetIndexSlowLogs sets the IndexSlowLogs field's value. func (s *AwsOpenSearchServiceDomainLogPublishingOptionsDetails) SetIndexSlowLogs(v *AwsOpenSearchServiceDomainLogPublishingOption) *AwsOpenSearchServiceDomainLogPublishingOptionsDetails { s.IndexSlowLogs = v return s } // SetSearchSlowLogs sets the SearchSlowLogs field's value. func (s *AwsOpenSearchServiceDomainLogPublishingOptionsDetails) SetSearchSlowLogs(v *AwsOpenSearchServiceDomainLogPublishingOption) *AwsOpenSearchServiceDomainLogPublishingOptionsDetails { s.SearchSlowLogs = v return s } // Specifies information about the master user of the domain. type AwsOpenSearchServiceDomainMasterUserOptionsDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) for the master user. MasterUserArn *string `type:"string"` // The username for the master user. MasterUserName *string `type:"string"` // The password for the master user. MasterUserPassword *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainMasterUserOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainMasterUserOptionsDetails) GoString() string { return s.String() } // SetMasterUserArn sets the MasterUserArn field's value. func (s *AwsOpenSearchServiceDomainMasterUserOptionsDetails) SetMasterUserArn(v string) *AwsOpenSearchServiceDomainMasterUserOptionsDetails { s.MasterUserArn = &v return s } // SetMasterUserName sets the MasterUserName field's value. func (s *AwsOpenSearchServiceDomainMasterUserOptionsDetails) SetMasterUserName(v string) *AwsOpenSearchServiceDomainMasterUserOptionsDetails { s.MasterUserName = &v return s } // SetMasterUserPassword sets the MasterUserPassword field's value. func (s *AwsOpenSearchServiceDomainMasterUserOptionsDetails) SetMasterUserPassword(v string) *AwsOpenSearchServiceDomainMasterUserOptionsDetails { s.MasterUserPassword = &v return s } // Provides details about the configuration for node-to-node encryption. type AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails struct { _ struct{} `type:"structure"` // Whether node-to-node encryption is enabled. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails) SetEnabled(v bool) *AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails { s.Enabled = &v return s } // Provides information about the state of the domain relative to the latest // service software. type AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails struct { _ struct{} `type:"structure"` // The epoch time when the deployment window closes for required updates. After // this time, OpenSearch Service schedules the software upgrade automatically. AutomatedUpdateDate *string `type:"string"` // Whether a request to update the domain can be canceled. Cancellable *bool `type:"boolean"` // The version of the service software that is currently installed on the domain. CurrentVersion *string `type:"string"` // A more detailed description of the service software status. Description *string `type:"string"` // The most recent version of the service software. NewVersion *string `type:"string"` // Whether the service software update is optional. OptionalDeployment *bool `type:"boolean"` // Whether a service software update is available for the domain. UpdateAvailable *bool `type:"boolean"` // The status of the service software update. Valid values are as follows: // // * COMPLETED // // * ELIGIBLE // // * IN_PROGRESS // // * NOT_ELIGIBLE // // * PENDING_UPDATE UpdateStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) GoString() string { return s.String() } // SetAutomatedUpdateDate sets the AutomatedUpdateDate field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetAutomatedUpdateDate(v string) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.AutomatedUpdateDate = &v return s } // SetCancellable sets the Cancellable field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetCancellable(v bool) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.Cancellable = &v return s } // SetCurrentVersion sets the CurrentVersion field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetCurrentVersion(v string) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.CurrentVersion = &v return s } // SetDescription sets the Description field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetDescription(v string) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.Description = &v return s } // SetNewVersion sets the NewVersion field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetNewVersion(v string) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.NewVersion = &v return s } // SetOptionalDeployment sets the OptionalDeployment field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetOptionalDeployment(v bool) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.OptionalDeployment = &v return s } // SetUpdateAvailable sets the UpdateAvailable field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetUpdateAvailable(v bool) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.UpdateAvailable = &v return s } // SetUpdateStatus sets the UpdateStatus field's value. func (s *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails) SetUpdateStatus(v string) *AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { s.UpdateStatus = &v return s } // Contains information that OpenSearch Service derives based on the VPCOptions // for the domain. type AwsOpenSearchServiceDomainVpcOptionsDetails struct { _ struct{} `type:"structure"` // The list of security group IDs that are associated with the VPC endpoints // for the domain. SecurityGroupIds []*string `type:"list"` // A list of subnet IDs that are associated with the VPC endpoints for the domain. SubnetIds []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainVpcOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsOpenSearchServiceDomainVpcOptionsDetails) GoString() string { return s.String() } // SetSecurityGroupIds sets the SecurityGroupIds field's value. func (s *AwsOpenSearchServiceDomainVpcOptionsDetails) SetSecurityGroupIds(v []*string) *AwsOpenSearchServiceDomainVpcOptionsDetails { s.SecurityGroupIds = v return s } // SetSubnetIds sets the SubnetIds field's value. func (s *AwsOpenSearchServiceDomainVpcOptionsDetails) SetSubnetIds(v []*string) *AwsOpenSearchServiceDomainVpcOptionsDetails { s.SubnetIds = v return s } // An IAM role that is associated with the Amazon RDS DB cluster. type AwsRdsDbClusterAssociatedRole struct { _ struct{} `type:"structure"` // The ARN of the IAM role. RoleArn *string `type:"string"` // The status of the association between the IAM role and the DB cluster. Valid // values are as follows: // // * ACTIVE // // * INVALID // // * PENDING Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterAssociatedRole) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterAssociatedRole) GoString() string { return s.String() } // SetRoleArn sets the RoleArn field's value. func (s *AwsRdsDbClusterAssociatedRole) SetRoleArn(v string) *AwsRdsDbClusterAssociatedRole { s.RoleArn = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbClusterAssociatedRole) SetStatus(v string) *AwsRdsDbClusterAssociatedRole { s.Status = &v return s } // Information about an Amazon RDS DB cluster. type AwsRdsDbClusterDetails struct { _ struct{} `type:"structure"` // The status of the database activity stream. Valid values are as follows: // // * started // // * starting // // * stopped // // * stopping ActivityStreamStatus *string `type:"string"` // For all database engines except Aurora, specifies the allocated storage size // in gibibytes (GiB). AllocatedStorage *int64 `type:"integer"` // A list of the IAM roles that are associated with the DB cluster. AssociatedRoles []*AwsRdsDbClusterAssociatedRole `type:"list"` // Indicates if minor version upgrades are automatically applied to the cluster. AutoMinorVersionUpgrade *bool `type:"boolean"` // A list of Availability Zones (AZs) where instances in the DB cluster can // be created. AvailabilityZones []*string `type:"list"` // The number of days for which automated backups are retained. BackupRetentionPeriod *int64 `type:"integer"` // Indicates when the DB cluster was created, in Universal Coordinated Time // (UTC). // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ClusterCreateTime *string `type:"string"` // Whether tags are copied from the DB cluster to snapshots of the DB cluster. CopyTagsToSnapshot *bool `type:"boolean"` // Whether the DB cluster is a clone of a DB cluster owned by a different Amazon // Web Services account. CrossAccountClone *bool `type:"boolean"` // A list of custom endpoints for the DB cluster. CustomEndpoints []*string `type:"list"` // The name of the database. DatabaseName *string `type:"string"` // The DB cluster identifier that the user assigned to the cluster. This identifier // is the unique key that identifies a DB cluster. DbClusterIdentifier *string `type:"string"` // The list of instances that make up the DB cluster. DbClusterMembers []*AwsRdsDbClusterMember `type:"list"` // The list of option group memberships for this DB cluster. DbClusterOptionGroupMemberships []*AwsRdsDbClusterOptionGroupMembership `type:"list"` // The name of the DB cluster parameter group for the DB cluster. DbClusterParameterGroup *string `type:"string"` // The identifier of the DB cluster. The identifier must be unique within each // Amazon Web Services Region and is immutable. DbClusterResourceId *string `type:"string"` // The subnet group that is associated with the DB cluster, including the name, // description, and subnets in the subnet group. DbSubnetGroup *string `type:"string"` // Whether the DB cluster has deletion protection enabled. DeletionProtection *bool `type:"boolean"` // The Active Directory domain membership records that are associated with the // DB cluster. DomainMemberships []*AwsRdsDbDomainMembership `type:"list"` // A list of log types that this DB cluster is configured to export to CloudWatch // Logs. EnabledCloudWatchLogsExports []*string `type:"list"` // The connection endpoint for the primary instance of the DB cluster. Endpoint *string `type:"string"` // The name of the database engine to use for this DB cluster. Valid values // are as follows: // // * aurora // // * aurora-mysql // // * aurora-postgresql Engine *string `type:"string"` // The database engine mode of the DB cluster.Valid values are as follows: // // * global // // * multimaster // // * parallelquery // // * provisioned // // * serverless EngineMode *string `type:"string"` // The version number of the database engine to use. EngineVersion *string `type:"string"` // Specifies the identifier that Amazon Route 53 assigns when you create a hosted // zone. HostedZoneId *string `type:"string"` // Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled. HttpEndpointEnabled *bool `type:"boolean"` // Whether the mapping of IAM accounts to database accounts is enabled. IamDatabaseAuthenticationEnabled *bool `type:"boolean"` // The ARN of the KMS master key that is used to encrypt the database instances // in the DB cluster. KmsKeyId *string `type:"string"` // The name of the master user for the DB cluster. MasterUsername *string `type:"string"` // Whether the DB cluster has instances in multiple Availability Zones. MultiAz *bool `type:"boolean"` // The port number on which the DB instances in the DB cluster accept connections. Port *int64 `type:"integer"` // The range of time each day when automated backups are created, if automated // backups are enabled. // // Uses the format HH:MM-HH:MM. For example, 04:52-05:22. PreferredBackupWindow *string `type:"string"` // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). // // Uses the format <day>:HH:MM-<day>:HH:MM. // // For the day values, use mon|tue|wed|thu|fri|sat|sun. // // For example, sun:09:32-sun:10:02. PreferredMaintenanceWindow *string `type:"string"` // The identifiers of the read replicas that are associated with this DB cluster. ReadReplicaIdentifiers []*string `type:"list"` // The reader endpoint for the DB cluster. ReaderEndpoint *string `type:"string"` // The current status of this DB cluster. Status *string `type:"string"` // Whether the DB cluster is encrypted. StorageEncrypted *bool `type:"boolean"` // A list of VPC security groups that the DB cluster belongs to. VpcSecurityGroups []*AwsRdsDbInstanceVpcSecurityGroup `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterDetails) GoString() string { return s.String() } // SetActivityStreamStatus sets the ActivityStreamStatus field's value. func (s *AwsRdsDbClusterDetails) SetActivityStreamStatus(v string) *AwsRdsDbClusterDetails { s.ActivityStreamStatus = &v return s } // SetAllocatedStorage sets the AllocatedStorage field's value. func (s *AwsRdsDbClusterDetails) SetAllocatedStorage(v int64) *AwsRdsDbClusterDetails { s.AllocatedStorage = &v return s } // SetAssociatedRoles sets the AssociatedRoles field's value. func (s *AwsRdsDbClusterDetails) SetAssociatedRoles(v []*AwsRdsDbClusterAssociatedRole) *AwsRdsDbClusterDetails { s.AssociatedRoles = v return s } // SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. func (s *AwsRdsDbClusterDetails) SetAutoMinorVersionUpgrade(v bool) *AwsRdsDbClusterDetails { s.AutoMinorVersionUpgrade = &v return s } // SetAvailabilityZones sets the AvailabilityZones field's value. func (s *AwsRdsDbClusterDetails) SetAvailabilityZones(v []*string) *AwsRdsDbClusterDetails { s.AvailabilityZones = v return s } // SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. func (s *AwsRdsDbClusterDetails) SetBackupRetentionPeriod(v int64) *AwsRdsDbClusterDetails { s.BackupRetentionPeriod = &v return s } // SetClusterCreateTime sets the ClusterCreateTime field's value. func (s *AwsRdsDbClusterDetails) SetClusterCreateTime(v string) *AwsRdsDbClusterDetails { s.ClusterCreateTime = &v return s } // SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. func (s *AwsRdsDbClusterDetails) SetCopyTagsToSnapshot(v bool) *AwsRdsDbClusterDetails { s.CopyTagsToSnapshot = &v return s } // SetCrossAccountClone sets the CrossAccountClone field's value. func (s *AwsRdsDbClusterDetails) SetCrossAccountClone(v bool) *AwsRdsDbClusterDetails { s.CrossAccountClone = &v return s } // SetCustomEndpoints sets the CustomEndpoints field's value. func (s *AwsRdsDbClusterDetails) SetCustomEndpoints(v []*string) *AwsRdsDbClusterDetails { s.CustomEndpoints = v return s } // SetDatabaseName sets the DatabaseName field's value. func (s *AwsRdsDbClusterDetails) SetDatabaseName(v string) *AwsRdsDbClusterDetails { s.DatabaseName = &v return s } // SetDbClusterIdentifier sets the DbClusterIdentifier field's value. func (s *AwsRdsDbClusterDetails) SetDbClusterIdentifier(v string) *AwsRdsDbClusterDetails { s.DbClusterIdentifier = &v return s } // SetDbClusterMembers sets the DbClusterMembers field's value. func (s *AwsRdsDbClusterDetails) SetDbClusterMembers(v []*AwsRdsDbClusterMember) *AwsRdsDbClusterDetails { s.DbClusterMembers = v return s } // SetDbClusterOptionGroupMemberships sets the DbClusterOptionGroupMemberships field's value. func (s *AwsRdsDbClusterDetails) SetDbClusterOptionGroupMemberships(v []*AwsRdsDbClusterOptionGroupMembership) *AwsRdsDbClusterDetails { s.DbClusterOptionGroupMemberships = v return s } // SetDbClusterParameterGroup sets the DbClusterParameterGroup field's value. func (s *AwsRdsDbClusterDetails) SetDbClusterParameterGroup(v string) *AwsRdsDbClusterDetails { s.DbClusterParameterGroup = &v return s } // SetDbClusterResourceId sets the DbClusterResourceId field's value. func (s *AwsRdsDbClusterDetails) SetDbClusterResourceId(v string) *AwsRdsDbClusterDetails { s.DbClusterResourceId = &v return s } // SetDbSubnetGroup sets the DbSubnetGroup field's value. func (s *AwsRdsDbClusterDetails) SetDbSubnetGroup(v string) *AwsRdsDbClusterDetails { s.DbSubnetGroup = &v return s } // SetDeletionProtection sets the DeletionProtection field's value. func (s *AwsRdsDbClusterDetails) SetDeletionProtection(v bool) *AwsRdsDbClusterDetails { s.DeletionProtection = &v return s } // SetDomainMemberships sets the DomainMemberships field's value. func (s *AwsRdsDbClusterDetails) SetDomainMemberships(v []*AwsRdsDbDomainMembership) *AwsRdsDbClusterDetails { s.DomainMemberships = v return s } // SetEnabledCloudWatchLogsExports sets the EnabledCloudWatchLogsExports field's value. func (s *AwsRdsDbClusterDetails) SetEnabledCloudWatchLogsExports(v []*string) *AwsRdsDbClusterDetails { s.EnabledCloudWatchLogsExports = v return s } // SetEndpoint sets the Endpoint field's value. func (s *AwsRdsDbClusterDetails) SetEndpoint(v string) *AwsRdsDbClusterDetails { s.Endpoint = &v return s } // SetEngine sets the Engine field's value. func (s *AwsRdsDbClusterDetails) SetEngine(v string) *AwsRdsDbClusterDetails { s.Engine = &v return s } // SetEngineMode sets the EngineMode field's value. func (s *AwsRdsDbClusterDetails) SetEngineMode(v string) *AwsRdsDbClusterDetails { s.EngineMode = &v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsRdsDbClusterDetails) SetEngineVersion(v string) *AwsRdsDbClusterDetails { s.EngineVersion = &v return s } // SetHostedZoneId sets the HostedZoneId field's value. func (s *AwsRdsDbClusterDetails) SetHostedZoneId(v string) *AwsRdsDbClusterDetails { s.HostedZoneId = &v return s } // SetHttpEndpointEnabled sets the HttpEndpointEnabled field's value. func (s *AwsRdsDbClusterDetails) SetHttpEndpointEnabled(v bool) *AwsRdsDbClusterDetails { s.HttpEndpointEnabled = &v return s } // SetIamDatabaseAuthenticationEnabled sets the IamDatabaseAuthenticationEnabled field's value. func (s *AwsRdsDbClusterDetails) SetIamDatabaseAuthenticationEnabled(v bool) *AwsRdsDbClusterDetails { s.IamDatabaseAuthenticationEnabled = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsRdsDbClusterDetails) SetKmsKeyId(v string) *AwsRdsDbClusterDetails { s.KmsKeyId = &v return s } // SetMasterUsername sets the MasterUsername field's value. func (s *AwsRdsDbClusterDetails) SetMasterUsername(v string) *AwsRdsDbClusterDetails { s.MasterUsername = &v return s } // SetMultiAz sets the MultiAz field's value. func (s *AwsRdsDbClusterDetails) SetMultiAz(v bool) *AwsRdsDbClusterDetails { s.MultiAz = &v return s } // SetPort sets the Port field's value. func (s *AwsRdsDbClusterDetails) SetPort(v int64) *AwsRdsDbClusterDetails { s.Port = &v return s } // SetPreferredBackupWindow sets the PreferredBackupWindow field's value. func (s *AwsRdsDbClusterDetails) SetPreferredBackupWindow(v string) *AwsRdsDbClusterDetails { s.PreferredBackupWindow = &v return s } // SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. func (s *AwsRdsDbClusterDetails) SetPreferredMaintenanceWindow(v string) *AwsRdsDbClusterDetails { s.PreferredMaintenanceWindow = &v return s } // SetReadReplicaIdentifiers sets the ReadReplicaIdentifiers field's value. func (s *AwsRdsDbClusterDetails) SetReadReplicaIdentifiers(v []*string) *AwsRdsDbClusterDetails { s.ReadReplicaIdentifiers = v return s } // SetReaderEndpoint sets the ReaderEndpoint field's value. func (s *AwsRdsDbClusterDetails) SetReaderEndpoint(v string) *AwsRdsDbClusterDetails { s.ReaderEndpoint = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbClusterDetails) SetStatus(v string) *AwsRdsDbClusterDetails { s.Status = &v return s } // SetStorageEncrypted sets the StorageEncrypted field's value. func (s *AwsRdsDbClusterDetails) SetStorageEncrypted(v bool) *AwsRdsDbClusterDetails { s.StorageEncrypted = &v return s } // SetVpcSecurityGroups sets the VpcSecurityGroups field's value. func (s *AwsRdsDbClusterDetails) SetVpcSecurityGroups(v []*AwsRdsDbInstanceVpcSecurityGroup) *AwsRdsDbClusterDetails { s.VpcSecurityGroups = v return s } // Information about an instance in the DB cluster. type AwsRdsDbClusterMember struct { _ struct{} `type:"structure"` // The status of the DB cluster parameter group for this member of the DB cluster. DbClusterParameterGroupStatus *string `type:"string"` // The instance identifier for this member of the DB cluster. DbInstanceIdentifier *string `type:"string"` // Whether the cluster member is the primary instance for the DB cluster. IsClusterWriter *bool `type:"boolean"` // Specifies the order in which an Aurora replica is promoted to the primary // instance when the existing primary instance fails. PromotionTier *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterMember) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterMember) GoString() string { return s.String() } // SetDbClusterParameterGroupStatus sets the DbClusterParameterGroupStatus field's value. func (s *AwsRdsDbClusterMember) SetDbClusterParameterGroupStatus(v string) *AwsRdsDbClusterMember { s.DbClusterParameterGroupStatus = &v return s } // SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value. func (s *AwsRdsDbClusterMember) SetDbInstanceIdentifier(v string) *AwsRdsDbClusterMember { s.DbInstanceIdentifier = &v return s } // SetIsClusterWriter sets the IsClusterWriter field's value. func (s *AwsRdsDbClusterMember) SetIsClusterWriter(v bool) *AwsRdsDbClusterMember { s.IsClusterWriter = &v return s } // SetPromotionTier sets the PromotionTier field's value. func (s *AwsRdsDbClusterMember) SetPromotionTier(v int64) *AwsRdsDbClusterMember { s.PromotionTier = &v return s } // Information about an option group membership for a DB cluster. type AwsRdsDbClusterOptionGroupMembership struct { _ struct{} `type:"structure"` // The name of the DB cluster option group. DbClusterOptionGroupName *string `type:"string"` // The status of the DB cluster option group. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterOptionGroupMembership) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterOptionGroupMembership) GoString() string { return s.String() } // SetDbClusterOptionGroupName sets the DbClusterOptionGroupName field's value. func (s *AwsRdsDbClusterOptionGroupMembership) SetDbClusterOptionGroupName(v string) *AwsRdsDbClusterOptionGroupMembership { s.DbClusterOptionGroupName = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbClusterOptionGroupMembership) SetStatus(v string) *AwsRdsDbClusterOptionGroupMembership { s.Status = &v return s } // Contains the name and values of a manual Amazon Relational Database Service // (RDS) DB cluster snapshot attribute. type AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute struct { _ struct{} `type:"structure"` // The name of the manual DB cluster snapshot attribute. The attribute named // restore refers to the list of Amazon Web Services accounts that have permission // to copy or restore the manual DB cluster snapshot. AttributeName *string `type:"string"` // The value(s) for the manual DB cluster snapshot attribute. If the AttributeName // field is set to restore, then this element returns a list of IDs of the Amazon // Web Services accounts that are authorized to copy or restore the manual DB // cluster snapshot. If a value of all is in the list, then the manual DB cluster // snapshot is public and available for any Amazon Web Services account to copy // or restore. AttributeValues []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute) GoString() string { return s.String() } // SetAttributeName sets the AttributeName field's value. func (s *AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute) SetAttributeName(v string) *AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute { s.AttributeName = &v return s } // SetAttributeValues sets the AttributeValues field's value. func (s *AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute) SetAttributeValues(v []*string) *AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute { s.AttributeValues = v return s } // Information about an Amazon RDS DB cluster snapshot. type AwsRdsDbClusterSnapshotDetails struct { _ struct{} `type:"structure"` // Specifies the allocated storage size in gibibytes (GiB). AllocatedStorage *int64 `type:"integer"` // A list of Availability Zones where instances in the DB cluster can be created. AvailabilityZones []*string `type:"list"` // Indicates when the DB cluster was created, in Universal Coordinated Time // (UTC). // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ClusterCreateTime *string `type:"string"` // The DB cluster identifier. DbClusterIdentifier *string `type:"string"` // Contains the name and values of a manual DB cluster snapshot attribute. DbClusterSnapshotAttributes []*AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute `type:"list"` // The identifier of the DB cluster snapshot. DbClusterSnapshotIdentifier *string `type:"string"` // The name of the database engine that you want to use for this DB instance. Engine *string `type:"string"` // The version of the database engine to use. EngineVersion *string `type:"string"` // Whether mapping of IAM accounts to database accounts is enabled. IamDatabaseAuthenticationEnabled *bool `type:"boolean"` // The ARN of the KMS master key that is used to encrypt the database instances // in the DB cluster. KmsKeyId *string `type:"string"` // The license model information for this DB cluster snapshot. // The name of the master user for the DB cluster. MasterUsername *string `type:"string"` // Specifies the percentage of the estimated data that has been transferred. PercentProgress *int64 `type:"integer"` // The port number on which the DB instances in the DB cluster accept connections. Port *int64 `type:"integer"` // Indicates when the snapshot was taken. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) SnapshotCreateTime *string `type:"string"` // The type of DB cluster snapshot. SnapshotType *string `type:"string"` // The status of this DB cluster snapshot. Status *string `type:"string"` // Whether the DB cluster is encrypted. StorageEncrypted *bool `type:"boolean"` // The VPC ID that is associated with the DB cluster snapshot. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterSnapshotDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbClusterSnapshotDetails) GoString() string { return s.String() } // SetAllocatedStorage sets the AllocatedStorage field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetAllocatedStorage(v int64) *AwsRdsDbClusterSnapshotDetails { s.AllocatedStorage = &v return s } // SetAvailabilityZones sets the AvailabilityZones field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetAvailabilityZones(v []*string) *AwsRdsDbClusterSnapshotDetails { s.AvailabilityZones = v return s } // SetClusterCreateTime sets the ClusterCreateTime field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetClusterCreateTime(v string) *AwsRdsDbClusterSnapshotDetails { s.ClusterCreateTime = &v return s } // SetDbClusterIdentifier sets the DbClusterIdentifier field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetDbClusterIdentifier(v string) *AwsRdsDbClusterSnapshotDetails { s.DbClusterIdentifier = &v return s } // SetDbClusterSnapshotAttributes sets the DbClusterSnapshotAttributes field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetDbClusterSnapshotAttributes(v []*AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute) *AwsRdsDbClusterSnapshotDetails { s.DbClusterSnapshotAttributes = v return s } // SetDbClusterSnapshotIdentifier sets the DbClusterSnapshotIdentifier field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetDbClusterSnapshotIdentifier(v string) *AwsRdsDbClusterSnapshotDetails { s.DbClusterSnapshotIdentifier = &v return s } // SetEngine sets the Engine field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetEngine(v string) *AwsRdsDbClusterSnapshotDetails { s.Engine = &v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetEngineVersion(v string) *AwsRdsDbClusterSnapshotDetails { s.EngineVersion = &v return s } // SetIamDatabaseAuthenticationEnabled sets the IamDatabaseAuthenticationEnabled field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetIamDatabaseAuthenticationEnabled(v bool) *AwsRdsDbClusterSnapshotDetails { s.IamDatabaseAuthenticationEnabled = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetKmsKeyId(v string) *AwsRdsDbClusterSnapshotDetails { s.KmsKeyId = &v return s } return s } // SetMasterUsername sets the MasterUsername field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetMasterUsername(v string) *AwsRdsDbClusterSnapshotDetails { s.MasterUsername = &v return s } // SetPercentProgress sets the PercentProgress field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetPercentProgress(v int64) *AwsRdsDbClusterSnapshotDetails { s.PercentProgress = &v return s } // SetPort sets the Port field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetPort(v int64) *AwsRdsDbClusterSnapshotDetails { s.Port = &v return s } // SetSnapshotCreateTime sets the SnapshotCreateTime field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetSnapshotCreateTime(v string) *AwsRdsDbClusterSnapshotDetails { s.SnapshotCreateTime = &v return s } // SetSnapshotType sets the SnapshotType field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetSnapshotType(v string) *AwsRdsDbClusterSnapshotDetails { s.SnapshotType = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetStatus(v string) *AwsRdsDbClusterSnapshotDetails { s.Status = &v return s } // SetStorageEncrypted sets the StorageEncrypted field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetStorageEncrypted(v bool) *AwsRdsDbClusterSnapshotDetails { s.StorageEncrypted = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsRdsDbClusterSnapshotDetails) SetVpcId(v string) *AwsRdsDbClusterSnapshotDetails { s.VpcId = &v return s } // Information about an Active Directory domain membership record associated // with the DB instance. type AwsRdsDbDomainMembership struct { _ struct{} `type:"structure"` // The identifier of the Active Directory domain. Domain *string `type:"string"` // The fully qualified domain name of the Active Directory domain. Fqdn *string `type:"string"` // The name of the IAM role to use when making API calls to the Directory Service. IamRoleName *string `type:"string"` // The status of the Active Directory Domain membership for the DB instance. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbDomainMembership) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbDomainMembership) GoString() string { return s.String() } // SetDomain sets the Domain field's value. func (s *AwsRdsDbDomainMembership) SetDomain(v string) *AwsRdsDbDomainMembership { s.Domain = &v return s } // SetFqdn sets the Fqdn field's value. func (s *AwsRdsDbDomainMembership) SetFqdn(v string) *AwsRdsDbDomainMembership { s.Fqdn = &v return s } // SetIamRoleName sets the IamRoleName field's value. func (s *AwsRdsDbDomainMembership) SetIamRoleName(v string) *AwsRdsDbDomainMembership { s.IamRoleName = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbDomainMembership) SetStatus(v string) *AwsRdsDbDomainMembership { s.Status = &v return s } // An IAM role associated with the DB instance. type AwsRdsDbInstanceAssociatedRole struct { _ struct{} `type:"structure"` // The name of the feature associated with the IAM role. FeatureName *string `type:"string"` // The ARN of the IAM role that is associated with the DB instance. RoleArn *string `type:"string"` // Describes the state of the association between the IAM role and the DB instance. // The Status property returns one of the following values: // // * ACTIVE - The IAM role ARN is associated with the DB instance and can // be used to access other Amazon Web Services services on your behalf. // // * PENDING - The IAM role ARN is being associated with the DB instance. // // * INVALID - The IAM role ARN is associated with the DB instance. But the // DB instance is unable to assume the IAM role in order to access other // Amazon Web Services services on your behalf. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceAssociatedRole) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceAssociatedRole) GoString() string { return s.String() } // SetFeatureName sets the FeatureName field's value. func (s *AwsRdsDbInstanceAssociatedRole) SetFeatureName(v string) *AwsRdsDbInstanceAssociatedRole { s.FeatureName = &v return s } // SetRoleArn sets the RoleArn field's value. func (s *AwsRdsDbInstanceAssociatedRole) SetRoleArn(v string) *AwsRdsDbInstanceAssociatedRole { s.RoleArn = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbInstanceAssociatedRole) SetStatus(v string) *AwsRdsDbInstanceAssociatedRole { s.Status = &v return s } // Contains the details of an Amazon RDS DB instance. type AwsRdsDbInstanceDetails struct { _ struct{} `type:"structure"` // The amount of storage (in gigabytes) to initially allocate for the DB instance. AllocatedStorage *int64 `type:"integer"` // The IAM roles associated with the DB instance. AssociatedRoles []*AwsRdsDbInstanceAssociatedRole `type:"list"` // Indicates whether minor version patches are applied automatically. AutoMinorVersionUpgrade *bool `type:"boolean"` // The Availability Zone where the DB instance will be created. AvailabilityZone *string `type:"string"` // The number of days for which to retain automated backups. BackupRetentionPeriod *int64 `type:"integer"` // The identifier of the CA certificate for this DB instance. CACertificateIdentifier *string `type:"string"` // The name of the character set that this DB instance is associated with. CharacterSetName *string `type:"string"` // Whether to copy resource tags to snapshots of the DB instance. CopyTagsToSnapshot *bool `type:"boolean"` // If the DB instance is a member of a DB cluster, contains the name of the // DB cluster that the DB instance is a member of. DBClusterIdentifier *string `type:"string"` // Contains the name of the compute and memory capacity class of the DB instance. DBInstanceClass *string `type:"string"` // Contains a user-supplied database identifier. This identifier is the unique // key that identifies a DB instance. DBInstanceIdentifier *string `type:"string"` // The meaning of this parameter differs according to the database engine you // use. // // MySQL, MariaDB, SQL Server, PostgreSQL // // Contains the name of the initial database of this instance that was provided // at create time, if one was specified when the DB instance was created. This // same name is returned for the life of the DB instance. // // Oracle // // Contains the Oracle System ID (SID) of the created DB instance. Not shown // when the returned parameters do not apply to an Oracle DB instance. DBName *string `type:"string"` // Specifies the port that the DB instance listens on. If the DB instance is // part of a DB cluster, this can be a different port than the DB cluster port. DbInstancePort *int64 `type:"integer"` // The current status of the DB instance. DbInstanceStatus *string `type:"string"` // A list of the DB parameter groups to assign to the DB instance. DbParameterGroups []*AwsRdsDbParameterGroup `type:"list"` // A list of the DB security groups to assign to the DB instance. DbSecurityGroups []*string `type:"list"` // Information about the subnet group that is associated with the DB instance. DbSubnetGroup *AwsRdsDbSubnetGroup `type:"structure"` // The Amazon Web Services Region-unique, immutable identifier for the DB instance. // This identifier is found in CloudTrail log entries whenever the KMS key for // the DB instance is accessed. DbiResourceId *string `type:"string"` // Indicates whether the DB instance has deletion protection enabled. // // When deletion protection is enabled, the database cannot be deleted. DeletionProtection *bool `type:"boolean"` // The Active Directory domain membership records associated with the DB instance. DomainMemberships []*AwsRdsDbDomainMembership `type:"list"` // A list of log types that this DB instance is configured to export to CloudWatch // Logs. EnabledCloudWatchLogsExports []*string `type:"list"` // Specifies the connection endpoint. Endpoint *AwsRdsDbInstanceEndpoint `type:"structure"` // Provides the name of the database engine to use for this DB instance. Engine *string `type:"string"` // Indicates the database engine version. EngineVersion *string `type:"string"` // The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring // metrics data for the DB instance. EnhancedMonitoringResourceArn *string `type:"string"` // True if mapping of IAM accounts to database accounts is enabled, and otherwise // false. // // IAM database authentication can be enabled for the following database engines. // // * For MySQL 5.6, minor version 5.6.34 or higher // // * For MySQL 5.7, minor version 5.7.16 or higher // // * Aurora 5.6 or higher IAMDatabaseAuthenticationEnabled *bool `type:"boolean"` // Indicates when the DB instance was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) InstanceCreateTime *string `type:"string"` // Specifies the provisioned IOPS (I/O operations per second) for this DB instance. Iops *int64 `type:"integer"` // If StorageEncrypted is true, the KMS key identifier for the encrypted DB // instance. KmsKeyId *string `type:"string"` // Specifies the latest time to which a database can be restored with point-in-time // restore. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LatestRestorableTime *string `type:"string"` // Specifies the connection endpoint. ListenerEndpoint *AwsRdsDbInstanceEndpoint `type:"structure"` // The master user name of the DB instance. MasterUsername *string `type:"string"` // The upper limit to which Amazon RDS can automatically scale the storage of // the DB instance. MaxAllocatedStorage *int64 `type:"integer"` // The interval, in seconds, between points when enhanced monitoring metrics // are collected for the DB instance. MonitoringInterval *int64 `type:"integer"` // The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring // metrics to CloudWatch Logs. MonitoringRoleArn *string `type:"string"` // Whether the DB instance is a multiple Availability Zone deployment. MultiAz *bool `type:"boolean"` // The list of option group memberships for this DB instance. OptionGroupMemberships []*AwsRdsDbOptionGroupMembership `type:"list"` // Changes to the DB instance that are currently pending. PendingModifiedValues *AwsRdsDbPendingModifiedValues `type:"structure"` // Indicates whether Performance Insights is enabled for the DB instance. PerformanceInsightsEnabled *bool `type:"boolean"` // The identifier of the KMS key used to encrypt the Performance Insights data. PerformanceInsightsKmsKeyId *string `type:"string"` // The number of days to retain Performance Insights data. PerformanceInsightsRetentionPeriod *int64 `type:"integer"` // The range of time each day when automated backups are created, if automated // backups are enabled. // // Uses the format HH:MM-HH:MM. For example, 04:52-05:22. PreferredBackupWindow *string `type:"string"` // The weekly time range during which system maintenance can occur, in Universal // Coordinated Time (UTC). // // Uses the format <day>:HH:MM-<day>:HH:MM. // // For the day values, use mon|tue|wed|thu|fri|sat|sun. // // For example, sun:09:32-sun:10:02. PreferredMaintenanceWindow *string `type:"string"` // The number of CPU cores and the number of threads per core for the DB instance // class of the DB instance. ProcessorFeatures []*AwsRdsDbProcessorFeature `type:"list"` // The order in which to promote an Aurora replica to the primary instance after // a failure of the existing primary instance. PromotionTier *int64 `type:"integer"` // Specifies the accessibility options for the DB instance. // // A value of true specifies an Internet-facing instance with a publicly resolvable // DNS name, which resolves to a public IP address. // // A value of false specifies an internal instance with a DNS name that resolves // to a private IP address. PubliclyAccessible *bool `type:"boolean"` // List of identifiers of Aurora DB clusters to which the RDS DB instance is // replicated as a read replica. ReadReplicaDBClusterIdentifiers []*string `type:"list"` // List of identifiers of the read replicas associated with this DB instance. ReadReplicaDBInstanceIdentifiers []*string `type:"list"` // If this DB instance is a read replica, contains the identifier of the source // DB instance. ReadReplicaSourceDBInstanceIdentifier *string `type:"string"` // For a DB instance with multi-Availability Zone support, the name of the secondary // Availability Zone. SecondaryAvailabilityZone *string `type:"string"` // The status of a read replica. If the instance isn't a read replica, this // is empty. StatusInfos []*AwsRdsDbStatusInfo `type:"list"` // Specifies whether the DB instance is encrypted. StorageEncrypted *bool `type:"boolean"` // The storage type for the DB instance. StorageType *string `type:"string"` // The ARN from the key store with which the instance is associated for TDE // encryption. TdeCredentialArn *string `type:"string"` // The time zone of the DB instance. Timezone *string `type:"string"` // A list of VPC security groups that the DB instance belongs to. VpcSecurityGroups []*AwsRdsDbInstanceVpcSecurityGroup `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceDetails) GoString() string { return s.String() } // SetAllocatedStorage sets the AllocatedStorage field's value. func (s *AwsRdsDbInstanceDetails) SetAllocatedStorage(v int64) *AwsRdsDbInstanceDetails { s.AllocatedStorage = &v return s } // SetAssociatedRoles sets the AssociatedRoles field's value. func (s *AwsRdsDbInstanceDetails) SetAssociatedRoles(v []*AwsRdsDbInstanceAssociatedRole) *AwsRdsDbInstanceDetails { s.AssociatedRoles = v return s } // SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. func (s *AwsRdsDbInstanceDetails) SetAutoMinorVersionUpgrade(v bool) *AwsRdsDbInstanceDetails { s.AutoMinorVersionUpgrade = &v return s } // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *AwsRdsDbInstanceDetails) SetAvailabilityZone(v string) *AwsRdsDbInstanceDetails { s.AvailabilityZone = &v return s } // SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. func (s *AwsRdsDbInstanceDetails) SetBackupRetentionPeriod(v int64) *AwsRdsDbInstanceDetails { s.BackupRetentionPeriod = &v return s } // SetCACertificateIdentifier sets the CACertificateIdentifier field's value. func (s *AwsRdsDbInstanceDetails) SetCACertificateIdentifier(v string) *AwsRdsDbInstanceDetails { s.CACertificateIdentifier = &v return s } // SetCharacterSetName sets the CharacterSetName field's value. func (s *AwsRdsDbInstanceDetails) SetCharacterSetName(v string) *AwsRdsDbInstanceDetails { s.CharacterSetName = &v return s } // SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. func (s *AwsRdsDbInstanceDetails) SetCopyTagsToSnapshot(v bool) *AwsRdsDbInstanceDetails { s.CopyTagsToSnapshot = &v return s } // SetDBClusterIdentifier sets the DBClusterIdentifier field's value. func (s *AwsRdsDbInstanceDetails) SetDBClusterIdentifier(v string) *AwsRdsDbInstanceDetails { s.DBClusterIdentifier = &v return s } // SetDBInstanceClass sets the DBInstanceClass field's value. func (s *AwsRdsDbInstanceDetails) SetDBInstanceClass(v string) *AwsRdsDbInstanceDetails { s.DBInstanceClass = &v return s } // SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. func (s *AwsRdsDbInstanceDetails) SetDBInstanceIdentifier(v string) *AwsRdsDbInstanceDetails { s.DBInstanceIdentifier = &v return s } // SetDBName sets the DBName field's value. func (s *AwsRdsDbInstanceDetails) SetDBName(v string) *AwsRdsDbInstanceDetails { s.DBName = &v return s } // SetDbInstancePort sets the DbInstancePort field's value. func (s *AwsRdsDbInstanceDetails) SetDbInstancePort(v int64) *AwsRdsDbInstanceDetails { s.DbInstancePort = &v return s } // SetDbInstanceStatus sets the DbInstanceStatus field's value. func (s *AwsRdsDbInstanceDetails) SetDbInstanceStatus(v string) *AwsRdsDbInstanceDetails { s.DbInstanceStatus = &v return s } // SetDbParameterGroups sets the DbParameterGroups field's value. func (s *AwsRdsDbInstanceDetails) SetDbParameterGroups(v []*AwsRdsDbParameterGroup) *AwsRdsDbInstanceDetails { s.DbParameterGroups = v return s } // SetDbSecurityGroups sets the DbSecurityGroups field's value. func (s *AwsRdsDbInstanceDetails) SetDbSecurityGroups(v []*string) *AwsRdsDbInstanceDetails { s.DbSecurityGroups = v return s } // SetDbSubnetGroup sets the DbSubnetGroup field's value. func (s *AwsRdsDbInstanceDetails) SetDbSubnetGroup(v *AwsRdsDbSubnetGroup) *AwsRdsDbInstanceDetails { s.DbSubnetGroup = v return s } // SetDbiResourceId sets the DbiResourceId field's value. func (s *AwsRdsDbInstanceDetails) SetDbiResourceId(v string) *AwsRdsDbInstanceDetails { s.DbiResourceId = &v return s } // SetDeletionProtection sets the DeletionProtection field's value. func (s *AwsRdsDbInstanceDetails) SetDeletionProtection(v bool) *AwsRdsDbInstanceDetails { s.DeletionProtection = &v return s } // SetDomainMemberships sets the DomainMemberships field's value. func (s *AwsRdsDbInstanceDetails) SetDomainMemberships(v []*AwsRdsDbDomainMembership) *AwsRdsDbInstanceDetails { s.DomainMemberships = v return s } // SetEnabledCloudWatchLogsExports sets the EnabledCloudWatchLogsExports field's value. func (s *AwsRdsDbInstanceDetails) SetEnabledCloudWatchLogsExports(v []*string) *AwsRdsDbInstanceDetails { s.EnabledCloudWatchLogsExports = v return s } // SetEndpoint sets the Endpoint field's value. func (s *AwsRdsDbInstanceDetails) SetEndpoint(v *AwsRdsDbInstanceEndpoint) *AwsRdsDbInstanceDetails { s.Endpoint = v return s } // SetEngine sets the Engine field's value. func (s *AwsRdsDbInstanceDetails) SetEngine(v string) *AwsRdsDbInstanceDetails { s.Engine = &v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsRdsDbInstanceDetails) SetEngineVersion(v string) *AwsRdsDbInstanceDetails { s.EngineVersion = &v return s } // SetEnhancedMonitoringResourceArn sets the EnhancedMonitoringResourceArn field's value. func (s *AwsRdsDbInstanceDetails) SetEnhancedMonitoringResourceArn(v string) *AwsRdsDbInstanceDetails { s.EnhancedMonitoringResourceArn = &v return s } // SetIAMDatabaseAuthenticationEnabled sets the IAMDatabaseAuthenticationEnabled field's value. func (s *AwsRdsDbInstanceDetails) SetIAMDatabaseAuthenticationEnabled(v bool) *AwsRdsDbInstanceDetails { s.IAMDatabaseAuthenticationEnabled = &v return s } // SetInstanceCreateTime sets the InstanceCreateTime field's value. func (s *AwsRdsDbInstanceDetails) SetInstanceCreateTime(v string) *AwsRdsDbInstanceDetails { s.InstanceCreateTime = &v return s } // SetIops sets the Iops field's value. func (s *AwsRdsDbInstanceDetails) SetIops(v int64) *AwsRdsDbInstanceDetails { s.Iops = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsRdsDbInstanceDetails) SetKmsKeyId(v string) *AwsRdsDbInstanceDetails { s.KmsKeyId = &v return s } // SetLatestRestorableTime sets the LatestRestorableTime field's value. func (s *AwsRdsDbInstanceDetails) SetLatestRestorableTime(v string) *AwsRdsDbInstanceDetails { s.LatestRestorableTime = &v return s } return s } // SetListenerEndpoint sets the ListenerEndpoint field's value. func (s *AwsRdsDbInstanceDetails) SetListenerEndpoint(v *AwsRdsDbInstanceEndpoint) *AwsRdsDbInstanceDetails { s.ListenerEndpoint = v return s } // SetMasterUsername sets the MasterUsername field's value. func (s *AwsRdsDbInstanceDetails) SetMasterUsername(v string) *AwsRdsDbInstanceDetails { s.MasterUsername = &v return s } // SetMaxAllocatedStorage sets the MaxAllocatedStorage field's value. func (s *AwsRdsDbInstanceDetails) SetMaxAllocatedStorage(v int64) *AwsRdsDbInstanceDetails { s.MaxAllocatedStorage = &v return s } // SetMonitoringInterval sets the MonitoringInterval field's value. func (s *AwsRdsDbInstanceDetails) SetMonitoringInterval(v int64) *AwsRdsDbInstanceDetails { s.MonitoringInterval = &v return s } // SetMonitoringRoleArn sets the MonitoringRoleArn field's value. func (s *AwsRdsDbInstanceDetails) SetMonitoringRoleArn(v string) *AwsRdsDbInstanceDetails { s.MonitoringRoleArn = &v return s } // SetMultiAz sets the MultiAz field's value. func (s *AwsRdsDbInstanceDetails) SetMultiAz(v bool) *AwsRdsDbInstanceDetails { s.MultiAz = &v return s } // SetOptionGroupMemberships sets the OptionGroupMemberships field's value. func (s *AwsRdsDbInstanceDetails) SetOptionGroupMemberships(v []*AwsRdsDbOptionGroupMembership) *AwsRdsDbInstanceDetails { s.OptionGroupMemberships = v return s } // SetPendingModifiedValues sets the PendingModifiedValues field's value. func (s *AwsRdsDbInstanceDetails) SetPendingModifiedValues(v *AwsRdsDbPendingModifiedValues) *AwsRdsDbInstanceDetails { s.PendingModifiedValues = v return s } // SetPerformanceInsightsEnabled sets the PerformanceInsightsEnabled field's value. func (s *AwsRdsDbInstanceDetails) SetPerformanceInsightsEnabled(v bool) *AwsRdsDbInstanceDetails { s.PerformanceInsightsEnabled = &v return s } // SetPerformanceInsightsKmsKeyId sets the PerformanceInsightsKmsKeyId field's value. func (s *AwsRdsDbInstanceDetails) SetPerformanceInsightsKmsKeyId(v string) *AwsRdsDbInstanceDetails { s.PerformanceInsightsKmsKeyId = &v return s } // SetPerformanceInsightsRetentionPeriod sets the PerformanceInsightsRetentionPeriod field's value. func (s *AwsRdsDbInstanceDetails) SetPerformanceInsightsRetentionPeriod(v int64) *AwsRdsDbInstanceDetails { s.PerformanceInsightsRetentionPeriod = &v return s } // SetPreferredBackupWindow sets the PreferredBackupWindow field's value. func (s *AwsRdsDbInstanceDetails) SetPreferredBackupWindow(v string) *AwsRdsDbInstanceDetails { s.PreferredBackupWindow = &v return s } // SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. func (s *AwsRdsDbInstanceDetails) SetPreferredMaintenanceWindow(v string) *AwsRdsDbInstanceDetails { s.PreferredMaintenanceWindow = &v return s } // SetProcessorFeatures sets the ProcessorFeatures field's value. func (s *AwsRdsDbInstanceDetails) SetProcessorFeatures(v []*AwsRdsDbProcessorFeature) *AwsRdsDbInstanceDetails { s.ProcessorFeatures = v return s } // SetPromotionTier sets the PromotionTier field's value. func (s *AwsRdsDbInstanceDetails) SetPromotionTier(v int64) *AwsRdsDbInstanceDetails { s.PromotionTier = &v return s } // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *AwsRdsDbInstanceDetails) SetPubliclyAccessible(v bool) *AwsRdsDbInstanceDetails { s.PubliclyAccessible = &v return s } // SetReadReplicaDBClusterIdentifiers sets the ReadReplicaDBClusterIdentifiers field's value. func (s *AwsRdsDbInstanceDetails) SetReadReplicaDBClusterIdentifiers(v []*string) *AwsRdsDbInstanceDetails { s.ReadReplicaDBClusterIdentifiers = v return s } // SetReadReplicaDBInstanceIdentifiers sets the ReadReplicaDBInstanceIdentifiers field's value. func (s *AwsRdsDbInstanceDetails) SetReadReplicaDBInstanceIdentifiers(v []*string) *AwsRdsDbInstanceDetails { s.ReadReplicaDBInstanceIdentifiers = v return s } // SetReadReplicaSourceDBInstanceIdentifier sets the ReadReplicaSourceDBInstanceIdentifier field's value. func (s *AwsRdsDbInstanceDetails) SetReadReplicaSourceDBInstanceIdentifier(v string) *AwsRdsDbInstanceDetails { s.ReadReplicaSourceDBInstanceIdentifier = &v return s } // SetSecondaryAvailabilityZone sets the SecondaryAvailabilityZone field's value. func (s *AwsRdsDbInstanceDetails) SetSecondaryAvailabilityZone(v string) *AwsRdsDbInstanceDetails { s.SecondaryAvailabilityZone = &v return s } // SetStatusInfos sets the StatusInfos field's value. func (s *AwsRdsDbInstanceDetails) SetStatusInfos(v []*AwsRdsDbStatusInfo) *AwsRdsDbInstanceDetails { s.StatusInfos = v return s } // SetStorageEncrypted sets the StorageEncrypted field's value. func (s *AwsRdsDbInstanceDetails) SetStorageEncrypted(v bool) *AwsRdsDbInstanceDetails { s.StorageEncrypted = &v return s } // SetStorageType sets the StorageType field's value. func (s *AwsRdsDbInstanceDetails) SetStorageType(v string) *AwsRdsDbInstanceDetails { s.StorageType = &v return s } // SetTdeCredentialArn sets the TdeCredentialArn field's value. func (s *AwsRdsDbInstanceDetails) SetTdeCredentialArn(v string) *AwsRdsDbInstanceDetails { s.TdeCredentialArn = &v return s } // SetTimezone sets the Timezone field's value. func (s *AwsRdsDbInstanceDetails) SetTimezone(v string) *AwsRdsDbInstanceDetails { s.Timezone = &v return s } // SetVpcSecurityGroups sets the VpcSecurityGroups field's value. func (s *AwsRdsDbInstanceDetails) SetVpcSecurityGroups(v []*AwsRdsDbInstanceVpcSecurityGroup) *AwsRdsDbInstanceDetails { s.VpcSecurityGroups = v return s } // Specifies the connection endpoint. type AwsRdsDbInstanceEndpoint struct { _ struct{} `type:"structure"` // Specifies the DNS address of the DB instance. Address *string `type:"string"` // Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. HostedZoneId *string `type:"string"` // Specifies the port that the database engine is listening on. Port *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceEndpoint) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceEndpoint) GoString() string { return s.String() } // SetAddress sets the Address field's value. func (s *AwsRdsDbInstanceEndpoint) SetAddress(v string) *AwsRdsDbInstanceEndpoint { s.Address = &v return s } // SetHostedZoneId sets the HostedZoneId field's value. func (s *AwsRdsDbInstanceEndpoint) SetHostedZoneId(v string) *AwsRdsDbInstanceEndpoint { s.HostedZoneId = &v return s } // SetPort sets the Port field's value. func (s *AwsRdsDbInstanceEndpoint) SetPort(v int64) *AwsRdsDbInstanceEndpoint { s.Port = &v return s } // A VPC security groups that the DB instance belongs to. type AwsRdsDbInstanceVpcSecurityGroup struct { _ struct{} `type:"structure"` // The status of the VPC security group. Status *string `type:"string"` // The name of the VPC security group. VpcSecurityGroupId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceVpcSecurityGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbInstanceVpcSecurityGroup) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *AwsRdsDbInstanceVpcSecurityGroup) SetStatus(v string) *AwsRdsDbInstanceVpcSecurityGroup { s.Status = &v return s } // SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value. func (s *AwsRdsDbInstanceVpcSecurityGroup) SetVpcSecurityGroupId(v string) *AwsRdsDbInstanceVpcSecurityGroup { s.VpcSecurityGroupId = &v return s } // An option group membership. type AwsRdsDbOptionGroupMembership struct { _ struct{} `type:"structure"` // The name of the option group. OptionGroupName *string `type:"string"` // The status of the option group membership. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbOptionGroupMembership) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbOptionGroupMembership) GoString() string { return s.String() } // SetOptionGroupName sets the OptionGroupName field's value. func (s *AwsRdsDbOptionGroupMembership) SetOptionGroupName(v string) *AwsRdsDbOptionGroupMembership { s.OptionGroupName = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbOptionGroupMembership) SetStatus(v string) *AwsRdsDbOptionGroupMembership { s.Status = &v return s } // Provides information about a parameter group for a DB instance. type AwsRdsDbParameterGroup struct { _ struct{} `type:"structure"` // The name of the parameter group. DbParameterGroupName *string `type:"string"` // The status of parameter updates. ParameterApplyStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbParameterGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbParameterGroup) GoString() string { return s.String() } // SetDbParameterGroupName sets the DbParameterGroupName field's value. func (s *AwsRdsDbParameterGroup) SetDbParameterGroupName(v string) *AwsRdsDbParameterGroup { s.DbParameterGroupName = &v return s } // SetParameterApplyStatus sets the ParameterApplyStatus field's value. func (s *AwsRdsDbParameterGroup) SetParameterApplyStatus(v string) *AwsRdsDbParameterGroup { s.ParameterApplyStatus = &v return s } // Changes to a DB instance that are currently pending. type AwsRdsDbPendingModifiedValues struct { _ struct{} `type:"structure"` // The new value of the allocated storage for the DB instance. AllocatedStorage *int64 `type:"integer"` // The new backup retention period for the DB instance. BackupRetentionPeriod *int64 `type:"integer"` // The new CA certificate identifier for the DB instance. CaCertificateIdentifier *string `type:"string"` // The new DB instance class for the DB instance. DbInstanceClass *string `type:"string"` // The new DB instance identifier for the DB instance. DbInstanceIdentifier *string `type:"string"` // The name of the new subnet group for the DB instance. DbSubnetGroupName *string `type:"string"` // The new engine version for the DB instance. EngineVersion *string `type:"string"` // The new provisioned IOPS value for the DB instance. Iops *int64 `type:"integer"` // The new license model value for the DB instance. // The new master user password for the DB instance. MasterUserPassword *string `type:"string"` // Indicates that a single Availability Zone DB instance is changing to a multiple // Availability Zone deployment. MultiAZ *bool `type:"boolean"` // A list of log types that are being enabled or disabled. PendingCloudWatchLogsExports *AwsRdsPendingCloudWatchLogsExports `type:"structure"` // The new port for the DB instance. Port *int64 `type:"integer"` // Processor features that are being updated. ProcessorFeatures []*AwsRdsDbProcessorFeature `type:"list"` // The new storage type for the DB instance. StorageType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbPendingModifiedValues) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbPendingModifiedValues) GoString() string { return s.String() } // SetAllocatedStorage sets the AllocatedStorage field's value. func (s *AwsRdsDbPendingModifiedValues) SetAllocatedStorage(v int64) *AwsRdsDbPendingModifiedValues { s.AllocatedStorage = &v return s } // SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. func (s *AwsRdsDbPendingModifiedValues) SetBackupRetentionPeriod(v int64) *AwsRdsDbPendingModifiedValues { s.BackupRetentionPeriod = &v return s } // SetCaCertificateIdentifier sets the CaCertificateIdentifier field's value. func (s *AwsRdsDbPendingModifiedValues) SetCaCertificateIdentifier(v string) *AwsRdsDbPendingModifiedValues { s.CaCertificateIdentifier = &v return s } // SetDbInstanceClass sets the DbInstanceClass field's value. func (s *AwsRdsDbPendingModifiedValues) SetDbInstanceClass(v string) *AwsRdsDbPendingModifiedValues { s.DbInstanceClass = &v return s } // SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value. func (s *AwsRdsDbPendingModifiedValues) SetDbInstanceIdentifier(v string) *AwsRdsDbPendingModifiedValues { s.DbInstanceIdentifier = &v return s } // SetDbSubnetGroupName sets the DbSubnetGroupName field's value. func (s *AwsRdsDbPendingModifiedValues) SetDbSubnetGroupName(v string) *AwsRdsDbPendingModifiedValues { s.DbSubnetGroupName = &v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsRdsDbPendingModifiedValues) SetEngineVersion(v string) *AwsRdsDbPendingModifiedValues { s.EngineVersion = &v return s } // SetIops sets the Iops field's value. func (s *AwsRdsDbPendingModifiedValues) SetIops(v int64) *AwsRdsDbPendingModifiedValues { s.Iops = &v return s } return s } // SetMasterUserPassword sets the MasterUserPassword field's value. func (s *AwsRdsDbPendingModifiedValues) SetMasterUserPassword(v string) *AwsRdsDbPendingModifiedValues { s.MasterUserPassword = &v return s } // SetMultiAZ sets the MultiAZ field's value. func (s *AwsRdsDbPendingModifiedValues) SetMultiAZ(v bool) *AwsRdsDbPendingModifiedValues { s.MultiAZ = &v return s } // SetPendingCloudWatchLogsExports sets the PendingCloudWatchLogsExports field's value. func (s *AwsRdsDbPendingModifiedValues) SetPendingCloudWatchLogsExports(v *AwsRdsPendingCloudWatchLogsExports) *AwsRdsDbPendingModifiedValues { s.PendingCloudWatchLogsExports = v return s } // SetPort sets the Port field's value. func (s *AwsRdsDbPendingModifiedValues) SetPort(v int64) *AwsRdsDbPendingModifiedValues { s.Port = &v return s } // SetProcessorFeatures sets the ProcessorFeatures field's value. func (s *AwsRdsDbPendingModifiedValues) SetProcessorFeatures(v []*AwsRdsDbProcessorFeature) *AwsRdsDbPendingModifiedValues { s.ProcessorFeatures = v return s } // SetStorageType sets the StorageType field's value. func (s *AwsRdsDbPendingModifiedValues) SetStorageType(v string) *AwsRdsDbPendingModifiedValues { s.StorageType = &v return s } // A processor feature. type AwsRdsDbProcessorFeature struct { _ struct{} `type:"structure"` // The name of the processor feature. Valid values are coreCount or threadsPerCore. Name *string `type:"string"` // The value of the processor feature. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbProcessorFeature) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbProcessorFeature) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsRdsDbProcessorFeature) SetName(v string) *AwsRdsDbProcessorFeature { s.Name = &v return s } // SetValue sets the Value field's value. func (s *AwsRdsDbProcessorFeature) SetValue(v string) *AwsRdsDbProcessorFeature { s.Value = &v return s } // Provides information about an Amazon RDS DB security group. type AwsRdsDbSecurityGroupDetails struct { _ struct{} `type:"structure"` // The ARN for the DB security group. DbSecurityGroupArn *string `type:"string"` // Provides the description of the DB security group. DbSecurityGroupDescription *string `type:"string"` // Specifies the name of the DB security group. DbSecurityGroupName *string `type:"string"` // Contains a list of EC2 security groups. Ec2SecurityGroups []*AwsRdsDbSecurityGroupEc2SecurityGroup `type:"list"` // Contains a list of IP ranges. IpRanges []*AwsRdsDbSecurityGroupIpRange `type:"list"` // Provides the Amazon Web Services ID of the owner of a specific DB security // group. OwnerId *string `type:"string"` // Provides VPC ID associated with the DB security group. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSecurityGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSecurityGroupDetails) GoString() string { return s.String() } // SetDbSecurityGroupArn sets the DbSecurityGroupArn field's value. func (s *AwsRdsDbSecurityGroupDetails) SetDbSecurityGroupArn(v string) *AwsRdsDbSecurityGroupDetails { s.DbSecurityGroupArn = &v return s } // SetDbSecurityGroupDescription sets the DbSecurityGroupDescription field's value. func (s *AwsRdsDbSecurityGroupDetails) SetDbSecurityGroupDescription(v string) *AwsRdsDbSecurityGroupDetails { s.DbSecurityGroupDescription = &v return s } // SetDbSecurityGroupName sets the DbSecurityGroupName field's value. func (s *AwsRdsDbSecurityGroupDetails) SetDbSecurityGroupName(v string) *AwsRdsDbSecurityGroupDetails { s.DbSecurityGroupName = &v return s } // SetEc2SecurityGroups sets the Ec2SecurityGroups field's value. func (s *AwsRdsDbSecurityGroupDetails) SetEc2SecurityGroups(v []*AwsRdsDbSecurityGroupEc2SecurityGroup) *AwsRdsDbSecurityGroupDetails { s.Ec2SecurityGroups = v return s } // SetIpRanges sets the IpRanges field's value. func (s *AwsRdsDbSecurityGroupDetails) SetIpRanges(v []*AwsRdsDbSecurityGroupIpRange) *AwsRdsDbSecurityGroupDetails { s.IpRanges = v return s } // SetOwnerId sets the OwnerId field's value. func (s *AwsRdsDbSecurityGroupDetails) SetOwnerId(v string) *AwsRdsDbSecurityGroupDetails { s.OwnerId = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsRdsDbSecurityGroupDetails) SetVpcId(v string) *AwsRdsDbSecurityGroupDetails { s.VpcId = &v return s } // EC2 security group information for an RDS DB security group. type AwsRdsDbSecurityGroupEc2SecurityGroup struct { _ struct{} `type:"structure"` // Specifies the ID for the EC2 security group. Ec2SecurityGroupId *string `type:"string"` // Specifies the name of the EC2 security group. Ec2SecurityGroupName *string `type:"string"` // Provides the Amazon Web Services ID of the owner of the EC2 security group. Ec2SecurityGroupOwnerId *string `type:"string"` // Provides the status of the EC2 security group. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSecurityGroupEc2SecurityGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSecurityGroupEc2SecurityGroup) GoString() string { return s.String() } // SetEc2SecurityGroupId sets the Ec2SecurityGroupId field's value. func (s *AwsRdsDbSecurityGroupEc2SecurityGroup) SetEc2SecurityGroupId(v string) *AwsRdsDbSecurityGroupEc2SecurityGroup { s.Ec2SecurityGroupId = &v return s } // SetEc2SecurityGroupName sets the Ec2SecurityGroupName field's value. func (s *AwsRdsDbSecurityGroupEc2SecurityGroup) SetEc2SecurityGroupName(v string) *AwsRdsDbSecurityGroupEc2SecurityGroup { s.Ec2SecurityGroupName = &v return s } // SetEc2SecurityGroupOwnerId sets the Ec2SecurityGroupOwnerId field's value. func (s *AwsRdsDbSecurityGroupEc2SecurityGroup) SetEc2SecurityGroupOwnerId(v string) *AwsRdsDbSecurityGroupEc2SecurityGroup { s.Ec2SecurityGroupOwnerId = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbSecurityGroupEc2SecurityGroup) SetStatus(v string) *AwsRdsDbSecurityGroupEc2SecurityGroup { s.Status = &v return s } // IP range information for an RDS DB security group. type AwsRdsDbSecurityGroupIpRange struct { _ struct{} `type:"structure"` // Specifies the IP range. CidrIp *string `type:"string"` // Specifies the status of the IP range. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSecurityGroupIpRange) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSecurityGroupIpRange) GoString() string { return s.String() } // SetCidrIp sets the CidrIp field's value. func (s *AwsRdsDbSecurityGroupIpRange) SetCidrIp(v string) *AwsRdsDbSecurityGroupIpRange { s.CidrIp = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbSecurityGroupIpRange) SetStatus(v string) *AwsRdsDbSecurityGroupIpRange { s.Status = &v return s } // Provides details about an Amazon RDS DB cluster snapshot. type AwsRdsDbSnapshotDetails struct { _ struct{} `type:"structure"` // The amount of storage (in gigabytes) to be initially allocated for the database // instance. AllocatedStorage *int64 `type:"integer"` // Specifies the name of the Availability Zone in which the DB instance was // located at the time of the DB snapshot. AvailabilityZone *string `type:"string"` // A name for the DB instance. DbInstanceIdentifier *string `type:"string"` // The name or ARN of the DB snapshot that is used to restore the DB instance. DbSnapshotIdentifier *string `type:"string"` // The identifier for the source DB instance. DbiResourceId *string `type:"string"` // Whether the DB snapshot is encrypted. Encrypted *bool `type:"boolean"` // The name of the database engine to use for this DB instance. Valid values // are as follows: // // * aurora // // * aurora-mysql // // * aurora-postgresql // // * c // // * mariadb // // * mysql // // * oracle-ee // // * oracle-se // // * oracle-se1 // // * oracle-se2 // // * sqlserver-ee // // * sqlserver-ex // // * sqlserver-se // // * sqlserver-web Engine *string `type:"string"` // The version of the database engine. EngineVersion *string `type:"string"` // Whether mapping of IAM accounts to database accounts is enabled. IamDatabaseAuthenticationEnabled *bool `type:"boolean"` // Specifies the time in Coordinated Universal Time (UTC) when the DB instance, // from which the snapshot was taken, was created. InstanceCreateTime *string `type:"string"` // The provisioned IOPS (I/O operations per second) value of the DB instance // at the time of the snapshot. Iops *int64 `type:"integer"` // If Encrypted is true, the KMS key identifier for the encrypted DB snapshot. KmsKeyId *string `type:"string"` // The master user name for the DB snapshot. MasterUsername *string `type:"string"` // The option group name for the DB snapshot. OptionGroupName *string `type:"string"` // The percentage of the estimated data that has been transferred. PercentProgress *int64 `type:"integer"` // The port that the database engine was listening on at the time of the snapshot. Port *int64 `type:"integer"` // The number of CPU cores and the number of threads per core for the DB instance // class of the DB instance. ProcessorFeatures []*AwsRdsDbProcessorFeature `type:"list"` // When the snapshot was taken in Coordinated Universal Time (UTC). SnapshotCreateTime *string `type:"string"` // The type of the DB snapshot. SnapshotType *string `type:"string"` // The DB snapshot ARN that the DB snapshot was copied from. SourceDbSnapshotIdentifier *string `type:"string"` // The Amazon Web Services Region that the DB snapshot was created in or copied // from. SourceRegion *string `type:"string"` // The status of this DB snapshot. Status *string `type:"string"` // The storage type associated with the DB snapshot. Valid values are as follows: // // * gp2 // // * io1 // // * standard StorageType *string `type:"string"` // The ARN from the key store with which to associate the instance for TDE encryption. TdeCredentialArn *string `type:"string"` // The time zone of the DB snapshot. Timezone *string `type:"string"` // The VPC ID associated with the DB snapshot. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSnapshotDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSnapshotDetails) GoString() string { return s.String() } // SetAllocatedStorage sets the AllocatedStorage field's value. func (s *AwsRdsDbSnapshotDetails) SetAllocatedStorage(v int64) *AwsRdsDbSnapshotDetails { s.AllocatedStorage = &v return s } // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *AwsRdsDbSnapshotDetails) SetAvailabilityZone(v string) *AwsRdsDbSnapshotDetails { s.AvailabilityZone = &v return s } // SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value. func (s *AwsRdsDbSnapshotDetails) SetDbInstanceIdentifier(v string) *AwsRdsDbSnapshotDetails { s.DbInstanceIdentifier = &v return s } // SetDbSnapshotIdentifier sets the DbSnapshotIdentifier field's value. func (s *AwsRdsDbSnapshotDetails) SetDbSnapshotIdentifier(v string) *AwsRdsDbSnapshotDetails { s.DbSnapshotIdentifier = &v return s } // SetDbiResourceId sets the DbiResourceId field's value. func (s *AwsRdsDbSnapshotDetails) SetDbiResourceId(v string) *AwsRdsDbSnapshotDetails { s.DbiResourceId = &v return s } // SetEncrypted sets the Encrypted field's value. func (s *AwsRdsDbSnapshotDetails) SetEncrypted(v bool) *AwsRdsDbSnapshotDetails { s.Encrypted = &v return s } // SetEngine sets the Engine field's value. func (s *AwsRdsDbSnapshotDetails) SetEngine(v string) *AwsRdsDbSnapshotDetails { s.Engine = &v return s } // SetEngineVersion sets the EngineVersion field's value. func (s *AwsRdsDbSnapshotDetails) SetEngineVersion(v string) *AwsRdsDbSnapshotDetails { s.EngineVersion = &v return s } // SetIamDatabaseAuthenticationEnabled sets the IamDatabaseAuthenticationEnabled field's value. func (s *AwsRdsDbSnapshotDetails) SetIamDatabaseAuthenticationEnabled(v bool) *AwsRdsDbSnapshotDetails { s.IamDatabaseAuthenticationEnabled = &v return s } // SetInstanceCreateTime sets the InstanceCreateTime field's value. func (s *AwsRdsDbSnapshotDetails) SetInstanceCreateTime(v string) *AwsRdsDbSnapshotDetails { s.InstanceCreateTime = &v return s } // SetIops sets the Iops field's value. func (s *AwsRdsDbSnapshotDetails) SetIops(v int64) *AwsRdsDbSnapshotDetails { s.Iops = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsRdsDbSnapshotDetails) SetKmsKeyId(v string) *AwsRdsDbSnapshotDetails { s.KmsKeyId = &v return s } return s } // SetMasterUsername sets the MasterUsername field's value. func (s *AwsRdsDbSnapshotDetails) SetMasterUsername(v string) *AwsRdsDbSnapshotDetails { s.MasterUsername = &v return s } // SetOptionGroupName sets the OptionGroupName field's value. func (s *AwsRdsDbSnapshotDetails) SetOptionGroupName(v string) *AwsRdsDbSnapshotDetails { s.OptionGroupName = &v return s } // SetPercentProgress sets the PercentProgress field's value. func (s *AwsRdsDbSnapshotDetails) SetPercentProgress(v int64) *AwsRdsDbSnapshotDetails { s.PercentProgress = &v return s } // SetPort sets the Port field's value. func (s *AwsRdsDbSnapshotDetails) SetPort(v int64) *AwsRdsDbSnapshotDetails { s.Port = &v return s } // SetProcessorFeatures sets the ProcessorFeatures field's value. func (s *AwsRdsDbSnapshotDetails) SetProcessorFeatures(v []*AwsRdsDbProcessorFeature) *AwsRdsDbSnapshotDetails { s.ProcessorFeatures = v return s } // SetSnapshotCreateTime sets the SnapshotCreateTime field's value. func (s *AwsRdsDbSnapshotDetails) SetSnapshotCreateTime(v string) *AwsRdsDbSnapshotDetails { s.SnapshotCreateTime = &v return s } // SetSnapshotType sets the SnapshotType field's value. func (s *AwsRdsDbSnapshotDetails) SetSnapshotType(v string) *AwsRdsDbSnapshotDetails { s.SnapshotType = &v return s } // SetSourceDbSnapshotIdentifier sets the SourceDbSnapshotIdentifier field's value. func (s *AwsRdsDbSnapshotDetails) SetSourceDbSnapshotIdentifier(v string) *AwsRdsDbSnapshotDetails { s.SourceDbSnapshotIdentifier = &v return s } // SetSourceRegion sets the SourceRegion field's value. func (s *AwsRdsDbSnapshotDetails) SetSourceRegion(v string) *AwsRdsDbSnapshotDetails { s.SourceRegion = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbSnapshotDetails) SetStatus(v string) *AwsRdsDbSnapshotDetails { s.Status = &v return s } // SetStorageType sets the StorageType field's value. func (s *AwsRdsDbSnapshotDetails) SetStorageType(v string) *AwsRdsDbSnapshotDetails { s.StorageType = &v return s } // SetTdeCredentialArn sets the TdeCredentialArn field's value. func (s *AwsRdsDbSnapshotDetails) SetTdeCredentialArn(v string) *AwsRdsDbSnapshotDetails { s.TdeCredentialArn = &v return s } // SetTimezone sets the Timezone field's value. func (s *AwsRdsDbSnapshotDetails) SetTimezone(v string) *AwsRdsDbSnapshotDetails { s.Timezone = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsRdsDbSnapshotDetails) SetVpcId(v string) *AwsRdsDbSnapshotDetails { s.VpcId = &v return s } // Information about the status of a read replica. type AwsRdsDbStatusInfo struct { _ struct{} `type:"structure"` // If the read replica is currently in an error state, provides the error details. Message *string `type:"string"` // Whether the read replica instance is operating normally. Normal *bool `type:"boolean"` // The status of the read replica instance. Status *string `type:"string"` // The type of status. For a read replica, the status type is read replication. StatusType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbStatusInfo) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbStatusInfo) GoString() string { return s.String() } // SetMessage sets the Message field's value. func (s *AwsRdsDbStatusInfo) SetMessage(v string) *AwsRdsDbStatusInfo { s.Message = &v return s } // SetNormal sets the Normal field's value. func (s *AwsRdsDbStatusInfo) SetNormal(v bool) *AwsRdsDbStatusInfo { s.Normal = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsDbStatusInfo) SetStatus(v string) *AwsRdsDbStatusInfo { s.Status = &v return s } // SetStatusType sets the StatusType field's value. func (s *AwsRdsDbStatusInfo) SetStatusType(v string) *AwsRdsDbStatusInfo { s.StatusType = &v return s } // Information about the subnet group for the database instance. type AwsRdsDbSubnetGroup struct { _ struct{} `type:"structure"` // The ARN of the subnet group. DbSubnetGroupArn *string `type:"string"` // The description of the subnet group. DbSubnetGroupDescription *string `type:"string"` // The name of the subnet group. DbSubnetGroupName *string `type:"string"` // The status of the subnet group. SubnetGroupStatus *string `type:"string"` // A list of subnets in the subnet group. Subnets []*AwsRdsDbSubnetGroupSubnet `type:"list"` // The VPC ID of the subnet group. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSubnetGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSubnetGroup) GoString() string { return s.String() } // SetDbSubnetGroupArn sets the DbSubnetGroupArn field's value. func (s *AwsRdsDbSubnetGroup) SetDbSubnetGroupArn(v string) *AwsRdsDbSubnetGroup { s.DbSubnetGroupArn = &v return s } // SetDbSubnetGroupDescription sets the DbSubnetGroupDescription field's value. func (s *AwsRdsDbSubnetGroup) SetDbSubnetGroupDescription(v string) *AwsRdsDbSubnetGroup { s.DbSubnetGroupDescription = &v return s } // SetDbSubnetGroupName sets the DbSubnetGroupName field's value. func (s *AwsRdsDbSubnetGroup) SetDbSubnetGroupName(v string) *AwsRdsDbSubnetGroup { s.DbSubnetGroupName = &v return s } // SetSubnetGroupStatus sets the SubnetGroupStatus field's value. func (s *AwsRdsDbSubnetGroup) SetSubnetGroupStatus(v string) *AwsRdsDbSubnetGroup { s.SubnetGroupStatus = &v return s } // SetSubnets sets the Subnets field's value. func (s *AwsRdsDbSubnetGroup) SetSubnets(v []*AwsRdsDbSubnetGroupSubnet) *AwsRdsDbSubnetGroup { s.Subnets = v return s } // SetVpcId sets the VpcId field's value. func (s *AwsRdsDbSubnetGroup) SetVpcId(v string) *AwsRdsDbSubnetGroup { s.VpcId = &v return s } // Information about a subnet in a subnet group. type AwsRdsDbSubnetGroupSubnet struct { _ struct{} `type:"structure"` // Information about the Availability Zone for a subnet in the subnet group. SubnetAvailabilityZone *AwsRdsDbSubnetGroupSubnetAvailabilityZone `type:"structure"` // The identifier of a subnet in the subnet group. SubnetIdentifier *string `type:"string"` // The status of a subnet in the subnet group. SubnetStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSubnetGroupSubnet) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSubnetGroupSubnet) GoString() string { return s.String() } // SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value. func (s *AwsRdsDbSubnetGroupSubnet) SetSubnetAvailabilityZone(v *AwsRdsDbSubnetGroupSubnetAvailabilityZone) *AwsRdsDbSubnetGroupSubnet { s.SubnetAvailabilityZone = v return s } // SetSubnetIdentifier sets the SubnetIdentifier field's value. func (s *AwsRdsDbSubnetGroupSubnet) SetSubnetIdentifier(v string) *AwsRdsDbSubnetGroupSubnet { s.SubnetIdentifier = &v return s } // SetSubnetStatus sets the SubnetStatus field's value. func (s *AwsRdsDbSubnetGroupSubnet) SetSubnetStatus(v string) *AwsRdsDbSubnetGroupSubnet { s.SubnetStatus = &v return s } // An Availability Zone for a subnet in a subnet group. type AwsRdsDbSubnetGroupSubnetAvailabilityZone struct { _ struct{} `type:"structure"` // The name of the Availability Zone for a subnet in the subnet group. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSubnetGroupSubnetAvailabilityZone) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsDbSubnetGroupSubnetAvailabilityZone) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsRdsDbSubnetGroupSubnetAvailabilityZone) SetName(v string) *AwsRdsDbSubnetGroupSubnetAvailabilityZone { s.Name = &v return s } // Details about an Amazon RDS event notification subscription. The subscription // allows Amazon RDS to post events to an SNS topic. type AwsRdsEventSubscriptionDetails struct { _ struct{} `type:"structure"` // The identifier of the account that is associated with the event notification // subscription. CustSubscriptionId *string `type:"string"` // The identifier of the event notification subscription. CustomerAwsId *string `type:"string"` // Whether the event notification subscription is enabled. Enabled *bool `type:"boolean"` // The list of event categories for the event notification subscription. EventCategoriesList []*string `type:"list"` // The ARN of the event notification subscription. EventSubscriptionArn *string `type:"string"` // The ARN of the SNS topic to post the event notifications to. SnsTopicArn *string `type:"string"` // A list of source identifiers for the event notification subscription. SourceIdsList []*string `type:"list"` // The source type for the event notification subscription. SourceType *string `type:"string"` // The status of the event notification subscription. // // Valid values: creating | modifying | deleting | active | no-permission | // topic-not-exist Status *string `type:"string"` // The datetime when the event notification subscription was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) SubscriptionCreationTime *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsEventSubscriptionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsEventSubscriptionDetails) GoString() string { return s.String() } // SetCustSubscriptionId sets the CustSubscriptionId field's value. func (s *AwsRdsEventSubscriptionDetails) SetCustSubscriptionId(v string) *AwsRdsEventSubscriptionDetails { s.CustSubscriptionId = &v return s } // SetCustomerAwsId sets the CustomerAwsId field's value. func (s *AwsRdsEventSubscriptionDetails) SetCustomerAwsId(v string) *AwsRdsEventSubscriptionDetails { s.CustomerAwsId = &v return s } // SetEnabled sets the Enabled field's value. func (s *AwsRdsEventSubscriptionDetails) SetEnabled(v bool) *AwsRdsEventSubscriptionDetails { s.Enabled = &v return s } // SetEventCategoriesList sets the EventCategoriesList field's value. func (s *AwsRdsEventSubscriptionDetails) SetEventCategoriesList(v []*string) *AwsRdsEventSubscriptionDetails { s.EventCategoriesList = v return s } // SetEventSubscriptionArn sets the EventSubscriptionArn field's value. func (s *AwsRdsEventSubscriptionDetails) SetEventSubscriptionArn(v string) *AwsRdsEventSubscriptionDetails { s.EventSubscriptionArn = &v return s } // SetSnsTopicArn sets the SnsTopicArn field's value. func (s *AwsRdsEventSubscriptionDetails) SetSnsTopicArn(v string) *AwsRdsEventSubscriptionDetails { s.SnsTopicArn = &v return s } // SetSourceIdsList sets the SourceIdsList field's value. func (s *AwsRdsEventSubscriptionDetails) SetSourceIdsList(v []*string) *AwsRdsEventSubscriptionDetails { s.SourceIdsList = v return s } // SetSourceType sets the SourceType field's value. func (s *AwsRdsEventSubscriptionDetails) SetSourceType(v string) *AwsRdsEventSubscriptionDetails { s.SourceType = &v return s } // SetStatus sets the Status field's value. func (s *AwsRdsEventSubscriptionDetails) SetStatus(v string) *AwsRdsEventSubscriptionDetails { s.Status = &v return s } // SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value. func (s *AwsRdsEventSubscriptionDetails) SetSubscriptionCreationTime(v string) *AwsRdsEventSubscriptionDetails { s.SubscriptionCreationTime = &v return s } // Identifies the log types to enable and disable. type AwsRdsPendingCloudWatchLogsExports struct { _ struct{} `type:"structure"` // A list of log types that are being disabled. LogTypesToDisable []*string `type:"list"` // A list of log types that are being enabled. LogTypesToEnable []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsPendingCloudWatchLogsExports) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRdsPendingCloudWatchLogsExports) GoString() string { return s.String() } // SetLogTypesToDisable sets the LogTypesToDisable field's value. func (s *AwsRdsPendingCloudWatchLogsExports) SetLogTypesToDisable(v []*string) *AwsRdsPendingCloudWatchLogsExports { s.LogTypesToDisable = v return s } // SetLogTypesToEnable sets the LogTypesToEnable field's value. func (s *AwsRdsPendingCloudWatchLogsExports) SetLogTypesToEnable(v []*string) *AwsRdsPendingCloudWatchLogsExports { s.LogTypesToEnable = v return s } // A node in an Amazon Redshift cluster. type AwsRedshiftClusterClusterNode struct { _ struct{} `type:"structure"` // The role of the node. A node might be a leader node or a compute node. NodeRole *string `type:"string"` // The private IP address of the node. PrivateIpAddress *string `type:"string"` // The public IP address of the node. PublicIpAddress *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterNode) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterNode) GoString() string { return s.String() } // SetNodeRole sets the NodeRole field's value. func (s *AwsRedshiftClusterClusterNode) SetNodeRole(v string) *AwsRedshiftClusterClusterNode { s.NodeRole = &v return s } // SetPrivateIpAddress sets the PrivateIpAddress field's value. func (s *AwsRedshiftClusterClusterNode) SetPrivateIpAddress(v string) *AwsRedshiftClusterClusterNode { s.PrivateIpAddress = &v return s } // SetPublicIpAddress sets the PublicIpAddress field's value. func (s *AwsRedshiftClusterClusterNode) SetPublicIpAddress(v string) *AwsRedshiftClusterClusterNode { s.PublicIpAddress = &v return s } // A cluster parameter group that is associated with an Amazon Redshift cluster. type AwsRedshiftClusterClusterParameterGroup struct { _ struct{} `type:"structure"` // The list of parameter statuses. ClusterParameterStatusList []*AwsRedshiftClusterClusterParameterStatus `type:"list"` // The status of updates to the parameters. ParameterApplyStatus *string `type:"string"` // The name of the parameter group. ParameterGroupName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterParameterGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterParameterGroup) GoString() string { return s.String() } // SetClusterParameterStatusList sets the ClusterParameterStatusList field's value. func (s *AwsRedshiftClusterClusterParameterGroup) SetClusterParameterStatusList(v []*AwsRedshiftClusterClusterParameterStatus) *AwsRedshiftClusterClusterParameterGroup { s.ClusterParameterStatusList = v return s } // SetParameterApplyStatus sets the ParameterApplyStatus field's value. func (s *AwsRedshiftClusterClusterParameterGroup) SetParameterApplyStatus(v string) *AwsRedshiftClusterClusterParameterGroup { s.ParameterApplyStatus = &v return s } // SetParameterGroupName sets the ParameterGroupName field's value. func (s *AwsRedshiftClusterClusterParameterGroup) SetParameterGroupName(v string) *AwsRedshiftClusterClusterParameterGroup { s.ParameterGroupName = &v return s } // The status of a parameter in a cluster parameter group for an Amazon Redshift // cluster. type AwsRedshiftClusterClusterParameterStatus struct { _ struct{} `type:"structure"` // The error that prevented the parameter from being applied to the database. ParameterApplyErrorDescription *string `type:"string"` // The status of the parameter. Indicates whether the parameter is in sync with // the database, waiting for a cluster reboot, or encountered an error when // it was applied. // // Valid values: in-sync | pending-reboot | applying | invalid-parameter | apply-deferred // | apply-error | unknown-error ParameterApplyStatus *string `type:"string"` // The name of the parameter. ParameterName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterParameterStatus) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterParameterStatus) GoString() string { return s.String() } // SetParameterApplyErrorDescription sets the ParameterApplyErrorDescription field's value. func (s *AwsRedshiftClusterClusterParameterStatus) SetParameterApplyErrorDescription(v string) *AwsRedshiftClusterClusterParameterStatus { s.ParameterApplyErrorDescription = &v return s } // SetParameterApplyStatus sets the ParameterApplyStatus field's value. func (s *AwsRedshiftClusterClusterParameterStatus) SetParameterApplyStatus(v string) *AwsRedshiftClusterClusterParameterStatus { s.ParameterApplyStatus = &v return s } // SetParameterName sets the ParameterName field's value. func (s *AwsRedshiftClusterClusterParameterStatus) SetParameterName(v string) *AwsRedshiftClusterClusterParameterStatus { s.ParameterName = &v return s } // A security group that is associated with the cluster. type AwsRedshiftClusterClusterSecurityGroup struct { _ struct{} `type:"structure"` // The name of the cluster security group. ClusterSecurityGroupName *string `type:"string"` // The status of the cluster security group. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterSecurityGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterSecurityGroup) GoString() string { return s.String() } // SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. func (s *AwsRedshiftClusterClusterSecurityGroup) SetClusterSecurityGroupName(v string) *AwsRedshiftClusterClusterSecurityGroup { s.ClusterSecurityGroupName = &v return s } // SetStatus sets the Status field's value. func (s *AwsRedshiftClusterClusterSecurityGroup) SetStatus(v string) *AwsRedshiftClusterClusterSecurityGroup { s.Status = &v return s } // You can configure Amazon Redshift to copy snapshots for a cluster to another // Amazon Web Services Region. This parameter provides information about a cross-Region // snapshot copy. type AwsRedshiftClusterClusterSnapshotCopyStatus struct { _ struct{} `type:"structure"` // The destination Region that snapshots are automatically copied to when cross-Region // snapshot copy is enabled. DestinationRegion *string `type:"string"` // The number of days that manual snapshots are retained in the destination // Region after they are copied from a source Region. // // If the value is -1, then the manual snapshot is retained indefinitely. // // Valid values: Either -1 or an integer between 1 and 3,653 ManualSnapshotRetentionPeriod *int64 `type:"integer"` // The number of days to retain automated snapshots in the destination Region // after they are copied from a source Region. RetentionPeriod *int64 `type:"integer"` // The name of the snapshot copy grant. SnapshotCopyGrantName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterSnapshotCopyStatus) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterClusterSnapshotCopyStatus) GoString() string { return s.String() } // SetDestinationRegion sets the DestinationRegion field's value. func (s *AwsRedshiftClusterClusterSnapshotCopyStatus) SetDestinationRegion(v string) *AwsRedshiftClusterClusterSnapshotCopyStatus { s.DestinationRegion = &v return s } // SetManualSnapshotRetentionPeriod sets the ManualSnapshotRetentionPeriod field's value. func (s *AwsRedshiftClusterClusterSnapshotCopyStatus) SetManualSnapshotRetentionPeriod(v int64) *AwsRedshiftClusterClusterSnapshotCopyStatus { s.ManualSnapshotRetentionPeriod = &v return s } // SetRetentionPeriod sets the RetentionPeriod field's value. func (s *AwsRedshiftClusterClusterSnapshotCopyStatus) SetRetentionPeriod(v int64) *AwsRedshiftClusterClusterSnapshotCopyStatus { s.RetentionPeriod = &v return s } // SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. func (s *AwsRedshiftClusterClusterSnapshotCopyStatus) SetSnapshotCopyGrantName(v string) *AwsRedshiftClusterClusterSnapshotCopyStatus { s.SnapshotCopyGrantName = &v return s } // A time windows during which maintenance was deferred for an Amazon Redshift // cluster. type AwsRedshiftClusterDeferredMaintenanceWindow struct { _ struct{} `type:"structure"` // The end of the time window for which maintenance was deferred. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) DeferMaintenanceEndTime *string `type:"string"` // The identifier of the maintenance window. DeferMaintenanceIdentifier *string `type:"string"` // The start of the time window for which maintenance was deferred. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) DeferMaintenanceStartTime *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterDeferredMaintenanceWindow) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterDeferredMaintenanceWindow) GoString() string { return s.String() } // SetDeferMaintenanceEndTime sets the DeferMaintenanceEndTime field's value. func (s *AwsRedshiftClusterDeferredMaintenanceWindow) SetDeferMaintenanceEndTime(v string) *AwsRedshiftClusterDeferredMaintenanceWindow { s.DeferMaintenanceEndTime = &v return s } // SetDeferMaintenanceIdentifier sets the DeferMaintenanceIdentifier field's value. func (s *AwsRedshiftClusterDeferredMaintenanceWindow) SetDeferMaintenanceIdentifier(v string) *AwsRedshiftClusterDeferredMaintenanceWindow { s.DeferMaintenanceIdentifier = &v return s } // SetDeferMaintenanceStartTime sets the DeferMaintenanceStartTime field's value. func (s *AwsRedshiftClusterDeferredMaintenanceWindow) SetDeferMaintenanceStartTime(v string) *AwsRedshiftClusterDeferredMaintenanceWindow { s.DeferMaintenanceStartTime = &v return s } // Details about an Amazon Redshift cluster. type AwsRedshiftClusterDetails struct { _ struct{} `type:"structure"` // Indicates whether major version upgrades are applied automatically to the // cluster during the maintenance window. AllowVersionUpgrade *bool `type:"boolean"` // The number of days that automatic cluster snapshots are retained. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"` // The name of the Availability Zone in which the cluster is located. AvailabilityZone *string `type:"string"` // The availability status of the cluster for queries. Possible values are the // following: // // * Available - The cluster is available for queries. // // * Unavailable - The cluster is not available for queries. // // * Maintenance - The cluster is intermittently available for queries due // to maintenance activities. // // * Modifying -The cluster is intermittently available for queries due to // changes that modify the cluster. // // * Failed - The cluster failed and is not available for queries. ClusterAvailabilityStatus *string `type:"string"` // Indicates when the cluster was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ClusterCreateTime *string `type:"string"` // The unique identifier of the cluster. ClusterIdentifier *string `type:"string"` // The nodes in the cluster. ClusterNodes []*AwsRedshiftClusterClusterNode `type:"list"` // The list of cluster parameter groups that are associated with this cluster. ClusterParameterGroups []*AwsRedshiftClusterClusterParameterGroup `type:"list"` // The public key for the cluster. ClusterPublicKey *string `type:"string"` // The specific revision number of the database in the cluster. ClusterRevisionNumber *string `type:"string"` // A list of cluster security groups that are associated with the cluster. ClusterSecurityGroups []*AwsRedshiftClusterClusterSecurityGroup `type:"list"` // Information about the destination Region and retention period for the cross-Region // snapshot copy. ClusterSnapshotCopyStatus *AwsRedshiftClusterClusterSnapshotCopyStatus `type:"structure"` // The current status of the cluster. // // Valid values: available | available, prep-for-resize | available, resize-cleanup // |cancelling-resize | creating | deleting | final-snapshot | hardware-failure // | incompatible-hsm |incompatible-network | incompatible-parameters | incompatible-restore // | modifying | paused | rebooting | renaming | resizing | rotating-keys | // storage-full | updating-hsm ClusterStatus *string `type:"string"` // The name of the subnet group that is associated with the cluster. This parameter // is valid only when the cluster is in a VPC. ClusterSubnetGroupName *string `type:"string"` // The version ID of the Amazon Redshift engine that runs on the cluster. ClusterVersion *string `type:"string"` // The name of the initial database that was created when the cluster was created. // // The same name is returned for the life of the cluster. // // If an initial database is not specified, a database named devdev is created // by default. DBName *string `type:"string"` // List of time windows during which maintenance was deferred. DeferredMaintenanceWindows []*AwsRedshiftClusterDeferredMaintenanceWindow `type:"list"` // Information about the status of the Elastic IP (EIP) address. ElasticIpStatus *AwsRedshiftClusterElasticIpStatus `type:"structure"` // The number of nodes that you can use the elastic resize method to resize // the cluster to. ElasticResizeNumberOfNodeOptions *string `type:"string"` // Indicates whether the data in the cluster is encrypted at rest. Encrypted *bool `type:"boolean"` // The connection endpoint. Endpoint *AwsRedshiftClusterEndpoint `type:"structure"` // Indicates whether to create the cluster with enhanced VPC routing enabled. EnhancedVpcRouting *bool `type:"boolean"` // Indicates when the next snapshot is expected to be taken. The cluster must // have a valid snapshot schedule and have backups enabled. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ExpectedNextSnapshotScheduleTime *string `type:"string"` // The status of the next expected snapshot. // // Valid values: OnTrack | Pending ExpectedNextSnapshotScheduleTimeStatus *string `type:"string"` // Information about whether the Amazon Redshift cluster finished applying any // changes to hardware security module (HSM) settings that were specified in // a modify cluster command. HsmStatus *AwsRedshiftClusterHsmStatus `type:"structure"` // A list of IAM roles that the cluster can use to access other Amazon Web Services // services. IamRoles []*AwsRedshiftClusterIamRole `type:"list"` // The identifier of the KMS encryption key that is used to encrypt data in // the cluster. KmsKeyId *string `type:"string"` // Information about the logging status of the cluster. LoggingStatus *AwsRedshiftClusterLoggingStatus `type:"structure"` // The name of the maintenance track for the cluster. MaintenanceTrackName *string `type:"string"` // The default number of days to retain a manual snapshot. // // If the value is -1, the snapshot is retained indefinitely. // // This setting doesn't change the retention period of existing snapshots. // // Valid values: Either -1 or an integer between 1 and 3,653 ManualSnapshotRetentionPeriod *int64 `type:"integer"` // The master user name for the cluster. This name is used to connect to the // database that is specified in as the value of DBName. MasterUsername *string `type:"string"` // Indicates the start of the next maintenance window. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) NextMaintenanceWindowStartTime *string `type:"string"` // The node type for the nodes in the cluster. NodeType *string `type:"string"` // The number of compute nodes in the cluster. NumberOfNodes *int64 `type:"integer"` // A list of cluster operations that are waiting to start. PendingActions []*string `type:"list"` // A list of changes to the cluster that are currently pending. PendingModifiedValues *AwsRedshiftClusterPendingModifiedValues `type:"structure"` // The weekly time range, in Universal Coordinated Time (UTC), during which // system maintenance can occur. // // Format: <day>:HH:MM-<day>:HH:MM // // For the day values, use mon | tue | wed | thu | fri | sat | sun // // For example, sun:09:32-sun:10:02 PreferredMaintenanceWindow *string `type:"string"` // Whether the cluster can be accessed from a public network. PubliclyAccessible *bool `type:"boolean"` // Information about the resize operation for the cluster. ResizeInfo *AwsRedshiftClusterResizeInfo `type:"structure"` // Information about the status of a cluster restore action. Only applies to // a cluster that was created by restoring a snapshot. RestoreStatus *AwsRedshiftClusterRestoreStatus `type:"structure"` // A unique identifier for the cluster snapshot schedule. SnapshotScheduleIdentifier *string `type:"string"` // The current state of the cluster snapshot schedule. // // Valid values: MODIFYING | ACTIVE | FAILED SnapshotScheduleState *string `type:"string"` // The identifier of the VPC that the cluster is in, if the cluster is in a // VPC. VpcId *string `type:"string"` // The list of VPC security groups that the cluster belongs to, if the cluster // is in a VPC. VpcSecurityGroups []*AwsRedshiftClusterVpcSecurityGroup `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterDetails) GoString() string { return s.String() } // SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value. func (s *AwsRedshiftClusterDetails) SetAllowVersionUpgrade(v bool) *AwsRedshiftClusterDetails { s.AllowVersionUpgrade = &v return s } // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *AwsRedshiftClusterDetails) SetAutomatedSnapshotRetentionPeriod(v int64) *AwsRedshiftClusterDetails { s.AutomatedSnapshotRetentionPeriod = &v return s } // SetAvailabilityZone sets the AvailabilityZone field's value. func (s *AwsRedshiftClusterDetails) SetAvailabilityZone(v string) *AwsRedshiftClusterDetails { s.AvailabilityZone = &v return s } // SetClusterAvailabilityStatus sets the ClusterAvailabilityStatus field's value. func (s *AwsRedshiftClusterDetails) SetClusterAvailabilityStatus(v string) *AwsRedshiftClusterDetails { s.ClusterAvailabilityStatus = &v return s } // SetClusterCreateTime sets the ClusterCreateTime field's value. func (s *AwsRedshiftClusterDetails) SetClusterCreateTime(v string) *AwsRedshiftClusterDetails { s.ClusterCreateTime = &v return s } // SetClusterIdentifier sets the ClusterIdentifier field's value. func (s *AwsRedshiftClusterDetails) SetClusterIdentifier(v string) *AwsRedshiftClusterDetails { s.ClusterIdentifier = &v return s } // SetClusterNodes sets the ClusterNodes field's value. func (s *AwsRedshiftClusterDetails) SetClusterNodes(v []*AwsRedshiftClusterClusterNode) *AwsRedshiftClusterDetails { s.ClusterNodes = v return s } // SetClusterParameterGroups sets the ClusterParameterGroups field's value. func (s *AwsRedshiftClusterDetails) SetClusterParameterGroups(v []*AwsRedshiftClusterClusterParameterGroup) *AwsRedshiftClusterDetails { s.ClusterParameterGroups = v return s } // SetClusterPublicKey sets the ClusterPublicKey field's value. func (s *AwsRedshiftClusterDetails) SetClusterPublicKey(v string) *AwsRedshiftClusterDetails { s.ClusterPublicKey = &v return s } // SetClusterRevisionNumber sets the ClusterRevisionNumber field's value. func (s *AwsRedshiftClusterDetails) SetClusterRevisionNumber(v string) *AwsRedshiftClusterDetails { s.ClusterRevisionNumber = &v return s } // SetClusterSecurityGroups sets the ClusterSecurityGroups field's value. func (s *AwsRedshiftClusterDetails) SetClusterSecurityGroups(v []*AwsRedshiftClusterClusterSecurityGroup) *AwsRedshiftClusterDetails { s.ClusterSecurityGroups = v return s } // SetClusterSnapshotCopyStatus sets the ClusterSnapshotCopyStatus field's value. func (s *AwsRedshiftClusterDetails) SetClusterSnapshotCopyStatus(v *AwsRedshiftClusterClusterSnapshotCopyStatus) *AwsRedshiftClusterDetails { s.ClusterSnapshotCopyStatus = v return s } // SetClusterStatus sets the ClusterStatus field's value. func (s *AwsRedshiftClusterDetails) SetClusterStatus(v string) *AwsRedshiftClusterDetails { s.ClusterStatus = &v return s } // SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. func (s *AwsRedshiftClusterDetails) SetClusterSubnetGroupName(v string) *AwsRedshiftClusterDetails { s.ClusterSubnetGroupName = &v return s } // SetClusterVersion sets the ClusterVersion field's value. func (s *AwsRedshiftClusterDetails) SetClusterVersion(v string) *AwsRedshiftClusterDetails { s.ClusterVersion = &v return s } // SetDBName sets the DBName field's value. func (s *AwsRedshiftClusterDetails) SetDBName(v string) *AwsRedshiftClusterDetails { s.DBName = &v return s } // SetDeferredMaintenanceWindows sets the DeferredMaintenanceWindows field's value. func (s *AwsRedshiftClusterDetails) SetDeferredMaintenanceWindows(v []*AwsRedshiftClusterDeferredMaintenanceWindow) *AwsRedshiftClusterDetails { s.DeferredMaintenanceWindows = v return s } // SetElasticIpStatus sets the ElasticIpStatus field's value. func (s *AwsRedshiftClusterDetails) SetElasticIpStatus(v *AwsRedshiftClusterElasticIpStatus) *AwsRedshiftClusterDetails { s.ElasticIpStatus = v return s } // SetElasticResizeNumberOfNodeOptions sets the ElasticResizeNumberOfNodeOptions field's value. func (s *AwsRedshiftClusterDetails) SetElasticResizeNumberOfNodeOptions(v string) *AwsRedshiftClusterDetails { s.ElasticResizeNumberOfNodeOptions = &v return s } // SetEncrypted sets the Encrypted field's value. func (s *AwsRedshiftClusterDetails) SetEncrypted(v bool) *AwsRedshiftClusterDetails { s.Encrypted = &v return s } // SetEndpoint sets the Endpoint field's value. func (s *AwsRedshiftClusterDetails) SetEndpoint(v *AwsRedshiftClusterEndpoint) *AwsRedshiftClusterDetails { s.Endpoint = v return s } // SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. func (s *AwsRedshiftClusterDetails) SetEnhancedVpcRouting(v bool) *AwsRedshiftClusterDetails { s.EnhancedVpcRouting = &v return s } // SetExpectedNextSnapshotScheduleTime sets the ExpectedNextSnapshotScheduleTime field's value. func (s *AwsRedshiftClusterDetails) SetExpectedNextSnapshotScheduleTime(v string) *AwsRedshiftClusterDetails { s.ExpectedNextSnapshotScheduleTime = &v return s } // SetExpectedNextSnapshotScheduleTimeStatus sets the ExpectedNextSnapshotScheduleTimeStatus field's value. func (s *AwsRedshiftClusterDetails) SetExpectedNextSnapshotScheduleTimeStatus(v string) *AwsRedshiftClusterDetails { s.ExpectedNextSnapshotScheduleTimeStatus = &v return s } // SetHsmStatus sets the HsmStatus field's value. func (s *AwsRedshiftClusterDetails) SetHsmStatus(v *AwsRedshiftClusterHsmStatus) *AwsRedshiftClusterDetails { s.HsmStatus = v return s } // SetIamRoles sets the IamRoles field's value. func (s *AwsRedshiftClusterDetails) SetIamRoles(v []*AwsRedshiftClusterIamRole) *AwsRedshiftClusterDetails { s.IamRoles = v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsRedshiftClusterDetails) SetKmsKeyId(v string) *AwsRedshiftClusterDetails { s.KmsKeyId = &v return s } // SetLoggingStatus sets the LoggingStatus field's value. func (s *AwsRedshiftClusterDetails) SetLoggingStatus(v *AwsRedshiftClusterLoggingStatus) *AwsRedshiftClusterDetails { s.LoggingStatus = v return s } // SetMaintenanceTrackName sets the MaintenanceTrackName field's value. func (s *AwsRedshiftClusterDetails) SetMaintenanceTrackName(v string) *AwsRedshiftClusterDetails { s.MaintenanceTrackName = &v return s } // SetManualSnapshotRetentionPeriod sets the ManualSnapshotRetentionPeriod field's value. func (s *AwsRedshiftClusterDetails) SetManualSnapshotRetentionPeriod(v int64) *AwsRedshiftClusterDetails { s.ManualSnapshotRetentionPeriod = &v return s } // SetMasterUsername sets the MasterUsername field's value. func (s *AwsRedshiftClusterDetails) SetMasterUsername(v string) *AwsRedshiftClusterDetails { s.MasterUsername = &v return s } // SetNextMaintenanceWindowStartTime sets the NextMaintenanceWindowStartTime field's value. func (s *AwsRedshiftClusterDetails) SetNextMaintenanceWindowStartTime(v string) *AwsRedshiftClusterDetails { s.NextMaintenanceWindowStartTime = &v return s } // SetNodeType sets the NodeType field's value. func (s *AwsRedshiftClusterDetails) SetNodeType(v string) *AwsRedshiftClusterDetails { s.NodeType = &v return s } // SetNumberOfNodes sets the NumberOfNodes field's value. func (s *AwsRedshiftClusterDetails) SetNumberOfNodes(v int64) *AwsRedshiftClusterDetails { s.NumberOfNodes = &v return s } // SetPendingActions sets the PendingActions field's value. func (s *AwsRedshiftClusterDetails) SetPendingActions(v []*string) *AwsRedshiftClusterDetails { s.PendingActions = v return s } // SetPendingModifiedValues sets the PendingModifiedValues field's value. func (s *AwsRedshiftClusterDetails) SetPendingModifiedValues(v *AwsRedshiftClusterPendingModifiedValues) *AwsRedshiftClusterDetails { s.PendingModifiedValues = v return s } // SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. func (s *AwsRedshiftClusterDetails) SetPreferredMaintenanceWindow(v string) *AwsRedshiftClusterDetails { s.PreferredMaintenanceWindow = &v return s } // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *AwsRedshiftClusterDetails) SetPubliclyAccessible(v bool) *AwsRedshiftClusterDetails { s.PubliclyAccessible = &v return s } // SetResizeInfo sets the ResizeInfo field's value. func (s *AwsRedshiftClusterDetails) SetResizeInfo(v *AwsRedshiftClusterResizeInfo) *AwsRedshiftClusterDetails { s.ResizeInfo = v return s } // SetRestoreStatus sets the RestoreStatus field's value. func (s *AwsRedshiftClusterDetails) SetRestoreStatus(v *AwsRedshiftClusterRestoreStatus) *AwsRedshiftClusterDetails { s.RestoreStatus = v return s } // SetSnapshotScheduleIdentifier sets the SnapshotScheduleIdentifier field's value. func (s *AwsRedshiftClusterDetails) SetSnapshotScheduleIdentifier(v string) *AwsRedshiftClusterDetails { s.SnapshotScheduleIdentifier = &v return s } // SetSnapshotScheduleState sets the SnapshotScheduleState field's value. func (s *AwsRedshiftClusterDetails) SetSnapshotScheduleState(v string) *AwsRedshiftClusterDetails { s.SnapshotScheduleState = &v return s } // SetVpcId sets the VpcId field's value. func (s *AwsRedshiftClusterDetails) SetVpcId(v string) *AwsRedshiftClusterDetails { s.VpcId = &v return s } // SetVpcSecurityGroups sets the VpcSecurityGroups field's value. func (s *AwsRedshiftClusterDetails) SetVpcSecurityGroups(v []*AwsRedshiftClusterVpcSecurityGroup) *AwsRedshiftClusterDetails { s.VpcSecurityGroups = v return s } // The status of the elastic IP (EIP) address for an Amazon Redshift cluster. type AwsRedshiftClusterElasticIpStatus struct { _ struct{} `type:"structure"` // The elastic IP address for the cluster. ElasticIp *string `type:"string"` // The status of the elastic IP address. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterElasticIpStatus) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterElasticIpStatus) GoString() string { return s.String() } // SetElasticIp sets the ElasticIp field's value. func (s *AwsRedshiftClusterElasticIpStatus) SetElasticIp(v string) *AwsRedshiftClusterElasticIpStatus { s.ElasticIp = &v return s } // SetStatus sets the Status field's value. func (s *AwsRedshiftClusterElasticIpStatus) SetStatus(v string) *AwsRedshiftClusterElasticIpStatus { s.Status = &v return s } // The connection endpoint for an Amazon Redshift cluster. type AwsRedshiftClusterEndpoint struct { _ struct{} `type:"structure"` // The DNS address of the cluster. Address *string `type:"string"` // The port that the database engine listens on. Port *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterEndpoint) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterEndpoint) GoString() string { return s.String() } // SetAddress sets the Address field's value. func (s *AwsRedshiftClusterEndpoint) SetAddress(v string) *AwsRedshiftClusterEndpoint { s.Address = &v return s } // SetPort sets the Port field's value. func (s *AwsRedshiftClusterEndpoint) SetPort(v int64) *AwsRedshiftClusterEndpoint { s.Port = &v return s } // Information about whether an Amazon Redshift cluster finished applying any // hardware changes to security module (HSM) settings that were specified in // a modify cluster command. type AwsRedshiftClusterHsmStatus struct { _ struct{} `type:"structure"` // The name of the HSM client certificate that the Amazon Redshift cluster uses // to retrieve the data encryption keys that are stored in an HSM. HsmClientCertificateIdentifier *string `type:"string"` // The name of the HSM configuration that contains the information that the // Amazon Redshift cluster can use to retrieve and store keys in an HSM. HsmConfigurationIdentifier *string `type:"string"` // Indicates whether the Amazon Redshift cluster has finished applying any HSM // settings changes specified in a modify cluster command. // // Type: String // // Valid values: active | applying Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterHsmStatus) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterHsmStatus) GoString() string { return s.String() } // SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. func (s *AwsRedshiftClusterHsmStatus) SetHsmClientCertificateIdentifier(v string) *AwsRedshiftClusterHsmStatus { s.HsmClientCertificateIdentifier = &v return s } // SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. func (s *AwsRedshiftClusterHsmStatus) SetHsmConfigurationIdentifier(v string) *AwsRedshiftClusterHsmStatus { s.HsmConfigurationIdentifier = &v return s } // SetStatus sets the Status field's value. func (s *AwsRedshiftClusterHsmStatus) SetStatus(v string) *AwsRedshiftClusterHsmStatus { s.Status = &v return s } // An IAM role that the cluster can use to access other Amazon Web Services // services. type AwsRedshiftClusterIamRole struct { _ struct{} `type:"structure"` // The status of the IAM role's association with the cluster. // // Valid values: in-sync | adding | removing ApplyStatus *string `type:"string"` // The ARN of the IAM role. IamRoleArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterIamRole) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterIamRole) GoString() string { return s.String() } // SetApplyStatus sets the ApplyStatus field's value. func (s *AwsRedshiftClusterIamRole) SetApplyStatus(v string) *AwsRedshiftClusterIamRole { s.ApplyStatus = &v return s } // SetIamRoleArn sets the IamRoleArn field's value. func (s *AwsRedshiftClusterIamRole) SetIamRoleArn(v string) *AwsRedshiftClusterIamRole { s.IamRoleArn = &v return s } // Provides information about the logging status of the cluster. type AwsRedshiftClusterLoggingStatus struct { _ struct{} `type:"structure"` // The name of the S3 bucket where the log files are stored. BucketName *string `type:"string"` // The message indicating that the logs failed to be delivered. LastFailureMessage *string `type:"string"` // The last time when logs failed to be delivered. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastFailureTime *string `type:"string"` // The last time that logs were delivered successfully. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastSuccessfulDeliveryTime *string `type:"string"` // Indicates whether logging is enabled. LoggingEnabled *bool `type:"boolean"` // Provides the prefix applied to the log file names. S3KeyPrefix *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterLoggingStatus) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterLoggingStatus) GoString() string { return s.String() } // SetBucketName sets the BucketName field's value. func (s *AwsRedshiftClusterLoggingStatus) SetBucketName(v string) *AwsRedshiftClusterLoggingStatus { s.BucketName = &v return s } // SetLastFailureMessage sets the LastFailureMessage field's value. func (s *AwsRedshiftClusterLoggingStatus) SetLastFailureMessage(v string) *AwsRedshiftClusterLoggingStatus { s.LastFailureMessage = &v return s } // SetLastFailureTime sets the LastFailureTime field's value. func (s *AwsRedshiftClusterLoggingStatus) SetLastFailureTime(v string) *AwsRedshiftClusterLoggingStatus { s.LastFailureTime = &v return s } // SetLastSuccessfulDeliveryTime sets the LastSuccessfulDeliveryTime field's value. func (s *AwsRedshiftClusterLoggingStatus) SetLastSuccessfulDeliveryTime(v string) *AwsRedshiftClusterLoggingStatus { s.LastSuccessfulDeliveryTime = &v return s } // SetLoggingEnabled sets the LoggingEnabled field's value. func (s *AwsRedshiftClusterLoggingStatus) SetLoggingEnabled(v bool) *AwsRedshiftClusterLoggingStatus { s.LoggingEnabled = &v return s } // SetS3KeyPrefix sets the S3KeyPrefix field's value. func (s *AwsRedshiftClusterLoggingStatus) SetS3KeyPrefix(v string) *AwsRedshiftClusterLoggingStatus { s.S3KeyPrefix = &v return s } // Changes to the Amazon Redshift cluster that are currently pending. type AwsRedshiftClusterPendingModifiedValues struct { _ struct{} `type:"structure"` // The pending or in-progress change to the automated snapshot retention period. AutomatedSnapshotRetentionPeriod *int64 `type:"integer"` // The pending or in-progress change to the identifier for the cluster. ClusterIdentifier *string `type:"string"` // The pending or in-progress change to the cluster type. ClusterType *string `type:"string"` // The pending or in-progress change to the service version. ClusterVersion *string `type:"string"` // The encryption type for a cluster. EncryptionType *string `type:"string"` // Indicates whether to create the cluster with enhanced VPC routing enabled. EnhancedVpcRouting *bool `type:"boolean"` // The name of the maintenance track that the cluster changes to during the // next maintenance window. MaintenanceTrackName *string `type:"string"` // The pending or in-progress change to the master user password for the cluster. MasterUserPassword *string `type:"string"` // The pending or in-progress change to the cluster's node type. NodeType *string `type:"string"` // The pending or in-progress change to the number of nodes in the cluster. NumberOfNodes *int64 `type:"integer"` // The pending or in-progress change to whether the cluster can be connected // to from the public network. PubliclyAccessible *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterPendingModifiedValues) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterPendingModifiedValues) GoString() string { return s.String() } // SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetAutomatedSnapshotRetentionPeriod(v int64) *AwsRedshiftClusterPendingModifiedValues { s.AutomatedSnapshotRetentionPeriod = &v return s } // SetClusterIdentifier sets the ClusterIdentifier field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetClusterIdentifier(v string) *AwsRedshiftClusterPendingModifiedValues { s.ClusterIdentifier = &v return s } // SetClusterType sets the ClusterType field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetClusterType(v string) *AwsRedshiftClusterPendingModifiedValues { s.ClusterType = &v return s } // SetClusterVersion sets the ClusterVersion field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetClusterVersion(v string) *AwsRedshiftClusterPendingModifiedValues { s.ClusterVersion = &v return s } // SetEncryptionType sets the EncryptionType field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetEncryptionType(v string) *AwsRedshiftClusterPendingModifiedValues { s.EncryptionType = &v return s } // SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetEnhancedVpcRouting(v bool) *AwsRedshiftClusterPendingModifiedValues { s.EnhancedVpcRouting = &v return s } // SetMaintenanceTrackName sets the MaintenanceTrackName field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetMaintenanceTrackName(v string) *AwsRedshiftClusterPendingModifiedValues { s.MaintenanceTrackName = &v return s } // SetMasterUserPassword sets the MasterUserPassword field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetMasterUserPassword(v string) *AwsRedshiftClusterPendingModifiedValues { s.MasterUserPassword = &v return s } // SetNodeType sets the NodeType field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetNodeType(v string) *AwsRedshiftClusterPendingModifiedValues { s.NodeType = &v return s } // SetNumberOfNodes sets the NumberOfNodes field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetNumberOfNodes(v int64) *AwsRedshiftClusterPendingModifiedValues { s.NumberOfNodes = &v return s } // SetPubliclyAccessible sets the PubliclyAccessible field's value. func (s *AwsRedshiftClusterPendingModifiedValues) SetPubliclyAccessible(v bool) *AwsRedshiftClusterPendingModifiedValues { s.PubliclyAccessible = &v return s } // Information about the resize operation for the cluster. type AwsRedshiftClusterResizeInfo struct { _ struct{} `type:"structure"` // Indicates whether the resize operation can be canceled. AllowCancelResize *bool `type:"boolean"` // The type of resize operation. // // Valid values: ClassicResize ResizeType *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterResizeInfo) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterResizeInfo) GoString() string { return s.String() } // SetAllowCancelResize sets the AllowCancelResize field's value. func (s *AwsRedshiftClusterResizeInfo) SetAllowCancelResize(v bool) *AwsRedshiftClusterResizeInfo { s.AllowCancelResize = &v return s } // SetResizeType sets the ResizeType field's value. func (s *AwsRedshiftClusterResizeInfo) SetResizeType(v string) *AwsRedshiftClusterResizeInfo { s.ResizeType = &v return s } // Information about the status of a cluster restore action. It only applies // if the cluster was created by restoring a snapshot. type AwsRedshiftClusterRestoreStatus struct { _ struct{} `type:"structure"` // The number of megabytes per second being transferred from the backup storage. // Returns the average rate for a completed backup. // // This field is only updated when you restore to DC2 and DS2 node types. CurrentRestoreRateInMegaBytesPerSecond *float64 `type:"double"` // The amount of time an in-progress restore has been running, or the amount // of time it took a completed restore to finish. // // This field is only updated when you restore to DC2 and DS2 node types. ElapsedTimeInSeconds *int64 `type:"long"` // The estimate of the time remaining before the restore is complete. Returns // 0 for a completed restore. // // This field is only updated when you restore to DC2 and DS2 node types. EstimatedTimeToCompletionInSeconds *int64 `type:"long"` // The number of megabytes that were transferred from snapshot storage. // // This field is only updated when you restore to DC2 and DS2 node types. ProgressInMegaBytes *int64 `type:"long"` // The size of the set of snapshot data that was used to restore the cluster. // // This field is only updated when you restore to DC2 and DS2 node types. SnapshotSizeInMegaBytes *int64 `type:"long"` // The status of the restore action. // // Valid values: starting | restoring | completed | failed Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterRestoreStatus) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterRestoreStatus) GoString() string { return s.String() } // SetCurrentRestoreRateInMegaBytesPerSecond sets the CurrentRestoreRateInMegaBytesPerSecond field's value. func (s *AwsRedshiftClusterRestoreStatus) SetCurrentRestoreRateInMegaBytesPerSecond(v float64) *AwsRedshiftClusterRestoreStatus { s.CurrentRestoreRateInMegaBytesPerSecond = &v return s } // SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value. func (s *AwsRedshiftClusterRestoreStatus) SetElapsedTimeInSeconds(v int64) *AwsRedshiftClusterRestoreStatus { s.ElapsedTimeInSeconds = &v return s } // SetEstimatedTimeToCompletionInSeconds sets the EstimatedTimeToCompletionInSeconds field's value. func (s *AwsRedshiftClusterRestoreStatus) SetEstimatedTimeToCompletionInSeconds(v int64) *AwsRedshiftClusterRestoreStatus { s.EstimatedTimeToCompletionInSeconds = &v return s } // SetProgressInMegaBytes sets the ProgressInMegaBytes field's value. func (s *AwsRedshiftClusterRestoreStatus) SetProgressInMegaBytes(v int64) *AwsRedshiftClusterRestoreStatus { s.ProgressInMegaBytes = &v return s } // SetSnapshotSizeInMegaBytes sets the SnapshotSizeInMegaBytes field's value. func (s *AwsRedshiftClusterRestoreStatus) SetSnapshotSizeInMegaBytes(v int64) *AwsRedshiftClusterRestoreStatus { s.SnapshotSizeInMegaBytes = &v return s } // SetStatus sets the Status field's value. func (s *AwsRedshiftClusterRestoreStatus) SetStatus(v string) *AwsRedshiftClusterRestoreStatus { s.Status = &v return s } // A VPC security group that the cluster belongs to, if the cluster is in a // VPC. type AwsRedshiftClusterVpcSecurityGroup struct { _ struct{} `type:"structure"` // The status of the VPC security group. Status *string `type:"string"` // The identifier of the VPC security group. VpcSecurityGroupId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterVpcSecurityGroup) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRedshiftClusterVpcSecurityGroup) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *AwsRedshiftClusterVpcSecurityGroup) SetStatus(v string) *AwsRedshiftClusterVpcSecurityGroup { s.Status = &v return s } // SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value. func (s *AwsRedshiftClusterVpcSecurityGroup) SetVpcSecurityGroupId(v string) *AwsRedshiftClusterVpcSecurityGroup { s.VpcSecurityGroupId = &v return s } // An object that contains an optional comment about your Amazon Route 53 hosted // zone. type AwsRoute53HostedZoneConfigDetails struct { _ struct{} `type:"structure"` // Any comments that you include about the hosted zone. Comment *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneConfigDetails) GoString() string { return s.String() } // SetComment sets the Comment field's value. func (s *AwsRoute53HostedZoneConfigDetails) SetComment(v string) *AwsRoute53HostedZoneConfigDetails { s.Comment = &v return s } // Provides details about a specified Amazon Route 53 hosted zone, including // the four name servers assigned to the hosted zone. A hosted zone represents // a collection of records that can be managed together, belonging to a single // parent domain name. type AwsRoute53HostedZoneDetails struct { _ struct{} `type:"structure"` // An object that contains information about the specified hosted zone. HostedZone *AwsRoute53HostedZoneObjectDetails `type:"structure"` // An object that contains a list of the authoritative name servers for a hosted // zone or for a reusable delegation set. NameServers []*string `type:"list"` // An array that contains one QueryLoggingConfig element for each DNS query // logging configuration that is associated with the current Amazon Web Services // account. QueryLoggingConfig *AwsRoute53QueryLoggingConfigDetails `type:"structure"` // An object that contains information about the Amazon Virtual Private Clouds // (Amazon VPCs) that are associated with the specified hosted zone. Vpcs []*AwsRoute53HostedZoneVpcDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneDetails) GoString() string { return s.String() } // SetHostedZone sets the HostedZone field's value. func (s *AwsRoute53HostedZoneDetails) SetHostedZone(v *AwsRoute53HostedZoneObjectDetails) *AwsRoute53HostedZoneDetails { s.HostedZone = v return s } // SetNameServers sets the NameServers field's value. func (s *AwsRoute53HostedZoneDetails) SetNameServers(v []*string) *AwsRoute53HostedZoneDetails { s.NameServers = v return s } // SetQueryLoggingConfig sets the QueryLoggingConfig field's value. func (s *AwsRoute53HostedZoneDetails) SetQueryLoggingConfig(v *AwsRoute53QueryLoggingConfigDetails) *AwsRoute53HostedZoneDetails { s.QueryLoggingConfig = v return s } // SetVpcs sets the Vpcs field's value. func (s *AwsRoute53HostedZoneDetails) SetVpcs(v []*AwsRoute53HostedZoneVpcDetails) *AwsRoute53HostedZoneDetails { s.Vpcs = v return s } // An object that contains information about an Amazon Route 53 hosted zone. type AwsRoute53HostedZoneObjectDetails struct { _ struct{} `type:"structure"` // An object that includes the Comment element. Config *AwsRoute53HostedZoneConfigDetails `type:"structure"` // The ID that Route 53 assigns to the hosted zone when you create it. Id *string `type:"string"` // The name of the domain. For public hosted zones, this is the name that you // have registered with your DNS registrar. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneObjectDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneObjectDetails) GoString() string { return s.String() } // SetConfig sets the Config field's value. func (s *AwsRoute53HostedZoneObjectDetails) SetConfig(v *AwsRoute53HostedZoneConfigDetails) *AwsRoute53HostedZoneObjectDetails { s.Config = v return s } // SetId sets the Id field's value. func (s *AwsRoute53HostedZoneObjectDetails) SetId(v string) *AwsRoute53HostedZoneObjectDetails { s.Id = &v return s } // SetName sets the Name field's value. func (s *AwsRoute53HostedZoneObjectDetails) SetName(v string) *AwsRoute53HostedZoneObjectDetails { s.Name = &v return s } // For private hosted zones, this is a complex type that contains information // about an Amazon VPC. type AwsRoute53HostedZoneVpcDetails struct { _ struct{} `type:"structure"` // The identifier of an Amazon VPC. Id *string `type:"string"` // The Amazon Web Services Region that an Amazon VPC was created in. Region *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneVpcDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53HostedZoneVpcDetails) GoString() string { return s.String() } // SetId sets the Id field's value. func (s *AwsRoute53HostedZoneVpcDetails) SetId(v string) *AwsRoute53HostedZoneVpcDetails { s.Id = &v return s } // SetRegion sets the Region field's value. func (s *AwsRoute53HostedZoneVpcDetails) SetRegion(v string) *AwsRoute53HostedZoneVpcDetails { s.Region = &v return s } // Provides details about a specified Amazon Route 53 configuration for DNS // query logging. type AwsRoute53QueryLoggingConfigDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log group that // Route 53 is publishing logs to. CloudWatchLogsLogGroupArn *CloudWatchLogsLogGroupArnConfigDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53QueryLoggingConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsRoute53QueryLoggingConfigDetails) GoString() string { return s.String() } // SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. func (s *AwsRoute53QueryLoggingConfigDetails) SetCloudWatchLogsLogGroupArn(v *CloudWatchLogsLogGroupArnConfigDetails) *AwsRoute53QueryLoggingConfigDetails { s.CloudWatchLogsLogGroupArn = v return s } // Returns configuration information about the specified Amazon S3 access point. // S3 access points are named network endpoints that are attached to buckets // that you can use to perform S3 object operations. type AwsS3AccessPointDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the access point. AccessPointArn *string `type:"string"` // The name or alias of the access point. Alias *string `type:"string"` // The name of the S3 bucket associated with the specified access point. Bucket *string `type:"string"` // The Amazon Web Services account ID associated with the S3 bucket associated // with this access point. BucketAccountId *string `type:"string"` // The name of the specified access point. Name *string `type:"string"` // Indicates whether this access point allows access from the public internet. NetworkOrigin *string `type:"string"` // provides information about the Amazon S3 Public Access Block configuration // for accounts. PublicAccessBlockConfiguration *AwsS3AccountPublicAccessBlockDetails `type:"structure"` // Contains the virtual private cloud (VPC) configuration for the specified // access point. VpcConfiguration *AwsS3AccessPointVpcConfigurationDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3AccessPointDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3AccessPointDetails) GoString() string { return s.String() } // SetAccessPointArn sets the AccessPointArn field's value. func (s *AwsS3AccessPointDetails) SetAccessPointArn(v string) *AwsS3AccessPointDetails { s.AccessPointArn = &v return s } // SetAlias sets the Alias field's value. func (s *AwsS3AccessPointDetails) SetAlias(v string) *AwsS3AccessPointDetails { s.Alias = &v return s } // SetBucket sets the Bucket field's value. func (s *AwsS3AccessPointDetails) SetBucket(v string) *AwsS3AccessPointDetails { s.Bucket = &v return s } // SetBucketAccountId sets the BucketAccountId field's value. func (s *AwsS3AccessPointDetails) SetBucketAccountId(v string) *AwsS3AccessPointDetails { s.BucketAccountId = &v return s } // SetName sets the Name field's value. func (s *AwsS3AccessPointDetails) SetName(v string) *AwsS3AccessPointDetails { s.Name = &v return s } // SetNetworkOrigin sets the NetworkOrigin field's value. func (s *AwsS3AccessPointDetails) SetNetworkOrigin(v string) *AwsS3AccessPointDetails { s.NetworkOrigin = &v return s } // SetPublicAccessBlockConfiguration sets the PublicAccessBlockConfiguration field's value. func (s *AwsS3AccessPointDetails) SetPublicAccessBlockConfiguration(v *AwsS3AccountPublicAccessBlockDetails) *AwsS3AccessPointDetails { s.PublicAccessBlockConfiguration = v return s } // SetVpcConfiguration sets the VpcConfiguration field's value. func (s *AwsS3AccessPointDetails) SetVpcConfiguration(v *AwsS3AccessPointVpcConfigurationDetails) *AwsS3AccessPointDetails { s.VpcConfiguration = v return s } // The virtual private cloud (VPC) configuration for an Amazon S3 access point. type AwsS3AccessPointVpcConfigurationDetails struct { _ struct{} `type:"structure"` // If this field is specified, this access point will only allow connections // from the specified VPC ID. VpcId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3AccessPointVpcConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3AccessPointVpcConfigurationDetails) GoString() string { return s.String() } // SetVpcId sets the VpcId field's value. func (s *AwsS3AccessPointVpcConfigurationDetails) SetVpcId(v string) *AwsS3AccessPointVpcConfigurationDetails { s.VpcId = &v return s } // provides information about the Amazon S3 Public Access Block configuration // for accounts. type AwsS3AccountPublicAccessBlockDetails struct { _ struct{} `type:"structure"` // Indicates whether to reject calls to update an S3 bucket if the calls include // a public access control list (ACL). BlockPublicAcls *bool `type:"boolean"` // Indicates whether to reject calls to update the access policy for an S3 bucket // or access point if the policy allows public access. BlockPublicPolicy *bool `type:"boolean"` // Indicates whether Amazon S3 ignores public ACLs that are associated with // an S3 bucket. IgnorePublicAcls *bool `type:"boolean"` // Indicates whether to restrict access to an access point or S3 bucket that // has a public policy to only Amazon Web Services service principals and authorized // users within the S3 bucket owner's account. RestrictPublicBuckets *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3AccountPublicAccessBlockDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3AccountPublicAccessBlockDetails) GoString() string { return s.String() } // SetBlockPublicAcls sets the BlockPublicAcls field's value. func (s *AwsS3AccountPublicAccessBlockDetails) SetBlockPublicAcls(v bool) *AwsS3AccountPublicAccessBlockDetails { s.BlockPublicAcls = &v return s } // SetBlockPublicPolicy sets the BlockPublicPolicy field's value. func (s *AwsS3AccountPublicAccessBlockDetails) SetBlockPublicPolicy(v bool) *AwsS3AccountPublicAccessBlockDetails { s.BlockPublicPolicy = &v return s } // SetIgnorePublicAcls sets the IgnorePublicAcls field's value. func (s *AwsS3AccountPublicAccessBlockDetails) SetIgnorePublicAcls(v bool) *AwsS3AccountPublicAccessBlockDetails { s.IgnorePublicAcls = &v return s } // SetRestrictPublicBuckets sets the RestrictPublicBuckets field's value. func (s *AwsS3AccountPublicAccessBlockDetails) SetRestrictPublicBuckets(v bool) *AwsS3AccountPublicAccessBlockDetails { s.RestrictPublicBuckets = &v return s } // The lifecycle configuration for the objects in the S3 bucket. type AwsS3BucketBucketLifecycleConfigurationDetails struct { _ struct{} `type:"structure"` // The lifecycle rules. Rules []*AwsS3BucketBucketLifecycleConfigurationRulesDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationDetails) GoString() string { return s.String() } // SetRules sets the Rules field's value. func (s *AwsS3BucketBucketLifecycleConfigurationDetails) SetRules(v []*AwsS3BucketBucketLifecycleConfigurationRulesDetails) *AwsS3BucketBucketLifecycleConfigurationDetails { s.Rules = v return s } // Information about what Amazon S3 does when a multipart upload is incomplete. type your_sha256_hashpartUploadDetails struct { _ struct{} `type:"structure"` // The number of days after which Amazon S3 cancels an incomplete multipart // upload. DaysAfterInitiation *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashpartUploadDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashpartUploadDetails) GoString() string { return s.String() } // SetDaysAfterInitiation sets the DaysAfterInitiation field's value. func (s *your_sha256_hashpartUploadDetails) SetDaysAfterInitiation(v int64) *your_sha256_hashpartUploadDetails { s.DaysAfterInitiation = &v return s } // Configuration for a lifecycle rule. type AwsS3BucketBucketLifecycleConfigurationRulesDetails struct { _ struct{} `type:"structure"` // How Amazon S3 responds when a multipart upload is incomplete. Specifically, // provides a number of days before Amazon S3 cancels the entire upload. AbortIncompleteMultipartUpload *your_sha256_hashpartUploadDetails `type:"structure"` // The date when objects are moved or deleted. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ExpirationDate *string `type:"string"` // The length in days of the lifetime for objects that are subject to the rule. ExpirationInDays *int64 `type:"integer"` // Whether Amazon S3 removes a delete marker that has no noncurrent versions. // If set to true, the delete marker is expired. If set to false, the policy // takes no action. // // If you provide ExpiredObjectDeleteMarker, you cannot provide ExpirationInDays // or ExpirationDate. ExpiredObjectDeleteMarker *bool `type:"boolean"` // Identifies the objects that a rule applies to. Filter *AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails `type:"structure"` // The unique identifier of the rule. ID *string `type:"string"` // The number of days that an object is noncurrent before Amazon S3 can perform // the associated action. NoncurrentVersionExpirationInDays *int64 `type:"integer"` // Transition rules that describe when noncurrent objects transition to a specified // storage class. NoncurrentVersionTransitions []*your_sha256_hashnsitionsDetails `type:"list"` // A prefix that identifies one or more objects that the rule applies to. Prefix *string `type:"string"` // The current status of the rule. Indicates whether the rule is currently being // applied. Status *string `type:"string"` // Transition rules that indicate when objects transition to a specified storage // class. Transitions []*AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationRulesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationRulesDetails) GoString() string { return s.String() } // SetAbortIncompleteMultipartUpload sets the AbortIncompleteMultipartUpload field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetAbortIncompleteMultipartUpload(v *your_sha256_hashpartUploadDetails) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.AbortIncompleteMultipartUpload = v return s } // SetExpirationDate sets the ExpirationDate field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetExpirationDate(v string) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.ExpirationDate = &v return s } // SetExpirationInDays sets the ExpirationInDays field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetExpirationInDays(v int64) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.ExpirationInDays = &v return s } // SetExpiredObjectDeleteMarker sets the ExpiredObjectDeleteMarker field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetExpiredObjectDeleteMarker(v bool) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.ExpiredObjectDeleteMarker = &v return s } // SetFilter sets the Filter field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetFilter(v *AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.Filter = v return s } // SetID sets the ID field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetID(v string) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.ID = &v return s } // SetNoncurrentVersionExpirationInDays sets the NoncurrentVersionExpirationInDays field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetNoncurrentVersionExpirationInDays(v int64) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.NoncurrentVersionExpirationInDays = &v return s } // SetNoncurrentVersionTransitions sets the NoncurrentVersionTransitions field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetNoncurrentVersionTransitions(v []*your_sha256_hashnsitionsDetails) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.NoncurrentVersionTransitions = v return s } // SetPrefix sets the Prefix field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetPrefix(v string) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.Prefix = &v return s } // SetStatus sets the Status field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetStatus(v string) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.Status = &v return s } // SetTransitions sets the Transitions field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesDetails) SetTransitions(v []*AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails) *AwsS3BucketBucketLifecycleConfigurationRulesDetails { s.Transitions = v return s } // Identifies the objects that a rule applies to. type AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails struct { _ struct{} `type:"structure"` // The configuration for the filter. Predicate *your_sha256_hashls `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails) GoString() string { return s.String() } // SetPredicate sets the Predicate field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails) SetPredicate(v *your_sha256_hashls) *AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails { s.Predicate = v return s } // The configuration for the filter. type your_sha256_hashls struct { _ struct{} `type:"structure"` // The values to use for the filter. Operands []*your_sha256_hashndsDetails `type:"list"` // A prefix filter. Prefix *string `type:"string"` // A tag filter. Tag *your_sha256_hashtails `type:"structure"` // Whether to use AND or OR to join the operands. Valid values are LifecycleAndOperator // or LifecycleOrOperator. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) GoString() string { return s.String() } // SetOperands sets the Operands field's value. func (s *your_sha256_hashls) SetOperands(v []*your_sha256_hashndsDetails) *your_sha256_hashls { s.Operands = v return s } // SetPrefix sets the Prefix field's value. func (s *your_sha256_hashls) SetPrefix(v string) *your_sha256_hashls { s.Prefix = &v return s } // SetTag sets the Tag field's value. func (s *your_sha256_hashls) SetTag(v *your_sha256_hashtails) *your_sha256_hashls { s.Tag = v return s } // SetType sets the Type field's value. func (s *your_sha256_hashls) SetType(v string) *your_sha256_hashls { s.Type = &v return s } // A value to use for the filter. type your_sha256_hashndsDetails struct { _ struct{} `type:"structure"` // Prefix text for matching objects. Prefix *string `type:"string"` // A tag that is assigned to matching objects. Tag *your_sha256_hashndsTagDetails `type:"structure"` // The type of filter value. Valid values are LifecyclePrefixPredicate or LifecycleTagPredicate. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashndsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashndsDetails) GoString() string { return s.String() } // SetPrefix sets the Prefix field's value. func (s *your_sha256_hashndsDetails) SetPrefix(v string) *your_sha256_hashndsDetails { s.Prefix = &v return s } // SetTag sets the Tag field's value. func (s *your_sha256_hashndsDetails) SetTag(v *your_sha256_hashndsTagDetails) *your_sha256_hashndsDetails { s.Tag = v return s } // SetType sets the Type field's value. func (s *your_sha256_hashndsDetails) SetType(v string) *your_sha256_hashndsDetails { s.Type = &v return s } // A tag that is assigned to matching objects. type your_sha256_hashndsTagDetails struct { _ struct{} `type:"structure"` // The tag key. Key *string `type:"string"` // The tag value. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashndsTagDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashndsTagDetails) GoString() string { return s.String() } // SetKey sets the Key field's value. func (s *your_sha256_hashndsTagDetails) SetKey(v string) *your_sha256_hashndsTagDetails { s.Key = &v return s } // SetValue sets the Value field's value. func (s *your_sha256_hashndsTagDetails) SetValue(v string) *your_sha256_hashndsTagDetails { s.Value = &v return s } // A tag filter. type your_sha256_hashtails struct { _ struct{} `type:"structure"` // The tag key. Key *string `type:"string"` // The tag value Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashtails) GoString() string { return s.String() } // SetKey sets the Key field's value. func (s *your_sha256_hashtails) SetKey(v string) *your_sha256_hashtails { s.Key = &v return s } // SetValue sets the Value field's value. func (s *your_sha256_hashtails) SetValue(v string) *your_sha256_hashtails { s.Value = &v return s } // A transition rule that describes when noncurrent objects transition to a // specified storage class. type your_sha256_hashnsitionsDetails struct { _ struct{} `type:"structure"` // The number of days that an object is noncurrent before Amazon S3 can perform // the associated action. Days *int64 `type:"integer"` // The class of storage to change the object to after the object is noncurrent // for the specified number of days. StorageClass *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashnsitionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashnsitionsDetails) GoString() string { return s.String() } // SetDays sets the Days field's value. func (s *your_sha256_hashnsitionsDetails) SetDays(v int64) *your_sha256_hashnsitionsDetails { s.Days = &v return s } // SetStorageClass sets the StorageClass field's value. func (s *your_sha256_hashnsitionsDetails) SetStorageClass(v string) *your_sha256_hashnsitionsDetails { s.StorageClass = &v return s } // A rule for when objects transition to specific storage classes. type AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails struct { _ struct{} `type:"structure"` // A date on which to transition objects to the specified storage class. If // you provide Date, you cannot provide Days. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) Date *string `type:"string"` // The number of days after which to transition the object to the specified // storage class. If you provide Days, you cannot provide Date. Days *int64 `type:"integer"` // The storage class to transition the object to. Valid values are as follows: // // * DEEP_ARCHIVE // // * GLACIER // // * INTELLIGENT_TIERING // // * ONEZONE_IA // // * STANDARD_IA StorageClass *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails) GoString() string { return s.String() } // SetDate sets the Date field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails) SetDate(v string) *AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { s.Date = &v return s } // SetDays sets the Days field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails) SetDays(v int64) *AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { s.Days = &v return s } // SetStorageClass sets the StorageClass field's value. func (s *AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails) SetStorageClass(v string) *AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { s.StorageClass = &v return s } // Describes the versioning state of an S3 bucket. type AwsS3BucketBucketVersioningConfiguration struct { _ struct{} `type:"structure"` // Specifies whether MFA delete is currently enabled in the S3 bucket versioning // configuration. If the S3 bucket was never configured with MFA delete, then // this attribute is not included. IsMfaDeleteEnabled *bool `type:"boolean"` // The versioning status of the S3 bucket. Valid values are Enabled or Suspended. Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketVersioningConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketBucketVersioningConfiguration) GoString() string { return s.String() } // SetIsMfaDeleteEnabled sets the IsMfaDeleteEnabled field's value. func (s *AwsS3BucketBucketVersioningConfiguration) SetIsMfaDeleteEnabled(v bool) *AwsS3BucketBucketVersioningConfiguration { s.IsMfaDeleteEnabled = &v return s } // SetStatus sets the Status field's value. func (s *AwsS3BucketBucketVersioningConfiguration) SetStatus(v string) *AwsS3BucketBucketVersioningConfiguration { s.Status = &v return s } // The details of an Amazon Simple Storage Service (Amazon S3) bucket. type AwsS3BucketDetails struct { _ struct{} `type:"structure"` // The access control list for the S3 bucket. AccessControlList *string `type:"string"` // The lifecycle configuration for objects in the specified bucket. BucketLifecycleConfiguration *AwsS3BucketBucketLifecycleConfigurationDetails `type:"structure"` // The logging configuration for the S3 bucket. BucketLoggingConfiguration *AwsS3BucketLoggingConfiguration `type:"structure"` // The notification configuration for the S3 bucket. BucketNotificationConfiguration *AwsS3BucketNotificationConfiguration `type:"structure"` // The versioning state of an S3 bucket. BucketVersioningConfiguration *AwsS3BucketBucketVersioningConfiguration `type:"structure"` // The website configuration parameters for the S3 bucket. BucketWebsiteConfiguration *AwsS3BucketWebsiteConfiguration `type:"structure"` // Indicates when the S3 bucket was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedAt *string `type:"string"` // The name of the bucket. Name *string `type:"string"` // Specifies which rule Amazon S3 applies by default to every new object placed // in the bucket. ObjectLockConfiguration *AwsS3BucketObjectLockConfiguration `type:"structure"` // The Amazon Web Services account identifier of the account that owns the S3 // bucket. OwnerAccountId *string `type:"string"` // The canonical user ID of the owner of the S3 bucket. OwnerId *string `type:"string"` // The display name of the owner of the S3 bucket. OwnerName *string `type:"string"` // Provides information about the Amazon S3 Public Access Block configuration // for the S3 bucket. PublicAccessBlockConfiguration *AwsS3AccountPublicAccessBlockDetails `type:"structure"` // The encryption rules that are applied to the S3 bucket. ServerSideEncryptionConfiguration *AwsS3BucketServerSideEncryptionConfiguration `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketDetails) GoString() string { return s.String() } // SetAccessControlList sets the AccessControlList field's value. func (s *AwsS3BucketDetails) SetAccessControlList(v string) *AwsS3BucketDetails { s.AccessControlList = &v return s } // SetBucketLifecycleConfiguration sets the BucketLifecycleConfiguration field's value. func (s *AwsS3BucketDetails) SetBucketLifecycleConfiguration(v *AwsS3BucketBucketLifecycleConfigurationDetails) *AwsS3BucketDetails { s.BucketLifecycleConfiguration = v return s } // SetBucketLoggingConfiguration sets the BucketLoggingConfiguration field's value. func (s *AwsS3BucketDetails) SetBucketLoggingConfiguration(v *AwsS3BucketLoggingConfiguration) *AwsS3BucketDetails { s.BucketLoggingConfiguration = v return s } // SetBucketNotificationConfiguration sets the BucketNotificationConfiguration field's value. func (s *AwsS3BucketDetails) SetBucketNotificationConfiguration(v *AwsS3BucketNotificationConfiguration) *AwsS3BucketDetails { s.BucketNotificationConfiguration = v return s } // SetBucketVersioningConfiguration sets the BucketVersioningConfiguration field's value. func (s *AwsS3BucketDetails) SetBucketVersioningConfiguration(v *AwsS3BucketBucketVersioningConfiguration) *AwsS3BucketDetails { s.BucketVersioningConfiguration = v return s } // SetBucketWebsiteConfiguration sets the BucketWebsiteConfiguration field's value. func (s *AwsS3BucketDetails) SetBucketWebsiteConfiguration(v *AwsS3BucketWebsiteConfiguration) *AwsS3BucketDetails { s.BucketWebsiteConfiguration = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AwsS3BucketDetails) SetCreatedAt(v string) *AwsS3BucketDetails { s.CreatedAt = &v return s } // SetName sets the Name field's value. func (s *AwsS3BucketDetails) SetName(v string) *AwsS3BucketDetails { s.Name = &v return s } // SetObjectLockConfiguration sets the ObjectLockConfiguration field's value. func (s *AwsS3BucketDetails) SetObjectLockConfiguration(v *AwsS3BucketObjectLockConfiguration) *AwsS3BucketDetails { s.ObjectLockConfiguration = v return s } // SetOwnerAccountId sets the OwnerAccountId field's value. func (s *AwsS3BucketDetails) SetOwnerAccountId(v string) *AwsS3BucketDetails { s.OwnerAccountId = &v return s } // SetOwnerId sets the OwnerId field's value. func (s *AwsS3BucketDetails) SetOwnerId(v string) *AwsS3BucketDetails { s.OwnerId = &v return s } // SetOwnerName sets the OwnerName field's value. func (s *AwsS3BucketDetails) SetOwnerName(v string) *AwsS3BucketDetails { s.OwnerName = &v return s } // SetPublicAccessBlockConfiguration sets the PublicAccessBlockConfiguration field's value. func (s *AwsS3BucketDetails) SetPublicAccessBlockConfiguration(v *AwsS3AccountPublicAccessBlockDetails) *AwsS3BucketDetails { s.PublicAccessBlockConfiguration = v return s } // SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value. func (s *AwsS3BucketDetails) SetServerSideEncryptionConfiguration(v *AwsS3BucketServerSideEncryptionConfiguration) *AwsS3BucketDetails { s.ServerSideEncryptionConfiguration = v return s } // Information about logging for the S3 bucket type AwsS3BucketLoggingConfiguration struct { _ struct{} `type:"structure"` // The name of the S3 bucket where log files for the S3 bucket are stored. DestinationBucketName *string `type:"string"` // The prefix added to log files for the S3 bucket. LogFilePrefix *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketLoggingConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketLoggingConfiguration) GoString() string { return s.String() } // SetDestinationBucketName sets the DestinationBucketName field's value. func (s *AwsS3BucketLoggingConfiguration) SetDestinationBucketName(v string) *AwsS3BucketLoggingConfiguration { s.DestinationBucketName = &v return s } // SetLogFilePrefix sets the LogFilePrefix field's value. func (s *AwsS3BucketLoggingConfiguration) SetLogFilePrefix(v string) *AwsS3BucketLoggingConfiguration { s.LogFilePrefix = &v return s } // The notification configuration for the S3 bucket. type AwsS3BucketNotificationConfiguration struct { _ struct{} `type:"structure"` // Configurations for S3 bucket notifications. Configurations []*AwsS3BucketNotificationConfigurationDetail `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfiguration) GoString() string { return s.String() } // SetConfigurations sets the Configurations field's value. func (s *AwsS3BucketNotificationConfiguration) SetConfigurations(v []*AwsS3BucketNotificationConfigurationDetail) *AwsS3BucketNotificationConfiguration { s.Configurations = v return s } // Details for an S3 bucket notification configuration. type AwsS3BucketNotificationConfigurationDetail struct { _ struct{} `type:"structure"` // The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that // generates the notification. Destination *string `type:"string"` // The list of events that trigger a notification. Events []*string `type:"list"` // The filters that determine which S3 buckets generate notifications. Filter *AwsS3BucketNotificationConfigurationFilter `type:"structure"` // Indicates the type of notification. Notifications can be generated using // Lambda functions, Amazon SQS queues, or Amazon SNS topics, with corresponding // valid values as follows: // // * LambdaConfiguration // // * QueueConfiguration // // * TopicConfiguration Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationDetail) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationDetail) GoString() string { return s.String() } // SetDestination sets the Destination field's value. func (s *AwsS3BucketNotificationConfigurationDetail) SetDestination(v string) *AwsS3BucketNotificationConfigurationDetail { s.Destination = &v return s } // SetEvents sets the Events field's value. func (s *AwsS3BucketNotificationConfigurationDetail) SetEvents(v []*string) *AwsS3BucketNotificationConfigurationDetail { s.Events = v return s } // SetFilter sets the Filter field's value. func (s *AwsS3BucketNotificationConfigurationDetail) SetFilter(v *AwsS3BucketNotificationConfigurationFilter) *AwsS3BucketNotificationConfigurationDetail { s.Filter = v return s } // SetType sets the Type field's value. func (s *AwsS3BucketNotificationConfigurationDetail) SetType(v string) *AwsS3BucketNotificationConfigurationDetail { s.Type = &v return s } // Filtering information for the notifications. The filtering is based on Amazon // S3 key names. type AwsS3BucketNotificationConfigurationFilter struct { _ struct{} `type:"structure"` // Details for an Amazon S3 filter. S3KeyFilter *AwsS3BucketNotificationConfigurationS3KeyFilter `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationFilter) GoString() string { return s.String() } // SetS3KeyFilter sets the S3KeyFilter field's value. func (s *AwsS3BucketNotificationConfigurationFilter) SetS3KeyFilter(v *AwsS3BucketNotificationConfigurationS3KeyFilter) *AwsS3BucketNotificationConfigurationFilter { s.S3KeyFilter = v return s } // Details for an Amazon S3 filter. type AwsS3BucketNotificationConfigurationS3KeyFilter struct { _ struct{} `type:"structure"` // The filter rules for the filter. FilterRules []*AwsS3BucketNotificationConfigurationS3KeyFilterRule `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationS3KeyFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationS3KeyFilter) GoString() string { return s.String() } // SetFilterRules sets the FilterRules field's value. func (s *AwsS3BucketNotificationConfigurationS3KeyFilter) SetFilterRules(v []*AwsS3BucketNotificationConfigurationS3KeyFilterRule) *AwsS3BucketNotificationConfigurationS3KeyFilter { s.FilterRules = v return s } // Details for a filter rule. type AwsS3BucketNotificationConfigurationS3KeyFilterRule struct { _ struct{} `type:"structure"` // Indicates whether the filter is based on the prefix or suffix of the Amazon // S3 key. Name *string `type:"string" enum:"AwsS3BucketNotificationConfigurationS3KeyFilterRuleName"` // The filter value. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationS3KeyFilterRule) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketNotificationConfigurationS3KeyFilterRule) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsS3BucketNotificationConfigurationS3KeyFilterRule) SetName(v string) *AwsS3BucketNotificationConfigurationS3KeyFilterRule { s.Name = &v return s } // SetValue sets the Value field's value. func (s *AwsS3BucketNotificationConfigurationS3KeyFilterRule) SetValue(v string) *AwsS3BucketNotificationConfigurationS3KeyFilterRule { s.Value = &v return s } // The container element for S3 Object Lock configuration parameters. In Amazon // S3, Object Lock can help prevent objects from being deleted or overwritten // for a fixed amount of time or indefinitely. type AwsS3BucketObjectLockConfiguration struct { _ struct{} `type:"structure"` // Indicates whether the bucket has an Object Lock configuration enabled. ObjectLockEnabled *string `type:"string"` // Specifies the Object Lock rule for the specified object. Rule *AwsS3BucketObjectLockConfigurationRuleDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketObjectLockConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketObjectLockConfiguration) GoString() string { return s.String() } // SetObjectLockEnabled sets the ObjectLockEnabled field's value. func (s *AwsS3BucketObjectLockConfiguration) SetObjectLockEnabled(v string) *AwsS3BucketObjectLockConfiguration { s.ObjectLockEnabled = &v return s } // SetRule sets the Rule field's value. func (s *AwsS3BucketObjectLockConfiguration) SetRule(v *AwsS3BucketObjectLockConfigurationRuleDetails) *AwsS3BucketObjectLockConfiguration { s.Rule = v return s } // The default S3 Object Lock retention mode and period that you want to apply // to new objects placed in the specified Amazon S3 bucket. type AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails struct { _ struct{} `type:"structure"` // The number of days that you want to specify for the default retention period. Days *int64 `type:"integer"` // The default Object Lock retention mode you want to apply to new objects placed // in the specified bucket. Mode *string `type:"string"` // The number of years that you want to specify for the default retention period. Years *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails) GoString() string { return s.String() } // SetDays sets the Days field's value. func (s *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails) SetDays(v int64) *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails { s.Days = &v return s } // SetMode sets the Mode field's value. func (s *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails) SetMode(v string) *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails { s.Mode = &v return s } // SetYears sets the Years field's value. func (s *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails) SetYears(v int64) *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails { s.Years = &v return s } // Specifies the S3 Object Lock rule for the specified object. In Amazon S3, // Object Lock can help prevent objects from being deleted or overwritten for // a fixed amount of time or indefinitely. type AwsS3BucketObjectLockConfigurationRuleDetails struct { _ struct{} `type:"structure"` // The default Object Lock retention mode and period that you want to apply // to new objects placed in the specified bucket. DefaultRetention *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketObjectLockConfigurationRuleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketObjectLockConfigurationRuleDetails) GoString() string { return s.String() } // SetDefaultRetention sets the DefaultRetention field's value. func (s *AwsS3BucketObjectLockConfigurationRuleDetails) SetDefaultRetention(v *AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails) *AwsS3BucketObjectLockConfigurationRuleDetails { s.DefaultRetention = v return s } // Specifies the default server-side encryption to apply to new objects in the // bucket. type AwsS3BucketServerSideEncryptionByDefault struct { _ struct{} `type:"structure"` // KMS key ID to use for the default encryption. KMSMasterKeyID *string `type:"string"` // Server-side encryption algorithm to use for the default encryption. Valid // values are aws: kms or AES256. SSEAlgorithm *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketServerSideEncryptionByDefault) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketServerSideEncryptionByDefault) GoString() string { return s.String() } // SetKMSMasterKeyID sets the KMSMasterKeyID field's value. func (s *AwsS3BucketServerSideEncryptionByDefault) SetKMSMasterKeyID(v string) *AwsS3BucketServerSideEncryptionByDefault { s.KMSMasterKeyID = &v return s } // SetSSEAlgorithm sets the SSEAlgorithm field's value. func (s *AwsS3BucketServerSideEncryptionByDefault) SetSSEAlgorithm(v string) *AwsS3BucketServerSideEncryptionByDefault { s.SSEAlgorithm = &v return s } // The encryption configuration for the S3 bucket. type AwsS3BucketServerSideEncryptionConfiguration struct { _ struct{} `type:"structure"` // The encryption rules that are applied to the S3 bucket. Rules []*AwsS3BucketServerSideEncryptionRule `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketServerSideEncryptionConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketServerSideEncryptionConfiguration) GoString() string { return s.String() } // SetRules sets the Rules field's value. func (s *AwsS3BucketServerSideEncryptionConfiguration) SetRules(v []*AwsS3BucketServerSideEncryptionRule) *AwsS3BucketServerSideEncryptionConfiguration { s.Rules = v return s } // An encryption rule to apply to the S3 bucket. type AwsS3BucketServerSideEncryptionRule struct { _ struct{} `type:"structure"` // Specifies the default server-side encryption to apply to new objects in the // bucket. If a PUT object request doesn't specify any server-side encryption, // this default encryption is applied. ApplyServerSideEncryptionByDefault *AwsS3BucketServerSideEncryptionByDefault `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketServerSideEncryptionRule) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketServerSideEncryptionRule) GoString() string { return s.String() } // SetApplyServerSideEncryptionByDefault sets the ApplyServerSideEncryptionByDefault field's value. func (s *AwsS3BucketServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v *AwsS3BucketServerSideEncryptionByDefault) *AwsS3BucketServerSideEncryptionRule { s.ApplyServerSideEncryptionByDefault = v return s } // Website parameters for the S3 bucket. type AwsS3BucketWebsiteConfiguration struct { _ struct{} `type:"structure"` // The name of the error document for the website. ErrorDocument *string `type:"string"` // The name of the index document for the website. IndexDocumentSuffix *string `type:"string"` // The redirect behavior for requests to the website. RedirectAllRequestsTo *AwsS3BucketWebsiteConfigurationRedirectTo `type:"structure"` // The rules for applying redirects for requests to the website. RoutingRules []*AwsS3BucketWebsiteConfigurationRoutingRule `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfiguration) GoString() string { return s.String() } // SetErrorDocument sets the ErrorDocument field's value. func (s *AwsS3BucketWebsiteConfiguration) SetErrorDocument(v string) *AwsS3BucketWebsiteConfiguration { s.ErrorDocument = &v return s } // SetIndexDocumentSuffix sets the IndexDocumentSuffix field's value. func (s *AwsS3BucketWebsiteConfiguration) SetIndexDocumentSuffix(v string) *AwsS3BucketWebsiteConfiguration { s.IndexDocumentSuffix = &v return s } // SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value. func (s *AwsS3BucketWebsiteConfiguration) SetRedirectAllRequestsTo(v *AwsS3BucketWebsiteConfigurationRedirectTo) *AwsS3BucketWebsiteConfiguration { s.RedirectAllRequestsTo = v return s } // SetRoutingRules sets the RoutingRules field's value. func (s *AwsS3BucketWebsiteConfiguration) SetRoutingRules(v []*AwsS3BucketWebsiteConfigurationRoutingRule) *AwsS3BucketWebsiteConfiguration { s.RoutingRules = v return s } // The redirect behavior for requests to the website. type AwsS3BucketWebsiteConfigurationRedirectTo struct { _ struct{} `type:"structure"` // The name of the host to redirect requests to. Hostname *string `type:"string"` // The protocol to use when redirecting requests. By default, this field uses // the same protocol as the original request. Valid values are http or https. Protocol *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRedirectTo) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRedirectTo) GoString() string { return s.String() } // SetHostname sets the Hostname field's value. func (s *AwsS3BucketWebsiteConfigurationRedirectTo) SetHostname(v string) *AwsS3BucketWebsiteConfigurationRedirectTo { s.Hostname = &v return s } // SetProtocol sets the Protocol field's value. func (s *AwsS3BucketWebsiteConfigurationRedirectTo) SetProtocol(v string) *AwsS3BucketWebsiteConfigurationRedirectTo { s.Protocol = &v return s } // A rule for redirecting requests to the website. type AwsS3BucketWebsiteConfigurationRoutingRule struct { _ struct{} `type:"structure"` // Provides the condition that must be met in order to apply the routing rule. Condition *AwsS3BucketWebsiteConfigurationRoutingRuleCondition `type:"structure"` // Provides the rules to redirect the request if the condition in Condition // is met. Redirect *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRoutingRule) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRoutingRule) GoString() string { return s.String() } // SetCondition sets the Condition field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRule) SetCondition(v *AwsS3BucketWebsiteConfigurationRoutingRuleCondition) *AwsS3BucketWebsiteConfigurationRoutingRule { s.Condition = v return s } // SetRedirect sets the Redirect field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRule) SetRedirect(v *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) *AwsS3BucketWebsiteConfigurationRoutingRule { s.Redirect = v return s } // The condition that must be met in order to apply the routing rule. type AwsS3BucketWebsiteConfigurationRoutingRuleCondition struct { _ struct{} `type:"structure"` // Indicates to redirect the request if the HTTP error code matches this value. HttpErrorCodeReturnedEquals *string `type:"string"` // Indicates to redirect the request if the key prefix matches this value. KeyPrefixEquals *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRoutingRuleCondition) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRoutingRuleCondition) GoString() string { return s.String() } // SetHttpErrorCodeReturnedEquals sets the HttpErrorCodeReturnedEquals field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRuleCondition) SetHttpErrorCodeReturnedEquals(v string) *AwsS3BucketWebsiteConfigurationRoutingRuleCondition { s.HttpErrorCodeReturnedEquals = &v return s } // SetKeyPrefixEquals sets the KeyPrefixEquals field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRuleCondition) SetKeyPrefixEquals(v string) *AwsS3BucketWebsiteConfigurationRoutingRuleCondition { s.KeyPrefixEquals = &v return s } // The rules to redirect the request if the condition in Condition is met. type AwsS3BucketWebsiteConfigurationRoutingRuleRedirect struct { _ struct{} `type:"structure"` // The host name to use in the redirect request. Hostname *string `type:"string"` // The HTTP redirect code to use in the response. HttpRedirectCode *string `type:"string"` // The protocol to use to redirect the request. By default, uses the protocol // from the original request. Protocol *string `type:"string"` // The object key prefix to use in the redirect request. // // Cannot be provided if ReplaceKeyWith is present. ReplaceKeyPrefixWith *string `type:"string"` // The specific object key to use in the redirect request. // // Cannot be provided if ReplaceKeyPrefixWith is present. ReplaceKeyWith *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) GoString() string { return s.String() } // SetHostname sets the Hostname field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) SetHostname(v string) *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { s.Hostname = &v return s } // SetHttpRedirectCode sets the HttpRedirectCode field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) SetHttpRedirectCode(v string) *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { s.HttpRedirectCode = &v return s } // SetProtocol sets the Protocol field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) SetProtocol(v string) *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { s.Protocol = &v return s } // SetReplaceKeyPrefixWith sets the ReplaceKeyPrefixWith field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) SetReplaceKeyPrefixWith(v string) *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { s.ReplaceKeyPrefixWith = &v return s } // SetReplaceKeyWith sets the ReplaceKeyWith field's value. func (s *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect) SetReplaceKeyWith(v string) *AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { s.ReplaceKeyWith = &v return s } // Details about an Amazon S3 object. type AwsS3ObjectDetails struct { _ struct{} `type:"structure"` // A standard MIME type describing the format of the object data. ContentType *string `type:"string"` // The opaque identifier assigned by a web server to a specific version of a // resource found at a URL. ETag *string `type:"string"` // Indicates when the object was last modified. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastModified *string `type:"string"` // The identifier of the KMS symmetric customer managed key that was used for // the object. SSEKMSKeyId *string `type:"string"` // If the object is stored using server-side encryption, the value of the server-side // encryption algorithm used when storing this object in Amazon S3. ServerSideEncryption *string `type:"string"` // The version of the object. VersionId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3ObjectDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsS3ObjectDetails) GoString() string { return s.String() } // SetContentType sets the ContentType field's value. func (s *AwsS3ObjectDetails) SetContentType(v string) *AwsS3ObjectDetails { s.ContentType = &v return s } // SetETag sets the ETag field's value. func (s *AwsS3ObjectDetails) SetETag(v string) *AwsS3ObjectDetails { s.ETag = &v return s } // SetLastModified sets the LastModified field's value. func (s *AwsS3ObjectDetails) SetLastModified(v string) *AwsS3ObjectDetails { s.LastModified = &v return s } // SetSSEKMSKeyId sets the SSEKMSKeyId field's value. func (s *AwsS3ObjectDetails) SetSSEKMSKeyId(v string) *AwsS3ObjectDetails { s.SSEKMSKeyId = &v return s } // SetServerSideEncryption sets the ServerSideEncryption field's value. func (s *AwsS3ObjectDetails) SetServerSideEncryption(v string) *AwsS3ObjectDetails { s.ServerSideEncryption = &v return s } // SetVersionId sets the VersionId field's value. func (s *AwsS3ObjectDetails) SetVersionId(v string) *AwsS3ObjectDetails { s.VersionId = &v return s } // Provides details about an Amazon SageMaker notebook instance. type AwsSageMakerNotebookInstanceDetails struct { _ struct{} `type:"structure"` // A list of Amazon Elastic Inference instance types to associate with the notebook // instance. Currently, only one instance type can be associated with a notebook // instance. AcceleratorTypes []*string `type:"list"` // An array of up to three Git repositories associated with the notebook instance. // These can be either the names of Git repositories stored as resources in // your account, or the URL of Git repositories in CodeCommit (path_to_url // or in any other Git repository. These repositories are cloned at the same // level as the default repository of your notebook instance. For more information, // see Associating Git repositories with SageMaker notebook instances (path_to_url // in the Amazon SageMaker Developer Guide. AdditionalCodeRepositories []*string `type:"list"` // The Git repository associated with the notebook instance as its default code // repository. This can be either the name of a Git repository stored as a resource // in your account, or the URL of a Git repository in CodeCommit (path_to_url // or in any other Git repository. When you open a notebook instance, it opens // in the directory that contains this repository. For more information, see // Associating Git repositories with SageMaker notebook instances (path_to_url // in the Amazon SageMaker Developer Guide. DefaultCodeRepository *string `type:"string"` // Sets whether SageMaker provides internet access to the notebook instance. // If you set this to Disabled, this notebook instance is able to access resources // only in your VPC, and is not be able to connect to SageMaker training and // endpoint services unless you configure a Network Address Translation (NAT) // Gateway in your VPC. DirectInternetAccess *string `type:"string"` // If status of the instance is Failed, the reason it failed. FailureReason *string `type:"string"` // Information on the IMDS configuration of the notebook instance. InstanceMetadataServiceConfiguration *AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails `type:"structure"` // The type of machine learning (ML) compute instance to launch for the notebook // instance. InstanceType *string `type:"string"` // The Amazon Resource Name (ARN) of an Key Management Service (KMS) key that // SageMaker uses to encrypt data on the storage volume attached to your notebook // instance. The KMS key you provide must be enabled. For information, see Enabling // and disabling keys (path_to_url // in the Key Management Service Developer Guide. KmsKeyId *string `type:"string"` // The network interface ID that SageMaker created when the instance was created. NetworkInterfaceId *string `type:"string"` // The Amazon Resource Name (ARN) of the notebook instance. NotebookInstanceArn *string `type:"string"` // The name of a notebook instance lifecycle configuration. NotebookInstanceLifecycleConfigName *string `type:"string"` // The name of the new notebook instance. NotebookInstanceName *string `type:"string"` // The status of the notebook instance. NotebookInstanceStatus *string `type:"string"` // The platform identifier of the notebook instance runtime environment. PlatformIdentifier *string `type:"string"` // The Amazon Resource Name (ARN) of the IAM role associated with the instance. RoleArn *string `type:"string"` // Whether root access is enabled or disabled for users of the notebook instance. RootAccess *string `type:"string"` // The VPC security group IDs. SecurityGroups []*string `type:"list"` // The ID of the VPC subnet to which you have a connectivity from your ML compute // instance. SubnetId *string `type:"string"` // The URL that you use to connect to the Jupyter notebook that is running in // your notebook instance. Url *string `type:"string"` // The size, in GB, of the ML storage volume to attach to the notebook instance. VolumeSizeInGB *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSageMakerNotebookInstanceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSageMakerNotebookInstanceDetails) GoString() string { return s.String() } // SetAcceleratorTypes sets the AcceleratorTypes field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetAcceleratorTypes(v []*string) *AwsSageMakerNotebookInstanceDetails { s.AcceleratorTypes = v return s } // SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetAdditionalCodeRepositories(v []*string) *AwsSageMakerNotebookInstanceDetails { s.AdditionalCodeRepositories = v return s } // SetDefaultCodeRepository sets the DefaultCodeRepository field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetDefaultCodeRepository(v string) *AwsSageMakerNotebookInstanceDetails { s.DefaultCodeRepository = &v return s } // SetDirectInternetAccess sets the DirectInternetAccess field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetDirectInternetAccess(v string) *AwsSageMakerNotebookInstanceDetails { s.DirectInternetAccess = &v return s } // SetFailureReason sets the FailureReason field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetFailureReason(v string) *AwsSageMakerNotebookInstanceDetails { s.FailureReason = &v return s } // SetInstanceMetadataServiceConfiguration sets the InstanceMetadataServiceConfiguration field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetInstanceMetadataServiceConfiguration(v *AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails) *AwsSageMakerNotebookInstanceDetails { s.InstanceMetadataServiceConfiguration = v return s } // SetInstanceType sets the InstanceType field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetInstanceType(v string) *AwsSageMakerNotebookInstanceDetails { s.InstanceType = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetKmsKeyId(v string) *AwsSageMakerNotebookInstanceDetails { s.KmsKeyId = &v return s } // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetNetworkInterfaceId(v string) *AwsSageMakerNotebookInstanceDetails { s.NetworkInterfaceId = &v return s } // SetNotebookInstanceArn sets the NotebookInstanceArn field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetNotebookInstanceArn(v string) *AwsSageMakerNotebookInstanceDetails { s.NotebookInstanceArn = &v return s } // SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetNotebookInstanceLifecycleConfigName(v string) *AwsSageMakerNotebookInstanceDetails { s.NotebookInstanceLifecycleConfigName = &v return s } // SetNotebookInstanceName sets the NotebookInstanceName field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetNotebookInstanceName(v string) *AwsSageMakerNotebookInstanceDetails { s.NotebookInstanceName = &v return s } // SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetNotebookInstanceStatus(v string) *AwsSageMakerNotebookInstanceDetails { s.NotebookInstanceStatus = &v return s } // SetPlatformIdentifier sets the PlatformIdentifier field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetPlatformIdentifier(v string) *AwsSageMakerNotebookInstanceDetails { s.PlatformIdentifier = &v return s } // SetRoleArn sets the RoleArn field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetRoleArn(v string) *AwsSageMakerNotebookInstanceDetails { s.RoleArn = &v return s } // SetRootAccess sets the RootAccess field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetRootAccess(v string) *AwsSageMakerNotebookInstanceDetails { s.RootAccess = &v return s } // SetSecurityGroups sets the SecurityGroups field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetSecurityGroups(v []*string) *AwsSageMakerNotebookInstanceDetails { s.SecurityGroups = v return s } // SetSubnetId sets the SubnetId field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetSubnetId(v string) *AwsSageMakerNotebookInstanceDetails { s.SubnetId = &v return s } // SetUrl sets the Url field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetUrl(v string) *AwsSageMakerNotebookInstanceDetails { s.Url = &v return s } // SetVolumeSizeInGB sets the VolumeSizeInGB field's value. func (s *AwsSageMakerNotebookInstanceDetails) SetVolumeSizeInGB(v int64) *AwsSageMakerNotebookInstanceDetails { s.VolumeSizeInGB = &v return s } // Information on the instance metadata service (IMDS) configuration of the // notebook instance. type AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails struct { _ struct{} `type:"structure"` // Indicates the minimum IMDS version that the notebook instance supports. MinimumInstanceMetadataServiceVersion *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails) GoString() string { return s.String() } // SetMinimumInstanceMetadataServiceVersion sets the MinimumInstanceMetadataServiceVersion field's value. func (s *AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails) SetMinimumInstanceMetadataServiceVersion(v string) *AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails { s.MinimumInstanceMetadataServiceVersion = &v return s } // Details about an Secrets Manager secret. type AwsSecretsManagerSecretDetails struct { _ struct{} `type:"structure"` // Whether the secret is deleted. Deleted *bool `type:"boolean"` // The user-provided description of the secret. Description *string `type:"string"` // The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString // or SecretBinary values for versions of this secret. KmsKeyId *string `type:"string"` // The name of the secret. Name *string `type:"string"` // Whether rotation is enabled. RotationEnabled *bool `type:"boolean"` // The ARN of the Lambda function that rotates the secret. RotationLambdaArn *string `type:"string"` // Whether the rotation occurred within the specified rotation frequency. RotationOccurredWithinFrequency *bool `type:"boolean"` // Defines the rotation schedule for the secret. RotationRules *AwsSecretsManagerSecretRotationRules `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecretsManagerSecretDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecretsManagerSecretDetails) GoString() string { return s.String() } // SetDeleted sets the Deleted field's value. func (s *AwsSecretsManagerSecretDetails) SetDeleted(v bool) *AwsSecretsManagerSecretDetails { s.Deleted = &v return s } // SetDescription sets the Description field's value. func (s *AwsSecretsManagerSecretDetails) SetDescription(v string) *AwsSecretsManagerSecretDetails { s.Description = &v return s } // SetKmsKeyId sets the KmsKeyId field's value. func (s *AwsSecretsManagerSecretDetails) SetKmsKeyId(v string) *AwsSecretsManagerSecretDetails { s.KmsKeyId = &v return s } // SetName sets the Name field's value. func (s *AwsSecretsManagerSecretDetails) SetName(v string) *AwsSecretsManagerSecretDetails { s.Name = &v return s } // SetRotationEnabled sets the RotationEnabled field's value. func (s *AwsSecretsManagerSecretDetails) SetRotationEnabled(v bool) *AwsSecretsManagerSecretDetails { s.RotationEnabled = &v return s } // SetRotationLambdaArn sets the RotationLambdaArn field's value. func (s *AwsSecretsManagerSecretDetails) SetRotationLambdaArn(v string) *AwsSecretsManagerSecretDetails { s.RotationLambdaArn = &v return s } // SetRotationOccurredWithinFrequency sets the RotationOccurredWithinFrequency field's value. func (s *AwsSecretsManagerSecretDetails) SetRotationOccurredWithinFrequency(v bool) *AwsSecretsManagerSecretDetails { s.RotationOccurredWithinFrequency = &v return s } // SetRotationRules sets the RotationRules field's value. func (s *AwsSecretsManagerSecretDetails) SetRotationRules(v *AwsSecretsManagerSecretRotationRules) *AwsSecretsManagerSecretDetails { s.RotationRules = v return s } // Defines the rotation schedule for the secret. type AwsSecretsManagerSecretRotationRules struct { _ struct{} `type:"structure"` // The number of days after the previous rotation to rotate the secret. AutomaticallyAfterDays *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecretsManagerSecretRotationRules) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecretsManagerSecretRotationRules) GoString() string { return s.String() } // SetAutomaticallyAfterDays sets the AutomaticallyAfterDays field's value. func (s *AwsSecretsManagerSecretRotationRules) SetAutomaticallyAfterDays(v int64) *AwsSecretsManagerSecretRotationRules { s.AutomaticallyAfterDays = &v return s } // Provides a consistent format for Security Hub findings. AwsSecurityFinding // format allows you to share findings between Amazon Web Services security // services and third-party solutions. // // A finding is a potential security issue generated either by Amazon Web Services // services or by the integrated third-party solutions and standards checks. type AwsSecurityFinding struct { _ struct{} `type:"structure"` // Provides details about an action that affects or that was taken on a resource. Action *Action `type:"structure"` // The Amazon Web Services account ID that a finding is generated in. // // AwsAccountId is a required field AwsAccountId *string `type:"string" required:"true"` // The name of the Amazon Web Services account from which a finding was generated. AwsAccountName *string `type:"string"` // The name of the company for the product that generated the finding. // // Security Hub populates this attribute automatically for each finding. You // cannot update this attribute with BatchImportFindings or BatchUpdateFindings. // The exception to this is a custom integration. // // When you use the Security Hub console or API to filter findings by company // name, you use this attribute. CompanyName *string `type:"string"` // This data type is exclusive to findings that are generated as the result // of a check run against a specific rule in a supported security standard, // such as CIS Amazon Web Services Foundations. Contains security standard-related // finding details. Compliance *Compliance `type:"structure"` // A finding's confidence. Confidence is defined as the likelihood that a finding // accurately identifies the behavior or issue that it was intended to identify. // // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means // zero percent confidence and 100 means 100 percent confidence. Confidence *int64 `type:"integer"` // Indicates when the security findings provider created the potential security // issue that a finding captured. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // CreatedAt is a required field CreatedAt *string `type:"string" required:"true"` // The level of importance assigned to the resources associated with the finding. // // A score of 0 means that the underlying resources have no criticality, and // a score of 100 is reserved for the most critical resources. Criticality *int64 `type:"integer"` // A finding's description. // // In this release, Description is a required property. // // Description is a required field Description *string `type:"string" required:"true"` // In a BatchImportFindings request, finding providers use FindingProviderFields // to provide and update their own values for confidence, criticality, related // findings, severity, and types. FindingProviderFields *FindingProviderFields `type:"structure"` // Indicates when the security findings provider first observed the potential // security issue that a finding captured. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) FirstObservedAt *string `type:"string"` // Provides metadata for the Amazon CodeGuru detector associated with a finding. // This field pertains to findings that relate to Lambda functions. Amazon Inspector // identifies policy violations and vulnerabilities in Lambda function code // based on internal detectors developed in collaboration with Amazon CodeGuru. // Security Hub receives those findings. GeneratorDetails *GeneratorDetails `type:"structure"` // The identifier for the solution-specific component (a discrete unit of logic) // that generated a finding. In various security findings providers' solutions, // this generator can be called a rule, a check, a detector, a plugin, etc. // // GeneratorId is a required field GeneratorId *string `type:"string" required:"true"` // The security findings provider-specific identifier for a finding. // // Id is a required field Id *string `type:"string" required:"true"` // Indicates when the security findings provider most recently observed the // potential security issue that a finding captured. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastObservedAt *string `type:"string"` // A list of malware related to a finding. Malware []*Malware `type:"list"` // The details of network-related information about a finding. Network *Network `type:"structure"` // Provides information about a network path that is relevant to a finding. // Each entry under NetworkPath represents a component of that path. NetworkPath []*NetworkPathComponent `type:"list"` // A user-defined note added to a finding. Note *Note `type:"structure"` // Provides an overview of the patch compliance status for an instance against // a selected compliance standard. PatchSummary *PatchSummary `type:"structure"` // The details of process-related information about a finding. Process *ProcessDetails `type:"structure"` // A imestamp that indicates when Security Hub received a finding and begins // to process it. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ProcessedAt *string `type:"string"` // The ARN generated by Security Hub that uniquely identifies a product that // generates findings. This can be the ARN for a third-party product that is // integrated with Security Hub, or the ARN for a custom integration. // // ProductArn is a required field ProductArn *string `type:"string" required:"true"` // A data type where security findings providers can include additional solution-specific // details that aren't part of the defined AwsSecurityFinding format. // // Can contain up to 50 key-value pairs. For each key-value pair, the key can // contain up to 128 characters, and the value can contain up to 2048 characters. ProductFields map[string]*string `type:"map"` // The name of the product that generated the finding. // // Security Hub populates this attribute automatically for each finding. You // cannot update this attribute with BatchImportFindings or BatchUpdateFindings. // The exception to this is a custom integration. // // When you use the Security Hub console or API to filter findings by product // name, you use this attribute. ProductName *string `type:"string"` // The record state of a finding. RecordState *string `type:"string" enum:"RecordState"` // The Region from which the finding was generated. // // Security Hub populates this attribute automatically for each finding. You // cannot update it using BatchImportFindings or BatchUpdateFindings. Region *string `type:"string"` // A list of related findings. RelatedFindings []*RelatedFinding `type:"list"` // A data type that describes the remediation options for a finding. Remediation *Remediation `type:"structure"` // A set of resource data types that describe the resources that the finding // refers to. // // Resources is a required field Resources []*Resource `type:"list" required:"true"` // Indicates whether the finding is a sample finding. Sample *bool `type:"boolean"` // The schema version that a finding is formatted for. // // SchemaVersion is a required field SchemaVersion *string `type:"string" required:"true"` // A finding's severity. Severity *Severity `type:"structure"` // A URL that links to a page about the current finding in the security findings // provider's solution. SourceUrl *string `type:"string"` // Threat intelligence details related to a finding. ThreatIntelIndicators []*ThreatIntelIndicator `type:"list"` // Details about the threat detected in a security finding and the file paths // that were affected by the threat. Threats []*Threat `type:"list"` // A finding's title. // // In this release, Title is a required property. // // Title is a required field Title *string `type:"string" required:"true"` // One or more finding types in the format of namespace/category/classifier // that classify a finding. // // Valid namespace values are: Software and Configuration Checks | TTPs | Effects // | Unusual Behaviors | Sensitive Data Identifications Types []*string `type:"list"` // Indicates when the security findings provider last updated the finding record. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // UpdatedAt is a required field UpdatedAt *string `type:"string" required:"true"` // A list of name/value string pairs associated with the finding. These are // custom, user-defined fields added to a finding. UserDefinedFields map[string]*string `type:"map"` // Indicates the veracity of a finding. VerificationState *string `type:"string" enum:"VerificationState"` // Provides a list of vulnerabilities associated with the findings. Vulnerabilities []*Vulnerability `type:"list"` // Provides information about the status of the investigation into a finding. Workflow *Workflow `type:"structure"` // The workflow state of a finding. WorkflowState *string `deprecated:"true" type:"string" enum:"WorkflowState"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecurityFinding) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecurityFinding) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AwsSecurityFinding) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AwsSecurityFinding"} if s.AwsAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AwsAccountId")) } if s.CreatedAt == nil { invalidParams.Add(request.NewErrParamRequired("CreatedAt")) } if s.Description == nil { invalidParams.Add(request.NewErrParamRequired("Description")) } if s.GeneratorId == nil { invalidParams.Add(request.NewErrParamRequired("GeneratorId")) } if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } if s.ProductArn == nil { invalidParams.Add(request.NewErrParamRequired("ProductArn")) } if s.Resources == nil { invalidParams.Add(request.NewErrParamRequired("Resources")) } if s.SchemaVersion == nil { invalidParams.Add(request.NewErrParamRequired("SchemaVersion")) } if s.Title == nil { invalidParams.Add(request.NewErrParamRequired("Title")) } if s.UpdatedAt == nil { invalidParams.Add(request.NewErrParamRequired("UpdatedAt")) } if s.Compliance != nil { if err := s.Compliance.Validate(); err != nil { invalidParams.AddNested("Compliance", err.(request.ErrInvalidParams)) } } if s.FindingProviderFields != nil { if err := s.FindingProviderFields.Validate(); err != nil { invalidParams.AddNested("FindingProviderFields", err.(request.ErrInvalidParams)) } } if s.Malware != nil { for i, v := range s.Malware { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Malware", i), err.(request.ErrInvalidParams)) } } } if s.Note != nil { if err := s.Note.Validate(); err != nil { invalidParams.AddNested("Note", err.(request.ErrInvalidParams)) } } if s.PatchSummary != nil { if err := s.PatchSummary.Validate(); err != nil { invalidParams.AddNested("PatchSummary", err.(request.ErrInvalidParams)) } } if s.RelatedFindings != nil { for i, v := range s.RelatedFindings { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RelatedFindings", i), err.(request.ErrInvalidParams)) } } } if s.Resources != nil { for i, v := range s.Resources { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Resources", i), err.(request.ErrInvalidParams)) } } } if s.Vulnerabilities != nil { for i, v := range s.Vulnerabilities { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Vulnerabilities", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAction sets the Action field's value. func (s *AwsSecurityFinding) SetAction(v *Action) *AwsSecurityFinding { s.Action = v return s } // SetAwsAccountId sets the AwsAccountId field's value. func (s *AwsSecurityFinding) SetAwsAccountId(v string) *AwsSecurityFinding { s.AwsAccountId = &v return s } // SetAwsAccountName sets the AwsAccountName field's value. func (s *AwsSecurityFinding) SetAwsAccountName(v string) *AwsSecurityFinding { s.AwsAccountName = &v return s } // SetCompanyName sets the CompanyName field's value. func (s *AwsSecurityFinding) SetCompanyName(v string) *AwsSecurityFinding { s.CompanyName = &v return s } // SetCompliance sets the Compliance field's value. func (s *AwsSecurityFinding) SetCompliance(v *Compliance) *AwsSecurityFinding { s.Compliance = v return s } // SetConfidence sets the Confidence field's value. func (s *AwsSecurityFinding) SetConfidence(v int64) *AwsSecurityFinding { s.Confidence = &v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AwsSecurityFinding) SetCreatedAt(v string) *AwsSecurityFinding { s.CreatedAt = &v return s } // SetCriticality sets the Criticality field's value. func (s *AwsSecurityFinding) SetCriticality(v int64) *AwsSecurityFinding { s.Criticality = &v return s } // SetDescription sets the Description field's value. func (s *AwsSecurityFinding) SetDescription(v string) *AwsSecurityFinding { s.Description = &v return s } // SetFindingProviderFields sets the FindingProviderFields field's value. func (s *AwsSecurityFinding) SetFindingProviderFields(v *FindingProviderFields) *AwsSecurityFinding { s.FindingProviderFields = v return s } // SetFirstObservedAt sets the FirstObservedAt field's value. func (s *AwsSecurityFinding) SetFirstObservedAt(v string) *AwsSecurityFinding { s.FirstObservedAt = &v return s } // SetGeneratorDetails sets the GeneratorDetails field's value. func (s *AwsSecurityFinding) SetGeneratorDetails(v *GeneratorDetails) *AwsSecurityFinding { s.GeneratorDetails = v return s } // SetGeneratorId sets the GeneratorId field's value. func (s *AwsSecurityFinding) SetGeneratorId(v string) *AwsSecurityFinding { s.GeneratorId = &v return s } // SetId sets the Id field's value. func (s *AwsSecurityFinding) SetId(v string) *AwsSecurityFinding { s.Id = &v return s } // SetLastObservedAt sets the LastObservedAt field's value. func (s *AwsSecurityFinding) SetLastObservedAt(v string) *AwsSecurityFinding { s.LastObservedAt = &v return s } // SetMalware sets the Malware field's value. func (s *AwsSecurityFinding) SetMalware(v []*Malware) *AwsSecurityFinding { s.Malware = v return s } // SetNetwork sets the Network field's value. func (s *AwsSecurityFinding) SetNetwork(v *Network) *AwsSecurityFinding { s.Network = v return s } // SetNetworkPath sets the NetworkPath field's value. func (s *AwsSecurityFinding) SetNetworkPath(v []*NetworkPathComponent) *AwsSecurityFinding { s.NetworkPath = v return s } // SetNote sets the Note field's value. func (s *AwsSecurityFinding) SetNote(v *Note) *AwsSecurityFinding { s.Note = v return s } // SetPatchSummary sets the PatchSummary field's value. func (s *AwsSecurityFinding) SetPatchSummary(v *PatchSummary) *AwsSecurityFinding { s.PatchSummary = v return s } // SetProcess sets the Process field's value. func (s *AwsSecurityFinding) SetProcess(v *ProcessDetails) *AwsSecurityFinding { s.Process = v return s } // SetProcessedAt sets the ProcessedAt field's value. func (s *AwsSecurityFinding) SetProcessedAt(v string) *AwsSecurityFinding { s.ProcessedAt = &v return s } // SetProductArn sets the ProductArn field's value. func (s *AwsSecurityFinding) SetProductArn(v string) *AwsSecurityFinding { s.ProductArn = &v return s } // SetProductFields sets the ProductFields field's value. func (s *AwsSecurityFinding) SetProductFields(v map[string]*string) *AwsSecurityFinding { s.ProductFields = v return s } // SetProductName sets the ProductName field's value. func (s *AwsSecurityFinding) SetProductName(v string) *AwsSecurityFinding { s.ProductName = &v return s } // SetRecordState sets the RecordState field's value. func (s *AwsSecurityFinding) SetRecordState(v string) *AwsSecurityFinding { s.RecordState = &v return s } // SetRegion sets the Region field's value. func (s *AwsSecurityFinding) SetRegion(v string) *AwsSecurityFinding { s.Region = &v return s } // SetRelatedFindings sets the RelatedFindings field's value. func (s *AwsSecurityFinding) SetRelatedFindings(v []*RelatedFinding) *AwsSecurityFinding { s.RelatedFindings = v return s } // SetRemediation sets the Remediation field's value. func (s *AwsSecurityFinding) SetRemediation(v *Remediation) *AwsSecurityFinding { s.Remediation = v return s } // SetResources sets the Resources field's value. func (s *AwsSecurityFinding) SetResources(v []*Resource) *AwsSecurityFinding { s.Resources = v return s } // SetSample sets the Sample field's value. func (s *AwsSecurityFinding) SetSample(v bool) *AwsSecurityFinding { s.Sample = &v return s } // SetSchemaVersion sets the SchemaVersion field's value. func (s *AwsSecurityFinding) SetSchemaVersion(v string) *AwsSecurityFinding { s.SchemaVersion = &v return s } // SetSeverity sets the Severity field's value. func (s *AwsSecurityFinding) SetSeverity(v *Severity) *AwsSecurityFinding { s.Severity = v return s } // SetSourceUrl sets the SourceUrl field's value. func (s *AwsSecurityFinding) SetSourceUrl(v string) *AwsSecurityFinding { s.SourceUrl = &v return s } // SetThreatIntelIndicators sets the ThreatIntelIndicators field's value. func (s *AwsSecurityFinding) SetThreatIntelIndicators(v []*ThreatIntelIndicator) *AwsSecurityFinding { s.ThreatIntelIndicators = v return s } // SetThreats sets the Threats field's value. func (s *AwsSecurityFinding) SetThreats(v []*Threat) *AwsSecurityFinding { s.Threats = v return s } // SetTitle sets the Title field's value. func (s *AwsSecurityFinding) SetTitle(v string) *AwsSecurityFinding { s.Title = &v return s } // SetTypes sets the Types field's value. func (s *AwsSecurityFinding) SetTypes(v []*string) *AwsSecurityFinding { s.Types = v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *AwsSecurityFinding) SetUpdatedAt(v string) *AwsSecurityFinding { s.UpdatedAt = &v return s } // SetUserDefinedFields sets the UserDefinedFields field's value. func (s *AwsSecurityFinding) SetUserDefinedFields(v map[string]*string) *AwsSecurityFinding { s.UserDefinedFields = v return s } // SetVerificationState sets the VerificationState field's value. func (s *AwsSecurityFinding) SetVerificationState(v string) *AwsSecurityFinding { s.VerificationState = &v return s } // SetVulnerabilities sets the Vulnerabilities field's value. func (s *AwsSecurityFinding) SetVulnerabilities(v []*Vulnerability) *AwsSecurityFinding { s.Vulnerabilities = v return s } // SetWorkflow sets the Workflow field's value. func (s *AwsSecurityFinding) SetWorkflow(v *Workflow) *AwsSecurityFinding { s.Workflow = v return s } // SetWorkflowState sets the WorkflowState field's value. func (s *AwsSecurityFinding) SetWorkflowState(v string) *AwsSecurityFinding { s.WorkflowState = &v return s } // A collection of filters that are applied to all active findings aggregated // by Security Hub. // // You can filter by up to ten finding attributes. For each attribute, you can // provide up to 20 filter values. type AwsSecurityFindingFilters struct { _ struct{} `type:"structure"` // The Amazon Web Services account ID in which a finding is generated. AwsAccountId []*StringFilter `type:"list"` // The name of the Amazon Web Services account in which a finding is generated. AwsAccountName []*StringFilter `type:"list"` // The name of the findings provider (company) that owns the solution (product) // that generates findings. CompanyName []*StringFilter `type:"list"` // The unique identifier of a standard in which a control is enabled. This field // consists of the resource portion of the Amazon Resource Name (ARN) returned // for a standard in the DescribeStandards (path_to_url // API response. ComplianceAssociatedStandardsId []*StringFilter `type:"list"` // The unique identifier of a control across standards. Values for this field // typically consist of an Amazon Web Service and a number, such as APIGateway.5. ComplianceSecurityControlId []*StringFilter `type:"list"` // The name of a security control parameter. ComplianceSecurityControlParametersName []*StringFilter `type:"list"` // The current value of a security control parameter. ComplianceSecurityControlParametersValue []*StringFilter `type:"list"` // Exclusive to findings that are generated as the result of a check run against // a specific rule in a supported standard, such as CIS Amazon Web Services // Foundations. Contains security standard-related finding details. ComplianceStatus []*StringFilter `type:"list"` // A finding's confidence. Confidence is defined as the likelihood that a finding // accurately identifies the behavior or issue that it was intended to identify. // // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means // zero percent confidence and 100 means 100 percent confidence. Confidence []*NumberFilter `type:"list"` // A timestamp that indicates when the security findings provider created the // potential security issue that a finding reflects. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) CreatedAt []*DateFilter `type:"list"` // The level of importance assigned to the resources associated with the finding. // // A score of 0 means that the underlying resources have no criticality, and // a score of 100 is reserved for the most critical resources. Criticality []*NumberFilter `type:"list"` // A finding's description. Description []*StringFilter `type:"list"` // The finding provider value for the finding confidence. Confidence is defined // as the likelihood that a finding accurately identifies the behavior or issue // that it was intended to identify. // // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means // zero percent confidence and 100 means 100 percent confidence. FindingProviderFieldsConfidence []*NumberFilter `type:"list"` // The finding provider value for the level of importance assigned to the resources // associated with the findings. // // A score of 0 means that the underlying resources have no criticality, and // a score of 100 is reserved for the most critical resources. FindingProviderFieldsCriticality []*NumberFilter `type:"list"` // The finding identifier of a related finding that is identified by the finding // provider. FindingProviderFieldsRelatedFindingsId []*StringFilter `type:"list"` // The ARN of the solution that generated a related finding that is identified // by the finding provider. FindingProviderFieldsRelatedFindingsProductArn []*StringFilter `type:"list"` // The finding provider value for the severity label. FindingProviderFieldsSeverityLabel []*StringFilter `type:"list"` // The finding provider's original value for the severity. FindingProviderFieldsSeverityOriginal []*StringFilter `type:"list"` // One or more finding types that the finding provider assigned to the finding. // Uses the format of namespace/category/classifier that classify a finding. // // Valid namespace values are: Software and Configuration Checks | TTPs | Effects // | Unusual Behaviors | Sensitive Data Identifications FindingProviderFieldsTypes []*StringFilter `type:"list"` // A timestamp that indicates when the security findings provider first observed // the potential security issue that a finding captured. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) FirstObservedAt []*DateFilter `type:"list"` // The identifier for the solution-specific component (a discrete unit of logic) // that generated a finding. In various security findings providers' solutions, // this generator can be called a rule, a check, a detector, a plugin, etc. GeneratorId []*StringFilter `type:"list"` // The security findings provider-specific identifier for a finding. Id []*StringFilter `type:"list"` // A keyword for a finding. // // Deprecated: The Keyword property is deprecated. Keyword []*KeywordFilter `deprecated:"true" type:"list"` // A timestamp that indicates when the security findings provider most recently // observed the potential security issue that a finding captured. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastObservedAt []*DateFilter `type:"list"` // The name of the malware that was observed. MalwareName []*StringFilter `type:"list"` // The filesystem path of the malware that was observed. MalwarePath []*StringFilter `type:"list"` // The state of the malware that was observed. MalwareState []*StringFilter `type:"list"` // The type of the malware that was observed. MalwareType []*StringFilter `type:"list"` // The destination domain of network-related information about a finding. NetworkDestinationDomain []*StringFilter `type:"list"` // The destination IPv4 address of network-related information about a finding. NetworkDestinationIpV4 []*IpFilter `type:"list"` // The destination IPv6 address of network-related information about a finding. NetworkDestinationIpV6 []*IpFilter `type:"list"` // The destination port of network-related information about a finding. NetworkDestinationPort []*NumberFilter `type:"list"` // Indicates the direction of network traffic associated with a finding. NetworkDirection []*StringFilter `type:"list"` // The protocol of network-related information about a finding. NetworkProtocol []*StringFilter `type:"list"` // The source domain of network-related information about a finding. NetworkSourceDomain []*StringFilter `type:"list"` // The source IPv4 address of network-related information about a finding. NetworkSourceIpV4 []*IpFilter `type:"list"` // The source IPv6 address of network-related information about a finding. NetworkSourceIpV6 []*IpFilter `type:"list"` // The source media access control (MAC) address of network-related information // about a finding. NetworkSourceMac []*StringFilter `type:"list"` // The source port of network-related information about a finding. NetworkSourcePort []*NumberFilter `type:"list"` // The text of a note. NoteText []*StringFilter `type:"list"` // The timestamp of when the note was updated. NoteUpdatedAt []*DateFilter `type:"list"` // The principal that created a note. NoteUpdatedBy []*StringFilter `type:"list"` // A timestamp that identifies when the process was launched. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ProcessLaunchedAt []*DateFilter `type:"list"` // The name of the process. ProcessName []*StringFilter `type:"list"` // The parent process ID. This field accepts positive integers between O and // 2147483647. ProcessParentPid []*NumberFilter `type:"list"` // The path to the process executable. ProcessPath []*StringFilter `type:"list"` // The process ID. ProcessPid []*NumberFilter `type:"list"` // A timestamp that identifies when the process was terminated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ProcessTerminatedAt []*DateFilter `type:"list"` // The ARN generated by Security Hub that uniquely identifies a third-party // company (security findings provider) after this provider's product (solution // that generates findings) is registered with Security Hub. ProductArn []*StringFilter `type:"list"` // A data type where security findings providers can include additional solution-specific // details that aren't part of the defined AwsSecurityFinding format. ProductFields []*MapFilter `type:"list"` // The name of the solution (product) that generates findings. ProductName []*StringFilter `type:"list"` // The recommendation of what to do about the issue described in a finding. RecommendationText []*StringFilter `type:"list"` // The updated record state for the finding. RecordState []*StringFilter `type:"list"` // The Region from which the finding was generated. Region []*StringFilter `type:"list"` // The solution-generated identifier for a related finding. RelatedFindingsId []*StringFilter `type:"list"` // The ARN of the solution that generated a related finding. RelatedFindingsProductArn []*StringFilter `type:"list"` // The ARN of the application that is related to a finding. ResourceApplicationArn []*StringFilter `type:"list"` // The name of the application that is related to a finding. ResourceApplicationName []*StringFilter `type:"list"` // The IAM profile ARN of the instance. ResourceAwsEc2InstanceIamInstanceProfileArn []*StringFilter `type:"list"` // The Amazon Machine Image (AMI) ID of the instance. ResourceAwsEc2InstanceImageId []*StringFilter `type:"list"` // The IPv4 addresses associated with the instance. ResourceAwsEc2InstanceIpV4Addresses []*IpFilter `type:"list"` // The IPv6 addresses associated with the instance. ResourceAwsEc2InstanceIpV6Addresses []*IpFilter `type:"list"` // The key name associated with the instance. ResourceAwsEc2InstanceKeyName []*StringFilter `type:"list"` // The date and time the instance was launched. ResourceAwsEc2InstanceLaunchedAt []*DateFilter `type:"list"` // The identifier of the subnet that the instance was launched in. ResourceAwsEc2InstanceSubnetId []*StringFilter `type:"list"` // The instance type of the instance. ResourceAwsEc2InstanceType []*StringFilter `type:"list"` // The identifier of the VPC that the instance was launched in. ResourceAwsEc2InstanceVpcId []*StringFilter `type:"list"` // The creation date/time of the IAM access key related to a finding. ResourceAwsIamAccessKeyCreatedAt []*DateFilter `type:"list"` // The name of the principal that is associated with an IAM access key. ResourceAwsIamAccessKeyPrincipalName []*StringFilter `type:"list"` // The status of the IAM access key related to a finding. ResourceAwsIamAccessKeyStatus []*StringFilter `type:"list"` // The user associated with the IAM access key related to a finding. // // Deprecated: This filter is deprecated. Instead, use ResourceAwsIamAccessKeyPrincipalName. ResourceAwsIamAccessKeyUserName []*StringFilter `deprecated:"true" type:"list"` // The name of an IAM user. ResourceAwsIamUserUserName []*StringFilter `type:"list"` // The canonical user ID of the owner of the S3 bucket. ResourceAwsS3BucketOwnerId []*StringFilter `type:"list"` // The display name of the owner of the S3 bucket. ResourceAwsS3BucketOwnerName []*StringFilter `type:"list"` // The identifier of the image related to a finding. ResourceContainerImageId []*StringFilter `type:"list"` // The name of the image related to a finding. ResourceContainerImageName []*StringFilter `type:"list"` // A timestamp that identifies when the container was started. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) ResourceContainerLaunchedAt []*DateFilter `type:"list"` // The name of the container related to a finding. ResourceContainerName []*StringFilter `type:"list"` // The details of a resource that doesn't have a specific subfield for the resource // type defined. ResourceDetailsOther []*MapFilter `type:"list"` // The canonical identifier for the given resource type. ResourceId []*StringFilter `type:"list"` // The canonical Amazon Web Services partition name that the Region is assigned // to. ResourcePartition []*StringFilter `type:"list"` // The canonical Amazon Web Services external Region name where this resource // is located. ResourceRegion []*StringFilter `type:"list"` // A list of Amazon Web Services tags associated with a resource at the time // the finding was processed. ResourceTags []*MapFilter `type:"list"` // Specifies the type of the resource that details are provided for. ResourceType []*StringFilter `type:"list"` // Indicates whether or not sample findings are included in the filter results. Sample []*BooleanFilter `type:"list"` // The label of a finding's severity. SeverityLabel []*StringFilter `type:"list"` // The normalized severity of a finding. // // Deprecated: This filter is deprecated. Instead, use SeverityLabel or FindingProviderFieldsSeverityLabel. SeverityNormalized []*NumberFilter `deprecated:"true" type:"list"` // The native severity as defined by the security findings provider's solution // that generated the finding. // // Deprecated: This filter is deprecated. Instead, use FindingProviderSeverityOriginal. SeverityProduct []*NumberFilter `deprecated:"true" type:"list"` // A URL that links to a page about the current finding in the security findings // provider's solution. SourceUrl []*StringFilter `type:"list"` // The category of a threat intelligence indicator. ThreatIntelIndicatorCategory []*StringFilter `type:"list"` // A timestamp that identifies the last observation of a threat intelligence // indicator. ThreatIntelIndicatorLastObservedAt []*DateFilter `type:"list"` // The source of the threat intelligence. ThreatIntelIndicatorSource []*StringFilter `type:"list"` // The URL for more details from the source of the threat intelligence. ThreatIntelIndicatorSourceUrl []*StringFilter `type:"list"` // The type of a threat intelligence indicator. ThreatIntelIndicatorType []*StringFilter `type:"list"` // The value of a threat intelligence indicator. ThreatIntelIndicatorValue []*StringFilter `type:"list"` // A finding's title. Title []*StringFilter `type:"list"` // A finding type in the format of namespace/category/classifier that classifies // a finding. Type []*StringFilter `type:"list"` // A timestamp that indicates when the security findings provider last updated // the finding record. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) UpdatedAt []*DateFilter `type:"list"` // A list of name/value string pairs associated with the finding. These are // custom, user-defined fields added to a finding. UserDefinedFields []*MapFilter `type:"list"` // The veracity of a finding. VerificationState []*StringFilter `type:"list"` // Indicates whether a software vulnerability in your environment has a known // exploit. You can filter findings by this field only if you use Security Hub // and Amazon Inspector. VulnerabilitiesExploitAvailable []*StringFilter `type:"list"` // Indicates whether a vulnerability is fixed in a newer version of the affected // software packages. You can filter findings by this field only if you use // Security Hub and Amazon Inspector. VulnerabilitiesFixAvailable []*StringFilter `type:"list"` // The workflow state of a finding. // // Note that this field is deprecated. To search for a finding based on its // workflow status, use WorkflowStatus. WorkflowState []*StringFilter `type:"list"` // The status of the investigation into a finding. Allowed values are the following. // // * NEW - The initial state of a finding, before it is reviewed. Security // Hub also resets the workflow status from NOTIFIED or RESOLVED to NEW in // the following cases: RecordState changes from ARCHIVED to ACTIVE. Compliance.Status // changes from PASSED to either WARNING, FAILED, or NOT_AVAILABLE. // // * NOTIFIED - Indicates that the resource owner has been notified about // the security issue. Used when the initial reviewer is not the resource // owner, and needs intervention from the resource owner. If one of the following // occurs, the workflow status is changed automatically from NOTIFIED to // NEW: RecordState changes from ARCHIVED to ACTIVE. Compliance.Status changes // from PASSED to FAILED, WARNING, or NOT_AVAILABLE. // // * SUPPRESSED - Indicates that you reviewed the finding and do not believe // that any action is needed. The workflow status of a SUPPRESSED finding // does not change if RecordState changes from ARCHIVED to ACTIVE. // // * RESOLVED - The finding was reviewed and remediated and is now considered // resolved. The finding remains RESOLVED unless one of the following occurs: // RecordState changes from ARCHIVED to ACTIVE. Compliance.Status changes // from PASSED to FAILED, WARNING, or NOT_AVAILABLE. In those cases, the // workflow status is automatically reset to NEW. For findings from controls, // if Compliance.Status is PASSED, then Security Hub automatically sets the // workflow status to RESOLVED. WorkflowStatus []*StringFilter `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecurityFindingFilters) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecurityFindingFilters) GoString() string { return s.String() } // SetAwsAccountId sets the AwsAccountId field's value. func (s *AwsSecurityFindingFilters) SetAwsAccountId(v []*StringFilter) *AwsSecurityFindingFilters { s.AwsAccountId = v return s } // SetAwsAccountName sets the AwsAccountName field's value. func (s *AwsSecurityFindingFilters) SetAwsAccountName(v []*StringFilter) *AwsSecurityFindingFilters { s.AwsAccountName = v return s } // SetCompanyName sets the CompanyName field's value. func (s *AwsSecurityFindingFilters) SetCompanyName(v []*StringFilter) *AwsSecurityFindingFilters { s.CompanyName = v return s } // SetComplianceAssociatedStandardsId sets the ComplianceAssociatedStandardsId field's value. func (s *AwsSecurityFindingFilters) SetComplianceAssociatedStandardsId(v []*StringFilter) *AwsSecurityFindingFilters { s.ComplianceAssociatedStandardsId = v return s } // SetComplianceSecurityControlId sets the ComplianceSecurityControlId field's value. func (s *AwsSecurityFindingFilters) SetComplianceSecurityControlId(v []*StringFilter) *AwsSecurityFindingFilters { s.ComplianceSecurityControlId = v return s } // SetComplianceSecurityControlParametersName sets the ComplianceSecurityControlParametersName field's value. func (s *AwsSecurityFindingFilters) SetComplianceSecurityControlParametersName(v []*StringFilter) *AwsSecurityFindingFilters { s.ComplianceSecurityControlParametersName = v return s } // SetComplianceSecurityControlParametersValue sets the ComplianceSecurityControlParametersValue field's value. func (s *AwsSecurityFindingFilters) SetComplianceSecurityControlParametersValue(v []*StringFilter) *AwsSecurityFindingFilters { s.ComplianceSecurityControlParametersValue = v return s } // SetComplianceStatus sets the ComplianceStatus field's value. func (s *AwsSecurityFindingFilters) SetComplianceStatus(v []*StringFilter) *AwsSecurityFindingFilters { s.ComplianceStatus = v return s } // SetConfidence sets the Confidence field's value. func (s *AwsSecurityFindingFilters) SetConfidence(v []*NumberFilter) *AwsSecurityFindingFilters { s.Confidence = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *AwsSecurityFindingFilters) SetCreatedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.CreatedAt = v return s } // SetCriticality sets the Criticality field's value. func (s *AwsSecurityFindingFilters) SetCriticality(v []*NumberFilter) *AwsSecurityFindingFilters { s.Criticality = v return s } // SetDescription sets the Description field's value. func (s *AwsSecurityFindingFilters) SetDescription(v []*StringFilter) *AwsSecurityFindingFilters { s.Description = v return s } // SetFindingProviderFieldsConfidence sets the FindingProviderFieldsConfidence field's value. func (s *AwsSecurityFindingFilters) SetFindingProviderFieldsConfidence(v []*NumberFilter) *AwsSecurityFindingFilters { s.FindingProviderFieldsConfidence = v return s } // SetFindingProviderFieldsCriticality sets the FindingProviderFieldsCriticality field's value. func (s *AwsSecurityFindingFilters) SetFindingProviderFieldsCriticality(v []*NumberFilter) *AwsSecurityFindingFilters { s.FindingProviderFieldsCriticality = v return s } // SetFindingProviderFieldsRelatedFindingsId sets the FindingProviderFieldsRelatedFindingsId field's value. func (s *AwsSecurityFindingFilters) SetFindingProviderFieldsRelatedFindingsId(v []*StringFilter) *AwsSecurityFindingFilters { s.FindingProviderFieldsRelatedFindingsId = v return s } // SetFindingProviderFieldsRelatedFindingsProductArn sets the FindingProviderFieldsRelatedFindingsProductArn field's value. func (s *AwsSecurityFindingFilters) SetFindingProviderFieldsRelatedFindingsProductArn(v []*StringFilter) *AwsSecurityFindingFilters { s.FindingProviderFieldsRelatedFindingsProductArn = v return s } // SetFindingProviderFieldsSeverityLabel sets the FindingProviderFieldsSeverityLabel field's value. func (s *AwsSecurityFindingFilters) SetFindingProviderFieldsSeverityLabel(v []*StringFilter) *AwsSecurityFindingFilters { s.FindingProviderFieldsSeverityLabel = v return s } // SetFindingProviderFieldsSeverityOriginal sets the FindingProviderFieldsSeverityOriginal field's value. func (s *AwsSecurityFindingFilters) SetFindingProviderFieldsSeverityOriginal(v []*StringFilter) *AwsSecurityFindingFilters { s.FindingProviderFieldsSeverityOriginal = v return s } // SetFindingProviderFieldsTypes sets the FindingProviderFieldsTypes field's value. func (s *AwsSecurityFindingFilters) SetFindingProviderFieldsTypes(v []*StringFilter) *AwsSecurityFindingFilters { s.FindingProviderFieldsTypes = v return s } // SetFirstObservedAt sets the FirstObservedAt field's value. func (s *AwsSecurityFindingFilters) SetFirstObservedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.FirstObservedAt = v return s } // SetGeneratorId sets the GeneratorId field's value. func (s *AwsSecurityFindingFilters) SetGeneratorId(v []*StringFilter) *AwsSecurityFindingFilters { s.GeneratorId = v return s } // SetId sets the Id field's value. func (s *AwsSecurityFindingFilters) SetId(v []*StringFilter) *AwsSecurityFindingFilters { s.Id = v return s } // SetKeyword sets the Keyword field's value. func (s *AwsSecurityFindingFilters) SetKeyword(v []*KeywordFilter) *AwsSecurityFindingFilters { s.Keyword = v return s } // SetLastObservedAt sets the LastObservedAt field's value. func (s *AwsSecurityFindingFilters) SetLastObservedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.LastObservedAt = v return s } // SetMalwareName sets the MalwareName field's value. func (s *AwsSecurityFindingFilters) SetMalwareName(v []*StringFilter) *AwsSecurityFindingFilters { s.MalwareName = v return s } // SetMalwarePath sets the MalwarePath field's value. func (s *AwsSecurityFindingFilters) SetMalwarePath(v []*StringFilter) *AwsSecurityFindingFilters { s.MalwarePath = v return s } // SetMalwareState sets the MalwareState field's value. func (s *AwsSecurityFindingFilters) SetMalwareState(v []*StringFilter) *AwsSecurityFindingFilters { s.MalwareState = v return s } // SetMalwareType sets the MalwareType field's value. func (s *AwsSecurityFindingFilters) SetMalwareType(v []*StringFilter) *AwsSecurityFindingFilters { s.MalwareType = v return s } // SetNetworkDestinationDomain sets the NetworkDestinationDomain field's value. func (s *AwsSecurityFindingFilters) SetNetworkDestinationDomain(v []*StringFilter) *AwsSecurityFindingFilters { s.NetworkDestinationDomain = v return s } // SetNetworkDestinationIpV4 sets the NetworkDestinationIpV4 field's value. func (s *AwsSecurityFindingFilters) SetNetworkDestinationIpV4(v []*IpFilter) *AwsSecurityFindingFilters { s.NetworkDestinationIpV4 = v return s } // SetNetworkDestinationIpV6 sets the NetworkDestinationIpV6 field's value. func (s *AwsSecurityFindingFilters) SetNetworkDestinationIpV6(v []*IpFilter) *AwsSecurityFindingFilters { s.NetworkDestinationIpV6 = v return s } // SetNetworkDestinationPort sets the NetworkDestinationPort field's value. func (s *AwsSecurityFindingFilters) SetNetworkDestinationPort(v []*NumberFilter) *AwsSecurityFindingFilters { s.NetworkDestinationPort = v return s } // SetNetworkDirection sets the NetworkDirection field's value. func (s *AwsSecurityFindingFilters) SetNetworkDirection(v []*StringFilter) *AwsSecurityFindingFilters { s.NetworkDirection = v return s } // SetNetworkProtocol sets the NetworkProtocol field's value. func (s *AwsSecurityFindingFilters) SetNetworkProtocol(v []*StringFilter) *AwsSecurityFindingFilters { s.NetworkProtocol = v return s } // SetNetworkSourceDomain sets the NetworkSourceDomain field's value. func (s *AwsSecurityFindingFilters) SetNetworkSourceDomain(v []*StringFilter) *AwsSecurityFindingFilters { s.NetworkSourceDomain = v return s } // SetNetworkSourceIpV4 sets the NetworkSourceIpV4 field's value. func (s *AwsSecurityFindingFilters) SetNetworkSourceIpV4(v []*IpFilter) *AwsSecurityFindingFilters { s.NetworkSourceIpV4 = v return s } // SetNetworkSourceIpV6 sets the NetworkSourceIpV6 field's value. func (s *AwsSecurityFindingFilters) SetNetworkSourceIpV6(v []*IpFilter) *AwsSecurityFindingFilters { s.NetworkSourceIpV6 = v return s } // SetNetworkSourceMac sets the NetworkSourceMac field's value. func (s *AwsSecurityFindingFilters) SetNetworkSourceMac(v []*StringFilter) *AwsSecurityFindingFilters { s.NetworkSourceMac = v return s } // SetNetworkSourcePort sets the NetworkSourcePort field's value. func (s *AwsSecurityFindingFilters) SetNetworkSourcePort(v []*NumberFilter) *AwsSecurityFindingFilters { s.NetworkSourcePort = v return s } // SetNoteText sets the NoteText field's value. func (s *AwsSecurityFindingFilters) SetNoteText(v []*StringFilter) *AwsSecurityFindingFilters { s.NoteText = v return s } // SetNoteUpdatedAt sets the NoteUpdatedAt field's value. func (s *AwsSecurityFindingFilters) SetNoteUpdatedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.NoteUpdatedAt = v return s } // SetNoteUpdatedBy sets the NoteUpdatedBy field's value. func (s *AwsSecurityFindingFilters) SetNoteUpdatedBy(v []*StringFilter) *AwsSecurityFindingFilters { s.NoteUpdatedBy = v return s } // SetProcessLaunchedAt sets the ProcessLaunchedAt field's value. func (s *AwsSecurityFindingFilters) SetProcessLaunchedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.ProcessLaunchedAt = v return s } // SetProcessName sets the ProcessName field's value. func (s *AwsSecurityFindingFilters) SetProcessName(v []*StringFilter) *AwsSecurityFindingFilters { s.ProcessName = v return s } // SetProcessParentPid sets the ProcessParentPid field's value. func (s *AwsSecurityFindingFilters) SetProcessParentPid(v []*NumberFilter) *AwsSecurityFindingFilters { s.ProcessParentPid = v return s } // SetProcessPath sets the ProcessPath field's value. func (s *AwsSecurityFindingFilters) SetProcessPath(v []*StringFilter) *AwsSecurityFindingFilters { s.ProcessPath = v return s } // SetProcessPid sets the ProcessPid field's value. func (s *AwsSecurityFindingFilters) SetProcessPid(v []*NumberFilter) *AwsSecurityFindingFilters { s.ProcessPid = v return s } // SetProcessTerminatedAt sets the ProcessTerminatedAt field's value. func (s *AwsSecurityFindingFilters) SetProcessTerminatedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.ProcessTerminatedAt = v return s } // SetProductArn sets the ProductArn field's value. func (s *AwsSecurityFindingFilters) SetProductArn(v []*StringFilter) *AwsSecurityFindingFilters { s.ProductArn = v return s } // SetProductFields sets the ProductFields field's value. func (s *AwsSecurityFindingFilters) SetProductFields(v []*MapFilter) *AwsSecurityFindingFilters { s.ProductFields = v return s } // SetProductName sets the ProductName field's value. func (s *AwsSecurityFindingFilters) SetProductName(v []*StringFilter) *AwsSecurityFindingFilters { s.ProductName = v return s } // SetRecommendationText sets the RecommendationText field's value. func (s *AwsSecurityFindingFilters) SetRecommendationText(v []*StringFilter) *AwsSecurityFindingFilters { s.RecommendationText = v return s } // SetRecordState sets the RecordState field's value. func (s *AwsSecurityFindingFilters) SetRecordState(v []*StringFilter) *AwsSecurityFindingFilters { s.RecordState = v return s } // SetRegion sets the Region field's value. func (s *AwsSecurityFindingFilters) SetRegion(v []*StringFilter) *AwsSecurityFindingFilters { s.Region = v return s } // SetRelatedFindingsId sets the RelatedFindingsId field's value. func (s *AwsSecurityFindingFilters) SetRelatedFindingsId(v []*StringFilter) *AwsSecurityFindingFilters { s.RelatedFindingsId = v return s } // SetRelatedFindingsProductArn sets the RelatedFindingsProductArn field's value. func (s *AwsSecurityFindingFilters) SetRelatedFindingsProductArn(v []*StringFilter) *AwsSecurityFindingFilters { s.RelatedFindingsProductArn = v return s } // SetResourceApplicationArn sets the ResourceApplicationArn field's value. func (s *AwsSecurityFindingFilters) SetResourceApplicationArn(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceApplicationArn = v return s } // SetResourceApplicationName sets the ResourceApplicationName field's value. func (s *AwsSecurityFindingFilters) SetResourceApplicationName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceApplicationName = v return s } // SetResourceAwsEc2InstanceIamInstanceProfileArn sets the ResourceAwsEc2InstanceIamInstanceProfileArn field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIamInstanceProfileArn(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceIamInstanceProfileArn = v return s } // SetResourceAwsEc2InstanceImageId sets the ResourceAwsEc2InstanceImageId field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceImageId(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceImageId = v return s } // SetResourceAwsEc2InstanceIpV4Addresses sets the ResourceAwsEc2InstanceIpV4Addresses field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIpV4Addresses(v []*IpFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceIpV4Addresses = v return s } // SetResourceAwsEc2InstanceIpV6Addresses sets the ResourceAwsEc2InstanceIpV6Addresses field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceIpV6Addresses(v []*IpFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceIpV6Addresses = v return s } // SetResourceAwsEc2InstanceKeyName sets the ResourceAwsEc2InstanceKeyName field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceKeyName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceKeyName = v return s } // SetResourceAwsEc2InstanceLaunchedAt sets the ResourceAwsEc2InstanceLaunchedAt field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceLaunchedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceLaunchedAt = v return s } // SetResourceAwsEc2InstanceSubnetId sets the ResourceAwsEc2InstanceSubnetId field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceSubnetId(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceSubnetId = v return s } // SetResourceAwsEc2InstanceType sets the ResourceAwsEc2InstanceType field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceType(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceType = v return s } // SetResourceAwsEc2InstanceVpcId sets the ResourceAwsEc2InstanceVpcId field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsEc2InstanceVpcId(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsEc2InstanceVpcId = v return s } // SetResourceAwsIamAccessKeyCreatedAt sets the ResourceAwsIamAccessKeyCreatedAt field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyCreatedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.ResourceAwsIamAccessKeyCreatedAt = v return s } // SetResourceAwsIamAccessKeyPrincipalName sets the ResourceAwsIamAccessKeyPrincipalName field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyPrincipalName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsIamAccessKeyPrincipalName = v return s } // SetResourceAwsIamAccessKeyStatus sets the ResourceAwsIamAccessKeyStatus field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyStatus(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsIamAccessKeyStatus = v return s } // SetResourceAwsIamAccessKeyUserName sets the ResourceAwsIamAccessKeyUserName field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsIamAccessKeyUserName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsIamAccessKeyUserName = v return s } // SetResourceAwsIamUserUserName sets the ResourceAwsIamUserUserName field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsIamUserUserName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsIamUserUserName = v return s } // SetResourceAwsS3BucketOwnerId sets the ResourceAwsS3BucketOwnerId field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsS3BucketOwnerId(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsS3BucketOwnerId = v return s } // SetResourceAwsS3BucketOwnerName sets the ResourceAwsS3BucketOwnerName field's value. func (s *AwsSecurityFindingFilters) SetResourceAwsS3BucketOwnerName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceAwsS3BucketOwnerName = v return s } // SetResourceContainerImageId sets the ResourceContainerImageId field's value. func (s *AwsSecurityFindingFilters) SetResourceContainerImageId(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceContainerImageId = v return s } // SetResourceContainerImageName sets the ResourceContainerImageName field's value. func (s *AwsSecurityFindingFilters) SetResourceContainerImageName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceContainerImageName = v return s } // SetResourceContainerLaunchedAt sets the ResourceContainerLaunchedAt field's value. func (s *AwsSecurityFindingFilters) SetResourceContainerLaunchedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.ResourceContainerLaunchedAt = v return s } // SetResourceContainerName sets the ResourceContainerName field's value. func (s *AwsSecurityFindingFilters) SetResourceContainerName(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceContainerName = v return s } // SetResourceDetailsOther sets the ResourceDetailsOther field's value. func (s *AwsSecurityFindingFilters) SetResourceDetailsOther(v []*MapFilter) *AwsSecurityFindingFilters { s.ResourceDetailsOther = v return s } // SetResourceId sets the ResourceId field's value. func (s *AwsSecurityFindingFilters) SetResourceId(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceId = v return s } // SetResourcePartition sets the ResourcePartition field's value. func (s *AwsSecurityFindingFilters) SetResourcePartition(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourcePartition = v return s } // SetResourceRegion sets the ResourceRegion field's value. func (s *AwsSecurityFindingFilters) SetResourceRegion(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceRegion = v return s } // SetResourceTags sets the ResourceTags field's value. func (s *AwsSecurityFindingFilters) SetResourceTags(v []*MapFilter) *AwsSecurityFindingFilters { s.ResourceTags = v return s } // SetResourceType sets the ResourceType field's value. func (s *AwsSecurityFindingFilters) SetResourceType(v []*StringFilter) *AwsSecurityFindingFilters { s.ResourceType = v return s } // SetSample sets the Sample field's value. func (s *AwsSecurityFindingFilters) SetSample(v []*BooleanFilter) *AwsSecurityFindingFilters { s.Sample = v return s } // SetSeverityLabel sets the SeverityLabel field's value. func (s *AwsSecurityFindingFilters) SetSeverityLabel(v []*StringFilter) *AwsSecurityFindingFilters { s.SeverityLabel = v return s } // SetSeverityNormalized sets the SeverityNormalized field's value. func (s *AwsSecurityFindingFilters) SetSeverityNormalized(v []*NumberFilter) *AwsSecurityFindingFilters { s.SeverityNormalized = v return s } // SetSeverityProduct sets the SeverityProduct field's value. func (s *AwsSecurityFindingFilters) SetSeverityProduct(v []*NumberFilter) *AwsSecurityFindingFilters { s.SeverityProduct = v return s } // SetSourceUrl sets the SourceUrl field's value. func (s *AwsSecurityFindingFilters) SetSourceUrl(v []*StringFilter) *AwsSecurityFindingFilters { s.SourceUrl = v return s } // SetThreatIntelIndicatorCategory sets the ThreatIntelIndicatorCategory field's value. func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorCategory(v []*StringFilter) *AwsSecurityFindingFilters { s.ThreatIntelIndicatorCategory = v return s } // SetThreatIntelIndicatorLastObservedAt sets the ThreatIntelIndicatorLastObservedAt field's value. func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorLastObservedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.ThreatIntelIndicatorLastObservedAt = v return s } // SetThreatIntelIndicatorSource sets the ThreatIntelIndicatorSource field's value. func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorSource(v []*StringFilter) *AwsSecurityFindingFilters { s.ThreatIntelIndicatorSource = v return s } // SetThreatIntelIndicatorSourceUrl sets the ThreatIntelIndicatorSourceUrl field's value. func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorSourceUrl(v []*StringFilter) *AwsSecurityFindingFilters { s.ThreatIntelIndicatorSourceUrl = v return s } // SetThreatIntelIndicatorType sets the ThreatIntelIndicatorType field's value. func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorType(v []*StringFilter) *AwsSecurityFindingFilters { s.ThreatIntelIndicatorType = v return s } // SetThreatIntelIndicatorValue sets the ThreatIntelIndicatorValue field's value. func (s *AwsSecurityFindingFilters) SetThreatIntelIndicatorValue(v []*StringFilter) *AwsSecurityFindingFilters { s.ThreatIntelIndicatorValue = v return s } // SetTitle sets the Title field's value. func (s *AwsSecurityFindingFilters) SetTitle(v []*StringFilter) *AwsSecurityFindingFilters { s.Title = v return s } // SetType sets the Type field's value. func (s *AwsSecurityFindingFilters) SetType(v []*StringFilter) *AwsSecurityFindingFilters { s.Type = v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *AwsSecurityFindingFilters) SetUpdatedAt(v []*DateFilter) *AwsSecurityFindingFilters { s.UpdatedAt = v return s } // SetUserDefinedFields sets the UserDefinedFields field's value. func (s *AwsSecurityFindingFilters) SetUserDefinedFields(v []*MapFilter) *AwsSecurityFindingFilters { s.UserDefinedFields = v return s } // SetVerificationState sets the VerificationState field's value. func (s *AwsSecurityFindingFilters) SetVerificationState(v []*StringFilter) *AwsSecurityFindingFilters { s.VerificationState = v return s } // SetVulnerabilitiesExploitAvailable sets the VulnerabilitiesExploitAvailable field's value. func (s *AwsSecurityFindingFilters) SetVulnerabilitiesExploitAvailable(v []*StringFilter) *AwsSecurityFindingFilters { s.VulnerabilitiesExploitAvailable = v return s } // SetVulnerabilitiesFixAvailable sets the VulnerabilitiesFixAvailable field's value. func (s *AwsSecurityFindingFilters) SetVulnerabilitiesFixAvailable(v []*StringFilter) *AwsSecurityFindingFilters { s.VulnerabilitiesFixAvailable = v return s } // SetWorkflowState sets the WorkflowState field's value. func (s *AwsSecurityFindingFilters) SetWorkflowState(v []*StringFilter) *AwsSecurityFindingFilters { s.WorkflowState = v return s } // SetWorkflowStatus sets the WorkflowStatus field's value. func (s *AwsSecurityFindingFilters) SetWorkflowStatus(v []*StringFilter) *AwsSecurityFindingFilters { s.WorkflowStatus = v return s } // Identifies which finding to get the finding history for. type AwsSecurityFindingIdentifier struct { _ struct{} `type:"structure"` // The identifier of the finding that was specified by the finding provider. // // Id is a required field Id *string `type:"string" required:"true"` // The ARN generated by Security Hub that uniquely identifies a product that // generates findings. This can be the ARN for a third-party product that is // integrated with Security Hub, or the ARN for a custom integration. // // ProductArn is a required field ProductArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecurityFindingIdentifier) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSecurityFindingIdentifier) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *AwsSecurityFindingIdentifier) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AwsSecurityFindingIdentifier"} if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } if s.ProductArn == nil { invalidParams.Add(request.NewErrParamRequired("ProductArn")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetId sets the Id field's value. func (s *AwsSecurityFindingIdentifier) SetId(v string) *AwsSecurityFindingIdentifier { s.Id = &v return s } // SetProductArn sets the ProductArn field's value. func (s *AwsSecurityFindingIdentifier) SetProductArn(v string) *AwsSecurityFindingIdentifier { s.ProductArn = &v return s } // Provides information about an Amazon SNS topic to which notifications can // be published. type AwsSnsTopicDetails struct { _ struct{} `type:"structure"` // Indicates failed message delivery status for an Amazon SNS topic that is // subscribed to a platform application endpoint. ApplicationSuccessFeedbackRoleArn *string `type:"string"` // Indicates failed message delivery status for an Amazon SNS topic that is // subscribed to an Amazon Kinesis Data Firehose endpoint. FirehoseFailureFeedbackRoleArn *string `type:"string"` // Indicates successful message delivery status for an Amazon SNS topic that // is subscribed to an Amazon Kinesis Data Firehose endpoint. FirehoseSuccessFeedbackRoleArn *string `type:"string"` // Indicates failed message delivery status for an Amazon SNS topic that is // subscribed to an HTTP endpoint. HttpFailureFeedbackRoleArn *string `type:"string"` // Indicates successful message delivery status for an Amazon SNS topic that // is subscribed to an HTTP endpoint. HttpSuccessFeedbackRoleArn *string `type:"string"` // The ID of an Amazon Web Services managed key for Amazon SNS or a customer // managed key. KmsMasterKeyId *string `type:"string"` // The subscription's owner. Owner *string `type:"string"` // Indicates failed message delivery status for an Amazon SNS topic that is // subscribed to an Amazon SQS endpoint. SqsFailureFeedbackRoleArn *string `type:"string"` // Indicates successful message delivery status for an Amazon SNS topic that // is subscribed to an Amazon SQS endpoint. SqsSuccessFeedbackRoleArn *string `type:"string"` // Subscription is an embedded property that describes the subscription endpoints // of an Amazon SNS topic. Subscription []*AwsSnsTopicSubscription `type:"list"` // The name of the Amazon SNS topic. TopicName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSnsTopicDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSnsTopicDetails) GoString() string { return s.String() } // SetApplicationSuccessFeedbackRoleArn sets the ApplicationSuccessFeedbackRoleArn field's value. func (s *AwsSnsTopicDetails) SetApplicationSuccessFeedbackRoleArn(v string) *AwsSnsTopicDetails { s.ApplicationSuccessFeedbackRoleArn = &v return s } // SetFirehoseFailureFeedbackRoleArn sets the FirehoseFailureFeedbackRoleArn field's value. func (s *AwsSnsTopicDetails) SetFirehoseFailureFeedbackRoleArn(v string) *AwsSnsTopicDetails { s.FirehoseFailureFeedbackRoleArn = &v return s } // SetFirehoseSuccessFeedbackRoleArn sets the FirehoseSuccessFeedbackRoleArn field's value. func (s *AwsSnsTopicDetails) SetFirehoseSuccessFeedbackRoleArn(v string) *AwsSnsTopicDetails { s.FirehoseSuccessFeedbackRoleArn = &v return s } // SetHttpFailureFeedbackRoleArn sets the HttpFailureFeedbackRoleArn field's value. func (s *AwsSnsTopicDetails) SetHttpFailureFeedbackRoleArn(v string) *AwsSnsTopicDetails { s.HttpFailureFeedbackRoleArn = &v return s } // SetHttpSuccessFeedbackRoleArn sets the HttpSuccessFeedbackRoleArn field's value. func (s *AwsSnsTopicDetails) SetHttpSuccessFeedbackRoleArn(v string) *AwsSnsTopicDetails { s.HttpSuccessFeedbackRoleArn = &v return s } // SetKmsMasterKeyId sets the KmsMasterKeyId field's value. func (s *AwsSnsTopicDetails) SetKmsMasterKeyId(v string) *AwsSnsTopicDetails { s.KmsMasterKeyId = &v return s } // SetOwner sets the Owner field's value. func (s *AwsSnsTopicDetails) SetOwner(v string) *AwsSnsTopicDetails { s.Owner = &v return s } // SetSqsFailureFeedbackRoleArn sets the SqsFailureFeedbackRoleArn field's value. func (s *AwsSnsTopicDetails) SetSqsFailureFeedbackRoleArn(v string) *AwsSnsTopicDetails { s.SqsFailureFeedbackRoleArn = &v return s } // SetSqsSuccessFeedbackRoleArn sets the SqsSuccessFeedbackRoleArn field's value. func (s *AwsSnsTopicDetails) SetSqsSuccessFeedbackRoleArn(v string) *AwsSnsTopicDetails { s.SqsSuccessFeedbackRoleArn = &v return s } // SetSubscription sets the Subscription field's value. func (s *AwsSnsTopicDetails) SetSubscription(v []*AwsSnsTopicSubscription) *AwsSnsTopicDetails { s.Subscription = v return s } // SetTopicName sets the TopicName field's value. func (s *AwsSnsTopicDetails) SetTopicName(v string) *AwsSnsTopicDetails { s.TopicName = &v return s } // A wrapper type for the attributes of an Amazon SNS subscription. type AwsSnsTopicSubscription struct { _ struct{} `type:"structure"` // The subscription's endpoint (format depends on the protocol). Endpoint *string `type:"string"` // The subscription's protocol. Protocol *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSnsTopicSubscription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSnsTopicSubscription) GoString() string { return s.String() } // SetEndpoint sets the Endpoint field's value. func (s *AwsSnsTopicSubscription) SetEndpoint(v string) *AwsSnsTopicSubscription { s.Endpoint = &v return s } // SetProtocol sets the Protocol field's value. func (s *AwsSnsTopicSubscription) SetProtocol(v string) *AwsSnsTopicSubscription { s.Protocol = &v return s } // Data about a queue. type AwsSqsQueueDetails struct { _ struct{} `type:"structure"` // The ARN of the dead-letter queue to which Amazon SQS moves messages after // the value of maxReceiveCount is exceeded. DeadLetterTargetArn *string `type:"string"` // The length of time, in seconds, for which Amazon SQS can reuse a data key // to encrypt or decrypt messages before calling KMS again. KmsDataKeyReusePeriodSeconds *int64 `type:"integer"` // The ID of an Amazon Web Services managed key for Amazon SQS or a custom KMS // key. KmsMasterKeyId *string `type:"string"` // The name of the new queue. QueueName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSqsQueueDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSqsQueueDetails) GoString() string { return s.String() } // SetDeadLetterTargetArn sets the DeadLetterTargetArn field's value. func (s *AwsSqsQueueDetails) SetDeadLetterTargetArn(v string) *AwsSqsQueueDetails { s.DeadLetterTargetArn = &v return s } // SetKmsDataKeyReusePeriodSeconds sets the KmsDataKeyReusePeriodSeconds field's value. func (s *AwsSqsQueueDetails) SetKmsDataKeyReusePeriodSeconds(v int64) *AwsSqsQueueDetails { s.KmsDataKeyReusePeriodSeconds = &v return s } // SetKmsMasterKeyId sets the KmsMasterKeyId field's value. func (s *AwsSqsQueueDetails) SetKmsMasterKeyId(v string) *AwsSqsQueueDetails { s.KmsMasterKeyId = &v return s } // SetQueueName sets the QueueName field's value. func (s *AwsSqsQueueDetails) SetQueueName(v string) *AwsSqsQueueDetails { s.QueueName = &v return s } // Provides the details about the compliance status for a patch. type AwsSsmComplianceSummary struct { _ struct{} `type:"structure"` // The type of resource for which the compliance was determined. For AwsSsmPatchCompliance, // ComplianceType is Patch. ComplianceType *string `type:"string"` // For the patches that are compliant, the number that have a severity of CRITICAL. CompliantCriticalCount *int64 `type:"integer"` // For the patches that are compliant, the number that have a severity of HIGH. CompliantHighCount *int64 `type:"integer"` // For the patches that are compliant, the number that have a severity of INFORMATIONAL. CompliantInformationalCount *int64 `type:"integer"` // For the patches that are compliant, the number that have a severity of LOW. CompliantLowCount *int64 `type:"integer"` // For the patches that are compliant, the number that have a severity of MEDIUM. CompliantMediumCount *int64 `type:"integer"` // For the patches that are compliant, the number that have a severity of UNSPECIFIED. CompliantUnspecifiedCount *int64 `type:"integer"` // The type of execution that was used determine compliance. ExecutionType *string `type:"string"` // For the patch items that are noncompliant, the number of items that have // a severity of CRITICAL. NonCompliantCriticalCount *int64 `type:"integer"` // For the patches that are noncompliant, the number that have a severity of // HIGH. NonCompliantHighCount *int64 `type:"integer"` // For the patches that are noncompliant, the number that have a severity of // INFORMATIONAL. NonCompliantInformationalCount *int64 `type:"integer"` // For the patches that are noncompliant, the number that have a severity of // LOW. NonCompliantLowCount *int64 `type:"integer"` // For the patches that are noncompliant, the number that have a severity of // MEDIUM. NonCompliantMediumCount *int64 `type:"integer"` // For the patches that are noncompliant, the number that have a severity of // UNSPECIFIED. NonCompliantUnspecifiedCount *int64 `type:"integer"` // The highest severity for the patches. Valid values are as follows: // // * CRITICAL // // * HIGH // // * MEDIUM // // * LOW // // * INFORMATIONAL // // * UNSPECIFIED OverallSeverity *string `type:"string"` // The identifier of the patch baseline. The patch baseline lists the patches // that are approved for installation. PatchBaselineId *string `type:"string"` // The identifier of the patch group for which compliance was determined. A // patch group uses tags to group EC2 instances that should have the same patch // compliance. PatchGroup *string `type:"string"` // The current patch compliance status. Valid values are as follows: // // * COMPLIANT // // * NON_COMPLIANT // // * UNSPECIFIED_DATA Status *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSsmComplianceSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSsmComplianceSummary) GoString() string { return s.String() } // SetComplianceType sets the ComplianceType field's value. func (s *AwsSsmComplianceSummary) SetComplianceType(v string) *AwsSsmComplianceSummary { s.ComplianceType = &v return s } // SetCompliantCriticalCount sets the CompliantCriticalCount field's value. func (s *AwsSsmComplianceSummary) SetCompliantCriticalCount(v int64) *AwsSsmComplianceSummary { s.CompliantCriticalCount = &v return s } // SetCompliantHighCount sets the CompliantHighCount field's value. func (s *AwsSsmComplianceSummary) SetCompliantHighCount(v int64) *AwsSsmComplianceSummary { s.CompliantHighCount = &v return s } // SetCompliantInformationalCount sets the CompliantInformationalCount field's value. func (s *AwsSsmComplianceSummary) SetCompliantInformationalCount(v int64) *AwsSsmComplianceSummary { s.CompliantInformationalCount = &v return s } // SetCompliantLowCount sets the CompliantLowCount field's value. func (s *AwsSsmComplianceSummary) SetCompliantLowCount(v int64) *AwsSsmComplianceSummary { s.CompliantLowCount = &v return s } // SetCompliantMediumCount sets the CompliantMediumCount field's value. func (s *AwsSsmComplianceSummary) SetCompliantMediumCount(v int64) *AwsSsmComplianceSummary { s.CompliantMediumCount = &v return s } // SetCompliantUnspecifiedCount sets the CompliantUnspecifiedCount field's value. func (s *AwsSsmComplianceSummary) SetCompliantUnspecifiedCount(v int64) *AwsSsmComplianceSummary { s.CompliantUnspecifiedCount = &v return s } // SetExecutionType sets the ExecutionType field's value. func (s *AwsSsmComplianceSummary) SetExecutionType(v string) *AwsSsmComplianceSummary { s.ExecutionType = &v return s } // SetNonCompliantCriticalCount sets the NonCompliantCriticalCount field's value. func (s *AwsSsmComplianceSummary) SetNonCompliantCriticalCount(v int64) *AwsSsmComplianceSummary { s.NonCompliantCriticalCount = &v return s } // SetNonCompliantHighCount sets the NonCompliantHighCount field's value. func (s *AwsSsmComplianceSummary) SetNonCompliantHighCount(v int64) *AwsSsmComplianceSummary { s.NonCompliantHighCount = &v return s } // SetNonCompliantInformationalCount sets the NonCompliantInformationalCount field's value. func (s *AwsSsmComplianceSummary) SetNonCompliantInformationalCount(v int64) *AwsSsmComplianceSummary { s.NonCompliantInformationalCount = &v return s } // SetNonCompliantLowCount sets the NonCompliantLowCount field's value. func (s *AwsSsmComplianceSummary) SetNonCompliantLowCount(v int64) *AwsSsmComplianceSummary { s.NonCompliantLowCount = &v return s } // SetNonCompliantMediumCount sets the NonCompliantMediumCount field's value. func (s *AwsSsmComplianceSummary) SetNonCompliantMediumCount(v int64) *AwsSsmComplianceSummary { s.NonCompliantMediumCount = &v return s } // SetNonCompliantUnspecifiedCount sets the NonCompliantUnspecifiedCount field's value. func (s *AwsSsmComplianceSummary) SetNonCompliantUnspecifiedCount(v int64) *AwsSsmComplianceSummary { s.NonCompliantUnspecifiedCount = &v return s } // SetOverallSeverity sets the OverallSeverity field's value. func (s *AwsSsmComplianceSummary) SetOverallSeverity(v string) *AwsSsmComplianceSummary { s.OverallSeverity = &v return s } // SetPatchBaselineId sets the PatchBaselineId field's value. func (s *AwsSsmComplianceSummary) SetPatchBaselineId(v string) *AwsSsmComplianceSummary { s.PatchBaselineId = &v return s } // SetPatchGroup sets the PatchGroup field's value. func (s *AwsSsmComplianceSummary) SetPatchGroup(v string) *AwsSsmComplianceSummary { s.PatchGroup = &v return s } // SetStatus sets the Status field's value. func (s *AwsSsmComplianceSummary) SetStatus(v string) *AwsSsmComplianceSummary { s.Status = &v return s } // Provides details about the compliance for a patch. type AwsSsmPatch struct { _ struct{} `type:"structure"` // The compliance status details for the patch. ComplianceSummary *AwsSsmComplianceSummary `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSsmPatch) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSsmPatch) GoString() string { return s.String() } // SetComplianceSummary sets the ComplianceSummary field's value. func (s *AwsSsmPatch) SetComplianceSummary(v *AwsSsmComplianceSummary) *AwsSsmPatch { s.ComplianceSummary = v return s } // Provides information about the state of a patch on an instance based on the // patch baseline that was used to patch the instance. type AwsSsmPatchComplianceDetails struct { _ struct{} `type:"structure"` // Information about the status of a patch. Patch *AwsSsmPatch `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSsmPatchComplianceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsSsmPatchComplianceDetails) GoString() string { return s.String() } // SetPatch sets the Patch field's value. func (s *AwsSsmPatchComplianceDetails) SetPatch(v *AwsSsmPatch) *AwsSsmPatchComplianceDetails { s.Patch = v return s } // Provides details about an Step Functions state machine, which is a workflow // consisting of a series of event- driven steps. type AwsStepFunctionStateMachineDetails struct { _ struct{} `type:"structure"` // A user-defined or an auto-generated string that identifies a Map state. This // parameter is present only if the stateMachineArn specified in input is a // qualified state machine ARN. Label *string `type:"string"` // Used to set CloudWatch Logs options. LoggingConfiguration *AwsStepFunctionStateMachineLoggingConfigurationDetails `type:"structure"` // The name of the state machine. Name *string `type:"string"` // The Amazon Resource Name (ARN) of the IAM role used when creating this state // machine. RoleArn *string `type:"string"` // The ARN that identifies the state machine. StateMachineArn *string `type:"string"` // The current status of the state machine. Status *string `type:"string"` // Specifies whether X-Ray tracing is enabled. TracingConfiguration *AwsStepFunctionStateMachineTracingConfigurationDetails `type:"structure"` // The type of the state machine (STANDARD or EXPRESS). Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsStepFunctionStateMachineDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsStepFunctionStateMachineDetails) GoString() string { return s.String() } // SetLabel sets the Label field's value. func (s *AwsStepFunctionStateMachineDetails) SetLabel(v string) *AwsStepFunctionStateMachineDetails { s.Label = &v return s } // SetLoggingConfiguration sets the LoggingConfiguration field's value. func (s *AwsStepFunctionStateMachineDetails) SetLoggingConfiguration(v *AwsStepFunctionStateMachineLoggingConfigurationDetails) *AwsStepFunctionStateMachineDetails { s.LoggingConfiguration = v return s } // SetName sets the Name field's value. func (s *AwsStepFunctionStateMachineDetails) SetName(v string) *AwsStepFunctionStateMachineDetails { s.Name = &v return s } // SetRoleArn sets the RoleArn field's value. func (s *AwsStepFunctionStateMachineDetails) SetRoleArn(v string) *AwsStepFunctionStateMachineDetails { s.RoleArn = &v return s } // SetStateMachineArn sets the StateMachineArn field's value. func (s *AwsStepFunctionStateMachineDetails) SetStateMachineArn(v string) *AwsStepFunctionStateMachineDetails { s.StateMachineArn = &v return s } // SetStatus sets the Status field's value. func (s *AwsStepFunctionStateMachineDetails) SetStatus(v string) *AwsStepFunctionStateMachineDetails { s.Status = &v return s } // SetTracingConfiguration sets the TracingConfiguration field's value. func (s *AwsStepFunctionStateMachineDetails) SetTracingConfiguration(v *AwsStepFunctionStateMachineTracingConfigurationDetails) *AwsStepFunctionStateMachineDetails { s.TracingConfiguration = v return s } // SetType sets the Type field's value. func (s *AwsStepFunctionStateMachineDetails) SetType(v string) *AwsStepFunctionStateMachineDetails { s.Type = &v return s } // An object describing a CloudWatch log group. For more information, see Amazon // Web Services::Logs::LogGroup (path_to_url // in the CloudFormation User Guide. type your_sha256_hashWatchLogsLogGroupDetails struct { _ struct{} `type:"structure"` // The ARN (ends with :*) of the CloudWatch Logs log group to which you want // your logs emitted. LogGroupArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashWatchLogsLogGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashWatchLogsLogGroupDetails) GoString() string { return s.String() } // SetLogGroupArn sets the LogGroupArn field's value. func (s *your_sha256_hashWatchLogsLogGroupDetails) SetLogGroupArn(v string) *your_sha256_hashWatchLogsLogGroupDetails { s.LogGroupArn = &v return s } // An array of objects that describes where your execution history events will // be logged. type your_sha256_hashls struct { _ struct{} `type:"structure"` // An object describing a CloudWatch Logs log group. For more information, see // Amazon Web Services::Logs::LogGroup (path_to_url // in the CloudFormation User Guide. CloudWatchLogsLogGroup *your_sha256_hashWatchLogsLogGroupDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s your_sha256_hashls) GoString() string { return s.String() } // SetCloudWatchLogsLogGroup sets the CloudWatchLogsLogGroup field's value. func (s *your_sha256_hashls) SetCloudWatchLogsLogGroup(v *your_sha256_hashWatchLogsLogGroupDetails) *your_sha256_hashls { s.CloudWatchLogsLogGroup = v return s } // The LoggingConfiguration data type is used to set CloudWatch Logs options. type AwsStepFunctionStateMachineLoggingConfigurationDetails struct { _ struct{} `type:"structure"` // An array of objects that describes where your execution history events will // be logged. Destinations []*your_sha256_hashls `type:"list"` // Determines whether execution data is included in your log. When set to false, // data is excluded. IncludeExecutionData *bool `type:"boolean"` // Defines which category of execution history events are logged. Level *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsStepFunctionStateMachineLoggingConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsStepFunctionStateMachineLoggingConfigurationDetails) GoString() string { return s.String() } // SetDestinations sets the Destinations field's value. func (s *AwsStepFunctionStateMachineLoggingConfigurationDetails) SetDestinations(v []*your_sha256_hashls) *AwsStepFunctionStateMachineLoggingConfigurationDetails { s.Destinations = v return s } // SetIncludeExecutionData sets the IncludeExecutionData field's value. func (s *AwsStepFunctionStateMachineLoggingConfigurationDetails) SetIncludeExecutionData(v bool) *AwsStepFunctionStateMachineLoggingConfigurationDetails { s.IncludeExecutionData = &v return s } // SetLevel sets the Level field's value. func (s *AwsStepFunctionStateMachineLoggingConfigurationDetails) SetLevel(v string) *AwsStepFunctionStateMachineLoggingConfigurationDetails { s.Level = &v return s } // Specifies whether X-Ray tracing is enabled. type AwsStepFunctionStateMachineTracingConfigurationDetails struct { _ struct{} `type:"structure"` // When set to true, X-Ray tracing is enabled. Enabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsStepFunctionStateMachineTracingConfigurationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsStepFunctionStateMachineTracingConfigurationDetails) GoString() string { return s.String() } // SetEnabled sets the Enabled field's value. func (s *AwsStepFunctionStateMachineTracingConfigurationDetails) SetEnabled(v bool) *AwsStepFunctionStateMachineTracingConfigurationDetails { s.Enabled = &v return s } // Details about a rate-based rule for global resources. A rate-based rule provides // settings to indicate when to allow, block, or count a request. Rate-based // rules include the number of requests that arrive over a specified period // of time. type AwsWafRateBasedRuleDetails struct { _ struct{} `type:"structure"` // The predicates to include in the rate-based rule. MatchPredicates []*AwsWafRateBasedRuleMatchPredicate `type:"list"` // The name of the metrics for the rate-based rule. MetricName *string `type:"string"` // The name of the rate-based rule. Name *string `type:"string"` // The field that WAF uses to determine whether requests are likely arriving // from single source and are subject to rate monitoring. RateKey *string `type:"string"` // The maximum number of requests that have an identical value for the field // specified in RateKey that are allowed within a five-minute period. If the // number of requests exceeds RateLimit and the other predicates specified in // the rule are met, WAF triggers the action for the rule. RateLimit *int64 `type:"long"` // The unique identifier for the rate-based rule. RuleId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRateBasedRuleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRateBasedRuleDetails) GoString() string { return s.String() } // SetMatchPredicates sets the MatchPredicates field's value. func (s *AwsWafRateBasedRuleDetails) SetMatchPredicates(v []*AwsWafRateBasedRuleMatchPredicate) *AwsWafRateBasedRuleDetails { s.MatchPredicates = v return s } // SetMetricName sets the MetricName field's value. func (s *AwsWafRateBasedRuleDetails) SetMetricName(v string) *AwsWafRateBasedRuleDetails { s.MetricName = &v return s } // SetName sets the Name field's value. func (s *AwsWafRateBasedRuleDetails) SetName(v string) *AwsWafRateBasedRuleDetails { s.Name = &v return s } // SetRateKey sets the RateKey field's value. func (s *AwsWafRateBasedRuleDetails) SetRateKey(v string) *AwsWafRateBasedRuleDetails { s.RateKey = &v return s } // SetRateLimit sets the RateLimit field's value. func (s *AwsWafRateBasedRuleDetails) SetRateLimit(v int64) *AwsWafRateBasedRuleDetails { s.RateLimit = &v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafRateBasedRuleDetails) SetRuleId(v string) *AwsWafRateBasedRuleDetails { s.RuleId = &v return s } // A match predicate. A predicate might look for characteristics such as specific // IP addresses, geographic locations, or sizes. type AwsWafRateBasedRuleMatchPredicate struct { _ struct{} `type:"structure"` // The unique identifier for the predicate. DataId *string `type:"string"` // If set to true, then the rule actions are performed on requests that match // the predicate settings. // // If set to false, then the rule actions are performed on all requests except // those that match the predicate settings. Negated *bool `type:"boolean"` // The type of predicate. Valid values are as follows: // // * ByteMatch // // * GeoMatch // // * IPMatch // // * RegexMatch // // * SizeConstraint // // * SqlInjectionMatch // // * XssMatch Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRateBasedRuleMatchPredicate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRateBasedRuleMatchPredicate) GoString() string { return s.String() } // SetDataId sets the DataId field's value. func (s *AwsWafRateBasedRuleMatchPredicate) SetDataId(v string) *AwsWafRateBasedRuleMatchPredicate { s.DataId = &v return s } // SetNegated sets the Negated field's value. func (s *AwsWafRateBasedRuleMatchPredicate) SetNegated(v bool) *AwsWafRateBasedRuleMatchPredicate { s.Negated = &v return s } // SetType sets the Type field's value. func (s *AwsWafRateBasedRuleMatchPredicate) SetType(v string) *AwsWafRateBasedRuleMatchPredicate { s.Type = &v return s } // contains details about a rate-based rule for Regional resources. A rate-based // rule provides settings to indicate when to allow, block, or count a request. // Rate-based rules include the number of requests that arrive over a specified // period of time. type AwsWafRegionalRateBasedRuleDetails struct { _ struct{} `type:"structure"` // The predicates to include in the rate-based rule. MatchPredicates []*AwsWafRegionalRateBasedRuleMatchPredicate `type:"list"` // The name of the metrics for the rate-based rule. MetricName *string `type:"string"` // The name of the rate-based rule. Name *string `type:"string"` // The field that WAF uses to determine whether requests are likely arriving // from single source and are subject to rate monitoring. RateKey *string `type:"string"` // The maximum number of requests that have an identical value for the field // specified in RateKey that are allowed within a five-minute period. If the // number of requests exceeds RateLimit and the other predicates specified in // the rule are met, WAF triggers the action for the rule. RateLimit *int64 `type:"long"` // The unique identifier for the rate-based rule. RuleId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRateBasedRuleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRateBasedRuleDetails) GoString() string { return s.String() } // SetMatchPredicates sets the MatchPredicates field's value. func (s *AwsWafRegionalRateBasedRuleDetails) SetMatchPredicates(v []*AwsWafRegionalRateBasedRuleMatchPredicate) *AwsWafRegionalRateBasedRuleDetails { s.MatchPredicates = v return s } // SetMetricName sets the MetricName field's value. func (s *AwsWafRegionalRateBasedRuleDetails) SetMetricName(v string) *AwsWafRegionalRateBasedRuleDetails { s.MetricName = &v return s } // SetName sets the Name field's value. func (s *AwsWafRegionalRateBasedRuleDetails) SetName(v string) *AwsWafRegionalRateBasedRuleDetails { s.Name = &v return s } // SetRateKey sets the RateKey field's value. func (s *AwsWafRegionalRateBasedRuleDetails) SetRateKey(v string) *AwsWafRegionalRateBasedRuleDetails { s.RateKey = &v return s } // SetRateLimit sets the RateLimit field's value. func (s *AwsWafRegionalRateBasedRuleDetails) SetRateLimit(v int64) *AwsWafRegionalRateBasedRuleDetails { s.RateLimit = &v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafRegionalRateBasedRuleDetails) SetRuleId(v string) *AwsWafRegionalRateBasedRuleDetails { s.RuleId = &v return s } // Details for a match predicate. A predicate might look for characteristics // such as specific IP addresses, geographic locations, or sizes. type AwsWafRegionalRateBasedRuleMatchPredicate struct { _ struct{} `type:"structure"` // The unique identifier for the predicate. DataId *string `type:"string"` // If set to true, then the rule actions are performed on requests that match // the predicate settings. // // If set to false, then the rule actions are performed on all requests except // those that match the predicate settings. Negated *bool `type:"boolean"` // The type of predicate. Valid values are as follows: // // * ByteMatch // // * GeoMatch // // * IPMatch // // * RegexMatch // // * SizeConstraint // // * SqlInjectionMatch // // * XssMatch Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRateBasedRuleMatchPredicate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRateBasedRuleMatchPredicate) GoString() string { return s.String() } // SetDataId sets the DataId field's value. func (s *AwsWafRegionalRateBasedRuleMatchPredicate) SetDataId(v string) *AwsWafRegionalRateBasedRuleMatchPredicate { s.DataId = &v return s } // SetNegated sets the Negated field's value. func (s *AwsWafRegionalRateBasedRuleMatchPredicate) SetNegated(v bool) *AwsWafRegionalRateBasedRuleMatchPredicate { s.Negated = &v return s } // SetType sets the Type field's value. func (s *AwsWafRegionalRateBasedRuleMatchPredicate) SetType(v string) *AwsWafRegionalRateBasedRuleMatchPredicate { s.Type = &v return s } // Provides information about an WAF Regional rule. This rule identifies the // web requests that you want to allow, block, or count. type AwsWafRegionalRuleDetails struct { _ struct{} `type:"structure"` // A name for the metrics for the rule. MetricName *string `type:"string"` // A descriptive name for the rule. Name *string `type:"string"` // Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, // GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule // and, for each object, indicates whether you want to negate the settings. PredicateList []*AwsWafRegionalRulePredicateListDetails `type:"list"` // The ID of the rule. RuleId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleDetails) GoString() string { return s.String() } // SetMetricName sets the MetricName field's value. func (s *AwsWafRegionalRuleDetails) SetMetricName(v string) *AwsWafRegionalRuleDetails { s.MetricName = &v return s } // SetName sets the Name field's value. func (s *AwsWafRegionalRuleDetails) SetName(v string) *AwsWafRegionalRuleDetails { s.Name = &v return s } // SetPredicateList sets the PredicateList field's value. func (s *AwsWafRegionalRuleDetails) SetPredicateList(v []*AwsWafRegionalRulePredicateListDetails) *AwsWafRegionalRuleDetails { s.PredicateList = v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafRegionalRuleDetails) SetRuleId(v string) *AwsWafRegionalRuleDetails { s.RuleId = &v return s } // Provides information about an WAF Regional rule group. The rule group is // a collection of rules for inspecting and controlling web requests. type AwsWafRegionalRuleGroupDetails struct { _ struct{} `type:"structure"` // A name for the metrics for this rule group. MetricName *string `type:"string"` // The descriptive name of the rule group. Name *string `type:"string"` // The ID of the rule group. RuleGroupId *string `type:"string"` // Provides information about the rule statements used to identify the web requests // that you want to allow, block, or count. Rules []*AwsWafRegionalRuleGroupRulesDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleGroupDetails) GoString() string { return s.String() } // SetMetricName sets the MetricName field's value. func (s *AwsWafRegionalRuleGroupDetails) SetMetricName(v string) *AwsWafRegionalRuleGroupDetails { s.MetricName = &v return s } // SetName sets the Name field's value. func (s *AwsWafRegionalRuleGroupDetails) SetName(v string) *AwsWafRegionalRuleGroupDetails { s.Name = &v return s } // SetRuleGroupId sets the RuleGroupId field's value. func (s *AwsWafRegionalRuleGroupDetails) SetRuleGroupId(v string) *AwsWafRegionalRuleGroupDetails { s.RuleGroupId = &v return s } // SetRules sets the Rules field's value. func (s *AwsWafRegionalRuleGroupDetails) SetRules(v []*AwsWafRegionalRuleGroupRulesDetails) *AwsWafRegionalRuleGroupDetails { s.Rules = v return s } // Describes the action that WAF should take on a web request when it matches // the criteria defined in the rule. type AwsWafRegionalRuleGroupRulesActionDetails struct { _ struct{} `type:"structure"` // Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, // GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule // and, for each object, indicates whether you want to negate the settings. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleGroupRulesActionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleGroupRulesActionDetails) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *AwsWafRegionalRuleGroupRulesActionDetails) SetType(v string) *AwsWafRegionalRuleGroupRulesActionDetails { s.Type = &v return s } // Provides information about the rules attached to a rule group type AwsWafRegionalRuleGroupRulesDetails struct { _ struct{} `type:"structure"` // The action that WAF should take on a web request when it matches the criteria // defined in the rule. Action *AwsWafRegionalRuleGroupRulesActionDetails `type:"structure"` // If you define more than one rule in a web ACL, WAF evaluates each request // against the rules in order based on the value of Priority. Priority *int64 `type:"integer"` // The ID for a rule. RuleId *string `type:"string"` // The type of rule in the rule group. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleGroupRulesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRuleGroupRulesDetails) GoString() string { return s.String() } // SetAction sets the Action field's value. func (s *AwsWafRegionalRuleGroupRulesDetails) SetAction(v *AwsWafRegionalRuleGroupRulesActionDetails) *AwsWafRegionalRuleGroupRulesDetails { s.Action = v return s } // SetPriority sets the Priority field's value. func (s *AwsWafRegionalRuleGroupRulesDetails) SetPriority(v int64) *AwsWafRegionalRuleGroupRulesDetails { s.Priority = &v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafRegionalRuleGroupRulesDetails) SetRuleId(v string) *AwsWafRegionalRuleGroupRulesDetails { s.RuleId = &v return s } // SetType sets the Type field's value. func (s *AwsWafRegionalRuleGroupRulesDetails) SetType(v string) *AwsWafRegionalRuleGroupRulesDetails { s.Type = &v return s } // Provides details about the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, // RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to // add to a rule and, for each object, indicates whether you want to negate // the settings. type AwsWafRegionalRulePredicateListDetails struct { _ struct{} `type:"structure"` // A unique identifier for a predicate in a rule, such as ByteMatchSetId or // IPSetId. DataId *string `type:"string"` // Specifies if you want WAF to allow, block, or count requests based on the // settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, // GeoMatchSet, or SizeConstraintSet. Negated *bool `type:"boolean"` // The type of predicate in a rule, such as ByteMatch or IPSet. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRulePredicateListDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalRulePredicateListDetails) GoString() string { return s.String() } // SetDataId sets the DataId field's value. func (s *AwsWafRegionalRulePredicateListDetails) SetDataId(v string) *AwsWafRegionalRulePredicateListDetails { s.DataId = &v return s } // SetNegated sets the Negated field's value. func (s *AwsWafRegionalRulePredicateListDetails) SetNegated(v bool) *AwsWafRegionalRulePredicateListDetails { s.Negated = &v return s } // SetType sets the Type field's value. func (s *AwsWafRegionalRulePredicateListDetails) SetType(v string) *AwsWafRegionalRulePredicateListDetails { s.Type = &v return s } // Provides information about the web access control list (web ACL). The web // ACL contains the rules that identify the requests that you want to allow, // block, or count. type AwsWafRegionalWebAclDetails struct { _ struct{} `type:"structure"` // The action to perform if none of the rules contained in the web ACL match. DefaultAction *string `type:"string"` // A name for the metrics for this web ACL. MetricName *string `type:"string"` // A descriptive name for the web ACL. Name *string `type:"string"` // An array that contains the action for each rule in a web ACL, the priority // of the rule, and the ID of the rule. RulesList []*AwsWafRegionalWebAclRulesListDetails `type:"list"` // The ID of the web ACL. WebAclId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclDetails) GoString() string { return s.String() } // SetDefaultAction sets the DefaultAction field's value. func (s *AwsWafRegionalWebAclDetails) SetDefaultAction(v string) *AwsWafRegionalWebAclDetails { s.DefaultAction = &v return s } // SetMetricName sets the MetricName field's value. func (s *AwsWafRegionalWebAclDetails) SetMetricName(v string) *AwsWafRegionalWebAclDetails { s.MetricName = &v return s } // SetName sets the Name field's value. func (s *AwsWafRegionalWebAclDetails) SetName(v string) *AwsWafRegionalWebAclDetails { s.Name = &v return s } // SetRulesList sets the RulesList field's value. func (s *AwsWafRegionalWebAclDetails) SetRulesList(v []*AwsWafRegionalWebAclRulesListDetails) *AwsWafRegionalWebAclDetails { s.RulesList = v return s } // SetWebAclId sets the WebAclId field's value. func (s *AwsWafRegionalWebAclDetails) SetWebAclId(v string) *AwsWafRegionalWebAclDetails { s.WebAclId = &v return s } // The action that WAF takes when a web request matches all conditions in the // rule, such as allow, block, or count the request. type AwsWafRegionalWebAclRulesListActionDetails struct { _ struct{} `type:"structure"` // For actions that are associated with a rule, the action that WAF takes when // a web request matches all conditions in a rule. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclRulesListActionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclRulesListActionDetails) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *AwsWafRegionalWebAclRulesListActionDetails) SetType(v string) *AwsWafRegionalWebAclRulesListActionDetails { s.Type = &v return s } // A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet objects // that identify the web requests that you want to allow, block, or count. type AwsWafRegionalWebAclRulesListDetails struct { _ struct{} `type:"structure"` // The action that WAF takes when a web request matches all conditions in the // rule, such as allow, block, or count the request. Action *AwsWafRegionalWebAclRulesListActionDetails `type:"structure"` // Overrides the rule evaluation result in the rule group. OverrideAction *AwsWafRegionalWebAclRulesListOverrideActionDetails `type:"structure"` // The order in which WAF evaluates the rules in a web ACL. Priority *int64 `type:"integer"` // The ID of an WAF Regional rule to associate with a web ACL. RuleId *string `type:"string"` // For actions that are associated with a rule, the action that WAF takes when // a web request matches all conditions in a rule. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclRulesListDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclRulesListDetails) GoString() string { return s.String() } // SetAction sets the Action field's value. func (s *AwsWafRegionalWebAclRulesListDetails) SetAction(v *AwsWafRegionalWebAclRulesListActionDetails) *AwsWafRegionalWebAclRulesListDetails { s.Action = v return s } // SetOverrideAction sets the OverrideAction field's value. func (s *AwsWafRegionalWebAclRulesListDetails) SetOverrideAction(v *AwsWafRegionalWebAclRulesListOverrideActionDetails) *AwsWafRegionalWebAclRulesListDetails { s.OverrideAction = v return s } // SetPriority sets the Priority field's value. func (s *AwsWafRegionalWebAclRulesListDetails) SetPriority(v int64) *AwsWafRegionalWebAclRulesListDetails { s.Priority = &v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafRegionalWebAclRulesListDetails) SetRuleId(v string) *AwsWafRegionalWebAclRulesListDetails { s.RuleId = &v return s } // SetType sets the Type field's value. func (s *AwsWafRegionalWebAclRulesListDetails) SetType(v string) *AwsWafRegionalWebAclRulesListDetails { s.Type = &v return s } // Provides details about the action to use in the place of the action that // results from the rule group evaluation. type AwsWafRegionalWebAclRulesListOverrideActionDetails struct { _ struct{} `type:"structure"` // Overrides the rule evaluation result in the rule group. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclRulesListOverrideActionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRegionalWebAclRulesListOverrideActionDetails) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *AwsWafRegionalWebAclRulesListOverrideActionDetails) SetType(v string) *AwsWafRegionalWebAclRulesListOverrideActionDetails { s.Type = &v return s } // Provides information about a WAF rule. This rule specifies the web requests // that you want to allow, block, or count. type AwsWafRuleDetails struct { _ struct{} `type:"structure"` // The name of the metrics for this rule. MetricName *string `type:"string"` // A descriptive name for the rule. Name *string `type:"string"` // Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, // GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule // and, for each object, indicates whether you want to negate the settings. PredicateList []*AwsWafRulePredicateListDetails `type:"list"` // The ID of the WAF rule. RuleId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleDetails) GoString() string { return s.String() } // SetMetricName sets the MetricName field's value. func (s *AwsWafRuleDetails) SetMetricName(v string) *AwsWafRuleDetails { s.MetricName = &v return s } // SetName sets the Name field's value. func (s *AwsWafRuleDetails) SetName(v string) *AwsWafRuleDetails { s.Name = &v return s } // SetPredicateList sets the PredicateList field's value. func (s *AwsWafRuleDetails) SetPredicateList(v []*AwsWafRulePredicateListDetails) *AwsWafRuleDetails { s.PredicateList = v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafRuleDetails) SetRuleId(v string) *AwsWafRuleDetails { s.RuleId = &v return s } // Provides information about an WAF rule group. A rule group is a collection // of rules for inspecting and controlling web requests. type AwsWafRuleGroupDetails struct { _ struct{} `type:"structure"` // The name of the metrics for this rule group. MetricName *string `type:"string"` // The name of the rule group. Name *string `type:"string"` // The ID of the rule group. RuleGroupId *string `type:"string"` // Provides information about the rules attached to the rule group. These rules // identify the web requests that you want to allow, block, or count. Rules []*AwsWafRuleGroupRulesDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleGroupDetails) GoString() string { return s.String() } // SetMetricName sets the MetricName field's value. func (s *AwsWafRuleGroupDetails) SetMetricName(v string) *AwsWafRuleGroupDetails { s.MetricName = &v return s } // SetName sets the Name field's value. func (s *AwsWafRuleGroupDetails) SetName(v string) *AwsWafRuleGroupDetails { s.Name = &v return s } // SetRuleGroupId sets the RuleGroupId field's value. func (s *AwsWafRuleGroupDetails) SetRuleGroupId(v string) *AwsWafRuleGroupDetails { s.RuleGroupId = &v return s } // SetRules sets the Rules field's value. func (s *AwsWafRuleGroupDetails) SetRules(v []*AwsWafRuleGroupRulesDetails) *AwsWafRuleGroupDetails { s.Rules = v return s } // Provides information about what action WAF should take on a web request when // it matches the criteria defined in the rule. type AwsWafRuleGroupRulesActionDetails struct { _ struct{} `type:"structure"` // The action that WAF should take on a web request when it matches the rule's // statement. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleGroupRulesActionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleGroupRulesActionDetails) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *AwsWafRuleGroupRulesActionDetails) SetType(v string) *AwsWafRuleGroupRulesActionDetails { s.Type = &v return s } // Provides information about the rules attached to the rule group. These rules // identify the web requests that you want to allow, block, or count. type AwsWafRuleGroupRulesDetails struct { _ struct{} `type:"structure"` // Provides information about what action WAF should take on a web request when // it matches the criteria defined in the rule. Action *AwsWafRuleGroupRulesActionDetails `type:"structure"` // If you define more than one rule in a web ACL, WAF evaluates each request // against the rules in order based on the value of Priority. Priority *int64 `type:"integer"` // The rule ID for a rule. RuleId *string `type:"string"` // The type of rule. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleGroupRulesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRuleGroupRulesDetails) GoString() string { return s.String() } // SetAction sets the Action field's value. func (s *AwsWafRuleGroupRulesDetails) SetAction(v *AwsWafRuleGroupRulesActionDetails) *AwsWafRuleGroupRulesDetails { s.Action = v return s } // SetPriority sets the Priority field's value. func (s *AwsWafRuleGroupRulesDetails) SetPriority(v int64) *AwsWafRuleGroupRulesDetails { s.Priority = &v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafRuleGroupRulesDetails) SetRuleId(v string) *AwsWafRuleGroupRulesDetails { s.RuleId = &v return s } // SetType sets the Type field's value. func (s *AwsWafRuleGroupRulesDetails) SetType(v string) *AwsWafRuleGroupRulesDetails { s.Type = &v return s } // Provides details about the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, // RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to // add to a rule and, for each object, indicates whether you want to negate // the settings. type AwsWafRulePredicateListDetails struct { _ struct{} `type:"structure"` // A unique identifier for a predicate in a rule, such as ByteMatchSetId or // IPSetId. DataId *string `type:"string"` // Specifies if you want WAF to allow, block, or count requests based on the // settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, // GeoMatchSet, or SizeConstraintSet. Negated *bool `type:"boolean"` // The type of predicate in a rule, such as ByteMatch or IPSet. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRulePredicateListDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafRulePredicateListDetails) GoString() string { return s.String() } // SetDataId sets the DataId field's value. func (s *AwsWafRulePredicateListDetails) SetDataId(v string) *AwsWafRulePredicateListDetails { s.DataId = &v return s } // SetNegated sets the Negated field's value. func (s *AwsWafRulePredicateListDetails) SetNegated(v bool) *AwsWafRulePredicateListDetails { s.Negated = &v return s } // SetType sets the Type field's value. func (s *AwsWafRulePredicateListDetails) SetType(v string) *AwsWafRulePredicateListDetails { s.Type = &v return s } // Provides information about an WAF web access control list (web ACL). type AwsWafWebAclDetails struct { _ struct{} `type:"structure"` // The action to perform if none of the rules contained in the web ACL match. DefaultAction *string `type:"string"` // A friendly name or description of the web ACL. You can't change the name // of a web ACL after you create it. Name *string `type:"string"` // An array that contains the action for each rule in a web ACL, the priority // of the rule, and the ID of the rule. Rules []*AwsWafWebAclRule `type:"list"` // A unique identifier for a web ACL. WebAclId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafWebAclDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafWebAclDetails) GoString() string { return s.String() } // SetDefaultAction sets the DefaultAction field's value. func (s *AwsWafWebAclDetails) SetDefaultAction(v string) *AwsWafWebAclDetails { s.DefaultAction = &v return s } // SetName sets the Name field's value. func (s *AwsWafWebAclDetails) SetName(v string) *AwsWafWebAclDetails { s.Name = &v return s } // SetRules sets the Rules field's value. func (s *AwsWafWebAclDetails) SetRules(v []*AwsWafWebAclRule) *AwsWafWebAclDetails { s.Rules = v return s } // SetWebAclId sets the WebAclId field's value. func (s *AwsWafWebAclDetails) SetWebAclId(v string) *AwsWafWebAclDetails { s.WebAclId = &v return s } // Details for a rule in an WAF web ACL. type AwsWafWebAclRule struct { _ struct{} `type:"structure"` // Specifies the action that CloudFront or WAF takes when a web request matches // the conditions in the rule. Action *WafAction `type:"structure"` // Rules to exclude from a rule group. ExcludedRules []*WafExcludedRule `type:"list"` // Use the OverrideAction to test your RuleGroup. // // Any rule in a RuleGroup can potentially block a request. If you set the OverrideAction // to None, the RuleGroup blocks a request if any individual rule in the RuleGroup // matches the request and is configured to block that request. // // However, if you first want to test the RuleGroup, set the OverrideAction // to Count. The RuleGroup then overrides any block action specified by individual // rules contained within the group. Instead of blocking matching requests, // those requests are counted. // // ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup // to a web ACL. In this case you do not use ActivatedRule Action. For all other // update requests, ActivatedRule Action is used instead of ActivatedRule OverrideAction. OverrideAction *WafOverrideAction `type:"structure"` // Specifies the order in which the rules in a web ACL are evaluated. Rules // with a lower value for Priority are evaluated before rules with a higher // value. The value must be a unique integer. If you add multiple rules to a // web ACL, the values do not need to be consecutive. Priority *int64 `type:"integer"` // The identifier for a rule. RuleId *string `type:"string"` // The rule type. // // Valid values: REGULAR | RATE_BASED | GROUP // // The default is REGULAR. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafWebAclRule) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafWebAclRule) GoString() string { return s.String() } // SetAction sets the Action field's value. func (s *AwsWafWebAclRule) SetAction(v *WafAction) *AwsWafWebAclRule { s.Action = v return s } // SetExcludedRules sets the ExcludedRules field's value. func (s *AwsWafWebAclRule) SetExcludedRules(v []*WafExcludedRule) *AwsWafWebAclRule { s.ExcludedRules = v return s } // SetOverrideAction sets the OverrideAction field's value. func (s *AwsWafWebAclRule) SetOverrideAction(v *WafOverrideAction) *AwsWafWebAclRule { s.OverrideAction = v return s } // SetPriority sets the Priority field's value. func (s *AwsWafWebAclRule) SetPriority(v int64) *AwsWafWebAclRule { s.Priority = &v return s } // SetRuleId sets the RuleId field's value. func (s *AwsWafWebAclRule) SetRuleId(v string) *AwsWafWebAclRule { s.RuleId = &v return s } // SetType sets the Type field's value. func (s *AwsWafWebAclRule) SetType(v string) *AwsWafWebAclRule { s.Type = &v return s } // Specifies that WAF should allow the request and optionally defines additional // custom handling for the request. type AwsWafv2ActionAllowDetails struct { _ struct{} `type:"structure"` // Defines custom handling for the web request. For information about customizing // web requests and responses, see Customizing web requests and responses in // WAF (path_to_url // in the WAF Developer Guide.. CustomRequestHandling *AwsWafv2CustomRequestHandlingDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2ActionAllowDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2ActionAllowDetails) GoString() string { return s.String() } // SetCustomRequestHandling sets the CustomRequestHandling field's value. func (s *AwsWafv2ActionAllowDetails) SetCustomRequestHandling(v *AwsWafv2CustomRequestHandlingDetails) *AwsWafv2ActionAllowDetails { s.CustomRequestHandling = v return s } // Specifies that WAF should block the request and optionally defines additional // custom handling for the response to the web request. type AwsWafv2ActionBlockDetails struct { _ struct{} `type:"structure"` // Defines a custom response for the web request. For information, see Customizing // web requests and responses in WAF (path_to_url // in the WAF Developer Guide.. CustomResponse *AwsWafv2CustomResponseDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2ActionBlockDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2ActionBlockDetails) GoString() string { return s.String() } // SetCustomResponse sets the CustomResponse field's value. func (s *AwsWafv2ActionBlockDetails) SetCustomResponse(v *AwsWafv2CustomResponseDetails) *AwsWafv2ActionBlockDetails { s.CustomResponse = v return s } // A custom header for custom request and response handling. type AwsWafv2CustomHttpHeader struct { _ struct{} `type:"structure"` // The name of the custom header. Name *string `type:"string"` // The value of the custom header. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2CustomHttpHeader) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2CustomHttpHeader) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *AwsWafv2CustomHttpHeader) SetName(v string) *AwsWafv2CustomHttpHeader { s.Name = &v return s } // SetValue sets the Value field's value. func (s *AwsWafv2CustomHttpHeader) SetValue(v string) *AwsWafv2CustomHttpHeader { s.Value = &v return s } // Custom request handling behavior that inserts custom headers into a web request. // WAF uses custom request handling when the rule action doesn't block the request. type AwsWafv2CustomRequestHandlingDetails struct { _ struct{} `type:"structure"` // The HTTP headers to insert into the request. InsertHeaders []*AwsWafv2CustomHttpHeader `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2CustomRequestHandlingDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2CustomRequestHandlingDetails) GoString() string { return s.String() } // SetInsertHeaders sets the InsertHeaders field's value. func (s *AwsWafv2CustomRequestHandlingDetails) SetInsertHeaders(v []*AwsWafv2CustomHttpHeader) *AwsWafv2CustomRequestHandlingDetails { s.InsertHeaders = v return s } // A custom response to send to the client. You can define a custom response // for rule actions and default web ACL actions that are set to block. type AwsWafv2CustomResponseDetails struct { _ struct{} `type:"structure"` // References the response body that you want WAF to return to the web request // client. You can define a custom response for a rule action or a default web // ACL action that is set to block. CustomResponseBodyKey *string `type:"string"` // The HTTP status code to return to the client. For a list of status codes // that you can use in your custom responses, see Supported status codes for // custom response (path_to_url // in the WAF Developer Guide. ResponseCode *int64 `type:"integer"` // The HTTP headers to use in the response. ResponseHeaders []*AwsWafv2CustomHttpHeader `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2CustomResponseDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2CustomResponseDetails) GoString() string { return s.String() } // SetCustomResponseBodyKey sets the CustomResponseBodyKey field's value. func (s *AwsWafv2CustomResponseDetails) SetCustomResponseBodyKey(v string) *AwsWafv2CustomResponseDetails { s.CustomResponseBodyKey = &v return s } // SetResponseCode sets the ResponseCode field's value. func (s *AwsWafv2CustomResponseDetails) SetResponseCode(v int64) *AwsWafv2CustomResponseDetails { s.ResponseCode = &v return s } // SetResponseHeaders sets the ResponseHeaders field's value. func (s *AwsWafv2CustomResponseDetails) SetResponseHeaders(v []*AwsWafv2CustomHttpHeader) *AwsWafv2CustomResponseDetails { s.ResponseHeaders = v return s } // Details about an WAFv2 rule group. type AwsWafv2RuleGroupDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the entity. Arn *string `type:"string"` // The web ACL capacity units (WCUs) required for this rule group. Capacity *int64 `type:"long"` // A description of the rule group that helps with identification. Description *string `type:"string"` // A unique identifier for the rule group. Id *string `type:"string"` // The name of the rule group. You cannot change the name of a rule group after // you create it. Name *string `type:"string"` // The Rule statements used to identify the web requests that you want to allow, // block, or count. Each rule includes one top-level statement that WAF uses // to identify matching web requests, and parameters that govern how WAF handles // them. Rules []*AwsWafv2RulesDetails `type:"list"` // Specifies whether the rule group is for an Amazon CloudFront distribution // or for a regional application. A regional application can be an Application // Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, // or an Amazon Cognito user pool. Scope *string `type:"string"` // Defines and enables Amazon CloudWatch metrics and web request sample collection. VisibilityConfig *AwsWafv2VisibilityConfigDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RuleGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RuleGroupDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsWafv2RuleGroupDetails) SetArn(v string) *AwsWafv2RuleGroupDetails { s.Arn = &v return s } // SetCapacity sets the Capacity field's value. func (s *AwsWafv2RuleGroupDetails) SetCapacity(v int64) *AwsWafv2RuleGroupDetails { s.Capacity = &v return s } // SetDescription sets the Description field's value. func (s *AwsWafv2RuleGroupDetails) SetDescription(v string) *AwsWafv2RuleGroupDetails { s.Description = &v return s } // SetId sets the Id field's value. func (s *AwsWafv2RuleGroupDetails) SetId(v string) *AwsWafv2RuleGroupDetails { s.Id = &v return s } // SetName sets the Name field's value. func (s *AwsWafv2RuleGroupDetails) SetName(v string) *AwsWafv2RuleGroupDetails { s.Name = &v return s } // SetRules sets the Rules field's value. func (s *AwsWafv2RuleGroupDetails) SetRules(v []*AwsWafv2RulesDetails) *AwsWafv2RuleGroupDetails { s.Rules = v return s } // SetScope sets the Scope field's value. func (s *AwsWafv2RuleGroupDetails) SetScope(v string) *AwsWafv2RuleGroupDetails { s.Scope = &v return s } // SetVisibilityConfig sets the VisibilityConfig field's value. func (s *AwsWafv2RuleGroupDetails) SetVisibilityConfig(v *AwsWafv2VisibilityConfigDetails) *AwsWafv2RuleGroupDetails { s.VisibilityConfig = v return s } // Specifies that WAF should run a CAPTCHA check against the request. type AwsWafv2RulesActionCaptchaDetails struct { _ struct{} `type:"structure"` // Defines custom handling for the web request, used when the CAPTCHA inspection // determines that the request's token is valid and unexpired. For more information, // see Customizing web requests and responses in WAF (path_to_url // in the WAF Developer Guide.. CustomRequestHandling *AwsWafv2CustomRequestHandlingDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesActionCaptchaDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesActionCaptchaDetails) GoString() string { return s.String() } // SetCustomRequestHandling sets the CustomRequestHandling field's value. func (s *AwsWafv2RulesActionCaptchaDetails) SetCustomRequestHandling(v *AwsWafv2CustomRequestHandlingDetails) *AwsWafv2RulesActionCaptchaDetails { s.CustomRequestHandling = v return s } // Specifies that WAF should count the request. type AwsWafv2RulesActionCountDetails struct { _ struct{} `type:"structure"` // Defines custom handling for the web request. For more information, see Customizing // web requests and responses in WAF (path_to_url // in the WAF Developer Guide.. CustomRequestHandling *AwsWafv2CustomRequestHandlingDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesActionCountDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesActionCountDetails) GoString() string { return s.String() } // SetCustomRequestHandling sets the CustomRequestHandling field's value. func (s *AwsWafv2RulesActionCountDetails) SetCustomRequestHandling(v *AwsWafv2CustomRequestHandlingDetails) *AwsWafv2RulesActionCountDetails { s.CustomRequestHandling = v return s } // The action that WAF should take on a web request when it matches a rule's // statement. Settings at the web ACL level can override the rule action setting. type AwsWafv2RulesActionDetails struct { _ struct{} `type:"structure"` // Instructs WAF to allow the web request. Allow *AwsWafv2ActionAllowDetails `type:"structure"` // Instructs WAF to block the web request. Block *AwsWafv2ActionBlockDetails `type:"structure"` // Instructs WAF to run a CAPTCHA check against the web request. Captcha *AwsWafv2RulesActionCaptchaDetails `type:"structure"` // Instructs WAF to count the web request and then continue evaluating the request // using the remaining rules in the web ACL. Count *AwsWafv2RulesActionCountDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesActionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesActionDetails) GoString() string { return s.String() } // SetAllow sets the Allow field's value. func (s *AwsWafv2RulesActionDetails) SetAllow(v *AwsWafv2ActionAllowDetails) *AwsWafv2RulesActionDetails { s.Allow = v return s } // SetBlock sets the Block field's value. func (s *AwsWafv2RulesActionDetails) SetBlock(v *AwsWafv2ActionBlockDetails) *AwsWafv2RulesActionDetails { s.Block = v return s } // SetCaptcha sets the Captcha field's value. func (s *AwsWafv2RulesActionDetails) SetCaptcha(v *AwsWafv2RulesActionCaptchaDetails) *AwsWafv2RulesActionDetails { s.Captcha = v return s } // SetCount sets the Count field's value. func (s *AwsWafv2RulesActionDetails) SetCount(v *AwsWafv2RulesActionCountDetails) *AwsWafv2RulesActionDetails { s.Count = v return s } // Provides details about rules in a rule group. A rule identifies web requests // that you want to allow, block, or count. Each rule includes one top-level // Statement that WAF uses to identify matching web requests, and parameters // that govern how WAF handles them. type AwsWafv2RulesDetails struct { _ struct{} `type:"structure"` // The action that WAF should take on a web request when it matches the rule // statement. Settings at the web ACL level can override the rule action setting. Action *AwsWafv2RulesActionDetails `type:"structure"` // The name of the rule. Name *string `type:"string"` // The action to use in the place of the action that results from the rule group // evaluation. OverrideAction *string `type:"string"` // If you define more than one Rule in a WebACL, WAF evaluates each request // against the Rules in order based on the value of Priority. WAF processes // rules with lower priority first. The priorities don't need to be consecutive, // but they must all be different. Priority *int64 `type:"integer"` // Defines and enables Amazon CloudWatch metrics and web request sample collection. VisibilityConfig *AwsWafv2VisibilityConfigDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2RulesDetails) GoString() string { return s.String() } // SetAction sets the Action field's value. func (s *AwsWafv2RulesDetails) SetAction(v *AwsWafv2RulesActionDetails) *AwsWafv2RulesDetails { s.Action = v return s } // SetName sets the Name field's value. func (s *AwsWafv2RulesDetails) SetName(v string) *AwsWafv2RulesDetails { s.Name = &v return s } // SetOverrideAction sets the OverrideAction field's value. func (s *AwsWafv2RulesDetails) SetOverrideAction(v string) *AwsWafv2RulesDetails { s.OverrideAction = &v return s } // SetPriority sets the Priority field's value. func (s *AwsWafv2RulesDetails) SetPriority(v int64) *AwsWafv2RulesDetails { s.Priority = &v return s } // SetVisibilityConfig sets the VisibilityConfig field's value. func (s *AwsWafv2RulesDetails) SetVisibilityConfig(v *AwsWafv2VisibilityConfigDetails) *AwsWafv2RulesDetails { s.VisibilityConfig = v return s } // Defines and enables Amazon CloudWatch metrics and web request sample collection. type AwsWafv2VisibilityConfigDetails struct { _ struct{} `type:"structure"` // A boolean indicating whether the associated resource sends metrics to Amazon // CloudWatch. For the list of available metrics, see WAF metrics and dimensions // (path_to_url#waf-metrics) // in the WAF Developer Guide. CloudWatchMetricsEnabled *bool `type:"boolean"` // A name of the Amazon CloudWatch metric. MetricName *string `type:"string"` // A boolean indicating whether WAF should store a sampling of the web requests // that match the rules. You can view the sampled requests through the WAF console. SampledRequestsEnabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2VisibilityConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2VisibilityConfigDetails) GoString() string { return s.String() } // SetCloudWatchMetricsEnabled sets the CloudWatchMetricsEnabled field's value. func (s *AwsWafv2VisibilityConfigDetails) SetCloudWatchMetricsEnabled(v bool) *AwsWafv2VisibilityConfigDetails { s.CloudWatchMetricsEnabled = &v return s } // SetMetricName sets the MetricName field's value. func (s *AwsWafv2VisibilityConfigDetails) SetMetricName(v string) *AwsWafv2VisibilityConfigDetails { s.MetricName = &v return s } // SetSampledRequestsEnabled sets the SampledRequestsEnabled field's value. func (s *AwsWafv2VisibilityConfigDetails) SetSampledRequestsEnabled(v bool) *AwsWafv2VisibilityConfigDetails { s.SampledRequestsEnabled = &v return s } // Specifies the action that Amazon CloudFront or WAF takes when a web request // matches the conditions in the rule. type AwsWafv2WebAclActionDetails struct { _ struct{} `type:"structure"` // Specifies that WAF should allow requests by default. Allow *AwsWafv2ActionAllowDetails `type:"structure"` // Specifies that WAF should block requests by default. Block *AwsWafv2ActionBlockDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclActionDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclActionDetails) GoString() string { return s.String() } // SetAllow sets the Allow field's value. func (s *AwsWafv2WebAclActionDetails) SetAllow(v *AwsWafv2ActionAllowDetails) *AwsWafv2WebAclActionDetails { s.Allow = v return s } // SetBlock sets the Block field's value. func (s *AwsWafv2WebAclActionDetails) SetBlock(v *AwsWafv2ActionBlockDetails) *AwsWafv2WebAclActionDetails { s.Block = v return s } // Specifies how WAF should handle CAPTCHA evaluations for rules that don't // have their own CaptchaConfig settings. type AwsWafv2WebAclCaptchaConfigDetails struct { _ struct{} `type:"structure"` // Determines how long a CAPTCHA timestamp in the token remains valid after // the client successfully solves a CAPTCHA puzzle. ImmunityTimeProperty *AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclCaptchaConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclCaptchaConfigDetails) GoString() string { return s.String() } // SetImmunityTimeProperty sets the ImmunityTimeProperty field's value. func (s *AwsWafv2WebAclCaptchaConfigDetails) SetImmunityTimeProperty(v *AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails) *AwsWafv2WebAclCaptchaConfigDetails { s.ImmunityTimeProperty = v return s } // Used for CAPTCHA and challenge token settings. Determines how long a CAPTCHA // or challenge timestamp remains valid after WAF updates it for a successful // CAPTCHA or challenge response. type AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails struct { _ struct{} `type:"structure"` // The amount of time, in seconds, that a CAPTCHA or challenge timestamp is // considered valid by WAF. ImmunityTime *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails) GoString() string { return s.String() } // SetImmunityTime sets the ImmunityTime field's value. func (s *AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails) SetImmunityTime(v int64) *AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails { s.ImmunityTime = &v return s } // Details about an WAFv2 web Access Control List (ACL). type AwsWafv2WebAclDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the web ACL that you want to associate // with the resource. Arn *string `type:"string"` // The web ACL capacity units (WCUs) currently being used by this web ACL. Capacity *int64 `type:"long"` // Specifies how WAF should handle CAPTCHA evaluations for rules that don't // have their own CaptchaConfig settings. CaptchaConfig *AwsWafv2WebAclCaptchaConfigDetails `type:"structure"` // The action to perform if none of the Rules contained in the web ACL match. DefaultAction *AwsWafv2WebAclActionDetails `type:"structure"` // A description of the web ACL that helps with identification. Description *string `type:"string"` // A unique identifier for the web ACL. Id *string `type:"string"` // Indicates whether this web ACL is managed by Firewall Manager. ManagedbyFirewallManager *bool `type:"boolean"` // The name of the web ACL. Name *string `type:"string"` // The Rule statements used to identify the web requests that you want to allow, // block, or count. Each rule includes one top-level statement that WAF uses // to identify matching web requests, and parameters that govern how WAF handles // them. Rules []*AwsWafv2RulesDetails `type:"list"` // Defines and enables Amazon CloudWatch metrics and web request sample collection. VisibilityConfig *AwsWafv2VisibilityConfigDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsWafv2WebAclDetails) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *AwsWafv2WebAclDetails) SetArn(v string) *AwsWafv2WebAclDetails { s.Arn = &v return s } // SetCapacity sets the Capacity field's value. func (s *AwsWafv2WebAclDetails) SetCapacity(v int64) *AwsWafv2WebAclDetails { s.Capacity = &v return s } // SetCaptchaConfig sets the CaptchaConfig field's value. func (s *AwsWafv2WebAclDetails) SetCaptchaConfig(v *AwsWafv2WebAclCaptchaConfigDetails) *AwsWafv2WebAclDetails { s.CaptchaConfig = v return s } // SetDefaultAction sets the DefaultAction field's value. func (s *AwsWafv2WebAclDetails) SetDefaultAction(v *AwsWafv2WebAclActionDetails) *AwsWafv2WebAclDetails { s.DefaultAction = v return s } // SetDescription sets the Description field's value. func (s *AwsWafv2WebAclDetails) SetDescription(v string) *AwsWafv2WebAclDetails { s.Description = &v return s } // SetId sets the Id field's value. func (s *AwsWafv2WebAclDetails) SetId(v string) *AwsWafv2WebAclDetails { s.Id = &v return s } // SetManagedbyFirewallManager sets the ManagedbyFirewallManager field's value. func (s *AwsWafv2WebAclDetails) SetManagedbyFirewallManager(v bool) *AwsWafv2WebAclDetails { s.ManagedbyFirewallManager = &v return s } // SetName sets the Name field's value. func (s *AwsWafv2WebAclDetails) SetName(v string) *AwsWafv2WebAclDetails { s.Name = &v return s } // SetRules sets the Rules field's value. func (s *AwsWafv2WebAclDetails) SetRules(v []*AwsWafv2RulesDetails) *AwsWafv2WebAclDetails { s.Rules = v return s } // SetVisibilityConfig sets the VisibilityConfig field's value. func (s *AwsWafv2WebAclDetails) SetVisibilityConfig(v *AwsWafv2VisibilityConfigDetails) *AwsWafv2WebAclDetails { s.VisibilityConfig = v return s } // Information about the encryption configuration for X-Ray. type AwsXrayEncryptionConfigDetails struct { _ struct{} `type:"structure"` // The identifier of the KMS key that is used for encryption. Provided if Type // is KMS. KeyId *string `type:"string"` // The current status of the encryption configuration. Valid values are ACTIVE // or UPDATING. // // When Status is equal to UPDATING, X-Ray might use both the old and new encryption. Status *string `type:"string"` // The type of encryption. KMS indicates that the encryption uses KMS keys. // NONE indicates the default encryption. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsXrayEncryptionConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s AwsXrayEncryptionConfigDetails) GoString() string { return s.String() } // SetKeyId sets the KeyId field's value. func (s *AwsXrayEncryptionConfigDetails) SetKeyId(v string) *AwsXrayEncryptionConfigDetails { s.KeyId = &v return s } // SetStatus sets the Status field's value. func (s *AwsXrayEncryptionConfigDetails) SetStatus(v string) *AwsXrayEncryptionConfigDetails { s.Status = &v return s } // SetType sets the Type field's value. func (s *AwsXrayEncryptionConfigDetails) SetType(v string) *AwsXrayEncryptionConfigDetails { s.Type = &v return s } type BatchDeleteAutomationRulesInput struct { _ struct{} `type:"structure"` // A list of Amazon Resource Names (ARNs) for the rules that are to be deleted. // // AutomationRulesArns is a required field AutomationRulesArns []*string `min:"1" type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDeleteAutomationRulesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDeleteAutomationRulesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchDeleteAutomationRulesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchDeleteAutomationRulesInput"} if s.AutomationRulesArns == nil { invalidParams.Add(request.NewErrParamRequired("AutomationRulesArns")) } if s.AutomationRulesArns != nil && len(s.AutomationRulesArns) < 1 { invalidParams.Add(request.NewErrParamMinLen("AutomationRulesArns", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAutomationRulesArns sets the AutomationRulesArns field's value. func (s *BatchDeleteAutomationRulesInput) SetAutomationRulesArns(v []*string) *BatchDeleteAutomationRulesInput { s.AutomationRulesArns = v return s } type BatchDeleteAutomationRulesOutput struct { _ struct{} `type:"structure"` // A list of properly processed rule ARNs. ProcessedAutomationRules []*string `min:"1" type:"list"` // A list of objects containing RuleArn, ErrorCode, and ErrorMessage. This parameter // tells you which automation rules the request didn't delete and why. UnprocessedAutomationRules []*UnprocessedAutomationRule `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDeleteAutomationRulesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDeleteAutomationRulesOutput) GoString() string { return s.String() } // SetProcessedAutomationRules sets the ProcessedAutomationRules field's value. func (s *BatchDeleteAutomationRulesOutput) SetProcessedAutomationRules(v []*string) *BatchDeleteAutomationRulesOutput { s.ProcessedAutomationRules = v return s } // SetUnprocessedAutomationRules sets the UnprocessedAutomationRules field's value. func (s *BatchDeleteAutomationRulesOutput) SetUnprocessedAutomationRules(v []*UnprocessedAutomationRule) *BatchDeleteAutomationRulesOutput { s.UnprocessedAutomationRules = v return s } type BatchDisableStandardsInput struct { _ struct{} `type:"structure"` // The ARNs of the standards subscriptions to disable. // // StandardsSubscriptionArns is a required field StandardsSubscriptionArns []*string `min:"1" type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDisableStandardsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDisableStandardsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchDisableStandardsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchDisableStandardsInput"} if s.StandardsSubscriptionArns == nil { invalidParams.Add(request.NewErrParamRequired("StandardsSubscriptionArns")) } if s.StandardsSubscriptionArns != nil && len(s.StandardsSubscriptionArns) < 1 { invalidParams.Add(request.NewErrParamMinLen("StandardsSubscriptionArns", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetStandardsSubscriptionArns sets the StandardsSubscriptionArns field's value. func (s *BatchDisableStandardsInput) SetStandardsSubscriptionArns(v []*string) *BatchDisableStandardsInput { s.StandardsSubscriptionArns = v return s } type BatchDisableStandardsOutput struct { _ struct{} `type:"structure"` // The details of the standards subscriptions that were disabled. StandardsSubscriptions []*StandardsSubscription `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDisableStandardsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchDisableStandardsOutput) GoString() string { return s.String() } // SetStandardsSubscriptions sets the StandardsSubscriptions field's value. func (s *BatchDisableStandardsOutput) SetStandardsSubscriptions(v []*StandardsSubscription) *BatchDisableStandardsOutput { s.StandardsSubscriptions = v return s } type BatchEnableStandardsInput struct { _ struct{} `type:"structure"` // The list of standards checks to enable. // // StandardsSubscriptionRequests is a required field StandardsSubscriptionRequests []*StandardsSubscriptionRequest `min:"1" type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchEnableStandardsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchEnableStandardsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchEnableStandardsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchEnableStandardsInput"} if s.StandardsSubscriptionRequests == nil { invalidParams.Add(request.NewErrParamRequired("StandardsSubscriptionRequests")) } if s.StandardsSubscriptionRequests != nil && len(s.StandardsSubscriptionRequests) < 1 { invalidParams.Add(request.NewErrParamMinLen("StandardsSubscriptionRequests", 1)) } if s.StandardsSubscriptionRequests != nil { for i, v := range s.StandardsSubscriptionRequests { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StandardsSubscriptionRequests", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetStandardsSubscriptionRequests sets the StandardsSubscriptionRequests field's value. func (s *BatchEnableStandardsInput) SetStandardsSubscriptionRequests(v []*StandardsSubscriptionRequest) *BatchEnableStandardsInput { s.StandardsSubscriptionRequests = v return s } type BatchEnableStandardsOutput struct { _ struct{} `type:"structure"` // The details of the standards subscriptions that were enabled. StandardsSubscriptions []*StandardsSubscription `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchEnableStandardsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchEnableStandardsOutput) GoString() string { return s.String() } // SetStandardsSubscriptions sets the StandardsSubscriptions field's value. func (s *BatchEnableStandardsOutput) SetStandardsSubscriptions(v []*StandardsSubscription) *BatchEnableStandardsOutput { s.StandardsSubscriptions = v return s } type BatchGetAutomationRulesInput struct { _ struct{} `type:"structure"` // A list of rule ARNs to get details for. // // AutomationRulesArns is a required field AutomationRulesArns []*string `min:"1" type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetAutomationRulesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetAutomationRulesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchGetAutomationRulesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchGetAutomationRulesInput"} if s.AutomationRulesArns == nil { invalidParams.Add(request.NewErrParamRequired("AutomationRulesArns")) } if s.AutomationRulesArns != nil && len(s.AutomationRulesArns) < 1 { invalidParams.Add(request.NewErrParamMinLen("AutomationRulesArns", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAutomationRulesArns sets the AutomationRulesArns field's value. func (s *BatchGetAutomationRulesInput) SetAutomationRulesArns(v []*string) *BatchGetAutomationRulesInput { s.AutomationRulesArns = v return s } type BatchGetAutomationRulesOutput struct { _ struct{} `type:"structure"` // A list of rule details for the provided rule ARNs. Rules []*AutomationRulesConfig `type:"list"` // A list of objects containing RuleArn, ErrorCode, and ErrorMessage. This parameter // tells you which automation rules the request didn't retrieve and why. UnprocessedAutomationRules []*UnprocessedAutomationRule `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetAutomationRulesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetAutomationRulesOutput) GoString() string { return s.String() } // SetRules sets the Rules field's value. func (s *BatchGetAutomationRulesOutput) SetRules(v []*AutomationRulesConfig) *BatchGetAutomationRulesOutput { s.Rules = v return s } // SetUnprocessedAutomationRules sets the UnprocessedAutomationRules field's value. func (s *BatchGetAutomationRulesOutput) SetUnprocessedAutomationRules(v []*UnprocessedAutomationRule) *BatchGetAutomationRulesOutput { s.UnprocessedAutomationRules = v return s } type BatchGetConfigurationPolicyAssociationsInput struct { _ struct{} `type:"structure"` // Specifies one or more target account IDs, organizational unit (OU) IDs, or // the root ID to retrieve associations for. // // ConfigurationPolicyAssociationIdentifiers is a required field ConfigurationPolicyAssociationIdentifiers []*ConfigurationPolicyAssociation `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetConfigurationPolicyAssociationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetConfigurationPolicyAssociationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchGetConfigurationPolicyAssociationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchGetConfigurationPolicyAssociationsInput"} if s.ConfigurationPolicyAssociationIdentifiers == nil { invalidParams.Add(request.NewErrParamRequired("ConfigurationPolicyAssociationIdentifiers")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfigurationPolicyAssociationIdentifiers sets the ConfigurationPolicyAssociationIdentifiers field's value. func (s *BatchGetConfigurationPolicyAssociationsInput) SetConfigurationPolicyAssociationIdentifiers(v []*ConfigurationPolicyAssociation) *BatchGetConfigurationPolicyAssociationsInput { s.ConfigurationPolicyAssociationIdentifiers = v return s } type BatchGetConfigurationPolicyAssociationsOutput struct { _ struct{} `type:"structure"` // Describes associations for the target accounts, OUs, or the root. ConfigurationPolicyAssociations []*ConfigurationPolicyAssociationSummary `type:"list"` // An array of configuration policy associations, one for each configuration // policy association identifier, that was specified in the request but couldnt // be processed due to an error. UnprocessedConfigurationPolicyAssociations []*UnprocessedConfigurationPolicyAssociation `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetConfigurationPolicyAssociationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetConfigurationPolicyAssociationsOutput) GoString() string { return s.String() } // SetConfigurationPolicyAssociations sets the ConfigurationPolicyAssociations field's value. func (s *BatchGetConfigurationPolicyAssociationsOutput) SetConfigurationPolicyAssociations(v []*ConfigurationPolicyAssociationSummary) *BatchGetConfigurationPolicyAssociationsOutput { s.ConfigurationPolicyAssociations = v return s } // SetUnprocessedConfigurationPolicyAssociations sets the UnprocessedConfigurationPolicyAssociations field's value. func (s *BatchGetConfigurationPolicyAssociationsOutput) SetUnprocessedConfigurationPolicyAssociations(v []*UnprocessedConfigurationPolicyAssociation) *BatchGetConfigurationPolicyAssociationsOutput { s.UnprocessedConfigurationPolicyAssociations = v return s } type BatchGetSecurityControlsInput struct { _ struct{} `type:"structure"` // A list of security controls (identified with SecurityControlId, SecurityControlArn, // or a mix of both parameters). The security control ID or Amazon Resource // Name (ARN) is the same across standards. // // SecurityControlIds is a required field SecurityControlIds []*string `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetSecurityControlsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetSecurityControlsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchGetSecurityControlsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchGetSecurityControlsInput"} if s.SecurityControlIds == nil { invalidParams.Add(request.NewErrParamRequired("SecurityControlIds")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetSecurityControlIds sets the SecurityControlIds field's value. func (s *BatchGetSecurityControlsInput) SetSecurityControlIds(v []*string) *BatchGetSecurityControlsInput { s.SecurityControlIds = v return s } type BatchGetSecurityControlsOutput struct { _ struct{} `type:"structure"` // An array that returns the identifier, Amazon Resource Name (ARN), and other // details about a security control. The same information is returned whether // the request includes SecurityControlId or SecurityControlArn. // // SecurityControls is a required field SecurityControls []*SecurityControl `type:"list" required:"true"` // A security control (identified with SecurityControlId, SecurityControlArn, // or a mix of both parameters) for which details cannot be returned. UnprocessedIds []*UnprocessedSecurityControl `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetSecurityControlsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetSecurityControlsOutput) GoString() string { return s.String() } // SetSecurityControls sets the SecurityControls field's value. func (s *BatchGetSecurityControlsOutput) SetSecurityControls(v []*SecurityControl) *BatchGetSecurityControlsOutput { s.SecurityControls = v return s } // SetUnprocessedIds sets the UnprocessedIds field's value. func (s *BatchGetSecurityControlsOutput) SetUnprocessedIds(v []*UnprocessedSecurityControl) *BatchGetSecurityControlsOutput { s.UnprocessedIds = v return s } type BatchGetStandardsControlAssociationsInput struct { _ struct{} `type:"structure"` // An array with one or more objects that includes a security control (identified // with SecurityControlId, SecurityControlArn, or a mix of both parameters) // and the Amazon Resource Name (ARN) of a standard. This field is used to query // the enablement status of a control in a specified standard. The security // control ID or ARN is the same across standards. // // StandardsControlAssociationIds is a required field StandardsControlAssociationIds []*StandardsControlAssociationId `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetStandardsControlAssociationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetStandardsControlAssociationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchGetStandardsControlAssociationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchGetStandardsControlAssociationsInput"} if s.StandardsControlAssociationIds == nil { invalidParams.Add(request.NewErrParamRequired("StandardsControlAssociationIds")) } if s.StandardsControlAssociationIds != nil { for i, v := range s.StandardsControlAssociationIds { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StandardsControlAssociationIds", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetStandardsControlAssociationIds sets the StandardsControlAssociationIds field's value. func (s *BatchGetStandardsControlAssociationsInput) SetStandardsControlAssociationIds(v []*StandardsControlAssociationId) *BatchGetStandardsControlAssociationsInput { s.StandardsControlAssociationIds = v return s } type BatchGetStandardsControlAssociationsOutput struct { _ struct{} `type:"structure"` // Provides the enablement status of a security control in a specified standard // and other details for the control in relation to the specified standard. // // StandardsControlAssociationDetails is a required field StandardsControlAssociationDetails []*StandardsControlAssociationDetail `type:"list" required:"true"` // A security control (identified with SecurityControlId, SecurityControlArn, // or a mix of both parameters) whose enablement status in a specified standard // cannot be returned. UnprocessedAssociations []*UnprocessedStandardsControlAssociation `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetStandardsControlAssociationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchGetStandardsControlAssociationsOutput) GoString() string { return s.String() } // SetStandardsControlAssociationDetails sets the StandardsControlAssociationDetails field's value. func (s *BatchGetStandardsControlAssociationsOutput) SetStandardsControlAssociationDetails(v []*StandardsControlAssociationDetail) *BatchGetStandardsControlAssociationsOutput { s.StandardsControlAssociationDetails = v return s } // SetUnprocessedAssociations sets the UnprocessedAssociations field's value. func (s *BatchGetStandardsControlAssociationsOutput) SetUnprocessedAssociations(v []*UnprocessedStandardsControlAssociation) *BatchGetStandardsControlAssociationsOutput { s.UnprocessedAssociations = v return s } type BatchImportFindingsInput struct { _ struct{} `type:"structure"` // A list of findings to import. To successfully import a finding, it must follow // the Amazon Web Services Security Finding Format (path_to_url // Maximum of 100 findings per request. // // Findings is a required field Findings []*AwsSecurityFinding `min:"1" type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchImportFindingsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchImportFindingsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchImportFindingsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchImportFindingsInput"} if s.Findings == nil { invalidParams.Add(request.NewErrParamRequired("Findings")) } if s.Findings != nil && len(s.Findings) < 1 { invalidParams.Add(request.NewErrParamMinLen("Findings", 1)) } if s.Findings != nil { for i, v := range s.Findings { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Findings", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFindings sets the Findings field's value. func (s *BatchImportFindingsInput) SetFindings(v []*AwsSecurityFinding) *BatchImportFindingsInput { s.Findings = v return s } type BatchImportFindingsOutput struct { _ struct{} `type:"structure"` // The number of findings that failed to import. // // FailedCount is a required field FailedCount *int64 `type:"integer" required:"true"` // The list of findings that failed to import. FailedFindings []*ImportFindingsError `type:"list"` // The number of findings that were successfully imported. // // SuccessCount is a required field SuccessCount *int64 `type:"integer" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchImportFindingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchImportFindingsOutput) GoString() string { return s.String() } // SetFailedCount sets the FailedCount field's value. func (s *BatchImportFindingsOutput) SetFailedCount(v int64) *BatchImportFindingsOutput { s.FailedCount = &v return s } // SetFailedFindings sets the FailedFindings field's value. func (s *BatchImportFindingsOutput) SetFailedFindings(v []*ImportFindingsError) *BatchImportFindingsOutput { s.FailedFindings = v return s } // SetSuccessCount sets the SuccessCount field's value. func (s *BatchImportFindingsOutput) SetSuccessCount(v int64) *BatchImportFindingsOutput { s.SuccessCount = &v return s } type BatchUpdateAutomationRulesInput struct { _ struct{} `type:"structure"` // An array of ARNs for the rules that are to be updated. Optionally, you can // also include RuleStatus and RuleOrder. // // UpdateAutomationRulesRequestItems is a required field UpdateAutomationRulesRequestItems []*UpdateAutomationRulesRequestItem `min:"1" type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateAutomationRulesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateAutomationRulesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchUpdateAutomationRulesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchUpdateAutomationRulesInput"} if s.UpdateAutomationRulesRequestItems == nil { invalidParams.Add(request.NewErrParamRequired("UpdateAutomationRulesRequestItems")) } if s.UpdateAutomationRulesRequestItems != nil && len(s.UpdateAutomationRulesRequestItems) < 1 { invalidParams.Add(request.NewErrParamMinLen("UpdateAutomationRulesRequestItems", 1)) } if s.UpdateAutomationRulesRequestItems != nil { for i, v := range s.UpdateAutomationRulesRequestItems { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UpdateAutomationRulesRequestItems", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetUpdateAutomationRulesRequestItems sets the UpdateAutomationRulesRequestItems field's value. func (s *BatchUpdateAutomationRulesInput) SetUpdateAutomationRulesRequestItems(v []*UpdateAutomationRulesRequestItem) *BatchUpdateAutomationRulesInput { s.UpdateAutomationRulesRequestItems = v return s } type BatchUpdateAutomationRulesOutput struct { _ struct{} `type:"structure"` // A list of properly processed rule ARNs. ProcessedAutomationRules []*string `min:"1" type:"list"` // A list of objects containing RuleArn, ErrorCode, and ErrorMessage. This parameter // tells you which automation rules the request didn't update and why. UnprocessedAutomationRules []*UnprocessedAutomationRule `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateAutomationRulesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateAutomationRulesOutput) GoString() string { return s.String() } // SetProcessedAutomationRules sets the ProcessedAutomationRules field's value. func (s *BatchUpdateAutomationRulesOutput) SetProcessedAutomationRules(v []*string) *BatchUpdateAutomationRulesOutput { s.ProcessedAutomationRules = v return s } // SetUnprocessedAutomationRules sets the UnprocessedAutomationRules field's value. func (s *BatchUpdateAutomationRulesOutput) SetUnprocessedAutomationRules(v []*UnprocessedAutomationRule) *BatchUpdateAutomationRulesOutput { s.UnprocessedAutomationRules = v return s } type BatchUpdateFindingsInput struct { _ struct{} `type:"structure"` // The updated value for the finding confidence. Confidence is defined as the // likelihood that a finding accurately identifies the behavior or issue that // it was intended to identify. // // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means // zero percent confidence and 100 means 100 percent confidence. Confidence *int64 `type:"integer"` // The updated value for the level of importance assigned to the resources associated // with the findings. // // A score of 0 means that the underlying resources have no criticality, and // a score of 100 is reserved for the most critical resources. Criticality *int64 `type:"integer"` // The list of findings to update. BatchUpdateFindings can be used to update // up to 100 findings at a time. // // For each finding, the list provides the finding identifier and the ARN of // the finding provider. // // FindingIdentifiers is a required field FindingIdentifiers []*AwsSecurityFindingIdentifier `type:"list" required:"true"` // The updated note. Note *NoteUpdate `type:"structure"` // A list of findings that are related to the updated findings. RelatedFindings []*RelatedFinding `type:"list"` // Used to update the finding severity. Severity *SeverityUpdate `type:"structure"` // One or more finding types in the format of namespace/category/classifier // that classify a finding. // // Valid namespace values are as follows. // // * Software and Configuration Checks // // * TTPs // // * Effects // // * Unusual Behaviors // // * Sensitive Data Identifications Types []*string `type:"list"` // A list of name/value string pairs associated with the finding. These are // custom, user-defined fields added to a finding. UserDefinedFields map[string]*string `type:"map"` // Indicates the veracity of a finding. // // The available values for VerificationState are as follows. // // * UNKNOWN The default disposition of a security finding // // * TRUE_POSITIVE The security finding is confirmed // // * FALSE_POSITIVE The security finding was determined to be a false // alarm // // * BENIGN_POSITIVE A special case of TRUE_POSITIVE where the finding // doesn't pose any threat, is expected, or both VerificationState *string `type:"string" enum:"VerificationState"` // Used to update the workflow status of a finding. // // The workflow status indicates the progress of the investigation into the // finding. Workflow *WorkflowUpdate `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateFindingsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateFindingsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchUpdateFindingsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchUpdateFindingsInput"} if s.FindingIdentifiers == nil { invalidParams.Add(request.NewErrParamRequired("FindingIdentifiers")) } if s.FindingIdentifiers != nil { for i, v := range s.FindingIdentifiers { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FindingIdentifiers", i), err.(request.ErrInvalidParams)) } } } if s.Note != nil { if err := s.Note.Validate(); err != nil { invalidParams.AddNested("Note", err.(request.ErrInvalidParams)) } } if s.RelatedFindings != nil { for i, v := range s.RelatedFindings { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RelatedFindings", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfidence sets the Confidence field's value. func (s *BatchUpdateFindingsInput) SetConfidence(v int64) *BatchUpdateFindingsInput { s.Confidence = &v return s } // SetCriticality sets the Criticality field's value. func (s *BatchUpdateFindingsInput) SetCriticality(v int64) *BatchUpdateFindingsInput { s.Criticality = &v return s } // SetFindingIdentifiers sets the FindingIdentifiers field's value. func (s *BatchUpdateFindingsInput) SetFindingIdentifiers(v []*AwsSecurityFindingIdentifier) *BatchUpdateFindingsInput { s.FindingIdentifiers = v return s } // SetNote sets the Note field's value. func (s *BatchUpdateFindingsInput) SetNote(v *NoteUpdate) *BatchUpdateFindingsInput { s.Note = v return s } // SetRelatedFindings sets the RelatedFindings field's value. func (s *BatchUpdateFindingsInput) SetRelatedFindings(v []*RelatedFinding) *BatchUpdateFindingsInput { s.RelatedFindings = v return s } // SetSeverity sets the Severity field's value. func (s *BatchUpdateFindingsInput) SetSeverity(v *SeverityUpdate) *BatchUpdateFindingsInput { s.Severity = v return s } // SetTypes sets the Types field's value. func (s *BatchUpdateFindingsInput) SetTypes(v []*string) *BatchUpdateFindingsInput { s.Types = v return s } // SetUserDefinedFields sets the UserDefinedFields field's value. func (s *BatchUpdateFindingsInput) SetUserDefinedFields(v map[string]*string) *BatchUpdateFindingsInput { s.UserDefinedFields = v return s } // SetVerificationState sets the VerificationState field's value. func (s *BatchUpdateFindingsInput) SetVerificationState(v string) *BatchUpdateFindingsInput { s.VerificationState = &v return s } // SetWorkflow sets the Workflow field's value. func (s *BatchUpdateFindingsInput) SetWorkflow(v *WorkflowUpdate) *BatchUpdateFindingsInput { s.Workflow = v return s } type BatchUpdateFindingsOutput struct { _ struct{} `type:"structure"` // The list of findings that were updated successfully. // // ProcessedFindings is a required field ProcessedFindings []*AwsSecurityFindingIdentifier `type:"list" required:"true"` // The list of findings that were not updated. // // UnprocessedFindings is a required field UnprocessedFindings []*BatchUpdateFindingsUnprocessedFinding `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateFindingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateFindingsOutput) GoString() string { return s.String() } // SetProcessedFindings sets the ProcessedFindings field's value. func (s *BatchUpdateFindingsOutput) SetProcessedFindings(v []*AwsSecurityFindingIdentifier) *BatchUpdateFindingsOutput { s.ProcessedFindings = v return s } // SetUnprocessedFindings sets the UnprocessedFindings field's value. func (s *BatchUpdateFindingsOutput) SetUnprocessedFindings(v []*BatchUpdateFindingsUnprocessedFinding) *BatchUpdateFindingsOutput { s.UnprocessedFindings = v return s } // A finding from a BatchUpdateFindings request that Security Hub was unable // to update. type BatchUpdateFindingsUnprocessedFinding struct { _ struct{} `type:"structure"` // The code associated with the error. Possible values are: // // * ConcurrentUpdateError - Another request attempted to update the finding // while this request was being processed. This error may also occur if you // call BatchUpdateFindings (path_to_url // and BatchImportFindings (path_to_url // at the same time. // // * DuplicatedFindingIdentifier - The request included two or more findings // with the same FindingIdentifier. // // * FindingNotFound - The FindingIdentifier included in the request did // not match an existing finding. // // * FindingSizeExceeded - The finding size was greater than the permissible // value of 240 KB. // // * InternalFailure - An internal service failure occurred when updating // the finding. // // * InvalidInput - The finding update contained an invalid value that did // not satisfy the Amazon Web Services Security Finding Format (path_to_url // syntax. // // ErrorCode is a required field ErrorCode *string `type:"string" required:"true"` // The message associated with the error. Possible values are: // // * Concurrent finding updates detected // // * Finding Identifier is duplicated // // * Finding Not Found // // * Finding size exceeded 240 KB // // * Internal service failure // // * Invalid Input // // ErrorMessage is a required field ErrorMessage *string `type:"string" required:"true"` // The identifier of the finding that was not updated. // // FindingIdentifier is a required field FindingIdentifier *AwsSecurityFindingIdentifier `type:"structure" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateFindingsUnprocessedFinding) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateFindingsUnprocessedFinding) GoString() string { return s.String() } // SetErrorCode sets the ErrorCode field's value. func (s *BatchUpdateFindingsUnprocessedFinding) SetErrorCode(v string) *BatchUpdateFindingsUnprocessedFinding { s.ErrorCode = &v return s } // SetErrorMessage sets the ErrorMessage field's value. func (s *BatchUpdateFindingsUnprocessedFinding) SetErrorMessage(v string) *BatchUpdateFindingsUnprocessedFinding { s.ErrorMessage = &v return s } // SetFindingIdentifier sets the FindingIdentifier field's value. func (s *BatchUpdateFindingsUnprocessedFinding) SetFindingIdentifier(v *AwsSecurityFindingIdentifier) *BatchUpdateFindingsUnprocessedFinding { s.FindingIdentifier = v return s } type BatchUpdateStandardsControlAssociationsInput struct { _ struct{} `type:"structure"` // Updates the enablement status of a security control in a specified standard. // // StandardsControlAssociationUpdates is a required field StandardsControlAssociationUpdates []*StandardsControlAssociationUpdate `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateStandardsControlAssociationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateStandardsControlAssociationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *BatchUpdateStandardsControlAssociationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BatchUpdateStandardsControlAssociationsInput"} if s.StandardsControlAssociationUpdates == nil { invalidParams.Add(request.NewErrParamRequired("StandardsControlAssociationUpdates")) } if s.StandardsControlAssociationUpdates != nil { for i, v := range s.StandardsControlAssociationUpdates { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StandardsControlAssociationUpdates", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetStandardsControlAssociationUpdates sets the StandardsControlAssociationUpdates field's value. func (s *BatchUpdateStandardsControlAssociationsInput) SetStandardsControlAssociationUpdates(v []*StandardsControlAssociationUpdate) *BatchUpdateStandardsControlAssociationsInput { s.StandardsControlAssociationUpdates = v return s } type BatchUpdateStandardsControlAssociationsOutput struct { _ struct{} `type:"structure"` // A security control (identified with SecurityControlId, SecurityControlArn, // or a mix of both parameters) whose enablement status in a specified standard // couldn't be updated. UnprocessedAssociationUpdates []*UnprocessedStandardsControlAssociationUpdate `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateStandardsControlAssociationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BatchUpdateStandardsControlAssociationsOutput) GoString() string { return s.String() } // SetUnprocessedAssociationUpdates sets the UnprocessedAssociationUpdates field's value. func (s *BatchUpdateStandardsControlAssociationsOutput) SetUnprocessedAssociationUpdates(v []*UnprocessedStandardsControlAssociationUpdate) *BatchUpdateStandardsControlAssociationsOutput { s.UnprocessedAssociationUpdates = v return s } // The options for customizing a security control parameter with a boolean. // For a boolean parameter, the options are true and false. type BooleanConfigurationOptions struct { _ struct{} `type:"structure"` // The Security Hub default value for a boolean parameter. DefaultValue *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BooleanConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BooleanConfigurationOptions) GoString() string { return s.String() } // SetDefaultValue sets the DefaultValue field's value. func (s *BooleanConfigurationOptions) SetDefaultValue(v bool) *BooleanConfigurationOptions { s.DefaultValue = &v return s } // Boolean filter for querying findings. type BooleanFilter struct { _ struct{} `type:"structure"` // The value of the boolean. Value *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BooleanFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s BooleanFilter) GoString() string { return s.String() } // SetValue sets the Value field's value. func (s *BooleanFilter) SetValue(v bool) *BooleanFilter { s.Value = &v return s } // An occurrence of sensitive data detected in a Microsoft Excel workbook, comma-separated // value (CSV) file, or tab-separated value (TSV) file. type Cell struct { _ struct{} `type:"structure"` // For a Microsoft Excel workbook, provides the location of the cell, as an // absolute cell reference, that contains the data. For example, Sheet2!C5 for // cell C5 on Sheet2. CellReference *string `type:"string"` // The column number of the column that contains the data. For a Microsoft Excel // workbook, the column number corresponds to the alphabetical column identifiers. // For example, a value of 1 for Column corresponds to the A column in the workbook. Column *int64 `type:"long"` // The name of the column that contains the data. ColumnName *string `type:"string"` // The row number of the row that contains the data. Row *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Cell) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Cell) GoString() string { return s.String() } // SetCellReference sets the CellReference field's value. func (s *Cell) SetCellReference(v string) *Cell { s.CellReference = &v return s } // SetColumn sets the Column field's value. func (s *Cell) SetColumn(v int64) *Cell { s.Column = &v return s } // SetColumnName sets the ColumnName field's value. func (s *Cell) SetColumnName(v string) *Cell { s.ColumnName = &v return s } // SetRow sets the Row field's value. func (s *Cell) SetRow(v int64) *Cell { s.Row = &v return s } // An IPv4 CIDR block association. type CidrBlockAssociation struct { _ struct{} `type:"structure"` // The association ID for the IPv4 CIDR block. AssociationId *string `type:"string"` // The IPv4 CIDR block. CidrBlock *string `type:"string"` // Information about the state of the IPv4 CIDR block. CidrBlockState *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CidrBlockAssociation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CidrBlockAssociation) GoString() string { return s.String() } // SetAssociationId sets the AssociationId field's value. func (s *CidrBlockAssociation) SetAssociationId(v string) *CidrBlockAssociation { s.AssociationId = &v return s } // SetCidrBlock sets the CidrBlock field's value. func (s *CidrBlockAssociation) SetCidrBlock(v string) *CidrBlockAssociation { s.CidrBlock = &v return s } // SetCidrBlockState sets the CidrBlockState field's value. func (s *CidrBlockAssociation) SetCidrBlockState(v string) *CidrBlockAssociation { s.CidrBlockState = &v return s } // Information about a city. type City struct { _ struct{} `type:"structure"` // The name of the city. CityName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s City) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s City) GoString() string { return s.String() } // SetCityName sets the CityName field's value. func (s *City) SetCityName(v string) *City { s.CityName = &v return s } // Details about the sensitive data that was detected on the resource. type ClassificationResult struct { _ struct{} `type:"structure"` // Indicates whether there are additional occurrences of sensitive data that // are not included in the finding. This occurs when the number of occurrences // exceeds the maximum that can be included. AdditionalOccurrences *bool `type:"boolean"` // Provides details about sensitive data that was identified based on customer-defined // configuration. CustomDataIdentifiers *CustomDataIdentifiersResult `type:"structure"` // The type of content that the finding applies to. MimeType *string `type:"string"` // Provides details about sensitive data that was identified based on built-in // configuration. SensitiveData []*SensitiveDataResult `type:"list"` // The total size in bytes of the affected data. SizeClassified *int64 `type:"long"` // The current status of the sensitive data detection. Status *ClassificationStatus `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ClassificationResult) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ClassificationResult) GoString() string { return s.String() } // SetAdditionalOccurrences sets the AdditionalOccurrences field's value. func (s *ClassificationResult) SetAdditionalOccurrences(v bool) *ClassificationResult { s.AdditionalOccurrences = &v return s } // SetCustomDataIdentifiers sets the CustomDataIdentifiers field's value. func (s *ClassificationResult) SetCustomDataIdentifiers(v *CustomDataIdentifiersResult) *ClassificationResult { s.CustomDataIdentifiers = v return s } // SetMimeType sets the MimeType field's value. func (s *ClassificationResult) SetMimeType(v string) *ClassificationResult { s.MimeType = &v return s } // SetSensitiveData sets the SensitiveData field's value. func (s *ClassificationResult) SetSensitiveData(v []*SensitiveDataResult) *ClassificationResult { s.SensitiveData = v return s } // SetSizeClassified sets the SizeClassified field's value. func (s *ClassificationResult) SetSizeClassified(v int64) *ClassificationResult { s.SizeClassified = &v return s } // SetStatus sets the Status field's value. func (s *ClassificationResult) SetStatus(v *ClassificationStatus) *ClassificationResult { s.Status = v return s } // Provides details about the current status of the sensitive data detection. type ClassificationStatus struct { _ struct{} `type:"structure"` // The code that represents the status of the sensitive data detection. Code *string `type:"string"` // A longer description of the current status of the sensitive data detection. Reason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ClassificationStatus) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ClassificationStatus) GoString() string { return s.String() } // SetCode sets the Code field's value. func (s *ClassificationStatus) SetCode(v string) *ClassificationStatus { s.Code = &v return s } // SetReason sets the Reason field's value. func (s *ClassificationStatus) SetReason(v string) *ClassificationStatus { s.Reason = &v return s } // The Amazon Resource Name (ARN) and other details of the Amazon CloudWatch // Logs log group that Amazon Route 53 is publishing logs to. type CloudWatchLogsLogGroupArnConfigDetails struct { _ struct{} `type:"structure"` // The ARN of the CloudWatch Logs log group that Route 53 is publishing logs // to. CloudWatchLogsLogGroupArn *string `type:"string"` // The ID of the hosted zone that CloudWatch Logs is logging queries for. HostedZoneId *string `type:"string"` // The ID for a DNS query logging configuration. Id *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CloudWatchLogsLogGroupArnConfigDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CloudWatchLogsLogGroupArnConfigDetails) GoString() string { return s.String() } // SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. func (s *CloudWatchLogsLogGroupArnConfigDetails) SetCloudWatchLogsLogGroupArn(v string) *CloudWatchLogsLogGroupArnConfigDetails { s.CloudWatchLogsLogGroupArn = &v return s } // SetHostedZoneId sets the HostedZoneId field's value. func (s *CloudWatchLogsLogGroupArnConfigDetails) SetHostedZoneId(v string) *CloudWatchLogsLogGroupArnConfigDetails { s.HostedZoneId = &v return s } // SetId sets the Id field's value. func (s *CloudWatchLogsLogGroupArnConfigDetails) SetId(v string) *CloudWatchLogsLogGroupArnConfigDetails { s.Id = &v return s } // Provides details about where a code vulnerability is located in your Lambda // function. type CodeVulnerabilitiesFilePath struct { _ struct{} `type:"structure"` // The line number of the last line of code in which the vulnerability is located. EndLine *int64 `type:"integer"` // The name of the file in which the code vulnerability is located. FileName *string `type:"string"` // The file path to the code in which the vulnerability is located. FilePath *string `type:"string"` // The line number of the first line of code in which the vulnerability is located. StartLine *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CodeVulnerabilitiesFilePath) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CodeVulnerabilitiesFilePath) GoString() string { return s.String() } // SetEndLine sets the EndLine field's value. func (s *CodeVulnerabilitiesFilePath) SetEndLine(v int64) *CodeVulnerabilitiesFilePath { s.EndLine = &v return s } // SetFileName sets the FileName field's value. func (s *CodeVulnerabilitiesFilePath) SetFileName(v string) *CodeVulnerabilitiesFilePath { s.FileName = &v return s } // SetFilePath sets the FilePath field's value. func (s *CodeVulnerabilitiesFilePath) SetFilePath(v string) *CodeVulnerabilitiesFilePath { s.FilePath = &v return s } // SetStartLine sets the StartLine field's value. func (s *CodeVulnerabilitiesFilePath) SetStartLine(v int64) *CodeVulnerabilitiesFilePath { s.StartLine = &v return s } // Contains finding details that are specific to control-based findings. Only // returned for findings generated from controls. type Compliance struct { _ struct{} `type:"structure"` // The enabled security standards in which a security control is currently enabled. AssociatedStandards []*AssociatedStandard `type:"list"` // For a control, the industry or regulatory framework requirements that are // related to the control. The check for that control is aligned with these // requirements. RelatedRequirements []*string `type:"list"` // The unique identifier of a control across standards. Values for this field // typically consist of an Amazon Web Service and a number, such as APIGateway.5. SecurityControlId *string `type:"string"` // An object that includes security control parameter names and values. SecurityControlParameters []*SecurityControlParameter `type:"list"` // The result of a standards check. // // The valid values for Status are as follows. // // * PASSED - Standards check passed for all evaluated resources. WARNING // - Some information is missing or this check is not supported for your // configuration. FAILED - Standards check failed for at least one evaluated // resource. NOT_AVAILABLE - Check could not be performed due to a service // outage, API error, or because the result of the Config evaluation was // NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then // after 3 days, Security Hub automatically archives the finding. Status *string `type:"string" enum:"ComplianceStatus"` // For findings generated from controls, a list of reasons behind the value // of Status. For the list of status reason codes and their meanings, see Standards-related // information in the ASFF (path_to_url#securityhub-standards-results-asff) // in the Security Hub User Guide. StatusReasons []*StatusReason `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Compliance) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Compliance) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *Compliance) Validate() error { invalidParams := request.ErrInvalidParams{Context: "Compliance"} if s.StatusReasons != nil { for i, v := range s.StatusReasons { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StatusReasons", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAssociatedStandards sets the AssociatedStandards field's value. func (s *Compliance) SetAssociatedStandards(v []*AssociatedStandard) *Compliance { s.AssociatedStandards = v return s } // SetRelatedRequirements sets the RelatedRequirements field's value. func (s *Compliance) SetRelatedRequirements(v []*string) *Compliance { s.RelatedRequirements = v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *Compliance) SetSecurityControlId(v string) *Compliance { s.SecurityControlId = &v return s } // SetSecurityControlParameters sets the SecurityControlParameters field's value. func (s *Compliance) SetSecurityControlParameters(v []*SecurityControlParameter) *Compliance { s.SecurityControlParameters = v return s } // SetStatus sets the Status field's value. func (s *Compliance) SetStatus(v string) *Compliance { s.Status = &v return s } // SetStatusReasons sets the StatusReasons field's value. func (s *Compliance) SetStatusReasons(v []*StatusReason) *Compliance { s.StatusReasons = v return s } // The options for customizing a security control parameter. type ConfigurationOptions struct { _ struct{} `type:"structure"` // The options for customizing a security control parameter that is a boolean. // For a boolean parameter, the options are true and false. Boolean *BooleanConfigurationOptions `type:"structure"` // The options for customizing a security control parameter that is a double. Double *DoubleConfigurationOptions `type:"structure"` // The options for customizing a security control parameter that is an enum. Enum *EnumConfigurationOptions `type:"structure"` // The options for customizing a security control parameter that is a list of // enums. EnumList *EnumListConfigurationOptions `type:"structure"` // The options for customizing a security control parameter that is an integer. Integer *IntegerConfigurationOptions `type:"structure"` // The options for customizing a security control parameter that is a list of // integers. IntegerList *IntegerListConfigurationOptions `type:"structure"` // The options for customizing a security control parameter that is a list of // strings. StringList *StringListConfigurationOptions `type:"structure"` // The options for customizing a security control parameter that is a string // data type. String_ *StringConfigurationOptions `locationName:"String" type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationOptions) GoString() string { return s.String() } // SetBoolean sets the Boolean field's value. func (s *ConfigurationOptions) SetBoolean(v *BooleanConfigurationOptions) *ConfigurationOptions { s.Boolean = v return s } // SetDouble sets the Double field's value. func (s *ConfigurationOptions) SetDouble(v *DoubleConfigurationOptions) *ConfigurationOptions { s.Double = v return s } // SetEnum sets the Enum field's value. func (s *ConfigurationOptions) SetEnum(v *EnumConfigurationOptions) *ConfigurationOptions { s.Enum = v return s } // SetEnumList sets the EnumList field's value. func (s *ConfigurationOptions) SetEnumList(v *EnumListConfigurationOptions) *ConfigurationOptions { s.EnumList = v return s } // SetInteger sets the Integer field's value. func (s *ConfigurationOptions) SetInteger(v *IntegerConfigurationOptions) *ConfigurationOptions { s.Integer = v return s } // SetIntegerList sets the IntegerList field's value. func (s *ConfigurationOptions) SetIntegerList(v *IntegerListConfigurationOptions) *ConfigurationOptions { s.IntegerList = v return s } // SetStringList sets the StringList field's value. func (s *ConfigurationOptions) SetStringList(v *StringListConfigurationOptions) *ConfigurationOptions { s.StringList = v return s } // SetString_ sets the String_ field's value. func (s *ConfigurationOptions) SetString_(v *StringConfigurationOptions) *ConfigurationOptions { s.String_ = v return s } // Provides details about the association between an Security Hub configuration // and a target account, organizational unit, or the root. An association can // exist between a target and a configuration policy, or between a target and // self-managed behavior. type ConfigurationPolicyAssociation struct { _ struct{} `type:"structure"` // The target account, organizational unit, or the root. Target *Target `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationPolicyAssociation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationPolicyAssociation) GoString() string { return s.String() } // SetTarget sets the Target field's value. func (s *ConfigurationPolicyAssociation) SetTarget(v *Target) *ConfigurationPolicyAssociation { s.Target = v return s } // An object that contains the details of a configuration policy association // thats returned in a ListConfigurationPolicyAssociations request. type ConfigurationPolicyAssociationSummary struct { _ struct{} `type:"structure"` // The current status of the association between the specified target and the // configuration. AssociationStatus *string `type:"string" enum:"ConfigurationPolicyAssociationStatus"` // The explanation for a FAILED value for AssociationStatus. AssociationStatusMessage *string `type:"string"` // Indicates whether the association between the specified target and the configuration // was directly applied by the Security Hub delegated administrator or inherited // from a parent. AssociationType *string `type:"string" enum:"AssociationType"` // The universally unique identifier (UUID) of the configuration policy. ConfigurationPolicyId *string `type:"string"` // The identifier of the target account, organizational unit, or the root. TargetId *string `type:"string"` // Specifies whether the target is an Amazon Web Services account, organizational // unit, or the root. TargetType *string `type:"string" enum:"TargetType"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // association was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationPolicyAssociationSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationPolicyAssociationSummary) GoString() string { return s.String() } // SetAssociationStatus sets the AssociationStatus field's value. func (s *ConfigurationPolicyAssociationSummary) SetAssociationStatus(v string) *ConfigurationPolicyAssociationSummary { s.AssociationStatus = &v return s } // SetAssociationStatusMessage sets the AssociationStatusMessage field's value. func (s *ConfigurationPolicyAssociationSummary) SetAssociationStatusMessage(v string) *ConfigurationPolicyAssociationSummary { s.AssociationStatusMessage = &v return s } // SetAssociationType sets the AssociationType field's value. func (s *ConfigurationPolicyAssociationSummary) SetAssociationType(v string) *ConfigurationPolicyAssociationSummary { s.AssociationType = &v return s } // SetConfigurationPolicyId sets the ConfigurationPolicyId field's value. func (s *ConfigurationPolicyAssociationSummary) SetConfigurationPolicyId(v string) *ConfigurationPolicyAssociationSummary { s.ConfigurationPolicyId = &v return s } // SetTargetId sets the TargetId field's value. func (s *ConfigurationPolicyAssociationSummary) SetTargetId(v string) *ConfigurationPolicyAssociationSummary { s.TargetId = &v return s } // SetTargetType sets the TargetType field's value. func (s *ConfigurationPolicyAssociationSummary) SetTargetType(v string) *ConfigurationPolicyAssociationSummary { s.TargetType = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *ConfigurationPolicyAssociationSummary) SetUpdatedAt(v time.Time) *ConfigurationPolicyAssociationSummary { s.UpdatedAt = &v return s } // An object that contains the details of an Security Hub configuration policy // thats returned in a ListConfigurationPolicies request. type ConfigurationPolicySummary struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the configuration policy. Arn *string `type:"string"` // The description of the configuration policy. Description *string `type:"string"` // The universally unique identifier (UUID) of the configuration policy. Id *string `type:"string"` // The name of the configuration policy. Alphanumeric characters and the following // ASCII characters are permitted: -, ., !, *, /. Name *string `type:"string"` // Indicates whether the service that the configuration policy applies to is // enabled in the policy. ServiceEnabled *bool `type:"boolean"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationPolicySummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ConfigurationPolicySummary) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *ConfigurationPolicySummary) SetArn(v string) *ConfigurationPolicySummary { s.Arn = &v return s } // SetDescription sets the Description field's value. func (s *ConfigurationPolicySummary) SetDescription(v string) *ConfigurationPolicySummary { s.Description = &v return s } // SetId sets the Id field's value. func (s *ConfigurationPolicySummary) SetId(v string) *ConfigurationPolicySummary { s.Id = &v return s } // SetName sets the Name field's value. func (s *ConfigurationPolicySummary) SetName(v string) *ConfigurationPolicySummary { s.Name = &v return s } // SetServiceEnabled sets the ServiceEnabled field's value. func (s *ConfigurationPolicySummary) SetServiceEnabled(v bool) *ConfigurationPolicySummary { s.ServiceEnabled = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *ConfigurationPolicySummary) SetUpdatedAt(v time.Time) *ConfigurationPolicySummary { s.UpdatedAt = &v return s } // Container details related to a finding. type ContainerDetails struct { _ struct{} `type:"structure"` // The runtime of the container. ContainerRuntime *string `type:"string"` // The identifier of the container image related to a finding. ImageId *string `type:"string"` // The name of the container image related to a finding. ImageName *string `type:"string"` // Indicates when the container started. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LaunchedAt *string `type:"string"` // The name of the container related to a finding. Name *string `type:"string"` // When this parameter is true, the container is given elevated privileges on // the host container instance (similar to the root user). Privileged *bool `type:"boolean"` // Provides information about the mounting of a volume in a container. VolumeMounts []*VolumeMount `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ContainerDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ContainerDetails) GoString() string { return s.String() } // SetContainerRuntime sets the ContainerRuntime field's value. func (s *ContainerDetails) SetContainerRuntime(v string) *ContainerDetails { s.ContainerRuntime = &v return s } // SetImageId sets the ImageId field's value. func (s *ContainerDetails) SetImageId(v string) *ContainerDetails { s.ImageId = &v return s } // SetImageName sets the ImageName field's value. func (s *ContainerDetails) SetImageName(v string) *ContainerDetails { s.ImageName = &v return s } // SetLaunchedAt sets the LaunchedAt field's value. func (s *ContainerDetails) SetLaunchedAt(v string) *ContainerDetails { s.LaunchedAt = &v return s } // SetName sets the Name field's value. func (s *ContainerDetails) SetName(v string) *ContainerDetails { s.Name = &v return s } // SetPrivileged sets the Privileged field's value. func (s *ContainerDetails) SetPrivileged(v bool) *ContainerDetails { s.Privileged = &v return s } // SetVolumeMounts sets the VolumeMounts field's value. func (s *ContainerDetails) SetVolumeMounts(v []*VolumeMount) *ContainerDetails { s.VolumeMounts = v return s } // Information about a country. type Country struct { _ struct{} `type:"structure"` // The 2-letter ISO 3166 country code for the country. CountryCode *string `type:"string"` // The name of the country. CountryName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Country) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Country) GoString() string { return s.String() } // SetCountryCode sets the CountryCode field's value. func (s *Country) SetCountryCode(v string) *Country { s.CountryCode = &v return s } // SetCountryName sets the CountryName field's value. func (s *Country) SetCountryName(v string) *Country { s.CountryName = &v return s } type CreateActionTargetInput struct { _ struct{} `type:"structure"` // The description for the custom action target. // // Description is a required field Description *string `type:"string" required:"true"` // The ID for the custom action target. Can contain up to 20 alphanumeric characters. // // Id is a required field Id *string `type:"string" required:"true"` // The name of the custom action target. Can contain up to 20 characters. // // Name is a required field Name *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateActionTargetInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateActionTargetInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *CreateActionTargetInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateActionTargetInput"} if s.Description == nil { invalidParams.Add(request.NewErrParamRequired("Description")) } if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetDescription sets the Description field's value. func (s *CreateActionTargetInput) SetDescription(v string) *CreateActionTargetInput { s.Description = &v return s } // SetId sets the Id field's value. func (s *CreateActionTargetInput) SetId(v string) *CreateActionTargetInput { s.Id = &v return s } // SetName sets the Name field's value. func (s *CreateActionTargetInput) SetName(v string) *CreateActionTargetInput { s.Name = &v return s } type CreateActionTargetOutput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) for the custom action target. // // ActionTargetArn is a required field ActionTargetArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateActionTargetOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateActionTargetOutput) GoString() string { return s.String() } // SetActionTargetArn sets the ActionTargetArn field's value. func (s *CreateActionTargetOutput) SetActionTargetArn(v string) *CreateActionTargetOutput { s.ActionTargetArn = &v return s } type CreateAutomationRuleInput struct { _ struct{} `type:"structure"` // One or more actions to update finding fields if a finding matches the conditions // specified in Criteria. // // Actions is a required field Actions []*AutomationRulesAction `min:"1" type:"list" required:"true"` // A set of ASFF finding field attributes and corresponding expected values // that Security Hub uses to filter findings. If a rule is enabled and a finding // matches the conditions specified in this parameter, Security Hub applies // the rule action to the finding. // // Criteria is a required field Criteria *AutomationRulesFindingFilters `type:"structure" required:"true"` // A description of the rule. // // Description is a required field Description *string `type:"string" required:"true"` // Specifies whether a rule is the last to be applied with respect to a finding // that matches the rule criteria. This is useful when a finding matches the // criteria for multiple rules, and each rule has different actions. If a rule // is terminal, Security Hub applies the rule action to a finding that matches // the rule criteria and doesn't evaluate other rules for the finding. By default, // a rule isn't terminal. IsTerminal *bool `type:"boolean"` // The name of the rule. // // RuleName is a required field RuleName *string `type:"string" required:"true"` // An integer ranging from 1 to 1000 that represents the order in which the // rule action is applied to findings. Security Hub applies rules with lower // values for this parameter first. // // RuleOrder is a required field RuleOrder *int64 `min:"1" type:"integer" required:"true"` // Whether the rule is active after it is created. If this parameter is equal // to ENABLED, Security Hub starts applying the rule to findings and finding // updates after the rule is created. To change the value of this parameter // after creating a rule, use BatchUpdateAutomationRules (path_to_url RuleStatus *string `type:"string" enum:"RuleStatus"` // User-defined tags associated with an automation rule. Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateAutomationRuleInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateAutomationRuleInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *CreateAutomationRuleInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateAutomationRuleInput"} if s.Actions == nil { invalidParams.Add(request.NewErrParamRequired("Actions")) } if s.Actions != nil && len(s.Actions) < 1 { invalidParams.Add(request.NewErrParamMinLen("Actions", 1)) } if s.Criteria == nil { invalidParams.Add(request.NewErrParamRequired("Criteria")) } if s.Description == nil { invalidParams.Add(request.NewErrParamRequired("Description")) } if s.RuleName == nil { invalidParams.Add(request.NewErrParamRequired("RuleName")) } if s.RuleOrder == nil { invalidParams.Add(request.NewErrParamRequired("RuleOrder")) } if s.RuleOrder != nil && *s.RuleOrder < 1 { invalidParams.Add(request.NewErrParamMinValue("RuleOrder", 1)) } if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } if s.Actions != nil { for i, v := range s.Actions { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetActions sets the Actions field's value. func (s *CreateAutomationRuleInput) SetActions(v []*AutomationRulesAction) *CreateAutomationRuleInput { s.Actions = v return s } // SetCriteria sets the Criteria field's value. func (s *CreateAutomationRuleInput) SetCriteria(v *AutomationRulesFindingFilters) *CreateAutomationRuleInput { s.Criteria = v return s } // SetDescription sets the Description field's value. func (s *CreateAutomationRuleInput) SetDescription(v string) *CreateAutomationRuleInput { s.Description = &v return s } // SetIsTerminal sets the IsTerminal field's value. func (s *CreateAutomationRuleInput) SetIsTerminal(v bool) *CreateAutomationRuleInput { s.IsTerminal = &v return s } // SetRuleName sets the RuleName field's value. func (s *CreateAutomationRuleInput) SetRuleName(v string) *CreateAutomationRuleInput { s.RuleName = &v return s } // SetRuleOrder sets the RuleOrder field's value. func (s *CreateAutomationRuleInput) SetRuleOrder(v int64) *CreateAutomationRuleInput { s.RuleOrder = &v return s } // SetRuleStatus sets the RuleStatus field's value. func (s *CreateAutomationRuleInput) SetRuleStatus(v string) *CreateAutomationRuleInput { s.RuleStatus = &v return s } // SetTags sets the Tags field's value. func (s *CreateAutomationRuleInput) SetTags(v map[string]*string) *CreateAutomationRuleInput { s.Tags = v return s } type CreateAutomationRuleOutput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the automation rule that you created. RuleArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateAutomationRuleOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateAutomationRuleOutput) GoString() string { return s.String() } // SetRuleArn sets the RuleArn field's value. func (s *CreateAutomationRuleOutput) SetRuleArn(v string) *CreateAutomationRuleOutput { s.RuleArn = &v return s } type CreateConfigurationPolicyInput struct { _ struct{} `type:"structure"` // An object that defines how Security Hub is configured. It includes whether // Security Hub is enabled or disabled, a list of enabled security standards, // a list of enabled or disabled security controls, and a list of custom parameter // values for specified controls. If you provide a list of security controls // that are enabled in the configuration policy, Security Hub disables all other // controls (including newly released controls). If you provide a list of security // controls that are disabled in the configuration policy, Security Hub enables // all other controls (including newly released controls). // // ConfigurationPolicy is a required field ConfigurationPolicy *Policy `type:"structure" required:"true"` // The description of the configuration policy. Description *string `type:"string"` // The name of the configuration policy. Alphanumeric characters and the following // ASCII characters are permitted: -, ., !, *, /. // // Name is a required field Name *string `type:"string" required:"true"` // User-defined tags associated with a configuration policy. For more information, // see Tagging Security Hub resources (path_to_url // in the Security Hub user guide. Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateConfigurationPolicyInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateConfigurationPolicyInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *CreateConfigurationPolicyInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateConfigurationPolicyInput"} if s.ConfigurationPolicy == nil { invalidParams.Add(request.NewErrParamRequired("ConfigurationPolicy")) } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } if s.ConfigurationPolicy != nil { if err := s.ConfigurationPolicy.Validate(); err != nil { invalidParams.AddNested("ConfigurationPolicy", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfigurationPolicy sets the ConfigurationPolicy field's value. func (s *CreateConfigurationPolicyInput) SetConfigurationPolicy(v *Policy) *CreateConfigurationPolicyInput { s.ConfigurationPolicy = v return s } // SetDescription sets the Description field's value. func (s *CreateConfigurationPolicyInput) SetDescription(v string) *CreateConfigurationPolicyInput { s.Description = &v return s } // SetName sets the Name field's value. func (s *CreateConfigurationPolicyInput) SetName(v string) *CreateConfigurationPolicyInput { s.Name = &v return s } // SetTags sets the Tags field's value. func (s *CreateConfigurationPolicyInput) SetTags(v map[string]*string) *CreateConfigurationPolicyInput { s.Tags = v return s } type CreateConfigurationPolicyOutput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the configuration policy. Arn *string `type:"string"` // An object that defines how Security Hub is configured. It includes whether // Security Hub is enabled or disabled, a list of enabled security standards, // a list of enabled or disabled security controls, and a list of custom parameter // values for specified controls. If the request included a list of security // controls that are enabled in the configuration policy, Security Hub disables // all other controls (including newly released controls). If the request included // a list of security controls that are disabled in the configuration policy, // Security Hub enables all other controls (including newly released controls). ConfigurationPolicy *Policy `type:"structure"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // was created. CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The description of the configuration policy. Description *string `type:"string"` // The universally unique identifier (UUID) of the configuration policy. Id *string `type:"string"` // The name of the configuration policy. Name *string `type:"string"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateConfigurationPolicyOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateConfigurationPolicyOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *CreateConfigurationPolicyOutput) SetArn(v string) *CreateConfigurationPolicyOutput { s.Arn = &v return s } // SetConfigurationPolicy sets the ConfigurationPolicy field's value. func (s *CreateConfigurationPolicyOutput) SetConfigurationPolicy(v *Policy) *CreateConfigurationPolicyOutput { s.ConfigurationPolicy = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *CreateConfigurationPolicyOutput) SetCreatedAt(v time.Time) *CreateConfigurationPolicyOutput { s.CreatedAt = &v return s } // SetDescription sets the Description field's value. func (s *CreateConfigurationPolicyOutput) SetDescription(v string) *CreateConfigurationPolicyOutput { s.Description = &v return s } // SetId sets the Id field's value. func (s *CreateConfigurationPolicyOutput) SetId(v string) *CreateConfigurationPolicyOutput { s.Id = &v return s } // SetName sets the Name field's value. func (s *CreateConfigurationPolicyOutput) SetName(v string) *CreateConfigurationPolicyOutput { s.Name = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *CreateConfigurationPolicyOutput) SetUpdatedAt(v time.Time) *CreateConfigurationPolicyOutput { s.UpdatedAt = &v return s } type CreateFindingAggregatorInput struct { _ struct{} `type:"structure"` // Indicates whether to aggregate findings from all of the available Regions // in the current partition. Also determines whether to automatically aggregate // findings from new Regions as Security Hub supports them and you opt into // them. // // The selected option also determines how to use the Regions provided in the // Regions list. // // The options are as follows: // // * ALL_REGIONS - Indicates to aggregate findings from all of the Regions // where Security Hub is enabled. When you choose this option, Security Hub // also automatically aggregates findings from new Regions as Security Hub // supports them and you opt into them. // // * ALL_REGIONS_EXCEPT_SPECIFIED - Indicates to aggregate findings from // all of the Regions where Security Hub is enabled, except for the Regions // listed in the Regions parameter. When you choose this option, Security // Hub also automatically aggregates findings from new Regions as Security // Hub supports them and you opt into them. // // * SPECIFIED_REGIONS - Indicates to aggregate findings only from the Regions // listed in the Regions parameter. Security Hub does not automatically aggregate // findings from new Regions. // // RegionLinkingMode is a required field RegionLinkingMode *string `type:"string" required:"true"` // If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated // list of Regions that do not aggregate findings to the aggregation Region. // // If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated // list of Regions that do aggregate findings to the aggregation Region. Regions []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateFindingAggregatorInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateFindingAggregatorInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *CreateFindingAggregatorInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateFindingAggregatorInput"} if s.RegionLinkingMode == nil { invalidParams.Add(request.NewErrParamRequired("RegionLinkingMode")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetRegionLinkingMode sets the RegionLinkingMode field's value. func (s *CreateFindingAggregatorInput) SetRegionLinkingMode(v string) *CreateFindingAggregatorInput { s.RegionLinkingMode = &v return s } // SetRegions sets the Regions field's value. func (s *CreateFindingAggregatorInput) SetRegions(v []*string) *CreateFindingAggregatorInput { s.Regions = v return s } type CreateFindingAggregatorOutput struct { _ struct{} `type:"structure"` // The aggregation Region. FindingAggregationRegion *string `type:"string"` // The ARN of the finding aggregator. You use the finding aggregator ARN to // retrieve details for, update, and stop finding aggregation. FindingAggregatorArn *string `type:"string"` // Indicates whether to link all Regions, all Regions except for a list of excluded // Regions, or a list of included Regions. RegionLinkingMode *string `type:"string"` // The list of excluded Regions or included Regions. Regions []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateFindingAggregatorOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateFindingAggregatorOutput) GoString() string { return s.String() } // SetFindingAggregationRegion sets the FindingAggregationRegion field's value. func (s *CreateFindingAggregatorOutput) SetFindingAggregationRegion(v string) *CreateFindingAggregatorOutput { s.FindingAggregationRegion = &v return s } // SetFindingAggregatorArn sets the FindingAggregatorArn field's value. func (s *CreateFindingAggregatorOutput) SetFindingAggregatorArn(v string) *CreateFindingAggregatorOutput { s.FindingAggregatorArn = &v return s } // SetRegionLinkingMode sets the RegionLinkingMode field's value. func (s *CreateFindingAggregatorOutput) SetRegionLinkingMode(v string) *CreateFindingAggregatorOutput { s.RegionLinkingMode = &v return s } // SetRegions sets the Regions field's value. func (s *CreateFindingAggregatorOutput) SetRegions(v []*string) *CreateFindingAggregatorOutput { s.Regions = v return s } type CreateInsightInput struct { _ struct{} `type:"structure"` // One or more attributes used to filter the findings included in the insight. // The insight only includes findings that match the criteria defined in the // filters. // // Filters is a required field Filters *AwsSecurityFindingFilters `type:"structure" required:"true"` // The attribute used to group the findings for the insight. The grouping attribute // identifies the type of item that the insight applies to. For example, if // an insight is grouped by resource identifier, then the insight produces a // list of resource identifiers. // // GroupByAttribute is a required field GroupByAttribute *string `type:"string" required:"true"` // The name of the custom insight to create. // // Name is a required field Name *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateInsightInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateInsightInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *CreateInsightInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateInsightInput"} if s.Filters == nil { invalidParams.Add(request.NewErrParamRequired("Filters")) } if s.GroupByAttribute == nil { invalidParams.Add(request.NewErrParamRequired("GroupByAttribute")) } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFilters sets the Filters field's value. func (s *CreateInsightInput) SetFilters(v *AwsSecurityFindingFilters) *CreateInsightInput { s.Filters = v return s } // SetGroupByAttribute sets the GroupByAttribute field's value. func (s *CreateInsightInput) SetGroupByAttribute(v string) *CreateInsightInput { s.GroupByAttribute = &v return s } // SetName sets the Name field's value. func (s *CreateInsightInput) SetName(v string) *CreateInsightInput { s.Name = &v return s } type CreateInsightOutput struct { _ struct{} `type:"structure"` // The ARN of the insight created. // // InsightArn is a required field InsightArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateInsightOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateInsightOutput) GoString() string { return s.String() } // SetInsightArn sets the InsightArn field's value. func (s *CreateInsightOutput) SetInsightArn(v string) *CreateInsightOutput { s.InsightArn = &v return s } type CreateMembersInput struct { _ struct{} `type:"structure"` // The list of accounts to associate with the Security Hub administrator account. // For each account, the list includes the account ID and optionally the email // address. // // AccountDetails is a required field AccountDetails []*AccountDetails `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateMembersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateMembersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *CreateMembersInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateMembersInput"} if s.AccountDetails == nil { invalidParams.Add(request.NewErrParamRequired("AccountDetails")) } if s.AccountDetails != nil { for i, v := range s.AccountDetails { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AccountDetails", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountDetails sets the AccountDetails field's value. func (s *CreateMembersInput) SetAccountDetails(v []*AccountDetails) *CreateMembersInput { s.AccountDetails = v return s } type CreateMembersOutput struct { _ struct{} `type:"structure"` // The list of Amazon Web Services accounts that were not processed. For each // account, the list includes the account ID and the email address. UnprocessedAccounts []*Result `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateMembersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CreateMembersOutput) GoString() string { return s.String() } // SetUnprocessedAccounts sets the UnprocessedAccounts field's value. func (s *CreateMembersOutput) SetUnprocessedAccounts(v []*Result) *CreateMembersOutput { s.UnprocessedAccounts = v return s } // The list of detected instances of sensitive data. type CustomDataIdentifiersDetections struct { _ struct{} `type:"structure"` // The ARN of the custom identifier that was used to detect the sensitive data. Arn *string `type:"string"` // The total number of occurrences of sensitive data that were detected. Count *int64 `type:"long"` // he name of the custom identifier that detected the sensitive data. Name *string `type:"string"` // Details about the sensitive data that was detected. Occurrences *Occurrences `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CustomDataIdentifiersDetections) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CustomDataIdentifiersDetections) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *CustomDataIdentifiersDetections) SetArn(v string) *CustomDataIdentifiersDetections { s.Arn = &v return s } // SetCount sets the Count field's value. func (s *CustomDataIdentifiersDetections) SetCount(v int64) *CustomDataIdentifiersDetections { s.Count = &v return s } // SetName sets the Name field's value. func (s *CustomDataIdentifiersDetections) SetName(v string) *CustomDataIdentifiersDetections { s.Name = &v return s } // SetOccurrences sets the Occurrences field's value. func (s *CustomDataIdentifiersDetections) SetOccurrences(v *Occurrences) *CustomDataIdentifiersDetections { s.Occurrences = v return s } // Contains an instance of sensitive data that was detected by a customer-defined // identifier. type CustomDataIdentifiersResult struct { _ struct{} `type:"structure"` // The list of detected instances of sensitive data. Detections []*CustomDataIdentifiersDetections `type:"list"` // The total number of occurrences of sensitive data. TotalCount *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CustomDataIdentifiersResult) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s CustomDataIdentifiersResult) GoString() string { return s.String() } // SetDetections sets the Detections field's value. func (s *CustomDataIdentifiersResult) SetDetections(v []*CustomDataIdentifiersDetections) *CustomDataIdentifiersResult { s.Detections = v return s } // SetTotalCount sets the TotalCount field's value. func (s *CustomDataIdentifiersResult) SetTotalCount(v int64) *CustomDataIdentifiersResult { s.TotalCount = &v return s } // CVSS scores from the advisory related to the vulnerability. type Cvss struct { _ struct{} `type:"structure"` // Adjustments to the CVSS metrics. Adjustments []*Adjustment `type:"list"` // The base CVSS score. BaseScore *float64 `type:"double"` // The base scoring vector for the CVSS score. BaseVector *string `type:"string"` // The origin of the original CVSS score and vector. Source *string `type:"string"` // The version of CVSS for the CVSS score. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Cvss) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Cvss) GoString() string { return s.String() } // SetAdjustments sets the Adjustments field's value. func (s *Cvss) SetAdjustments(v []*Adjustment) *Cvss { s.Adjustments = v return s } // SetBaseScore sets the BaseScore field's value. func (s *Cvss) SetBaseScore(v float64) *Cvss { s.BaseScore = &v return s } // SetBaseVector sets the BaseVector field's value. func (s *Cvss) SetBaseVector(v string) *Cvss { s.BaseVector = &v return s } // SetSource sets the Source field's value. func (s *Cvss) SetSource(v string) *Cvss { s.Source = &v return s } // SetVersion sets the Version field's value. func (s *Cvss) SetVersion(v string) *Cvss { s.Version = &v return s } // Provides details about sensitive data that was detected on a resource. type DataClassificationDetails struct { _ struct{} `type:"structure"` // The path to the folder or file that contains the sensitive data. DetailedResultsLocation *string `type:"string"` // The details about the sensitive data that was detected on the resource. Result *ClassificationResult `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DataClassificationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DataClassificationDetails) GoString() string { return s.String() } // SetDetailedResultsLocation sets the DetailedResultsLocation field's value. func (s *DataClassificationDetails) SetDetailedResultsLocation(v string) *DataClassificationDetails { s.DetailedResultsLocation = &v return s } // SetResult sets the Result field's value. func (s *DataClassificationDetails) SetResult(v *ClassificationResult) *DataClassificationDetails { s.Result = v return s } // A date filter for querying findings. type DateFilter struct { _ struct{} `type:"structure"` // A date range for the date filter. DateRange *DateRange `type:"structure"` // A timestamp that provides the end date for the date filter. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) End *string `type:"string"` // A timestamp that provides the start date for the date filter. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) Start *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DateFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DateFilter) GoString() string { return s.String() } // SetDateRange sets the DateRange field's value. func (s *DateFilter) SetDateRange(v *DateRange) *DateFilter { s.DateRange = v return s } // SetEnd sets the End field's value. func (s *DateFilter) SetEnd(v string) *DateFilter { s.End = &v return s } // SetStart sets the Start field's value. func (s *DateFilter) SetStart(v string) *DateFilter { s.Start = &v return s } // A date range for the date filter. type DateRange struct { _ struct{} `type:"structure"` // A date range unit for the date filter. Unit *string `type:"string" enum:"DateRangeUnit"` // A date range value for the date filter. Value *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DateRange) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DateRange) GoString() string { return s.String() } // SetUnit sets the Unit field's value. func (s *DateRange) SetUnit(v string) *DateRange { s.Unit = &v return s } // SetValue sets the Value field's value. func (s *DateRange) SetValue(v int64) *DateRange { s.Value = &v return s } type DeclineInvitationsInput struct { _ struct{} `type:"structure"` // The list of prospective member account IDs for which to decline an invitation. // // AccountIds is a required field AccountIds []*string `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeclineInvitationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeclineInvitationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DeclineInvitationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeclineInvitationsInput"} if s.AccountIds == nil { invalidParams.Add(request.NewErrParamRequired("AccountIds")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountIds sets the AccountIds field's value. func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitationsInput { s.AccountIds = v return s } type DeclineInvitationsOutput struct { _ struct{} `type:"structure"` // The list of Amazon Web Services accounts that were not processed. For each // account, the list includes the account ID and the email address. UnprocessedAccounts []*Result `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeclineInvitationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeclineInvitationsOutput) GoString() string { return s.String() } // SetUnprocessedAccounts sets the UnprocessedAccounts field's value. func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*Result) *DeclineInvitationsOutput { s.UnprocessedAccounts = v return s } type DeleteActionTargetInput struct { _ struct{} `type:"structure" nopayload:"true"` // The Amazon Resource Name (ARN) of the custom action target to delete. // // ActionTargetArn is a required field ActionTargetArn *string `location:"uri" locationName:"ActionTargetArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteActionTargetInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteActionTargetInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DeleteActionTargetInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeleteActionTargetInput"} if s.ActionTargetArn == nil { invalidParams.Add(request.NewErrParamRequired("ActionTargetArn")) } if s.ActionTargetArn != nil && len(*s.ActionTargetArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("ActionTargetArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetActionTargetArn sets the ActionTargetArn field's value. func (s *DeleteActionTargetInput) SetActionTargetArn(v string) *DeleteActionTargetInput { s.ActionTargetArn = &v return s } type DeleteActionTargetOutput struct { _ struct{} `type:"structure"` // The ARN of the custom action target that was deleted. // // ActionTargetArn is a required field ActionTargetArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteActionTargetOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteActionTargetOutput) GoString() string { return s.String() } // SetActionTargetArn sets the ActionTargetArn field's value. func (s *DeleteActionTargetOutput) SetActionTargetArn(v string) *DeleteActionTargetOutput { s.ActionTargetArn = &v return s } type DeleteConfigurationPolicyInput struct { _ struct{} `type:"structure" nopayload:"true"` // The Amazon Resource Name (ARN) or universally unique identifier (UUID) of // the configuration policy. // // Identifier is a required field Identifier *string `location:"uri" locationName:"Identifier" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteConfigurationPolicyInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteConfigurationPolicyInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DeleteConfigurationPolicyInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeleteConfigurationPolicyInput"} if s.Identifier == nil { invalidParams.Add(request.NewErrParamRequired("Identifier")) } if s.Identifier != nil && len(*s.Identifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetIdentifier sets the Identifier field's value. func (s *DeleteConfigurationPolicyInput) SetIdentifier(v string) *DeleteConfigurationPolicyInput { s.Identifier = &v return s } type DeleteConfigurationPolicyOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteConfigurationPolicyOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteConfigurationPolicyOutput) GoString() string { return s.String() } type DeleteFindingAggregatorInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the finding aggregator to delete. To obtain the ARN, use ListFindingAggregators. // // FindingAggregatorArn is a required field FindingAggregatorArn *string `location:"uri" locationName:"FindingAggregatorArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteFindingAggregatorInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteFindingAggregatorInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DeleteFindingAggregatorInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeleteFindingAggregatorInput"} if s.FindingAggregatorArn == nil { invalidParams.Add(request.NewErrParamRequired("FindingAggregatorArn")) } if s.FindingAggregatorArn != nil && len(*s.FindingAggregatorArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("FindingAggregatorArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFindingAggregatorArn sets the FindingAggregatorArn field's value. func (s *DeleteFindingAggregatorInput) SetFindingAggregatorArn(v string) *DeleteFindingAggregatorInput { s.FindingAggregatorArn = &v return s } type DeleteFindingAggregatorOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteFindingAggregatorOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteFindingAggregatorOutput) GoString() string { return s.String() } type DeleteInsightInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the insight to delete. // // InsightArn is a required field InsightArn *string `location:"uri" locationName:"InsightArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInsightInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInsightInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DeleteInsightInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeleteInsightInput"} if s.InsightArn == nil { invalidParams.Add(request.NewErrParamRequired("InsightArn")) } if s.InsightArn != nil && len(*s.InsightArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("InsightArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetInsightArn sets the InsightArn field's value. func (s *DeleteInsightInput) SetInsightArn(v string) *DeleteInsightInput { s.InsightArn = &v return s } type DeleteInsightOutput struct { _ struct{} `type:"structure"` // The ARN of the insight that was deleted. // // InsightArn is a required field InsightArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInsightOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInsightOutput) GoString() string { return s.String() } // SetInsightArn sets the InsightArn field's value. func (s *DeleteInsightOutput) SetInsightArn(v string) *DeleteInsightOutput { s.InsightArn = &v return s } type DeleteInvitationsInput struct { _ struct{} `type:"structure"` // The list of member account IDs that received the invitations you want to // delete. // // AccountIds is a required field AccountIds []*string `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInvitationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInvitationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DeleteInvitationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeleteInvitationsInput"} if s.AccountIds == nil { invalidParams.Add(request.NewErrParamRequired("AccountIds")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountIds sets the AccountIds field's value. func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsInput { s.AccountIds = v return s } type DeleteInvitationsOutput struct { _ struct{} `type:"structure"` // The list of Amazon Web Services accounts for which the invitations were not // deleted. For each account, the list includes the account ID and the email // address. UnprocessedAccounts []*Result `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInvitationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteInvitationsOutput) GoString() string { return s.String() } // SetUnprocessedAccounts sets the UnprocessedAccounts field's value. func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []*Result) *DeleteInvitationsOutput { s.UnprocessedAccounts = v return s } type DeleteMembersInput struct { _ struct{} `type:"structure"` // The list of account IDs for the member accounts to delete. // // AccountIds is a required field AccountIds []*string `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteMembersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteMembersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DeleteMembersInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DeleteMembersInput"} if s.AccountIds == nil { invalidParams.Add(request.NewErrParamRequired("AccountIds")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountIds sets the AccountIds field's value. func (s *DeleteMembersInput) SetAccountIds(v []*string) *DeleteMembersInput { s.AccountIds = v return s } type DeleteMembersOutput struct { _ struct{} `type:"structure"` // The list of Amazon Web Services accounts that were not deleted. For each // account, the list includes the account ID and the email address. UnprocessedAccounts []*Result `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteMembersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DeleteMembersOutput) GoString() string { return s.String() } // SetUnprocessedAccounts sets the UnprocessedAccounts field's value. func (s *DeleteMembersOutput) SetUnprocessedAccounts(v []*Result) *DeleteMembersOutput { s.UnprocessedAccounts = v return s } type DescribeActionTargetsInput struct { _ struct{} `type:"structure"` // A list of custom action target ARNs for the custom action targets to retrieve. ActionTargetArns []*string `type:"list"` // The maximum number of results to return. MaxResults *int64 `min:"1" type:"integer"` // The token that is required for pagination. On your first call to the DescribeActionTargets // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeActionTargetsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeActionTargetsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DescribeActionTargetsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DescribeActionTargetsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetActionTargetArns sets the ActionTargetArns field's value. func (s *DescribeActionTargetsInput) SetActionTargetArns(v []*string) *DescribeActionTargetsInput { s.ActionTargetArns = v return s } // SetMaxResults sets the MaxResults field's value. func (s *DescribeActionTargetsInput) SetMaxResults(v int64) *DescribeActionTargetsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *DescribeActionTargetsInput) SetNextToken(v string) *DescribeActionTargetsInput { s.NextToken = &v return s } type DescribeActionTargetsOutput struct { _ struct{} `type:"structure"` // A list of ActionTarget objects. Each object includes the ActionTargetArn, // Description, and Name of a custom action target available in Security Hub. // // ActionTargets is a required field ActionTargets []*ActionTarget `type:"list" required:"true"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeActionTargetsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeActionTargetsOutput) GoString() string { return s.String() } // SetActionTargets sets the ActionTargets field's value. func (s *DescribeActionTargetsOutput) SetActionTargets(v []*ActionTarget) *DescribeActionTargetsOutput { s.ActionTargets = v return s } // SetNextToken sets the NextToken field's value. func (s *DescribeActionTargetsOutput) SetNextToken(v string) *DescribeActionTargetsOutput { s.NextToken = &v return s } type DescribeHubInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the Hub resource to retrieve. HubArn *string `location:"querystring" locationName:"HubArn" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeHubInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeHubInput) GoString() string { return s.String() } // SetHubArn sets the HubArn field's value. func (s *DescribeHubInput) SetHubArn(v string) *DescribeHubInput { s.HubArn = &v return s } type DescribeHubOutput struct { _ struct{} `type:"structure"` // Whether to automatically enable new controls when they are added to standards // that are enabled. // // If set to true, then new controls for enabled standards are enabled automatically. // If set to false, then new controls are not enabled. AutoEnableControls *bool `type:"boolean"` // Specifies whether the calling account has consolidated control findings turned // on. If the value for this field is set to SECURITY_CONTROL, Security Hub // generates a single finding for a control check even when the check applies // to multiple enabled standards. // // If the value for this field is set to STANDARD_CONTROL, Security Hub generates // separate findings for a control check when the check applies to multiple // enabled standards. // // The value for this field in a member account matches the value in the administrator // account. For accounts that aren't part of an organization, the default value // of this field is SECURITY_CONTROL if you enabled Security Hub on or after // February 23, 2023. ControlFindingGenerator *string `type:"string" enum:"ControlFindingGenerator"` // The ARN of the Hub resource that was retrieved. HubArn *string `type:"string"` // The date and time when Security Hub was enabled in the account. SubscribedAt *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeHubOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeHubOutput) GoString() string { return s.String() } // SetAutoEnableControls sets the AutoEnableControls field's value. func (s *DescribeHubOutput) SetAutoEnableControls(v bool) *DescribeHubOutput { s.AutoEnableControls = &v return s } // SetControlFindingGenerator sets the ControlFindingGenerator field's value. func (s *DescribeHubOutput) SetControlFindingGenerator(v string) *DescribeHubOutput { s.ControlFindingGenerator = &v return s } // SetHubArn sets the HubArn field's value. func (s *DescribeHubOutput) SetHubArn(v string) *DescribeHubOutput { s.HubArn = &v return s } // SetSubscribedAt sets the SubscribedAt field's value. func (s *DescribeHubOutput) SetSubscribedAt(v string) *DescribeHubOutput { s.SubscribedAt = &v return s } type DescribeOrganizationConfigurationInput struct { _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeOrganizationConfigurationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeOrganizationConfigurationInput) GoString() string { return s.String() } type DescribeOrganizationConfigurationOutput struct { _ struct{} `type:"structure"` // Whether to automatically enable Security Hub in new member accounts when // they join the organization. // // If set to true, then Security Hub is automatically enabled in new accounts. // If set to false, then Security Hub isn't enabled in new accounts automatically. // The default value is false. // // If the ConfigurationType of your organization is set to CENTRAL, then this // field is set to false and can't be changed in the home Region and linked // Regions. However, in that case, the delegated administrator can create a // configuration policy in which Security Hub is enabled and associate the policy // with new organization accounts. AutoEnable *bool `type:"boolean"` // Whether to automatically enable Security Hub default standards (path_to_url // in new member accounts when they join the organization. // // If equal to DEFAULT, then Security Hub default standards are automatically // enabled for new member accounts. If equal to NONE, then default standards // are not automatically enabled for new member accounts. The default value // of this parameter is equal to DEFAULT. // // If the ConfigurationType of your organization is set to CENTRAL, then this // field is set to NONE and can't be changed in the home Region and linked Regions. // However, in that case, the delegated administrator can create a configuration // policy in which specific security standards are enabled and associate the // policy with new organization accounts. AutoEnableStandards *string `type:"string" enum:"AutoEnableStandards"` // Whether the maximum number of allowed member accounts are already associated // with the Security Hub administrator account. MemberAccountLimitReached *bool `type:"boolean"` // Provides information about the way an organization is configured in Security // Hub. OrganizationConfiguration *OrganizationConfiguration `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeOrganizationConfigurationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeOrganizationConfigurationOutput) GoString() string { return s.String() } // SetAutoEnable sets the AutoEnable field's value. func (s *DescribeOrganizationConfigurationOutput) SetAutoEnable(v bool) *DescribeOrganizationConfigurationOutput { s.AutoEnable = &v return s } // SetAutoEnableStandards sets the AutoEnableStandards field's value. func (s *DescribeOrganizationConfigurationOutput) SetAutoEnableStandards(v string) *DescribeOrganizationConfigurationOutput { s.AutoEnableStandards = &v return s } // SetMemberAccountLimitReached sets the MemberAccountLimitReached field's value. func (s *DescribeOrganizationConfigurationOutput) SetMemberAccountLimitReached(v bool) *DescribeOrganizationConfigurationOutput { s.MemberAccountLimitReached = &v return s } // SetOrganizationConfiguration sets the OrganizationConfiguration field's value. func (s *DescribeOrganizationConfigurationOutput) SetOrganizationConfiguration(v *OrganizationConfiguration) *DescribeOrganizationConfigurationOutput { s.OrganizationConfiguration = v return s } type DescribeProductsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of results to return. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token that is required for pagination. On your first call to the DescribeProducts // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The ARN of the integration to return. ProductArn *string `location:"querystring" locationName:"ProductArn" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeProductsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeProductsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DescribeProductsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DescribeProductsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *DescribeProductsInput) SetMaxResults(v int64) *DescribeProductsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *DescribeProductsInput) SetNextToken(v string) *DescribeProductsInput { s.NextToken = &v return s } // SetProductArn sets the ProductArn field's value. func (s *DescribeProductsInput) SetProductArn(v string) *DescribeProductsInput { s.ProductArn = &v return s } type DescribeProductsOutput struct { _ struct{} `type:"structure"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` // A list of products, including details for each product. // // Products is a required field Products []*Product `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeProductsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeProductsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. func (s *DescribeProductsOutput) SetNextToken(v string) *DescribeProductsOutput { s.NextToken = &v return s } // SetProducts sets the Products field's value. func (s *DescribeProductsOutput) SetProducts(v []*Product) *DescribeProductsOutput { s.Products = v return s } type DescribeStandardsControlsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of security standard controls to return. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token that is required for pagination. On your first call to the DescribeStandardsControls // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The ARN of a resource that represents your subscription to a supported standard. // To get the subscription ARNs of the standards you have enabled, use the GetEnabledStandards // operation. // // StandardsSubscriptionArn is a required field StandardsSubscriptionArn *string `location:"uri" locationName:"StandardsSubscriptionArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsControlsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsControlsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DescribeStandardsControlsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DescribeStandardsControlsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if s.StandardsSubscriptionArn == nil { invalidParams.Add(request.NewErrParamRequired("StandardsSubscriptionArn")) } if s.StandardsSubscriptionArn != nil && len(*s.StandardsSubscriptionArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("StandardsSubscriptionArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *DescribeStandardsControlsInput) SetMaxResults(v int64) *DescribeStandardsControlsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *DescribeStandardsControlsInput) SetNextToken(v string) *DescribeStandardsControlsInput { s.NextToken = &v return s } // SetStandardsSubscriptionArn sets the StandardsSubscriptionArn field's value. func (s *DescribeStandardsControlsInput) SetStandardsSubscriptionArn(v string) *DescribeStandardsControlsInput { s.StandardsSubscriptionArn = &v return s } type DescribeStandardsControlsOutput struct { _ struct{} `type:"structure"` // A list of security standards controls. Controls []*StandardsControl `type:"list"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsControlsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsControlsOutput) GoString() string { return s.String() } // SetControls sets the Controls field's value. func (s *DescribeStandardsControlsOutput) SetControls(v []*StandardsControl) *DescribeStandardsControlsOutput { s.Controls = v return s } // SetNextToken sets the NextToken field's value. func (s *DescribeStandardsControlsOutput) SetNextToken(v string) *DescribeStandardsControlsOutput { s.NextToken = &v return s } type DescribeStandardsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of standards to return. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token that is required for pagination. On your first call to the DescribeStandards // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DescribeStandardsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DescribeStandardsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *DescribeStandardsInput) SetMaxResults(v int64) *DescribeStandardsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *DescribeStandardsInput) SetNextToken(v string) *DescribeStandardsInput { s.NextToken = &v return s } type DescribeStandardsOutput struct { _ struct{} `type:"structure"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` // A list of available standards. Standards []*Standard `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DescribeStandardsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. func (s *DescribeStandardsOutput) SetNextToken(v string) *DescribeStandardsOutput { s.NextToken = &v return s } // SetStandards sets the Standards field's value. func (s *DescribeStandardsOutput) SetStandards(v []*Standard) *DescribeStandardsOutput { s.Standards = v return s } type DisableImportFindingsForProductInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the integrated product to disable the integration for. // // ProductSubscriptionArn is a required field ProductSubscriptionArn *string `location:"uri" locationName:"ProductSubscriptionArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableImportFindingsForProductInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableImportFindingsForProductInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DisableImportFindingsForProductInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DisableImportFindingsForProductInput"} if s.ProductSubscriptionArn == nil { invalidParams.Add(request.NewErrParamRequired("ProductSubscriptionArn")) } if s.ProductSubscriptionArn != nil && len(*s.ProductSubscriptionArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("ProductSubscriptionArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetProductSubscriptionArn sets the ProductSubscriptionArn field's value. func (s *DisableImportFindingsForProductInput) SetProductSubscriptionArn(v string) *DisableImportFindingsForProductInput { s.ProductSubscriptionArn = &v return s } type DisableImportFindingsForProductOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableImportFindingsForProductOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableImportFindingsForProductOutput) GoString() string { return s.String() } type DisableOrganizationAdminAccountInput struct { _ struct{} `type:"structure"` // The Amazon Web Services account identifier of the Security Hub administrator // account. // // AdminAccountId is a required field AdminAccountId *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableOrganizationAdminAccountInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableOrganizationAdminAccountInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DisableOrganizationAdminAccountInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DisableOrganizationAdminAccountInput"} if s.AdminAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AdminAccountId")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAdminAccountId sets the AdminAccountId field's value. func (s *DisableOrganizationAdminAccountInput) SetAdminAccountId(v string) *DisableOrganizationAdminAccountInput { s.AdminAccountId = &v return s } type DisableOrganizationAdminAccountOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableOrganizationAdminAccountOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableOrganizationAdminAccountOutput) GoString() string { return s.String() } type DisableSecurityHubInput struct { _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableSecurityHubInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableSecurityHubInput) GoString() string { return s.String() } type DisableSecurityHubOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableSecurityHubOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisableSecurityHubOutput) GoString() string { return s.String() } type DisassociateFromAdministratorAccountInput struct { _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromAdministratorAccountInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromAdministratorAccountInput) GoString() string { return s.String() } type DisassociateFromAdministratorAccountOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromAdministratorAccountOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromAdministratorAccountOutput) GoString() string { return s.String() } type DisassociateFromMasterAccountInput struct { _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromMasterAccountInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromMasterAccountInput) GoString() string { return s.String() } type DisassociateFromMasterAccountOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromMasterAccountOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateFromMasterAccountOutput) GoString() string { return s.String() } type DisassociateMembersInput struct { _ struct{} `type:"structure"` // The account IDs of the member accounts to disassociate from the administrator // account. // // AccountIds is a required field AccountIds []*string `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateMembersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateMembersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *DisassociateMembersInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DisassociateMembersInput"} if s.AccountIds == nil { invalidParams.Add(request.NewErrParamRequired("AccountIds")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountIds sets the AccountIds field's value. func (s *DisassociateMembersInput) SetAccountIds(v []*string) *DisassociateMembersInput { s.AccountIds = v return s } type DisassociateMembersOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateMembersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DisassociateMembersOutput) GoString() string { return s.String() } // Provided if ActionType is DNS_REQUEST. It provides details about the DNS // request that was detected. type DnsRequestAction struct { _ struct{} `type:"structure"` // Indicates whether the DNS request was blocked. Blocked *bool `type:"boolean"` // The DNS domain that is associated with the DNS request. Domain *string `type:"string"` // The protocol that was used for the DNS request. Protocol *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DnsRequestAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DnsRequestAction) GoString() string { return s.String() } // SetBlocked sets the Blocked field's value. func (s *DnsRequestAction) SetBlocked(v bool) *DnsRequestAction { s.Blocked = &v return s } // SetDomain sets the Domain field's value. func (s *DnsRequestAction) SetDomain(v string) *DnsRequestAction { s.Domain = &v return s } // SetProtocol sets the Protocol field's value. func (s *DnsRequestAction) SetProtocol(v string) *DnsRequestAction { s.Protocol = &v return s } // The options for customizing a security control parameter that is a double. type DoubleConfigurationOptions struct { _ struct{} `type:"structure"` // The Security Hub default value for a control parameter that is a double. DefaultValue *float64 `type:"double"` // The maximum valid value for a control parameter that is a double. Max *float64 `type:"double"` // The minimum valid value for a control parameter that is a double. Min *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DoubleConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s DoubleConfigurationOptions) GoString() string { return s.String() } // SetDefaultValue sets the DefaultValue field's value. func (s *DoubleConfigurationOptions) SetDefaultValue(v float64) *DoubleConfigurationOptions { s.DefaultValue = &v return s } // SetMax sets the Max field's value. func (s *DoubleConfigurationOptions) SetMax(v float64) *DoubleConfigurationOptions { s.Max = &v return s } // SetMin sets the Min field's value. func (s *DoubleConfigurationOptions) SetMin(v float64) *DoubleConfigurationOptions { s.Min = &v return s } type EnableImportFindingsForProductInput struct { _ struct{} `type:"structure"` // The ARN of the product to enable the integration for. // // ProductArn is a required field ProductArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableImportFindingsForProductInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableImportFindingsForProductInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *EnableImportFindingsForProductInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "EnableImportFindingsForProductInput"} if s.ProductArn == nil { invalidParams.Add(request.NewErrParamRequired("ProductArn")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetProductArn sets the ProductArn field's value. func (s *EnableImportFindingsForProductInput) SetProductArn(v string) *EnableImportFindingsForProductInput { s.ProductArn = &v return s } type EnableImportFindingsForProductOutput struct { _ struct{} `type:"structure"` // The ARN of your subscription to the product to enable integrations for. ProductSubscriptionArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableImportFindingsForProductOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableImportFindingsForProductOutput) GoString() string { return s.String() } // SetProductSubscriptionArn sets the ProductSubscriptionArn field's value. func (s *EnableImportFindingsForProductOutput) SetProductSubscriptionArn(v string) *EnableImportFindingsForProductOutput { s.ProductSubscriptionArn = &v return s } type EnableOrganizationAdminAccountInput struct { _ struct{} `type:"structure"` // The Amazon Web Services account identifier of the account to designate as // the Security Hub administrator account. // // AdminAccountId is a required field AdminAccountId *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableOrganizationAdminAccountInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableOrganizationAdminAccountInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *EnableOrganizationAdminAccountInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "EnableOrganizationAdminAccountInput"} if s.AdminAccountId == nil { invalidParams.Add(request.NewErrParamRequired("AdminAccountId")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAdminAccountId sets the AdminAccountId field's value. func (s *EnableOrganizationAdminAccountInput) SetAdminAccountId(v string) *EnableOrganizationAdminAccountInput { s.AdminAccountId = &v return s } type EnableOrganizationAdminAccountOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableOrganizationAdminAccountOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableOrganizationAdminAccountOutput) GoString() string { return s.String() } type EnableSecurityHubInput struct { _ struct{} `type:"structure"` // This field, used when enabling Security Hub, specifies whether the calling // account has consolidated control findings turned on. If the value for this // field is set to SECURITY_CONTROL, Security Hub generates a single finding // for a control check even when the check applies to multiple enabled standards. // // If the value for this field is set to STANDARD_CONTROL, Security Hub generates // separate findings for a control check when the check applies to multiple // enabled standards. // // The value for this field in a member account matches the value in the administrator // account. For accounts that aren't part of an organization, the default value // of this field is SECURITY_CONTROL if you enabled Security Hub on or after // February 23, 2023. ControlFindingGenerator *string `type:"string" enum:"ControlFindingGenerator"` // Whether to enable the security standards that Security Hub has designated // as automatically enabled. If you do not provide a value for EnableDefaultStandards, // it is set to true. To not enable the automatically enabled standards, set // EnableDefaultStandards to false. EnableDefaultStandards *bool `type:"boolean"` // The tags to add to the hub resource when you enable Security Hub. Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableSecurityHubInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableSecurityHubInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *EnableSecurityHubInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "EnableSecurityHubInput"} if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetControlFindingGenerator sets the ControlFindingGenerator field's value. func (s *EnableSecurityHubInput) SetControlFindingGenerator(v string) *EnableSecurityHubInput { s.ControlFindingGenerator = &v return s } // SetEnableDefaultStandards sets the EnableDefaultStandards field's value. func (s *EnableSecurityHubInput) SetEnableDefaultStandards(v bool) *EnableSecurityHubInput { s.EnableDefaultStandards = &v return s } // SetTags sets the Tags field's value. func (s *EnableSecurityHubInput) SetTags(v map[string]*string) *EnableSecurityHubInput { s.Tags = v return s } type EnableSecurityHubOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableSecurityHubOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnableSecurityHubOutput) GoString() string { return s.String() } // The options for customizing a security control parameter that is an enum. type EnumConfigurationOptions struct { _ struct{} `type:"structure"` // The valid values for a control parameter that is an enum. AllowedValues []*string `type:"list"` // The Security Hub default value for a control parameter that is an enum. DefaultValue *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnumConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnumConfigurationOptions) GoString() string { return s.String() } // SetAllowedValues sets the AllowedValues field's value. func (s *EnumConfigurationOptions) SetAllowedValues(v []*string) *EnumConfigurationOptions { s.AllowedValues = v return s } // SetDefaultValue sets the DefaultValue field's value. func (s *EnumConfigurationOptions) SetDefaultValue(v string) *EnumConfigurationOptions { s.DefaultValue = &v return s } // The options for customizing a security control parameter that is a list of // enums. type EnumListConfigurationOptions struct { _ struct{} `type:"structure"` // The valid values for a control parameter that is a list of enums. AllowedValues []*string `type:"list"` // The Security Hub default value for a control parameter that is a list of // enums. DefaultValue []*string `type:"list"` // The maximum number of list items that an enum list control parameter can // accept. MaxItems *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnumListConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s EnumListConfigurationOptions) GoString() string { return s.String() } // SetAllowedValues sets the AllowedValues field's value. func (s *EnumListConfigurationOptions) SetAllowedValues(v []*string) *EnumListConfigurationOptions { s.AllowedValues = v return s } // SetDefaultValue sets the DefaultValue field's value. func (s *EnumListConfigurationOptions) SetDefaultValue(v []*string) *EnumListConfigurationOptions { s.DefaultValue = v return s } // SetMaxItems sets the MaxItems field's value. func (s *EnumListConfigurationOptions) SetMaxItems(v int64) *EnumListConfigurationOptions { s.MaxItems = &v return s } // Provides information about the file paths that were affected by the threat. type FilePaths struct { _ struct{} `type:"structure"` // The name of the infected or suspicious file corresponding to the hash. FileName *string `type:"string"` // Path to the infected or suspicious file on the resource it was detected on. FilePath *string `type:"string"` // The hash value for the infected or suspicious file. Hash *string `type:"string"` // The Amazon Resource Name (ARN) of the resource on which the threat was detected. ResourceId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FilePaths) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FilePaths) GoString() string { return s.String() } // SetFileName sets the FileName field's value. func (s *FilePaths) SetFileName(v string) *FilePaths { s.FileName = &v return s } // SetFilePath sets the FilePath field's value. func (s *FilePaths) SetFilePath(v string) *FilePaths { s.FilePath = &v return s } // SetHash sets the Hash field's value. func (s *FilePaths) SetHash(v string) *FilePaths { s.Hash = &v return s } // SetResourceId sets the ResourceId field's value. func (s *FilePaths) SetResourceId(v string) *FilePaths { s.ResourceId = &v return s } // A finding aggregator. A finding aggregator contains the configuration for // finding aggregation. type FindingAggregator struct { _ struct{} `type:"structure"` // The ARN of the finding aggregator. You use the finding aggregator ARN to // retrieve details for, update, and delete the finding aggregator. FindingAggregatorArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingAggregator) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingAggregator) GoString() string { return s.String() } // SetFindingAggregatorArn sets the FindingAggregatorArn field's value. func (s *FindingAggregator) SetFindingAggregatorArn(v string) *FindingAggregator { s.FindingAggregatorArn = &v return s } // A list of events that changed the specified finding during the specified // time period. Each record represents a single finding change event. type FindingHistoryRecord struct { _ struct{} `type:"structure"` // Identifies whether the event marks the creation of a new finding. A value // of True means that the finding is newly created. A value of False means that // the finding isnt newly created. FindingCreated *bool `type:"boolean"` // Identifies which finding to get the finding history for. FindingIdentifier *AwsSecurityFindingIdentifier `type:"structure"` // A token for pagination purposes. Provide this token in the subsequent request // to GetFindingsHistory (path_to_url // to get up to an additional 100 results of history for the same finding that // you specified in your initial request. NextToken *string `type:"string"` // Identifies the source of the event that changed the finding. For example, // an integrated Amazon Web Service or third-party partner integration may call // BatchImportFindings (path_to_url // or an Security Hub customer may call BatchUpdateFindings (path_to_url UpdateSource *FindingHistoryUpdateSource `type:"structure"` // A timestamp that indicates when Security Hub processed the updated finding // record. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) UpdateTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // An array of objects that provides details about the finding change event, // including the Amazon Web Services Security Finding Format (ASFF) field that // changed, the value of the field before the change, and the value of the field // after the change. Updates []*FindingHistoryUpdate `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingHistoryRecord) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingHistoryRecord) GoString() string { return s.String() } // SetFindingCreated sets the FindingCreated field's value. func (s *FindingHistoryRecord) SetFindingCreated(v bool) *FindingHistoryRecord { s.FindingCreated = &v return s } // SetFindingIdentifier sets the FindingIdentifier field's value. func (s *FindingHistoryRecord) SetFindingIdentifier(v *AwsSecurityFindingIdentifier) *FindingHistoryRecord { s.FindingIdentifier = v return s } // SetNextToken sets the NextToken field's value. func (s *FindingHistoryRecord) SetNextToken(v string) *FindingHistoryRecord { s.NextToken = &v return s } // SetUpdateSource sets the UpdateSource field's value. func (s *FindingHistoryRecord) SetUpdateSource(v *FindingHistoryUpdateSource) *FindingHistoryRecord { s.UpdateSource = v return s } // SetUpdateTime sets the UpdateTime field's value. func (s *FindingHistoryRecord) SetUpdateTime(v time.Time) *FindingHistoryRecord { s.UpdateTime = &v return s } // SetUpdates sets the Updates field's value. func (s *FindingHistoryRecord) SetUpdates(v []*FindingHistoryUpdate) *FindingHistoryRecord { s.Updates = v return s } // An array of objects that provides details about a change to a finding, including // the Amazon Web Services Security Finding Format (ASFF) field that changed, // the value of the field before the change, and the value of the field after // the change. type FindingHistoryUpdate struct { _ struct{} `type:"structure"` // The value of the ASFF field after the finding change event. To preserve storage // and readability, Security Hub omits this value if FindingHistoryRecord (path_to_url // exceeds database limits. NewValue *string `type:"string"` // The value of the ASFF field before the finding change event. OldValue *string `type:"string"` // The ASFF field that changed during the finding change event. UpdatedField *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingHistoryUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingHistoryUpdate) GoString() string { return s.String() } // SetNewValue sets the NewValue field's value. func (s *FindingHistoryUpdate) SetNewValue(v string) *FindingHistoryUpdate { s.NewValue = &v return s } // SetOldValue sets the OldValue field's value. func (s *FindingHistoryUpdate) SetOldValue(v string) *FindingHistoryUpdate { s.OldValue = &v return s } // SetUpdatedField sets the UpdatedField field's value. func (s *FindingHistoryUpdate) SetUpdatedField(v string) *FindingHistoryUpdate { s.UpdatedField = &v return s } // Identifies the source of the finding change event. type FindingHistoryUpdateSource struct { _ struct{} `type:"structure"` // The identity of the source that initiated the finding change event. For example, // the Amazon Resource Name (ARN) of a partner that calls BatchImportFindings // or of a customer that calls BatchUpdateFindings. Identity *string `type:"string"` // Describes the type of finding change event, such as a call to BatchImportFindings // (path_to_url // (by an integrated Amazon Web Service or third party partner integration) // or BatchUpdateFindings (path_to_url // (by a Security Hub customer). Type *string `type:"string" enum:"FindingHistoryUpdateSourceType"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingHistoryUpdateSource) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingHistoryUpdateSource) GoString() string { return s.String() } // SetIdentity sets the Identity field's value. func (s *FindingHistoryUpdateSource) SetIdentity(v string) *FindingHistoryUpdateSource { s.Identity = &v return s } // SetType sets the Type field's value. func (s *FindingHistoryUpdateSource) SetType(v string) *FindingHistoryUpdateSource { s.Type = &v return s } // In a BatchImportFindings request, finding providers use FindingProviderFields // to provide and update values for confidence, criticality, related findings, // severity, and types. type FindingProviderFields struct { _ struct{} `type:"structure"` // A finding's confidence. Confidence is defined as the likelihood that a finding // accurately identifies the behavior or issue that it was intended to identify. // // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means // zero percent confidence and 100 means 100 percent confidence. Confidence *int64 `type:"integer"` // The level of importance assigned to the resources associated with the finding. // // A score of 0 means that the underlying resources have no criticality, and // a score of 100 is reserved for the most critical resources. Criticality *int64 `type:"integer"` // A list of findings that are related to the current finding. RelatedFindings []*RelatedFinding `type:"list"` // The severity of a finding. Severity *FindingProviderSeverity `type:"structure"` // One or more finding types in the format of namespace/category/classifier // that classify a finding. // // Valid namespace values are: Software and Configuration Checks | TTPs | Effects // | Unusual Behaviors | Sensitive Data Identifications Types []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingProviderFields) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingProviderFields) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *FindingProviderFields) Validate() error { invalidParams := request.ErrInvalidParams{Context: "FindingProviderFields"} if s.RelatedFindings != nil { for i, v := range s.RelatedFindings { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RelatedFindings", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfidence sets the Confidence field's value. func (s *FindingProviderFields) SetConfidence(v int64) *FindingProviderFields { s.Confidence = &v return s } // SetCriticality sets the Criticality field's value. func (s *FindingProviderFields) SetCriticality(v int64) *FindingProviderFields { s.Criticality = &v return s } // SetRelatedFindings sets the RelatedFindings field's value. func (s *FindingProviderFields) SetRelatedFindings(v []*RelatedFinding) *FindingProviderFields { s.RelatedFindings = v return s } // SetSeverity sets the Severity field's value. func (s *FindingProviderFields) SetSeverity(v *FindingProviderSeverity) *FindingProviderFields { s.Severity = v return s } // SetTypes sets the Types field's value. func (s *FindingProviderFields) SetTypes(v []*string) *FindingProviderFields { s.Types = v return s } // The severity assigned to the finding by the finding provider. type FindingProviderSeverity struct { _ struct{} `type:"structure"` // The severity label assigned to the finding by the finding provider. Label *string `type:"string" enum:"SeverityLabel"` // The finding provider's original value for the severity. Original *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingProviderSeverity) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FindingProviderSeverity) GoString() string { return s.String() } // SetLabel sets the Label field's value. func (s *FindingProviderSeverity) SetLabel(v string) *FindingProviderSeverity { s.Label = &v return s } // SetOriginal sets the Original field's value. func (s *FindingProviderSeverity) SetOriginal(v string) *FindingProviderSeverity { s.Original = &v return s } // Defines the behavior of the firewall. type FirewallPolicyDetails struct { _ struct{} `type:"structure"` // The stateful rule groups that are used in the firewall policy. StatefulRuleGroupReferences []*FirewallPolicyStatefulRuleGroupReferencesDetails `type:"list"` // The custom action definitions that are available to use in the firewall policy's // StatelessDefaultActions setting. StatelessCustomActions []*FirewallPolicyStatelessCustomActionsDetails `type:"list"` // The actions to take on a packet if it doesn't match any of the stateless // rules in the policy. // // You must specify a standard action (aws:pass, aws:drop, aws:forward_to_sfe), // and can optionally include a custom action from StatelessCustomActions. StatelessDefaultActions []*string `type:"list"` // The actions to take on a fragmented UDP packet if it doesn't match any of // the stateless rules in the policy. // // You must specify a standard action (aws:pass, aws:drop, aws:forward_to_sfe), // and can optionally include a custom action from StatelessCustomActions. StatelessFragmentDefaultActions []*string `type:"list"` // The stateless rule groups that are used in the firewall policy. StatelessRuleGroupReferences []*FirewallPolicyStatelessRuleGroupReferencesDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyDetails) GoString() string { return s.String() } // SetStatefulRuleGroupReferences sets the StatefulRuleGroupReferences field's value. func (s *FirewallPolicyDetails) SetStatefulRuleGroupReferences(v []*FirewallPolicyStatefulRuleGroupReferencesDetails) *FirewallPolicyDetails { s.StatefulRuleGroupReferences = v return s } // SetStatelessCustomActions sets the StatelessCustomActions field's value. func (s *FirewallPolicyDetails) SetStatelessCustomActions(v []*FirewallPolicyStatelessCustomActionsDetails) *FirewallPolicyDetails { s.StatelessCustomActions = v return s } // SetStatelessDefaultActions sets the StatelessDefaultActions field's value. func (s *FirewallPolicyDetails) SetStatelessDefaultActions(v []*string) *FirewallPolicyDetails { s.StatelessDefaultActions = v return s } // SetStatelessFragmentDefaultActions sets the StatelessFragmentDefaultActions field's value. func (s *FirewallPolicyDetails) SetStatelessFragmentDefaultActions(v []*string) *FirewallPolicyDetails { s.StatelessFragmentDefaultActions = v return s } // SetStatelessRuleGroupReferences sets the StatelessRuleGroupReferences field's value. func (s *FirewallPolicyDetails) SetStatelessRuleGroupReferences(v []*FirewallPolicyStatelessRuleGroupReferencesDetails) *FirewallPolicyDetails { s.StatelessRuleGroupReferences = v return s } // A stateful rule group that is used by the firewall policy. type FirewallPolicyStatefulRuleGroupReferencesDetails struct { _ struct{} `type:"structure"` // The ARN of the stateful rule group. ResourceArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyStatefulRuleGroupReferencesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyStatefulRuleGroupReferencesDetails) GoString() string { return s.String() } // SetResourceArn sets the ResourceArn field's value. func (s *FirewallPolicyStatefulRuleGroupReferencesDetails) SetResourceArn(v string) *FirewallPolicyStatefulRuleGroupReferencesDetails { s.ResourceArn = &v return s } // A custom action that can be used for stateless packet handling. type FirewallPolicyStatelessCustomActionsDetails struct { _ struct{} `type:"structure"` // The definition of the custom action. ActionDefinition *StatelessCustomActionDefinition `type:"structure"` // The name of the custom action. ActionName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyStatelessCustomActionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyStatelessCustomActionsDetails) GoString() string { return s.String() } // SetActionDefinition sets the ActionDefinition field's value. func (s *FirewallPolicyStatelessCustomActionsDetails) SetActionDefinition(v *StatelessCustomActionDefinition) *FirewallPolicyStatelessCustomActionsDetails { s.ActionDefinition = v return s } // SetActionName sets the ActionName field's value. func (s *FirewallPolicyStatelessCustomActionsDetails) SetActionName(v string) *FirewallPolicyStatelessCustomActionsDetails { s.ActionName = &v return s } // A stateless rule group that is used by the firewall policy. type FirewallPolicyStatelessRuleGroupReferencesDetails struct { _ struct{} `type:"structure"` // The order in which to run the stateless rule group. Priority *int64 `type:"integer"` // The ARN of the stateless rule group. ResourceArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyStatelessRuleGroupReferencesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s FirewallPolicyStatelessRuleGroupReferencesDetails) GoString() string { return s.String() } // SetPriority sets the Priority field's value. func (s *FirewallPolicyStatelessRuleGroupReferencesDetails) SetPriority(v int64) *FirewallPolicyStatelessRuleGroupReferencesDetails { s.Priority = &v return s } // SetResourceArn sets the ResourceArn field's value. func (s *FirewallPolicyStatelessRuleGroupReferencesDetails) SetResourceArn(v string) *FirewallPolicyStatelessRuleGroupReferencesDetails { s.ResourceArn = &v return s } // Provides metadata for the Amazon CodeGuru detector associated with a finding. // This field pertains to findings that relate to Lambda functions. Amazon Inspector // identifies policy violations and vulnerabilities in Lambda function code // based on internal detectors developed in collaboration with Amazon CodeGuru. // Security Hub receives those findings. type GeneratorDetails struct { _ struct{} `type:"structure"` // The description of the detector used to identify the code vulnerability. Description *string `type:"string"` // An array of tags used to identify the detector associated with the finding. Labels []*string `type:"list"` // The name of the detector used to identify the code vulnerability. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GeneratorDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GeneratorDetails) GoString() string { return s.String() } // SetDescription sets the Description field's value. func (s *GeneratorDetails) SetDescription(v string) *GeneratorDetails { s.Description = &v return s } // SetLabels sets the Labels field's value. func (s *GeneratorDetails) SetLabels(v []*string) *GeneratorDetails { s.Labels = v return s } // SetName sets the Name field's value. func (s *GeneratorDetails) SetName(v string) *GeneratorDetails { s.Name = &v return s } // Provides the latitude and longitude coordinates of a location. type GeoLocation struct { _ struct{} `type:"structure"` // The latitude of the location. Lat *float64 `type:"double"` // The longitude of the location. Lon *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GeoLocation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GeoLocation) GoString() string { return s.String() } // SetLat sets the Lat field's value. func (s *GeoLocation) SetLat(v float64) *GeoLocation { s.Lat = &v return s } // SetLon sets the Lon field's value. func (s *GeoLocation) SetLon(v float64) *GeoLocation { s.Lon = &v return s } type GetAdministratorAccountInput struct { _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetAdministratorAccountInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetAdministratorAccountInput) GoString() string { return s.String() } type GetAdministratorAccountOutput struct { _ struct{} `type:"structure"` // Details about an invitation. Administrator *Invitation `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetAdministratorAccountOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetAdministratorAccountOutput) GoString() string { return s.String() } // SetAdministrator sets the Administrator field's value. func (s *GetAdministratorAccountOutput) SetAdministrator(v *Invitation) *GetAdministratorAccountOutput { s.Administrator = v return s } type GetConfigurationPolicyAssociationInput struct { _ struct{} `type:"structure"` // The target account ID, organizational unit ID, or the root ID to retrieve // the association for. // // Target is a required field Target *Target `type:"structure" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyAssociationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyAssociationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetConfigurationPolicyAssociationInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetConfigurationPolicyAssociationInput"} if s.Target == nil { invalidParams.Add(request.NewErrParamRequired("Target")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetTarget sets the Target field's value. func (s *GetConfigurationPolicyAssociationInput) SetTarget(v *Target) *GetConfigurationPolicyAssociationInput { s.Target = v return s } type GetConfigurationPolicyAssociationOutput struct { _ struct{} `type:"structure"` // The current status of the association between the specified target and the // configuration. AssociationStatus *string `type:"string" enum:"ConfigurationPolicyAssociationStatus"` // The explanation for a FAILED value for AssociationStatus. AssociationStatusMessage *string `type:"string"` // Indicates whether the association between the specified target and the configuration // was directly applied by the Security Hub delegated administrator or inherited // from a parent. AssociationType *string `type:"string" enum:"AssociationType"` // The universally unique identifier (UUID) of a configuration policy. For self-managed // behavior, the value is SELF_MANAGED_SECURITY_HUB. ConfigurationPolicyId *string `type:"string"` // The target account ID, organizational unit ID, or the root ID for which the // association is retrieved. TargetId *string `type:"string"` // Specifies whether the target is an Amazon Web Services account, organizational // unit, or the organization root. TargetType *string `type:"string" enum:"TargetType"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // association was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyAssociationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyAssociationOutput) GoString() string { return s.String() } // SetAssociationStatus sets the AssociationStatus field's value. func (s *GetConfigurationPolicyAssociationOutput) SetAssociationStatus(v string) *GetConfigurationPolicyAssociationOutput { s.AssociationStatus = &v return s } // SetAssociationStatusMessage sets the AssociationStatusMessage field's value. func (s *GetConfigurationPolicyAssociationOutput) SetAssociationStatusMessage(v string) *GetConfigurationPolicyAssociationOutput { s.AssociationStatusMessage = &v return s } // SetAssociationType sets the AssociationType field's value. func (s *GetConfigurationPolicyAssociationOutput) SetAssociationType(v string) *GetConfigurationPolicyAssociationOutput { s.AssociationType = &v return s } // SetConfigurationPolicyId sets the ConfigurationPolicyId field's value. func (s *GetConfigurationPolicyAssociationOutput) SetConfigurationPolicyId(v string) *GetConfigurationPolicyAssociationOutput { s.ConfigurationPolicyId = &v return s } // SetTargetId sets the TargetId field's value. func (s *GetConfigurationPolicyAssociationOutput) SetTargetId(v string) *GetConfigurationPolicyAssociationOutput { s.TargetId = &v return s } // SetTargetType sets the TargetType field's value. func (s *GetConfigurationPolicyAssociationOutput) SetTargetType(v string) *GetConfigurationPolicyAssociationOutput { s.TargetType = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *GetConfigurationPolicyAssociationOutput) SetUpdatedAt(v time.Time) *GetConfigurationPolicyAssociationOutput { s.UpdatedAt = &v return s } type GetConfigurationPolicyInput struct { _ struct{} `type:"structure" nopayload:"true"` // The Amazon Resource Name (ARN) or universally unique identifier (UUID) of // the configuration policy. // // Identifier is a required field Identifier *string `location:"uri" locationName:"Identifier" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetConfigurationPolicyInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetConfigurationPolicyInput"} if s.Identifier == nil { invalidParams.Add(request.NewErrParamRequired("Identifier")) } if s.Identifier != nil && len(*s.Identifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetIdentifier sets the Identifier field's value. func (s *GetConfigurationPolicyInput) SetIdentifier(v string) *GetConfigurationPolicyInput { s.Identifier = &v return s } type GetConfigurationPolicyOutput struct { _ struct{} `type:"structure"` // The ARN of the configuration policy. Arn *string `type:"string"` // An object that defines how Security Hub is configured. It includes whether // Security Hub is enabled or disabled, a list of enabled security standards, // a list of enabled or disabled security controls, and a list of custom parameter // values for specified controls. If the policy includes a list of security // controls that are enabled, Security Hub disables all other controls (including // newly released controls). If the policy includes a list of security controls // that are disabled, Security Hub enables all other controls (including newly // released controls). ConfigurationPolicy *Policy `type:"structure"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // was created. CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The description of the configuration policy. Description *string `type:"string"` // The UUID of the configuration policy. Id *string `type:"string"` // The name of the configuration policy. Name *string `type:"string"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetConfigurationPolicyOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *GetConfigurationPolicyOutput) SetArn(v string) *GetConfigurationPolicyOutput { s.Arn = &v return s } // SetConfigurationPolicy sets the ConfigurationPolicy field's value. func (s *GetConfigurationPolicyOutput) SetConfigurationPolicy(v *Policy) *GetConfigurationPolicyOutput { s.ConfigurationPolicy = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *GetConfigurationPolicyOutput) SetCreatedAt(v time.Time) *GetConfigurationPolicyOutput { s.CreatedAt = &v return s } // SetDescription sets the Description field's value. func (s *GetConfigurationPolicyOutput) SetDescription(v string) *GetConfigurationPolicyOutput { s.Description = &v return s } // SetId sets the Id field's value. func (s *GetConfigurationPolicyOutput) SetId(v string) *GetConfigurationPolicyOutput { s.Id = &v return s } // SetName sets the Name field's value. func (s *GetConfigurationPolicyOutput) SetName(v string) *GetConfigurationPolicyOutput { s.Name = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *GetConfigurationPolicyOutput) SetUpdatedAt(v time.Time) *GetConfigurationPolicyOutput { s.UpdatedAt = &v return s } type GetEnabledStandardsInput struct { _ struct{} `type:"structure"` // The maximum number of results to return in the response. MaxResults *int64 `min:"1" type:"integer"` // The token that is required for pagination. On your first call to the GetEnabledStandards // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `type:"string"` // The list of the standards subscription ARNs for the standards to retrieve. StandardsSubscriptionArns []*string `min:"1" type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetEnabledStandardsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetEnabledStandardsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetEnabledStandardsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetEnabledStandardsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if s.StandardsSubscriptionArns != nil && len(s.StandardsSubscriptionArns) < 1 { invalidParams.Add(request.NewErrParamMinLen("StandardsSubscriptionArns", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *GetEnabledStandardsInput) SetMaxResults(v int64) *GetEnabledStandardsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *GetEnabledStandardsInput) SetNextToken(v string) *GetEnabledStandardsInput { s.NextToken = &v return s } // SetStandardsSubscriptionArns sets the StandardsSubscriptionArns field's value. func (s *GetEnabledStandardsInput) SetStandardsSubscriptionArns(v []*string) *GetEnabledStandardsInput { s.StandardsSubscriptionArns = v return s } type GetEnabledStandardsOutput struct { _ struct{} `type:"structure"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` // The list of StandardsSubscriptions objects that include information about // the enabled standards. StandardsSubscriptions []*StandardsSubscription `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetEnabledStandardsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetEnabledStandardsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. func (s *GetEnabledStandardsOutput) SetNextToken(v string) *GetEnabledStandardsOutput { s.NextToken = &v return s } // SetStandardsSubscriptions sets the StandardsSubscriptions field's value. func (s *GetEnabledStandardsOutput) SetStandardsSubscriptions(v []*StandardsSubscription) *GetEnabledStandardsOutput { s.StandardsSubscriptions = v return s } type GetFindingAggregatorInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the finding aggregator to return details for. To obtain the ARN, // use ListFindingAggregators. // // FindingAggregatorArn is a required field FindingAggregatorArn *string `location:"uri" locationName:"FindingAggregatorArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingAggregatorInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingAggregatorInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetFindingAggregatorInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetFindingAggregatorInput"} if s.FindingAggregatorArn == nil { invalidParams.Add(request.NewErrParamRequired("FindingAggregatorArn")) } if s.FindingAggregatorArn != nil && len(*s.FindingAggregatorArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("FindingAggregatorArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFindingAggregatorArn sets the FindingAggregatorArn field's value. func (s *GetFindingAggregatorInput) SetFindingAggregatorArn(v string) *GetFindingAggregatorInput { s.FindingAggregatorArn = &v return s } type GetFindingAggregatorOutput struct { _ struct{} `type:"structure"` // The aggregation Region. FindingAggregationRegion *string `type:"string"` // The ARN of the finding aggregator. FindingAggregatorArn *string `type:"string"` // Indicates whether to link all Regions, all Regions except for a list of excluded // Regions, or a list of included Regions. RegionLinkingMode *string `type:"string"` // The list of excluded Regions or included Regions. Regions []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingAggregatorOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingAggregatorOutput) GoString() string { return s.String() } // SetFindingAggregationRegion sets the FindingAggregationRegion field's value. func (s *GetFindingAggregatorOutput) SetFindingAggregationRegion(v string) *GetFindingAggregatorOutput { s.FindingAggregationRegion = &v return s } // SetFindingAggregatorArn sets the FindingAggregatorArn field's value. func (s *GetFindingAggregatorOutput) SetFindingAggregatorArn(v string) *GetFindingAggregatorOutput { s.FindingAggregatorArn = &v return s } // SetRegionLinkingMode sets the RegionLinkingMode field's value. func (s *GetFindingAggregatorOutput) SetRegionLinkingMode(v string) *GetFindingAggregatorOutput { s.RegionLinkingMode = &v return s } // SetRegions sets the Regions field's value. func (s *GetFindingAggregatorOutput) SetRegions(v []*string) *GetFindingAggregatorOutput { s.Regions = v return s } type GetFindingHistoryInput struct { _ struct{} `type:"structure"` // An ISO 8601-formatted timestamp that indicates the end time of the requested // finding history. // // If you provide values for both StartTime and EndTime, Security Hub returns // finding history for the specified time period. If you provide a value for // StartTime but not for EndTime, Security Hub returns finding history from // the StartTime to the time at which the API is called. If you provide a value // for EndTime but not for StartTime, Security Hub returns finding history from // the CreatedAt (path_to_url#securityhub-Type-AwsSecurityFindingFilters-CreatedAt) // timestamp of the finding to the EndTime. If you provide neither StartTime // nor EndTime, Security Hub returns finding history from the CreatedAt timestamp // of the finding to the time at which the API is called. In all of these scenarios, // the response is limited to 100 results, and the maximum time period is limited // to 90 days. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // Identifies which finding to get the finding history for. // // FindingIdentifier is a required field FindingIdentifier *AwsSecurityFindingIdentifier `type:"structure" required:"true"` // The maximum number of results to be returned. If you dont provide it, // Security Hub returns up to 100 results of finding history. MaxResults *int64 `min:"1" type:"integer"` // A token for pagination purposes. Provide NULL as the initial value. In subsequent // requests, provide the token included in the response to get up to an additional // 100 results of finding history. If you dont provide NextToken, Security // Hub returns up to 100 results of finding history for each request. NextToken *string `type:"string"` // A timestamp that indicates the start time of the requested finding history. // // If you provide values for both StartTime and EndTime, Security Hub returns // finding history for the specified time period. If you provide a value for // StartTime but not for EndTime, Security Hub returns finding history from // the StartTime to the time at which the API is called. If you provide a value // for EndTime but not for StartTime, Security Hub returns finding history from // the CreatedAt (path_to_url#securityhub-Type-AwsSecurityFindingFilters-CreatedAt) // timestamp of the finding to the EndTime. If you provide neither StartTime // nor EndTime, Security Hub returns finding history from the CreatedAt timestamp // of the finding to the time at which the API is called. In all of these scenarios, // the response is limited to 100 results, and the maximum time period is limited // to 90 days. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingHistoryInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingHistoryInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetFindingHistoryInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetFindingHistoryInput"} if s.FindingIdentifier == nil { invalidParams.Add(request.NewErrParamRequired("FindingIdentifier")) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if s.FindingIdentifier != nil { if err := s.FindingIdentifier.Validate(); err != nil { invalidParams.AddNested("FindingIdentifier", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetEndTime sets the EndTime field's value. func (s *GetFindingHistoryInput) SetEndTime(v time.Time) *GetFindingHistoryInput { s.EndTime = &v return s } // SetFindingIdentifier sets the FindingIdentifier field's value. func (s *GetFindingHistoryInput) SetFindingIdentifier(v *AwsSecurityFindingIdentifier) *GetFindingHistoryInput { s.FindingIdentifier = v return s } // SetMaxResults sets the MaxResults field's value. func (s *GetFindingHistoryInput) SetMaxResults(v int64) *GetFindingHistoryInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *GetFindingHistoryInput) SetNextToken(v string) *GetFindingHistoryInput { s.NextToken = &v return s } // SetStartTime sets the StartTime field's value. func (s *GetFindingHistoryInput) SetStartTime(v time.Time) *GetFindingHistoryInput { s.StartTime = &v return s } type GetFindingHistoryOutput struct { _ struct{} `type:"structure"` // A token for pagination purposes. Provide this token in the subsequent request // to GetFindingsHistory to get up to an additional 100 results of history for // the same finding that you specified in your initial request. NextToken *string `type:"string"` // A list of events that altered the specified finding during the specified // time period. Records []*FindingHistoryRecord `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingHistoryOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingHistoryOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. func (s *GetFindingHistoryOutput) SetNextToken(v string) *GetFindingHistoryOutput { s.NextToken = &v return s } // SetRecords sets the Records field's value. func (s *GetFindingHistoryOutput) SetRecords(v []*FindingHistoryRecord) *GetFindingHistoryOutput { s.Records = v return s } type GetFindingsInput struct { _ struct{} `type:"structure"` // The finding attributes used to define a condition to filter the returned // findings. // // You can filter by up to 10 finding attributes. For each attribute, you can // provide up to 20 filter values. // // Note that in the available filter fields, WorkflowState is deprecated. To // search for a finding based on its workflow status, use WorkflowStatus. Filters *AwsSecurityFindingFilters `type:"structure"` // The maximum number of findings to return. MaxResults *int64 `min:"1" type:"integer"` // The token that is required for pagination. On your first call to the GetFindings // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `type:"string"` // The finding attributes used to sort the list of returned findings. SortCriteria []*SortCriterion `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetFindingsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetFindingsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFilters sets the Filters field's value. func (s *GetFindingsInput) SetFilters(v *AwsSecurityFindingFilters) *GetFindingsInput { s.Filters = v return s } // SetMaxResults sets the MaxResults field's value. func (s *GetFindingsInput) SetMaxResults(v int64) *GetFindingsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *GetFindingsInput) SetNextToken(v string) *GetFindingsInput { s.NextToken = &v return s } // SetSortCriteria sets the SortCriteria field's value. func (s *GetFindingsInput) SetSortCriteria(v []*SortCriterion) *GetFindingsInput { s.SortCriteria = v return s } type GetFindingsOutput struct { _ struct{} `type:"structure"` // The findings that matched the filters specified in the request. // // Findings is a required field Findings []*AwsSecurityFinding `type:"list" required:"true"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetFindingsOutput) GoString() string { return s.String() } // SetFindings sets the Findings field's value. func (s *GetFindingsOutput) SetFindings(v []*AwsSecurityFinding) *GetFindingsOutput { s.Findings = v return s } // SetNextToken sets the NextToken field's value. func (s *GetFindingsOutput) SetNextToken(v string) *GetFindingsOutput { s.NextToken = &v return s } type GetInsightResultsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the insight for which to return results. // // InsightArn is a required field InsightArn *string `location:"uri" locationName:"InsightArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightResultsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightResultsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetInsightResultsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetInsightResultsInput"} if s.InsightArn == nil { invalidParams.Add(request.NewErrParamRequired("InsightArn")) } if s.InsightArn != nil && len(*s.InsightArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("InsightArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetInsightArn sets the InsightArn field's value. func (s *GetInsightResultsInput) SetInsightArn(v string) *GetInsightResultsInput { s.InsightArn = &v return s } type GetInsightResultsOutput struct { _ struct{} `type:"structure"` // The insight results returned by the operation. // // InsightResults is a required field InsightResults *InsightResults `type:"structure" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightResultsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightResultsOutput) GoString() string { return s.String() } // SetInsightResults sets the InsightResults field's value. func (s *GetInsightResultsOutput) SetInsightResults(v *InsightResults) *GetInsightResultsOutput { s.InsightResults = v return s } type GetInsightsInput struct { _ struct{} `type:"structure"` // The ARNs of the insights to describe. If you do not provide any insight ARNs, // then GetInsights returns all of your custom insights. It does not return // any managed insights. InsightArns []*string `type:"list"` // The maximum number of items to return in the response. MaxResults *int64 `min:"1" type:"integer"` // The token that is required for pagination. On your first call to the GetInsights // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetInsightsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetInsightsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetInsightArns sets the InsightArns field's value. func (s *GetInsightsInput) SetInsightArns(v []*string) *GetInsightsInput { s.InsightArns = v return s } // SetMaxResults sets the MaxResults field's value. func (s *GetInsightsInput) SetMaxResults(v int64) *GetInsightsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *GetInsightsInput) SetNextToken(v string) *GetInsightsInput { s.NextToken = &v return s } type GetInsightsOutput struct { _ struct{} `type:"structure"` // The insights returned by the operation. // // Insights is a required field Insights []*Insight `type:"list" required:"true"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInsightsOutput) GoString() string { return s.String() } // SetInsights sets the Insights field's value. func (s *GetInsightsOutput) SetInsights(v []*Insight) *GetInsightsOutput { s.Insights = v return s } // SetNextToken sets the NextToken field's value. func (s *GetInsightsOutput) SetNextToken(v string) *GetInsightsOutput { s.NextToken = &v return s } type GetInvitationsCountInput struct { _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInvitationsCountInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInvitationsCountInput) GoString() string { return s.String() } type GetInvitationsCountOutput struct { _ struct{} `type:"structure"` // The number of all membership invitations sent to this Security Hub member // account, not including the currently accepted invitation. InvitationsCount *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInvitationsCountOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetInvitationsCountOutput) GoString() string { return s.String() } // SetInvitationsCount sets the InvitationsCount field's value. func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput { s.InvitationsCount = &v return s } type GetMasterAccountInput struct { _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMasterAccountInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMasterAccountInput) GoString() string { return s.String() } type GetMasterAccountOutput struct { _ struct{} `type:"structure"` // A list of details about the Security Hub administrator account for the current // member account. Master *Invitation `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMasterAccountOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMasterAccountOutput) GoString() string { return s.String() } // SetMaster sets the Master field's value. func (s *GetMasterAccountOutput) SetMaster(v *Invitation) *GetMasterAccountOutput { s.Master = v return s } type GetMembersInput struct { _ struct{} `type:"structure"` // The list of account IDs for the Security Hub member accounts to return the // details for. // // AccountIds is a required field AccountIds []*string `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMembersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMembersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetMembersInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetMembersInput"} if s.AccountIds == nil { invalidParams.Add(request.NewErrParamRequired("AccountIds")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountIds sets the AccountIds field's value. func (s *GetMembersInput) SetAccountIds(v []*string) *GetMembersInput { s.AccountIds = v return s } type GetMembersOutput struct { _ struct{} `type:"structure"` // The list of details about the Security Hub member accounts. Members []*Member `type:"list"` // The list of Amazon Web Services accounts that could not be processed. For // each account, the list includes the account ID and the email address. UnprocessedAccounts []*Result `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMembersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetMembersOutput) GoString() string { return s.String() } // SetMembers sets the Members field's value. func (s *GetMembersOutput) SetMembers(v []*Member) *GetMembersOutput { s.Members = v return s } // SetUnprocessedAccounts sets the UnprocessedAccounts field's value. func (s *GetMembersOutput) SetUnprocessedAccounts(v []*Result) *GetMembersOutput { s.UnprocessedAccounts = v return s } type GetSecurityControlDefinitionInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ID of the security control to retrieve the definition for. This field // doesnt accept an Amazon Resource Name (ARN). // // SecurityControlId is a required field SecurityControlId *string `location:"querystring" locationName:"SecurityControlId" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetSecurityControlDefinitionInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetSecurityControlDefinitionInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *GetSecurityControlDefinitionInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "GetSecurityControlDefinitionInput"} if s.SecurityControlId == nil { invalidParams.Add(request.NewErrParamRequired("SecurityControlId")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetSecurityControlId sets the SecurityControlId field's value. func (s *GetSecurityControlDefinitionInput) SetSecurityControlId(v string) *GetSecurityControlDefinitionInput { s.SecurityControlId = &v return s } type GetSecurityControlDefinitionOutput struct { _ struct{} `type:"structure"` // Provides metadata for a security control, including its unique standard-agnostic // identifier, title, description, severity, availability in Amazon Web Services // Regions, and a link to remediation steps. // // SecurityControlDefinition is a required field SecurityControlDefinition *SecurityControlDefinition `type:"structure" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetSecurityControlDefinitionOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s GetSecurityControlDefinitionOutput) GoString() string { return s.String() } // SetSecurityControlDefinition sets the SecurityControlDefinition field's value. func (s *GetSecurityControlDefinitionOutput) SetSecurityControlDefinition(v *SecurityControlDefinition) *GetSecurityControlDefinitionOutput { s.SecurityControlDefinition = v return s } // An Internet Control Message Protocol (ICMP) type and code. type IcmpTypeCode struct { _ struct{} `type:"structure"` // The ICMP code for which to deny or allow access. To deny or allow all codes, // use the value -1. Code *int64 `type:"integer"` // The ICMP type for which to deny or allow access. To deny or allow all types, // use the value -1. Type *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IcmpTypeCode) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IcmpTypeCode) GoString() string { return s.String() } // SetCode sets the Code field's value. func (s *IcmpTypeCode) SetCode(v int64) *IcmpTypeCode { s.Code = &v return s } // SetType sets the Type field's value. func (s *IcmpTypeCode) SetType(v int64) *IcmpTypeCode { s.Type = &v return s } // The list of the findings that cannot be imported. For each finding, the list // provides the error. type ImportFindingsError struct { _ struct{} `type:"structure"` // The code of the error returned by the BatchImportFindings operation. // // ErrorCode is a required field ErrorCode *string `type:"string" required:"true"` // The message of the error returned by the BatchImportFindings operation. // // ErrorMessage is a required field ErrorMessage *string `type:"string" required:"true"` // The identifier of the finding that could not be updated. // // Id is a required field Id *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ImportFindingsError) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ImportFindingsError) GoString() string { return s.String() } // SetErrorCode sets the ErrorCode field's value. func (s *ImportFindingsError) SetErrorCode(v string) *ImportFindingsError { s.ErrorCode = &v return s } // SetErrorMessage sets the ErrorMessage field's value. func (s *ImportFindingsError) SetErrorMessage(v string) *ImportFindingsError { s.ErrorMessage = &v return s } // SetId sets the Id field's value. func (s *ImportFindingsError) SetId(v string) *ImportFindingsError { s.Id = &v return s } // Contains information about a Security Hub insight. type Insight struct { _ struct{} `type:"structure"` // One or more attributes used to filter the findings included in the insight. // You can filter by up to ten finding attributes. For each attribute, you can // provide up to 20 filter values. The insight only includes findings that match // the criteria defined in the filters. // // Filters is a required field Filters *AwsSecurityFindingFilters `type:"structure" required:"true"` // The grouping attribute for the insight's findings. Indicates how to group // the matching findings, and identifies the type of item that the insight applies // to. For example, if an insight is grouped by resource identifier, then the // insight produces a list of resource identifiers. // // GroupByAttribute is a required field GroupByAttribute *string `type:"string" required:"true"` // The ARN of a Security Hub insight. // // InsightArn is a required field InsightArn *string `type:"string" required:"true"` // The name of a Security Hub insight. // // Name is a required field Name *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Insight) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Insight) GoString() string { return s.String() } // SetFilters sets the Filters field's value. func (s *Insight) SetFilters(v *AwsSecurityFindingFilters) *Insight { s.Filters = v return s } // SetGroupByAttribute sets the GroupByAttribute field's value. func (s *Insight) SetGroupByAttribute(v string) *Insight { s.GroupByAttribute = &v return s } // SetInsightArn sets the InsightArn field's value. func (s *Insight) SetInsightArn(v string) *Insight { s.InsightArn = &v return s } // SetName sets the Name field's value. func (s *Insight) SetName(v string) *Insight { s.Name = &v return s } // The insight result values returned by the GetInsightResults operation. type InsightResultValue struct { _ struct{} `type:"structure"` // The number of findings returned for each GroupByAttributeValue. // // Count is a required field Count *int64 `type:"integer" required:"true"` // The value of the attribute that the findings are grouped by for the insight // whose results are returned by the GetInsightResults operation. // // GroupByAttributeValue is a required field GroupByAttributeValue *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InsightResultValue) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InsightResultValue) GoString() string { return s.String() } // SetCount sets the Count field's value. func (s *InsightResultValue) SetCount(v int64) *InsightResultValue { s.Count = &v return s } // SetGroupByAttributeValue sets the GroupByAttributeValue field's value. func (s *InsightResultValue) SetGroupByAttributeValue(v string) *InsightResultValue { s.GroupByAttributeValue = &v return s } // The insight results returned by the GetInsightResults operation. type InsightResults struct { _ struct{} `type:"structure"` // The attribute that the findings are grouped by for the insight whose results // are returned by the GetInsightResults operation. // // GroupByAttribute is a required field GroupByAttribute *string `type:"string" required:"true"` // The ARN of the insight whose results are returned by the GetInsightResults // operation. // // InsightArn is a required field InsightArn *string `type:"string" required:"true"` // The list of insight result values returned by the GetInsightResults operation. // // ResultValues is a required field ResultValues []*InsightResultValue `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InsightResults) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InsightResults) GoString() string { return s.String() } // SetGroupByAttribute sets the GroupByAttribute field's value. func (s *InsightResults) SetGroupByAttribute(v string) *InsightResults { s.GroupByAttribute = &v return s } // SetInsightArn sets the InsightArn field's value. func (s *InsightResults) SetInsightArn(v string) *InsightResults { s.InsightArn = &v return s } // SetResultValues sets the ResultValues field's value. func (s *InsightResults) SetResultValues(v []*InsightResultValue) *InsightResults { s.ResultValues = v return s } // The options for customizing a security control parameter that is an integer. type IntegerConfigurationOptions struct { _ struct{} `type:"structure"` // The Security Hub default value for a control parameter that is an integer. DefaultValue *int64 `type:"integer"` // The maximum valid value for a control parameter that is an integer. Max *int64 `type:"integer"` // The minimum valid value for a control parameter that is an integer. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IntegerConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IntegerConfigurationOptions) GoString() string { return s.String() } // SetDefaultValue sets the DefaultValue field's value. func (s *IntegerConfigurationOptions) SetDefaultValue(v int64) *IntegerConfigurationOptions { s.DefaultValue = &v return s } // SetMax sets the Max field's value. func (s *IntegerConfigurationOptions) SetMax(v int64) *IntegerConfigurationOptions { s.Max = &v return s } // SetMin sets the Min field's value. func (s *IntegerConfigurationOptions) SetMin(v int64) *IntegerConfigurationOptions { s.Min = &v return s } // The options for customizing a security control parameter that is a list of // integers. type IntegerListConfigurationOptions struct { _ struct{} `type:"structure"` // The Security Hub default value for a control parameter that is a list of // integers. DefaultValue []*int64 `type:"list"` // The maximum valid value for a control parameter that is a list of integers. Max *int64 `type:"integer"` // The maximum number of list items that an interger list control parameter // can accept. MaxItems *int64 `type:"integer"` // The minimum valid value for a control parameter that is a list of integers. Min *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IntegerListConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IntegerListConfigurationOptions) GoString() string { return s.String() } // SetDefaultValue sets the DefaultValue field's value. func (s *IntegerListConfigurationOptions) SetDefaultValue(v []*int64) *IntegerListConfigurationOptions { s.DefaultValue = v return s } // SetMax sets the Max field's value. func (s *IntegerListConfigurationOptions) SetMax(v int64) *IntegerListConfigurationOptions { s.Max = &v return s } // SetMaxItems sets the MaxItems field's value. func (s *IntegerListConfigurationOptions) SetMaxItems(v int64) *IntegerListConfigurationOptions { s.MaxItems = &v return s } // SetMin sets the Min field's value. func (s *IntegerListConfigurationOptions) SetMin(v int64) *IntegerListConfigurationOptions { s.Min = &v return s } // Internal server error. type InternalException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InternalException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InternalException) GoString() string { return s.String() } func newErrorInternalException(v protocol.ResponseMetadata) error { return &InternalException{ RespMetadata: v, } } // Code returns the exception type name. func (s *InternalException) Code() string { return "InternalException" } // Message returns the exception's message. func (s *InternalException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *InternalException) OrigErr() error { return nil } func (s *InternalException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *InternalException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *InternalException) RequestID() string { return s.RespMetadata.RequestID } // The account doesn't have permission to perform this action. type InvalidAccessException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidAccessException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidAccessException) GoString() string { return s.String() } func newErrorInvalidAccessException(v protocol.ResponseMetadata) error { return &InvalidAccessException{ RespMetadata: v, } } // Code returns the exception type name. func (s *InvalidAccessException) Code() string { return "InvalidAccessException" } // Message returns the exception's message. func (s *InvalidAccessException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *InvalidAccessException) OrigErr() error { return nil } func (s *InvalidAccessException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *InvalidAccessException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *InvalidAccessException) RequestID() string { return s.RespMetadata.RequestID } // The request was rejected because you supplied an invalid or out-of-range // value for an input parameter. type InvalidInputException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidInputException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InvalidInputException) GoString() string { return s.String() } func newErrorInvalidInputException(v protocol.ResponseMetadata) error { return &InvalidInputException{ RespMetadata: v, } } // Code returns the exception type name. func (s *InvalidInputException) Code() string { return "InvalidInputException" } // Message returns the exception's message. func (s *InvalidInputException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *InvalidInputException) OrigErr() error { return nil } func (s *InvalidInputException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *InvalidInputException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *InvalidInputException) RequestID() string { return s.RespMetadata.RequestID } // Details about an invitation. type Invitation struct { _ struct{} `type:"structure"` // The account ID of the Security Hub administrator account that the invitation // was sent from. AccountId *string `type:"string"` // The ID of the invitation sent to the member account. InvitationId *string `type:"string"` // The timestamp of when the invitation was sent. InvitedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The current status of the association between the member and administrator // accounts. MemberStatus *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Invitation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Invitation) GoString() string { return s.String() } // SetAccountId sets the AccountId field's value. func (s *Invitation) SetAccountId(v string) *Invitation { s.AccountId = &v return s } // SetInvitationId sets the InvitationId field's value. func (s *Invitation) SetInvitationId(v string) *Invitation { s.InvitationId = &v return s } // SetInvitedAt sets the InvitedAt field's value. func (s *Invitation) SetInvitedAt(v time.Time) *Invitation { s.InvitedAt = &v return s } // SetMemberStatus sets the MemberStatus field's value. func (s *Invitation) SetMemberStatus(v string) *Invitation { s.MemberStatus = &v return s } type InviteMembersInput struct { _ struct{} `type:"structure"` // The list of account IDs of the Amazon Web Services accounts to invite to // Security Hub as members. // // AccountIds is a required field AccountIds []*string `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InviteMembersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InviteMembersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *InviteMembersInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "InviteMembersInput"} if s.AccountIds == nil { invalidParams.Add(request.NewErrParamRequired("AccountIds")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAccountIds sets the AccountIds field's value. func (s *InviteMembersInput) SetAccountIds(v []*string) *InviteMembersInput { s.AccountIds = v return s } type InviteMembersOutput struct { _ struct{} `type:"structure"` // The list of Amazon Web Services accounts that could not be processed. For // each account, the list includes the account ID and the email address. UnprocessedAccounts []*Result `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InviteMembersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s InviteMembersOutput) GoString() string { return s.String() } // SetUnprocessedAccounts sets the UnprocessedAccounts field's value. func (s *InviteMembersOutput) SetUnprocessedAccounts(v []*Result) *InviteMembersOutput { s.UnprocessedAccounts = v return s } // The IP filter for querying findings. type IpFilter struct { _ struct{} `type:"structure"` // A finding's CIDR value. Cidr *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IpFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IpFilter) GoString() string { return s.String() } // SetCidr sets the Cidr field's value. func (s *IpFilter) SetCidr(v string) *IpFilter { s.Cidr = &v return s } // Provides information about an internet provider. type IpOrganizationDetails struct { _ struct{} `type:"structure"` // The Autonomous System Number (ASN) of the internet provider Asn *int64 `type:"integer"` // The name of the organization that registered the ASN. AsnOrg *string `type:"string"` // The ISP information for the internet provider. Isp *string `type:"string"` // The name of the internet provider. Org *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IpOrganizationDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s IpOrganizationDetails) GoString() string { return s.String() } // SetAsn sets the Asn field's value. func (s *IpOrganizationDetails) SetAsn(v int64) *IpOrganizationDetails { s.Asn = &v return s } // SetAsnOrg sets the AsnOrg field's value. func (s *IpOrganizationDetails) SetAsnOrg(v string) *IpOrganizationDetails { s.AsnOrg = &v return s } // SetIsp sets the Isp field's value. func (s *IpOrganizationDetails) SetIsp(v string) *IpOrganizationDetails { s.Isp = &v return s } // SetOrg sets the Org field's value. func (s *IpOrganizationDetails) SetOrg(v string) *IpOrganizationDetails { s.Org = &v return s } // An IPV6 CIDR block association. type Ipv6CidrBlockAssociation struct { _ struct{} `type:"structure"` // The association ID for the IPv6 CIDR block. AssociationId *string `type:"string"` // Information about the state of the CIDR block. Valid values are as follows: // // * associating // // * associated // // * disassociating // // * disassociated // // * failed // // * failing CidrBlockState *string `type:"string"` // The IPv6 CIDR block. Ipv6CidrBlock *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Ipv6CidrBlockAssociation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Ipv6CidrBlockAssociation) GoString() string { return s.String() } // SetAssociationId sets the AssociationId field's value. func (s *Ipv6CidrBlockAssociation) SetAssociationId(v string) *Ipv6CidrBlockAssociation { s.AssociationId = &v return s } // SetCidrBlockState sets the CidrBlockState field's value. func (s *Ipv6CidrBlockAssociation) SetCidrBlockState(v string) *Ipv6CidrBlockAssociation { s.CidrBlockState = &v return s } // SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. func (s *Ipv6CidrBlockAssociation) SetIpv6CidrBlock(v string) *Ipv6CidrBlockAssociation { s.Ipv6CidrBlock = &v return s } // A keyword filter for querying findings. type KeywordFilter struct { _ struct{} `type:"structure"` // A value for the keyword. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s KeywordFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s KeywordFilter) GoString() string { return s.String() } // SetValue sets the Value field's value. func (s *KeywordFilter) SetValue(v string) *KeywordFilter { s.Value = &v return s } // The request was rejected because it attempted to create resources beyond // the current Amazon Web Services account or throttling limits. The error code // describes the limit exceeded. type LimitExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s LimitExceededException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s LimitExceededException) GoString() string { return s.String() } func newErrorLimitExceededException(v protocol.ResponseMetadata) error { return &LimitExceededException{ RespMetadata: v, } } // Code returns the exception type name. func (s *LimitExceededException) Code() string { return "LimitExceededException" } // Message returns the exception's message. func (s *LimitExceededException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *LimitExceededException) OrigErr() error { return nil } func (s *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *LimitExceededException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *LimitExceededException) RequestID() string { return s.RespMetadata.RequestID } type ListAutomationRulesInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of rules to return in the response. This currently ranges // from 1 to 100. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // A token to specify where to start paginating the response. This is the NextToken // from a previously truncated response. On your first call to the ListAutomationRules // API, set the value of this parameter to NULL. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListAutomationRulesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListAutomationRulesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListAutomationRulesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListAutomationRulesInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListAutomationRulesInput) SetMaxResults(v int64) *ListAutomationRulesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListAutomationRulesInput) SetNextToken(v string) *ListAutomationRulesInput { s.NextToken = &v return s } type ListAutomationRulesOutput struct { _ struct{} `type:"structure"` // Metadata for rules in the calling account. The response includes rules with // a RuleStatus of ENABLED and DISABLED. AutomationRulesMetadata []*AutomationRulesMetadata `type:"list"` // A pagination token for the response. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListAutomationRulesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListAutomationRulesOutput) GoString() string { return s.String() } // SetAutomationRulesMetadata sets the AutomationRulesMetadata field's value. func (s *ListAutomationRulesOutput) SetAutomationRulesMetadata(v []*AutomationRulesMetadata) *ListAutomationRulesOutput { s.AutomationRulesMetadata = v return s } // SetNextToken sets the NextToken field's value. func (s *ListAutomationRulesOutput) SetNextToken(v string) *ListAutomationRulesOutput { s.NextToken = &v return s } type ListConfigurationPoliciesInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of results that's returned by ListConfigurationPolicies // in each page of the response. When this parameter is used, ListConfigurationPolicies // returns the specified number of results in a single page and a NextToken // response element. You can see the remaining results of the initial request // by sending another ListConfigurationPolicies request with the returned NextToken // value. A valid range for MaxResults is between 1 and 100. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The NextToken value that's returned from a previous paginated ListConfigurationPolicies // request where MaxResults was used but the results exceeded the value of that // parameter. Pagination continues from the MaxResults was used but the results // exceeded the value of that parameter. Pagination continues from the end of // the previous response that returned the NextToken value. This value is null // when there are no more results to return. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPoliciesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPoliciesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListConfigurationPoliciesInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListConfigurationPoliciesInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListConfigurationPoliciesInput) SetMaxResults(v int64) *ListConfigurationPoliciesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListConfigurationPoliciesInput) SetNextToken(v string) *ListConfigurationPoliciesInput { s.NextToken = &v return s } type ListConfigurationPoliciesOutput struct { _ struct{} `type:"structure"` // Provides metadata for each of your configuration policies. ConfigurationPolicySummaries []*ConfigurationPolicySummary `type:"list"` // The NextToken value to include in the next ListConfigurationPolicies request. // When the results of a ListConfigurationPolicies request exceed MaxResults, // this value can be used to retrieve the next page of results. This value is // null when there are no more results to return. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPoliciesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPoliciesOutput) GoString() string { return s.String() } // SetConfigurationPolicySummaries sets the ConfigurationPolicySummaries field's value. func (s *ListConfigurationPoliciesOutput) SetConfigurationPolicySummaries(v []*ConfigurationPolicySummary) *ListConfigurationPoliciesOutput { s.ConfigurationPolicySummaries = v return s } // SetNextToken sets the NextToken field's value. func (s *ListConfigurationPoliciesOutput) SetNextToken(v string) *ListConfigurationPoliciesOutput { s.NextToken = &v return s } type ListConfigurationPolicyAssociationsInput struct { _ struct{} `type:"structure"` // Options for filtering the ListConfigurationPolicyAssociations response. You // can filter by the Amazon Resource Name (ARN) or universally unique identifier // (UUID) of a configuration, AssociationType, or AssociationStatus. Filters *AssociationFilters `type:"structure"` // The maximum number of results that's returned by ListConfigurationPolicies // in each page of the response. When this parameter is used, ListConfigurationPolicyAssociations // returns the specified number of results in a single page and a NextToken // response element. You can see the remaining results of the initial request // by sending another ListConfigurationPolicyAssociations request with the returned // NextToken value. A valid range for MaxResults is between 1 and 100. MaxResults *int64 `min:"1" type:"integer"` // The NextToken value that's returned from a previous paginated ListConfigurationPolicyAssociations // request where MaxResults was used but the results exceeded the value of that // parameter. Pagination continues from the end of the previous response that // returned the NextToken value. This value is null when there are no more results // to return. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPolicyAssociationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPolicyAssociationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListConfigurationPolicyAssociationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListConfigurationPolicyAssociationsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFilters sets the Filters field's value. func (s *ListConfigurationPolicyAssociationsInput) SetFilters(v *AssociationFilters) *ListConfigurationPolicyAssociationsInput { s.Filters = v return s } // SetMaxResults sets the MaxResults field's value. func (s *ListConfigurationPolicyAssociationsInput) SetMaxResults(v int64) *ListConfigurationPolicyAssociationsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListConfigurationPolicyAssociationsInput) SetNextToken(v string) *ListConfigurationPolicyAssociationsInput { s.NextToken = &v return s } type ListConfigurationPolicyAssociationsOutput struct { _ struct{} `type:"structure"` // An object that contains the details of each configuration policy association // thats returned in a ListConfigurationPolicyAssociations request. ConfigurationPolicyAssociationSummaries []*ConfigurationPolicyAssociationSummary `type:"list"` // The NextToken value to include in the next ListConfigurationPolicyAssociations // request. When the results of a ListConfigurationPolicyAssociations request // exceed MaxResults, this value can be used to retrieve the next page of results. // This value is null when there are no more results to return. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPolicyAssociationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListConfigurationPolicyAssociationsOutput) GoString() string { return s.String() } // SetConfigurationPolicyAssociationSummaries sets the ConfigurationPolicyAssociationSummaries field's value. func (s *ListConfigurationPolicyAssociationsOutput) SetConfigurationPolicyAssociationSummaries(v []*ConfigurationPolicyAssociationSummary) *ListConfigurationPolicyAssociationsOutput { s.ConfigurationPolicyAssociationSummaries = v return s } // SetNextToken sets the NextToken field's value. func (s *ListConfigurationPolicyAssociationsOutput) SetNextToken(v string) *ListConfigurationPolicyAssociationsOutput { s.NextToken = &v return s } type ListEnabledProductsForImportInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of items to return in the response. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token that is required for pagination. On your first call to the ListEnabledProductsForImport // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListEnabledProductsForImportInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListEnabledProductsForImportInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListEnabledProductsForImportInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListEnabledProductsForImportInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListEnabledProductsForImportInput) SetMaxResults(v int64) *ListEnabledProductsForImportInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListEnabledProductsForImportInput) SetNextToken(v string) *ListEnabledProductsForImportInput { s.NextToken = &v return s } type ListEnabledProductsForImportOutput struct { _ struct{} `type:"structure"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` // The list of ARNs for the resources that represent your subscriptions to products. ProductSubscriptions []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListEnabledProductsForImportOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListEnabledProductsForImportOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. func (s *ListEnabledProductsForImportOutput) SetNextToken(v string) *ListEnabledProductsForImportOutput { s.NextToken = &v return s } // SetProductSubscriptions sets the ProductSubscriptions field's value. func (s *ListEnabledProductsForImportOutput) SetProductSubscriptions(v []*string) *ListEnabledProductsForImportOutput { s.ProductSubscriptions = v return s } type ListFindingAggregatorsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of results to return. This operation currently only returns // a single result. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token returned with the previous set of results. Identifies the next // set of results to return. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListFindingAggregatorsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListFindingAggregatorsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListFindingAggregatorsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListFindingAggregatorsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListFindingAggregatorsInput) SetMaxResults(v int64) *ListFindingAggregatorsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListFindingAggregatorsInput) SetNextToken(v string) *ListFindingAggregatorsInput { s.NextToken = &v return s } type ListFindingAggregatorsOutput struct { _ struct{} `type:"structure"` // The list of finding aggregators. This operation currently only returns a // single result. FindingAggregators []*FindingAggregator `type:"list"` // If there are more results, this is the token to provide in the next call // to ListFindingAggregators. // // This operation currently only returns a single result. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListFindingAggregatorsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListFindingAggregatorsOutput) GoString() string { return s.String() } // SetFindingAggregators sets the FindingAggregators field's value. func (s *ListFindingAggregatorsOutput) SetFindingAggregators(v []*FindingAggregator) *ListFindingAggregatorsOutput { s.FindingAggregators = v return s } // SetNextToken sets the NextToken field's value. func (s *ListFindingAggregatorsOutput) SetNextToken(v string) *ListFindingAggregatorsOutput { s.NextToken = &v return s } type ListInvitationsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of items to return in the response. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token that is required for pagination. On your first call to the ListInvitations // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListInvitationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListInvitationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListInvitationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListInvitationsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput { s.NextToken = &v return s } type ListInvitationsOutput struct { _ struct{} `type:"structure"` // The details of the invitations returned by the operation. Invitations []*Invitation `type:"list"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListInvitationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListInvitationsOutput) GoString() string { return s.String() } // SetInvitations sets the Invitations field's value. func (s *ListInvitationsOutput) SetInvitations(v []*Invitation) *ListInvitationsOutput { s.Invitations = v return s } // SetNextToken sets the NextToken field's value. func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput { s.NextToken = &v return s } type ListMembersInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of items to return in the response. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token that is required for pagination. On your first call to the ListMembers // operation, set the value of this parameter to NULL. // // For subsequent calls to the operation, to continue listing data, set the // value of this parameter to the value returned from the previous response. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // Specifies which member accounts to include in the response based on their // relationship status with the administrator account. The default value is // TRUE. // // If OnlyAssociated is set to TRUE, the response includes member accounts whose // relationship status with the administrator account is set to ENABLED. // // If OnlyAssociated is set to FALSE, the response includes all existing member // accounts. OnlyAssociated *bool `location:"querystring" locationName:"OnlyAssociated" type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListMembersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListMembersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListMembersInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListMembersInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput { s.NextToken = &v return s } // SetOnlyAssociated sets the OnlyAssociated field's value. func (s *ListMembersInput) SetOnlyAssociated(v bool) *ListMembersInput { s.OnlyAssociated = &v return s } type ListMembersOutput struct { _ struct{} `type:"structure"` // Member details returned by the operation. Members []*Member `type:"list"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListMembersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListMembersOutput) GoString() string { return s.String() } // SetMembers sets the Members field's value. func (s *ListMembersOutput) SetMembers(v []*Member) *ListMembersOutput { s.Members = v return s } // SetNextToken sets the NextToken field's value. func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput { s.NextToken = &v return s } type ListOrganizationAdminAccountsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The maximum number of items to return in the response. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // The token that is required for pagination. On your first call to the ListOrganizationAdminAccounts // operation, set the value of this parameter to NULL. For subsequent calls // to the operation, to continue listing data, set the value of this parameter // to the value returned from the previous response. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListOrganizationAdminAccountsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListOrganizationAdminAccountsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListOrganizationAdminAccountsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListOrganizationAdminAccountsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListOrganizationAdminAccountsInput) SetMaxResults(v int64) *ListOrganizationAdminAccountsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListOrganizationAdminAccountsInput) SetNextToken(v string) *ListOrganizationAdminAccountsInput { s.NextToken = &v return s } type ListOrganizationAdminAccountsOutput struct { _ struct{} `type:"structure"` // The list of Security Hub administrator accounts. AdminAccounts []*AdminAccount `type:"list"` // The pagination token to use to request the next page of results. NextToken *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListOrganizationAdminAccountsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListOrganizationAdminAccountsOutput) GoString() string { return s.String() } // SetAdminAccounts sets the AdminAccounts field's value. func (s *ListOrganizationAdminAccountsOutput) SetAdminAccounts(v []*AdminAccount) *ListOrganizationAdminAccountsOutput { s.AdminAccounts = v return s } // SetNextToken sets the NextToken field's value. func (s *ListOrganizationAdminAccountsOutput) SetNextToken(v string) *ListOrganizationAdminAccountsOutput { s.NextToken = &v return s } type ListSecurityControlDefinitionsInput struct { _ struct{} `type:"structure" nopayload:"true"` // An optional parameter that limits the total results of the API response to // the specified number. If this parameter isn't provided in the request, the // results include the first 25 security controls that apply to the specified // standard. The results also include a NextToken parameter that you can use // in a subsequent API call to get the next 25 controls. This repeats until // all controls for the standard are returned. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // Optional pagination parameter. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The Amazon Resource Name (ARN) of the standard that you want to view controls // for. StandardsArn *string `location:"querystring" locationName:"StandardsArn" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListSecurityControlDefinitionsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListSecurityControlDefinitionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListSecurityControlDefinitionsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListSecurityControlDefinitionsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListSecurityControlDefinitionsInput) SetMaxResults(v int64) *ListSecurityControlDefinitionsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListSecurityControlDefinitionsInput) SetNextToken(v string) *ListSecurityControlDefinitionsInput { s.NextToken = &v return s } // SetStandardsArn sets the StandardsArn field's value. func (s *ListSecurityControlDefinitionsInput) SetStandardsArn(v string) *ListSecurityControlDefinitionsInput { s.StandardsArn = &v return s } type ListSecurityControlDefinitionsOutput struct { _ struct{} `type:"structure"` // A pagination parameter that's included in the response only if it was included // in the request. NextToken *string `type:"string"` // An array of controls that apply to the specified standard. // // SecurityControlDefinitions is a required field SecurityControlDefinitions []*SecurityControlDefinition `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListSecurityControlDefinitionsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListSecurityControlDefinitionsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. func (s *ListSecurityControlDefinitionsOutput) SetNextToken(v string) *ListSecurityControlDefinitionsOutput { s.NextToken = &v return s } // SetSecurityControlDefinitions sets the SecurityControlDefinitions field's value. func (s *ListSecurityControlDefinitionsOutput) SetSecurityControlDefinitions(v []*SecurityControlDefinition) *ListSecurityControlDefinitionsOutput { s.SecurityControlDefinitions = v return s } type ListStandardsControlAssociationsInput struct { _ struct{} `type:"structure" nopayload:"true"` // An optional parameter that limits the total results of the API response to // the specified number. If this parameter isn't provided in the request, the // results include the first 25 standard and control associations. The results // also include a NextToken parameter that you can use in a subsequent API call // to get the next 25 associations. This repeats until all associations for // the specified control are returned. The number of results is limited by the // number of supported Security Hub standards that you've enabled in the calling // account. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // Optional pagination parameter. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // The identifier of the control (identified with SecurityControlId, SecurityControlArn, // or a mix of both parameters) that you want to determine the enablement status // of in each enabled standard. // // SecurityControlId is a required field SecurityControlId *string `location:"querystring" locationName:"SecurityControlId" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListStandardsControlAssociationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListStandardsControlAssociationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListStandardsControlAssociationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListStandardsControlAssociationsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if s.SecurityControlId == nil { invalidParams.Add(request.NewErrParamRequired("SecurityControlId")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetMaxResults sets the MaxResults field's value. func (s *ListStandardsControlAssociationsInput) SetMaxResults(v int64) *ListStandardsControlAssociationsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. func (s *ListStandardsControlAssociationsInput) SetNextToken(v string) *ListStandardsControlAssociationsInput { s.NextToken = &v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *ListStandardsControlAssociationsInput) SetSecurityControlId(v string) *ListStandardsControlAssociationsInput { s.SecurityControlId = &v return s } type ListStandardsControlAssociationsOutput struct { _ struct{} `type:"structure"` // A pagination parameter that's included in the response only if it was included // in the request. NextToken *string `type:"string"` // An array that provides the enablement status and other details for each security // control that applies to each enabled standard. // // StandardsControlAssociationSummaries is a required field StandardsControlAssociationSummaries []*StandardsControlAssociationSummary `type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListStandardsControlAssociationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListStandardsControlAssociationsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. func (s *ListStandardsControlAssociationsOutput) SetNextToken(v string) *ListStandardsControlAssociationsOutput { s.NextToken = &v return s } // SetStandardsControlAssociationSummaries sets the StandardsControlAssociationSummaries field's value. func (s *ListStandardsControlAssociationsOutput) SetStandardsControlAssociationSummaries(v []*StandardsControlAssociationSummary) *ListStandardsControlAssociationsOutput { s.StandardsControlAssociationSummaries = v return s } type ListTagsForResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the resource to retrieve tags for. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListTagsForResourceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListTagsForResourceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ListTagsForResourceInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} if s.ResourceArn == nil { invalidParams.Add(request.NewErrParamRequired("ResourceArn")) } if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetResourceArn sets the ResourceArn field's value. func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { s.ResourceArn = &v return s } type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` // The tags associated with a resource. Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListTagsForResourceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ListTagsForResourceOutput) GoString() string { return s.String() } // SetTags sets the Tags field's value. func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { s.Tags = v return s } // Information about the state of the load balancer. type LoadBalancerState struct { _ struct{} `type:"structure"` // The state code. The initial state of the load balancer is provisioning. // // After the load balancer is fully set up and ready to route traffic, its state // is active. // // If the load balancer could not be set up, its state is failed. Code *string `type:"string"` // A description of the state. Reason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s LoadBalancerState) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s LoadBalancerState) GoString() string { return s.String() } // SetCode sets the Code field's value. func (s *LoadBalancerState) SetCode(v string) *LoadBalancerState { s.Code = &v return s } // SetReason sets the Reason field's value. func (s *LoadBalancerState) SetReason(v string) *LoadBalancerState { s.Reason = &v return s } // A list of malware related to a finding. type Malware struct { _ struct{} `type:"structure"` // The name of the malware that was observed. // // Name is a required field Name *string `type:"string" required:"true"` // The file system path of the malware that was observed. Path *string `type:"string"` // The state of the malware that was observed. State *string `type:"string" enum:"MalwareState"` // The type of the malware that was observed. Type *string `type:"string" enum:"MalwareType"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Malware) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Malware) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *Malware) Validate() error { invalidParams := request.ErrInvalidParams{Context: "Malware"} if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetName sets the Name field's value. func (s *Malware) SetName(v string) *Malware { s.Name = &v return s } // SetPath sets the Path field's value. func (s *Malware) SetPath(v string) *Malware { s.Path = &v return s } // SetState sets the State field's value. func (s *Malware) SetState(v string) *Malware { s.State = &v return s } // SetType sets the Type field's value. func (s *Malware) SetType(v string) *Malware { s.Type = &v return s } // A map filter for filtering Security Hub findings. Each map filter provides // the field to check for, the value to check for, and the comparison operator. type MapFilter struct { _ struct{} `type:"structure"` // The condition to apply to the key value when filtering Security Hub findings // with a map filter. // // To search for values that have the filter value, use one of the following // comparison operators: // // * To search for values that include the filter value, use CONTAINS. For // example, for the ResourceTags field, the filter Department CONTAINS Security // matches findings that include the value Security for the Department tag. // In the same example, a finding with a value of Security team for the Department // tag is a match. // // * To search for values that exactly match the filter value, use EQUALS. // For example, for the ResourceTags field, the filter Department EQUALS // Security matches findings that have the value Security for the Department // tag. // // CONTAINS and EQUALS filters on the same field are joined by OR. A finding // matches if it matches any one of those filters. For example, the filters // Department CONTAINS Security OR Department CONTAINS Finance match a finding // that includes either Security, Finance, or both values. // // To search for values that don't have the filter value, use one of the following // comparison operators: // // * To search for values that exclude the filter value, use NOT_CONTAINS. // For example, for the ResourceTags field, the filter Department NOT_CONTAINS // Finance matches findings that exclude the value Finance for the Department // tag. // // * To search for values other than the filter value, use NOT_EQUALS. For // example, for the ResourceTags field, the filter Department NOT_EQUALS // Finance matches findings that dont have the value Finance for the Department // tag. // // NOT_CONTAINS and NOT_EQUALS filters on the same field are joined by AND. // A finding matches only if it matches all of those filters. For example, the // filters Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance // match a finding that excludes both the Security and Finance values. // // CONTAINS filters can only be used with other CONTAINS filters. NOT_CONTAINS // filters can only be used with other NOT_CONTAINS filters. // // You cant have both a CONTAINS filter and a NOT_CONTAINS filter on the // same field. Similarly, you cant have both an EQUALS filter and a NOT_EQUALS // filter on the same field. Combining filters in this way returns an error. // // CONTAINS and NOT_CONTAINS operators can be used only with automation rules. // For more information, see Automation rules (path_to_url // in the Security Hub User Guide. Comparison *string `type:"string" enum:"MapFilterComparison"` // The key of the map filter. For example, for ResourceTags, Key identifies // the name of the tag. For UserDefinedFields, Key is the name of the field. Key *string `type:"string"` // The value for the key in the map filter. Filter values are case sensitive. // For example, one of the values for a tag called Department might be Security. // If you provide security as the filter value, then there's no match. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s MapFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s MapFilter) GoString() string { return s.String() } // SetComparison sets the Comparison field's value. func (s *MapFilter) SetComparison(v string) *MapFilter { s.Comparison = &v return s } // SetKey sets the Key field's value. func (s *MapFilter) SetKey(v string) *MapFilter { s.Key = &v return s } // SetValue sets the Value field's value. func (s *MapFilter) SetValue(v string) *MapFilter { s.Value = &v return s } // The details about a member account. type Member struct { _ struct{} `type:"structure"` // The Amazon Web Services account ID of the member account. AccountId *string `type:"string"` // The Amazon Web Services account ID of the Security Hub administrator account // associated with this member account. AdministratorId *string `type:"string"` // The email address of the member account. Email *string `type:"string"` // A timestamp for the date and time when the invitation was sent to the member // account. InvitedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // This is replaced by AdministratorID. // // The Amazon Web Services account ID of the Security Hub administrator account // associated with this member account. // // Deprecated: This field is deprecated, use AdministratorId instead. MasterId *string `deprecated:"true" type:"string"` // The status of the relationship between the member account and its administrator // account. // // The status can have one of the following values: // // * Created - Indicates that the administrator account added the member // account, but has not yet invited the member account. // // * Invited - Indicates that the administrator account invited the member // account. The member account has not yet responded to the invitation. // // * Enabled - Indicates that the member account is currently active. For // manually invited member accounts, indicates that the member account accepted // the invitation. // // * Removed - Indicates that the administrator account disassociated the // member account. // // * Resigned - Indicates that the member account disassociated themselves // from the administrator account. // // * Deleted - Indicates that the administrator account deleted the member // account. // // * AccountSuspended - Indicates that an organization account was suspended // from Amazon Web Services at the same time that the administrator account // tried to enable the organization account as a member account. MemberStatus *string `type:"string"` // The timestamp for the date and time when the member account was updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Member) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Member) GoString() string { return s.String() } // SetAccountId sets the AccountId field's value. func (s *Member) SetAccountId(v string) *Member { s.AccountId = &v return s } // SetAdministratorId sets the AdministratorId field's value. func (s *Member) SetAdministratorId(v string) *Member { s.AdministratorId = &v return s } // SetEmail sets the Email field's value. func (s *Member) SetEmail(v string) *Member { s.Email = &v return s } // SetInvitedAt sets the InvitedAt field's value. func (s *Member) SetInvitedAt(v time.Time) *Member { s.InvitedAt = &v return s } // SetMasterId sets the MasterId field's value. func (s *Member) SetMasterId(v string) *Member { s.MasterId = &v return s } // SetMemberStatus sets the MemberStatus field's value. func (s *Member) SetMemberStatus(v string) *Member { s.MemberStatus = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *Member) SetUpdatedAt(v time.Time) *Member { s.UpdatedAt = &v return s } // The details of network-related information about a finding. type Network struct { _ struct{} `type:"structure"` // The destination domain of network-related information about a finding. DestinationDomain *string `type:"string"` // The destination IPv4 address of network-related information about a finding. DestinationIpV4 *string `type:"string"` // The destination IPv6 address of network-related information about a finding. DestinationIpV6 *string `type:"string"` // The destination port of network-related information about a finding. DestinationPort *int64 `type:"integer"` // The direction of network traffic associated with a finding. Direction *string `type:"string" enum:"NetworkDirection"` // The range of open ports that is present on the network. OpenPortRange *PortRange `type:"structure"` // The protocol of network-related information about a finding. Protocol *string `type:"string"` // The source domain of network-related information about a finding. SourceDomain *string `type:"string"` // The source IPv4 address of network-related information about a finding. SourceIpV4 *string `type:"string"` // The source IPv6 address of network-related information about a finding. SourceIpV6 *string `type:"string"` // The source media access control (MAC) address of network-related information // about a finding. SourceMac *string `type:"string"` // The source port of network-related information about a finding. SourcePort *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Network) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Network) GoString() string { return s.String() } // SetDestinationDomain sets the DestinationDomain field's value. func (s *Network) SetDestinationDomain(v string) *Network { s.DestinationDomain = &v return s } // SetDestinationIpV4 sets the DestinationIpV4 field's value. func (s *Network) SetDestinationIpV4(v string) *Network { s.DestinationIpV4 = &v return s } // SetDestinationIpV6 sets the DestinationIpV6 field's value. func (s *Network) SetDestinationIpV6(v string) *Network { s.DestinationIpV6 = &v return s } // SetDestinationPort sets the DestinationPort field's value. func (s *Network) SetDestinationPort(v int64) *Network { s.DestinationPort = &v return s } // SetDirection sets the Direction field's value. func (s *Network) SetDirection(v string) *Network { s.Direction = &v return s } // SetOpenPortRange sets the OpenPortRange field's value. func (s *Network) SetOpenPortRange(v *PortRange) *Network { s.OpenPortRange = v return s } // SetProtocol sets the Protocol field's value. func (s *Network) SetProtocol(v string) *Network { s.Protocol = &v return s } // SetSourceDomain sets the SourceDomain field's value. func (s *Network) SetSourceDomain(v string) *Network { s.SourceDomain = &v return s } // SetSourceIpV4 sets the SourceIpV4 field's value. func (s *Network) SetSourceIpV4(v string) *Network { s.SourceIpV4 = &v return s } // SetSourceIpV6 sets the SourceIpV6 field's value. func (s *Network) SetSourceIpV6(v string) *Network { s.SourceIpV6 = &v return s } // SetSourceMac sets the SourceMac field's value. func (s *Network) SetSourceMac(v string) *Network { s.SourceMac = &v return s } // SetSourcePort sets the SourcePort field's value. func (s *Network) SetSourcePort(v int64) *Network { s.SourcePort = &v return s } // Provided if ActionType is NETWORK_CONNECTION. It provides details about the // attempted network connection that was detected. type NetworkConnectionAction struct { _ struct{} `type:"structure"` // Indicates whether the network connection attempt was blocked. Blocked *bool `type:"boolean"` // The direction of the network connection request (IN or OUT). ConnectionDirection *string `type:"string"` // Information about the port on the EC2 instance. LocalPortDetails *ActionLocalPortDetails `type:"structure"` // The protocol used to make the network connection request. Protocol *string `type:"string"` // Information about the remote IP address that issued the network connection // request. RemoteIpDetails *ActionRemoteIpDetails `type:"structure"` // Information about the port on the remote IP address. RemotePortDetails *ActionRemotePortDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkConnectionAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkConnectionAction) GoString() string { return s.String() } // SetBlocked sets the Blocked field's value. func (s *NetworkConnectionAction) SetBlocked(v bool) *NetworkConnectionAction { s.Blocked = &v return s } // SetConnectionDirection sets the ConnectionDirection field's value. func (s *NetworkConnectionAction) SetConnectionDirection(v string) *NetworkConnectionAction { s.ConnectionDirection = &v return s } // SetLocalPortDetails sets the LocalPortDetails field's value. func (s *NetworkConnectionAction) SetLocalPortDetails(v *ActionLocalPortDetails) *NetworkConnectionAction { s.LocalPortDetails = v return s } // SetProtocol sets the Protocol field's value. func (s *NetworkConnectionAction) SetProtocol(v string) *NetworkConnectionAction { s.Protocol = &v return s } // SetRemoteIpDetails sets the RemoteIpDetails field's value. func (s *NetworkConnectionAction) SetRemoteIpDetails(v *ActionRemoteIpDetails) *NetworkConnectionAction { s.RemoteIpDetails = v return s } // SetRemotePortDetails sets the RemotePortDetails field's value. func (s *NetworkConnectionAction) SetRemotePortDetails(v *ActionRemotePortDetails) *NetworkConnectionAction { s.RemotePortDetails = v return s } // Details about a network path component that occurs before or after the current // component. type NetworkHeader struct { _ struct{} `type:"structure"` // Information about the destination of the component. Destination *NetworkPathComponentDetails `type:"structure"` // The protocol used for the component. Protocol *string `type:"string"` // Information about the origin of the component. Source *NetworkPathComponentDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkHeader) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkHeader) GoString() string { return s.String() } // SetDestination sets the Destination field's value. func (s *NetworkHeader) SetDestination(v *NetworkPathComponentDetails) *NetworkHeader { s.Destination = v return s } // SetProtocol sets the Protocol field's value. func (s *NetworkHeader) SetProtocol(v string) *NetworkHeader { s.Protocol = &v return s } // SetSource sets the Source field's value. func (s *NetworkHeader) SetSource(v *NetworkPathComponentDetails) *NetworkHeader { s.Source = v return s } // Information about a network path component. type NetworkPathComponent struct { _ struct{} `type:"structure"` // The identifier of a component in the network path. ComponentId *string `type:"string"` // The type of component. ComponentType *string `type:"string"` // Information about the component that comes after the current component in // the network path. Egress *NetworkHeader `type:"structure"` // Information about the component that comes before the current node in the // network path. Ingress *NetworkHeader `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkPathComponent) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkPathComponent) GoString() string { return s.String() } // SetComponentId sets the ComponentId field's value. func (s *NetworkPathComponent) SetComponentId(v string) *NetworkPathComponent { s.ComponentId = &v return s } // SetComponentType sets the ComponentType field's value. func (s *NetworkPathComponent) SetComponentType(v string) *NetworkPathComponent { s.ComponentType = &v return s } // SetEgress sets the Egress field's value. func (s *NetworkPathComponent) SetEgress(v *NetworkHeader) *NetworkPathComponent { s.Egress = v return s } // SetIngress sets the Ingress field's value. func (s *NetworkPathComponent) SetIngress(v *NetworkHeader) *NetworkPathComponent { s.Ingress = v return s } // Information about the destination of the next component in the network path. type NetworkPathComponentDetails struct { _ struct{} `type:"structure"` // The IP addresses of the destination. Address []*string `type:"list"` // A list of port ranges for the destination. PortRanges []*PortRange `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkPathComponentDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NetworkPathComponentDetails) GoString() string { return s.String() } // SetAddress sets the Address field's value. func (s *NetworkPathComponentDetails) SetAddress(v []*string) *NetworkPathComponentDetails { s.Address = v return s } // SetPortRanges sets the PortRanges field's value. func (s *NetworkPathComponentDetails) SetPortRanges(v []*PortRange) *NetworkPathComponentDetails { s.PortRanges = v return s } // A user-defined note added to a finding. type Note struct { _ struct{} `type:"structure"` // The text of a note. // // Text is a required field Text *string `type:"string" required:"true"` // A timestamp that indicates when the note was updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) // // UpdatedAt is a required field UpdatedAt *string `type:"string" required:"true"` // The principal that created a note. // // UpdatedBy is a required field UpdatedBy *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Note) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Note) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *Note) Validate() error { invalidParams := request.ErrInvalidParams{Context: "Note"} if s.Text == nil { invalidParams.Add(request.NewErrParamRequired("Text")) } if s.UpdatedAt == nil { invalidParams.Add(request.NewErrParamRequired("UpdatedAt")) } if s.UpdatedBy == nil { invalidParams.Add(request.NewErrParamRequired("UpdatedBy")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetText sets the Text field's value. func (s *Note) SetText(v string) *Note { s.Text = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *Note) SetUpdatedAt(v string) *Note { s.UpdatedAt = &v return s } // SetUpdatedBy sets the UpdatedBy field's value. func (s *Note) SetUpdatedBy(v string) *Note { s.UpdatedBy = &v return s } // The updated note. type NoteUpdate struct { _ struct{} `type:"structure"` // The updated note text. // // Text is a required field Text *string `type:"string" required:"true"` // The principal that updated the note. // // UpdatedBy is a required field UpdatedBy *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NoteUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NoteUpdate) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *NoteUpdate) Validate() error { invalidParams := request.ErrInvalidParams{Context: "NoteUpdate"} if s.Text == nil { invalidParams.Add(request.NewErrParamRequired("Text")) } if s.UpdatedBy == nil { invalidParams.Add(request.NewErrParamRequired("UpdatedBy")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetText sets the Text field's value. func (s *NoteUpdate) SetText(v string) *NoteUpdate { s.Text = &v return s } // SetUpdatedBy sets the UpdatedBy field's value. func (s *NoteUpdate) SetUpdatedBy(v string) *NoteUpdate { s.UpdatedBy = &v return s } // A number filter for querying findings. type NumberFilter struct { _ struct{} `type:"structure"` // The equal-to condition to be applied to a single field when querying for // findings. Eq *float64 `type:"double"` // The greater-than condition to be applied to a single field when querying // for findings. Gt *float64 `type:"double"` // The greater-than-equal condition to be applied to a single field when querying // for findings. Gte *float64 `type:"double"` // The less-than condition to be applied to a single field when querying for // findings. Lt *float64 `type:"double"` // The less-than-equal condition to be applied to a single field when querying // for findings. Lte *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NumberFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s NumberFilter) GoString() string { return s.String() } // SetEq sets the Eq field's value. func (s *NumberFilter) SetEq(v float64) *NumberFilter { s.Eq = &v return s } // SetGt sets the Gt field's value. func (s *NumberFilter) SetGt(v float64) *NumberFilter { s.Gt = &v return s } // SetGte sets the Gte field's value. func (s *NumberFilter) SetGte(v float64) *NumberFilter { s.Gte = &v return s } // SetLt sets the Lt field's value. func (s *NumberFilter) SetLt(v float64) *NumberFilter { s.Lt = &v return s } // SetLte sets the Lte field's value. func (s *NumberFilter) SetLte(v float64) *NumberFilter { s.Lte = &v return s } // The detected occurrences of sensitive data. type Occurrences struct { _ struct{} `type:"structure"` // Occurrences of sensitive data detected in Microsoft Excel workbooks, comma-separated // value (CSV) files, or tab-separated value (TSV) files. Cells []*Cell `type:"list"` // Occurrences of sensitive data detected in a non-binary text file or a Microsoft // Word file. Non-binary text files include files such as HTML, XML, JSON, and // TXT files. LineRanges []*Range `type:"list"` // Occurrences of sensitive data detected in a binary text file. OffsetRanges []*Range `type:"list"` // Occurrences of sensitive data in an Adobe Portable Document Format (PDF) // file. Pages []*Page `type:"list"` // Occurrences of sensitive data in an Apache Avro object container or an Apache // Parquet file. Records []*Record `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Occurrences) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Occurrences) GoString() string { return s.String() } // SetCells sets the Cells field's value. func (s *Occurrences) SetCells(v []*Cell) *Occurrences { s.Cells = v return s } // SetLineRanges sets the LineRanges field's value. func (s *Occurrences) SetLineRanges(v []*Range) *Occurrences { s.LineRanges = v return s } // SetOffsetRanges sets the OffsetRanges field's value. func (s *Occurrences) SetOffsetRanges(v []*Range) *Occurrences { s.OffsetRanges = v return s } // SetPages sets the Pages field's value. func (s *Occurrences) SetPages(v []*Page) *Occurrences { s.Pages = v return s } // SetRecords sets the Records field's value. func (s *Occurrences) SetRecords(v []*Record) *Occurrences { s.Records = v return s } // Provides information about the way an organization is configured in Security // Hub. type OrganizationConfiguration struct { _ struct{} `type:"structure"` // Indicates whether the organization uses local or central configuration. // // If you use local configuration, the Security Hub delegated administrator // can set AutoEnable to true and AutoEnableStandards to DEFAULT. This automatically // enables Security Hub and default security standards in new organization accounts. // These new account settings must be set separately in each Amazon Web Services // Region, and settings may be different in each Region. // // If you use central configuration, the delegated administrator can create // configuration policies. Configuration policies can be used to configure Security // Hub, security standards, and security controls in multiple accounts and Regions. // If you want new organization accounts to use a specific configuration, you // can create a configuration policy and associate it with the root or specific // organizational units (OUs). New accounts will inherit the policy from the // root or their assigned OU. ConfigurationType *string `type:"string" enum:"OrganizationConfigurationConfigurationType"` // Describes whether central configuration could be enabled as the ConfigurationType // for the organization. If your ConfigurationType is local configuration, then // the value of Status is always ENABLED. Status *string `type:"string" enum:"OrganizationConfigurationStatus"` // Provides an explanation if the value of Status is equal to FAILED when ConfigurationType // is equal to CENTRAL. StatusMessage *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s OrganizationConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s OrganizationConfiguration) GoString() string { return s.String() } // SetConfigurationType sets the ConfigurationType field's value. func (s *OrganizationConfiguration) SetConfigurationType(v string) *OrganizationConfiguration { s.ConfigurationType = &v return s } // SetStatus sets the Status field's value. func (s *OrganizationConfiguration) SetStatus(v string) *OrganizationConfiguration { s.Status = &v return s } // SetStatusMessage sets the StatusMessage field's value. func (s *OrganizationConfiguration) SetStatusMessage(v string) *OrganizationConfiguration { s.StatusMessage = &v return s } // An occurrence of sensitive data in an Adobe Portable Document Format (PDF) // file. type Page struct { _ struct{} `type:"structure"` // An occurrence of sensitive data detected in a non-binary text file or a Microsoft // Word file. Non-binary text files include files such as HTML, XML, JSON, and // TXT files. LineRange *Range `type:"structure"` // An occurrence of sensitive data detected in a binary text file. OffsetRange *Range `type:"structure"` // The page number of the page that contains the sensitive data. PageNumber *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Page) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Page) GoString() string { return s.String() } // SetLineRange sets the LineRange field's value. func (s *Page) SetLineRange(v *Range) *Page { s.LineRange = v return s } // SetOffsetRange sets the OffsetRange field's value. func (s *Page) SetOffsetRange(v *Range) *Page { s.OffsetRange = v return s } // SetPageNumber sets the PageNumber field's value. func (s *Page) SetPageNumber(v int64) *Page { s.PageNumber = &v return s } // An object that provides the current value of a security control parameter // and identifies whether it has been customized. type ParameterConfiguration struct { _ struct{} `type:"structure"` // The current value of a control parameter. Value *ParameterValue `type:"structure"` // Identifies whether a control parameter uses a custom user-defined value or // subscribes to the default Security Hub behavior. // // When ValueType is set equal to DEFAULT, the default behavior can be a specific // Security Hub default value, or the default behavior can be to ignore a specific // parameter. When ValueType is set equal to DEFAULT, Security Hub ignores user-provided // input for the Value field. // // When ValueType is set equal to CUSTOM, the Value field can't be empty. // // ValueType is a required field ValueType *string `type:"string" required:"true" enum:"ParameterValueType"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ParameterConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ParameterConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ParameterConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ParameterConfiguration"} if s.ValueType == nil { invalidParams.Add(request.NewErrParamRequired("ValueType")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetValue sets the Value field's value. func (s *ParameterConfiguration) SetValue(v *ParameterValue) *ParameterConfiguration { s.Value = v return s } // SetValueType sets the ValueType field's value. func (s *ParameterConfiguration) SetValueType(v string) *ParameterConfiguration { s.ValueType = &v return s } // An object that describes a security control parameter and the options for // customizing it. type ParameterDefinition struct { _ struct{} `type:"structure"` // The options for customizing a control parameter. Customization options vary // based on the data type of the parameter. // // ConfigurationOptions is a required field ConfigurationOptions *ConfigurationOptions `type:"structure" required:"true"` // Description of a control parameter. // // Description is a required field Description *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ParameterDefinition) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ParameterDefinition) GoString() string { return s.String() } // SetConfigurationOptions sets the ConfigurationOptions field's value. func (s *ParameterDefinition) SetConfigurationOptions(v *ConfigurationOptions) *ParameterDefinition { s.ConfigurationOptions = v return s } // SetDescription sets the Description field's value. func (s *ParameterDefinition) SetDescription(v string) *ParameterDefinition { s.Description = &v return s } // An object that includes the data type of a security control parameter and // its current value. type ParameterValue struct { _ struct{} `type:"structure"` // A control parameter that is a boolean. Boolean *bool `type:"boolean"` // A control parameter that is a double. Double *float64 `type:"double"` // A control parameter that is an enum. Enum *string `type:"string"` // A control parameter that is a list of enums. EnumList []*string `type:"list"` // A control parameter that is an integer. Integer *int64 `type:"integer"` // A control parameter that is a list of integers. IntegerList []*int64 `type:"list"` // A control parameter that is a list of strings. StringList []*string `type:"list"` // A control parameter that is a string. String_ *string `locationName:"String" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ParameterValue) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ParameterValue) GoString() string { return s.String() } // SetBoolean sets the Boolean field's value. func (s *ParameterValue) SetBoolean(v bool) *ParameterValue { s.Boolean = &v return s } // SetDouble sets the Double field's value. func (s *ParameterValue) SetDouble(v float64) *ParameterValue { s.Double = &v return s } // SetEnum sets the Enum field's value. func (s *ParameterValue) SetEnum(v string) *ParameterValue { s.Enum = &v return s } // SetEnumList sets the EnumList field's value. func (s *ParameterValue) SetEnumList(v []*string) *ParameterValue { s.EnumList = v return s } // SetInteger sets the Integer field's value. func (s *ParameterValue) SetInteger(v int64) *ParameterValue { s.Integer = &v return s } // SetIntegerList sets the IntegerList field's value. func (s *ParameterValue) SetIntegerList(v []*int64) *ParameterValue { s.IntegerList = v return s } // SetStringList sets the StringList field's value. func (s *ParameterValue) SetStringList(v []*string) *ParameterValue { s.StringList = v return s } // SetString_ sets the String_ field's value. func (s *ParameterValue) SetString_(v string) *ParameterValue { s.String_ = &v return s } // Provides an overview of the patch compliance status for an instance against // a selected compliance standard. type PatchSummary struct { _ struct{} `type:"structure"` // The number of patches from the compliance standard that failed to install. FailedCount *int64 `type:"integer"` // The identifier of the compliance standard that was used to determine the // patch compliance status. // // Id is a required field Id *string `type:"string" required:"true"` // The number of patches from the compliance standard that were installed successfully. InstalledCount *int64 `type:"integer"` // The number of installed patches that are not part of the compliance standard. InstalledOtherCount *int64 `type:"integer"` // The number of patches that were applied, but that require the instance to // be rebooted in order to be marked as installed. InstalledPendingReboot *int64 `type:"integer"` // The number of patches that are installed but are also on a list of patches // that the customer rejected. InstalledRejectedCount *int64 `type:"integer"` // The number of patches that are part of the compliance standard but are not // installed. The count includes patches that failed to install. MissingCount *int64 `type:"integer"` // The type of patch operation performed. For Patch Manager, the values are // SCAN and INSTALL. Operation *string `type:"string"` // Indicates when the operation completed. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) OperationEndTime *string `type:"string"` // Indicates when the operation started. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) OperationStartTime *string `type:"string"` // The reboot option specified for the instance. RebootOption *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PatchSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PatchSummary) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *PatchSummary) Validate() error { invalidParams := request.ErrInvalidParams{Context: "PatchSummary"} if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFailedCount sets the FailedCount field's value. func (s *PatchSummary) SetFailedCount(v int64) *PatchSummary { s.FailedCount = &v return s } // SetId sets the Id field's value. func (s *PatchSummary) SetId(v string) *PatchSummary { s.Id = &v return s } // SetInstalledCount sets the InstalledCount field's value. func (s *PatchSummary) SetInstalledCount(v int64) *PatchSummary { s.InstalledCount = &v return s } // SetInstalledOtherCount sets the InstalledOtherCount field's value. func (s *PatchSummary) SetInstalledOtherCount(v int64) *PatchSummary { s.InstalledOtherCount = &v return s } // SetInstalledPendingReboot sets the InstalledPendingReboot field's value. func (s *PatchSummary) SetInstalledPendingReboot(v int64) *PatchSummary { s.InstalledPendingReboot = &v return s } // SetInstalledRejectedCount sets the InstalledRejectedCount field's value. func (s *PatchSummary) SetInstalledRejectedCount(v int64) *PatchSummary { s.InstalledRejectedCount = &v return s } // SetMissingCount sets the MissingCount field's value. func (s *PatchSummary) SetMissingCount(v int64) *PatchSummary { s.MissingCount = &v return s } // SetOperation sets the Operation field's value. func (s *PatchSummary) SetOperation(v string) *PatchSummary { s.Operation = &v return s } // SetOperationEndTime sets the OperationEndTime field's value. func (s *PatchSummary) SetOperationEndTime(v string) *PatchSummary { s.OperationEndTime = &v return s } // SetOperationStartTime sets the OperationStartTime field's value. func (s *PatchSummary) SetOperationStartTime(v string) *PatchSummary { s.OperationStartTime = &v return s } // SetRebootOption sets the RebootOption field's value. func (s *PatchSummary) SetRebootOption(v string) *PatchSummary { s.RebootOption = &v return s } // An object that defines how Security Hub is configured. It includes whether // Security Hub is enabled or disabled, a list of enabled security standards, // a list of enabled or disabled security controls, and a list of custom parameter // values for specified controls. If you provide a list of security controls // that are enabled in the configuration policy, Security Hub disables all other // controls (including newly released controls). If you provide a list of security // controls that are disabled in the configuration policy, Security Hub enables // all other controls (including newly released controls). type Policy struct { _ struct{} `type:"structure"` // The Amazon Web Service that the configuration policy applies to. SecurityHub *SecurityHubPolicy `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Policy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Policy) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *Policy) Validate() error { invalidParams := request.ErrInvalidParams{Context: "Policy"} if s.SecurityHub != nil { if err := s.SecurityHub.Validate(); err != nil { invalidParams.AddNested("SecurityHub", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetSecurityHub sets the SecurityHub field's value. func (s *Policy) SetSecurityHub(v *SecurityHubPolicy) *Policy { s.SecurityHub = v return s } // Provided if ActionType is PORT_PROBE. It provides details about the attempted // port probe that was detected. type PortProbeAction struct { _ struct{} `type:"structure"` // Indicates whether the port probe was blocked. Blocked *bool `type:"boolean"` // Information about the ports affected by the port probe. PortProbeDetails []*PortProbeDetail `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortProbeAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortProbeAction) GoString() string { return s.String() } // SetBlocked sets the Blocked field's value. func (s *PortProbeAction) SetBlocked(v bool) *PortProbeAction { s.Blocked = &v return s } // SetPortProbeDetails sets the PortProbeDetails field's value. func (s *PortProbeAction) SetPortProbeDetails(v []*PortProbeDetail) *PortProbeAction { s.PortProbeDetails = v return s } // A port scan that was part of the port probe. For each scan, PortProbeDetails // provides information about the local IP address and port that were scanned, // and the remote IP address that the scan originated from. type PortProbeDetail struct { _ struct{} `type:"structure"` // Provides information about the IP address where the scanned port is located. LocalIpDetails *ActionLocalIpDetails `type:"structure"` // Provides information about the port that was scanned. LocalPortDetails *ActionLocalPortDetails `type:"structure"` // Provides information about the remote IP address that performed the scan. RemoteIpDetails *ActionRemoteIpDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortProbeDetail) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortProbeDetail) GoString() string { return s.String() } // SetLocalIpDetails sets the LocalIpDetails field's value. func (s *PortProbeDetail) SetLocalIpDetails(v *ActionLocalIpDetails) *PortProbeDetail { s.LocalIpDetails = v return s } // SetLocalPortDetails sets the LocalPortDetails field's value. func (s *PortProbeDetail) SetLocalPortDetails(v *ActionLocalPortDetails) *PortProbeDetail { s.LocalPortDetails = v return s } // SetRemoteIpDetails sets the RemoteIpDetails field's value. func (s *PortProbeDetail) SetRemoteIpDetails(v *ActionRemoteIpDetails) *PortProbeDetail { s.RemoteIpDetails = v return s } // A range of ports. type PortRange struct { _ struct{} `type:"structure"` // The first port in the port range. Begin *int64 `type:"integer"` // The last port in the port range. End *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortRange) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortRange) GoString() string { return s.String() } // SetBegin sets the Begin field's value. func (s *PortRange) SetBegin(v int64) *PortRange { s.Begin = &v return s } // SetEnd sets the End field's value. func (s *PortRange) SetEnd(v int64) *PortRange { s.End = &v return s } // A range of ports. type PortRangeFromTo struct { _ struct{} `type:"structure"` // The first port in the port range. From *int64 `type:"integer"` // The last port in the port range. To *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortRangeFromTo) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PortRangeFromTo) GoString() string { return s.String() } // SetFrom sets the From field's value. func (s *PortRangeFromTo) SetFrom(v int64) *PortRangeFromTo { s.From = &v return s } // SetTo sets the To field's value. func (s *PortRangeFromTo) SetTo(v int64) *PortRangeFromTo { s.To = &v return s } // The details of process-related information about a finding. type ProcessDetails struct { _ struct{} `type:"structure"` // Indicates when the process was launched. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LaunchedAt *string `type:"string"` // The name of the process. Name *string `type:"string"` // The parent process ID. This field accepts positive integers between O and // 2147483647. ParentPid *int64 `type:"integer"` // The path to the process executable. Path *string `type:"string"` // The process ID. Pid *int64 `type:"integer"` // Indicates when the process was terminated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) TerminatedAt *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ProcessDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ProcessDetails) GoString() string { return s.String() } // SetLaunchedAt sets the LaunchedAt field's value. func (s *ProcessDetails) SetLaunchedAt(v string) *ProcessDetails { s.LaunchedAt = &v return s } // SetName sets the Name field's value. func (s *ProcessDetails) SetName(v string) *ProcessDetails { s.Name = &v return s } // SetParentPid sets the ParentPid field's value. func (s *ProcessDetails) SetParentPid(v int64) *ProcessDetails { s.ParentPid = &v return s } // SetPath sets the Path field's value. func (s *ProcessDetails) SetPath(v string) *ProcessDetails { s.Path = &v return s } // SetPid sets the Pid field's value. func (s *ProcessDetails) SetPid(v int64) *ProcessDetails { s.Pid = &v return s } // SetTerminatedAt sets the TerminatedAt field's value. func (s *ProcessDetails) SetTerminatedAt(v string) *ProcessDetails { s.TerminatedAt = &v return s } // Contains details about a product. type Product struct { _ struct{} `type:"structure"` // The URL to the service or product documentation about the integration with // Security Hub, including how to activate the integration. ActivationUrl *string `type:"string"` // The categories assigned to the product. Categories []*string `type:"list"` // The name of the company that provides the product. CompanyName *string `type:"string"` // A description of the product. Description *string `type:"string"` // The types of integration that the product supports. Available values are // the following. // // * SEND_FINDINGS_TO_SECURITY_HUB - The integration sends findings to Security // Hub. // // * RECEIVE_FINDINGS_FROM_SECURITY_HUB - The integration receives findings // from Security Hub. // // * UPDATE_FINDINGS_IN_SECURITY_HUB - The integration does not send new // findings to Security Hub, but does make updates to the findings that it // receives from Security Hub. IntegrationTypes []*string `type:"list" enum:"IntegrationType"` // For integrations with Amazon Web Services services, the Amazon Web Services // Console URL from which to activate the service. // // For integrations with third-party products, the Amazon Web Services Marketplace // URL from which to subscribe to or purchase the product. MarketplaceUrl *string `type:"string"` // The ARN assigned to the product. // // ProductArn is a required field ProductArn *string `type:"string" required:"true"` // The name of the product. ProductName *string `type:"string"` // The resource policy associated with the product. ProductSubscriptionResourcePolicy *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Product) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Product) GoString() string { return s.String() } // SetActivationUrl sets the ActivationUrl field's value. func (s *Product) SetActivationUrl(v string) *Product { s.ActivationUrl = &v return s } // SetCategories sets the Categories field's value. func (s *Product) SetCategories(v []*string) *Product { s.Categories = v return s } // SetCompanyName sets the CompanyName field's value. func (s *Product) SetCompanyName(v string) *Product { s.CompanyName = &v return s } // SetDescription sets the Description field's value. func (s *Product) SetDescription(v string) *Product { s.Description = &v return s } // SetIntegrationTypes sets the IntegrationTypes field's value. func (s *Product) SetIntegrationTypes(v []*string) *Product { s.IntegrationTypes = v return s } // SetMarketplaceUrl sets the MarketplaceUrl field's value. func (s *Product) SetMarketplaceUrl(v string) *Product { s.MarketplaceUrl = &v return s } // SetProductArn sets the ProductArn field's value. func (s *Product) SetProductArn(v string) *Product { s.ProductArn = &v return s } // SetProductName sets the ProductName field's value. func (s *Product) SetProductName(v string) *Product { s.ProductName = &v return s } // SetProductSubscriptionResourcePolicy sets the ProductSubscriptionResourcePolicy field's value. func (s *Product) SetProductSubscriptionResourcePolicy(v string) *Product { s.ProductSubscriptionResourcePolicy = &v return s } // Describes a virtual private gateway propagating route. type PropagatingVgwSetDetails struct { _ struct{} `type:"structure"` // The ID of the virtual private gateway. GatewayId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PropagatingVgwSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s PropagatingVgwSetDetails) GoString() string { return s.String() } // SetGatewayId sets the GatewayId field's value. func (s *PropagatingVgwSetDetails) SetGatewayId(v string) *PropagatingVgwSetDetails { s.GatewayId = &v return s } // Identifies where the sensitive data begins and ends. type Range struct { _ struct{} `type:"structure"` // The number of lines (for a line range) or characters (for an offset range) // from the beginning of the file to the end of the sensitive data. End *int64 `type:"long"` // The number of lines (for a line range) or characters (for an offset range) // from the beginning of the file to the end of the sensitive data. Start *int64 `type:"long"` // In the line where the sensitive data starts, the column within the line where // the sensitive data starts. StartColumn *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Range) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Range) GoString() string { return s.String() } // SetEnd sets the End field's value. func (s *Range) SetEnd(v int64) *Range { s.End = &v return s } // SetStart sets the Start field's value. func (s *Range) SetStart(v int64) *Range { s.Start = &v return s } // SetStartColumn sets the StartColumn field's value. func (s *Range) SetStartColumn(v int64) *Range { s.StartColumn = &v return s } // A recommendation on how to remediate the issue identified in a finding. type Recommendation struct { _ struct{} `type:"structure"` // Describes the recommended steps to take to remediate an issue identified // in a finding. Text *string `type:"string"` // A URL to a page or site that contains information about how to remediate // a finding. Url *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Recommendation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Recommendation) GoString() string { return s.String() } // SetText sets the Text field's value. func (s *Recommendation) SetText(v string) *Recommendation { s.Text = &v return s } // SetUrl sets the Url field's value. func (s *Recommendation) SetUrl(v string) *Recommendation { s.Url = &v return s } // An occurrence of sensitive data in an Apache Avro object container or an // Apache Parquet file. type Record struct { _ struct{} `type:"structure"` // The path, as a JSONPath expression, to the field in the record that contains // the data. If the field name is longer than 20 characters, it is truncated. // If the path is longer than 250 characters, it is truncated. JsonPath *string `type:"string"` // The record index, starting from 0, for the record that contains the data. RecordIndex *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Record) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Record) GoString() string { return s.String() } // SetJsonPath sets the JsonPath field's value. func (s *Record) SetJsonPath(v string) *Record { s.JsonPath = &v return s } // SetRecordIndex sets the RecordIndex field's value. func (s *Record) SetRecordIndex(v int64) *Record { s.RecordIndex = &v return s } // Details about a related finding. type RelatedFinding struct { _ struct{} `type:"structure"` // The product-generated identifier for a related finding. // // Id is a required field Id *string `type:"string" required:"true"` // The ARN of the product that generated a related finding. // // ProductArn is a required field ProductArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RelatedFinding) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RelatedFinding) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *RelatedFinding) Validate() error { invalidParams := request.ErrInvalidParams{Context: "RelatedFinding"} if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } if s.ProductArn == nil { invalidParams.Add(request.NewErrParamRequired("ProductArn")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetId sets the Id field's value. func (s *RelatedFinding) SetId(v string) *RelatedFinding { s.Id = &v return s } // SetProductArn sets the ProductArn field's value. func (s *RelatedFinding) SetProductArn(v string) *RelatedFinding { s.ProductArn = &v return s } // Details about the remediation steps for a finding. type Remediation struct { _ struct{} `type:"structure"` // A recommendation on the steps to take to remediate the issue identified by // a finding. Recommendation *Recommendation `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Remediation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Remediation) GoString() string { return s.String() } // SetRecommendation sets the Recommendation field's value. func (s *Remediation) SetRecommendation(v *Recommendation) *Remediation { s.Recommendation = v return s } // A resource related to a finding. type Resource struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the application that is related to a finding. ApplicationArn *string `type:"string"` // The name of the application that is related to a finding. ApplicationName *string `type:"string"` // Contains information about sensitive data that was detected on the resource. DataClassification *DataClassificationDetails `type:"structure"` // Additional details about the resource related to a finding. Details *ResourceDetails `type:"structure"` // The canonical identifier for the given resource type. // // Id is a required field Id *string `type:"string" required:"true"` // The canonical Amazon Web Services partition name that the Region is assigned // to. Partition *string `type:"string" enum:"Partition"` // The canonical Amazon Web Services external Region name where this resource // is located. Region *string `type:"string"` // Identifies the role of the resource in the finding. A resource is either // the actor or target of the finding activity, ResourceRole *string `type:"string"` // A list of Amazon Web Services tags associated with a resource at the time // the finding was processed. Tags map[string]*string `type:"map"` // The type of the resource that details are provided for. If possible, set // Type to one of the supported resource types. For example, if the resource // is an EC2 instance, then set Type to AwsEc2Instance. // // If the resource does not match any of the provided types, then set Type to // Other. // // Type is a required field Type *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Resource) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Resource) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *Resource) Validate() error { invalidParams := request.ErrInvalidParams{Context: "Resource"} if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } if s.Type == nil { invalidParams.Add(request.NewErrParamRequired("Type")) } if s.Details != nil { if err := s.Details.Validate(); err != nil { invalidParams.AddNested("Details", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetApplicationArn sets the ApplicationArn field's value. func (s *Resource) SetApplicationArn(v string) *Resource { s.ApplicationArn = &v return s } // SetApplicationName sets the ApplicationName field's value. func (s *Resource) SetApplicationName(v string) *Resource { s.ApplicationName = &v return s } // SetDataClassification sets the DataClassification field's value. func (s *Resource) SetDataClassification(v *DataClassificationDetails) *Resource { s.DataClassification = v return s } // SetDetails sets the Details field's value. func (s *Resource) SetDetails(v *ResourceDetails) *Resource { s.Details = v return s } // SetId sets the Id field's value. func (s *Resource) SetId(v string) *Resource { s.Id = &v return s } // SetPartition sets the Partition field's value. func (s *Resource) SetPartition(v string) *Resource { s.Partition = &v return s } // SetRegion sets the Region field's value. func (s *Resource) SetRegion(v string) *Resource { s.Region = &v return s } // SetResourceRole sets the ResourceRole field's value. func (s *Resource) SetResourceRole(v string) *Resource { s.ResourceRole = &v return s } // SetTags sets the Tags field's value. func (s *Resource) SetTags(v map[string]*string) *Resource { s.Tags = v return s } // SetType sets the Type field's value. func (s *Resource) SetType(v string) *Resource { s.Type = &v return s } // The resource specified in the request conflicts with an existing resource. type ResourceConflictException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceConflictException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceConflictException) GoString() string { return s.String() } func newErrorResourceConflictException(v protocol.ResponseMetadata) error { return &ResourceConflictException{ RespMetadata: v, } } // Code returns the exception type name. func (s *ResourceConflictException) Code() string { return "ResourceConflictException" } // Message returns the exception's message. func (s *ResourceConflictException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *ResourceConflictException) OrigErr() error { return nil } func (s *ResourceConflictException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *ResourceConflictException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *ResourceConflictException) RequestID() string { return s.RespMetadata.RequestID } // Additional details about a resource related to a finding. // // To provide the details, use the object that corresponds to the resource type. // For example, if the resource type is AwsEc2Instance, then you use the AwsEc2Instance // object to provide the details. // // If the type-specific object does not contain all of the fields you want to // populate, then you use the Other object to populate those additional fields. // // You also use the Other object to populate the details when the selected type // does not have a corresponding object. type ResourceDetails struct { _ struct{} `type:"structure"` // Provides details about AppSync message broker. A message broker allows software // applications and components to communicate using various programming languages, // operating systems, and formal messaging protocols. AwsAmazonMqBroker *AwsAmazonMqBrokerDetails `type:"structure"` // Provides information about a REST API in version 1 of Amazon API Gateway. AwsApiGatewayRestApi *AwsApiGatewayRestApiDetails `type:"structure"` // Provides information about a version 1 Amazon API Gateway stage. AwsApiGatewayStage *AwsApiGatewayStageDetails `type:"structure"` // Provides information about a version 2 API in Amazon API Gateway. AwsApiGatewayV2Api *AwsApiGatewayV2ApiDetails `type:"structure"` // Provides information about a version 2 stage for Amazon API Gateway. AwsApiGatewayV2Stage *AwsApiGatewayV2StageDetails `type:"structure"` // Provides details about an AppSync Graph QL API, which lets you query multiple // databases, microservices, and APIs from a single GraphQL endpoint. AwsAppSyncGraphQlApi *AwsAppSyncGraphQlApiDetails `type:"structure"` // Provides information about an Amazon Athena workgroup. A workgroup helps // you separate users, teams, applications, or workloads. It also helps you // set limits on data processing and track costs. AwsAthenaWorkGroup *AwsAthenaWorkGroupDetails `type:"structure"` // Details for an autoscaling group. AwsAutoScalingAutoScalingGroup *AwsAutoScalingAutoScalingGroupDetails `type:"structure"` // Provides details about a launch configuration. AwsAutoScalingLaunchConfiguration *AwsAutoScalingLaunchConfigurationDetails `type:"structure"` // Provides details about an Backup backup plan. AwsBackupBackupPlan *AwsBackupBackupPlanDetails `type:"structure"` // Provides details about an Backup backup vault. AwsBackupBackupVault *AwsBackupBackupVaultDetails `type:"structure"` // Provides details about an Backup backup, or recovery point. AwsBackupRecoveryPoint *AwsBackupRecoveryPointDetails `type:"structure"` // Provides details about an Certificate Manager certificate. AwsCertificateManagerCertificate *AwsCertificateManagerCertificateDetails `type:"structure"` // Details about an CloudFormation stack. A stack is a collection of Amazon // Web Services resources that you can manage as a single unit. AwsCloudFormationStack *AwsCloudFormationStackDetails `type:"structure"` // Details about a CloudFront distribution. AwsCloudFrontDistribution *AwsCloudFrontDistributionDetails `type:"structure"` // Provides details about a CloudTrail trail. AwsCloudTrailTrail *AwsCloudTrailTrailDetails `type:"structure"` // Details about an Amazon CloudWatch alarm. An alarm allows you to monitor // and receive alerts about your Amazon Web Services resources and applications // across multiple Regions. AwsCloudWatchAlarm *AwsCloudWatchAlarmDetails `type:"structure"` // Details for an CodeBuild project. AwsCodeBuildProject *AwsCodeBuildProjectDetails `type:"structure"` // Provides details about an Database Migration Service (DMS) endpoint. An endpoint // provides connection, data store type, and location information about your // data store. AwsDmsEndpoint *AwsDmsEndpointDetails `type:"structure"` // Provides details about an DMS replication instance. DMS uses a replication // instance to connect to your source data store, read the source data, and // format the data for consumption by the target data store. AwsDmsReplicationInstance *AwsDmsReplicationInstanceDetails `type:"structure"` // Provides details about an DMS replication task. A replication task moves // a set of data from the source endpoint to the target endpoint. AwsDmsReplicationTask *AwsDmsReplicationTaskDetails `type:"structure"` // Details about a DynamoDB table. AwsDynamoDbTable *AwsDynamoDbTableDetails `type:"structure"` // Provides details about an Client VPN endpoint. A Client VPN endpoint is the // resource that you create and configure to enable and manage client VPN sessions. // It's the termination point for all client VPN sessions. AwsEc2ClientVpnEndpoint *AwsEc2ClientVpnEndpointDetails `type:"structure"` // Details about an Elastic IP address. AwsEc2Eip *AwsEc2EipDetails `type:"structure"` // Details about an EC2 instance related to a finding. AwsEc2Instance *AwsEc2InstanceDetails `type:"structure"` // Specifies the properties for creating an Amazon Elastic Compute Cloud (Amazon // EC2) launch template. AwsEc2LaunchTemplate *AwsEc2LaunchTemplateDetails `type:"structure"` // Details about an EC2 network access control list (ACL). AwsEc2NetworkAcl *AwsEc2NetworkAclDetails `type:"structure"` // Details for an EC2 network interface. AwsEc2NetworkInterface *AwsEc2NetworkInterfaceDetails `type:"structure"` // Provides details about a route table. A route table contains a set of rules, // called routes, that determine where to direct network traffic from your subnet // or gateway. AwsEc2RouteTable *AwsEc2RouteTableDetails `type:"structure"` // Details for an EC2 security group. AwsEc2SecurityGroup *AwsEc2SecurityGroupDetails `type:"structure"` // Details about a subnet in Amazon EC2. AwsEc2Subnet *AwsEc2SubnetDetails `type:"structure"` // Details about an Amazon EC2 transit gateway that interconnects your virtual // private clouds (VPC) and on-premises networks. AwsEc2TransitGateway *AwsEc2TransitGatewayDetails `type:"structure"` // Details for an Amazon EC2 volume. AwsEc2Volume *AwsEc2VolumeDetails `type:"structure"` // Details for an Amazon EC2 VPC. AwsEc2Vpc *AwsEc2VpcDetails `type:"structure"` // Details about the service configuration for a VPC endpoint service. AwsEc2VpcEndpointService *AwsEc2VpcEndpointServiceDetails `type:"structure"` // Details about an Amazon EC2 VPC peering connection. A VPC peering connection // is a networking connection between two VPCs that enables you to route traffic // between them privately. AwsEc2VpcPeeringConnection *AwsEc2VpcPeeringConnectionDetails `type:"structure"` // Details about an Amazon EC2 VPN connection. AwsEc2VpnConnection *AwsEc2VpnConnectionDetails `type:"structure"` // Information about an Amazon ECR image. AwsEcrContainerImage *AwsEcrContainerImageDetails `type:"structure"` // Information about an Amazon Elastic Container Registry repository. AwsEcrRepository *AwsEcrRepositoryDetails `type:"structure"` // Details about an Amazon ECS cluster. AwsEcsCluster *AwsEcsClusterDetails `type:"structure"` // Provides information about a Docker container that's part of a task. AwsEcsContainer *AwsEcsContainerDetails `type:"structure"` // Details about a service within an ECS cluster. AwsEcsService *AwsEcsServiceDetails `type:"structure"` // Details about a task in a cluster. AwsEcsTask *AwsEcsTaskDetails `type:"structure"` // Details about a task definition. A task definition describes the container // and volume definitions of an Amazon Elastic Container Service task. AwsEcsTaskDefinition *AwsEcsTaskDefinitionDetails `type:"structure"` // Details about an Amazon EFS access point. An access point is an application-specific // view into an EFS file system that applies an operating system user and group, // and a file system path, to any file system request made through the access // point. AwsEfsAccessPoint *AwsEfsAccessPointDetails `type:"structure"` // Details about an Amazon EKS cluster. AwsEksCluster *AwsEksClusterDetails `type:"structure"` // Details about an Elastic Beanstalk environment. AwsElasticBeanstalkEnvironment *AwsElasticBeanstalkEnvironmentDetails `type:"structure"` // Details for an Elasticsearch domain. AwsElasticsearchDomain *AwsElasticsearchDomainDetails `type:"structure"` // Contains details about a Classic Load Balancer. AwsElbLoadBalancer *AwsElbLoadBalancerDetails `type:"structure"` // Details about a load balancer. AwsElbv2LoadBalancer *AwsElbv2LoadBalancerDetails `type:"structure"` // A schema defines the structure of events that are sent to Amazon EventBridge. // Schema registries are containers for schemas. They collect and organize schemas // so that your schemas are in logical groups. AwsEventSchemasRegistry *AwsEventSchemasRegistryDetails `type:"structure"` // Provides details about an Amazon EventBridge global endpoint. The endpoint // can improve your applications availability by making it Regional-fault // tolerant. AwsEventsEndpoint *AwsEventsEndpointDetails `type:"structure"` // Provides details about Amazon EventBridge event bus for an endpoint. An event // bus is a router that receives events and delivers them to zero or more destinations, // or targets. AwsEventsEventbus *AwsEventsEventbusDetails `type:"structure"` // Provides details about an Amazon GuardDuty detector. A detector is an object // that represents the GuardDuty service. A detector is required for GuardDuty // to become operational. AwsGuardDutyDetector *AwsGuardDutyDetectorDetails `type:"structure"` // Details about an IAM access key related to a finding. AwsIamAccessKey *AwsIamAccessKeyDetails `type:"structure"` // Contains details about an IAM group. AwsIamGroup *AwsIamGroupDetails `type:"structure"` // Details about an IAM permissions policy. AwsIamPolicy *AwsIamPolicyDetails `type:"structure"` // Details about an IAM role. AwsIamRole *AwsIamRoleDetails `type:"structure"` // Details about an IAM user. AwsIamUser *AwsIamUserDetails `type:"structure"` // Details about an Amazon Kinesis data stream. AwsKinesisStream *AwsKinesisStreamDetails `type:"structure"` // Details about an KMS key. AwsKmsKey *AwsKmsKeyDetails `type:"structure"` // Details about a Lambda function. AwsLambdaFunction *AwsLambdaFunctionDetails `type:"structure"` // Details for a Lambda layer version. AwsLambdaLayerVersion *AwsLambdaLayerVersionDetails `type:"structure"` // Provides details about an Amazon Managed Streaming for Apache Kafka (Amazon // MSK) cluster. AwsMskCluster *AwsMskClusterDetails `type:"structure"` // Details about an Network Firewall firewall. AwsNetworkFirewallFirewall *AwsNetworkFirewallFirewallDetails `type:"structure"` // Details about an Network Firewall firewall policy. AwsNetworkFirewallFirewallPolicy *AwsNetworkFirewallFirewallPolicyDetails `type:"structure"` // Details about an Network Firewall rule group. AwsNetworkFirewallRuleGroup *AwsNetworkFirewallRuleGroupDetails `type:"structure"` // Details about an Amazon OpenSearch Service domain. AwsOpenSearchServiceDomain *AwsOpenSearchServiceDomainDetails `type:"structure"` // Details about an Amazon RDS database cluster. AwsRdsDbCluster *AwsRdsDbClusterDetails `type:"structure"` // Details about an Amazon RDS database cluster snapshot. AwsRdsDbClusterSnapshot *AwsRdsDbClusterSnapshotDetails `type:"structure"` // Details about an Amazon RDS database instance. AwsRdsDbInstance *AwsRdsDbInstanceDetails `type:"structure"` // Details about an Amazon RDS DB security group. AwsRdsDbSecurityGroup *AwsRdsDbSecurityGroupDetails `type:"structure"` // Details about an Amazon RDS database snapshot. AwsRdsDbSnapshot *AwsRdsDbSnapshotDetails `type:"structure"` // Details about an RDS event notification subscription. AwsRdsEventSubscription *AwsRdsEventSubscriptionDetails `type:"structure"` // Contains details about an Amazon Redshift cluster. AwsRedshiftCluster *AwsRedshiftClusterDetails `type:"structure"` // Provides details about an Amazon Route 53 hosted zone, including the four // name servers assigned to the hosted zone. A hosted zone represents a collection // of records that can be managed together, belonging to a single parent domain // name. AwsRoute53HostedZone *AwsRoute53HostedZoneDetails `type:"structure"` // Provides details about an Amazon Simple Storage Service (Amazon S3) access // point. S3 access points are named network endpoints that are attached to // S3 buckets that you can use to perform S3 object operations. AwsS3AccessPoint *AwsS3AccessPointDetails `type:"structure"` // Details about the Amazon S3 Public Access Block configuration for an account. AwsS3AccountPublicAccessBlock *AwsS3AccountPublicAccessBlockDetails `type:"structure"` // Details about an S3 bucket related to a finding. AwsS3Bucket *AwsS3BucketDetails `type:"structure"` // Details about an S3 object related to a finding. AwsS3Object *AwsS3ObjectDetails `type:"structure"` // Provides details about an Amazon SageMaker notebook instance. AwsSageMakerNotebookInstance *AwsSageMakerNotebookInstanceDetails `type:"structure"` // Details about a Secrets Manager secret. AwsSecretsManagerSecret *AwsSecretsManagerSecretDetails `type:"structure"` // Details about an SNS topic. AwsSnsTopic *AwsSnsTopicDetails `type:"structure"` // Details about an SQS queue. AwsSqsQueue *AwsSqsQueueDetails `type:"structure"` // Provides information about the state of a patch on an instance based on the // patch baseline that was used to patch the instance. AwsSsmPatchCompliance *AwsSsmPatchComplianceDetails `type:"structure"` // Provides details about an Step Functions state machine, which is a workflow // consisting of a series of event-driven steps. AwsStepFunctionStateMachine *AwsStepFunctionStateMachineDetails `type:"structure"` // Details about a rate-based rule for global resources. AwsWafRateBasedRule *AwsWafRateBasedRuleDetails `type:"structure"` // Details about a rate-based rule for Regional resources. AwsWafRegionalRateBasedRule *AwsWafRegionalRateBasedRuleDetails `type:"structure"` // Details about an WAF rule for Regional resources. AwsWafRegionalRule *AwsWafRegionalRuleDetails `type:"structure"` // Details about an WAF rule group for Regional resources. AwsWafRegionalRuleGroup *AwsWafRegionalRuleGroupDetails `type:"structure"` // Details about an WAF web access control list (web ACL) for Regional resources. AwsWafRegionalWebAcl *AwsWafRegionalWebAclDetails `type:"structure"` // Details about an WAF rule for global resources. AwsWafRule *AwsWafRuleDetails `type:"structure"` // Details about an WAF rule group for global resources. AwsWafRuleGroup *AwsWafRuleGroupDetails `type:"structure"` // Details for an WAF web ACL. AwsWafWebAcl *AwsWafWebAclDetails `type:"structure"` // Details about an WAFv2 rule group. AwsWafv2RuleGroup *AwsWafv2RuleGroupDetails `type:"structure"` // Details about an WAFv2 web Access Control List (ACL). AwsWafv2WebAcl *AwsWafv2WebAclDetails `type:"structure"` // Information about the encryption configuration for X-Ray. AwsXrayEncryptionConfig *AwsXrayEncryptionConfigDetails `type:"structure"` // Details about a container resource related to a finding. Container *ContainerDetails `type:"structure"` // Details about a resource that are not available in a type-specific details // object. Use the Other object in the following cases. // // * The type-specific object does not contain all of the fields that you // want to populate. In this case, first use the type-specific object to // populate those fields. Use the Other object to populate the fields that // are missing from the type-specific object. // // * The resource type does not have a corresponding object. This includes // resources for which the type is Other. Other map[string]*string `type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceDetails) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *ResourceDetails) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ResourceDetails"} if s.AwsIamRole != nil { if err := s.AwsIamRole.Validate(); err != nil { invalidParams.AddNested("AwsIamRole", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAwsAmazonMqBroker sets the AwsAmazonMqBroker field's value. func (s *ResourceDetails) SetAwsAmazonMqBroker(v *AwsAmazonMqBrokerDetails) *ResourceDetails { s.AwsAmazonMqBroker = v return s } // SetAwsApiGatewayRestApi sets the AwsApiGatewayRestApi field's value. func (s *ResourceDetails) SetAwsApiGatewayRestApi(v *AwsApiGatewayRestApiDetails) *ResourceDetails { s.AwsApiGatewayRestApi = v return s } // SetAwsApiGatewayStage sets the AwsApiGatewayStage field's value. func (s *ResourceDetails) SetAwsApiGatewayStage(v *AwsApiGatewayStageDetails) *ResourceDetails { s.AwsApiGatewayStage = v return s } // SetAwsApiGatewayV2Api sets the AwsApiGatewayV2Api field's value. func (s *ResourceDetails) SetAwsApiGatewayV2Api(v *AwsApiGatewayV2ApiDetails) *ResourceDetails { s.AwsApiGatewayV2Api = v return s } // SetAwsApiGatewayV2Stage sets the AwsApiGatewayV2Stage field's value. func (s *ResourceDetails) SetAwsApiGatewayV2Stage(v *AwsApiGatewayV2StageDetails) *ResourceDetails { s.AwsApiGatewayV2Stage = v return s } // SetAwsAppSyncGraphQlApi sets the AwsAppSyncGraphQlApi field's value. func (s *ResourceDetails) SetAwsAppSyncGraphQlApi(v *AwsAppSyncGraphQlApiDetails) *ResourceDetails { s.AwsAppSyncGraphQlApi = v return s } // SetAwsAthenaWorkGroup sets the AwsAthenaWorkGroup field's value. func (s *ResourceDetails) SetAwsAthenaWorkGroup(v *AwsAthenaWorkGroupDetails) *ResourceDetails { s.AwsAthenaWorkGroup = v return s } // SetAwsAutoScalingAutoScalingGroup sets the AwsAutoScalingAutoScalingGroup field's value. func (s *ResourceDetails) SetAwsAutoScalingAutoScalingGroup(v *AwsAutoScalingAutoScalingGroupDetails) *ResourceDetails { s.AwsAutoScalingAutoScalingGroup = v return s } // SetAwsAutoScalingLaunchConfiguration sets the AwsAutoScalingLaunchConfiguration field's value. func (s *ResourceDetails) SetAwsAutoScalingLaunchConfiguration(v *AwsAutoScalingLaunchConfigurationDetails) *ResourceDetails { s.AwsAutoScalingLaunchConfiguration = v return s } // SetAwsBackupBackupPlan sets the AwsBackupBackupPlan field's value. func (s *ResourceDetails) SetAwsBackupBackupPlan(v *AwsBackupBackupPlanDetails) *ResourceDetails { s.AwsBackupBackupPlan = v return s } // SetAwsBackupBackupVault sets the AwsBackupBackupVault field's value. func (s *ResourceDetails) SetAwsBackupBackupVault(v *AwsBackupBackupVaultDetails) *ResourceDetails { s.AwsBackupBackupVault = v return s } // SetAwsBackupRecoveryPoint sets the AwsBackupRecoveryPoint field's value. func (s *ResourceDetails) SetAwsBackupRecoveryPoint(v *AwsBackupRecoveryPointDetails) *ResourceDetails { s.AwsBackupRecoveryPoint = v return s } // SetAwsCertificateManagerCertificate sets the AwsCertificateManagerCertificate field's value. func (s *ResourceDetails) SetAwsCertificateManagerCertificate(v *AwsCertificateManagerCertificateDetails) *ResourceDetails { s.AwsCertificateManagerCertificate = v return s } // SetAwsCloudFormationStack sets the AwsCloudFormationStack field's value. func (s *ResourceDetails) SetAwsCloudFormationStack(v *AwsCloudFormationStackDetails) *ResourceDetails { s.AwsCloudFormationStack = v return s } // SetAwsCloudFrontDistribution sets the AwsCloudFrontDistribution field's value. func (s *ResourceDetails) SetAwsCloudFrontDistribution(v *AwsCloudFrontDistributionDetails) *ResourceDetails { s.AwsCloudFrontDistribution = v return s } // SetAwsCloudTrailTrail sets the AwsCloudTrailTrail field's value. func (s *ResourceDetails) SetAwsCloudTrailTrail(v *AwsCloudTrailTrailDetails) *ResourceDetails { s.AwsCloudTrailTrail = v return s } // SetAwsCloudWatchAlarm sets the AwsCloudWatchAlarm field's value. func (s *ResourceDetails) SetAwsCloudWatchAlarm(v *AwsCloudWatchAlarmDetails) *ResourceDetails { s.AwsCloudWatchAlarm = v return s } // SetAwsCodeBuildProject sets the AwsCodeBuildProject field's value. func (s *ResourceDetails) SetAwsCodeBuildProject(v *AwsCodeBuildProjectDetails) *ResourceDetails { s.AwsCodeBuildProject = v return s } // SetAwsDmsEndpoint sets the AwsDmsEndpoint field's value. func (s *ResourceDetails) SetAwsDmsEndpoint(v *AwsDmsEndpointDetails) *ResourceDetails { s.AwsDmsEndpoint = v return s } // SetAwsDmsReplicationInstance sets the AwsDmsReplicationInstance field's value. func (s *ResourceDetails) SetAwsDmsReplicationInstance(v *AwsDmsReplicationInstanceDetails) *ResourceDetails { s.AwsDmsReplicationInstance = v return s } // SetAwsDmsReplicationTask sets the AwsDmsReplicationTask field's value. func (s *ResourceDetails) SetAwsDmsReplicationTask(v *AwsDmsReplicationTaskDetails) *ResourceDetails { s.AwsDmsReplicationTask = v return s } // SetAwsDynamoDbTable sets the AwsDynamoDbTable field's value. func (s *ResourceDetails) SetAwsDynamoDbTable(v *AwsDynamoDbTableDetails) *ResourceDetails { s.AwsDynamoDbTable = v return s } // SetAwsEc2ClientVpnEndpoint sets the AwsEc2ClientVpnEndpoint field's value. func (s *ResourceDetails) SetAwsEc2ClientVpnEndpoint(v *AwsEc2ClientVpnEndpointDetails) *ResourceDetails { s.AwsEc2ClientVpnEndpoint = v return s } // SetAwsEc2Eip sets the AwsEc2Eip field's value. func (s *ResourceDetails) SetAwsEc2Eip(v *AwsEc2EipDetails) *ResourceDetails { s.AwsEc2Eip = v return s } // SetAwsEc2Instance sets the AwsEc2Instance field's value. func (s *ResourceDetails) SetAwsEc2Instance(v *AwsEc2InstanceDetails) *ResourceDetails { s.AwsEc2Instance = v return s } // SetAwsEc2LaunchTemplate sets the AwsEc2LaunchTemplate field's value. func (s *ResourceDetails) SetAwsEc2LaunchTemplate(v *AwsEc2LaunchTemplateDetails) *ResourceDetails { s.AwsEc2LaunchTemplate = v return s } // SetAwsEc2NetworkAcl sets the AwsEc2NetworkAcl field's value. func (s *ResourceDetails) SetAwsEc2NetworkAcl(v *AwsEc2NetworkAclDetails) *ResourceDetails { s.AwsEc2NetworkAcl = v return s } // SetAwsEc2NetworkInterface sets the AwsEc2NetworkInterface field's value. func (s *ResourceDetails) SetAwsEc2NetworkInterface(v *AwsEc2NetworkInterfaceDetails) *ResourceDetails { s.AwsEc2NetworkInterface = v return s } // SetAwsEc2RouteTable sets the AwsEc2RouteTable field's value. func (s *ResourceDetails) SetAwsEc2RouteTable(v *AwsEc2RouteTableDetails) *ResourceDetails { s.AwsEc2RouteTable = v return s } // SetAwsEc2SecurityGroup sets the AwsEc2SecurityGroup field's value. func (s *ResourceDetails) SetAwsEc2SecurityGroup(v *AwsEc2SecurityGroupDetails) *ResourceDetails { s.AwsEc2SecurityGroup = v return s } // SetAwsEc2Subnet sets the AwsEc2Subnet field's value. func (s *ResourceDetails) SetAwsEc2Subnet(v *AwsEc2SubnetDetails) *ResourceDetails { s.AwsEc2Subnet = v return s } // SetAwsEc2TransitGateway sets the AwsEc2TransitGateway field's value. func (s *ResourceDetails) SetAwsEc2TransitGateway(v *AwsEc2TransitGatewayDetails) *ResourceDetails { s.AwsEc2TransitGateway = v return s } // SetAwsEc2Volume sets the AwsEc2Volume field's value. func (s *ResourceDetails) SetAwsEc2Volume(v *AwsEc2VolumeDetails) *ResourceDetails { s.AwsEc2Volume = v return s } // SetAwsEc2Vpc sets the AwsEc2Vpc field's value. func (s *ResourceDetails) SetAwsEc2Vpc(v *AwsEc2VpcDetails) *ResourceDetails { s.AwsEc2Vpc = v return s } // SetAwsEc2VpcEndpointService sets the AwsEc2VpcEndpointService field's value. func (s *ResourceDetails) SetAwsEc2VpcEndpointService(v *AwsEc2VpcEndpointServiceDetails) *ResourceDetails { s.AwsEc2VpcEndpointService = v return s } // SetAwsEc2VpcPeeringConnection sets the AwsEc2VpcPeeringConnection field's value. func (s *ResourceDetails) SetAwsEc2VpcPeeringConnection(v *AwsEc2VpcPeeringConnectionDetails) *ResourceDetails { s.AwsEc2VpcPeeringConnection = v return s } // SetAwsEc2VpnConnection sets the AwsEc2VpnConnection field's value. func (s *ResourceDetails) SetAwsEc2VpnConnection(v *AwsEc2VpnConnectionDetails) *ResourceDetails { s.AwsEc2VpnConnection = v return s } // SetAwsEcrContainerImage sets the AwsEcrContainerImage field's value. func (s *ResourceDetails) SetAwsEcrContainerImage(v *AwsEcrContainerImageDetails) *ResourceDetails { s.AwsEcrContainerImage = v return s } // SetAwsEcrRepository sets the AwsEcrRepository field's value. func (s *ResourceDetails) SetAwsEcrRepository(v *AwsEcrRepositoryDetails) *ResourceDetails { s.AwsEcrRepository = v return s } // SetAwsEcsCluster sets the AwsEcsCluster field's value. func (s *ResourceDetails) SetAwsEcsCluster(v *AwsEcsClusterDetails) *ResourceDetails { s.AwsEcsCluster = v return s } // SetAwsEcsContainer sets the AwsEcsContainer field's value. func (s *ResourceDetails) SetAwsEcsContainer(v *AwsEcsContainerDetails) *ResourceDetails { s.AwsEcsContainer = v return s } // SetAwsEcsService sets the AwsEcsService field's value. func (s *ResourceDetails) SetAwsEcsService(v *AwsEcsServiceDetails) *ResourceDetails { s.AwsEcsService = v return s } // SetAwsEcsTask sets the AwsEcsTask field's value. func (s *ResourceDetails) SetAwsEcsTask(v *AwsEcsTaskDetails) *ResourceDetails { s.AwsEcsTask = v return s } // SetAwsEcsTaskDefinition sets the AwsEcsTaskDefinition field's value. func (s *ResourceDetails) SetAwsEcsTaskDefinition(v *AwsEcsTaskDefinitionDetails) *ResourceDetails { s.AwsEcsTaskDefinition = v return s } // SetAwsEfsAccessPoint sets the AwsEfsAccessPoint field's value. func (s *ResourceDetails) SetAwsEfsAccessPoint(v *AwsEfsAccessPointDetails) *ResourceDetails { s.AwsEfsAccessPoint = v return s } // SetAwsEksCluster sets the AwsEksCluster field's value. func (s *ResourceDetails) SetAwsEksCluster(v *AwsEksClusterDetails) *ResourceDetails { s.AwsEksCluster = v return s } // SetAwsElasticBeanstalkEnvironment sets the AwsElasticBeanstalkEnvironment field's value. func (s *ResourceDetails) SetAwsElasticBeanstalkEnvironment(v *AwsElasticBeanstalkEnvironmentDetails) *ResourceDetails { s.AwsElasticBeanstalkEnvironment = v return s } // SetAwsElasticsearchDomain sets the AwsElasticsearchDomain field's value. func (s *ResourceDetails) SetAwsElasticsearchDomain(v *AwsElasticsearchDomainDetails) *ResourceDetails { s.AwsElasticsearchDomain = v return s } // SetAwsElbLoadBalancer sets the AwsElbLoadBalancer field's value. func (s *ResourceDetails) SetAwsElbLoadBalancer(v *AwsElbLoadBalancerDetails) *ResourceDetails { s.AwsElbLoadBalancer = v return s } // SetAwsElbv2LoadBalancer sets the AwsElbv2LoadBalancer field's value. func (s *ResourceDetails) SetAwsElbv2LoadBalancer(v *AwsElbv2LoadBalancerDetails) *ResourceDetails { s.AwsElbv2LoadBalancer = v return s } // SetAwsEventSchemasRegistry sets the AwsEventSchemasRegistry field's value. func (s *ResourceDetails) SetAwsEventSchemasRegistry(v *AwsEventSchemasRegistryDetails) *ResourceDetails { s.AwsEventSchemasRegistry = v return s } // SetAwsEventsEndpoint sets the AwsEventsEndpoint field's value. func (s *ResourceDetails) SetAwsEventsEndpoint(v *AwsEventsEndpointDetails) *ResourceDetails { s.AwsEventsEndpoint = v return s } // SetAwsEventsEventbus sets the AwsEventsEventbus field's value. func (s *ResourceDetails) SetAwsEventsEventbus(v *AwsEventsEventbusDetails) *ResourceDetails { s.AwsEventsEventbus = v return s } // SetAwsGuardDutyDetector sets the AwsGuardDutyDetector field's value. func (s *ResourceDetails) SetAwsGuardDutyDetector(v *AwsGuardDutyDetectorDetails) *ResourceDetails { s.AwsGuardDutyDetector = v return s } // SetAwsIamAccessKey sets the AwsIamAccessKey field's value. func (s *ResourceDetails) SetAwsIamAccessKey(v *AwsIamAccessKeyDetails) *ResourceDetails { s.AwsIamAccessKey = v return s } // SetAwsIamGroup sets the AwsIamGroup field's value. func (s *ResourceDetails) SetAwsIamGroup(v *AwsIamGroupDetails) *ResourceDetails { s.AwsIamGroup = v return s } // SetAwsIamPolicy sets the AwsIamPolicy field's value. func (s *ResourceDetails) SetAwsIamPolicy(v *AwsIamPolicyDetails) *ResourceDetails { s.AwsIamPolicy = v return s } // SetAwsIamRole sets the AwsIamRole field's value. func (s *ResourceDetails) SetAwsIamRole(v *AwsIamRoleDetails) *ResourceDetails { s.AwsIamRole = v return s } // SetAwsIamUser sets the AwsIamUser field's value. func (s *ResourceDetails) SetAwsIamUser(v *AwsIamUserDetails) *ResourceDetails { s.AwsIamUser = v return s } // SetAwsKinesisStream sets the AwsKinesisStream field's value. func (s *ResourceDetails) SetAwsKinesisStream(v *AwsKinesisStreamDetails) *ResourceDetails { s.AwsKinesisStream = v return s } // SetAwsKmsKey sets the AwsKmsKey field's value. func (s *ResourceDetails) SetAwsKmsKey(v *AwsKmsKeyDetails) *ResourceDetails { s.AwsKmsKey = v return s } // SetAwsLambdaFunction sets the AwsLambdaFunction field's value. func (s *ResourceDetails) SetAwsLambdaFunction(v *AwsLambdaFunctionDetails) *ResourceDetails { s.AwsLambdaFunction = v return s } // SetAwsLambdaLayerVersion sets the AwsLambdaLayerVersion field's value. func (s *ResourceDetails) SetAwsLambdaLayerVersion(v *AwsLambdaLayerVersionDetails) *ResourceDetails { s.AwsLambdaLayerVersion = v return s } // SetAwsMskCluster sets the AwsMskCluster field's value. func (s *ResourceDetails) SetAwsMskCluster(v *AwsMskClusterDetails) *ResourceDetails { s.AwsMskCluster = v return s } // SetAwsNetworkFirewallFirewall sets the AwsNetworkFirewallFirewall field's value. func (s *ResourceDetails) SetAwsNetworkFirewallFirewall(v *AwsNetworkFirewallFirewallDetails) *ResourceDetails { s.AwsNetworkFirewallFirewall = v return s } // SetAwsNetworkFirewallFirewallPolicy sets the AwsNetworkFirewallFirewallPolicy field's value. func (s *ResourceDetails) SetAwsNetworkFirewallFirewallPolicy(v *AwsNetworkFirewallFirewallPolicyDetails) *ResourceDetails { s.AwsNetworkFirewallFirewallPolicy = v return s } // SetAwsNetworkFirewallRuleGroup sets the AwsNetworkFirewallRuleGroup field's value. func (s *ResourceDetails) SetAwsNetworkFirewallRuleGroup(v *AwsNetworkFirewallRuleGroupDetails) *ResourceDetails { s.AwsNetworkFirewallRuleGroup = v return s } // SetAwsOpenSearchServiceDomain sets the AwsOpenSearchServiceDomain field's value. func (s *ResourceDetails) SetAwsOpenSearchServiceDomain(v *AwsOpenSearchServiceDomainDetails) *ResourceDetails { s.AwsOpenSearchServiceDomain = v return s } // SetAwsRdsDbCluster sets the AwsRdsDbCluster field's value. func (s *ResourceDetails) SetAwsRdsDbCluster(v *AwsRdsDbClusterDetails) *ResourceDetails { s.AwsRdsDbCluster = v return s } // SetAwsRdsDbClusterSnapshot sets the AwsRdsDbClusterSnapshot field's value. func (s *ResourceDetails) SetAwsRdsDbClusterSnapshot(v *AwsRdsDbClusterSnapshotDetails) *ResourceDetails { s.AwsRdsDbClusterSnapshot = v return s } // SetAwsRdsDbInstance sets the AwsRdsDbInstance field's value. func (s *ResourceDetails) SetAwsRdsDbInstance(v *AwsRdsDbInstanceDetails) *ResourceDetails { s.AwsRdsDbInstance = v return s } // SetAwsRdsDbSecurityGroup sets the AwsRdsDbSecurityGroup field's value. func (s *ResourceDetails) SetAwsRdsDbSecurityGroup(v *AwsRdsDbSecurityGroupDetails) *ResourceDetails { s.AwsRdsDbSecurityGroup = v return s } // SetAwsRdsDbSnapshot sets the AwsRdsDbSnapshot field's value. func (s *ResourceDetails) SetAwsRdsDbSnapshot(v *AwsRdsDbSnapshotDetails) *ResourceDetails { s.AwsRdsDbSnapshot = v return s } // SetAwsRdsEventSubscription sets the AwsRdsEventSubscription field's value. func (s *ResourceDetails) SetAwsRdsEventSubscription(v *AwsRdsEventSubscriptionDetails) *ResourceDetails { s.AwsRdsEventSubscription = v return s } // SetAwsRedshiftCluster sets the AwsRedshiftCluster field's value. func (s *ResourceDetails) SetAwsRedshiftCluster(v *AwsRedshiftClusterDetails) *ResourceDetails { s.AwsRedshiftCluster = v return s } // SetAwsRoute53HostedZone sets the AwsRoute53HostedZone field's value. func (s *ResourceDetails) SetAwsRoute53HostedZone(v *AwsRoute53HostedZoneDetails) *ResourceDetails { s.AwsRoute53HostedZone = v return s } // SetAwsS3AccessPoint sets the AwsS3AccessPoint field's value. func (s *ResourceDetails) SetAwsS3AccessPoint(v *AwsS3AccessPointDetails) *ResourceDetails { s.AwsS3AccessPoint = v return s } // SetAwsS3AccountPublicAccessBlock sets the AwsS3AccountPublicAccessBlock field's value. func (s *ResourceDetails) SetAwsS3AccountPublicAccessBlock(v *AwsS3AccountPublicAccessBlockDetails) *ResourceDetails { s.AwsS3AccountPublicAccessBlock = v return s } // SetAwsS3Bucket sets the AwsS3Bucket field's value. func (s *ResourceDetails) SetAwsS3Bucket(v *AwsS3BucketDetails) *ResourceDetails { s.AwsS3Bucket = v return s } // SetAwsS3Object sets the AwsS3Object field's value. func (s *ResourceDetails) SetAwsS3Object(v *AwsS3ObjectDetails) *ResourceDetails { s.AwsS3Object = v return s } // SetAwsSageMakerNotebookInstance sets the AwsSageMakerNotebookInstance field's value. func (s *ResourceDetails) SetAwsSageMakerNotebookInstance(v *AwsSageMakerNotebookInstanceDetails) *ResourceDetails { s.AwsSageMakerNotebookInstance = v return s } // SetAwsSecretsManagerSecret sets the AwsSecretsManagerSecret field's value. func (s *ResourceDetails) SetAwsSecretsManagerSecret(v *AwsSecretsManagerSecretDetails) *ResourceDetails { s.AwsSecretsManagerSecret = v return s } // SetAwsSnsTopic sets the AwsSnsTopic field's value. func (s *ResourceDetails) SetAwsSnsTopic(v *AwsSnsTopicDetails) *ResourceDetails { s.AwsSnsTopic = v return s } // SetAwsSqsQueue sets the AwsSqsQueue field's value. func (s *ResourceDetails) SetAwsSqsQueue(v *AwsSqsQueueDetails) *ResourceDetails { s.AwsSqsQueue = v return s } // SetAwsSsmPatchCompliance sets the AwsSsmPatchCompliance field's value. func (s *ResourceDetails) SetAwsSsmPatchCompliance(v *AwsSsmPatchComplianceDetails) *ResourceDetails { s.AwsSsmPatchCompliance = v return s } // SetAwsStepFunctionStateMachine sets the AwsStepFunctionStateMachine field's value. func (s *ResourceDetails) SetAwsStepFunctionStateMachine(v *AwsStepFunctionStateMachineDetails) *ResourceDetails { s.AwsStepFunctionStateMachine = v return s } // SetAwsWafRateBasedRule sets the AwsWafRateBasedRule field's value. func (s *ResourceDetails) SetAwsWafRateBasedRule(v *AwsWafRateBasedRuleDetails) *ResourceDetails { s.AwsWafRateBasedRule = v return s } // SetAwsWafRegionalRateBasedRule sets the AwsWafRegionalRateBasedRule field's value. func (s *ResourceDetails) SetAwsWafRegionalRateBasedRule(v *AwsWafRegionalRateBasedRuleDetails) *ResourceDetails { s.AwsWafRegionalRateBasedRule = v return s } // SetAwsWafRegionalRule sets the AwsWafRegionalRule field's value. func (s *ResourceDetails) SetAwsWafRegionalRule(v *AwsWafRegionalRuleDetails) *ResourceDetails { s.AwsWafRegionalRule = v return s } // SetAwsWafRegionalRuleGroup sets the AwsWafRegionalRuleGroup field's value. func (s *ResourceDetails) SetAwsWafRegionalRuleGroup(v *AwsWafRegionalRuleGroupDetails) *ResourceDetails { s.AwsWafRegionalRuleGroup = v return s } // SetAwsWafRegionalWebAcl sets the AwsWafRegionalWebAcl field's value. func (s *ResourceDetails) SetAwsWafRegionalWebAcl(v *AwsWafRegionalWebAclDetails) *ResourceDetails { s.AwsWafRegionalWebAcl = v return s } // SetAwsWafRule sets the AwsWafRule field's value. func (s *ResourceDetails) SetAwsWafRule(v *AwsWafRuleDetails) *ResourceDetails { s.AwsWafRule = v return s } // SetAwsWafRuleGroup sets the AwsWafRuleGroup field's value. func (s *ResourceDetails) SetAwsWafRuleGroup(v *AwsWafRuleGroupDetails) *ResourceDetails { s.AwsWafRuleGroup = v return s } // SetAwsWafWebAcl sets the AwsWafWebAcl field's value. func (s *ResourceDetails) SetAwsWafWebAcl(v *AwsWafWebAclDetails) *ResourceDetails { s.AwsWafWebAcl = v return s } // SetAwsWafv2RuleGroup sets the AwsWafv2RuleGroup field's value. func (s *ResourceDetails) SetAwsWafv2RuleGroup(v *AwsWafv2RuleGroupDetails) *ResourceDetails { s.AwsWafv2RuleGroup = v return s } // SetAwsWafv2WebAcl sets the AwsWafv2WebAcl field's value. func (s *ResourceDetails) SetAwsWafv2WebAcl(v *AwsWafv2WebAclDetails) *ResourceDetails { s.AwsWafv2WebAcl = v return s } // SetAwsXrayEncryptionConfig sets the AwsXrayEncryptionConfig field's value. func (s *ResourceDetails) SetAwsXrayEncryptionConfig(v *AwsXrayEncryptionConfigDetails) *ResourceDetails { s.AwsXrayEncryptionConfig = v return s } // SetContainer sets the Container field's value. func (s *ResourceDetails) SetContainer(v *ContainerDetails) *ResourceDetails { s.Container = v return s } // SetOther sets the Other field's value. func (s *ResourceDetails) SetOther(v map[string]*string) *ResourceDetails { s.Other = v return s } // The request was rejected because it conflicts with the resource's availability. // For example, you tried to update a security control that's currently in the // UPDATING state. type ResourceInUseException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceInUseException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceInUseException) GoString() string { return s.String() } func newErrorResourceInUseException(v protocol.ResponseMetadata) error { return &ResourceInUseException{ RespMetadata: v, } } // Code returns the exception type name. func (s *ResourceInUseException) Code() string { return "ResourceInUseException" } // Message returns the exception's message. func (s *ResourceInUseException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *ResourceInUseException) OrigErr() error { return nil } func (s *ResourceInUseException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *ResourceInUseException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *ResourceInUseException) RequestID() string { return s.RespMetadata.RequestID } // The request was rejected because we can't find the specified resource. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Code_ *string `locationName:"Code" type:"string"` Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceNotFoundException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ResourceNotFoundException) GoString() string { return s.String() } func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { return &ResourceNotFoundException{ RespMetadata: v, } } // Code returns the exception type name. func (s *ResourceNotFoundException) Code() string { return "ResourceNotFoundException" } // Message returns the exception's message. func (s *ResourceNotFoundException) Message() string { if s.Message_ != nil { return *s.Message_ } return "" } // OrigErr always returns nil, satisfies awserr.Error interface. func (s *ResourceNotFoundException) OrigErr() error { return nil } func (s *ResourceNotFoundException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. func (s *ResourceNotFoundException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } // Details about the account that was not processed. type Result struct { _ struct{} `type:"structure"` // An Amazon Web Services account ID of the account that was not processed. AccountId *string `type:"string"` // The reason that the account was not processed. ProcessingResult *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Result) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Result) GoString() string { return s.String() } // SetAccountId sets the AccountId field's value. func (s *Result) SetAccountId(v string) *Result { s.AccountId = &v return s } // SetProcessingResult sets the ProcessingResult field's value. func (s *Result) SetProcessingResult(v string) *Result { s.ProcessingResult = &v return s } // Provides details about the routes in the route table. type RouteSetDetails struct { _ struct{} `type:"structure"` // The ID of the carrier gateway. CarrierGatewayId *string `type:"string"` // The Amazon Resource Name (ARN) of the core network. CoreNetworkArn *string `type:"string"` // The IPv4 CIDR block used for the destination match. DestinationCidrBlock *string `type:"string"` // The IPv6 CIDR block used for the destination match. DestinationIpv6CidrBlock *string `type:"string"` // The prefix of the destination Amazon Web Service. DestinationPrefixListId *string `type:"string"` // The ID of the egress-only internet gateway. EgressOnlyInternetGatewayId *string `type:"string"` // The ID of a gateway attached to your VPC. GatewayId *string `type:"string"` // The ID of a NAT instance in your VPC. InstanceId *string `type:"string"` // The ID of the Amazon Web Services account that owns the instance. InstanceOwnerId *string `type:"string"` // The ID of the local gateway. LocalGatewayId *string `type:"string"` // The ID of a NAT gateway. NatGatewayId *string `type:"string"` // The ID of the network interface. NetworkInterfaceId *string `type:"string"` // Describes how the route was created. Origin *string `type:"string"` // The state of the route. State *string `type:"string"` // The ID of a transit gateway. TransitGatewayId *string `type:"string"` // The ID of a VPC peering connection. VpcPeeringConnectionId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RouteSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RouteSetDetails) GoString() string { return s.String() } // SetCarrierGatewayId sets the CarrierGatewayId field's value. func (s *RouteSetDetails) SetCarrierGatewayId(v string) *RouteSetDetails { s.CarrierGatewayId = &v return s } // SetCoreNetworkArn sets the CoreNetworkArn field's value. func (s *RouteSetDetails) SetCoreNetworkArn(v string) *RouteSetDetails { s.CoreNetworkArn = &v return s } // SetDestinationCidrBlock sets the DestinationCidrBlock field's value. func (s *RouteSetDetails) SetDestinationCidrBlock(v string) *RouteSetDetails { s.DestinationCidrBlock = &v return s } // SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value. func (s *RouteSetDetails) SetDestinationIpv6CidrBlock(v string) *RouteSetDetails { s.DestinationIpv6CidrBlock = &v return s } // SetDestinationPrefixListId sets the DestinationPrefixListId field's value. func (s *RouteSetDetails) SetDestinationPrefixListId(v string) *RouteSetDetails { s.DestinationPrefixListId = &v return s } // SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value. func (s *RouteSetDetails) SetEgressOnlyInternetGatewayId(v string) *RouteSetDetails { s.EgressOnlyInternetGatewayId = &v return s } // SetGatewayId sets the GatewayId field's value. func (s *RouteSetDetails) SetGatewayId(v string) *RouteSetDetails { s.GatewayId = &v return s } // SetInstanceId sets the InstanceId field's value. func (s *RouteSetDetails) SetInstanceId(v string) *RouteSetDetails { s.InstanceId = &v return s } // SetInstanceOwnerId sets the InstanceOwnerId field's value. func (s *RouteSetDetails) SetInstanceOwnerId(v string) *RouteSetDetails { s.InstanceOwnerId = &v return s } // SetLocalGatewayId sets the LocalGatewayId field's value. func (s *RouteSetDetails) SetLocalGatewayId(v string) *RouteSetDetails { s.LocalGatewayId = &v return s } // SetNatGatewayId sets the NatGatewayId field's value. func (s *RouteSetDetails) SetNatGatewayId(v string) *RouteSetDetails { s.NatGatewayId = &v return s } // SetNetworkInterfaceId sets the NetworkInterfaceId field's value. func (s *RouteSetDetails) SetNetworkInterfaceId(v string) *RouteSetDetails { s.NetworkInterfaceId = &v return s } // SetOrigin sets the Origin field's value. func (s *RouteSetDetails) SetOrigin(v string) *RouteSetDetails { s.Origin = &v return s } // SetState sets the State field's value. func (s *RouteSetDetails) SetState(v string) *RouteSetDetails { s.State = &v return s } // SetTransitGatewayId sets the TransitGatewayId field's value. func (s *RouteSetDetails) SetTransitGatewayId(v string) *RouteSetDetails { s.TransitGatewayId = &v return s } // SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. func (s *RouteSetDetails) SetVpcPeeringConnectionId(v string) *RouteSetDetails { s.VpcPeeringConnectionId = &v return s } // Details about the rule group. type RuleGroupDetails struct { _ struct{} `type:"structure"` // Additional settings to use in the specified rules. RuleVariables *RuleGroupVariables `type:"structure"` // The rules and actions for the rule group. // // For stateful rule groups, can contain RulesString, RulesSourceList, or StatefulRules. // // For stateless rule groups, contains StatelessRulesAndCustomActions. RulesSource *RuleGroupSource `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupDetails) GoString() string { return s.String() } // SetRuleVariables sets the RuleVariables field's value. func (s *RuleGroupDetails) SetRuleVariables(v *RuleGroupVariables) *RuleGroupDetails { s.RuleVariables = v return s } // SetRulesSource sets the RulesSource field's value. func (s *RuleGroupDetails) SetRulesSource(v *RuleGroupSource) *RuleGroupDetails { s.RulesSource = v return s } // The rules and actions for the rule group. type RuleGroupSource struct { _ struct{} `type:"structure"` // Stateful inspection criteria for a domain list rule group. A domain list // rule group determines access by specific protocols to specific domains. RulesSourceList *RuleGroupSourceListDetails `type:"structure"` // Stateful inspection criteria, provided in Suricata compatible intrusion prevention // system (IPS) rules. RulesString *string `type:"string"` // Suricata rule specifications. StatefulRules []*RuleGroupSourceStatefulRulesDetails `type:"list"` // The stateless rules and custom actions used by a stateless rule group. StatelessRulesAndCustomActions *RuleGroupSourceStatelessRulesAndCustomActionsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSource) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSource) GoString() string { return s.String() } // SetRulesSourceList sets the RulesSourceList field's value. func (s *RuleGroupSource) SetRulesSourceList(v *RuleGroupSourceListDetails) *RuleGroupSource { s.RulesSourceList = v return s } // SetRulesString sets the RulesString field's value. func (s *RuleGroupSource) SetRulesString(v string) *RuleGroupSource { s.RulesString = &v return s } // SetStatefulRules sets the StatefulRules field's value. func (s *RuleGroupSource) SetStatefulRules(v []*RuleGroupSourceStatefulRulesDetails) *RuleGroupSource { s.StatefulRules = v return s } // SetStatelessRulesAndCustomActions sets the StatelessRulesAndCustomActions field's value. func (s *RuleGroupSource) SetStatelessRulesAndCustomActions(v *RuleGroupSourceStatelessRulesAndCustomActionsDetails) *RuleGroupSource { s.StatelessRulesAndCustomActions = v return s } // A custom action definition. A custom action is an optional, non-standard // action to use for stateless packet handling. type RuleGroupSourceCustomActionsDetails struct { _ struct{} `type:"structure"` // The definition of a custom action. ActionDefinition *StatelessCustomActionDefinition `type:"structure"` // A descriptive name of the custom action. ActionName *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceCustomActionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceCustomActionsDetails) GoString() string { return s.String() } // SetActionDefinition sets the ActionDefinition field's value. func (s *RuleGroupSourceCustomActionsDetails) SetActionDefinition(v *StatelessCustomActionDefinition) *RuleGroupSourceCustomActionsDetails { s.ActionDefinition = v return s } // SetActionName sets the ActionName field's value. func (s *RuleGroupSourceCustomActionsDetails) SetActionName(v string) *RuleGroupSourceCustomActionsDetails { s.ActionName = &v return s } // Stateful inspection criteria for a domain list rule group. type RuleGroupSourceListDetails struct { _ struct{} `type:"structure"` // Indicates whether to allow or deny access to the domains listed in Targets. GeneratedRulesType *string `type:"string"` // The protocols that you want to inspect. Specify LS_SNI for HTTPS. Specify // HTTP_HOST for HTTP. You can specify either or both. TargetTypes []*string `type:"list"` // The domains that you want to inspect for in your traffic flows. You can provide // full domain names, or use the '.' prefix as a wildcard. For example, .example.com // matches all domains that end with example.com. Targets []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceListDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceListDetails) GoString() string { return s.String() } // SetGeneratedRulesType sets the GeneratedRulesType field's value. func (s *RuleGroupSourceListDetails) SetGeneratedRulesType(v string) *RuleGroupSourceListDetails { s.GeneratedRulesType = &v return s } // SetTargetTypes sets the TargetTypes field's value. func (s *RuleGroupSourceListDetails) SetTargetTypes(v []*string) *RuleGroupSourceListDetails { s.TargetTypes = v return s } // SetTargets sets the Targets field's value. func (s *RuleGroupSourceListDetails) SetTargets(v []*string) *RuleGroupSourceListDetails { s.Targets = v return s } // A Suricata rule specification. type RuleGroupSourceStatefulRulesDetails struct { _ struct{} `type:"structure"` // Defines what Network Firewall should do with the packets in a traffic flow // when the flow matches the stateful rule criteria. Action *string `type:"string"` // The stateful inspection criteria for the rule. Header *RuleGroupSourceStatefulRulesHeaderDetails `type:"structure"` // Additional options for the rule. RuleOptions []*RuleGroupSourceStatefulRulesOptionsDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatefulRulesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatefulRulesDetails) GoString() string { return s.String() } // SetAction sets the Action field's value. func (s *RuleGroupSourceStatefulRulesDetails) SetAction(v string) *RuleGroupSourceStatefulRulesDetails { s.Action = &v return s } // SetHeader sets the Header field's value. func (s *RuleGroupSourceStatefulRulesDetails) SetHeader(v *RuleGroupSourceStatefulRulesHeaderDetails) *RuleGroupSourceStatefulRulesDetails { s.Header = v return s } // SetRuleOptions sets the RuleOptions field's value. func (s *RuleGroupSourceStatefulRulesDetails) SetRuleOptions(v []*RuleGroupSourceStatefulRulesOptionsDetails) *RuleGroupSourceStatefulRulesDetails { s.RuleOptions = v return s } // The inspection criteria for a stateful rule. type RuleGroupSourceStatefulRulesHeaderDetails struct { _ struct{} `type:"structure"` // The destination IP address or address range to inspect for, in CIDR notation. // To match with any address, specify ANY. Destination *string `type:"string"` // The destination port to inspect for. You can specify an individual port, // such as 1994. You also can specify a port range, such as 1990:1994. To match // with any port, specify ANY. DestinationPort *string `type:"string"` // The direction of traffic flow to inspect. If set to ANY, the inspection matches // bidirectional traffic, both from the source to the destination and from the // destination to the source. If set to FORWARD, the inspection only matches // traffic going from the source to the destination. Direction *string `type:"string"` // The protocol to inspect for. To inspector for all protocols, use IP. Protocol *string `type:"string"` // The source IP address or address range to inspect for, in CIDR notation. // To match with any address, specify ANY. Source *string `type:"string"` // The source port to inspect for. You can specify an individual port, such // as 1994. You also can specify a port range, such as 1990:1994. To match with // any port, specify ANY. SourcePort *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatefulRulesHeaderDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatefulRulesHeaderDetails) GoString() string { return s.String() } // SetDestination sets the Destination field's value. func (s *RuleGroupSourceStatefulRulesHeaderDetails) SetDestination(v string) *RuleGroupSourceStatefulRulesHeaderDetails { s.Destination = &v return s } // SetDestinationPort sets the DestinationPort field's value. func (s *RuleGroupSourceStatefulRulesHeaderDetails) SetDestinationPort(v string) *RuleGroupSourceStatefulRulesHeaderDetails { s.DestinationPort = &v return s } // SetDirection sets the Direction field's value. func (s *RuleGroupSourceStatefulRulesHeaderDetails) SetDirection(v string) *RuleGroupSourceStatefulRulesHeaderDetails { s.Direction = &v return s } // SetProtocol sets the Protocol field's value. func (s *RuleGroupSourceStatefulRulesHeaderDetails) SetProtocol(v string) *RuleGroupSourceStatefulRulesHeaderDetails { s.Protocol = &v return s } // SetSource sets the Source field's value. func (s *RuleGroupSourceStatefulRulesHeaderDetails) SetSource(v string) *RuleGroupSourceStatefulRulesHeaderDetails { s.Source = &v return s } // SetSourcePort sets the SourcePort field's value. func (s *RuleGroupSourceStatefulRulesHeaderDetails) SetSourcePort(v string) *RuleGroupSourceStatefulRulesHeaderDetails { s.SourcePort = &v return s } // A rule option for a stateful rule. type RuleGroupSourceStatefulRulesOptionsDetails struct { _ struct{} `type:"structure"` // A keyword to look for. Keyword *string `type:"string"` // A list of settings. Settings []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatefulRulesOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatefulRulesOptionsDetails) GoString() string { return s.String() } // SetKeyword sets the Keyword field's value. func (s *RuleGroupSourceStatefulRulesOptionsDetails) SetKeyword(v string) *RuleGroupSourceStatefulRulesOptionsDetails { s.Keyword = &v return s } // SetSettings sets the Settings field's value. func (s *RuleGroupSourceStatefulRulesOptionsDetails) SetSettings(v []*string) *RuleGroupSourceStatefulRulesOptionsDetails { s.Settings = v return s } // The definition of the stateless rule. type RuleGroupSourceStatelessRuleDefinition struct { _ struct{} `type:"structure"` // The actions to take on a packet that matches one of the stateless rule definition's // match attributes. You must specify a standard action (aws:pass, aws:drop, // or aws:forward_to_sfe). You can then add custom actions. Actions []*string `type:"list"` // The criteria for Network Firewall to use to inspect an individual packet // in a stateless rule inspection. MatchAttributes *RuleGroupSourceStatelessRuleMatchAttributes `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleDefinition) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleDefinition) GoString() string { return s.String() } // SetActions sets the Actions field's value. func (s *RuleGroupSourceStatelessRuleDefinition) SetActions(v []*string) *RuleGroupSourceStatelessRuleDefinition { s.Actions = v return s } // SetMatchAttributes sets the MatchAttributes field's value. func (s *RuleGroupSourceStatelessRuleDefinition) SetMatchAttributes(v *RuleGroupSourceStatelessRuleMatchAttributes) *RuleGroupSourceStatelessRuleDefinition { s.MatchAttributes = v return s } // Criteria for the stateless rule. type RuleGroupSourceStatelessRuleMatchAttributes struct { _ struct{} `type:"structure"` // A list of port ranges to specify the destination ports to inspect for. DestinationPorts []*RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts `type:"list"` // The destination IP addresses and address ranges to inspect for, in CIDR notation. Destinations []*RuleGroupSourceStatelessRuleMatchAttributesDestinations `type:"list"` // The protocols to inspect for. Protocols []*int64 `type:"list"` // A list of port ranges to specify the source ports to inspect for. SourcePorts []*RuleGroupSourceStatelessRuleMatchAttributesSourcePorts `type:"list"` // The source IP addresses and address ranges to inspect for, in CIDR notation. Sources []*RuleGroupSourceStatelessRuleMatchAttributesSources `type:"list"` // The TCP flags and masks to inspect for. TcpFlags []*RuleGroupSourceStatelessRuleMatchAttributesTcpFlags `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributes) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributes) GoString() string { return s.String() } // SetDestinationPorts sets the DestinationPorts field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributes) SetDestinationPorts(v []*RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts) *RuleGroupSourceStatelessRuleMatchAttributes { s.DestinationPorts = v return s } // SetDestinations sets the Destinations field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributes) SetDestinations(v []*RuleGroupSourceStatelessRuleMatchAttributesDestinations) *RuleGroupSourceStatelessRuleMatchAttributes { s.Destinations = v return s } // SetProtocols sets the Protocols field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributes) SetProtocols(v []*int64) *RuleGroupSourceStatelessRuleMatchAttributes { s.Protocols = v return s } // SetSourcePorts sets the SourcePorts field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributes) SetSourcePorts(v []*RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) *RuleGroupSourceStatelessRuleMatchAttributes { s.SourcePorts = v return s } // SetSources sets the Sources field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributes) SetSources(v []*RuleGroupSourceStatelessRuleMatchAttributesSources) *RuleGroupSourceStatelessRuleMatchAttributes { s.Sources = v return s } // SetTcpFlags sets the TcpFlags field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributes) SetTcpFlags(v []*RuleGroupSourceStatelessRuleMatchAttributesTcpFlags) *RuleGroupSourceStatelessRuleMatchAttributes { s.TcpFlags = v return s } // A port range to specify the destination ports to inspect for. type RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts struct { _ struct{} `type:"structure"` // The starting port value for the port range. FromPort *int64 `type:"integer"` // The ending port value for the port range. ToPort *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts) GoString() string { return s.String() } // SetFromPort sets the FromPort field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts) SetFromPort(v int64) *RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts { s.FromPort = &v return s } // SetToPort sets the ToPort field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts) SetToPort(v int64) *RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts { s.ToPort = &v return s } // A destination IP address or range. type RuleGroupSourceStatelessRuleMatchAttributesDestinations struct { _ struct{} `type:"structure"` // An IP address or a block of IP addresses. AddressDefinition *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesDestinations) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesDestinations) GoString() string { return s.String() } // SetAddressDefinition sets the AddressDefinition field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesDestinations) SetAddressDefinition(v string) *RuleGroupSourceStatelessRuleMatchAttributesDestinations { s.AddressDefinition = &v return s } // A port range to specify the source ports to inspect for. type RuleGroupSourceStatelessRuleMatchAttributesSourcePorts struct { _ struct{} `type:"structure"` // The starting port value for the port range. FromPort *int64 `type:"integer"` // The ending port value for the port range. ToPort *int64 `type:"integer"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) GoString() string { return s.String() } // SetFromPort sets the FromPort field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) SetFromPort(v int64) *RuleGroupSourceStatelessRuleMatchAttributesSourcePorts { s.FromPort = &v return s } // SetToPort sets the ToPort field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesSourcePorts) SetToPort(v int64) *RuleGroupSourceStatelessRuleMatchAttributesSourcePorts { s.ToPort = &v return s } // A source IP addresses and address range to inspect for. type RuleGroupSourceStatelessRuleMatchAttributesSources struct { _ struct{} `type:"structure"` // An IP address or a block of IP addresses. AddressDefinition *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesSources) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesSources) GoString() string { return s.String() } // SetAddressDefinition sets the AddressDefinition field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesSources) SetAddressDefinition(v string) *RuleGroupSourceStatelessRuleMatchAttributesSources { s.AddressDefinition = &v return s } // A set of TCP flags and masks to inspect for. type RuleGroupSourceStatelessRuleMatchAttributesTcpFlags struct { _ struct{} `type:"structure"` // Defines the flags from the Masks setting that must be set in order for the // packet to match. Flags that are listed must be set. Flags that are not listed // must not be set. Flags []*string `type:"list"` // The set of flags to consider in the inspection. If not specified, then all // flags are inspected. Masks []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesTcpFlags) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRuleMatchAttributesTcpFlags) GoString() string { return s.String() } // SetFlags sets the Flags field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesTcpFlags) SetFlags(v []*string) *RuleGroupSourceStatelessRuleMatchAttributesTcpFlags { s.Flags = v return s } // SetMasks sets the Masks field's value. func (s *RuleGroupSourceStatelessRuleMatchAttributesTcpFlags) SetMasks(v []*string) *RuleGroupSourceStatelessRuleMatchAttributesTcpFlags { s.Masks = v return s } // Stateless rules and custom actions for a stateless rule group. type RuleGroupSourceStatelessRulesAndCustomActionsDetails struct { _ struct{} `type:"structure"` // Custom actions for the rule group. CustomActions []*RuleGroupSourceCustomActionsDetails `type:"list"` // Stateless rules for the rule group. StatelessRules []*RuleGroupSourceStatelessRulesDetails `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRulesAndCustomActionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRulesAndCustomActionsDetails) GoString() string { return s.String() } // SetCustomActions sets the CustomActions field's value. func (s *RuleGroupSourceStatelessRulesAndCustomActionsDetails) SetCustomActions(v []*RuleGroupSourceCustomActionsDetails) *RuleGroupSourceStatelessRulesAndCustomActionsDetails { s.CustomActions = v return s } // SetStatelessRules sets the StatelessRules field's value. func (s *RuleGroupSourceStatelessRulesAndCustomActionsDetails) SetStatelessRules(v []*RuleGroupSourceStatelessRulesDetails) *RuleGroupSourceStatelessRulesAndCustomActionsDetails { s.StatelessRules = v return s } // A stateless rule in the rule group. type RuleGroupSourceStatelessRulesDetails struct { _ struct{} `type:"structure"` // Indicates the order in which to run this rule relative to all of the rules // in the stateless rule group. Priority *int64 `type:"integer"` // Provides the definition of the stateless rule. RuleDefinition *RuleGroupSourceStatelessRuleDefinition `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRulesDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupSourceStatelessRulesDetails) GoString() string { return s.String() } // SetPriority sets the Priority field's value. func (s *RuleGroupSourceStatelessRulesDetails) SetPriority(v int64) *RuleGroupSourceStatelessRulesDetails { s.Priority = &v return s } // SetRuleDefinition sets the RuleDefinition field's value. func (s *RuleGroupSourceStatelessRulesDetails) SetRuleDefinition(v *RuleGroupSourceStatelessRuleDefinition) *RuleGroupSourceStatelessRulesDetails { s.RuleDefinition = v return s } // Additional settings to use in the specified rules. type RuleGroupVariables struct { _ struct{} `type:"structure"` // A list of IP addresses and address ranges, in CIDR notation. IpSets *RuleGroupVariablesIpSetsDetails `type:"structure"` // A list of port ranges. PortSets *RuleGroupVariablesPortSetsDetails `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupVariables) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupVariables) GoString() string { return s.String() } // SetIpSets sets the IpSets field's value. func (s *RuleGroupVariables) SetIpSets(v *RuleGroupVariablesIpSetsDetails) *RuleGroupVariables { s.IpSets = v return s } // SetPortSets sets the PortSets field's value. func (s *RuleGroupVariables) SetPortSets(v *RuleGroupVariablesPortSetsDetails) *RuleGroupVariables { s.PortSets = v return s } // A list of IP addresses and address ranges, in CIDR notation. type RuleGroupVariablesIpSetsDetails struct { _ struct{} `type:"structure"` // The list of IP addresses and ranges. Definition []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupVariablesIpSetsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupVariablesIpSetsDetails) GoString() string { return s.String() } // SetDefinition sets the Definition field's value. func (s *RuleGroupVariablesIpSetsDetails) SetDefinition(v []*string) *RuleGroupVariablesIpSetsDetails { s.Definition = v return s } // A list of port ranges. type RuleGroupVariablesPortSetsDetails struct { _ struct{} `type:"structure"` // The list of port ranges. Definition []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupVariablesPortSetsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s RuleGroupVariablesPortSetsDetails) GoString() string { return s.String() } // SetDefinition sets the Definition field's value. func (s *RuleGroupVariablesPortSetsDetails) SetDefinition(v []*string) *RuleGroupVariablesPortSetsDetails { s.Definition = v return s } // A security control in Security Hub describes a security best practice related // to a specific resource. type SecurityControl struct { _ struct{} `type:"structure"` // The description of a security control across standards. This typically summarizes // how Security Hub evaluates the control and the conditions under which it // produces a failed finding. This parameter doesn't reference a specific standard. // // Description is a required field Description *string `type:"string" required:"true"` // The most recent reason for updating the customizable properties of a security // control. This differs from the UpdateReason field of the BatchUpdateStandardsControlAssociations // (path_to_url // API, which tracks the reason for updating the enablement status of a control. // This field accepts alphanumeric characters in addition to white spaces, dashes, // and underscores. LastUpdateReason *string `type:"string"` // An object that identifies the name of a control parameter, its current value, // and whether it has been customized. Parameters map[string]*ParameterConfiguration `type:"map"` // A link to Security Hub documentation that explains how to remediate a failed // finding for a security control. // // RemediationUrl is a required field RemediationUrl *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) for a security control across standards, such // as arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This // parameter doesn't mention a specific standard. // // SecurityControlArn is a required field SecurityControlArn *string `type:"string" required:"true"` // The unique identifier of a security control across standards. Values for // this field typically consist of an Amazon Web Service name and a number, // such as APIGateway.3. // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` // The enablement status of a security control in a specific standard. // // SecurityControlStatus is a required field SecurityControlStatus *string `type:"string" required:"true" enum:"ControlStatus"` // The severity of a security control. For more information about how Security // Hub determines control severity, see Assigning severity to control findings // (path_to_url#control-findings-severity) // in the Security Hub User Guide. // // SeverityRating is a required field SeverityRating *string `type:"string" required:"true" enum:"SeverityRating"` // The title of a security control. // // Title is a required field Title *string `type:"string" required:"true"` // Identifies whether customizable properties of a security control are reflected // in Security Hub findings. A status of READY indicates findings include the // current parameter values. A status of UPDATING indicates that all findings // may not include the current parameter values. UpdateStatus *string `type:"string" enum:"UpdateStatus"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControl) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControl) GoString() string { return s.String() } // SetDescription sets the Description field's value. func (s *SecurityControl) SetDescription(v string) *SecurityControl { s.Description = &v return s } // SetLastUpdateReason sets the LastUpdateReason field's value. func (s *SecurityControl) SetLastUpdateReason(v string) *SecurityControl { s.LastUpdateReason = &v return s } // SetParameters sets the Parameters field's value. func (s *SecurityControl) SetParameters(v map[string]*ParameterConfiguration) *SecurityControl { s.Parameters = v return s } // SetRemediationUrl sets the RemediationUrl field's value. func (s *SecurityControl) SetRemediationUrl(v string) *SecurityControl { s.RemediationUrl = &v return s } // SetSecurityControlArn sets the SecurityControlArn field's value. func (s *SecurityControl) SetSecurityControlArn(v string) *SecurityControl { s.SecurityControlArn = &v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *SecurityControl) SetSecurityControlId(v string) *SecurityControl { s.SecurityControlId = &v return s } // SetSecurityControlStatus sets the SecurityControlStatus field's value. func (s *SecurityControl) SetSecurityControlStatus(v string) *SecurityControl { s.SecurityControlStatus = &v return s } // SetSeverityRating sets the SeverityRating field's value. func (s *SecurityControl) SetSeverityRating(v string) *SecurityControl { s.SeverityRating = &v return s } // SetTitle sets the Title field's value. func (s *SecurityControl) SetTitle(v string) *SecurityControl { s.Title = &v return s } // SetUpdateStatus sets the UpdateStatus field's value. func (s *SecurityControl) SetUpdateStatus(v string) *SecurityControl { s.UpdateStatus = &v return s } // A list of security controls and control parameter values that are included // in a configuration policy. type SecurityControlCustomParameter struct { _ struct{} `type:"structure"` // An object that specifies parameter values for a control in a configuration // policy. Parameters map[string]*ParameterConfiguration `type:"map"` // The ID of the security control. SecurityControlId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlCustomParameter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlCustomParameter) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *SecurityControlCustomParameter) Validate() error { invalidParams := request.ErrInvalidParams{Context: "SecurityControlCustomParameter"} if s.Parameters != nil { for i, v := range s.Parameters { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Parameters", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetParameters sets the Parameters field's value. func (s *SecurityControlCustomParameter) SetParameters(v map[string]*ParameterConfiguration) *SecurityControlCustomParameter { s.Parameters = v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *SecurityControlCustomParameter) SetSecurityControlId(v string) *SecurityControlCustomParameter { s.SecurityControlId = &v return s } // Provides metadata for a security control, including its unique standard-agnostic // identifier, title, description, severity, availability in Amazon Web Services // Regions, and a link to remediation steps. type SecurityControlDefinition struct { _ struct{} `type:"structure"` // Specifies whether a security control is available in the current Amazon Web // Services Region. // // CurrentRegionAvailability is a required field CurrentRegionAvailability *string `type:"string" required:"true" enum:"RegionAvailabilityStatus"` // Security control properties that you can customize. Currently, only parameter // customization is supported for select controls. An empty array is returned // for controls that dont support custom properties. CustomizableProperties []*string `type:"list" enum:"SecurityControlProperty"` // The description of a security control across standards. This typically summarizes // how Security Hub evaluates the control and the conditions under which it // produces a failed finding. This parameter doesn't reference a specific standard. // // Description is a required field Description *string `type:"string" required:"true"` // An object that provides a security control parameter name, description, and // the options for customizing it. This object is excluded for a control that // doesn't support custom parameters. ParameterDefinitions map[string]*ParameterDefinition `type:"map"` // A link to Security Hub documentation that explains how to remediate a failed // finding for a security control. // // RemediationUrl is a required field RemediationUrl *string `type:"string" required:"true"` // The unique identifier of a security control across standards. Values for // this field typically consist of an Amazon Web Service name and a number (for // example, APIGateway.3). This parameter differs from SecurityControlArn, which // is a unique Amazon Resource Name (ARN) assigned to a control. The ARN references // the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3). // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` // The severity of a security control. For more information about how Security // Hub determines control severity, see Assigning severity to control findings // (path_to_url#control-findings-severity) // in the Security Hub User Guide. // // SeverityRating is a required field SeverityRating *string `type:"string" required:"true" enum:"SeverityRating"` // The title of a security control. // // Title is a required field Title *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlDefinition) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlDefinition) GoString() string { return s.String() } // SetCurrentRegionAvailability sets the CurrentRegionAvailability field's value. func (s *SecurityControlDefinition) SetCurrentRegionAvailability(v string) *SecurityControlDefinition { s.CurrentRegionAvailability = &v return s } // SetCustomizableProperties sets the CustomizableProperties field's value. func (s *SecurityControlDefinition) SetCustomizableProperties(v []*string) *SecurityControlDefinition { s.CustomizableProperties = v return s } // SetDescription sets the Description field's value. func (s *SecurityControlDefinition) SetDescription(v string) *SecurityControlDefinition { s.Description = &v return s } // SetParameterDefinitions sets the ParameterDefinitions field's value. func (s *SecurityControlDefinition) SetParameterDefinitions(v map[string]*ParameterDefinition) *SecurityControlDefinition { s.ParameterDefinitions = v return s } // SetRemediationUrl sets the RemediationUrl field's value. func (s *SecurityControlDefinition) SetRemediationUrl(v string) *SecurityControlDefinition { s.RemediationUrl = &v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *SecurityControlDefinition) SetSecurityControlId(v string) *SecurityControlDefinition { s.SecurityControlId = &v return s } // SetSeverityRating sets the SeverityRating field's value. func (s *SecurityControlDefinition) SetSeverityRating(v string) *SecurityControlDefinition { s.SeverityRating = &v return s } // SetTitle sets the Title field's value. func (s *SecurityControlDefinition) SetTitle(v string) *SecurityControlDefinition { s.Title = &v return s } // A parameter that a security control accepts. type SecurityControlParameter struct { _ struct{} `type:"structure"` // The name of a Name *string `type:"string"` // The current value of a control parameter. Value []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlParameter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlParameter) GoString() string { return s.String() } // SetName sets the Name field's value. func (s *SecurityControlParameter) SetName(v string) *SecurityControlParameter { s.Name = &v return s } // SetValue sets the Value field's value. func (s *SecurityControlParameter) SetValue(v []*string) *SecurityControlParameter { s.Value = v return s } // An object that defines which security controls are enabled in an Security // Hub configuration policy. The enablement status of a control is aligned across // all of the enabled standards in an account. type SecurityControlsConfiguration struct { _ struct{} `type:"structure"` // A list of security controls that are disabled in the configuration policy. // Security Hub enables all other controls (including newly released controls) // other than the listed controls. DisabledSecurityControlIdentifiers []*string `type:"list"` // A list of security controls that are enabled in the configuration policy. // Security Hub disables all other controls (including newly released controls) // other than the listed controls. EnabledSecurityControlIdentifiers []*string `type:"list"` // A list of security controls and control parameter values that are included // in a configuration policy. SecurityControlCustomParameters []*SecurityControlCustomParameter `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlsConfiguration) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityControlsConfiguration) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *SecurityControlsConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "SecurityControlsConfiguration"} if s.SecurityControlCustomParameters != nil { for i, v := range s.SecurityControlCustomParameters { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SecurityControlCustomParameters", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetDisabledSecurityControlIdentifiers sets the DisabledSecurityControlIdentifiers field's value. func (s *SecurityControlsConfiguration) SetDisabledSecurityControlIdentifiers(v []*string) *SecurityControlsConfiguration { s.DisabledSecurityControlIdentifiers = v return s } // SetEnabledSecurityControlIdentifiers sets the EnabledSecurityControlIdentifiers field's value. func (s *SecurityControlsConfiguration) SetEnabledSecurityControlIdentifiers(v []*string) *SecurityControlsConfiguration { s.EnabledSecurityControlIdentifiers = v return s } // SetSecurityControlCustomParameters sets the SecurityControlCustomParameters field's value. func (s *SecurityControlsConfiguration) SetSecurityControlCustomParameters(v []*SecurityControlCustomParameter) *SecurityControlsConfiguration { s.SecurityControlCustomParameters = v return s } // An object that defines how Security Hub is configured. The configuration // policy includes whether Security Hub is enabled or disabled, a list of enabled // security standards, a list of enabled or disabled security controls, and // a list of custom parameter values for specified controls. If you provide // a list of security controls that are enabled in the configuration policy, // Security Hub disables all other controls (including newly released controls). // If you provide a list of security controls that are disabled in the configuration // policy, Security Hub enables all other controls (including newly released // controls). type SecurityHubPolicy struct { _ struct{} `type:"structure"` // A list that defines which security standards are enabled in the configuration // policy. EnabledStandardIdentifiers []*string `type:"list"` // An object that defines which security controls are enabled in the configuration // policy. The enablement status of a control is aligned across all of the enabled // standards in an account. SecurityControlsConfiguration *SecurityControlsConfiguration `type:"structure"` // Indicates whether Security Hub is enabled in the policy. ServiceEnabled *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityHubPolicy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SecurityHubPolicy) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *SecurityHubPolicy) Validate() error { invalidParams := request.ErrInvalidParams{Context: "SecurityHubPolicy"} if s.SecurityControlsConfiguration != nil { if err := s.SecurityControlsConfiguration.Validate(); err != nil { invalidParams.AddNested("SecurityControlsConfiguration", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetEnabledStandardIdentifiers sets the EnabledStandardIdentifiers field's value. func (s *SecurityHubPolicy) SetEnabledStandardIdentifiers(v []*string) *SecurityHubPolicy { s.EnabledStandardIdentifiers = v return s } // SetSecurityControlsConfiguration sets the SecurityControlsConfiguration field's value. func (s *SecurityHubPolicy) SetSecurityControlsConfiguration(v *SecurityControlsConfiguration) *SecurityHubPolicy { s.SecurityControlsConfiguration = v return s } // SetServiceEnabled sets the ServiceEnabled field's value. func (s *SecurityHubPolicy) SetServiceEnabled(v bool) *SecurityHubPolicy { s.ServiceEnabled = &v return s } // The list of detected instances of sensitive data. type SensitiveDataDetections struct { _ struct{} `type:"structure"` // The total number of occurrences of sensitive data that were detected. Count *int64 `type:"long"` // Details about the sensitive data that was detected. Occurrences *Occurrences `type:"structure"` // The type of sensitive data that was detected. For example, the type might // indicate that the data is an email address. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SensitiveDataDetections) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SensitiveDataDetections) GoString() string { return s.String() } // SetCount sets the Count field's value. func (s *SensitiveDataDetections) SetCount(v int64) *SensitiveDataDetections { s.Count = &v return s } // SetOccurrences sets the Occurrences field's value. func (s *SensitiveDataDetections) SetOccurrences(v *Occurrences) *SensitiveDataDetections { s.Occurrences = v return s } // SetType sets the Type field's value. func (s *SensitiveDataDetections) SetType(v string) *SensitiveDataDetections { s.Type = &v return s } // Contains a detected instance of sensitive data that are based on built-in // identifiers. type SensitiveDataResult struct { _ struct{} `type:"structure"` // The category of sensitive data that was detected. For example, the category // can indicate that the sensitive data involved credentials, financial information, // or personal information. Category *string `type:"string"` // The list of detected instances of sensitive data. Detections []*SensitiveDataDetections `type:"list"` // The total number of occurrences of sensitive data. TotalCount *int64 `type:"long"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SensitiveDataResult) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SensitiveDataResult) GoString() string { return s.String() } // SetCategory sets the Category field's value. func (s *SensitiveDataResult) SetCategory(v string) *SensitiveDataResult { s.Category = &v return s } // SetDetections sets the Detections field's value. func (s *SensitiveDataResult) SetDetections(v []*SensitiveDataDetections) *SensitiveDataResult { s.Detections = v return s } // SetTotalCount sets the TotalCount field's value. func (s *SensitiveDataResult) SetTotalCount(v int64) *SensitiveDataResult { s.TotalCount = &v return s } // The severity of the finding. // // The finding provider can provide the initial severity. The finding provider // can only update the severity if it hasn't been updated using BatchUpdateFindings. // // The finding must have either Label or Normalized populated. If only one of // these attributes is populated, then Security Hub automatically populates // the other one. If neither attribute is populated, then the finding is invalid. // Label is the preferred attribute. type Severity struct { _ struct{} `type:"structure"` // The severity value of the finding. The allowed values are the following. // // * INFORMATIONAL - No issue was found. // // * LOW - The issue does not require action on its own. // // * MEDIUM - The issue must be addressed but not urgently. // // * HIGH - The issue must be addressed as a priority. // // * CRITICAL - The issue must be remediated immediately to avoid it escalating. // // If you provide Normalized and do not provide Label, then Label is set automatically // as follows. // // * 0 - INFORMATIONAL // // * 139 - LOW // // * 4069 - MEDIUM // // * 7089 - HIGH // // * 90100 - CRITICAL Label *string `type:"string" enum:"SeverityLabel"` // Deprecated. The normalized severity of a finding. Instead of providing Normalized, // provide Label. // // If you provide Label and do not provide Normalized, then Normalized is set // automatically as follows. // // * INFORMATIONAL - 0 // // * LOW - 1 // // * MEDIUM - 40 // // * HIGH - 70 // // * CRITICAL - 90 Normalized *int64 `type:"integer"` // The native severity from the finding product that generated the finding. Original *string `type:"string"` // Deprecated. This attribute isn't included in findings. Instead of providing // Product, provide Original. // // The native severity as defined by the Amazon Web Services service or integrated // partner product that generated the finding. Product *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Severity) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Severity) GoString() string { return s.String() } // SetLabel sets the Label field's value. func (s *Severity) SetLabel(v string) *Severity { s.Label = &v return s } // SetNormalized sets the Normalized field's value. func (s *Severity) SetNormalized(v int64) *Severity { s.Normalized = &v return s } // SetOriginal sets the Original field's value. func (s *Severity) SetOriginal(v string) *Severity { s.Original = &v return s } // SetProduct sets the Product field's value. func (s *Severity) SetProduct(v float64) *Severity { s.Product = &v return s } // Updates to the severity information for a finding. type SeverityUpdate struct { _ struct{} `type:"structure"` // The severity value of the finding. The allowed values are the following. // // * INFORMATIONAL - No issue was found. // // * LOW - The issue does not require action on its own. // // * MEDIUM - The issue must be addressed but not urgently. // // * HIGH - The issue must be addressed as a priority. // // * CRITICAL - The issue must be remediated immediately to avoid it escalating. Label *string `type:"string" enum:"SeverityLabel"` // The normalized severity for the finding. This attribute is to be deprecated // in favor of Label. // // If you provide Normalized and do not provide Label, Label is set automatically // as follows. // // * 0 - INFORMATIONAL // // * 139 - LOW // // * 4069 - MEDIUM // // * 7089 - HIGH // // * 90100 - CRITICAL Normalized *int64 `type:"integer"` // The native severity as defined by the Amazon Web Services service or integrated // partner product that generated the finding. Product *float64 `type:"double"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SeverityUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SeverityUpdate) GoString() string { return s.String() } // SetLabel sets the Label field's value. func (s *SeverityUpdate) SetLabel(v string) *SeverityUpdate { s.Label = &v return s } // SetNormalized sets the Normalized field's value. func (s *SeverityUpdate) SetNormalized(v int64) *SeverityUpdate { s.Normalized = &v return s } // SetProduct sets the Product field's value. func (s *SeverityUpdate) SetProduct(v float64) *SeverityUpdate { s.Product = &v return s } // Information about a software package. type SoftwarePackage struct { _ struct{} `type:"structure"` // The architecture used for the software package. Architecture *string `type:"string"` // The epoch of the software package. Epoch *string `type:"string"` // The file system path to the package manager inventory file. FilePath *string `type:"string"` // The version of the software package in which the vulnerability has been resolved. FixedInVersion *string `type:"string"` // The name of the software package. Name *string `type:"string"` // The source of the package. PackageManager *string `type:"string"` // The release of the software package. Release *string `type:"string"` // Describes the actions a customer can take to resolve the vulnerability in // the software package. Remediation *string `type:"string"` // The Amazon Resource Name (ARN) of the source layer. SourceLayerArn *string `type:"string"` // The source layer hash of the vulnerable package. SourceLayerHash *string `type:"string"` // The version of the software package. Version *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SoftwarePackage) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SoftwarePackage) GoString() string { return s.String() } // SetArchitecture sets the Architecture field's value. func (s *SoftwarePackage) SetArchitecture(v string) *SoftwarePackage { s.Architecture = &v return s } // SetEpoch sets the Epoch field's value. func (s *SoftwarePackage) SetEpoch(v string) *SoftwarePackage { s.Epoch = &v return s } // SetFilePath sets the FilePath field's value. func (s *SoftwarePackage) SetFilePath(v string) *SoftwarePackage { s.FilePath = &v return s } // SetFixedInVersion sets the FixedInVersion field's value. func (s *SoftwarePackage) SetFixedInVersion(v string) *SoftwarePackage { s.FixedInVersion = &v return s } // SetName sets the Name field's value. func (s *SoftwarePackage) SetName(v string) *SoftwarePackage { s.Name = &v return s } // SetPackageManager sets the PackageManager field's value. func (s *SoftwarePackage) SetPackageManager(v string) *SoftwarePackage { s.PackageManager = &v return s } // SetRelease sets the Release field's value. func (s *SoftwarePackage) SetRelease(v string) *SoftwarePackage { s.Release = &v return s } // SetRemediation sets the Remediation field's value. func (s *SoftwarePackage) SetRemediation(v string) *SoftwarePackage { s.Remediation = &v return s } // SetSourceLayerArn sets the SourceLayerArn field's value. func (s *SoftwarePackage) SetSourceLayerArn(v string) *SoftwarePackage { s.SourceLayerArn = &v return s } // SetSourceLayerHash sets the SourceLayerHash field's value. func (s *SoftwarePackage) SetSourceLayerHash(v string) *SoftwarePackage { s.SourceLayerHash = &v return s } // SetVersion sets the Version field's value. func (s *SoftwarePackage) SetVersion(v string) *SoftwarePackage { s.Version = &v return s } // A collection of finding attributes used to sort findings. type SortCriterion struct { _ struct{} `type:"structure"` // The finding attribute used to sort findings. Field *string `type:"string"` // The order used to sort findings. SortOrder *string `type:"string" enum:"SortOrder"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SortCriterion) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s SortCriterion) GoString() string { return s.String() } // SetField sets the Field field's value. func (s *SortCriterion) SetField(v string) *SortCriterion { s.Field = &v return s } // SetSortOrder sets the SortOrder field's value. func (s *SortCriterion) SetSortOrder(v string) *SortCriterion { s.SortOrder = &v return s } // Provides information about a specific security standard. type Standard struct { _ struct{} `type:"structure"` // A description of the standard. Description *string `type:"string"` // Whether the standard is enabled by default. When Security Hub is enabled // from the console, if a standard is enabled by default, the check box for // that standard is selected by default. // // When Security Hub is enabled using the EnableSecurityHub API operation, the // standard is enabled by default unless EnableDefaultStandards is set to false. EnabledByDefault *bool `type:"boolean"` // The name of the standard. Name *string `type:"string"` // The ARN of a standard. StandardsArn *string `type:"string"` // Provides details about the management of a standard. StandardsManagedBy *StandardsManagedBy `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Standard) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Standard) GoString() string { return s.String() } // SetDescription sets the Description field's value. func (s *Standard) SetDescription(v string) *Standard { s.Description = &v return s } // SetEnabledByDefault sets the EnabledByDefault field's value. func (s *Standard) SetEnabledByDefault(v bool) *Standard { s.EnabledByDefault = &v return s } // SetName sets the Name field's value. func (s *Standard) SetName(v string) *Standard { s.Name = &v return s } // SetStandardsArn sets the StandardsArn field's value. func (s *Standard) SetStandardsArn(v string) *Standard { s.StandardsArn = &v return s } // SetStandardsManagedBy sets the StandardsManagedBy field's value. func (s *Standard) SetStandardsManagedBy(v *StandardsManagedBy) *Standard { s.StandardsManagedBy = v return s } // Details for an individual security standard control. type StandardsControl struct { _ struct{} `type:"structure"` // The identifier of the security standard control. ControlId *string `type:"string"` // The current status of the security standard control. Indicates whether the // control is enabled or disabled. Security Hub does not check against disabled // controls. ControlStatus *string `type:"string" enum:"ControlStatus"` // The date and time that the status of the security standard control was most // recently updated. ControlStatusUpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The longer description of the security standard control. Provides information // about what the control is checking for. Description *string `type:"string"` // The reason provided for the most recent change in status for the control. DisabledReason *string `type:"string"` // The list of requirements that are related to this control. RelatedRequirements []*string `type:"list"` // A link to remediation information for the control in the Security Hub user // documentation. RemediationUrl *string `type:"string"` // The severity of findings generated from this security standard control. // // The finding severity is based on an assessment of how easy it would be to // compromise Amazon Web Services resources if the issue is detected. SeverityRating *string `type:"string" enum:"SeverityRating"` // The ARN of the security standard control. StandardsControlArn *string `type:"string"` // The title of the security standard control. Title *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControl) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControl) GoString() string { return s.String() } // SetControlId sets the ControlId field's value. func (s *StandardsControl) SetControlId(v string) *StandardsControl { s.ControlId = &v return s } // SetControlStatus sets the ControlStatus field's value. func (s *StandardsControl) SetControlStatus(v string) *StandardsControl { s.ControlStatus = &v return s } // SetControlStatusUpdatedAt sets the ControlStatusUpdatedAt field's value. func (s *StandardsControl) SetControlStatusUpdatedAt(v time.Time) *StandardsControl { s.ControlStatusUpdatedAt = &v return s } // SetDescription sets the Description field's value. func (s *StandardsControl) SetDescription(v string) *StandardsControl { s.Description = &v return s } // SetDisabledReason sets the DisabledReason field's value. func (s *StandardsControl) SetDisabledReason(v string) *StandardsControl { s.DisabledReason = &v return s } // SetRelatedRequirements sets the RelatedRequirements field's value. func (s *StandardsControl) SetRelatedRequirements(v []*string) *StandardsControl { s.RelatedRequirements = v return s } // SetRemediationUrl sets the RemediationUrl field's value. func (s *StandardsControl) SetRemediationUrl(v string) *StandardsControl { s.RemediationUrl = &v return s } // SetSeverityRating sets the SeverityRating field's value. func (s *StandardsControl) SetSeverityRating(v string) *StandardsControl { s.SeverityRating = &v return s } // SetStandardsControlArn sets the StandardsControlArn field's value. func (s *StandardsControl) SetStandardsControlArn(v string) *StandardsControl { s.StandardsControlArn = &v return s } // SetTitle sets the Title field's value. func (s *StandardsControl) SetTitle(v string) *StandardsControl { s.Title = &v return s } // Provides details about a control's enablement status in a specified standard. type StandardsControlAssociationDetail struct { _ struct{} `type:"structure"` // Specifies whether a control is enabled or disabled in a specified standard. // // AssociationStatus is a required field AssociationStatus *string `type:"string" required:"true" enum:"AssociationStatus"` // The requirement that underlies a control in the compliance framework related // to the standard. RelatedRequirements []*string `type:"list"` // The ARN of a security control across standards, such as arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. // This parameter doesn't mention a specific standard. // // SecurityControlArn is a required field SecurityControlArn *string `type:"string" required:"true"` // The unique identifier of a security control across standards. Values for // this field typically consist of an Amazon Web Service name and a number, // such as APIGateway.3. // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of a security standard. // // StandardsArn is a required field StandardsArn *string `type:"string" required:"true"` // Provides the input parameter that Security Hub uses to call the UpdateStandardsControl // (path_to_url // API. This API can be used to enable or disable a control in a specified standard. StandardsControlArns []*string `type:"list"` // The description of a control. This typically summarizes how Security Hub // evaluates the control and the conditions under which it produces a failed // finding. This parameter may reference a specific standard. StandardsControlDescription *string `type:"string"` // The title of a control. This field may reference a specific standard. StandardsControlTitle *string `type:"string"` // The time at which the enablement status of the control in the specified standard // was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The reason for updating the enablement status of a control in a specified // standard. UpdatedReason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationDetail) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationDetail) GoString() string { return s.String() } // SetAssociationStatus sets the AssociationStatus field's value. func (s *StandardsControlAssociationDetail) SetAssociationStatus(v string) *StandardsControlAssociationDetail { s.AssociationStatus = &v return s } // SetRelatedRequirements sets the RelatedRequirements field's value. func (s *StandardsControlAssociationDetail) SetRelatedRequirements(v []*string) *StandardsControlAssociationDetail { s.RelatedRequirements = v return s } // SetSecurityControlArn sets the SecurityControlArn field's value. func (s *StandardsControlAssociationDetail) SetSecurityControlArn(v string) *StandardsControlAssociationDetail { s.SecurityControlArn = &v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *StandardsControlAssociationDetail) SetSecurityControlId(v string) *StandardsControlAssociationDetail { s.SecurityControlId = &v return s } // SetStandardsArn sets the StandardsArn field's value. func (s *StandardsControlAssociationDetail) SetStandardsArn(v string) *StandardsControlAssociationDetail { s.StandardsArn = &v return s } // SetStandardsControlArns sets the StandardsControlArns field's value. func (s *StandardsControlAssociationDetail) SetStandardsControlArns(v []*string) *StandardsControlAssociationDetail { s.StandardsControlArns = v return s } // SetStandardsControlDescription sets the StandardsControlDescription field's value. func (s *StandardsControlAssociationDetail) SetStandardsControlDescription(v string) *StandardsControlAssociationDetail { s.StandardsControlDescription = &v return s } // SetStandardsControlTitle sets the StandardsControlTitle field's value. func (s *StandardsControlAssociationDetail) SetStandardsControlTitle(v string) *StandardsControlAssociationDetail { s.StandardsControlTitle = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *StandardsControlAssociationDetail) SetUpdatedAt(v time.Time) *StandardsControlAssociationDetail { s.UpdatedAt = &v return s } // SetUpdatedReason sets the UpdatedReason field's value. func (s *StandardsControlAssociationDetail) SetUpdatedReason(v string) *StandardsControlAssociationDetail { s.UpdatedReason = &v return s } // An array with one or more objects that includes a security control (identified // with SecurityControlId, SecurityControlArn, or a mix of both parameters) // and the Amazon Resource Name (ARN) of a standard. The security control ID // or ARN is the same across standards. type StandardsControlAssociationId struct { _ struct{} `type:"structure"` // The unique identifier (identified with SecurityControlId, SecurityControlArn, // or a mix of both parameters) of a security control across standards. // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` // The ARN of a standard. // // StandardsArn is a required field StandardsArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationId) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationId) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *StandardsControlAssociationId) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StandardsControlAssociationId"} if s.SecurityControlId == nil { invalidParams.Add(request.NewErrParamRequired("SecurityControlId")) } if s.StandardsArn == nil { invalidParams.Add(request.NewErrParamRequired("StandardsArn")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetSecurityControlId sets the SecurityControlId field's value. func (s *StandardsControlAssociationId) SetSecurityControlId(v string) *StandardsControlAssociationId { s.SecurityControlId = &v return s } // SetStandardsArn sets the StandardsArn field's value. func (s *StandardsControlAssociationId) SetStandardsArn(v string) *StandardsControlAssociationId { s.StandardsArn = &v return s } // An array that provides the enablement status and other details for each control // that applies to each enabled standard. type StandardsControlAssociationSummary struct { _ struct{} `type:"structure"` // The enablement status of a control in a specific standard. // // AssociationStatus is a required field AssociationStatus *string `type:"string" required:"true" enum:"AssociationStatus"` // The requirement that underlies this control in the compliance framework related // to the standard. RelatedRequirements []*string `type:"list"` // The ARN of a control, such as arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. // This parameter doesn't mention a specific standard. // // SecurityControlArn is a required field SecurityControlArn *string `type:"string" required:"true"` // A unique standard-agnostic identifier for a control. Values for this field // typically consist of an Amazon Web Service and a number, such as APIGateway.5. // This field doesn't reference a specific standard. // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of a standard. // // StandardsArn is a required field StandardsArn *string `type:"string" required:"true"` // The description of a control. This typically summarizes how Security Hub // evaluates the control and the conditions under which it produces a failed // finding. The parameter may reference a specific standard. StandardsControlDescription *string `type:"string"` // The title of a control. StandardsControlTitle *string `type:"string"` // The last time that a control's enablement status in a specified standard // was updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The reason for updating a control's enablement status in a specified standard. UpdatedReason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationSummary) GoString() string { return s.String() } // SetAssociationStatus sets the AssociationStatus field's value. func (s *StandardsControlAssociationSummary) SetAssociationStatus(v string) *StandardsControlAssociationSummary { s.AssociationStatus = &v return s } // SetRelatedRequirements sets the RelatedRequirements field's value. func (s *StandardsControlAssociationSummary) SetRelatedRequirements(v []*string) *StandardsControlAssociationSummary { s.RelatedRequirements = v return s } // SetSecurityControlArn sets the SecurityControlArn field's value. func (s *StandardsControlAssociationSummary) SetSecurityControlArn(v string) *StandardsControlAssociationSummary { s.SecurityControlArn = &v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *StandardsControlAssociationSummary) SetSecurityControlId(v string) *StandardsControlAssociationSummary { s.SecurityControlId = &v return s } // SetStandardsArn sets the StandardsArn field's value. func (s *StandardsControlAssociationSummary) SetStandardsArn(v string) *StandardsControlAssociationSummary { s.StandardsArn = &v return s } // SetStandardsControlDescription sets the StandardsControlDescription field's value. func (s *StandardsControlAssociationSummary) SetStandardsControlDescription(v string) *StandardsControlAssociationSummary { s.StandardsControlDescription = &v return s } // SetStandardsControlTitle sets the StandardsControlTitle field's value. func (s *StandardsControlAssociationSummary) SetStandardsControlTitle(v string) *StandardsControlAssociationSummary { s.StandardsControlTitle = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *StandardsControlAssociationSummary) SetUpdatedAt(v time.Time) *StandardsControlAssociationSummary { s.UpdatedAt = &v return s } // SetUpdatedReason sets the UpdatedReason field's value. func (s *StandardsControlAssociationSummary) SetUpdatedReason(v string) *StandardsControlAssociationSummary { s.UpdatedReason = &v return s } // An array of requested updates to the enablement status of controls in specified // standards. The objects in the array include a security control ID, the Amazon // Resource Name (ARN) of the standard, the requested enablement status, and // the reason for updating the enablement status. type StandardsControlAssociationUpdate struct { _ struct{} `type:"structure"` // The desired enablement status of the control in the standard. // // AssociationStatus is a required field AssociationStatus *string `type:"string" required:"true" enum:"AssociationStatus"` // The unique identifier for the security control whose enablement status you // want to update. // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the standard in which you want to update // the control's enablement status. // // StandardsArn is a required field StandardsArn *string `type:"string" required:"true"` // The reason for updating the control's enablement status in the standard. UpdatedReason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsControlAssociationUpdate) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *StandardsControlAssociationUpdate) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StandardsControlAssociationUpdate"} if s.AssociationStatus == nil { invalidParams.Add(request.NewErrParamRequired("AssociationStatus")) } if s.SecurityControlId == nil { invalidParams.Add(request.NewErrParamRequired("SecurityControlId")) } if s.StandardsArn == nil { invalidParams.Add(request.NewErrParamRequired("StandardsArn")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAssociationStatus sets the AssociationStatus field's value. func (s *StandardsControlAssociationUpdate) SetAssociationStatus(v string) *StandardsControlAssociationUpdate { s.AssociationStatus = &v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *StandardsControlAssociationUpdate) SetSecurityControlId(v string) *StandardsControlAssociationUpdate { s.SecurityControlId = &v return s } // SetStandardsArn sets the StandardsArn field's value. func (s *StandardsControlAssociationUpdate) SetStandardsArn(v string) *StandardsControlAssociationUpdate { s.StandardsArn = &v return s } // SetUpdatedReason sets the UpdatedReason field's value. func (s *StandardsControlAssociationUpdate) SetUpdatedReason(v string) *StandardsControlAssociationUpdate { s.UpdatedReason = &v return s } // Provides details about the management of a security standard. type StandardsManagedBy struct { _ struct{} `type:"structure"` // An identifier for the company that manages a specific security standard. // For existing standards, the value is equal to Amazon Web Services. Company *string `type:"string"` // An identifier for the product that manages a specific security standard. // For existing standards, the value is equal to the Amazon Web Services service // that manages the standard. Product *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsManagedBy) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsManagedBy) GoString() string { return s.String() } // SetCompany sets the Company field's value. func (s *StandardsManagedBy) SetCompany(v string) *StandardsManagedBy { s.Company = &v return s } // SetProduct sets the Product field's value. func (s *StandardsManagedBy) SetProduct(v string) *StandardsManagedBy { s.Product = &v return s } // The reason for the current status of a standard subscription. type StandardsStatusReason struct { _ struct{} `type:"structure"` // The reason code that represents the reason for the current status of a standard // subscription. // // StatusReasonCode is a required field StatusReasonCode *string `type:"string" required:"true" enum:"StatusReasonCode"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsStatusReason) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsStatusReason) GoString() string { return s.String() } // SetStatusReasonCode sets the StatusReasonCode field's value. func (s *StandardsStatusReason) SetStatusReasonCode(v string) *StandardsStatusReason { s.StatusReasonCode = &v return s } // A resource that represents your subscription to a supported standard. type StandardsSubscription struct { _ struct{} `type:"structure"` // The ARN of a standard. // // StandardsArn is a required field StandardsArn *string `type:"string" required:"true"` // A key-value pair of input for the standard. // // StandardsInput is a required field StandardsInput map[string]*string `type:"map" required:"true"` // The status of the standard subscription. // // The status values are as follows: // // * PENDING - Standard is in the process of being enabled. // // * READY - Standard is enabled. // // * INCOMPLETE - Standard could not be enabled completely. Some controls // may not be available. // // * DELETING - Standard is in the process of being disabled. // // * FAILED - Standard could not be disabled. // // StandardsStatus is a required field StandardsStatus *string `type:"string" required:"true" enum:"StandardsStatus"` // The reason for the current status. StandardsStatusReason *StandardsStatusReason `type:"structure"` // The ARN of a resource that represents your subscription to a supported standard. // // StandardsSubscriptionArn is a required field StandardsSubscriptionArn *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsSubscription) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsSubscription) GoString() string { return s.String() } // SetStandardsArn sets the StandardsArn field's value. func (s *StandardsSubscription) SetStandardsArn(v string) *StandardsSubscription { s.StandardsArn = &v return s } // SetStandardsInput sets the StandardsInput field's value. func (s *StandardsSubscription) SetStandardsInput(v map[string]*string) *StandardsSubscription { s.StandardsInput = v return s } // SetStandardsStatus sets the StandardsStatus field's value. func (s *StandardsSubscription) SetStandardsStatus(v string) *StandardsSubscription { s.StandardsStatus = &v return s } // SetStandardsStatusReason sets the StandardsStatusReason field's value. func (s *StandardsSubscription) SetStandardsStatusReason(v *StandardsStatusReason) *StandardsSubscription { s.StandardsStatusReason = v return s } // SetStandardsSubscriptionArn sets the StandardsSubscriptionArn field's value. func (s *StandardsSubscription) SetStandardsSubscriptionArn(v string) *StandardsSubscription { s.StandardsSubscriptionArn = &v return s } // The standard that you want to enable. type StandardsSubscriptionRequest struct { _ struct{} `type:"structure"` // The ARN of the standard that you want to enable. To view the list of available // standards and their ARNs, use the DescribeStandards operation. // // StandardsArn is a required field StandardsArn *string `type:"string" required:"true"` // A key-value pair of input for the standard. StandardsInput map[string]*string `type:"map"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsSubscriptionRequest) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StandardsSubscriptionRequest) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *StandardsSubscriptionRequest) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StandardsSubscriptionRequest"} if s.StandardsArn == nil { invalidParams.Add(request.NewErrParamRequired("StandardsArn")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetStandardsArn sets the StandardsArn field's value. func (s *StandardsSubscriptionRequest) SetStandardsArn(v string) *StandardsSubscriptionRequest { s.StandardsArn = &v return s } // SetStandardsInput sets the StandardsInput field's value. func (s *StandardsSubscriptionRequest) SetStandardsInput(v map[string]*string) *StandardsSubscriptionRequest { s.StandardsInput = v return s } type StartConfigurationPolicyAssociationInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) or universally unique identifier (UUID) of // the configuration policy. // // ConfigurationPolicyIdentifier is a required field ConfigurationPolicyIdentifier *string `type:"string" required:"true"` // The identifier of the target account, organizational unit, or the root to // associate with the specified configuration. // // Target is a required field Target *Target `type:"structure" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyAssociationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyAssociationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *StartConfigurationPolicyAssociationInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StartConfigurationPolicyAssociationInput"} if s.ConfigurationPolicyIdentifier == nil { invalidParams.Add(request.NewErrParamRequired("ConfigurationPolicyIdentifier")) } if s.Target == nil { invalidParams.Add(request.NewErrParamRequired("Target")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfigurationPolicyIdentifier sets the ConfigurationPolicyIdentifier field's value. func (s *StartConfigurationPolicyAssociationInput) SetConfigurationPolicyIdentifier(v string) *StartConfigurationPolicyAssociationInput { s.ConfigurationPolicyIdentifier = &v return s } // SetTarget sets the Target field's value. func (s *StartConfigurationPolicyAssociationInput) SetTarget(v *Target) *StartConfigurationPolicyAssociationInput { s.Target = v return s } type StartConfigurationPolicyAssociationOutput struct { _ struct{} `type:"structure"` // The current status of the association between the specified target and the // configuration. AssociationStatus *string `type:"string" enum:"ConfigurationPolicyAssociationStatus"` // An explanation for a FAILED value for AssociationStatus. AssociationStatusMessage *string `type:"string"` // Indicates whether the association between the specified target and the configuration // was directly applied by the Security Hub delegated administrator or inherited // from a parent. AssociationType *string `type:"string" enum:"AssociationType"` // The UUID of the configuration policy. ConfigurationPolicyId *string `type:"string"` // The identifier of the target account, organizational unit, or the organization // root with which the configuration is associated. TargetId *string `type:"string"` // Indicates whether the target is an Amazon Web Services account, organizational // unit, or the organization root. TargetType *string `type:"string" enum:"TargetType"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // association was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyAssociationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyAssociationOutput) GoString() string { return s.String() } // SetAssociationStatus sets the AssociationStatus field's value. func (s *StartConfigurationPolicyAssociationOutput) SetAssociationStatus(v string) *StartConfigurationPolicyAssociationOutput { s.AssociationStatus = &v return s } // SetAssociationStatusMessage sets the AssociationStatusMessage field's value. func (s *StartConfigurationPolicyAssociationOutput) SetAssociationStatusMessage(v string) *StartConfigurationPolicyAssociationOutput { s.AssociationStatusMessage = &v return s } // SetAssociationType sets the AssociationType field's value. func (s *StartConfigurationPolicyAssociationOutput) SetAssociationType(v string) *StartConfigurationPolicyAssociationOutput { s.AssociationType = &v return s } // SetConfigurationPolicyId sets the ConfigurationPolicyId field's value. func (s *StartConfigurationPolicyAssociationOutput) SetConfigurationPolicyId(v string) *StartConfigurationPolicyAssociationOutput { s.ConfigurationPolicyId = &v return s } // SetTargetId sets the TargetId field's value. func (s *StartConfigurationPolicyAssociationOutput) SetTargetId(v string) *StartConfigurationPolicyAssociationOutput { s.TargetId = &v return s } // SetTargetType sets the TargetType field's value. func (s *StartConfigurationPolicyAssociationOutput) SetTargetType(v string) *StartConfigurationPolicyAssociationOutput { s.TargetType = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *StartConfigurationPolicyAssociationOutput) SetUpdatedAt(v time.Time) *StartConfigurationPolicyAssociationOutput { s.UpdatedAt = &v return s } type StartConfigurationPolicyDisassociationInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) or universally unique identifier (UUID) of // the configuration policy. // // ConfigurationPolicyIdentifier is a required field ConfigurationPolicyIdentifier *string `type:"string" required:"true"` // The identifier of the target account, organizational unit, or the root to // disassociate from the specified configuration. Target *Target `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyDisassociationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyDisassociationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *StartConfigurationPolicyDisassociationInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StartConfigurationPolicyDisassociationInput"} if s.ConfigurationPolicyIdentifier == nil { invalidParams.Add(request.NewErrParamRequired("ConfigurationPolicyIdentifier")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfigurationPolicyIdentifier sets the ConfigurationPolicyIdentifier field's value. func (s *StartConfigurationPolicyDisassociationInput) SetConfigurationPolicyIdentifier(v string) *StartConfigurationPolicyDisassociationInput { s.ConfigurationPolicyIdentifier = &v return s } // SetTarget sets the Target field's value. func (s *StartConfigurationPolicyDisassociationInput) SetTarget(v *Target) *StartConfigurationPolicyDisassociationInput { s.Target = v return s } type StartConfigurationPolicyDisassociationOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyDisassociationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StartConfigurationPolicyDisassociationOutput) GoString() string { return s.String() } // The definition of a custom action that can be used for stateless packet handling. type StatelessCustomActionDefinition struct { _ struct{} `type:"structure"` // Information about metrics to publish to CloudWatch. PublishMetricAction *StatelessCustomPublishMetricAction `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatelessCustomActionDefinition) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatelessCustomActionDefinition) GoString() string { return s.String() } // SetPublishMetricAction sets the PublishMetricAction field's value. func (s *StatelessCustomActionDefinition) SetPublishMetricAction(v *StatelessCustomPublishMetricAction) *StatelessCustomActionDefinition { s.PublishMetricAction = v return s } // Information about metrics to publish to CloudWatch. type StatelessCustomPublishMetricAction struct { _ struct{} `type:"structure"` // Defines CloudWatch dimension values to publish. Dimensions []*StatelessCustomPublishMetricActionDimension `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatelessCustomPublishMetricAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatelessCustomPublishMetricAction) GoString() string { return s.String() } // SetDimensions sets the Dimensions field's value. func (s *StatelessCustomPublishMetricAction) SetDimensions(v []*StatelessCustomPublishMetricActionDimension) *StatelessCustomPublishMetricAction { s.Dimensions = v return s } // Defines a CloudWatch dimension value to publish. type StatelessCustomPublishMetricActionDimension struct { _ struct{} `type:"structure"` // The value to use for the custom metric dimension. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatelessCustomPublishMetricActionDimension) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatelessCustomPublishMetricActionDimension) GoString() string { return s.String() } // SetValue sets the Value field's value. func (s *StatelessCustomPublishMetricActionDimension) SetValue(v string) *StatelessCustomPublishMetricActionDimension { s.Value = &v return s } // Provides additional context for the value of Compliance.Status. type StatusReason struct { _ struct{} `type:"structure"` // The corresponding description for the status reason code. Description *string `type:"string"` // A code that represents a reason for the control status. For the list of status // reason codes and their meanings, see Standards-related information in the // ASFF (path_to_url#securityhub-standards-results-asff) // in the Security Hub User Guide. // // ReasonCode is a required field ReasonCode *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatusReason) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StatusReason) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *StatusReason) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StatusReason"} if s.ReasonCode == nil { invalidParams.Add(request.NewErrParamRequired("ReasonCode")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetDescription sets the Description field's value. func (s *StatusReason) SetDescription(v string) *StatusReason { s.Description = &v return s } // SetReasonCode sets the ReasonCode field's value. func (s *StatusReason) SetReasonCode(v string) *StatusReason { s.ReasonCode = &v return s } // The options for customizing a security control parameter that is a string. type StringConfigurationOptions struct { _ struct{} `type:"structure"` // The Security Hub default value for a control parameter that is a string. DefaultValue *string `type:"string"` // The description of the RE2 regular expression. ExpressionDescription *string `type:"string"` // An RE2 regular expression that Security Hub uses to validate a user-provided // control parameter string. Re2Expression *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StringConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StringConfigurationOptions) GoString() string { return s.String() } // SetDefaultValue sets the DefaultValue field's value. func (s *StringConfigurationOptions) SetDefaultValue(v string) *StringConfigurationOptions { s.DefaultValue = &v return s } // SetExpressionDescription sets the ExpressionDescription field's value. func (s *StringConfigurationOptions) SetExpressionDescription(v string) *StringConfigurationOptions { s.ExpressionDescription = &v return s } // SetRe2Expression sets the Re2Expression field's value. func (s *StringConfigurationOptions) SetRe2Expression(v string) *StringConfigurationOptions { s.Re2Expression = &v return s } // A string filter for filtering Security Hub findings. type StringFilter struct { _ struct{} `type:"structure"` // The condition to apply to a string value when filtering Security Hub findings. // // To search for values that have the filter value, use one of the following // comparison operators: // // * To search for values that include the filter value, use CONTAINS. For // example, the filter Title CONTAINS CloudFront matches findings that have // a Title that includes the string CloudFront. // // * To search for values that exactly match the filter value, use EQUALS. // For example, the filter AwsAccountId EQUALS 123456789012 only matches // findings that have an account ID of 123456789012. // // * To search for values that start with the filter value, use PREFIX. For // example, the filter ResourceRegion PREFIX us matches findings that have // a ResourceRegion that starts with us. A ResourceRegion that starts with // a different value, such as af, ap, or ca, doesn't match. // // CONTAINS, EQUALS, and PREFIX filters on the same field are joined by OR. // A finding matches if it matches any one of those filters. For example, the // filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch match a finding // that includes either CloudFront, CloudWatch, or both strings in the title. // // To search for values that dont have the filter value, use one of the following // comparison operators: // // * To search for values that exclude the filter value, use NOT_CONTAINS. // For example, the filter Title NOT_CONTAINS CloudFront matches findings // that have a Title that excludes the string CloudFront. // // * To search for values other than the filter value, use NOT_EQUALS. For // example, the filter AwsAccountId NOT_EQUALS 123456789012 only matches // findings that have an account ID other than 123456789012. // // * To search for values that don't start with the filter value, use PREFIX_NOT_EQUALS. // For example, the filter ResourceRegion PREFIX_NOT_EQUALS us matches findings // with a ResourceRegion that starts with a value other than us. // // NOT_CONTAINS, NOT_EQUALS, and PREFIX_NOT_EQUALS filters on the same field // are joined by AND. A finding matches only if it matches all of those filters. // For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS // CloudWatch match a finding that excludes both CloudFront and CloudWatch in // the title. // // You cant have both a CONTAINS filter and a NOT_CONTAINS filter on the // same field. Similarly, you can't provide both an EQUALS filter and a NOT_EQUALS // or PREFIX_NOT_EQUALS filter on the same field. Combining filters in this // way returns an error. CONTAINS filters can only be used with other CONTAINS // filters. NOT_CONTAINS filters can only be used with other NOT_CONTAINS filters. // // You can combine PREFIX filters with NOT_EQUALS or PREFIX_NOT_EQUALS filters // for the same field. Security Hub first processes the PREFIX filters, and // then the NOT_EQUALS or PREFIX_NOT_EQUALS filters. // // For example, for the following filters, Security Hub first identifies findings // that have resource types that start with either AwsIam or AwsEc2. It then // excludes findings that have a resource type of AwsIamPolicy and findings // that have a resource type of AwsEc2NetworkInterface. // // * ResourceType PREFIX AwsIam // // * ResourceType PREFIX AwsEc2 // // * ResourceType NOT_EQUALS AwsIamPolicy // // * ResourceType NOT_EQUALS AwsEc2NetworkInterface // // CONTAINS and NOT_CONTAINS operators can be used only with automation rules. // For more information, see Automation rules (path_to_url // in the Security Hub User Guide. Comparison *string `type:"string" enum:"StringFilterComparison"` // The string filter value. Filter values are case sensitive. For example, the // product name for control-based findings is Security Hub. If you provide security // hub as the filter value, there's no match. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StringFilter) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StringFilter) GoString() string { return s.String() } // SetComparison sets the Comparison field's value. func (s *StringFilter) SetComparison(v string) *StringFilter { s.Comparison = &v return s } // SetValue sets the Value field's value. func (s *StringFilter) SetValue(v string) *StringFilter { s.Value = &v return s } // The options for customizing a security control parameter that is a list of // strings. type StringListConfigurationOptions struct { _ struct{} `type:"structure"` // The Security Hub default value for a control parameter that is a list of // strings. DefaultValue []*string `type:"list"` // The description of the RE2 regular expression. ExpressionDescription *string `type:"string"` // The maximum number of list items that a string list control parameter can // accept. MaxItems *int64 `type:"integer"` // An RE2 regular expression that Security Hub uses to validate a user-provided // list of strings for a control parameter. Re2Expression *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StringListConfigurationOptions) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s StringListConfigurationOptions) GoString() string { return s.String() } // SetDefaultValue sets the DefaultValue field's value. func (s *StringListConfigurationOptions) SetDefaultValue(v []*string) *StringListConfigurationOptions { s.DefaultValue = v return s } // SetExpressionDescription sets the ExpressionDescription field's value. func (s *StringListConfigurationOptions) SetExpressionDescription(v string) *StringListConfigurationOptions { s.ExpressionDescription = &v return s } // SetMaxItems sets the MaxItems field's value. func (s *StringListConfigurationOptions) SetMaxItems(v int64) *StringListConfigurationOptions { s.MaxItems = &v return s } // SetRe2Expression sets the Re2Expression field's value. func (s *StringListConfigurationOptions) SetRe2Expression(v string) *StringListConfigurationOptions { s.Re2Expression = &v return s } type TagResourceInput struct { _ struct{} `type:"structure"` // The ARN of the resource to apply the tags to. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // The tags to add to the resource. You can add up to 50 tags at a time. The // tag keys can be no longer than 128 characters. The tag values can be no longer // than 256 characters. // // Tags is a required field Tags map[string]*string `min:"1" type:"map" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s TagResourceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s TagResourceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *TagResourceInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} if s.ResourceArn == nil { invalidParams.Add(request.NewErrParamRequired("ResourceArn")) } if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) } if s.Tags == nil { invalidParams.Add(request.NewErrParamRequired("Tags")) } if s.Tags != nil && len(s.Tags) < 1 { invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetResourceArn sets the ResourceArn field's value. func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { s.ResourceArn = &v return s } // SetTags sets the Tags field's value. func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { s.Tags = v return s } type TagResourceOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s TagResourceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s TagResourceOutput) GoString() string { return s.String() } // The target account, organizational unit, or the root that is associated with // an Security Hub configuration. The configuration can be a configuration policy // or self-managed behavior. type Target struct { _ struct{} `type:"structure"` // The Amazon Web Services account ID of the target account. AccountId *string `type:"string"` // The organizational unit ID of the target organizational unit. OrganizationalUnitId *string `type:"string"` // The ID of the organization root. RootId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Target) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Target) GoString() string { return s.String() } // SetAccountId sets the AccountId field's value. func (s *Target) SetAccountId(v string) *Target { s.AccountId = &v return s } // SetOrganizationalUnitId sets the OrganizationalUnitId field's value. func (s *Target) SetOrganizationalUnitId(v string) *Target { s.OrganizationalUnitId = &v return s } // SetRootId sets the RootId field's value. func (s *Target) SetRootId(v string) *Target { s.RootId = &v return s } // Provides information about the threat detected in a security finding and // the file paths that were affected by the threat. type Threat struct { _ struct{} `type:"structure"` // Provides information about the file paths that were affected by the threat. FilePaths []*FilePaths `type:"list"` // This total number of items in which the threat has been detected. ItemCount *int64 `type:"integer"` // The name of the threat. Name *string `type:"string"` // The severity of the threat. Severity *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Threat) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Threat) GoString() string { return s.String() } // SetFilePaths sets the FilePaths field's value. func (s *Threat) SetFilePaths(v []*FilePaths) *Threat { s.FilePaths = v return s } // SetItemCount sets the ItemCount field's value. func (s *Threat) SetItemCount(v int64) *Threat { s.ItemCount = &v return s } // SetName sets the Name field's value. func (s *Threat) SetName(v string) *Threat { s.Name = &v return s } // SetSeverity sets the Severity field's value. func (s *Threat) SetSeverity(v string) *Threat { s.Severity = &v return s } // Details about the threat intelligence related to a finding. type ThreatIntelIndicator struct { _ struct{} `type:"structure"` // The category of a threat intelligence indicator. Category *string `type:"string" enum:"ThreatIntelIndicatorCategory"` // Indicates when the most recent instance of a threat intelligence indicator // was observed. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) LastObservedAt *string `type:"string"` // The source of the threat intelligence indicator. Source *string `type:"string"` // The URL to the page or site where you can get more information about the // threat intelligence indicator. SourceUrl *string `type:"string"` // The type of threat intelligence indicator. Type *string `type:"string" enum:"ThreatIntelIndicatorType"` // The value of a threat intelligence indicator. Value *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ThreatIntelIndicator) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s ThreatIntelIndicator) GoString() string { return s.String() } // SetCategory sets the Category field's value. func (s *ThreatIntelIndicator) SetCategory(v string) *ThreatIntelIndicator { s.Category = &v return s } // SetLastObservedAt sets the LastObservedAt field's value. func (s *ThreatIntelIndicator) SetLastObservedAt(v string) *ThreatIntelIndicator { s.LastObservedAt = &v return s } // SetSource sets the Source field's value. func (s *ThreatIntelIndicator) SetSource(v string) *ThreatIntelIndicator { s.Source = &v return s } // SetSourceUrl sets the SourceUrl field's value. func (s *ThreatIntelIndicator) SetSourceUrl(v string) *ThreatIntelIndicator { s.SourceUrl = &v return s } // SetType sets the Type field's value. func (s *ThreatIntelIndicator) SetType(v string) *ThreatIntelIndicator { s.Type = &v return s } // SetValue sets the Value field's value. func (s *ThreatIntelIndicator) SetValue(v string) *ThreatIntelIndicator { s.Value = &v return s } // A list of objects containing RuleArn, ErrorCode, and ErrorMessage. This parameter // tells you which automation rules the request didn't process and why. type UnprocessedAutomationRule struct { _ struct{} `type:"structure"` // The error code associated with the unprocessed automation rule. ErrorCode *int64 `type:"integer"` // An error message describing why a request didn't process a specific rule. ErrorMessage *string `type:"string"` // The Amazon Resource Name (ARN) for the unprocessed automation rule. RuleArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedAutomationRule) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedAutomationRule) GoString() string { return s.String() } // SetErrorCode sets the ErrorCode field's value. func (s *UnprocessedAutomationRule) SetErrorCode(v int64) *UnprocessedAutomationRule { s.ErrorCode = &v return s } // SetErrorMessage sets the ErrorMessage field's value. func (s *UnprocessedAutomationRule) SetErrorMessage(v string) *UnprocessedAutomationRule { s.ErrorMessage = &v return s } // SetRuleArn sets the RuleArn field's value. func (s *UnprocessedAutomationRule) SetRuleArn(v string) *UnprocessedAutomationRule { s.RuleArn = &v return s } // An array of configuration policy associations, one for each configuration // policy association identifier, that was specified in a BatchGetConfigurationPolicyAssociations // request but couldnt be processed due to an error. type UnprocessedConfigurationPolicyAssociation struct { _ struct{} `type:"structure"` // Configuration policy association identifiers that were specified in a BatchGetConfigurationPolicyAssociations // request but couldnt be processed due to an error. ConfigurationPolicyAssociationIdentifiers *ConfigurationPolicyAssociation `type:"structure"` // An HTTP status code that identifies why the configuration policy association // failed. ErrorCode *string `type:"string"` // A string that identifies why the configuration policy association failed. ErrorReason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedConfigurationPolicyAssociation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedConfigurationPolicyAssociation) GoString() string { return s.String() } // SetConfigurationPolicyAssociationIdentifiers sets the ConfigurationPolicyAssociationIdentifiers field's value. func (s *UnprocessedConfigurationPolicyAssociation) SetConfigurationPolicyAssociationIdentifiers(v *ConfigurationPolicyAssociation) *UnprocessedConfigurationPolicyAssociation { s.ConfigurationPolicyAssociationIdentifiers = v return s } // SetErrorCode sets the ErrorCode field's value. func (s *UnprocessedConfigurationPolicyAssociation) SetErrorCode(v string) *UnprocessedConfigurationPolicyAssociation { s.ErrorCode = &v return s } // SetErrorReason sets the ErrorReason field's value. func (s *UnprocessedConfigurationPolicyAssociation) SetErrorReason(v string) *UnprocessedConfigurationPolicyAssociation { s.ErrorReason = &v return s } // Provides details about a security control for which a response couldn't be // returned. type UnprocessedSecurityControl struct { _ struct{} `type:"structure"` // The error code for the unprocessed security control. // // ErrorCode is a required field ErrorCode *string `type:"string" required:"true" enum:"UnprocessedErrorCode"` // The reason why the security control was unprocessed. ErrorReason *string `type:"string"` // The control (identified with SecurityControlId, SecurityControlArn, or a // mix of both parameters) for which a response couldn't be returned. // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedSecurityControl) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedSecurityControl) GoString() string { return s.String() } // SetErrorCode sets the ErrorCode field's value. func (s *UnprocessedSecurityControl) SetErrorCode(v string) *UnprocessedSecurityControl { s.ErrorCode = &v return s } // SetErrorReason sets the ErrorReason field's value. func (s *UnprocessedSecurityControl) SetErrorReason(v string) *UnprocessedSecurityControl { s.ErrorReason = &v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *UnprocessedSecurityControl) SetSecurityControlId(v string) *UnprocessedSecurityControl { s.SecurityControlId = &v return s } // Provides details about which control's enablement status couldn't be retrieved // in a specified standard when calling BatchUpdateStandardsControlAssociations // (path_to_url // This parameter also provides details about why the request was unprocessed. type UnprocessedStandardsControlAssociation struct { _ struct{} `type:"structure"` // The error code for the unprocessed standard and control association. // // ErrorCode is a required field ErrorCode *string `type:"string" required:"true" enum:"UnprocessedErrorCode"` // The reason why the standard and control association was unprocessed. ErrorReason *string `type:"string"` // An array with one or more objects that includes a security control (identified // with SecurityControlId, SecurityControlArn, or a mix of both parameters) // and the Amazon Resource Name (ARN) of a standard. This parameter shows the // specific controls for which the enablement status couldn't be retrieved in // specified standards when calling BatchUpdateStandardsControlAssociations // (path_to_url // // StandardsControlAssociationId is a required field StandardsControlAssociationId *StandardsControlAssociationId `type:"structure" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedStandardsControlAssociation) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedStandardsControlAssociation) GoString() string { return s.String() } // SetErrorCode sets the ErrorCode field's value. func (s *UnprocessedStandardsControlAssociation) SetErrorCode(v string) *UnprocessedStandardsControlAssociation { s.ErrorCode = &v return s } // SetErrorReason sets the ErrorReason field's value. func (s *UnprocessedStandardsControlAssociation) SetErrorReason(v string) *UnprocessedStandardsControlAssociation { s.ErrorReason = &v return s } // SetStandardsControlAssociationId sets the StandardsControlAssociationId field's value. func (s *UnprocessedStandardsControlAssociation) SetStandardsControlAssociationId(v *StandardsControlAssociationId) *UnprocessedStandardsControlAssociation { s.StandardsControlAssociationId = v return s } // Provides details about which control's enablement status could not be updated // in a specified standard when calling the BatchUpdateStandardsControlAssociations // (path_to_url // API. This parameter also provides details about why the request was unprocessed. type UnprocessedStandardsControlAssociationUpdate struct { _ struct{} `type:"structure"` // The error code for the unprocessed update of the control's enablement status // in the specified standard. // // ErrorCode is a required field ErrorCode *string `type:"string" required:"true" enum:"UnprocessedErrorCode"` // The reason why a control's enablement status in the specified standard couldn't // be updated. ErrorReason *string `type:"string"` // An array of control and standard associations for which an update failed // when calling BatchUpdateStandardsControlAssociations (path_to_url // // StandardsControlAssociationUpdate is a required field StandardsControlAssociationUpdate *StandardsControlAssociationUpdate `type:"structure" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedStandardsControlAssociationUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UnprocessedStandardsControlAssociationUpdate) GoString() string { return s.String() } // SetErrorCode sets the ErrorCode field's value. func (s *UnprocessedStandardsControlAssociationUpdate) SetErrorCode(v string) *UnprocessedStandardsControlAssociationUpdate { s.ErrorCode = &v return s } // SetErrorReason sets the ErrorReason field's value. func (s *UnprocessedStandardsControlAssociationUpdate) SetErrorReason(v string) *UnprocessedStandardsControlAssociationUpdate { s.ErrorReason = &v return s } // SetStandardsControlAssociationUpdate sets the StandardsControlAssociationUpdate field's value. func (s *UnprocessedStandardsControlAssociationUpdate) SetStandardsControlAssociationUpdate(v *StandardsControlAssociationUpdate) *UnprocessedStandardsControlAssociationUpdate { s.StandardsControlAssociationUpdate = v return s } type UntagResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` // The ARN of the resource to remove the tags from. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // The tag keys associated with the tags to remove from the resource. You can // remove up to 50 tags at a time. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UntagResourceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UntagResourceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UntagResourceInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} if s.ResourceArn == nil { invalidParams.Add(request.NewErrParamRequired("ResourceArn")) } if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) } if s.TagKeys == nil { invalidParams.Add(request.NewErrParamRequired("TagKeys")) } if s.TagKeys != nil && len(s.TagKeys) < 1 { invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetResourceArn sets the ResourceArn field's value. func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { s.ResourceArn = &v return s } // SetTagKeys sets the TagKeys field's value. func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { s.TagKeys = v return s } type UntagResourceOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UntagResourceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UntagResourceOutput) GoString() string { return s.String() } type UpdateActionTargetInput struct { _ struct{} `type:"structure"` // The ARN of the custom action target to update. // // ActionTargetArn is a required field ActionTargetArn *string `location:"uri" locationName:"ActionTargetArn" type:"string" required:"true"` // The updated description for the custom action target. Description *string `type:"string"` // The updated name of the custom action target. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateActionTargetInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateActionTargetInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateActionTargetInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateActionTargetInput"} if s.ActionTargetArn == nil { invalidParams.Add(request.NewErrParamRequired("ActionTargetArn")) } if s.ActionTargetArn != nil && len(*s.ActionTargetArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("ActionTargetArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetActionTargetArn sets the ActionTargetArn field's value. func (s *UpdateActionTargetInput) SetActionTargetArn(v string) *UpdateActionTargetInput { s.ActionTargetArn = &v return s } // SetDescription sets the Description field's value. func (s *UpdateActionTargetInput) SetDescription(v string) *UpdateActionTargetInput { s.Description = &v return s } // SetName sets the Name field's value. func (s *UpdateActionTargetInput) SetName(v string) *UpdateActionTargetInput { s.Name = &v return s } type UpdateActionTargetOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateActionTargetOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateActionTargetOutput) GoString() string { return s.String() } // Specifies the parameters to update in an existing automation rule. type UpdateAutomationRulesRequestItem struct { _ struct{} `type:"structure"` // One or more actions to update finding fields if a finding matches the conditions // specified in Criteria. Actions []*AutomationRulesAction `min:"1" type:"list"` // A set of ASFF finding field attributes and corresponding expected values // that Security Hub uses to filter findings. If a rule is enabled and a finding // matches the conditions specified in this parameter, Security Hub applies // the rule action to the finding. Criteria *AutomationRulesFindingFilters `type:"structure"` // A description of the rule. Description *string `type:"string"` // Specifies whether a rule is the last to be applied with respect to a finding // that matches the rule criteria. This is useful when a finding matches the // criteria for multiple rules, and each rule has different actions. If a rule // is terminal, Security Hub applies the rule action to a finding that matches // the rule criteria and doesn't evaluate other rules for the finding. By default, // a rule isn't terminal. IsTerminal *bool `type:"boolean"` // The Amazon Resource Name (ARN) for the rule. // // RuleArn is a required field RuleArn *string `type:"string" required:"true"` // The name of the rule. RuleName *string `type:"string"` // An integer ranging from 1 to 1000 that represents the order in which the // rule action is applied to findings. Security Hub applies rules with lower // values for this parameter first. RuleOrder *int64 `min:"1" type:"integer"` // Whether the rule is active after it is created. If this parameter is equal // to ENABLED, Security Hub starts applying the rule to findings and finding // updates after the rule is created. To change the value of this parameter // after creating a rule, use BatchUpdateAutomationRules (path_to_url RuleStatus *string `type:"string" enum:"RuleStatus"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateAutomationRulesRequestItem) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateAutomationRulesRequestItem) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateAutomationRulesRequestItem) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateAutomationRulesRequestItem"} if s.Actions != nil && len(s.Actions) < 1 { invalidParams.Add(request.NewErrParamMinLen("Actions", 1)) } if s.RuleArn == nil { invalidParams.Add(request.NewErrParamRequired("RuleArn")) } if s.RuleOrder != nil && *s.RuleOrder < 1 { invalidParams.Add(request.NewErrParamMinValue("RuleOrder", 1)) } if s.Actions != nil { for i, v := range s.Actions { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetActions sets the Actions field's value. func (s *UpdateAutomationRulesRequestItem) SetActions(v []*AutomationRulesAction) *UpdateAutomationRulesRequestItem { s.Actions = v return s } // SetCriteria sets the Criteria field's value. func (s *UpdateAutomationRulesRequestItem) SetCriteria(v *AutomationRulesFindingFilters) *UpdateAutomationRulesRequestItem { s.Criteria = v return s } // SetDescription sets the Description field's value. func (s *UpdateAutomationRulesRequestItem) SetDescription(v string) *UpdateAutomationRulesRequestItem { s.Description = &v return s } // SetIsTerminal sets the IsTerminal field's value. func (s *UpdateAutomationRulesRequestItem) SetIsTerminal(v bool) *UpdateAutomationRulesRequestItem { s.IsTerminal = &v return s } // SetRuleArn sets the RuleArn field's value. func (s *UpdateAutomationRulesRequestItem) SetRuleArn(v string) *UpdateAutomationRulesRequestItem { s.RuleArn = &v return s } // SetRuleName sets the RuleName field's value. func (s *UpdateAutomationRulesRequestItem) SetRuleName(v string) *UpdateAutomationRulesRequestItem { s.RuleName = &v return s } // SetRuleOrder sets the RuleOrder field's value. func (s *UpdateAutomationRulesRequestItem) SetRuleOrder(v int64) *UpdateAutomationRulesRequestItem { s.RuleOrder = &v return s } // SetRuleStatus sets the RuleStatus field's value. func (s *UpdateAutomationRulesRequestItem) SetRuleStatus(v string) *UpdateAutomationRulesRequestItem { s.RuleStatus = &v return s } type UpdateConfigurationPolicyInput struct { _ struct{} `type:"structure"` // An object that defines how Security Hub is configured. It includes whether // Security Hub is enabled or disabled, a list of enabled security standards, // a list of enabled or disabled security controls, and a list of custom parameter // values for specified controls. If you provide a list of security controls // that are enabled in the configuration policy, Security Hub disables all other // controls (including newly released controls). If you provide a list of security // controls that are disabled in the configuration policy, Security Hub enables // all other controls (including newly released controls). // // When updating a configuration policy, provide a complete list of standards // that you want to enable and a complete list of controls that you want to // enable or disable. The updated configuration replaces the current configuration. ConfigurationPolicy *Policy `type:"structure"` // The description of the configuration policy. Description *string `type:"string"` // The Amazon Resource Name (ARN) or universally unique identifier (UUID) of // the configuration policy. // // Identifier is a required field Identifier *string `location:"uri" locationName:"Identifier" type:"string" required:"true"` // The name of the configuration policy. Alphanumeric characters and the following // ASCII characters are permitted: -, ., !, *, /. Name *string `type:"string"` // The reason for updating the configuration policy. UpdatedReason *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateConfigurationPolicyInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateConfigurationPolicyInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateConfigurationPolicyInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateConfigurationPolicyInput"} if s.Identifier == nil { invalidParams.Add(request.NewErrParamRequired("Identifier")) } if s.Identifier != nil && len(*s.Identifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) } if s.ConfigurationPolicy != nil { if err := s.ConfigurationPolicy.Validate(); err != nil { invalidParams.AddNested("ConfigurationPolicy", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetConfigurationPolicy sets the ConfigurationPolicy field's value. func (s *UpdateConfigurationPolicyInput) SetConfigurationPolicy(v *Policy) *UpdateConfigurationPolicyInput { s.ConfigurationPolicy = v return s } // SetDescription sets the Description field's value. func (s *UpdateConfigurationPolicyInput) SetDescription(v string) *UpdateConfigurationPolicyInput { s.Description = &v return s } // SetIdentifier sets the Identifier field's value. func (s *UpdateConfigurationPolicyInput) SetIdentifier(v string) *UpdateConfigurationPolicyInput { s.Identifier = &v return s } // SetName sets the Name field's value. func (s *UpdateConfigurationPolicyInput) SetName(v string) *UpdateConfigurationPolicyInput { s.Name = &v return s } // SetUpdatedReason sets the UpdatedReason field's value. func (s *UpdateConfigurationPolicyInput) SetUpdatedReason(v string) *UpdateConfigurationPolicyInput { s.UpdatedReason = &v return s } type UpdateConfigurationPolicyOutput struct { _ struct{} `type:"structure"` // The ARN of the configuration policy. Arn *string `type:"string"` // An object that defines how Security Hub is configured. It includes whether // Security Hub is enabled or disabled, a list of enabled security standards, // a list of enabled or disabled security controls, and a list of custom parameter // values for specified controls. If the request included a list of security // controls that are enabled in the configuration policy, Security Hub disables // all other controls (including newly released controls). If the request included // a list of security controls that are disabled in the configuration policy, // Security Hub enables all other controls (including newly released controls). ConfigurationPolicy *Policy `type:"structure"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // was created. CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The description of the configuration policy. Description *string `type:"string"` // The UUID of the configuration policy. Id *string `type:"string"` // The name of the configuration policy. Name *string `type:"string"` // The date and time, in UTC and ISO 8601 format, that the configuration policy // was last updated. UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateConfigurationPolicyOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateConfigurationPolicyOutput) GoString() string { return s.String() } // SetArn sets the Arn field's value. func (s *UpdateConfigurationPolicyOutput) SetArn(v string) *UpdateConfigurationPolicyOutput { s.Arn = &v return s } // SetConfigurationPolicy sets the ConfigurationPolicy field's value. func (s *UpdateConfigurationPolicyOutput) SetConfigurationPolicy(v *Policy) *UpdateConfigurationPolicyOutput { s.ConfigurationPolicy = v return s } // SetCreatedAt sets the CreatedAt field's value. func (s *UpdateConfigurationPolicyOutput) SetCreatedAt(v time.Time) *UpdateConfigurationPolicyOutput { s.CreatedAt = &v return s } // SetDescription sets the Description field's value. func (s *UpdateConfigurationPolicyOutput) SetDescription(v string) *UpdateConfigurationPolicyOutput { s.Description = &v return s } // SetId sets the Id field's value. func (s *UpdateConfigurationPolicyOutput) SetId(v string) *UpdateConfigurationPolicyOutput { s.Id = &v return s } // SetName sets the Name field's value. func (s *UpdateConfigurationPolicyOutput) SetName(v string) *UpdateConfigurationPolicyOutput { s.Name = &v return s } // SetUpdatedAt sets the UpdatedAt field's value. func (s *UpdateConfigurationPolicyOutput) SetUpdatedAt(v time.Time) *UpdateConfigurationPolicyOutput { s.UpdatedAt = &v return s } type UpdateFindingAggregatorInput struct { _ struct{} `type:"structure"` // The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators. // // FindingAggregatorArn is a required field FindingAggregatorArn *string `type:"string" required:"true"` // Indicates whether to aggregate findings from all of the available Regions // in the current partition. Also determines whether to automatically aggregate // findings from new Regions as Security Hub supports them and you opt into // them. // // The selected option also determines how to use the Regions provided in the // Regions list. // // The options are as follows: // // * ALL_REGIONS - Indicates to aggregate findings from all of the Regions // where Security Hub is enabled. When you choose this option, Security Hub // also automatically aggregates findings from new Regions as Security Hub // supports them and you opt into them. // // * ALL_REGIONS_EXCEPT_SPECIFIED - Indicates to aggregate findings from // all of the Regions where Security Hub is enabled, except for the Regions // listed in the Regions parameter. When you choose this option, Security // Hub also automatically aggregates findings from new Regions as Security // Hub supports them and you opt into them. // // * SPECIFIED_REGIONS - Indicates to aggregate findings only from the Regions // listed in the Regions parameter. Security Hub does not automatically aggregate // findings from new Regions. // // RegionLinkingMode is a required field RegionLinkingMode *string `type:"string" required:"true"` // If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated // list of Regions that do not aggregate findings to the aggregation Region. // // If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated // list of Regions that do aggregate findings to the aggregation Region. Regions []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingAggregatorInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingAggregatorInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateFindingAggregatorInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateFindingAggregatorInput"} if s.FindingAggregatorArn == nil { invalidParams.Add(request.NewErrParamRequired("FindingAggregatorArn")) } if s.RegionLinkingMode == nil { invalidParams.Add(request.NewErrParamRequired("RegionLinkingMode")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFindingAggregatorArn sets the FindingAggregatorArn field's value. func (s *UpdateFindingAggregatorInput) SetFindingAggregatorArn(v string) *UpdateFindingAggregatorInput { s.FindingAggregatorArn = &v return s } // SetRegionLinkingMode sets the RegionLinkingMode field's value. func (s *UpdateFindingAggregatorInput) SetRegionLinkingMode(v string) *UpdateFindingAggregatorInput { s.RegionLinkingMode = &v return s } // SetRegions sets the Regions field's value. func (s *UpdateFindingAggregatorInput) SetRegions(v []*string) *UpdateFindingAggregatorInput { s.Regions = v return s } type UpdateFindingAggregatorOutput struct { _ struct{} `type:"structure"` // The aggregation Region. FindingAggregationRegion *string `type:"string"` // The ARN of the finding aggregator. FindingAggregatorArn *string `type:"string"` // Indicates whether to link all Regions, all Regions except for a list of excluded // Regions, or a list of included Regions. RegionLinkingMode *string `type:"string"` // The list of excluded Regions or included Regions. Regions []*string `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingAggregatorOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingAggregatorOutput) GoString() string { return s.String() } // SetFindingAggregationRegion sets the FindingAggregationRegion field's value. func (s *UpdateFindingAggregatorOutput) SetFindingAggregationRegion(v string) *UpdateFindingAggregatorOutput { s.FindingAggregationRegion = &v return s } // SetFindingAggregatorArn sets the FindingAggregatorArn field's value. func (s *UpdateFindingAggregatorOutput) SetFindingAggregatorArn(v string) *UpdateFindingAggregatorOutput { s.FindingAggregatorArn = &v return s } // SetRegionLinkingMode sets the RegionLinkingMode field's value. func (s *UpdateFindingAggregatorOutput) SetRegionLinkingMode(v string) *UpdateFindingAggregatorOutput { s.RegionLinkingMode = &v return s } // SetRegions sets the Regions field's value. func (s *UpdateFindingAggregatorOutput) SetRegions(v []*string) *UpdateFindingAggregatorOutput { s.Regions = v return s } type UpdateFindingsInput struct { _ struct{} `type:"structure"` // A collection of attributes that specify which findings you want to update. // // Filters is a required field Filters *AwsSecurityFindingFilters `type:"structure" required:"true"` // The updated note for the finding. Note *NoteUpdate `type:"structure"` // The updated record state for the finding. RecordState *string `type:"string" enum:"RecordState"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateFindingsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateFindingsInput"} if s.Filters == nil { invalidParams.Add(request.NewErrParamRequired("Filters")) } if s.Note != nil { if err := s.Note.Validate(); err != nil { invalidParams.AddNested("Note", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFilters sets the Filters field's value. func (s *UpdateFindingsInput) SetFilters(v *AwsSecurityFindingFilters) *UpdateFindingsInput { s.Filters = v return s } // SetNote sets the Note field's value. func (s *UpdateFindingsInput) SetNote(v *NoteUpdate) *UpdateFindingsInput { s.Note = v return s } // SetRecordState sets the RecordState field's value. func (s *UpdateFindingsInput) SetRecordState(v string) *UpdateFindingsInput { s.RecordState = &v return s } type UpdateFindingsOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateFindingsOutput) GoString() string { return s.String() } type UpdateInsightInput struct { _ struct{} `type:"structure"` // The updated filters that define this insight. Filters *AwsSecurityFindingFilters `type:"structure"` // The updated GroupBy attribute that defines this insight. GroupByAttribute *string `type:"string"` // The ARN of the insight that you want to update. // // InsightArn is a required field InsightArn *string `location:"uri" locationName:"InsightArn" type:"string" required:"true"` // The updated name for the insight. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateInsightInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateInsightInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateInsightInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateInsightInput"} if s.InsightArn == nil { invalidParams.Add(request.NewErrParamRequired("InsightArn")) } if s.InsightArn != nil && len(*s.InsightArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("InsightArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetFilters sets the Filters field's value. func (s *UpdateInsightInput) SetFilters(v *AwsSecurityFindingFilters) *UpdateInsightInput { s.Filters = v return s } // SetGroupByAttribute sets the GroupByAttribute field's value. func (s *UpdateInsightInput) SetGroupByAttribute(v string) *UpdateInsightInput { s.GroupByAttribute = &v return s } // SetInsightArn sets the InsightArn field's value. func (s *UpdateInsightInput) SetInsightArn(v string) *UpdateInsightInput { s.InsightArn = &v return s } // SetName sets the Name field's value. func (s *UpdateInsightInput) SetName(v string) *UpdateInsightInput { s.Name = &v return s } type UpdateInsightOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateInsightOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateInsightOutput) GoString() string { return s.String() } type UpdateOrganizationConfigurationInput struct { _ struct{} `type:"structure"` // Whether to automatically enable Security Hub in new member accounts when // they join the organization. // // If set to true, then Security Hub is automatically enabled in new accounts. // If set to false, then Security Hub isn't enabled in new accounts automatically. // The default value is false. // // If the ConfigurationType of your organization is set to CENTRAL, then this // field is set to false and can't be changed in the home Region and linked // Regions. However, in that case, the delegated administrator can create a // configuration policy in which Security Hub is enabled and associate the policy // with new organization accounts. // // AutoEnable is a required field AutoEnable *bool `type:"boolean" required:"true"` // Whether to automatically enable Security Hub default standards (path_to_url // in new member accounts when they join the organization. // // The default value of this parameter is equal to DEFAULT. // // If equal to DEFAULT, then Security Hub default standards are automatically // enabled for new member accounts. If equal to NONE, then default standards // are not automatically enabled for new member accounts. // // If the ConfigurationType of your organization is set to CENTRAL, then this // field is set to NONE and can't be changed in the home Region and linked Regions. // However, in that case, the delegated administrator can create a configuration // policy in which specific security standards are enabled and associate the // policy with new organization accounts. AutoEnableStandards *string `type:"string" enum:"AutoEnableStandards"` // Provides information about the way an organization is configured in Security // Hub. OrganizationConfiguration *OrganizationConfiguration `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateOrganizationConfigurationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateOrganizationConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateOrganizationConfigurationInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateOrganizationConfigurationInput"} if s.AutoEnable == nil { invalidParams.Add(request.NewErrParamRequired("AutoEnable")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetAutoEnable sets the AutoEnable field's value. func (s *UpdateOrganizationConfigurationInput) SetAutoEnable(v bool) *UpdateOrganizationConfigurationInput { s.AutoEnable = &v return s } // SetAutoEnableStandards sets the AutoEnableStandards field's value. func (s *UpdateOrganizationConfigurationInput) SetAutoEnableStandards(v string) *UpdateOrganizationConfigurationInput { s.AutoEnableStandards = &v return s } // SetOrganizationConfiguration sets the OrganizationConfiguration field's value. func (s *UpdateOrganizationConfigurationInput) SetOrganizationConfiguration(v *OrganizationConfiguration) *UpdateOrganizationConfigurationInput { s.OrganizationConfiguration = v return s } type UpdateOrganizationConfigurationOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateOrganizationConfigurationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateOrganizationConfigurationOutput) GoString() string { return s.String() } type UpdateSecurityControlInput struct { _ struct{} `type:"structure"` // The most recent reason for updating the properties of the security control. // This field accepts alphanumeric characters in addition to white spaces, dashes, // and underscores. LastUpdateReason *string `type:"string"` // An object that specifies which security control parameters to update. // // Parameters is a required field Parameters map[string]*ParameterConfiguration `type:"map" required:"true"` // The Amazon Resource Name (ARN) or ID of the control to update. // // SecurityControlId is a required field SecurityControlId *string `type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityControlInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityControlInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateSecurityControlInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateSecurityControlInput"} if s.Parameters == nil { invalidParams.Add(request.NewErrParamRequired("Parameters")) } if s.SecurityControlId == nil { invalidParams.Add(request.NewErrParamRequired("SecurityControlId")) } if s.Parameters != nil { for i, v := range s.Parameters { if v == nil { continue } if err := v.Validate(); err != nil { invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Parameters", i), err.(request.ErrInvalidParams)) } } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetLastUpdateReason sets the LastUpdateReason field's value. func (s *UpdateSecurityControlInput) SetLastUpdateReason(v string) *UpdateSecurityControlInput { s.LastUpdateReason = &v return s } // SetParameters sets the Parameters field's value. func (s *UpdateSecurityControlInput) SetParameters(v map[string]*ParameterConfiguration) *UpdateSecurityControlInput { s.Parameters = v return s } // SetSecurityControlId sets the SecurityControlId field's value. func (s *UpdateSecurityControlInput) SetSecurityControlId(v string) *UpdateSecurityControlInput { s.SecurityControlId = &v return s } type UpdateSecurityControlOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityControlOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityControlOutput) GoString() string { return s.String() } type UpdateSecurityHubConfigurationInput struct { _ struct{} `type:"structure"` // Whether to automatically enable new controls when they are added to standards // that are enabled. // // By default, this is set to true, and new controls are enabled automatically. // To not automatically enable new controls, set this to false. AutoEnableControls *bool `type:"boolean"` // Updates whether the calling account has consolidated control findings turned // on. If the value for this field is set to SECURITY_CONTROL, Security Hub // generates a single finding for a control check even when the check applies // to multiple enabled standards. // // If the value for this field is set to STANDARD_CONTROL, Security Hub generates // separate findings for a control check when the check applies to multiple // enabled standards. // // For accounts that are part of an organization, this value can only be updated // in the administrator account. ControlFindingGenerator *string `type:"string" enum:"ControlFindingGenerator"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityHubConfigurationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityHubConfigurationInput) GoString() string { return s.String() } // SetAutoEnableControls sets the AutoEnableControls field's value. func (s *UpdateSecurityHubConfigurationInput) SetAutoEnableControls(v bool) *UpdateSecurityHubConfigurationInput { s.AutoEnableControls = &v return s } // SetControlFindingGenerator sets the ControlFindingGenerator field's value. func (s *UpdateSecurityHubConfigurationInput) SetControlFindingGenerator(v string) *UpdateSecurityHubConfigurationInput { s.ControlFindingGenerator = &v return s } type UpdateSecurityHubConfigurationOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityHubConfigurationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateSecurityHubConfigurationOutput) GoString() string { return s.String() } type UpdateStandardsControlInput struct { _ struct{} `type:"structure"` // The updated status of the security standard control. ControlStatus *string `type:"string" enum:"ControlStatus"` // A description of the reason why you are disabling a security standard control. // If you are disabling a control, then this is required. DisabledReason *string `type:"string"` // The ARN of the security standard control to enable or disable. // // StandardsControlArn is a required field StandardsControlArn *string `location:"uri" locationName:"StandardsControlArn" type:"string" required:"true"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateStandardsControlInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateStandardsControlInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateStandardsControlInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateStandardsControlInput"} if s.StandardsControlArn == nil { invalidParams.Add(request.NewErrParamRequired("StandardsControlArn")) } if s.StandardsControlArn != nil && len(*s.StandardsControlArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("StandardsControlArn", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetControlStatus sets the ControlStatus field's value. func (s *UpdateStandardsControlInput) SetControlStatus(v string) *UpdateStandardsControlInput { s.ControlStatus = &v return s } // SetDisabledReason sets the DisabledReason field's value. func (s *UpdateStandardsControlInput) SetDisabledReason(v string) *UpdateStandardsControlInput { s.DisabledReason = &v return s } // SetStandardsControlArn sets the StandardsControlArn field's value. func (s *UpdateStandardsControlInput) SetStandardsControlArn(v string) *UpdateStandardsControlInput { s.StandardsControlArn = &v return s } type UpdateStandardsControlOutput struct { _ struct{} `type:"structure"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateStandardsControlOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s UpdateStandardsControlOutput) GoString() string { return s.String() } // Describes the mounting of a volume in a container. type VolumeMount struct { _ struct{} `type:"structure"` // The path in the container at which the volume should be mounted. MountPath *string `type:"string"` // The name of the volume. Name *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VolumeMount) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VolumeMount) GoString() string { return s.String() } // SetMountPath sets the MountPath field's value. func (s *VolumeMount) SetMountPath(v string) *VolumeMount { s.MountPath = &v return s } // SetName sets the Name field's value. func (s *VolumeMount) SetName(v string) *VolumeMount { s.Name = &v return s } // Provides details about the IPv4 CIDR blocks for the VPC. type VpcInfoCidrBlockSetDetails struct { _ struct{} `type:"structure"` // The IPv4 CIDR block for the VPC. CidrBlock *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VpcInfoCidrBlockSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VpcInfoCidrBlockSetDetails) GoString() string { return s.String() } // SetCidrBlock sets the CidrBlock field's value. func (s *VpcInfoCidrBlockSetDetails) SetCidrBlock(v string) *VpcInfoCidrBlockSetDetails { s.CidrBlock = &v return s } // Provides details about the IPv6 CIDR blocks for the VPC. type VpcInfoIpv6CidrBlockSetDetails struct { _ struct{} `type:"structure"` // The IPv6 CIDR block for the VPC. Ipv6CidrBlock *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VpcInfoIpv6CidrBlockSetDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VpcInfoIpv6CidrBlockSetDetails) GoString() string { return s.String() } // SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. func (s *VpcInfoIpv6CidrBlockSetDetails) SetIpv6CidrBlock(v string) *VpcInfoIpv6CidrBlockSetDetails { s.Ipv6CidrBlock = &v return s } // Provides information about the VPC peering connection options for the accepter // or requester VPC. type VpcInfoPeeringOptionsDetails struct { _ struct{} `type:"structure"` // Indicates whether a local VPC can resolve public DNS hostnames to private // IP addresses when queried from instances in a peer VPC. AllowDnsResolutionFromRemoteVpc *bool `type:"boolean"` // Indicates whether a local ClassicLink connection can communicate with the // peer VPC over the VPC peering connection. AllowEgressFromLocalClassicLinkToRemoteVpc *bool `type:"boolean"` // Indicates whether a local VPC can communicate with a ClassicLink connection // in the peer VPC over the VPC peering connection. AllowEgressFromLocalVpcToRemoteClassicLink *bool `type:"boolean"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VpcInfoPeeringOptionsDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VpcInfoPeeringOptionsDetails) GoString() string { return s.String() } // SetAllowDnsResolutionFromRemoteVpc sets the AllowDnsResolutionFromRemoteVpc field's value. func (s *VpcInfoPeeringOptionsDetails) SetAllowDnsResolutionFromRemoteVpc(v bool) *VpcInfoPeeringOptionsDetails { s.AllowDnsResolutionFromRemoteVpc = &v return s } // SetAllowEgressFromLocalClassicLinkToRemoteVpc sets the AllowEgressFromLocalClassicLinkToRemoteVpc field's value. func (s *VpcInfoPeeringOptionsDetails) SetAllowEgressFromLocalClassicLinkToRemoteVpc(v bool) *VpcInfoPeeringOptionsDetails { s.AllowEgressFromLocalClassicLinkToRemoteVpc = &v return s } // SetAllowEgressFromLocalVpcToRemoteClassicLink sets the AllowEgressFromLocalVpcToRemoteClassicLink field's value. func (s *VpcInfoPeeringOptionsDetails) SetAllowEgressFromLocalVpcToRemoteClassicLink(v bool) *VpcInfoPeeringOptionsDetails { s.AllowEgressFromLocalVpcToRemoteClassicLink = &v return s } // A vulnerability associated with a finding. type Vulnerability struct { _ struct{} `type:"structure"` // The vulnerabilities found in your Lambda function code. This field pertains // to findings that Security Hub receives from Amazon Inspector. CodeVulnerabilities []*VulnerabilityCodeVulnerabilities `type:"list"` // CVSS scores from the advisory related to the vulnerability. Cvss []*Cvss `type:"list"` // The Exploit Prediction Scoring System (EPSS) score for a finding. EpssScore *float64 `type:"double"` // Whether an exploit is available for a finding. ExploitAvailable *string `type:"string" enum:"VulnerabilityExploitAvailable"` // Specifies if all vulnerable packages in a finding have a value for FixedInVersion // and Remediation. This field is evaluated for each vulnerability Id based // on the number of vulnerable packages that have a value for both FixedInVersion // and Remediation. Valid values are as follows: // // * YES if all vulnerable packages have a value for both FixedInVersion // and Remediation // // * NO if no vulnerable packages have a value for FixedInVersion and Remediation // // * PARTIAL otherwise FixAvailable *string `type:"string" enum:"VulnerabilityFixAvailable"` // The identifier of the vulnerability. // // Id is a required field Id *string `type:"string" required:"true"` // The date and time of the last exploit associated with a finding discovered // in your environment. LastKnownExploitAt *string `type:"string"` // A list of URLs that provide additional information about the vulnerability. ReferenceUrls []*string `type:"list"` // List of vulnerabilities that are related to this vulnerability. RelatedVulnerabilities []*string `type:"list"` // Information about the vendor that generates the vulnerability report. Vendor *VulnerabilityVendor `type:"structure"` // List of software packages that have the vulnerability. VulnerablePackages []*SoftwarePackage `type:"list"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Vulnerability) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Vulnerability) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *Vulnerability) Validate() error { invalidParams := request.ErrInvalidParams{Context: "Vulnerability"} if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } if s.Vendor != nil { if err := s.Vendor.Validate(); err != nil { invalidParams.AddNested("Vendor", err.(request.ErrInvalidParams)) } } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetCodeVulnerabilities sets the CodeVulnerabilities field's value. func (s *Vulnerability) SetCodeVulnerabilities(v []*VulnerabilityCodeVulnerabilities) *Vulnerability { s.CodeVulnerabilities = v return s } // SetCvss sets the Cvss field's value. func (s *Vulnerability) SetCvss(v []*Cvss) *Vulnerability { s.Cvss = v return s } // SetEpssScore sets the EpssScore field's value. func (s *Vulnerability) SetEpssScore(v float64) *Vulnerability { s.EpssScore = &v return s } // SetExploitAvailable sets the ExploitAvailable field's value. func (s *Vulnerability) SetExploitAvailable(v string) *Vulnerability { s.ExploitAvailable = &v return s } // SetFixAvailable sets the FixAvailable field's value. func (s *Vulnerability) SetFixAvailable(v string) *Vulnerability { s.FixAvailable = &v return s } // SetId sets the Id field's value. func (s *Vulnerability) SetId(v string) *Vulnerability { s.Id = &v return s } // SetLastKnownExploitAt sets the LastKnownExploitAt field's value. func (s *Vulnerability) SetLastKnownExploitAt(v string) *Vulnerability { s.LastKnownExploitAt = &v return s } // SetReferenceUrls sets the ReferenceUrls field's value. func (s *Vulnerability) SetReferenceUrls(v []*string) *Vulnerability { s.ReferenceUrls = v return s } // SetRelatedVulnerabilities sets the RelatedVulnerabilities field's value. func (s *Vulnerability) SetRelatedVulnerabilities(v []*string) *Vulnerability { s.RelatedVulnerabilities = v return s } // SetVendor sets the Vendor field's value. func (s *Vulnerability) SetVendor(v *VulnerabilityVendor) *Vulnerability { s.Vendor = v return s } // SetVulnerablePackages sets the VulnerablePackages field's value. func (s *Vulnerability) SetVulnerablePackages(v []*SoftwarePackage) *Vulnerability { s.VulnerablePackages = v return s } // Provides details about the vulnerabilities found in your Lambda function // code. This field pertains to findings that Security Hub receives from Amazon // Inspector. type VulnerabilityCodeVulnerabilities struct { _ struct{} `type:"structure"` // The Common Weakness Enumeration (CWE) item associated with the detected code // vulnerability. Cwes []*string `type:"list"` // Provides details about where a code vulnerability is located in your Lambda // function. FilePath *CodeVulnerabilitiesFilePath `type:"structure"` // The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability // is located. SourceArn *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VulnerabilityCodeVulnerabilities) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VulnerabilityCodeVulnerabilities) GoString() string { return s.String() } // SetCwes sets the Cwes field's value. func (s *VulnerabilityCodeVulnerabilities) SetCwes(v []*string) *VulnerabilityCodeVulnerabilities { s.Cwes = v return s } // SetFilePath sets the FilePath field's value. func (s *VulnerabilityCodeVulnerabilities) SetFilePath(v *CodeVulnerabilitiesFilePath) *VulnerabilityCodeVulnerabilities { s.FilePath = v return s } // SetSourceArn sets the SourceArn field's value. func (s *VulnerabilityCodeVulnerabilities) SetSourceArn(v string) *VulnerabilityCodeVulnerabilities { s.SourceArn = &v return s } // A vendor that generates a vulnerability report. type VulnerabilityVendor struct { _ struct{} `type:"structure"` // The name of the vendor. // // Name is a required field Name *string `type:"string" required:"true"` // The URL of the vulnerability advisory. Url *string `type:"string"` // Indicates when the vulnerability advisory was created. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) VendorCreatedAt *string `type:"string"` // The severity that the vendor assigned to the vulnerability. VendorSeverity *string `type:"string"` // Indicates when the vulnerability advisory was last updated. // // This field accepts only the specified formats. Timestamps can end with Z // or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds // is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here // are valid timestamp formats with examples: // // * YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z) // // * YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59) // // * YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759) // // * YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59) VendorUpdatedAt *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VulnerabilityVendor) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s VulnerabilityVendor) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. func (s *VulnerabilityVendor) Validate() error { invalidParams := request.ErrInvalidParams{Context: "VulnerabilityVendor"} if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } if invalidParams.Len() > 0 { return invalidParams } return nil } // SetName sets the Name field's value. func (s *VulnerabilityVendor) SetName(v string) *VulnerabilityVendor { s.Name = &v return s } // SetUrl sets the Url field's value. func (s *VulnerabilityVendor) SetUrl(v string) *VulnerabilityVendor { s.Url = &v return s } // SetVendorCreatedAt sets the VendorCreatedAt field's value. func (s *VulnerabilityVendor) SetVendorCreatedAt(v string) *VulnerabilityVendor { s.VendorCreatedAt = &v return s } // SetVendorSeverity sets the VendorSeverity field's value. func (s *VulnerabilityVendor) SetVendorSeverity(v string) *VulnerabilityVendor { s.VendorSeverity = &v return s } // SetVendorUpdatedAt sets the VendorUpdatedAt field's value. func (s *VulnerabilityVendor) SetVendorUpdatedAt(v string) *VulnerabilityVendor { s.VendorUpdatedAt = &v return s } // Details about the action that CloudFront or WAF takes when a web request // matches the conditions in the rule. type WafAction struct { _ struct{} `type:"structure"` // Specifies how you want WAF to respond to requests that match the settings // in a rule. // // Valid settings include the following: // // * ALLOW - WAF allows requests // // * BLOCK - WAF blocks requests // // * COUNT - WAF increments a counter of the requests that match all of the // conditions in the rule. WAF then continues to inspect the web request // based on the remaining rules in the web ACL. You can't specify COUNT for // the default action for a web ACL. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WafAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WafAction) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *WafAction) SetType(v string) *WafAction { s.Type = &v return s } // Details about a rule to exclude from a rule group. type WafExcludedRule struct { _ struct{} `type:"structure"` // The unique identifier for the rule to exclude from the rule group. RuleId *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WafExcludedRule) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WafExcludedRule) GoString() string { return s.String() } // SetRuleId sets the RuleId field's value. func (s *WafExcludedRule) SetRuleId(v string) *WafExcludedRule { s.RuleId = &v return s } // Details about an override action for a rule. type WafOverrideAction struct { _ struct{} `type:"structure"` // COUNT overrides the action specified by the individual rule within a RuleGroup . // // If set to NONE, the rule's action takes place. Type *string `type:"string"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WafOverrideAction) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WafOverrideAction) GoString() string { return s.String() } // SetType sets the Type field's value. func (s *WafOverrideAction) SetType(v string) *WafOverrideAction { s.Type = &v return s } // Provides details about the status of the investigation into a finding. type Workflow struct { _ struct{} `type:"structure"` // The status of the investigation into the finding. The workflow status is // specific to an individual finding. It does not affect the generation of new // findings. For example, setting the workflow status to SUPPRESSED or RESOLVED // does not prevent a new finding for the same issue. // // The allowed values are the following. // // * NEW - The initial state of a finding, before it is reviewed. Security // Hub also resets the workflow status from NOTIFIED or RESOLVED to NEW in // the following cases: RecordState changes from ARCHIVED to ACTIVE. ComplianceStatus // changes from PASSED to either WARNING, FAILED, or NOT_AVAILABLE. // // * NOTIFIED - Indicates that you notified the resource owner about the // security issue. Used when the initial reviewer is not the resource owner, // and needs intervention from the resource owner. // // * SUPPRESSED - Indicates that you reviewed the finding and do not believe // that any action is needed. The finding is no longer updated. // // * RESOLVED - The finding was reviewed and remediated and is now considered // resolved. Status *string `type:"string" enum:"WorkflowStatus"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Workflow) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s Workflow) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *Workflow) SetStatus(v string) *Workflow { s.Status = &v return s } // Used to update information about the investigation into the finding. type WorkflowUpdate struct { _ struct{} `type:"structure"` // The status of the investigation into the finding. The workflow status is // specific to an individual finding. It does not affect the generation of new // findings. For example, setting the workflow status to SUPPRESSED or RESOLVED // does not prevent a new finding for the same issue. // // The allowed values are the following. // // * NEW - The initial state of a finding, before it is reviewed. Security // Hub also resets WorkFlowStatus from NOTIFIED or RESOLVED to NEW in the // following cases: The record state changes from ARCHIVED to ACTIVE. The // compliance status changes from PASSED to either WARNING, FAILED, or NOT_AVAILABLE. // // * NOTIFIED - Indicates that you notified the resource owner about the // security issue. Used when the initial reviewer is not the resource owner, // and needs intervention from the resource owner. // // * RESOLVED - The finding was reviewed and remediated and is now considered // resolved. // // * SUPPRESSED - Indicates that you reviewed the finding and do not believe // that any action is needed. The finding is no longer updated. Status *string `type:"string" enum:"WorkflowStatus"` } // String returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WorkflowUpdate) String() string { return awsutil.Prettify(s) } // GoString returns the string representation. // // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". func (s WorkflowUpdate) GoString() string { return s.String() } // SetStatus sets the Status field's value. func (s *WorkflowUpdate) SetStatus(v string) *WorkflowUpdate { s.Status = &v return s } const ( // AdminStatusEnabled is a AdminStatus enum value AdminStatusEnabled = "ENABLED" // AdminStatusDisableInProgress is a AdminStatus enum value AdminStatusDisableInProgress = "DISABLE_IN_PROGRESS" ) // AdminStatus_Values returns all elements of the AdminStatus enum func AdminStatus_Values() []string { return []string{ AdminStatusEnabled, AdminStatusDisableInProgress, } } const ( // AssociationStatusEnabled is a AssociationStatus enum value AssociationStatusEnabled = "ENABLED" // AssociationStatusDisabled is a AssociationStatus enum value AssociationStatusDisabled = "DISABLED" ) // AssociationStatus_Values returns all elements of the AssociationStatus enum func AssociationStatus_Values() []string { return []string{ AssociationStatusEnabled, AssociationStatusDisabled, } } const ( // AssociationTypeInherited is a AssociationType enum value AssociationTypeInherited = "INHERITED" // AssociationTypeApplied is a AssociationType enum value AssociationTypeApplied = "APPLIED" ) // AssociationType_Values returns all elements of the AssociationType enum func AssociationType_Values() []string { return []string{ AssociationTypeInherited, AssociationTypeApplied, } } const ( // AutoEnableStandardsNone is a AutoEnableStandards enum value AutoEnableStandardsNone = "NONE" // AutoEnableStandardsDefault is a AutoEnableStandards enum value AutoEnableStandardsDefault = "DEFAULT" ) // AutoEnableStandards_Values returns all elements of the AutoEnableStandards enum func AutoEnableStandards_Values() []string { return []string{ AutoEnableStandardsNone, AutoEnableStandardsDefault, } } const ( // AutomationRulesActionTypeFindingFieldsUpdate is a AutomationRulesActionType enum value AutomationRulesActionTypeFindingFieldsUpdate = "FINDING_FIELDS_UPDATE" ) // AutomationRulesActionType_Values returns all elements of the AutomationRulesActionType enum func AutomationRulesActionType_Values() []string { return []string{ AutomationRulesActionTypeFindingFieldsUpdate, } } const ( // AwsIamAccessKeyStatusActive is a AwsIamAccessKeyStatus enum value AwsIamAccessKeyStatusActive = "Active" // AwsIamAccessKeyStatusInactive is a AwsIamAccessKeyStatus enum value AwsIamAccessKeyStatusInactive = "Inactive" ) // AwsIamAccessKeyStatus_Values returns all elements of the AwsIamAccessKeyStatus enum func AwsIamAccessKeyStatus_Values() []string { return []string{ AwsIamAccessKeyStatusActive, AwsIamAccessKeyStatusInactive, } } const ( // AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamePrefix is a AwsS3BucketNotificationConfigurationS3KeyFilterRuleName enum value AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamePrefix = "Prefix" // AwsS3BucketNotificationConfigurationS3KeyFilterRuleNameSuffix is a AwsS3BucketNotificationConfigurationS3KeyFilterRuleName enum value AwsS3BucketNotificationConfigurationS3KeyFilterRuleNameSuffix = "Suffix" ) // AwsS3BucketNotificationConfigurationS3KeyFilterRuleName_Values returns all elements of the AwsS3BucketNotificationConfigurationS3KeyFilterRuleName enum func AwsS3BucketNotificationConfigurationS3KeyFilterRuleName_Values() []string { return []string{ AwsS3BucketNotificationConfigurationS3KeyFilterRuleNamePrefix, AwsS3BucketNotificationConfigurationS3KeyFilterRuleNameSuffix, } } const ( // ComplianceStatusPassed is a ComplianceStatus enum value ComplianceStatusPassed = "PASSED" // ComplianceStatusWarning is a ComplianceStatus enum value ComplianceStatusWarning = "WARNING" // ComplianceStatusFailed is a ComplianceStatus enum value ComplianceStatusFailed = "FAILED" // ComplianceStatusNotAvailable is a ComplianceStatus enum value ComplianceStatusNotAvailable = "NOT_AVAILABLE" ) // ComplianceStatus_Values returns all elements of the ComplianceStatus enum func ComplianceStatus_Values() []string { return []string{ ComplianceStatusPassed, ComplianceStatusWarning, ComplianceStatusFailed, ComplianceStatusNotAvailable, } } const ( // ConfigurationPolicyAssociationStatusPending is a ConfigurationPolicyAssociationStatus enum value ConfigurationPolicyAssociationStatusPending = "PENDING" // ConfigurationPolicyAssociationStatusSuccess is a ConfigurationPolicyAssociationStatus enum value ConfigurationPolicyAssociationStatusSuccess = "SUCCESS" // ConfigurationPolicyAssociationStatusFailed is a ConfigurationPolicyAssociationStatus enum value ConfigurationPolicyAssociationStatusFailed = "FAILED" ) // ConfigurationPolicyAssociationStatus_Values returns all elements of the ConfigurationPolicyAssociationStatus enum func ConfigurationPolicyAssociationStatus_Values() []string { return []string{ ConfigurationPolicyAssociationStatusPending, ConfigurationPolicyAssociationStatusSuccess, ConfigurationPolicyAssociationStatusFailed, } } const ( // ControlFindingGeneratorStandardControl is a ControlFindingGenerator enum value ControlFindingGeneratorStandardControl = "STANDARD_CONTROL" // ControlFindingGeneratorSecurityControl is a ControlFindingGenerator enum value ControlFindingGeneratorSecurityControl = "SECURITY_CONTROL" ) // ControlFindingGenerator_Values returns all elements of the ControlFindingGenerator enum func ControlFindingGenerator_Values() []string { return []string{ ControlFindingGeneratorStandardControl, ControlFindingGeneratorSecurityControl, } } const ( // ControlStatusEnabled is a ControlStatus enum value ControlStatusEnabled = "ENABLED" // ControlStatusDisabled is a ControlStatus enum value ControlStatusDisabled = "DISABLED" ) // ControlStatus_Values returns all elements of the ControlStatus enum func ControlStatus_Values() []string { return []string{ ControlStatusEnabled, ControlStatusDisabled, } } const ( // DateRangeUnitDays is a DateRangeUnit enum value DateRangeUnitDays = "DAYS" ) // DateRangeUnit_Values returns all elements of the DateRangeUnit enum func DateRangeUnit_Values() []string { return []string{ DateRangeUnitDays, } } const ( // FindingHistoryUpdateSourceTypeBatchUpdateFindings is a FindingHistoryUpdateSourceType enum value FindingHistoryUpdateSourceTypeBatchUpdateFindings = "BATCH_UPDATE_FINDINGS" // FindingHistoryUpdateSourceTypeBatchImportFindings is a FindingHistoryUpdateSourceType enum value FindingHistoryUpdateSourceTypeBatchImportFindings = "BATCH_IMPORT_FINDINGS" ) // FindingHistoryUpdateSourceType_Values returns all elements of the FindingHistoryUpdateSourceType enum func FindingHistoryUpdateSourceType_Values() []string { return []string{ FindingHistoryUpdateSourceTypeBatchUpdateFindings, FindingHistoryUpdateSourceTypeBatchImportFindings, } } const ( // IntegrationTypeSendFindingsToSecurityHub is a IntegrationType enum value IntegrationTypeSendFindingsToSecurityHub = "SEND_FINDINGS_TO_SECURITY_HUB" // IntegrationTypeReceiveFindingsFromSecurityHub is a IntegrationType enum value IntegrationTypeReceiveFindingsFromSecurityHub = "RECEIVE_FINDINGS_FROM_SECURITY_HUB" // IntegrationTypeUpdateFindingsInSecurityHub is a IntegrationType enum value IntegrationTypeUpdateFindingsInSecurityHub = "UPDATE_FINDINGS_IN_SECURITY_HUB" ) // IntegrationType_Values returns all elements of the IntegrationType enum func IntegrationType_Values() []string { return []string{ IntegrationTypeSendFindingsToSecurityHub, IntegrationTypeReceiveFindingsFromSecurityHub, IntegrationTypeUpdateFindingsInSecurityHub, } } const ( // MalwareStateObserved is a MalwareState enum value MalwareStateObserved = "OBSERVED" // MalwareStateRemovalFailed is a MalwareState enum value MalwareStateRemovalFailed = "REMOVAL_FAILED" // MalwareStateRemoved is a MalwareState enum value MalwareStateRemoved = "REMOVED" ) // MalwareState_Values returns all elements of the MalwareState enum func MalwareState_Values() []string { return []string{ MalwareStateObserved, MalwareStateRemovalFailed, MalwareStateRemoved, } } const ( // MalwareTypeAdware is a MalwareType enum value MalwareTypeAdware = "ADWARE" // MalwareTypeBlendedThreat is a MalwareType enum value MalwareTypeBlendedThreat = "BLENDED_THREAT" // MalwareTypeBotnetAgent is a MalwareType enum value MalwareTypeBotnetAgent = "BOTNET_AGENT" // MalwareTypeCoinMiner is a MalwareType enum value MalwareTypeCoinMiner = "COIN_MINER" // MalwareTypeExploitKit is a MalwareType enum value MalwareTypeExploitKit = "EXPLOIT_KIT" // MalwareTypeKeylogger is a MalwareType enum value MalwareTypeKeylogger = "KEYLOGGER" // MalwareTypeMacro is a MalwareType enum value MalwareTypeMacro = "MACRO" // MalwareTypePotentiallyUnwanted is a MalwareType enum value MalwareTypePotentiallyUnwanted = "POTENTIALLY_UNWANTED" // MalwareTypeSpyware is a MalwareType enum value MalwareTypeSpyware = "SPYWARE" // MalwareTypeRansomware is a MalwareType enum value MalwareTypeRansomware = "RANSOMWARE" // MalwareTypeRemoteAccess is a MalwareType enum value MalwareTypeRemoteAccess = "REMOTE_ACCESS" // MalwareTypeRootkit is a MalwareType enum value MalwareTypeRootkit = "ROOTKIT" // MalwareTypeTrojan is a MalwareType enum value MalwareTypeTrojan = "TROJAN" // MalwareTypeVirus is a MalwareType enum value MalwareTypeVirus = "VIRUS" // MalwareTypeWorm is a MalwareType enum value MalwareTypeWorm = "WORM" ) // MalwareType_Values returns all elements of the MalwareType enum func MalwareType_Values() []string { return []string{ MalwareTypeAdware, MalwareTypeBlendedThreat, MalwareTypeBotnetAgent, MalwareTypeCoinMiner, MalwareTypeExploitKit, MalwareTypeKeylogger, MalwareTypeMacro, MalwareTypePotentiallyUnwanted, MalwareTypeSpyware, MalwareTypeRansomware, MalwareTypeRemoteAccess, MalwareTypeRootkit, MalwareTypeTrojan, MalwareTypeVirus, MalwareTypeWorm, } } const ( // MapFilterComparisonEquals is a MapFilterComparison enum value MapFilterComparisonEquals = "EQUALS" // MapFilterComparisonNotEquals is a MapFilterComparison enum value MapFilterComparisonNotEquals = "NOT_EQUALS" // MapFilterComparisonContains is a MapFilterComparison enum value MapFilterComparisonContains = "CONTAINS" // MapFilterComparisonNotContains is a MapFilterComparison enum value MapFilterComparisonNotContains = "NOT_CONTAINS" ) // MapFilterComparison_Values returns all elements of the MapFilterComparison enum func MapFilterComparison_Values() []string { return []string{ MapFilterComparisonEquals, MapFilterComparisonNotEquals, MapFilterComparisonContains, MapFilterComparisonNotContains, } } const ( // NetworkDirectionIn is a NetworkDirection enum value NetworkDirectionIn = "IN" // NetworkDirectionOut is a NetworkDirection enum value NetworkDirectionOut = "OUT" ) // NetworkDirection_Values returns all elements of the NetworkDirection enum func NetworkDirection_Values() []string { return []string{ NetworkDirectionIn, NetworkDirectionOut, } } const ( // OrganizationConfigurationConfigurationTypeCentral is a OrganizationConfigurationConfigurationType enum value OrganizationConfigurationConfigurationTypeCentral = "CENTRAL" // OrganizationConfigurationConfigurationTypeLocal is a OrganizationConfigurationConfigurationType enum value OrganizationConfigurationConfigurationTypeLocal = "LOCAL" ) // OrganizationConfigurationConfigurationType_Values returns all elements of the OrganizationConfigurationConfigurationType enum func OrganizationConfigurationConfigurationType_Values() []string { return []string{ OrganizationConfigurationConfigurationTypeCentral, OrganizationConfigurationConfigurationTypeLocal, } } const ( // OrganizationConfigurationStatusPending is a OrganizationConfigurationStatus enum value OrganizationConfigurationStatusPending = "PENDING" // OrganizationConfigurationStatusEnabled is a OrganizationConfigurationStatus enum value OrganizationConfigurationStatusEnabled = "ENABLED" // OrganizationConfigurationStatusFailed is a OrganizationConfigurationStatus enum value OrganizationConfigurationStatusFailed = "FAILED" ) // OrganizationConfigurationStatus_Values returns all elements of the OrganizationConfigurationStatus enum func OrganizationConfigurationStatus_Values() []string { return []string{ OrganizationConfigurationStatusPending, OrganizationConfigurationStatusEnabled, OrganizationConfigurationStatusFailed, } } const ( // ParameterValueTypeDefault is a ParameterValueType enum value ParameterValueTypeDefault = "DEFAULT" // ParameterValueTypeCustom is a ParameterValueType enum value ParameterValueTypeCustom = "CUSTOM" ) // ParameterValueType_Values returns all elements of the ParameterValueType enum func ParameterValueType_Values() []string { return []string{ ParameterValueTypeDefault, ParameterValueTypeCustom, } } const ( // PartitionAws is a Partition enum value PartitionAws = "aws" // PartitionAwsCn is a Partition enum value PartitionAwsCn = "aws-cn" // PartitionAwsUsGov is a Partition enum value PartitionAwsUsGov = "aws-us-gov" ) // Partition_Values returns all elements of the Partition enum func Partition_Values() []string { return []string{ PartitionAws, PartitionAwsCn, PartitionAwsUsGov, } } const ( // RecordStateActive is a RecordState enum value RecordStateActive = "ACTIVE" // RecordStateArchived is a RecordState enum value RecordStateArchived = "ARCHIVED" ) // RecordState_Values returns all elements of the RecordState enum func RecordState_Values() []string { return []string{ RecordStateActive, RecordStateArchived, } } const ( // RegionAvailabilityStatusAvailable is a RegionAvailabilityStatus enum value RegionAvailabilityStatusAvailable = "AVAILABLE" // RegionAvailabilityStatusUnavailable is a RegionAvailabilityStatus enum value RegionAvailabilityStatusUnavailable = "UNAVAILABLE" ) // RegionAvailabilityStatus_Values returns all elements of the RegionAvailabilityStatus enum func RegionAvailabilityStatus_Values() []string { return []string{ RegionAvailabilityStatusAvailable, RegionAvailabilityStatusUnavailable, } } const ( // RuleStatusEnabled is a RuleStatus enum value RuleStatusEnabled = "ENABLED" // RuleStatusDisabled is a RuleStatus enum value RuleStatusDisabled = "DISABLED" ) // RuleStatus_Values returns all elements of the RuleStatus enum func RuleStatus_Values() []string { return []string{ RuleStatusEnabled, RuleStatusDisabled, } } const ( // SecurityControlPropertyParameters is a SecurityControlProperty enum value SecurityControlPropertyParameters = "Parameters" ) // SecurityControlProperty_Values returns all elements of the SecurityControlProperty enum func SecurityControlProperty_Values() []string { return []string{ SecurityControlPropertyParameters, } } const ( // SeverityLabelInformational is a SeverityLabel enum value SeverityLabelInformational = "INFORMATIONAL" // SeverityLabelLow is a SeverityLabel enum value SeverityLabelLow = "LOW" // SeverityLabelMedium is a SeverityLabel enum value SeverityLabelMedium = "MEDIUM" // SeverityLabelHigh is a SeverityLabel enum value SeverityLabelHigh = "HIGH" // SeverityLabelCritical is a SeverityLabel enum value SeverityLabelCritical = "CRITICAL" ) // SeverityLabel_Values returns all elements of the SeverityLabel enum func SeverityLabel_Values() []string { return []string{ SeverityLabelInformational, SeverityLabelLow, SeverityLabelMedium, SeverityLabelHigh, SeverityLabelCritical, } } const ( // SeverityRatingLow is a SeverityRating enum value SeverityRatingLow = "LOW" // SeverityRatingMedium is a SeverityRating enum value SeverityRatingMedium = "MEDIUM" // SeverityRatingHigh is a SeverityRating enum value SeverityRatingHigh = "HIGH" // SeverityRatingCritical is a SeverityRating enum value SeverityRatingCritical = "CRITICAL" ) // SeverityRating_Values returns all elements of the SeverityRating enum func SeverityRating_Values() []string { return []string{ SeverityRatingLow, SeverityRatingMedium, SeverityRatingHigh, SeverityRatingCritical, } } const ( // SortOrderAsc is a SortOrder enum value SortOrderAsc = "asc" // SortOrderDesc is a SortOrder enum value SortOrderDesc = "desc" ) // SortOrder_Values returns all elements of the SortOrder enum func SortOrder_Values() []string { return []string{ SortOrderAsc, SortOrderDesc, } } const ( // StandardsStatusPending is a StandardsStatus enum value StandardsStatusPending = "PENDING" // StandardsStatusReady is a StandardsStatus enum value StandardsStatusReady = "READY" // StandardsStatusFailed is a StandardsStatus enum value StandardsStatusFailed = "FAILED" // StandardsStatusDeleting is a StandardsStatus enum value StandardsStatusDeleting = "DELETING" // StandardsStatusIncomplete is a StandardsStatus enum value StandardsStatusIncomplete = "INCOMPLETE" ) // StandardsStatus_Values returns all elements of the StandardsStatus enum func StandardsStatus_Values() []string { return []string{ StandardsStatusPending, StandardsStatusReady, StandardsStatusFailed, StandardsStatusDeleting, StandardsStatusIncomplete, } } const ( // StatusReasonCodeNoAvailableConfigurationRecorder is a StatusReasonCode enum value StatusReasonCodeNoAvailableConfigurationRecorder = "NO_AVAILABLE_CONFIGURATION_RECORDER" // StatusReasonCodeInternalError is a StatusReasonCode enum value StatusReasonCodeInternalError = "INTERNAL_ERROR" ) // StatusReasonCode_Values returns all elements of the StatusReasonCode enum func StatusReasonCode_Values() []string { return []string{ StatusReasonCodeNoAvailableConfigurationRecorder, StatusReasonCodeInternalError, } } const ( // StringFilterComparisonEquals is a StringFilterComparison enum value StringFilterComparisonEquals = "EQUALS" // StringFilterComparisonPrefix is a StringFilterComparison enum value StringFilterComparisonPrefix = "PREFIX" // StringFilterComparisonNotEquals is a StringFilterComparison enum value StringFilterComparisonNotEquals = "NOT_EQUALS" // StringFilterComparisonPrefixNotEquals is a StringFilterComparison enum value StringFilterComparisonPrefixNotEquals = "PREFIX_NOT_EQUALS" // StringFilterComparisonContains is a StringFilterComparison enum value StringFilterComparisonContains = "CONTAINS" // StringFilterComparisonNotContains is a StringFilterComparison enum value StringFilterComparisonNotContains = "NOT_CONTAINS" ) // StringFilterComparison_Values returns all elements of the StringFilterComparison enum func StringFilterComparison_Values() []string { return []string{ StringFilterComparisonEquals, StringFilterComparisonPrefix, StringFilterComparisonNotEquals, StringFilterComparisonPrefixNotEquals, StringFilterComparisonContains, StringFilterComparisonNotContains, } } const ( // TargetTypeAccount is a TargetType enum value TargetTypeAccount = "ACCOUNT" // TargetTypeOrganizationalUnit is a TargetType enum value TargetTypeOrganizationalUnit = "ORGANIZATIONAL_UNIT" ) // TargetType_Values returns all elements of the TargetType enum func TargetType_Values() []string { return []string{ TargetTypeAccount, TargetTypeOrganizationalUnit, } } const ( // ThreatIntelIndicatorCategoryBackdoor is a ThreatIntelIndicatorCategory enum value ThreatIntelIndicatorCategoryBackdoor = "BACKDOOR" // ThreatIntelIndicatorCategoryCardStealer is a ThreatIntelIndicatorCategory enum value ThreatIntelIndicatorCategoryCardStealer = "CARD_STEALER" // ThreatIntelIndicatorCategoryCommandAndControl is a ThreatIntelIndicatorCategory enum value ThreatIntelIndicatorCategoryCommandAndControl = "COMMAND_AND_CONTROL" // ThreatIntelIndicatorCategoryDropSite is a ThreatIntelIndicatorCategory enum value ThreatIntelIndicatorCategoryDropSite = "DROP_SITE" // ThreatIntelIndicatorCategoryExploitSite is a ThreatIntelIndicatorCategory enum value ThreatIntelIndicatorCategoryExploitSite = "EXPLOIT_SITE" // ThreatIntelIndicatorCategoryKeylogger is a ThreatIntelIndicatorCategory enum value ThreatIntelIndicatorCategoryKeylogger = "KEYLOGGER" ) // ThreatIntelIndicatorCategory_Values returns all elements of the ThreatIntelIndicatorCategory enum func ThreatIntelIndicatorCategory_Values() []string { return []string{ ThreatIntelIndicatorCategoryBackdoor, ThreatIntelIndicatorCategoryCardStealer, ThreatIntelIndicatorCategoryCommandAndControl, ThreatIntelIndicatorCategoryDropSite, ThreatIntelIndicatorCategoryExploitSite, ThreatIntelIndicatorCategoryKeylogger, } } const ( // ThreatIntelIndicatorTypeDomain is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeDomain = "DOMAIN" // ThreatIntelIndicatorTypeEmailAddress is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeEmailAddress = "EMAIL_ADDRESS" // ThreatIntelIndicatorTypeHashMd5 is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeHashMd5 = "HASH_MD5" // ThreatIntelIndicatorTypeHashSha1 is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeHashSha1 = "HASH_SHA1" // ThreatIntelIndicatorTypeHashSha256 is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeHashSha256 = "HASH_SHA256" // ThreatIntelIndicatorTypeHashSha512 is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeHashSha512 = "HASH_SHA512" // ThreatIntelIndicatorTypeIpv4Address is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeIpv4Address = "IPV4_ADDRESS" // ThreatIntelIndicatorTypeIpv6Address is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeIpv6Address = "IPV6_ADDRESS" // ThreatIntelIndicatorTypeMutex is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeMutex = "MUTEX" // ThreatIntelIndicatorTypeProcess is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeProcess = "PROCESS" // ThreatIntelIndicatorTypeUrl is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeUrl = "URL" ) // ThreatIntelIndicatorType_Values returns all elements of the ThreatIntelIndicatorType enum func ThreatIntelIndicatorType_Values() []string { return []string{ ThreatIntelIndicatorTypeDomain, ThreatIntelIndicatorTypeEmailAddress, ThreatIntelIndicatorTypeHashMd5, ThreatIntelIndicatorTypeHashSha1, ThreatIntelIndicatorTypeHashSha256, ThreatIntelIndicatorTypeHashSha512, ThreatIntelIndicatorTypeIpv4Address, ThreatIntelIndicatorTypeIpv6Address, ThreatIntelIndicatorTypeMutex, ThreatIntelIndicatorTypeProcess, ThreatIntelIndicatorTypeUrl, } } const ( // UnprocessedErrorCodeInvalidInput is a UnprocessedErrorCode enum value UnprocessedErrorCodeInvalidInput = "INVALID_INPUT" // UnprocessedErrorCodeAccessDenied is a UnprocessedErrorCode enum value UnprocessedErrorCodeAccessDenied = "ACCESS_DENIED" // UnprocessedErrorCodeNotFound is a UnprocessedErrorCode enum value UnprocessedErrorCodeNotFound = "NOT_FOUND" // UnprocessedErrorCodeLimitExceeded is a UnprocessedErrorCode enum value UnprocessedErrorCodeLimitExceeded = "LIMIT_EXCEEDED" ) // UnprocessedErrorCode_Values returns all elements of the UnprocessedErrorCode enum func UnprocessedErrorCode_Values() []string { return []string{ UnprocessedErrorCodeInvalidInput, UnprocessedErrorCodeAccessDenied, UnprocessedErrorCodeNotFound, UnprocessedErrorCodeLimitExceeded, } } const ( // UpdateStatusReady is a UpdateStatus enum value UpdateStatusReady = "READY" // UpdateStatusUpdating is a UpdateStatus enum value UpdateStatusUpdating = "UPDATING" ) // UpdateStatus_Values returns all elements of the UpdateStatus enum func UpdateStatus_Values() []string { return []string{ UpdateStatusReady, UpdateStatusUpdating, } } const ( // VerificationStateUnknown is a VerificationState enum value VerificationStateUnknown = "UNKNOWN" // VerificationStateTruePositive is a VerificationState enum value VerificationStateTruePositive = "TRUE_POSITIVE" // VerificationStateFalsePositive is a VerificationState enum value VerificationStateFalsePositive = "FALSE_POSITIVE" // VerificationStateBenignPositive is a VerificationState enum value VerificationStateBenignPositive = "BENIGN_POSITIVE" ) // VerificationState_Values returns all elements of the VerificationState enum func VerificationState_Values() []string { return []string{ VerificationStateUnknown, VerificationStateTruePositive, VerificationStateFalsePositive, VerificationStateBenignPositive, } } const ( // VulnerabilityExploitAvailableYes is a VulnerabilityExploitAvailable enum value VulnerabilityExploitAvailableYes = "YES" // VulnerabilityExploitAvailableNo is a VulnerabilityExploitAvailable enum value VulnerabilityExploitAvailableNo = "NO" ) // VulnerabilityExploitAvailable_Values returns all elements of the VulnerabilityExploitAvailable enum func VulnerabilityExploitAvailable_Values() []string { return []string{ VulnerabilityExploitAvailableYes, VulnerabilityExploitAvailableNo, } } const ( // VulnerabilityFixAvailableYes is a VulnerabilityFixAvailable enum value VulnerabilityFixAvailableYes = "YES" // VulnerabilityFixAvailableNo is a VulnerabilityFixAvailable enum value VulnerabilityFixAvailableNo = "NO" // VulnerabilityFixAvailablePartial is a VulnerabilityFixAvailable enum value VulnerabilityFixAvailablePartial = "PARTIAL" ) // VulnerabilityFixAvailable_Values returns all elements of the VulnerabilityFixAvailable enum func VulnerabilityFixAvailable_Values() []string { return []string{ VulnerabilityFixAvailableYes, VulnerabilityFixAvailableNo, VulnerabilityFixAvailablePartial, } } const ( // WorkflowStateNew is a WorkflowState enum value WorkflowStateNew = "NEW" // WorkflowStateAssigned is a WorkflowState enum value WorkflowStateAssigned = "ASSIGNED" // WorkflowStateInProgress is a WorkflowState enum value WorkflowStateInProgress = "IN_PROGRESS" // WorkflowStateDeferred is a WorkflowState enum value WorkflowStateDeferred = "DEFERRED" // WorkflowStateResolved is a WorkflowState enum value WorkflowStateResolved = "RESOLVED" ) // WorkflowState_Values returns all elements of the WorkflowState enum func WorkflowState_Values() []string { return []string{ WorkflowStateNew, WorkflowStateAssigned, WorkflowStateInProgress, WorkflowStateDeferred, WorkflowStateResolved, } } const ( // WorkflowStatusNew is a WorkflowStatus enum value WorkflowStatusNew = "NEW" // WorkflowStatusNotified is a WorkflowStatus enum value WorkflowStatusNotified = "NOTIFIED" // WorkflowStatusResolved is a WorkflowStatus enum value WorkflowStatusResolved = "RESOLVED" // WorkflowStatusSuppressed is a WorkflowStatus enum value WorkflowStatusSuppressed = "SUPPRESSED" ) // WorkflowStatus_Values returns all elements of the WorkflowStatus enum func WorkflowStatus_Values() []string { return []string{ WorkflowStatusNew, WorkflowStatusNotified, WorkflowStatusResolved, WorkflowStatusSuppressed, } } ```
Christian Rich is an American-born Nigerian production and DJ duo consisting of twins Kehinde Hassan and Taiwo Hassan. Early life and career The identical twin brothers were born in Chicago and raised in Nigeria for exposure to their father's Yoruba culture. By 2013 they contributed to Drake's #1 Billboard album Nothing Was the Same on the intro of "Pound Cake" which features Jay Z and produced “Crawl” for Childish Gambino's Because the Internet. They produced four tracks for Earl Sweatshirt's #1 Rap Billboard album Doris ("Chum", "Centurion", "Molasses", "Knight"), produced on J. Cole's Platinum, #1 Billboard album Born Sinner ("Sparks Will Fly") and earned a Grammy nomination with Childish Gambino. The brothers produced Vince Staples's big hit “Big Fish” and “Señorita”, Wale/G-Eazy's song “Fashion Week” and Marshmello/Juicy J's “You Can Cry”. They joined Jaden Smith on the joint single “GHOST”. They have production and writing credits with Snoh Aalegra, Juicy J, Anderson Paak and others. Discography References External links 1982 births Living people Musical groups from Lagos Nigerian hip hop DJs Hip hop duos Twin musical duos Midwest hip hop groups African-American musical groups Nigerian hip hop groups American people of Nigerian descent American twins Male musical duos American people of Yoruba descent Identical twins Progressive rap musicians Yoruba musicians African-American DJs Musicians from Chicago 21st-century African-American people 20th-century African-American people Record production duos Songwriting teams
Timothy Buzza (born April 19, 1964) is an American engineer, former vice president at SpaceX and Virgin Orbit, and currently a distinguished engineer at Relativity Space. He is most notable for his influence in the early years of the commercial space industry. Early life Buzza was born April 19, 1964, in Key West, Florida to Glenn and Carolanne Buzza, He was one of four children. In his first years of life, he attended Moon Area High School. He later attended Pennsylvania State University, where he wrestled. Buzza earned both a bachelor’s degree and his master’s degree in mechanical engineering from Penn State. Career Buzza's first job was with McDonnell Douglas. He spent the next 14 years working on aircraft (specifically MD-11 and C-17s) and the Delta IV launch Vehicle. However, after the company started to merge with Boeing, Buzza began looking for new opportunities. That is when he was approached about a new startup called SpaceX. He started work at the company almost immediately. During his 12-year career at SpaceX Buzza advanced to become the Vice President of Test and Launch while leading the design, construction and operation of launch/test sites in Florida, Kwajalein, Texas, and California. He was also directly involved with the development of Falcon 1, Falcon 9, and the SpaceX Dragon 1 Spacecraft. He worked directly with CEO Elon Musk, President Gwynne Shotwell, VP of Propulsion Tom Mueller, and VP of Mission Assurance Hans Koenigsmann In 2014, Buzza joined Virgin Galactic as the Vice President of Program Development. In 2017 Buzza transitioned to Vice President of Launch for Virgin Orbit (formerly part of Virgin Galactic) In 2018, Buzza joined Relativity Space as Distinguished Engineer. References Further reading http://www.virgingalactic.com/who-we-are/our-team/ http://www.parabolicarc.com/2016/06/28/virgin-galactic-taps-tim-buzza-lead-launcherone-program/ http://www.jsc.nasa.gov/history/oral_histories/C3PO/BuzzaT/BuzzaT_1-15-13.htm http://www.mne.psu.edu/news/15-OEA-Awards.aspx https://www.wired.com/2007/05/ff-space-musk/ https://qz.com/787644/elon-musks-dream-of-going-to-mars-is-spacexs-biggest-strength-and-its-biggest-distraction/ https://intelliversitycampus.org/spacex-and-elon-musks-secret-weapon/ https://www.wired.com/2008/05/launch-pad-demo Living people 21st-century American engineers Penn State College of Engineering alumni 1964 births
KNRK (94.7 FM) is a commercial radio station licensed to Camas, Washington, serving the Portland metropolitan area. It is owned by Audacy, Inc. and airs an alternative rock radio format. KNRK's studios and offices are located on SW Bancroft Street in Downtown Portland. while the station transmitter is located off SW Fairmont Court in Portland. Programming The station played mostly alternative rock tracks from 2004 until 2020 when it expanded its format to include alternative-leaning pop, R&B, and hip-hop. By 2022, the station had shifted back toward strictly alternative rock. History On November 1, 1992 KMUZ-FM signed on the air. It was owned by Pacific Northwest Broadcasting, along with KMUZ (now KRYN). The station aired the Bonneville Beautiful Music format. It was powered at 3,200 watts on the 223-foot PGE tower on Mt. Scott in SE Portland, so it only could be heard from north to south, from Battleground to Wilsonville, and from Forest Grove to Troutdale. On March 6, 1995, KMUZ-FM switched to alternative rock as "94-7 NRK"; the KNRK call letters would officially be adopted on April 28 of that year. The station's playlist was made up of alternative rock music by bands such as The Smashing Pumpkins, Pearl Jam and Nirvana. Radio personalities Stephanie Steele and Mike Chase hosted a morning show dubbed "S & M." A DJ who only goes by his middle name, Gustav, hosted weekday afternoons. Gradually, the station's format began to shift towards harder rock music in the late 1990s. Conventional DJs like Gustav and Daria O'Neill were gradually replaced by "shock-jocks." Music from bands like Limp Bizkit, Korn, Puddle of Mudd and Godsmack made up much of the playlist. The station's harder edge came to an end on May 12, 2004. Two morning DJs played audio recordings of Nick Berg's violent death on the air and added their own commentary, which many listeners found offensive. Hundreds of angry phone-calls and e-mails flooded into the station. KNRK's General Manager fired both of them, along with their producer. Following the incident, KNRK temporarily pulled all of its DJs off the air and played only music and commercials, in addition to the nationally syndicated talk show Loveline in the evenings. Brief messages by station program director Mark Hamilton explained the changes and plans to reshape the station. Listeners were encouraged to submit their ideas via an online survey or to call in with their own suggestions. Soon thereafter, KNRK became "94/7 FM - Alternative Portland." Several former KNRK DJs returned, and the station's music, while still alternative, leaned a bit more pop. Throughout the remainder of the 2000s and 2010s, it featured specialty shows like "Passport Approved," which focused on international rock music. On Sundays, an experimental program known as "The Bottom Forty" aired and served as an alternative to conventional Top 40 countdown shows. The station also aired "Greasy Kid Stuff," a Saturday morning program that specialized in music for children. Daria O'Neill returned to host a weekday afternoon show with Gustav in 2017, but departed again in August 2018 after her contract wasn't renewed. KNRK's parent company, Entercom, began changing the station's format in 2020. Program Director Mark Hamilton was removed from his position that September and transferred to sister station KYCH. The termination of several on-air personalities soon followed, including longtime DJ Gustav, who had been at KNRK since 1995. In their place were DJs airing recorded programming from other markets. The music mix also shifted to a current pop-heavy playlist. During this period, the station's ratings sunk to record lows. In August 2022, the station dropped the out of market DJs and returned to being programmed locally by Mark Hamilton. HD Radio KNRK broadcasts in the HD Radio format. In 2007, KNRK introduced "94/7 Too," an online station focusing entirely on bands based or initially established in the Pacific Northwest. It was added to over-the-air radio on 910 AM in July 2010. That station flipped format to sports talk in 2013, with "94/7 Too" moving to 94.7FM's HD2 signal and streaming online. New personalities were added in 2015 (Derric in the evenings) and 2016 (Middays with Pepper). In 2020, "94/7 Too" was replaced with "KNRK-2", which features a classic alternative rock format. References External links NRK Alternative rock radio stations in the United States Modern rock radio stations in the United States Radio stations established in 1992 1992 establishments in Oregon Audacy, Inc. radio stations
Thomas Elroy Oberheim (born July 7, 1936, Manhattan, Kansas), known as Tom Oberheim, is an American audio engineer and electronics engineer best known for designing effects processors, analog synthesizers, sequencers, and drum machines. He has been the founder of four audio electronics companies, most notably Oberheim Electronics. He was also a key figure in the development and adoption of the MIDI standard. He is also a trained physicist. Early life and education Oberheim was born and raised in Manhattan, Kansas, also the home of Kansas State University. Beginning in junior high school, he put his interest in electronics into practice by building hi-fi components and amplifiers for friends. A fan of jazz music, Oberheim decided to move to Los Angeles after seeing an ad on the back of Downbeat Magazine about free jazz performances at a club there. He arrived in Los Angeles in July 1956 at the age of 20 with $10 in his pocket. He worked as a draftsman trainee at NCR Corporation where he was inspired to become a computer engineer. Oberheim enrolled at UCLA, studying computer engineering and physics while also taking music courses. Over the next nine years he worked toward his physics degree, serving in the U.S. Army for a short period of time, harmonizing with the Gregg Smith Singers, and working jobs at computer companies (most notably Abacus, where he first began designing computers). Oberheim was attending a class during his last semester at UCLA when he met and became friends with trumpet player Don Ellis, and keyboardist Joseph Byrd of the band The United States of America, who were attending the same class. Oberheim stayed in touch with both Ellis and Byrd after leaving UCLA, and ended up building an amplifier for Ellis to use for his public address system. Oberheim also built guitar amplifiers for The United States of America, and their lead singer Dorothy Moskowitz asked him to build a ring modulator for the band (Joseph Byrd had used one while a band member, and Moskowitz wanted one for the band's new keyboardist, Richard Grayson). While ring modulator circuit information was readily available, it was a 1961 article by Harald Bode in Electronics Magazine that gave Oberheim the information he needed to design and hand-build one for musical application. Oberheim also built a ring modulator for Don Ellis. After hearing about Oberheim's device, film composer Leonard Rosenman contacted him for a ring modulator to use in the production of the Beneath the Planet of the Apes film soundtrack. Oberheim, who had grown tired of designing computer equipment, found far greater personal satisfaction in designing equipment used by artists to create music and the positive feedback he received from musicians like Herbie Hancock and Jan Hammer. Career Maestro effects units In 1969, the Chicago Musical Instruments Company (CMI) approached Oberheim about his ring modulator, wanting him to become one of their manufacturing contractors. Oberheim raised approximately $6,000 from friends to start Oberheim Electronics. (One of the original investors was Tony Russo, but Oberheim later returned Russo's investment at Russo's request.) Oberheim produced his ring modulator, which CMI marketed as the Maestro RM-1A. At the time, Oberheim was also spending time with the band Bryndle, and had developed a fascination with the sound of instruments being played through a Leslie rotary speaker. This inspired Oberheim to design and build a phase shifter effects unit to imitate that sound. Maestro marketed the phase shifter as the PS-1. The PS-1 was a huge success, selling nearly 25,000 units over the next three years. Oberheim went on to design other products for Maestro, including the Universal Synthesizer for guitars. Oberheim Oberheim's forays into the design of equipment to be used by musicians continued to evolve. His associations with Richard Grayson and later Paul Beaver nurtured an interest in synthesizers, and at the 1971 NAMM Show, Oberheim approached Alan R. Pearlman, founder of ARP Instruments, asked to become the company's Los Angeles dealer, and subsequently became ARP's first dealer on the west coast, selling ARP 2600 synthesizers to musicians in the Los Angeles area, including Leon Russell, Robert Lamm, and Frank Zappa. Having access to ARP's schematics, Oberheim noticed that the ARP 2500 had a feature that allowed two notes to be played simultaneously (a capability of neither the 2600 nor other commercially available synthesizers at the time), and Oberheim designed a modification to the ARP 2600 that enabled it to do the same thing. Using two of these modified ARP 2600s, Oberheim and Grayson performed concerts together. Oberheim further expanded on the performance capabilities of 2-note polyphony in 1973, using his computer engineering experience to design the DS-2, one of the first digital-electronics-based music sequencers. The sequencer would completely control (i.e., "play from memory") the synthesizer; however, leaving the musician with no way to play along live on the instrument's keyboard, this also identified a problem that inspired Oberheim to design the Synthesizer Expander Module (SEM) with the design assistance of Dave Rossum (later of E-mu Systems fame), that facilitated simultaneously recorded + live playing (akin to the multi-track audio recording practice of "overdubbing"). Oberheim introduced the SEM, the first synthesizer bearing his company's name, at the Audio Engineering Society convention in Los Angeles in May 1974. The following year, when Norlin (CMI's successor) cancelled several large orders for Oberheim's Maestro products, Oberheim shifted his design and manufacturing efforts to replace that lost business. He expanded the SEM concept, and again enlisting the expertise of Dave Rossum and Scott Wedge of E-mu Systems, combining the SEM with a digital keyboard, created the Oberheim 2-Voice and 4-Voice synthesizers, the first commercially available polyphonic music synthesizers. By combining more single-voice synthesizer modules together, Oberheim expanded the concept to the Oberheim 8-Voice synthesizer, introduced in 1976. Realizing that programming the 4-Voice on stage was impractical, he designed the Polyphonic Synthesizer Programmer, an integrated circuit memory for storing the synthesizer's sound settings, another industry first. Integrating this technology into a synthesizer, Oberheim introduced the OB1, the first programmable monophonic synthesizer, in 1977. By 1980, Oberheim's products, by then including synthesizers, a polyphonic digital sequencer (the DSX), and a sampled-sound drum machine (the DMX) were designed to be combined to form a complete system, and could be interconnected by a proprietary Oberheim parallel bus interface that pre-dated MIDI. With the company now gathering pace, from the turn of the 1980s Oberheim now streamlined his polyphonic synthesizers into a series of major integrated keyboard instruments which proved highly popular, coming to define many records of the era, to a similar extent to Sequential's Prophet 5. The Oberheim company first produced the OB-X in 1979, the OB-Xa in 1980-81, and the OB-8 in 1983, as well as the Matrix-12 and Matrix-6 from the mid-1980s. MIDI proponent In June 1981, Roland's Ikutaro Kakehashi approached Oberheim with the idea of standardizing a communication protocol between electronic music instruments. Oberheim discussed the idea with Dave Smith of Sequential Circuits, and in November, Smith formally presented the idea to the Audio Engineering Society. Smith finalized the MIDI specification and together, Kakehashi, Oberheim, and Smith successfully coordinated the support of all major manufacturers to widely adopt the new MIDI standard. Marion Systems and SeaSound By May 1985, Oberheim Electronics was struggling and became ECC/Oberheim, owned by Oberheim's ex-lawyer. Later that same year, the Oberheim name was sold to Gibson Guitar Company. Tom Oberheim departed the company two years later and filed a lawsuit against his ex-lawyer for legal malpractice. In 1987, Oberheim formed Marion Systems (named after his daughter Emily Marion) in Santa Monica and later Lafayette in California. During this time, Oberheim performed consulting work for Roland and Akai, and produced a 12-bit to 16-bit option for Akai's S900 sampler. Oberheim also developed the Marion Systems MSR-2, a modular synthesizer concept. In the year 2000 after Marion Systems, Oberheim founded SeaSound, a manufacturer of audio interfaces. Return to synthesizer manufacturing In 2009, Oberheim began hand-building and selling an updated SEM synthesizer with upgraded features, but with a true analog design as faithful to the sound of his original SEM as possible. In 2010, he announced plans to release the "Son of Four Voice," an updated version of his original Oberheim 4-Voice analog synthesizer. In 2015, Oberheim announced the Two-Voice Pro, an upgraded and improved version of the instrument he described as his favorite of Oberheim's early years. At the January 2016 NAMM Show, Oberheim announced the Dave Smith Instruments OB-6, a collaboration with Dave Smith which resulted in Oberheim's first voltage-controlled multi-voiced polyphonic synthesizer since the mid-1980s; Oberheim designed the VCO and VCF sections in the style of the company's SEM, while control features, arpeggiator/step sequencer and effects processing were designed by Smith based on the Prophet platform. In 2019, Gibson announced the Oberheim Electronics name and other intellectual properties had been returned to Tom Oberheim. In 2021, Oberheim announced a manufacturing run of a limited quantity of Special Edition TVS Pro which would resemble the original TVS Pro, but would be the first Oberheim product to wear the "Oberheim®" brand since 1985. A limited number of buyers were chosen from a lottery, and the cost was announced as $4,995, plus tax and shipping. In 2022, it was announced that Oberheim Electronics was re-opening and would be soon shipping a new Oberheim-branded synthesizer, called the Oberheim OB-X8, in May. Breakfast Club Oberheim was a core member of an informal discussion group which met weekly in a Berkeley coffeehouse. The group's initial name, "The Dead Presidents Society", originated from the fact that most members were formerly presidents of companies that had gone out of business. Other notable innovators in technology and music who made up the group were Don Buchla, John Chowning, John Lazzaro, Ingrid Linn, Roger Linn, Max Mathews, Keith McMillen, Dave Smith and David Wessel. The group shed the "Dead Presidents" name when it opened up to other members including professors from Stanford University and the University of California, Berkeley. Its new name is the Breakfast Club. With the coming of the COVID-19 pandemic, Breakfast Club meetings shifted to Zoom teleconferencing. This allowed for the introduction of other music technology innovators who are geographically removed from Berkeley. References External links Tom Oberheim Website Tom Oberheim oral history video at NAMM.org Muse Research (as adviser) 1936 births Living people People from Manhattan, Kansas Inventors of musical instruments University of California, Los Angeles alumni Analog electronics engineers
```objective-c // // BGFMDBUITests.m // BGFMDBUITests // // Created by huangzhibiao on 16/4/28. // #import <XCTest/XCTest.h> @interface BGFMDBUITests : XCTestCase @end @implementation BGFMDBUITests - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. // In UI tests it is usually best to stop immediately when a failure occurs. self.continueAfterFailure = NO; // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. [[[XCUIApplication alloc] init] launch]; // In UI tests its important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. } - (void)tearDown { // Put teardown code here. This method is called after the invocation of each test method in the class. [super tearDown]; } - (void)testExample { // Use recording to get started writing UI tests. // Use XCTAssert and related functions to verify your tests produce the correct results. } @end ```
Hottot-les-Bagues War Cemetery is a British Second World War cemetery of Commonwealth soldiers in France, located 15 km south-west of Bayeux, Normandy. The cemetery contains 1,005 commonwealth war graves and 132 German war graves. History The majority of the soldiers interred in the cemetery were killed in late June and July 1944 as the Allies pushed south of Bayeux and then south-west to encircle Caen. Many casualties were involved in fighting around Tilly-sur-Seulles. Two brigadiers are interred in the cemetery; John Roland Mackintosh-Walker of the Seaforth Highlanders and James Hargest from the Royal New Zealand Infantry Regiment. Casualties not just from the battles to encircle Caen, but from Operation Bluecoat. There are 24 Scots Guards (3rd Battalion) buried within, most lost their lives on hill 226 (now renumbered 232) near Les Loges on the push south from Caumont. These soldiers were in a tank battalion, part of the 6th Guards tank Brigade. Using Churchill & Stuart tanks. Location The cemetery is 14 km south-east of Bayeux, between Hottot-les-Bagues and Juvigny-sur-Seulles on the D.9 road. See also American Battle Monuments Commission UK National Inventory of War Memorials German War Graves Commission List of military cemeteries in Normandy References Further reading Shilleto, Carl, and Tolhurst, Mike (2008). A Traveler’s Guide to D-Day and the Battle of Normandy. Northampton, Mass.: Interlink. External links World War II memorials in France World War II cemeteries in France British military memorials and cemeteries Commonwealth War Graves Commission cemeteries in France Canadian military memorials and cemeteries 1944 establishments in France Cemeteries in Calvados (department)
(María) Saleta Castro Nogueira (born 3 November 1987, Pontevedra, Spain), is a Spanish, Galician, professional triathlete, National U23 Triathlon (Olympic Distance) and National Elite Long Distance Champion of the year 2010. In 2003, at the age of 15, she took part in her first ITU competition and placed fifth at the European Youth Team Championships in Győr (20 July 2003). In 2009 Saleta Castro was number 1 in the Spanish Elite ranking although she had taken part in only three of the ten circuit events. At the Galician U23 Championships she placed second and at the Elite Championships she placed third . In 2010 Saleta Castro was number 3 in the Spanish Elite ranking and won the gold medal at the Galician Elite Championships. In 2011, Saleta Castro will probably concentrate on Long Distance triathlons since her name is listed among the Spanish Long Distance elite triathletes (DAR = Deportistas Alto Rendimiento 2011). Saleta Castro represents the Galician club Cidade de Lugo Fluvial. She trains in CGTD with other Spanish triathletes like Aida Valiño, Oscar Vicente, Jesus Gomar. ITU Competitions The list is based upon the official ITU rankings and the Athlete's Profile Page. Unless indicated otherwise, all events are triathlons (Olympic Distance) and belong to the Elite Category. BG = the sponsor British Gas · DNF = did not finish · DNS = did not start External links Spanish Triathlon federation in Spanish Galician Triathlon Federation in Galician (Gallego) Castro's triathlon club Cidade Lugo Fluvial in Galician (Gallego) and in Spanish Notes Spanish female triathletes 1987 births Living people 21st-century Spanish women
Historic Mill Creek Discovery Park, formerly known as Historic Mill Creek State Park is a state park, nature preserve, and historic site in the United States state of Michigan. It is run by Mackinac State Historic Parks, the operating arm of the Mackinac Island State Park. 625 acres (2.5 km2) in size, the park is located 5 miles (8 km) southeast of Mackinaw City, Michigan on U.S. Highway 23. History The original sawmill at Mill Creek operated from about 1790 until 1839. It was originally built by Robert Campbell to supply lumber to the Straits of Mackinac, especially the frontier settlement of Mackinac Island. In 1793 it contracted with Fort Mackinac to make repairs on the soldiers' barracks. The Mill Creek sawmill enjoyed a dominant market share of the supply of cut timbers in the Straits of Mackinac during the fur trade era, and a millwright's house was built about 1820 near the sawmill to provide a place for the mill operator to live. In 1819, Michael Dousman purchased the mill site and continued to operate it. However, global demand for beaver fur declined in the 1830s, and following Dousman's death in 1839 the sawmill and millwright's house were abandoned. After the sawmill's abandonment in 1839, the original sawmill complex buildings rotted and disappeared. However, timbers cut by the original mill survived in buildings on Mackinac Island (Mission Church and Mission House, built in the 1820s and still there today). Saw marks on these timbers could be used to reconstruct the mill machinery so as to closely resemble the original. The marks gave restoration experts information on the rake of the saw's teeth and the saw's operating speed. The wood is fed into the blade at 1/3 of an inch per stroke, and the infeed motion is powered by the pitman arm that powers the saw's vertical movement. Archaeological investigations were conducted at the site of the sawmill in the 1970s. The dig site was variously called the "Filbert Site," the "Mill Creek Site," or the "Campbell Farm Site," and was designated 20cn8. Mill Creek today Mill Creek drains the Dingman Marsh, a perched wetland within Mackinaw State Forest in northwest Cheboygan County. The Discovery Park includes approximately 1 mile (1.6 km) of the eponymous creek's watercourse as it flows downhill toward Lake Huron, but not the wetland. The creek dam and sawmill (c. 1790) were rebuilt in 1984; the sawmill was restored in part for the 2007 season. The British Workshop (c. 1820) was rebuilt around 1994 on the site of the original. The millwright's house (c. 1820) was rebuilt in 2005. As of 2008, the park had of nature trails, with a small portion handicapped-accessible. In summers, costumed interpreters use antique woodworking tools to make shingles, and demonstrate a variety of other tasks common in the 1820s, and demonstrate the operation of the sawpit and sawmill. A naturalist conducts talks on the animal and plant species of the nearby forested areas. The North Central State Trail serves Historic Mill Creek State Park. References External links Historic Mill Creek Discovery Park Historic Mill Creek Discovery Park - Mackinac Island State Park Commission Historic Mill Creek Discovery Park - Michigan Department of Natural Resources Industrial buildings and structures on the National Register of Historic Places in Michigan Industry museums in Michigan Living museums in Michigan Michigan State Historic Sites Mill museums in the United States Museums in Cheboygan County, Michigan National Register of Historic Places in Cheboygan County, Michigan Protected areas of Cheboygan County, Michigan State parks of Michigan
Barsac station (French: Gare de Barsac) is a railway station in Barsac, Nouvelle-Aquitaine, France. The station is located on the Bordeaux–Sète railway line. The station is served by TER (local) services operated by SNCF. Train services The following services currently call at Barsac: local service (TER Nouvelle-Aquitaine) Bordeaux - Langon References Railway stations in Gironde
William Harper Pease (1824–1871) was a 19th-century American conchologist, shell collector and malacologist. He described many species of Indo-Pacific marine mollusks from the Cuming collection. He moved in 1849 to Honolulu, from where he continued his research One of the genera he described and named was the sea slug genus: Philinopsis Pease, 1860 Several species were named in his honor : Favartia peasei (Tryon, 1880), Conus peasei J. Brazier, 1877, Amygdalum peasei W. Newcomb, 1870 and Hypselodoris peasei (Bergh, 1880) For many years, no image of Pease was known, until a 2021 paper revealed that two (one shown above) had been discovered in the Bishop Museum Archives, Honolulu. Bibliography Pease, W. H. (1860). Descriptions of new species of Mollusca from the Sandwich Islands. Proceedings of the Zoological Society of London, pt. 28, pp. 18–36. Pease, W. H. (1861). Descriptions of new species of Mollusca from the Pacific Islands. Proceedings of the Zoological Society of London. 1861 pp. 242–247. Pease, W. H. (1863). [Letter. On errors and omissions in former communications.]. Proceedings of the Zoological Society of London. 1863 p. 510. Pease, W. H. (1866). Remarks on nudibranchiata inhabiting the Pacific islands, with descriptions of two new genera. American Journal of Conchology 2(2): 204-208. Pease, W. H. (1871). Descriptions of new species of Nudibranchiate Mollusca inhabiting Polynesia. No.2. American Journal of Conchology. 7 (1): 11-19 Further reading H. Crosse & P. Fischer, 1873. Nécrologie. Journal de Conchyliologie 21(1): 99. Anonymous, 1960. Pease’s catalogue of books on Hawaii. Hawaiian Shell News 8(7): 4-5. K. W. Greene, 1960. William Harper Pease – 100 years later. Hawaiian Shell News 8(6): 1, 4-5; 8(7): 4-5; 8(8): 1, 3-4, 8; 8(9): 5, 8; 8(10): 5, 8; 8(12): 5-6. K. W. Greene, 1961. Additional data for your Pease file. Hawaiian Shell News 10(2): 2. E. A. Kay, 1965. Marine mollusks in the Cuming collection, British Museum (Natural History) described by William Harper Pease. Bulletin of the British Museum (Natural History), Zoology, Supplement 1: 96 pp., 14 pls. E. A. Kay, 1975. A biobibliography of William Harper Pease, malacologist of Polynesia. Part I. A biography of William Harper Pease. Nemouria 16: 1-21. W. E. Clench, 1975. Catalogue of the species and bibliography of William Harper Pease. Nemouria 16: 21-50. R. I. Johnson, 1994. Types of shelled Indo-Pacific mollusks described by W. H. Pease. Harvard University, Bulletin of the Museum of Comparative Zoology 154(1): 61 pp., incl. 10 pls R. I. Johnson, 2002. On the cunning character of a couple of conchologist collectors, Wesley Newcomb and William Harper Pease. Occasional Papers on Mollusks 6(81): 164-173. References 2,400 years of Malacology 1824 births 1871 deaths American malacologists
Simandres () is a commune in the Rhône department in eastern France. See also Communes of the Rhône department References Communes of Rhône (department)
Saint Joseph Township is a township in Champaign County, Illinois, USA. As of the 2020 census, its population was 5,597 and it contained 2,244 housing units. Geography St. Joseph is Township 19 North, Range 10 East of the Third Principal Meridian. According to the 2010 census, the township has a total area of , of which (or 99.59%) is land and (or 0.41%) is water. The western section of the Kickapoo Rail Trail follows the former Big Four—Conrail System railroad right–of–way along U.S. Route 150 from the City of Urbana to the Village of St. Joseph. Going east from Urbana landmarks along the trail include Urbana Walmart, John Deere implement dealer, Cottonwood Road (CR 1700E), CR 1800E, Mt. Olive Cemetery, Mayview, Sellers Road (CR 1900E), Full′s Siding elevator, CR 1975E, CR 2075E, Corteva (Pioneer Supply) seed company, Salt Fork Paintball, the baseball field, Salt Fork River bridge, St. Joseph water tower, Wheelhouse restaurant and Main Street Mall, St. Joseph business district and elevator. Cities and towns St. Joseph Cemeteries Mt. Olive Cemetery (Section 7) is west of Mayview on the north side of U.S. Route 150. Historic cemeteries (some of these may no longer be visible): Bartley Cemetery (Section 26), Cora Brooks farm (Section 3), Deadman′s Grove (Section 7), Huss Cemetery (Section 33), Indian burial ground (Section 27), Patterson Cemetery (Section 24), Peters or Thompson Cemetery (Section 25), Stayton Cemetery (Section 28) Grain Elevators Full's Siding elevator (Section 17) was built on the Big Four—Conrail System railroad. The concrete silos and steel bins are on the south side of U.S. Route 150 east of Mayview. Mayview elevators (Section 18), built on the Big Four—Conrail System railroad, are no longer standing. J.B. Walton and Son and E.C. Saddoris were operators in 1913. St. Joseph elevator (Section 14), built on the Big Four—Conrail System railroad, is in the Village of St. Joseph. Operated by the Rising Farmer's Grain Company in 1918. Tipton elevator (Section 26) was built on the Chicago and Eastern Illinois—Union Pacific railroad. Operated by Dryer and Burt Grain and Coal in 1913; Ogden and Burt in 1929. Major highways Interstate 74 U.S. Route 150 Demographics As of the 2020 census there were 5,597 people, 1,999 households, and 1,441 families residing in the township. The population density was . There were 2,244 housing units at an average density of . The racial makeup of the township was 93.55% White, 0.45% African American, 0.21% Native American, 0.71% Asian, 0.00% Pacific Islander, 0.82% from other races, and 4.25% from two or more races. Hispanic or Latino of any race were 2.34% of the population. There were 1,999 households, out of which 43.90% had children under the age of 18 living with them, 53.13% were married couples living together, 17.36% had a female householder with no spouse present, and 27.91% were non-families. 21.80% of all households were made up of individuals, and 13.20% had someone living alone who was 65 years of age or older. The average household size was 2.89 and the average family size was 3.44. The township's age distribution consisted of 31.5% under the age of 18, 4.1% from 18 to 24, 26.8% from 25 to 44, 25.5% from 45 to 64, and 12.2% who were 65 years of age or older. The median age was 37.2 years. For every 100 females, there were 94.2 males. For every 100 females age 18 and over, there were 91.3 males. The median income for a household in the township was $93,233, and the median income for a family was $105,592. Males had a median income of $53,427 versus $49,179 for females. The per capita income for the township was $35,727. About 1.9% of families and 5.7% of the population were below the poverty line, including 2.5% of those under age 18 and 13.5% of those age 65 or over. References United States Census Bureau cartographic boundary files External links US-Counties.com City-Data.com Illinois State Archives Townships in Champaign County, Illinois Townships in Illinois
The City and County of Denver has a formal historic designation program that establishes Denver landmarks. These are designated by ordinances of Denver's city council. The first three sites so designated, on January 10, 1968, are the Emmanuel/Sherith Chapel, Constitution Hall (site) (destroyed by fire in 1977), and the Governor's Mansion. The list includes a sublist of historic districts. Boundaries of historic districts appear in Landmark_Map_Sep2019 Check: Significant landmarks Denver has many visitor attractions and landmarks, including: Official ones: Brown Palace Hotel, proclaimed by Elvis as "The best hotel in the world", a historic hotel that has hosted many celebrities, dignitaries, and other important people. Denver Mint, the single largest producer of coins in the world. Denver Firefighters Museum Four Mile House, an important stop on the Cherokee Trail and the oldest standing residential building in the metropolitan area. Molly Brown House, where "The unsinkable Molly Brown" once lived. Samsonite house, the historic home of the Shwayder family (1900–1921) who founded the Samsonite Luggage Corporation Union Station (shown), a magnificent three-story building and the future hub of RTD's commuter rail network Unofficial and official and other ones: 16th Street Mall is a mile long pedestrian-only street that runs from Denver Union Station in LoDo to Broadway at the other end of downtown. Avenue Theater, a professional theater located in the Downtown Denver vicinity. Black American West Museum, which reflects the history of African Americans in the West and Denver. Buckhorn Exchange, Denver's oldest restaurant, a historic old-west steakhouse Cathedral Basilica of the Immaculate Conception, Denver (shown), where Pope John Paul II celebrated mass twice in August, 1993. Civic Center, a neoclassical park, and the cultural, art and governmental center of Denver. Colorado Convention Center, the newly renovated large convention center often hosts major events held in Denver. Colorado State Capitol, the seat of the state government of Colorado. Confluence Park, where the city started at the confluence of the South Platte and Cherry Creek. D&F Tower, when it was built in 1910, it was the tallest building west of the Mississippi. Denver's Downtown Aquarium, a full-sized public aquarium. Denver Art Museum, the largest art museum between Kansas City and San Francisco. Denver Botanic Gardens (shown), which made a Hollywood debut in Woody Allen's Sleeper Denver Museum of Nature and Science, one of America's premier museums exhibiting world culture. Denver Performing Arts Complex, the second largest performing arts center in the US after New York City's Lincoln Center. Denver Public Library, which serves Denver's educational and entertainment needs from 24 locations and two bookmobiles. Denver Zoo, one of the largest zoos of its kind, it features a gift shop and a wide array of exotic animals. Dikeou Collection, a private collection of contemporary art that is open to the public. Elitch Gardens Theme Park, an amusement park. Elitch Theatre, an amazing historic theatre at the site of the original Elitch Gardens. Ellie Caulkins Opera House History Colorado Center, the modern state history museum is Denver's newest cultural attraction located in the Golden Triangle Museum District, and features interactive exhibits, artifacts, the Stephen H. Hart Research Library, a cafe and gift shop. Lloyd M. Joshel House, one of the finest examples of International Style architecture in Denver. Kirkland Museum of Fine & Decorative Art, a museum featuring works of Vance Kirkland and others. Red Rocks, a Denver-owned park and outdoor amphitheater located 15 miles west of city limits known for its natural red rock formations, acoustics and legendary concerts. Richthofen Castle, a castle built by the uncle and godfather of the Red Baron. Sakura Square or "Tiny Tokyo", the center of the historical and prominent Japanese community of Denver, first formed around 1944. Tattered Cover, a very popular independent bookstore with two locations in Denver (LoDo and Colfax Avenue), and one in the suburb of Highlands Ranch. It has hosted lectures by such great poets and minds as Denverites Allen Ginsberg and Neal Cassady.. Wells Fargo Center, also known as the "cash register" building, one of the city's most identifiable buildings. Historic districts The designated historic districts are: 200 Block South Lincoln Street Historic District D‐53 2016 1889‐1895 Alamo Placita Historic District | D-3620001889‐1942 Allen M. Ghost Historic District | D-512010Priorto&Including1941 Baker Neighborhood Historic District | D-3720001873‐1937 Ballpark Neighborhood Historic District | D-4220021880‐1948 City Park Pavilion Historic District | D-171990 Civic Center Historic District | D-619761909‐1979(DG) This is also a NRHP HD Clayton College Historic District | D-341999 Clements Historic District | D-41975Priorto&Including1930 Country Club Historic District | D-1819901902‐1945(DG) This is also a NRHP HD. Country Club Gardens Historic District | D-392001 Curtis Park 'A' Historic District | D-261995Priorto&Including1910 Curtis Park 'B' Historic District | D-251995Priorto&Including1925 Curtis Park 'C' Historic District | D-301997Priorto&Including1915 Curtis Park 'D' Historic District | D-321997 Curtis Park 'E' Historic District | D-4820071890‐1910 Curtis Park 'F' Historic District | D-4920081870‐1902 Curtis Park 'G' Historic District | D-502010Priorto&Including1915 Curtis Park 'H' Historic District | D-522011Priorto&Including1915 Denver City Beautiful Movement Parkways Historic District | D-291997 Downtown Denver Historic District | D-382000 Driving Park Historic District | D-4320031880‐1942 East Park Place Historic District | D-231993Priorto&Including1920 East Seventh Avenue Historic District | D-211993Priorto&Including1943 Five Points Historic Cultural District Historic District | D-402002Priorto&Including1964 Florence F. Martin Ranch Historic District | D-241994 Frank S. Snell Subdivision Historic District | D-121986Priorto&Including1918 Grant Street Historic District | D-4520041900‐1920 Humboldt Street Historic District | D-21972Priorto&Including1925 Humboldt Street‐Park Avenue Historic District | D-4420041880‐1908and1945‐1946 Lafayette Street Historic District | D-141987Priorto&Including1918 Larimer Square Historic District | D-11970Priorto&Including1915 Lower Downtown Historic District | D-1519881860‐1941(DG) Lowry Officers' Row Historic District | D-281995 Lowry Technical Training Center Historic District | D-271995 Montclair Historic District | D-51975Priorto&Including1940 Morgan's Subdivision Historic District | D-81978 Ninth Street Park Historic District | D-31973Priorto&Including1930 Old Highland Business Historic District | D-111979Priorto&Including1895 Packard's Hill Historic District | D-5420171886‐1940 Park Avenue Historic District | D-4120021893‐1930 Pennsylvania Street Historic District | D-311997Priorto&Including1955 Potter Highlands Historic District | D-131987Priorto&Including1943 Quality Hill Historic District | D-191992Priorto&Including1932 River Drive Historic District | D-5620191886‐1923 S.R. DeBoer Historic District | D-4720071876‐1974 Sherman‐Grant Historic District | D-331997Priorto&Including1959 Smith's Ditch (City Ditch) Historic District | D-71977Priorto&Including1870 Speer Boulevard Historic District | D-161988 Swallow Hill Historic District | D-351999Priorto&Including1917 Tilden School for Teaching Health Historic District | D-5720191915‐1931 Vassar School Bungalows Historic District | D-5520181925‐1926 W. 28th Avenue Historic District | D-101979Priorto&Including1900 Witter‐Cofield Historic District | D-201993Priorto&Including1943 Wolff Place Historic District | D-4620061883‐1926 Wyman Historic District | D-221993Priorto&Including1955 Individual landmarks The publication Individual Landmarks in the City and County of Denver lists these individual landmarks: Fields are: LM# landmark name (ordinance) / common name (if different from ordinance) / address in ordinance / current address (if different from ordinance) / ordinance number / year of designation / estimated year of construction / historic district name (if applicable) 1 Emmanuel-Shearith Israel Chapel / Emmanuel Episcopal Chapel, 1201 10th Street 955 Lawrence Way 1 1968 1876–1877 2 Constitution Hall (building demolished, site still designated) 1501–1507 Blake Street 2 1968 1865 (demolished about 1980) Lower Downtown 3 Cheesman–Boettcher (Governor's) Mansion Governor's Mansion 400 E. 8th Avenue 3 1968 1908 East 7th Avenue 4 St. John's Episcopal Cathedral 1313 Clarkson Street 123 1968 1911 5 Cathedral of the Immaculate Conception 301 E. Colfax Avenue 401 E. Colfax Avenue 124 1968 1902–1912 6 Evans House Byers–Evans House 1310 Bannock Street 125 1968 c. 1880 Civic Center 7 Trinity Methodist Church, 1820 Broadway, 126 1968 1888 downtown Denver 8 First Baptist Church, 230 E. 14th Avenue, 321 1968 1934–1938 Civic Center. 1938 built; 2005 NRHP-listed. 9 First Church of Christ, Scientist, 1401 Logan Street 322 1968 1901–1906 10 Daniels and Fisher Tower 1101 16th Street 1601 Arapahoe Street 420 1968 1909–1911 Downtown Denver 11 Denver Women's Press Club, 1325 Logan Street 421 1968 1910 12 Four Mile House, 715 S. Forest Street 422 1968 1859 13 Zion Baptist Church of Denver 933 E. 24th Avenue 104 1969 1892–1893 14 St. Elizabeth's Church, 1060 11th Street, 105 1969 1896–1902. NRHP-listed. 15 South Broadway Christian Church, 23 Lincoln Street 23–25 Lincoln Street 106 1969 1891 16 Evans Memorial Chapel, University of Denver campus 107 1969 1878 17 St. Mark's Church, 1160 Lincoln Street, 50 1970 1890 18 Scott Methodist Episcopal Church / Christ Methodist Episcopal Church, 2201 Ogden Street 999 E 22nd Avenue 51 1970 1889 19 St. Cajetan's Church, 1146 9th Street 150 1970 1926 20 House of Lions / Molly Brown House, 1340 Pennsylvania Street 113 1971 1889 Pennsylvania Street 21 Navarre Building / Bricker Collegiate Institute, 1727 Tremont Street 1725 Tremont Place 470 1971 1880 Downtown Denver 22 Smith House / Eben Smith House, 1801 York Street, 471 1971 1902–1905. 1985 NRHP-listed. 23 Pope-Thompson-Wasson House, 1320 Race Street 166 1972 c. 1894 Wyman 24 Denver Tramway Power Plant / REI, 1416 Platte Street 212 1972 1901 25 Pearce-McAllister Cottage, 1880 Gaylord Street 328 1972 1899 26 Tivoli Brewery and West Denver Turnhalle Opera House, 1320–1348 10th Street 900 Auraria Parkway 329 1972 oldest part of brewery 1881, majority 1890 and later. Turnhalle 1882 27 Buckhorn Exchange, 1000 Osage Street 330 1972 1886 28 Denver U.S. Mint, 320 W. Colfax Avenue 331 1972 1904–1906, additions Civic Center 29 Tears–McFarlane House, 1200 Williams Street 1290 Williams Street 635 1972 1898 30 Odd Fellows Hall 1545 Champa Street 645 1972 1887–1889 Downtown Denver 31 Tramway Cable Building, 1801 Lawrence Street 646 1972 1889 32 Richthofen Castle, 7020 E. 12th Avenue 249 1973 1883–1887 Montclair 33 Croke-Patterson-Campbell House, Patterson Inn 420–428 E. 11th Avenue 457 1973 c. 1890–1892 Pennsylvania Street 34 Foster–McCauley–Symes–French Consulate 738 Pearl Street 736 Pearl Street 458 1973 1905 East 7th Avenue 35 Sacred Heart Church, 2760 Larimer Street, 2740–2760 Larimer Street, 529 1973 1879–1880 36 Thomas Hornsby Ferril House 2123 Downing Street 530 1973 1889 37 Asbury Methodist Church, 2205 W. 30th Avenue, 653 1973 c. 1891 38 Hermann H. Heiser House, 3016 Osceola Street 653 1973 c. 1892 Wolff Place 39 Queree House, 2914 W. 29th Avenue 653 1973 1888 40 Hugh Mackay House 3359 Alcott Street 653 1973 1893 Potter Highlands 41 Cox House, 3417 Lowell Boulevard, 653 1973 c. 1908 42 Cox Gargoyle House, 3425 Lowell Boulevard 653 1973 c. 1892 43 2501 High Street / High House, Raughton House, 2501 High Street 653 1973 c. 1903–1905 44 John Brisben Walker House, 3520 Newton Street 653 1973 c. 1884–1885 45 Cheesman Memorial / Cheesman Park, 1000 High Street 654 1973 c. 1907 46 Botanic Gardens House, 909 York Street 654 1973 c. 1926 Morgan's Subdivision 47 Boettcher Memorial Center, 1005 York Street 1019 York Street 654 1973 1966 48 Eugene Field House, Washington Park, 701 S. Franklin Street 654 1973 c. 1875. Also is NRHP-listed. 49 Red Rocks Theater, Red Rocks Park 18300 W. Alameda Street 654 1973 1936–1941, addition 1959 50 Montclair Community Center The Molkery Montclair Park 6820 E. 12th Avenue 654 1973 1888 Montclair 51 James A. Fleming House, Platt Park, 1501 S. Logan Street 654 1973 1882–1883 52 Dennis Sheedy House, 1115 Grant Street 31 1974 1892 Sherman–Grant 53 Fire Station No. 1, 1326 Tremont Place, 58 1974 1909. 1979 NRHP-listed. 54 Hallett House, 900 Logan Street, 81 1974 1888–1892 Quality Hill 55 940 Logan Street / Campbell House, 940 Logan Street, 81 1974 c. 1890 Quality Hill 56 950 Logan Street McKinley Mansion, 950 Logan Street 948–952 Logan Street 81 1974 c. 1890 Quality Hill 57 Lipe House Clemes–Lipe House, Winter–Lipe House, 901 Pennsylvania Street 901 Pennsylvania Street, 475 E. 9th Avenue 81 1974 c. 1895–1901 Quality Hill 58 Taylor House, 945 Pennsylvania Street 945–949 Pennsylvania Street 81 1974 1900 Quality Hill 59 Hitchings Block, 1620 Market Street 349 1974 1892–1893 Lower Downtown 60 Liebhart–Lindner Building, Liebhardt–Lindner Building 1624 Market Street 1626–1628 Market Street 349 1974 1881 Lower Downtown 61 McCrary Building, 1634–1638 Market Street 349 1974 c. 1884–1889 Lower Downtown 62 1642 Market Street 1642 Market Street 349 1974 1885 Lower Downtown 63 1644–1650 Market Street 1644–1650 Market Street 349 1974 1884–1888 Lower Downtown 64 1322–1332 17th Street Columbia Hotel 1322–1332 17th Street 1650–1660 Market Street, 1330–1380 17th Street 349 1974 1880 Lower Downtown 65 US Post Office and Federal Building / Byron White Federal Courthouse, 1823 Stout Street, 506 1974 1916 66 St. Elizabeth's Retreat Chapel, 2825 W. 32nd Avenue 2825–2845 W. 32nd Avenue 625 1974 c. 1897 Potter Highlands 67 St. Andrew's Memorial Church 2015 Glenarm Place 625 1974 c. 1908–1909 Clements 68 Voorhees House, 1471 Stuart Street 736 1974 1890 69 1435 Stuart Street Smith House, 1435 Stuart Street 736 1974 1890 70 Raymond House Castle Marne 1572 Race Street 736 1974 1890 Wyman 71 3205 W. 21st Avenue Half-Moon House, 3205 W. 21st Avenue 689 1974 c. 1888 Witter–Cofield 72 1389 Stuart Street Bliss House, 1389 Stuart Street 843 1974 c. 1892. NRHP-listed. 73 Bosworth House, 1400 Josephine Street 843 1974 c. 1889 74 Malo House, 500 E. 8th Avenue 72 1975 1921 East 7th Avenue 75 John Porter House, 777 Pearl Street 72 1975 1923 East 7th Avenue 76 Adams-Fitzell House, 1359 Race Street 72 1975 1891–1892 Wyman 77 Corona-Dora Moore School, Dora Moore School, 846 Corona Street 72 1975 1889 78 Coyle/Chase House, 532 W. 4th Avenue 183 1975 1891 79 1200 Pennsylvania Street Dunning–Benedict House 1200 Pennsylvania Street 244 1975 1889 Pennsylvania Street 80 1207 Pennsylvania Street / Keating House, / Capitol Hill Mansion Bed & Breakfast, 1207 Pennsylvania Street, 244 1975 c. 1891–1892 Pennsylvania Street. 1891 built; 1980 NRHP-listed. 81 Treat Hall, Centennial Hall, Colorado Women's College, 1800 Pontiac Street 373 1975 1890–1909 82 St. Luke's Episcopal Church, 1270 Poplar Street, 409 1975 1890 83 2143 Grove Street Frederick W. Neef House, 2143 Grove Street 409 1975 1886 Witter–Cofield 84 Creswell House, 1244 Grant Street 1244–1250 Grant Street 409 1975 1889 85 Daly House, 1034 Logan Street 410 1975 1894–1895 86 930 Logan Street McNeil House, 930 Logan Street 591 1975 1890 Quality Hill 87 Gate Lodge at Fairmount Cemetery, 400 S. Quebec Street 4 1976 1890 88 Ivy Chapel at Fairmount Cemetery, 400 S. Quebec Street 4 1976 1890 89 1444 Stuart Street Stuart Street House – A, Spangler House 1444 Stuart Street 59 1976 1888–1892 90 1208 Logan Street Baker–Plested House 1208 Logan Street 124 1976 1886 91 The Cornwall, 1317 Ogden Street, 921 E. 13th Street, 1301 Ogden Street 174 1976 1901 92 1410 High Street Sykes/Nicholson Mansion, House of a Thousand Candles, 1410 High Street 293 1976 1897 Wyman 93 1437 High Street / Watson House, 1437 High Street 293 1976 1894 Wyman 94 Kerr House, 1900 E. 7th Avenue Parkway 360 1976 1925 East 7th Avenue. 1924 built; 2002 NRHP-listed. 95 Grant-Humphreys Mansion, 770 Pennsylvania Street 476 1976 1902 East 7th Avenue 96 3611–3615 Osage Street Frank Damascio House, 3611–3615 Osage Street 25 1977 c. 1895 97 St. Thomas Episcopal Church, 2201 Dexter Street, 151 1977 1908 98 Phipps House Belcaro, 3400 Belcaro Drive 208 1977 1932 99 Adolph Zang Mansion, 709 Clarkson Street 253 1977 1902–1904 East 7th Avenue 100 Chapel of Our Merciful Savior (All Saints' Church) 2222 W. 32nd Avenue 452 1977 1890 101 Mount Carmel Church, 3549 Navajo Street 452 1977 1898–1904 102 St. Patrick Mission Church and Rectory, 3325 Pecos Street 452 1977 1907–1910 103 Equitable Building, 730 17th Street, 453 1977 c. 1892–1893 Downtown Denver. 9-story commercial building, Denver's tallest building from 1892–1911. 104 1375 Josephine Street / Gates House, 1375 Josephine Street 492 1977 1892. NRHP-listed. 105 Colorado Federal Building / Ideal Building, 821 17th Street 550 1977 1907, addition 1927 Downtown Denver 106 1129 E. 17th Avenue / Rosenzweig House, 1129 E. 17th Avenue 550 1977 c. 1882 107 Walters-Brierly House, 2259 Gilpin Street 132 1978 1888 108 1030 Logan Street / Stearns House, 1030 Logan Street 386 1978 1896 109 Wells Fargo Building, 1338 15th Street 529 1978 1874 Lower Downtown 110 Frank E. Edbrooke House, 931 E. 17th Avenue 729 1978 c. 1889 Swallow Hill 111 1390 Stuart Street Kenehan House, 1390 Stuart Street 729 1978 c. 1892 112 2841 Perry Street / Woodbury House, 2841 Perry Street 769 1978 c. 1895 113 2851 Perry Street Lobach House, 2851 Perry Street 769 1978 c. 1893 114 Thomas M. Field House (building demolished due to fire, site still designated) E. Iliff Avenue and S. Clarkson Street 79 1979 1893 115 John C. Mitchell House "Trail's End" 680 Clarkson Street 670–680 Clarkson Street 123 1979 1893 East 7th Avenue 116 1532 Emerson Street / Adolph J. Zang House, Gargoyle House, 1532 Emerson Street 261 1979 1889. NRHP-listed. 117 Guerrieri-DeCunto House, 1650 Pennsylvania Street 388 1979 1896 118 William E. Moses House, 4001 W. 30th Avenue 631 1979 1895 Wolff Place 119 Gebhard-Smith House, 2253 Downing Street 632 1979 1884 120 Henry Lee House 2653 W. 32nd Avenue 260 1980 c. 1894–1895 Potter Highlands 121 Kistler-Rodriguez House, 700 E. 9th Avenue 296 1980 1920 122 Henri Foster House, 2533 W. 32nd Avenue 419 1980 1874 Potter Highlands 123 Clements Rowhouse, 2201–2217 Glenarm Place 617 1980 1883 Clements 124 Mattie Silks House, 2009 Market Street 5 1981 prior to 1876 125 Baerresen/Freeman House, 1718 Gaylord Street 121 1981 1903–1904 126 Butters House, 1129 Pennsylvania Street 372 1981 1890–1891 Pennsylvania Street 127 Fleming House, 1133 Pennsylvania Street 371 1981 1893 Pennsylvania Street. listed on the National Register of Historic Places in Downtown Denver, Colorado as "Fleming–Hanington House". 128 Flower/Vaile House, 1610 Emerson Street 536 1981 1889–1890 Swallow Hill 129 Wheeler Block, 2134–2150 W. 29th Avenue 2150 W. 29th Avenue 597 1981 1890–1894 130 Cerrones Grocery Store, 3617 Osage Street 3617–3621 Osage Street 698 1981 1893 131 Lowry Chapel No. 1 / Eisenhower Chapel Lowry Air Force Base, 293 Roslyn Street 26 1982 1941 132 Sheridan/Hendrie & Bolthoff Building 1635 17th Street 28 1982 c. 1892 Lower Downtown 133 Wolcott School, 1410–1414 Marion Street 27 1982 1898, addition 1906 134 Delos Allen Chappell House 1555 Race Street 116 1982 1895 Wyman 135 Peter McCourt House, 1471 High Street 185 1982 1896 Wyman 136 Masonic Temple Building, 1614 Welton Street 1614 Welton Street, 535 16th Street 195 1982 1889–1890 Downtown Denver 137 Denver Athletic Club Building, 1325 Glenarm Place 587 1982 1889, Additions 1892, 1925, 1965, 1973, 1984, 1996 138 Barney Ford Building, 1514 Blake Street 635 1982 1863, Additions 1875, 1889 Lower Downtown 139 Curry-Chucovich House 1439 Court Place 654 1982 1888 140 Kettle Building, 1422 Larimer Street 47 1983 1873 Larimer Square 141 Congdon Building / Apollo Hall, 1421–1425 Larimer Street 1419–1427 Larimer Street 48 1983 1870s Larimer Square 142 Barnum Building, 1412 Larimer Street 1408 Larimer Street 49 1983 1889 Larimer Square 143 Sussex Building, 1430 Larimer Street 1426–1430 Larimer Street 50 1983 1880 Larimer Square 144 Granite Building (1882), 1460 Larimer Street, 1224–1230 15th Street 1454–1460 Larimer Street, 1226–1228 15th Street 51 1983 1882 Larimer Square. 145 Crawford Building, 1437–1439 Larimer Street 1439 Larimer Street 52 1983 1875 Larimer Square 146 Gallup-Stanbury Building, 1445–1451 Larimer Street 1445 Larimer Street 53 1983 1873 Larimer Square 147 Lincoln Hall Building, 1415 Larimer Street 1413–1417 Larimer Street 54 1983 early 1880s Larimer Square 148 McKibben Building, 1411 Larimer Street 1411 Larimer Street 55 1983 c. 1890 Larimer Square 149 Miller Building, 1401–1407 Larimer Street 56 1983 1889 Larimer Square 150 1738 Wynkoop Street Edward W. Wynkoop Building, Spice and Commission Warehouse 1738 Wynkoop Street 437 1983 1900–1901 Lower Downtown 151 Insurance Exchange Building / Denver Gas & Electric Building, 910 15th Street 548 1983 1908–1910 Downtown Denver 152 Oxford Hotel and Office Annex, 1600 17th Street, 1645 Wazee Street, 1624–1628 17th Street 1600 17th Street, 1612–1616 17th Street, 1659 Wazee Street 571 1983 1891, 1902 addition, 1912 annex Lower Downtown 153 3209 W. Fairview Place Bosler House, Bosler–Yankee House 3209 W. Fairview Place 26 1984 c. 1875 154 Mayan Theatre, 110 Broadway 83 1984 1930 155 Sarah Platt Decker Branch Library 1501 S. Logan Street 501 1984 1912–1913 156 Emerson School Building, 1420 Ogden Street 500 1984 1884–1885 157 2900 Champa Street Anfenger Mansion 2900 Champa Street 597 1984 1884 Curtis Park 'G' 158 number not used 159 Wood–Morris–Bonfils House Louis 707 Washington Street 318 1985 1911, addition 1987 East 7th Avenue 160 Hotel Hope Building 1404 Larimer Street 1400–1404 Larimer Street 406 1985 c. 1888, addition 1993 Larimer Square 161 Barth Hotel, 1514 17th Street 1510–1516 17th Street 502 1985 1882 Lower Downtown 162 Windsor Stables Storefront Building, 1732–1770 Blake Street 1738–1770 Blake Street 554 1985 1881–1886 Lower Downtown 163 Fire Station No. 15, 1080 Clayton Street 759 1985 1903 164 Hose Company No. 1, 1963 Chestnut Place 1999 Chestnut Place 83 1986 c. 1883 165 Sweet-Miller House, 1075 Humboldt Street 84 1986 1906 Humboldt Street 166 First and Broadway Building, 101–115 Broadway, 15–27 W. 1st Avenue 289 1986 1907 167 Denver Press Club, 1330 Glenarm Place 649 1986 1925 168 Temple Emanuel, 1595 Pearl Street 161 1987 1899, addition 1924 169 Brind Mansion, 1000 Logan Street 257 1987 1910 170 Hanigan–Canino Terrace, 3500 Navajo Street 3500 Navajo Street, 1423–1437 W. 35th Avenue 264 1987 1890 171 Neusteter Building, 720 16th Street 716–750 16th Street 701 1987 c. 1889, renovation 1924, addition 1950 Downtown Denver 172 Wyatt School Hyde Park School, 3620 Franklin Street 56 1988 1887 173 Milheim House (relocated from 1355 Penn) 1355 Pennsylvania Street (original location) 1515 Race Street (moved to this site in 1989) 532 1988 1893 Wyman 174 Central Bank (West) Building (demolished and de-designated) 1100–1108 15th Street Designation Ord 533. Dedesignati on Ord 211 Designation 1988. Dedesignation 2008 175 Paramount Theatre, 1621 Glenarm Place 1621–1641 Glenarm Place 616 1988 1930 Downtown Denver 176 Lawrence N. Greenleaf Masonic Temple / Old Town of Harman Town Hall, 400 Saint Paul Street 37 1989 1891 177 Scottish Rite Masonic Temple, 1370 Grant Street 1364–1370 Grant Street, 340 E. 14th Avenue 162 1989 1923–1925 178 Brown Palace Hotel, 321 17th Street 321–401 17th Street 284 1989 1888–1892 Downtown Denver 179 Boston Building, 828 17th Street 822–830 17th Street, 1660–1690 Champa Street 368 1989 1890 Downtown Denver 180 Park Hill Library, 4705 Montview Boulevard 524 1989 1920 181 Byers Library, 675 Santa Fe Drive 525 1989 1918 182 Smiley Library, 4501 W. 46th Avenue 561 1989 1918 183 Woodbury Library, 3265 Federal Boulevard 562 1989 1913 184 Town Club/Crawford Hill House, 969 Sherman Street 150 E. 10th Avenue 676 1989 1906 Sherman–Grant 185 Guaranty Bank Building, 815 17th Street 801–817 17th Street, 1715–1717 Stout Street 231 1990 1920–1921 Downtown Denver 186 Ferguson–Gano House, 722 E. 7th Avenue 260 1990 c. 1898 East 7th Avenue 187 Annunciation Church, 3601 Humboldt Street 343 1990 1904–1907. 1990 NRHP-listed. 188 Porter House, 975 Grant Street 375 1990 c. 1912 Sherman–Grant 189 Greeters of America National Home, 1740 and 1760 Ulster Street 1740–1762 Ulster Street 404 1990 c. 1899 190 Moffat Station 2101 15th Street 405 1990 1906 191 Field Officer's Quarters, Fort Logan 3742 W. Princeton Circle 702 1990 1889 192 East High School, 1545 Detroit Street, 1600 City Park Esplanade 94 1991 1925 193 Cass House, 733 East 8th Avenue 359 1991 1899 194 Robinson House, 1225 Pennsylvania Street 670 1991 1906 Pennsylvania Street. NRHP-listed. 195 Stevens Elementary School, 1140 Columbine Street 756 1991 1900–1901 196 Denver Municipal Auditorium, 920 14th Street 908 14th Street, 1325 Champa Street 784 1991 1907–1908 Downtown Denver 197 South High School, 1700 E. Louisiana Avenue 785 1991 1925–1926 198 20th Street Recreation Center, 1011 20th Street 160 1992 1908 199 Brown/Garrey/Congdon House, 1300 E. 7th Avenue 322 1992 c. 1923 East 7th Avenue 200 Smedley Elementary School 4250 Shoshone Street 340 1992 1902, addition 1911 201 Jane Silverstein Ries House (home of Jane Silverstein Ries?) 737 Franklin Street 460 1992 1935 East 7th Avenue 202 West High School, 951 Elati Street 724 1992 1924–1926 203 Ashley Elementary School, 1914 Syracuse Street 896 1992 1930, addition 1951 204 Ebert Elementary School, 410 Park Avenue West 14 1993 1924 205 Huddart/Lydon House 2418 Stout Street 15 1993 1891 Curtis Park 'A' 206 La Paz, 10 Pool Hall / Douglas Undertaking Building, 2745 Welton Street 237 1993 prior to 1892, façade 1915 Five Points 207 Cody House, 2932 Lafayette Street 445 1993 1892 208 McBird House, 2225 Downing Street 446 1993 c. 1880 209 Whitehead/Peabody House, 1128 Grant Street 534 1993 1889 210 Burlington Hotel, 2201 Larimer Street, 1319 22nd Street 2201–2217 Larimer Street, 1307–1319 22nd Street 705 1993 1890–1891 Ballpark Neighborhood NRHP-listed. 211 Grant Middle School, 1751 S. Washington Street 775 1993 1951–1953 212 Skinner Middle School, 3435 W. 40th Avenue 835 1993 1922 213 Romeo Block, 2944–2958 Zuni Street 2944 Zuni Street, 2324 W. 30th Avenue 836 1993 1889 214 Denver Dry Goods Building, 700 16th Street 700–714 16th Street, 1545–1585 California Street, 703–749 15th Street 57 1994 1888–1889, additions 1898, 1907, 1994 Downtown Denver 215 Bluebird Theater 3315–3317 E. Colfax Avenue 250 1994 1914 216 Denver Tramway Company Building, 1100 14th Street 329 1994 c. 1910 Downtown Denver 217 Cato Residence (House with the Round Window) 3240 W. Hayward Place 330 1994 1890 218 Morey Middle School, 840 E. 14th Avenue 464 1994 1921 219 Denver Public Schools Administrative Building, Annex II, 414 14th Street 438 1994 1923 220 Chamberlin Observatory 2930 E. Warren Avenue 598 1994 1888–1890 221 Graham-Bible House, 2080 York Street 2030 York Street 676 1994 1892–1893 222 Washington Park Bath House / Washington Park, 600 S. Marion Street 677 1994 1911–1912 223 Nursery Building, 888 E. Iliff Avenue 678 1994 1923 224 Golda Meir House, 1146 9th Street 737 1994 1911 225 American National Bank Building 818 17th Street 754 1994 1910 Downtown Denver 226 Park Hill Elementary School, 5050 E. 19th Avenue 836 1994 1901, additions 1912, 1928, 1968–1969 227 Ogden Theater 935 E. Colfax Avenue 837 1994 1917 228 Joshel House 220 S. Dahlia Street 891 1994 1950–1951 229 Cory Elementary School, 1550 S. Steele Street 928 1994 1951–1952 230 Merrill Middle School 1551 S. Monroe Street 929 1994 1953 231 Washington Park Pavilion/Boat House Washington Park, 691 S. Franklin Street 930 1994 1913 232 Pueblo Trading Post Red Rocks Trading Post Red Rocks Park 18300 W. Alameda Street 931 1994 1931 233 Warming House at Evergreen Lake Dedisse Park, Evergreen, Colorado, 932 1994 1934 234 Nathan Savage Candy Company Building, 2162 Lawrence Street 981 1994 c. 1908 235 Fire Station No. 3, 2500 Washington Street 982 1994 1931 Five Points 236 Clarence F. Holmes Jr. House, 2330 Downing Street 983 1994 1892–1893 237 Asbury Elementary School, 1320 E. Asbury Avenue 14 1995 1925–1927 238 Feldhauser (Baldwin) Building / Baldwin Building, 1617–1623 California Street 85 1995 c. 1895 Downtown Denver 239 Austin Building, 2400–2418 E. Colfax Avenue 2400–2418 E. Colfax Avenue, 1472 Josephine Street 86 1995 1904 . Also NRHP-listed. 240 Rocky Mountain Consistory, Scottish Rite Temple (Cathedral) El Jebel Temple 1770 Sherman Street 137 1995 1906 241 Steele Elementary School, 320 S. Marion Parkway 180 1995 1913, addition and alteration 1929 242 Fager Residence, 2947 Umatilla Street 510 1995 c. 1883–1885 243 Tallmadge & Boyer Terrace and Commercial Block, 2925–2947 Wyandot Street 2925–2959 Wyandot Street, 2308–12 W. 30th Avenue 511 1995 1889 244 Fire Station Number 7, 3600 Tejon Street 596 1995 1909 245 Our Lady of Guadalupe Church, 3559 Kalamath Street 3555 Kalamath Street 597 1995 1947–1948 246 German House/Denver Turnverein 1570 Clarkson Street 700 1995 1921 247 Horace Mann Middle School, 4130 Navajo Street 709 1995 1931, additions 1956, 1994 248 Sherman School Art Students League, 200 Grant Street 753 1995 1893, addition 1920 249 3147 Umatilla Street Alexander Cowie House 3147 Umatilla Street 900 1995 1888 250 3225 Quivas Street Edward L. Fox House 3225 Quivas Street 901 1995 1888 251 1940–1946 W. 33rd Avenue Cole–DeRose Apartment House 1940–1946 W. 33rd Avenue 1940–1946 W. 33rd Avenue, 3252–3260 Tejon Street 902 1995 1895 252 Conine-Horan House, 2839 Wyandot Street 903 1995 1892 253 Elitch Gardens Theatre West 38th Avenue 4550 W. 37th Place 904 1995 1890 254 1305 Elizabeth Street Lorenzo Benson House 1305 Elizabeth Street 945 1995 1893 255 Sayre's Alhambra, 801 Logan Street 966 1995 1892 256 Crescent Hand Laundry Building, 2323–2327 W. 30th Avenue 55 1996 1891–1892 257 Elyria School, 4725 High Street 56 1996 1924 258 The Aldine, 1001–1021 E. 17th Avenue 196 1996 1890 Swallow Hill 259 Cranmer House, 200 Cherry Street 197 1996 1916–1917 260 Fire Station No. 14, 1426 Oneida Street 268 1996 1937 261 Fire Station No. 11, 40 W. 2nd Avenue 269 1996 1936–1937 262 Fire Station No. 18, 2205 Colorado Boulevard 270 1996 1912 263 Hover/Bromley Building, 1348 Lawrence Street 1390 Lawrence Street 271 1996 1901 Downtown Denver 264 Berkeley School, 5025–5055 Lowell Boulevard 5025–5065 Lowell Boulevard 573 1996 1894 and 1906, addition 1923 265 Bryant-Webster Elementary School, 3635 Quivas Street 574 1996 1930–1931 266 North High School, 2960 Speer Boulevard 760 1996 1911, additions 1913, 1960, 1983, 1993 267 Margery Reed Mayo Nursery, 1128 28th Street 761 1996 1926 268 St. Dominic's Church 3005 W. 29th Avenue 2905 Federal Boulevard 762 1996 1923–1926 269 Lake Middle School 1820 Lowell Boulevard 498 1996 1926 270 Enos House 841 Washington Street 497 1996 1891 271 William N. Byers Junior High School, 150 S. Pearl Street 971 1996 1920–1921 272 Edison School, 3350 Quitman Street 986 1996 1925, additions 1950, 1993 273 Ice House Beatrice Cold Storage Warehouse, 1801 Wynkoop Street 1801–1899 Wynkoop Street 1089 1996 1903, additions 1912, 1916, 1917 274 Huddart Terrace/Hoover Apartments 625 E. 16th Avenue 98 1997 c. 1894 275 Milo Smith House, 1360 Birch Street 99 1997 1890, additions 1911, 1919. 276 Shorter A.M.E. Church (Cleo Parker Robinson Dance) 119 Park Avenue West 224 1997 1925 277 Benjamin Brown House, 410 Marion Street 223 1997 c. 1889, additions c. 1900, 1930s, 1960s Driving Park 278 Cuthbert/Dines Mansion, 1350 Logan Street 343 1997 1901 279 Helene Apartments 1062 Pearl Street 344 1997 1904 280 Kinneavy Terrace, 2700–2714 Stout Street, 721–727 27th Street 430 1997 c. 1888 Curtis Park 'E' 281 Fifth Church of Christ Scientist / L2 Church, 1477 Columbine Street 486 1997 1929 282 Arthur E. Pierce House, 24 E. Ellsworth Ave 801 1997 1892 283 Nagel House, 2335 Stout Street 98 1998 c. 1888 Curtis Park 'H' 284 Kaub House, 2343 Stout Street 97 1998 c. 1886 Curtis Park 'H' 285 Lincoln Elementary School, 710 S. Pennsylvania Street 399 1998 1891, additions 1904, 1929, 1995 286 Ross-Lewin Double1912–1918 Logan Street 400 1998 1891 287 Westside Courthouse, 924 W. Colfax Avenue 478 1998 c. 1920 288 Grant House, 100 S. Franklin Street, 479 1998 1925 289 Highlands United Methodist Church, 3131 Osceola Street 547 1998 1922, additions 1925–1926, 1950–1951 Wolff Place 290 Haynes Townhouses, 1732 and 1738 Pearl Street 736 1998 1893 291 7th Avenue Congregational United Church of Christ (present-day Church of the Advent), 666 King Street 666–678 King Street 813 1998 1913 292 Arcanum-Beldame Apartments, 1904 Logan Street 30 1999 1907 293 Steck Elementary School, 425 Ash Street 450 Albion Street 389 1999 1929–1930, additions 1941, 1995 294 Epworth Church and Community Center, 1130 31st Street 436 1999 1915 295 Dugal Farmhouse, 4775 E. 6th Avenue 530 1999 1891, additions 1907, 1934 296 Leeman Automotive Company Building, 550 Broadway 654 1999 1932 297 Amos B. Hughes House, 3600 Clay Street 655 1999 1913 Potter Highlands 298 Chapel and Gateway on the Bethesda Campus, 4400 E. Iliff Avenue 268 2000 1926 and 1930 299a 404–440 W. 12th Avenue Ten–Winkel Towers 404–440 W. 12th Avenue 404–410 W. 12th Avenue 202 2000 299b 1173–1179 Delaware Street Carpenter Gothic Houses 1173–1179 Delaware Street 202 2000 300 The Colonnade Building (try Colonnade Building) 1210 E. Colfax Avenue, 1464 Marion Street 378 2000 1902, alteration 1984 301 Aromor Apartment Building, 225 E. 13th Avenue, 1309 Grant Street 402 2000 1926–1927 302 1750 Gilpin Building 1750 Gilpin Street 766 2000 1892–1893 303 Evans School Building, 1115 Acoma Street 1028 2001 1904 304 Hamilton Apartment Building, 1475 Humboldt Street 313 2002 1908 305 Norman Apartment Building, 99 S. Downing Street 564 2002 1924 306 Cameron Methodist Church 1600 S. Pearl Street 736 2003 1909–1913 307 Neahr House, 1017 S. Race Street 92 2004 1894 308 Globeville School, 5100 Lincoln Street 184 2004 1925, additions 1953, 1958, 1970 309 Church of the Ascension, 600 Gilpin Street 244 2004 1909, additions 1913, 1918, 1959 East 7th Avenue 310 Wolf House, 2036 Ogden Street 274 2004 c. 1892 311 Denver Union Station, 1701–1777 Wynkoop Street 705 2004 1881, 1894 and 1914 312 Fairmount Mausoleum, 430 Quebec Street 430 S. Quebec Street 64 2005 1930, additions 1936, 1948, 1947, 1957, 1971, 2003 313 Doyle Benton House, 1301 Lafayette Street 292 2005 1896 314 Tammen Hall, 1010 E. 19th Avenue 399 2005 1930–1932 315 Catherine Mullen Nurses Home, 1895 Franklin Street 27 2006 1932–1933 316 Baur Confectionary Company, 1512–1514 Curtis Street 460 2006 1881 Downtown Denver 317 John Collins United Methodist Church, 2300 S. Bannock Street 2320 S. Bannock Street 492 2006 1900 318 Myrtle Hill School Washington Park School 1125 S. Race Street 592 2006 1906, additions 1922, 1928, 1980s 319 Kappler–Cannon–Fieger Home, 1904 Kearney Street 65 2007 1912 320 Schulz–Neef House, 1739 E. 29th Avenue 623 2007 1881, addition c. 1900 321 Stanley School/Montclair School Paddington Station Preschool 1301 Quebec Street 624 2007 1890, addition 1991 322 Fitzroy Place, 2160 S. Cook Street 654 2007 1891–1892 323 Hangar 61, 8800 E. 21st Avenue 8700 E. 21st Avenue 724 2007 1959 324 Epiphany Episcopal Church, 100 Colorado Boulevard 138 2008 1941, addition 1960 325 Petrikin Estate 2109 E. 9th Avenue 418 2008 1917–1918 Morgan's Subdivision 326 Amter Residence, 222 S. Fairfax Street 333 2009 1952–1953 327 American Woodmen's Life Building, 2100 Downing Street 334 2009 1949–1950 328 Governor Carr Residence, 747 Downing Street 554 2009 1905 East 7th Avenue 329 2500 Walnut Street Benjamin Moore Building, 2500 Walnut Street 1 2010 1923, additions through 1947 Ballpark Neighborhood 330 Holland House, 2340 S. Josephine Street 429 2010 1932–1933 331 The Waldman, 1515 E. 9th Avenue 540 2011 332 Bonfils Memorial Theater/Lowenstein Theater 1475 Elizabeth Street 2516–2526 E. Colfax Avenue 93 2012 333 Dr. Margaret Long House, 2070 Colorado Boulevard 183 2013 c. 1908 334 Beth Eden Baptist Church, 3241 Lowell Boulevard 3257 Lowell Boulevard 292 2014 1931, additions 1940–1942, 1951 335 Gulliver–Lynch House, 227 S. Lincoln Street 506 2014 200 Block South Lincoln Street 336 Stadium Arena, 4655 Humboldt Street, 1301–1325 E. 46th Avenue 215 2016 1908–1909, additions 1973, 1991 337 Emily Griffith Opportunity School, 1250 Welton Street, 1261 Glenarm Place 1250 Welton Street, 1221–1261 Glenarm Place 311 2016 School: 1926, additions 1947, 1956. Shop buildings: 1941, 1951, 1954, 1956, 1978. 338 Ghost/Rose House, 1899 York Street 395 2016 c. 1906 339 First Unitarian Society of Denver Church, 1400 Lafayette Street 566 2016 1893, addition 1899 340 Ormleigh House, 2145 S. Adams Street 215 2018 1899 341 Wellshire Park Cottage, 2900 S. University Boulevard 688 2018 1926, c.1930, c.1960, c.1970 342 Meyer–Reed–Muraglia House, 670 Marion Street 933 2018 1904 343 Essex Apartments, 630–638 E. 16th Avenue 1160 2018 1908 344 Henderson House, 2600 Milwaukee Street 1208 2018 1963, addition 1971 345 Armour Building, 5001 Packing House Road 1539 2019 1917 346 Samsonite House, 637 Galapago Street 1542 2019 1890 347 Cableland, 4150 E. Shangri La Drive 344 2019 1986–1987 348 2288 S Milwaukee St Dr. Edward A. Jackson House, 2288 S Milwaukee St 954 2019 1902 349 1168 S Gilpin St Peet–Tatlock House, 1168 S Gilpin St 1119 2019 1916 350 1717 E Arizona Ave Peet–Abman House, 1717 E Arizona Ave 1120 2019 1915 See also Bibliography of Colorado Geography of Colorado History of Colorado Index of Colorado-related articles List of Colorado-related lists Outline of Colorado References External links The City and County of Denver Buildings and structures in Denver Colorado geography-related lists Colorado history-related lists Culture of Denver Lists of buildings and structures in Colorado Denver landmarks, List of Tourist attractions in Denver
```javascript /* eslint-disable max-len */ // based on path_to_url import React from 'react'; import path from 'path'; const createHtml = ( componentPath, basePath = '', userFiles, injectTags, commonsChunkFilename ) => { const iframeClientBundle = path.join(basePath, 'iframe-client-bundle.js'); const userBundle = path.join(basePath, 'user-bundle.js'); return `<!DOCTYPE html> <html style="height: 100%; width: 100%; margin: 0; padding: 0;"> <head> ${(injectTags) ? injectTags.join('\n') : ''} <style> ${userFiles && userFiles.styles.join('\n')} </style> </head> <body style="height: 100%; width: 100%; margin: 0; padding: 0;"> <div id="root" style=" display: flex; justify-content: center; align-items: center; height: 100vh; " ></div> <script> window.PLUGIN_NAME = 'react'; window.COMPONENT_PATH = '${componentPath}'; window.COMPONENT_DATA = undefined; </script> ${(commonsChunkFilename !== 'undefined') ? `<script src="/${commonsChunkFilename}"></script>` : ''} <script> ${userFiles && userFiles.scripts.join('\n')} </script> <script src="${iframeClientBundle}"></script> <script src="${userBundle}"></script> </body> </html> `; }; class IFrame extends React.Component { componentDidMount() { const doc = this.iframe.contentDocument; doc.open(); // eslint-disable-next-line max-len doc.write(createHtml( this.props.componentPath, this.props.basePath, this.props.userFiles, this.props.injectTags, this.props.commonsChunkFilename )); doc.close(); this.iframe.contentWindow.INITIAL_COMPONENT_DATA = this.props.variationProps; } componentWillReceiveProps(props) { if (this.iframe.contentWindow.UPDATE_COMPONENT) { this.iframe.contentWindow.UPDATE_COMPONENT(props.variationProps); } } render() { return ( <iframe ref={(ref) => { this.iframe = ref; }} scrolling="no" frameBorder="0" style={{ width: '100%', height: '100%' }} /> ); } } export default IFrame; ```
Majenta is a studio album by American electronic musician Jimmy Edgar, released in 2012 on Hotflush Recordings. It met with a mixed reception, with Resident Advisor writing that it "quite possibly represents Edgar's most full-blooded work yet." Critical reception Magenta received some acclaim from music critics while other reviews were mixed. At Metacritic, which assigns a normalized rating out of 100 to reviews from mainstream critics, the album received an average score of 59 based on eight reviews, indicating "mixed or average reviews". Majenta received 4/5 stars from the publication Resident Advisor, with the reviewer writing that "Jimmy Edgar has found a new home at Hotflush, but not a whole lot has changed in his purple-hued world of robot decadence. Majenta is scantily clad in the same skeletal synth funk, though it was apparently conceived in a passionate flurry of creativity rather than the belaboured nature of his previous works... it's a tighter record that struts and gyrates in a more assured fashion than the sprawling XXX, and quite possibly represents Edgar's most full-blooded work yet." In a positive review of Majenta for the BBC, Rich Handscomb focused on the erotic elements of the album, writing that "as difficult as it is to take Edgar seriously at times, so earnest is he about his sexualised sonic seercraft that resistance is futile." Track listing "Too Shy" "This One’s For the Children" "Sex Drive" "Indigo Mechanix (3D)" "Attempt to Make it Last" "Let Yrself Be" "Touch Yr Bodytime" "Hrt Real Good" "I Need Your Control" "Heartkey" "In Deep" "Switch Switch" Personnel Jimmy Edgar - primary artist References External links Majenta at Discogs 2012 albums Jimmy Edgar albums Hotflush Recordings albums
William George Young (December 17, 1901 – June 29, 1971) was a guard in the National Football League (NFL) who played for the Green Bay Packers. Young played his college football at the Ohio State University and played two professional games with the Green Bay Packers in 1929. References External links NFL.com player page 1901 births 1971 deaths American football guards Green Bay Packers players Ohio State Buckeyes football players People from Kenton, Ohio Players of American football from Ohio
Oron Shaul () was an Israeli soldier killed in a high-profile incident during the 2014 Israel–Gaza conflict, whose death first drew international attention when Hamas announced that he had been taken prisoner, and drew international attention again when Hamas demanded the release of prisoners to return the body to the soldier's family. Battle During the fighting on July 20, 2014, Hamas fired an anti-tank missile at an IDF armored personnel carrier carrying 7 soldiers, including Oron Shaul. Hamas rapidly claimed to have captured an IDF soldier named Aron Shaul, backing up its claim with the soldier's "photo ID and credentials". The IDF later confirmed that the body of Oron Shaul had not been identified among the dead found inside the vehicle. Possible captive Shaul's fate was the focus of great concern during the short period when it was feared that he had been taken captive, because, according to the Associated Press, "In the past, Israel has paid a heavy price in lopsided prisoner swaps to retrieve captured soldiers or remains held by its enemies." According to The New York Times , "Hamas has recognized the pull such incidents have over the Israeli psyche and clearly has moved to grab hostages. Palestinian celebration of capture The claim that an Israeli soldier had been captured, "touched off celebrations among Palestinians in both Gaza and the West Bank", according to The Independent, which ran photos of Palestinians cheering in the streets of Ramallah. According to The New York Times, "Celebrations immediately broke out in Gaza and the West Bank." Hamas television celebrated the purported kidnapping with a victory mocking the grief of Shaul's family and celebrating the alleged hostage-taking in song: "We've taken a second Shalit, a young, blond-haired boy." Israel questions claim By 22 July, spokesmen for Israel questioned the claim of capture. Confirmation of death On July 25, Israel confirmed that Shaul was dead. Ransom demands for soldier's body On August 11 Israeli Minister of Defense, Moshe Ya'alon visited the Shaul family to inform them that the government was making every effort to retrieve their son's body from Hamas. There was coverage of the request for Hamas to return the bodies of Shaul and another missing soldier, Hadar Goldin in Israeli and international media through the late summer and early fall of 2014. The question of whether Israel should release convicted Palestinian militants in exchange for Hamas' agreement to release the bodies of the 2 dead soldiers ignited a heated political debate within Israel. Apparently referring to the 2 bodies, Hamas official Mushir al-Masri boasted that "Hamas has bargaining chips that forced Israel to succumb to Palestinian demands. The indirect negotiations mediated by the Egyptians may in the future lead to a new prisoner swap deal in which many Palestinian prisoners are freed." on his Facebook page. Ongoing negotiations for the exchange of Palestinian prisoners held in Israel for the bodies of the 2 MIAs have been the focus of international press coverage. See also List of kidnappings References 2014 Israel–Gaza conflict Israeli military casualties Kidnapped people Male murder victims
Joel Bernard (born December 8, 1963) is a Canadian conservative politician. Political career Provincial He was elected to the Legislative Assembly of New Brunswick, representing Nepisiguit, in the general election of 1999 and became deputy speaker of the Legislature. He was defeated in his bid for a second term in the 2003 election by former Member of the Legislative Assembly (MLA) Frank Branch. Branch had represented the area from 1970 to 1995, when he retired and did not seek re-election. Bernard was one of several defeated Progressive Conservative MLAs who were appointed to government positions by Premier Bernard Lord following their defeat in the 2003 election. These appointments were widely criticized as excessive patronage by the media and the opposition Liberals. Bernard had been appointed to oversee and economic development fund for the Restigouche-Baie des Chaleurs region. He took a leave of absence from his position in March 2004 to be a Conservative candidate in the 2004 federal election. Federal In late April 2005, Bernard announced he would be a candidate for the Conservative nomination for the riding of Ottawa—Orléans for the next federal election. On May 16, he was defeated by Royal Galipeau, a former member of the Liberal Party of Canada, for the nomination by a margin of 174 to 126, who went on to win the seat in the election. From 2006 to 2008, Bernard held the position of Senior Policy Advisor in the office of Stockwell Day, Minister of Public Safety in the new Conservative government. In the 2008 federal election, the Conservative Party brought Bernard to Nova Scotia to run against Conservative-turned-Independent Bill Casey in the riding of Cumberland–Colchester–Musquodoboit Valley. On election night, Casey was re-elected by over 22,000 votes, with Bernard finishing third, polling just under 9%. Bernard was the Senior Policy Advisor for aerospace, procurements, industrial regional benefits and the auto file to Tony Clement, Minister of Industry Canada, until he left the position in 2010. Since then, he has held several positions of Senior Policy Advisor for Fisheries & Oceans Canada, International Development and La francophonie. He is presently employed as a Parliamentary Affairs Advisor for Pierre Paul-Hus, the Shadow minister for Public Safety, Border Security and Emergency Preparedness and the Member of Parliament for Charlesbourg – Haute – Saint-Charles. In March 2019, Bernard won the Ottawa—Vanier Conservative nomination contest, becoming their candidate for the 2019 federal election. Personal life He lives in Ottawa, Ontario with his wife Catherine and his two children, Lilianne and Samuel. Joel's sister-in-law is the former special assistant of former Chief of Staf Nigel Wright, and later former personnel manager of the Office of the Prime Minister of Canada Monica Bernard. Joel Bernard is an evangelical Christian. Electoral record Federal Provincial References 1963 births Living people 21st-century Canadian civil servants Progressive Conservative Party of New Brunswick MLAs People from Restigouche County, New Brunswick 21st-century Canadian politicians Conservative Party of Canada candidates for the Canadian House of Commons
```go package main import ( "testing" "github.com/gdamore/tcell/v2" ) func TestApplyAnsiCodes(t *testing.T) { none := tcell.StyleDefault tests := []struct { s string st tcell.Style stExp tcell.Style }{ {"", none, none}, {"", none.Foreground(tcell.ColorMaroon).Background(tcell.ColorMaroon), none}, {"", none.Bold(true), none}, {"", none.Foreground(tcell.ColorMaroon).Bold(true), none}, {"0", none, none}, {"0", none.Foreground(tcell.ColorMaroon).Background(tcell.ColorMaroon), none}, {"0", none.Bold(true), none}, {"0", none.Foreground(tcell.ColorMaroon).Bold(true), none}, {"1", none, none.Bold(true)}, {"4", none, none.Underline(true)}, {"7", none, none.Reverse(true)}, {"1", none.Foreground(tcell.ColorMaroon), none.Foreground(tcell.ColorMaroon).Bold(true)}, {"4", none.Foreground(tcell.ColorMaroon), none.Foreground(tcell.ColorMaroon).Underline(true)}, {"7", none.Foreground(tcell.ColorMaroon), none.Foreground(tcell.ColorMaroon).Reverse(true)}, {"4", none.Bold(true), none.Bold(true).Underline(true)}, {"4", none.Foreground(tcell.ColorMaroon).Bold(true), none.Foreground(tcell.ColorMaroon).Bold(true).Underline(true)}, {"31", none, none.Foreground(tcell.ColorMaroon)}, {"31", none.Foreground(tcell.ColorGreen), none.Foreground(tcell.ColorMaroon)}, {"31", none.Foreground(tcell.ColorGreen).Bold(true), none.Foreground(tcell.ColorMaroon).Bold(true)}, {"41", none, none.Background(tcell.ColorMaroon)}, {"41", none.Background(tcell.ColorGreen), none.Background(tcell.ColorMaroon)}, {"1;31", none, none.Foreground(tcell.ColorMaroon).Bold(true)}, {"1;31", none.Foreground(tcell.ColorGreen), none.Foreground(tcell.ColorMaroon).Bold(true)}, {"38;5;0", none, none.Foreground(tcell.ColorBlack)}, {"38;5;1", none, none.Foreground(tcell.ColorMaroon)}, {"38;5;8", none, none.Foreground(tcell.ColorGray)}, {"38;5;16", none, none.Foreground(tcell.Color16)}, {"38;5;232", none, none.Foreground(tcell.Color232)}, {"38;5;1", none.Foreground(tcell.ColorGreen), none.Foreground(tcell.ColorMaroon)}, {"38;5;1", none.Foreground(tcell.ColorGreen).Bold(true), none.Foreground(tcell.ColorMaroon).Bold(true)}, {"48;5;0", none, none.Background(tcell.ColorBlack)}, {"48;5;1", none, none.Background(tcell.ColorMaroon)}, {"48;5;8", none, none.Background(tcell.ColorGray)}, {"48;5;16", none, none.Background(tcell.Color16)}, {"48;5;232", none, none.Background(tcell.Color232)}, {"48;5;1", none.Background(tcell.ColorGreen), none.Background(tcell.ColorMaroon)}, {"1;38;5;1", none, none.Foreground(tcell.ColorMaroon).Bold(true)}, {"1;38;5;1", none.Foreground(tcell.ColorGreen), none.Foreground(tcell.ColorMaroon).Bold(true)}, {"38;2;5;102;8", none, none.Foreground(tcell.NewRGBColor(5, 102, 8))}, {"48;2;0;48;143", none, none.Background(tcell.NewRGBColor(0, 48, 143))}, // Fixes color construction issue: path_to_url#issuecomment-674409446 {"38;5;34;1", none, none.Foreground(tcell.Color34).Bold(true)}, } for _, test := range tests { if stGot := applyAnsiCodes(test.s, test.st); stGot != test.stExp { t.Errorf("at input '%s' with '%v' expected '%v' but got '%v'", test.s, test.st, test.stExp, stGot) } } } ```
South Regina was a territorial electoral district in the Northwest Territories, Canada that came into existence with the passage of the North-West Representation Act of 1888 and was succeeded by a riding of the same name when Alberta and Saskatchewan were created in 1905. Members of the Legislative Assembly (MLAs) Election results 1888 election 1891 election 1894 election 1898 election 1902 election See also Regina South, created 1964 References External links Website of the Legislative Assembly of Northwest Territories Former electoral districts of Northwest Territories
The Nespelem people belong to one of twelve aboriginal Confederated Tribes of the Colville Indian Reservation in eastern Washington. They lived primarily near the banks of the Nespelem River, an Upper Columbia River tributary, in an area now known as Nespelem, Washington, located on the Colville Indian Reservation. Alternate spellings include Nespelim or Nespilim. Ethnography The Nespelem are considered Interior Salish, a designation that also includes the Okanagan, Sinixt, Wenatchi, Sanpoil, Spokan, Kalispel, Pend d'Oreilles, Coeur d'Alene, and Flathead peoples. Ross classifies Nespelem as one of the Okanagan tribes, while Winans classifies them as part of the Sanpoil. In 1905, the United States Indian Office counted 41 Nespelim; in 1910, the census counted 46; in 1913, after a survey, the Office of Indian Affairs counted 43. Contact with European settlers British colonialist and explorer David Thompson, on behalf of the North West Company in 1811, described several of the Native American tribes that he encountered while traveling along the Upper Columbia river (in present-day Canada and Washington State), thence along a tributary of the same river, the Sanpoil River, and continuing in places along the Pacific Northwest. In the Upper Columbia he mentions the Inspaelis , being the Nespelem tribe, who warmly welcomed him and his party. As his interpreters, he made use of two Sanpoil scouts, who spoke a dialect of the Salishan tongue. Customs and diet Thompson mentions in his journal that the Nespelem wore shells as dress ornaments, and made their clothing from buffalo robes, and from skins of muskrat and black tailed deer, when they could be found; otherwise, they were scantly dressed. Their women painted their faces, and wore shells in their hair. A few donned copper ornaments. Their neighbors, the Simpoil Indians (Sanpoil), made houses of huts constructed with slight poles overlaid with mats of slight rushes. Such houses may have been a reflection of their own. Whenever sending off a party, members of the tribe (men, women and children) would come together, and after being entreated by their Chief to dance before the party, they would commence a solemn dance for several minutes by throwing their arms into the air, and clapping them in the air, before they lowered them. This dance was accompanied by a song chanted in measured cadence, the dance being repeated at three different intervals, and concluding with a blessing made by the Chief, who sent off the party along their way. The Nespelem, like other Native American tribes in the Northwest, subsisted on roasted and dried salmon (which they often caught by the construction of a wier along the river), the boiled roots of bitterroot (Lewisia spp), the white root and Ectooway (Estooway) root (Helianthus tuberosus), as well as arrow wood berries. They supplemented their diet with an occasional marmot, or other game animals. Nespelem villages and tribes Haimisahun, a summer settlement of the Suspiluk, on the north bank of Columbia River about a half mile above the mouth of Nespelem River. Masmasalimk, home of the Smasmasalimkuwa, approximately a mile and a half above Skik. Nekuktshiptin, home of the Snekuktshiptimuk, at the site of the present Condon's Ferry, on the north side of the river. Nspilem, home of the Snspiluk, on the lower Nespelem from the falls to the mouth of the river. Salkuahuwithl, home of the Wallakazam, across the river from the present town of Barry. Skik, about a mile above Salkuahuwithl on the same side of the river. Skthlamchin, fishing grounds of the Salkuahuwithlau, across the river from the mouth of the Grand Coulee. References Further reading Ray, Verne Frederick. The Sanpoil and Nespelem: Salishan Peoples of Northeastern Washington. Seattle, Washington: University of Washington press, 1933. Schmidt, Wilhelm. 1934. Die Sanpoil und Nespelem, Stämme der Nordost-Selish. Ursprung Der Gottesidee. Band V, 2. Abt. Die Religionen Der Urvölker IV. Watson, Ralph W. Appraisal of the Tribal Lands of the Colville Tribe, the San Poil and Nespelem Tribes, the Lakes, the Okanogans, and the Methows As Defined in the Decision of the Indian Claims Commission, Docket 181 on February 29, 1956 : All of Said Lands Being in the State of Washington and the Appraisal Being As of July 2, 1872. Library of American Indian affairs. New York: Clearwater, 1900. External links Curtis, Edward S. Nespilim Man (The North American Indian). Evanston, Ill: Northwestern University. Library, 1999. Curtis, Edward S. Nespilim Woman (The North American Indian). Evanston, Ill: Northwestern University. Library, 1999. Curtis, Edward S. Nespilim Girl (The North American Indian. Evanston, Ill: Northwestern University. Library, 1999. Spectators watching Nespelim Indian ceremonial dance on Colville Indian Reservation. 1911. Native American tribes in Washington (state) Interior Salish
Cubacanthozomus is a monotypic genus of hubbardiid short-tailed whipscorpions, first described by Rolando Teruel in 2007. Its single species, Cubacanthozomus rowlandi is distributed in Cuba. References Schizomida genera Monotypic arachnid genera
```php <?php /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the */ namespace Google\Service\Vision; class ProductSet extends \Google\Model { /** * @var string */ public $displayName; protected $indexErrorType = Status::class; protected $indexErrorDataType = ''; /** * @var string */ public $indexTime; /** * @var string */ public $name; /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * @param Status */ public function setIndexError(Status $indexError) { $this->indexError = $indexError; } /** * @return Status */ public function getIndexError() { return $this->indexError; } /** * @param string */ public function setIndexTime($indexTime) { $this->indexTime = $indexTime; } /** * @return string */ public function getIndexTime() { return $this->indexTime; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProductSet::class, 'Google_Service_Vision_ProductSet'); ```
December (Hangul: 디셈버) is a South Korean duo formed by CS Happy Entertainment in 2009. They debuted on October 27, 2009 with Dear My Lover. Discography Studio albums Extended plays Singles Collaborations Soundtrack appearances Awards and nominations References South Korean musical duos Musical groups from Seoul Musical groups established in 2009 2009 establishments in South Korea Pop music duos Contemporary R&B duos
Platform magic (also known as parlor magic, stand-up magic or cabaret magic) is magic that is done for larger audiences than close-up magic and for smaller audiences than stage magic. It is more intimate than stage magic because it does not require expensive, large-scale stage equipment and can thus be performed closer to the audience and without a stage. Many of the tricks performed by platform magicians are sufficiently angle-sensitive as to make them impossible to perform as micromagic. Most working magicians are parlor/platform magicians. Many magicians consider the term "parlor" to be old-fashioned and limiting, since this type of magic is often done in rooms much larger than the traditional parlor, or even outdoors. According to the Encyclopedia of Magic and Magicians by T.A. Waters, "The phrase [parlor magic] is often used as a pejorative to imply that an effect under discussion is not suitable for professional performance." Parlor, or stand-up, magicians generally work without assistants (unlike stage magicians, who may have several in their crew – both backstage and on stage – and may travel thousands of miles between jobs). Performances of this category of magic include civic and fraternal organizations, business groups, private parties, youth groups, church societies, public dinners, and similar venues. Common types Common platform magic tricks include: The "Miser's Dream" – a seemingly endless supply of coins is produced from thin air Sucker tricks, like the "die box", where a giant die is put in a two-compartment box. The magician makes it vanish but the audience believe he simply shifts it to the other compartment. Eventually the magician opens both sides of the box and the die is gone. It has appeared in a previously-empty hat. Audience participation tricks, like the breakaway wand, where a wand remains rigid for the magician but falls apart every time the volunteer touches it Production effects, like the square circle, in which a bottomless, topless box with a screened front encloses a bottomless, topless cylinder. Both are shown empty and put together again. The magician then produces large quantities of silk scarves, fruit, bottles, and so on from the "empty" cylinder, inside the square box Many other effects could be considered to fit into this classification. Platform magicians Platform magicians are not as well known to the general public as stage magicians such as David Copperfield and Penn & Teller. Some better-known ones include: David Abbott Steve Cohen Black Herman Fred Kaps Jeff McBride John Mulholland Channing Pollock Alan Shaxon Larry White See also American Museum of Magic Black box Bizarre magic Card magic Card throwing Cardistry Children's magic Coin magic Escape magic Hat-trick (magic trick) Flourish Gospel magic Illusionist List of magic tricks Magic Castle Mental magic Sleight of hand Street magic Terms Trick deck Tarbell Course The Magic Circle Timeline Theatrical séances References External links What is Parlor Magic? Magic (illusion)
Ted Woloshyn (born December 1953) is a Canadian broadcaster, based in Toronto. He hosted The Ted Woloshyn Show, mornings from 5:30 to 8:30 on CFRB-AM in Toronto, Ontario, Canada from 3 November 1996 until 15 December 2006. He hosted Saturdays with Ted from 12 to 3pm on Newstalk1010 from 2010 until 2021. He previously worked for Toronto area stations CFNY-FM, CILQ-FM and CKFM-FM. Woloshyn currently lives in Mississauga, Ontario. Woloshyn started his radio career in 1974 at CHIC in Brampton. He moved on to work in Peterborough, Montreal, Hamilton, and finally Toronto. He hosted various shows on CBC Television's Toronto affiliate CBLT in the 1980s including Off the Wol, and It's Only Rock'n Roll and also contributed to CBLT's local news program. He was also a contributor to Midday and The Journal on the full CBC network and to Global News on the Global Television Network. In 1981, Woloshyn released the comedy album It's Not the Heat...It's the Humility. The following year, he received a Juno Award nomination for Comedy Album of the Year. He began hosting the CFRB morning show in November 1996, following in the footsteps of the legendary Wally Crouter. Little more than a month after celebrating his tenth anniversary on The Ted Woloshyn Show, he announced his leaving because it was time to move on. CFRB announced on air that Woloshyn was retiring to spend more time with his family. He subsequently revealed that he had actually been fired by CFRB and was not retiring. Woloshyn has written a monthly opinion column in the Toronto Sun since 2007. Woloshyn hosted Saturday with Ted Woloshyn on Newstalk 1010 (CFRB-AM) from 2010 until 2021. On February 1, 2021, Woloshyn was one of at least 210 people laid off by Bell Media from its properties across Canada. Woloshyn is Ukrainian-Canadian. References External links Ted Wolosyhn at the Toronto Sun 1953 births Living people Canadian people of Ukrainian descent Canadian talk radio hosts Canadian columnists Journalists from Toronto
Yahya Al-Musalem (born 7 January 1987) is a Saudi Arabian footballer who plays as a defender. References 1987 births Living people Saudi Arabian men's footballers Al Raed FC players Al Hilal SFC players Al Wehda FC players Saudi First Division League players Saudi Pro League players Men's association football defenders
Winton Hills is a neighborhood in Cincinnati, Ohio. The population was 5,684 at the 2020 census. History Winton Terrace is a Cincinnati Metropolitan Housing Authority (CMHA) project built for low income Cincinnati citizens. It was the first housing project in Cincinnati. It opened in 1940 as white only and did not take African American families. African Americans were not allowed until the late 1950s, but only because CMHA had built another white only project next door to Winton Terrace, named Findlater Gardens. References Neighborhoods in Cincinnati African-American history in Cincinnati
José Ramón Valente Vias (born 15 September 1962) is a Chilean politician and economist. He completed his studies with an MBA at the University of Chicago (1988), being a student of Eugene Fama, Nobel Memorial Prize in Economic Sciences (2013). He actively participated in Sebastián Piñera's 2017 presidential elections campaign as part of the economic team, where he later assumed the role of coordinator. After winning elections, Piñera appointed him Minister of Economy, Development and Tourism, a position that Valente assumed on 11 March until 13 June 2019, when he left the cabinet and was replaced by Juan Andrés Fontaine. Works La historia de un sueño (2011) La rebelión del sentido común (2015) Los 4 largos años de la Nueva Mayoría (2017, coautor) References External links 1962 births Living people University of Chile alumni University of Chicago alumni 21st-century Chilean politicians
Kymore is an industrial town and a nagar panchayat in Vijayraghavgarh tehsil in Katni district in the Indian state of Madhya Pradesh. Known mainly for its cement works established in 1921 by J. K. Fisher. The famous Murlidhar temple was established in 1930. Economy Limestone mining employs most of the local population. After independence, the cement works were owned by The Associated Cement Companies Limited. As of 2011, 2.2 million tonnes of cement is produced here yearly. Many old quarries were abandoned due to depletion or inadequate technology and were converted into water reservoirs. As of 2011, limestone comes from nearby Mahegaon mines, which is about 11 km away. India's second-longest conveyor belt was built here to fetch limestone from these mines. Other industries include bauxite and marble mines and an asbestos sheet manufacturing facility, established in 1934 by the UK's Turner & Newall group of UK, now operated by Everest Industries Ltd. Geography Kymore hills run along from north to west of the entire town. Their height ranges from . Temples and festivals Dussehra is the biggest annual event. The effigy of Ravana made here ranges in height from , the highest in India. People visit during this time to witness the event. Murlidhar temple is a temple in the center of Kymore. Demographics As of 2001 India census, Kymore had a population of 35,300. Males constitute 53% of the population and females 47%. Kymore had an average literacy rate of 70.3%, higher than the national average of 59.5%. Male literacy was 78% and female literacy was 61%. 13% of the population is under 6. Education Schools include DAV ACC Public School (CBSE Affiliated), Kymore Higher Secondary School Kymore & ACC Higher Secondary School. Shramdham Higher secondary School. Sports ACC Gymkhana club offers recreation. An annual district level cricket tournament celebrates the memory of Shri R. K. Sharma, gathering 60-70 teams. The tournament includes other sports such as football, volleyball, badminton, table tennis, kabbaddi, and athletics. Transport The nearest railway stations are Jukehi 22 km, Katni 45 km on Itarsi Allahabad rail line and Katni Murwara 45 km on Katni Bina rail line. The airports are in Jabalpur and Khajuraho. Buses from Kymore to Vijayraghavgarh(8 km) to Katni (45 km), Maihar (40 km), Jabalpur (135 km), Rewa (140 km) and Satna (85 km) are available on 5:45 A.M. at morning daily service. References Cities and towns in Katni district Katni
The Ein 'Arik checkpoint attack occurred 19 February 2002. One Israeli officer and 5 soldiers were killed in an attack on an IDF checkpoint near the Palestinian village of Ein 'Arik, west of Ramallah in the Israeli-occupied West Bank. History The checkpoint was manned by eight soldiers, five of whom were on duty while three were resting in a nearby trailer. The two militants set out from Ramallah. They approached the checkpoint at 9 pm. Shortly after a change of guards they open fire on the soldiers at the checkpoint, killing three of them and moderately wounding a fourth. A fifth soldier, who served as the look-out, fled the scene unharmed and alerted military authorities. The militants then proceeded to a nearby trailer where the remaining soldiers were holed up. The commanding officer Lt. Moshe Eini and two other soldiers were killed. It is uncertain whether the Israeli soldiers ever returned fire. None of the militants were hurt in the clash and both returned to Ramallah. The two militants were policemen of the Palestinian National Authority and reportedly members of the Fatah movement. The al-Aqsa Martyrs' Brigades claimed responsibility for the Ein ‘Arik attack. One of the participants of the attack, variously named "Said Saliman Saida" or "Shadi Sawaa'da" (Palestinian sources identify him as Shadi Sa'id as-Su’ayida ) was later arrested and sentenced to 7 life sentences. Shortly after his trial he became ill and died in Soroka hospital. A leader of Al-Aqsa Brigades, Kamil Ghanam [Kamal Ranam] (), claimed that Su’ayida "was in excellent health when he was arrested... We are sure Israel killed him as revenge [for the 2002 attack]." The second militant was identified as Da'oud al-Haj. Aftermath Israeli paratroopers were ordered to avenge the death of the six soldiers by attacking Palestinian police positions. An Israeli soldier who participated in the incident described it as "an eye for an eye". The identity of the attackers were then unknown but Israel held the Palestinian police responsible for letting them through their checkpoints. 15 Palestinian policemen were killed that night, some of them unarmed. Fatalities Lt. Moshe Eini, 21, of Petah Tikva St.-Sgt. Benny Kikis, 20, of Carmiel St.-Sgt. Mark Podolsky, 20, of Tel Aviv St.-Sgt. Erez Turgeman, 20, of Jerusalem St.-Sgt. Tamir Atsmi, 21, of Kiryat Ono St.-Sgt. Michael Oxsman, 21, of Haifa See also 2002 Hebron ambush Wadi al-Haramiya sniper attack References Military operations of the Israeli–Palestinian conflict February 2002 events in Asia 2002 crimes in Israel Al-Aqsa Martyrs' Brigades attacks Israeli casualties in the Second Intifada
"We Got Us" is a song co-written and recorded by American country music singer Canaan Smith. Smith co-wrote the song with Stephen Barker Liles and Tommy Lee James. Critical reception Matt Bjorke of Roughstock gave the song a positive review, saying that "Vocally, Canaan has a strong tenor as he sings lyrics which discuss a man who knows times may be hard for him and his new love but with love as their anchor, they’re ready to take the leap and make a commitment to each other and that despite having nothing but each other, that love will be enough to pull them through any tough times they’ll encounter along the way. Music video The music video was directed by Brian Lazzaro and premiered in January 2012. Chart performance References 2012 songs 2012 singles Canaan Smith songs Mercury Nashville singles Songs written by Tommy Lee James Song recordings produced by Brett Beavers Songs written by Canaan Smith
Carreghofa Castle () was a Norman timber and masonry castle located in the Welsh village of Carreghofa, Powys. Between its construction in 1101 and destruction in 1236, it was the site of many battles between rival Welsh and English forces. Archaeological remains of the castle's perimeter, uncovered in the late 19th century, are all that remains of the structure. Medieval disputes Carreghofa Castle was built in 1101 by Robert de Bellême in the North Wales border regions, without the permission of the newly crowned King Henry I. In the following years the castle, among others like Bridgenorth Castle, was captured by Henry I and transformed into a military base for English forces. Carreghofa Castle was built on land which was heavily disputed, largely due to its location in the Welsh Marches. This was a politically tumultuous region in the medieval Kingdom of Powys, founded in the 5th century, which began experiencing increased threats from the east following the Norman Conquest of England in 1066. In building Carreghofa Castle, de Bellême was directly allying himself with the princes of Powys, the sons of Bleddyn ap Cynfyn, against the English monarchy. This political tension is evidenced in the castle's frequent shifts of ownership and alliances throughout its 12th-century lifespan. Carreghofa was captured by the Welsh in 1163 with the help of the King of Gwynedd, before being lost again to King Henry II in 1165. In this latter instance Owain Fychan, one of the princes of Powys, was given permission to retain the castle after switching allegiance to the English monarch, though he was killed in 1187 during an attack on the castle by his nephews Gwenwynwyn and Cadwallon ab Owain. A decade later in 1197, Gwenwynwyn, the second ruler of the southern Powys region, was voluntarily given ownership of the castle by the English in exchange for surrendering Rhys ap Gruffudd to them. At this time, Carreghofa Castle was probably also used for silver mining. The castle switched hands again to Robert de Vieuxpont in 1212, after a series of Welsh defeats in the area. He is said to have rebuilt the castle. Carreghofa Castle is believed to have been destroyed a final time in the 1230s (approximately 1236) as part of Llewelyn ap Iorwerth’s campaigns against English rule in Wales. Rediscovery The ruins of Carreghofa Castle were rediscovered in 1871, when workers uncovered an underground room and perimeter stone foundations. Subsequently reburied, the prominent earthworks are all that remain of the old castle structure. A 17th-century farm complex, Carreghofa Hall, is believed to be built directly above the old castle and is designated a Grade II listed building. References Castles in Wales
The Mainz Basin () or Rhine-Main Basin is the name given to a Cenozoic marine basin that covered the area of the present-day region of Rhenish Hesse in Germany about 38 to 12 million years ago (38 - 12 mya). The Mainz Basin was a bay or sea inlet, that for a short time in the Palaeogene period connected the then North Sea (part of the gradually widening North Atlantic during the Palaeogene) with the Paratethys Sea (part of the shrinking Tethys Ocean). See also Mainz Sand Dunes Paris Basin Notes References Falke: Geologischer Führer von Rheinhessen. 1960 Klaus Hang: Das Rheinhessische Hügelland für Naturfreunde. In: Kosmos 1974 E. Probst: Deutschland in der Urzeit. München, 1986 D. Vogellehner: Paläontologie. Freiburg, 1987 Drainage basins of Germany Geology of Germany Regions of Rhineland-Palatinate
Venke Knutson (born 20 October 1978) is a Norwegian singer. Since 2003, she has had six top 10 hits in Norway. Life and career Venke Knutson was born in Birkeland, in 1978. She was the youngest of three sisters, in a musical family, and she got inspired to sing by her elder sisters. Early in her life she lived with her family in the United States. She joined the school choir. Inspired by two older sisters, she applied for music at the Vågsbygd skole (Vågsbygd High School), when the family was about to go back home to Norway. She used to be an elementary teacher in Norway. She was earlier married to Svenn Kåre Liodden, but they divorced. She married Thomas Wold in 2008. She debuted in 2003 with the single "Panic", followed by her first album Scared and the singles "Scared" and "Kiss". Venke Knutson entered the qualifying rounds of the Melodi Grand Prix 2010 (the Norwegian selection process for the Eurovision Song Contest) on 16 January and was voted through to the national "second chance" program, with the song "Jealous 'Cause I Love You", where she was voted through to the national final. Discography Albums Singles 1 Released as airplay singles References External links Official Fan Club Chinese Fan-bar on Baidu 1978 births Living people Norwegian pop singers Melodi Grand Prix contestants English-language singers from Norway 21st-century Norwegian singers 21st-century Norwegian women singers
César Vezzani (8 August 1888 – 11 November 1951) was a French/Corsican operatic tenor who became a leading exponent of French grand opera through several decades. (Some sources give his date of birth as 1886.) Career César Vezzani was born in Bastia in Corsica; his father died shortly before his birth. Soon after 1900 his family moved to Toulon on the French mainland, but little is known about his early musical training. In 1908 he went to Paris to study singing and was taught by the Corsican soprano Agnès Borgo (1879 - 1958). He then made his operatic début at the Opéra-Comique in 1911 in the title-role of Richard Coeur-de-Lion by Grétry. He continued singing there in such works as Dinorah by Meyerbeer and Erlanger's La sorcière, as well as Italian operas such as Tosca and Cavalleria Rusticana. In 1913 Vezzani and Agnès Borgo were married, and they had one daughter. (They later divorced in 1919, and Vezzani had two subsequent marriages.) Vezzani and Borgo were contracted to sing in the USA (including Boston) in 1914/1915 but were prevented by the outbreak of the First World War. Vezzani was called up and was wounded in action. He resumed his singing career during the later years of the war, but most of his subsequent engagements were in provincial opera houses, especially in the south of France, though he also sang in Brussels. He returned to the Opéra-Comique in Paris in 1921/1922 and probably appeared there again during the 1920s, but he never sang at the Paris Opéra. The ringing and heroic quality of his voice made him an ideal choice for certain heavy and dramatic tenor parts, but he never abandoned some of the more lyrical roles of the French repertoire. During World War II Vezzani spent time in North Africa, singing frequently in Algiers. He continued as principal tenor in Toulon until 1948 when he suffered a stroke which left him paralyzed. He returned to Bastia, but now without an income he spent the last three years of his life in some poverty and assisted by the generosity of friends. He died in hospital in Marseille and was buried in Bastia, where a street is named after him. Recordings The potential of Vezzani's outstanding voice for recording was quickly recognised, and from 1912 to 1914 he made a series of recordings for French Odéon, including excerpts from Pagliacci. Tosca, and Werther. Then from 1923 until the early 1930s he recorded for French HMV in arias from many of his favourite roles, including Reyer's Sigurd, Halévy's La Juive, and Meyerbeer's L'Africaine. There was also a complete recording of Gounod's Faust in 1930 with Mireille Berthon and Marcel Journet. It is unclear whether and when Vezzani sang Wagner on stage, but he recorded a number of pieces from Lohengrin and The Ring. In total he recorded over 170 sides. Most of these were originally released only in France, but there have been several selections transferred to CD, and a systematic reissue of his recordings has been launched by Marston Records. Reputation Critics have shown universal recognition of the exceptional quality of Vezzani's voice, though they have sometimes expressed reservations about the subtlety of his approach, which was generally robust. His recording of Faust has occasioned the following comments: "Vezzani is a noble representative of that vanished breed, the French spinto tenor... Unforced lyricism was not Vezzani's greatest strength... [but] where ringing excitement is called for, his only equals are Caruso and, more recently, Franco Corelli." Referring to his recording of excerpts from Roméo et Juliette, another critic has said: "He was a real ténor de force and still singing well at sixty. There is little nuance here, but the voice is healthy and brilliant, somehow typically Corsican." Reflecting on the fact that Vezzani's career did not take him to the world's major opera houses, another has said: "He seems to be one of those whose gifts exceeded his attainments." The generous attention that he received from recording companies allows later generations to form their own judgments. References External links Marston CD notes (by Tom Kaufman and Vincent Giroud) History of the Tenor - Sound Clips and Narration 1880s births 1951 deaths French operatic tenors People from Bastia 20th-century French male opera singers
Damage is a live recording by David Sylvian and Robert Fripp. It was recorded on the "Road to Graceland" tour at London's Royal Albert Hall, December 1993. This album, originally mixed by Fripp, was first released in 1994 as a limited edition box set: a 24-carat gold CD and 32-page colour booklet in a jewel box inside a cardboard slipcase. It was remixed by David Sylvian and re-released in standard jewel case packaging with different artwork on 10 September 2001. The song "Darshan: The Road to Graceland" was replaced by "Jean the Birdman" on the reissued version as Sylvian believed that this track would fit in better with the rest, and the track order was slightly changed. Background The songs "Damage" and "The First Day" were only released on this album, and no studio versions were ever released. "Blinding Light of Heaven", however, has a studio version on the limited edition third disc of Sylvian's compilation Everything and Nothing. Reception Paul Stump, in his 1997 History of Progressive Rock, called Damage: Live "a wonder of elegiac splendour." Track listing 1994 release "Damage" (Robert Fripp, Trey Gunn, David Sylvian) – 4:31 "God's Monkey" (David Bottrill, Fripp, Gunn, Sylvian) – 6:42 "Brightness Falls" (Fripp, Gunn, Sylvian) – 6:29 "Every Colour You Are" (Richard Barbieri, Steve Jansen, Mick Karn, Sylvian) – 5:40 "Firepower" (Fripp, Gunn, Sylvian) – 7:02 "Gone to Earth" (Fripp, Sylvian) – 2:28 "20th Century Dreaming (A Shaman's Song)" (Fripp, Gunn, Sylvian) – 8:03 "Wave" (Sylvian) – 6:11 "River Man" (Sylvian) – 5:01 "Darshan (The Road to Graceland)" (Bottrill, Fripp, Gunn, Sylvian) – 10:47 "Blinding Light of Heaven" (Fripp, Gunn, Sylvian) – 4:15 "The First Day" (Fripp, Gunn, Sylvian) – 4:44 2001 re-release "God's Monkey" (Sylvian, Fripp, Gunn, Botrill) – 6:39 "Brightness Falls" (Sylvian, Fripp, Gunn) – 6:29 "Every Colour You Are" (Sylvian, Karn, Jansen, Barbieri) – 5:44 "Jean the Birdman" (Sylvian, Fripp, Gunn) – 4:03 "Firepower" (Sylvian, Fripp, Gunn) – 7:09 "Damage" (Sylvian, Fripp, Gunn) – 4:26 "Gone to Earth" (Sylvian, Fripp) – 2:29 "Twentieth Century Dreaming (A Shaman's Song)" (Sylvian, Fripp, Gunn) – 7:54 "Wave" (Sylvian) – 6:17 "River Man" (Sylvian) – 4:58 "Blinding Light of Heaven" (Sylvian, Fripp, Gunn) – 4:36 "The First Day" (Sylvian, Fripp, Gunn) – 5:22 Personnel David Sylvian – Vocals, Guitar, Keyboard instruments, tapes Robert Fripp – Guitar, Frippertronics Trey Gunn – Chapman Stick, Vocals Michael Brook – Infinite Guitar Pat Mastelotto – Drums Staff David Kent - sound engineer David Bottrill - mixing David Singleton - digital editing, assistant producer Stuart White - keyboard and recording technician Alan Pollard - keyboard and recording technician (U.K. and Europe) Steve Flewin - monitor engineer John Sinks - guitar technician Clint Lockyer - stick/drum technician Dave Newton - stage manager, keyboard/guitar technician Haruki Kaito - light and stage design Phil Wiffen - light operator Tim Hook - tour manager visual staff David Sylvian - art director Yuka Fuji - art director, visual projects co-ordinator Russell Mills - design Michael Webster - design assistance Masataka Nakano - artwork Shinro Ohtake - artwork (details) Kevin Westenburg - photography (live) References External links David Sylvian's discography - albums Robert Fripp albums 1994 live albums Collaborative albums Albums produced by Robert Fripp Albums produced by David Bottrill David Sylvian live albums Virgin Records live albums
Valérie Cazeneuve called Ève de Castro (1961) is a French writer, novelist and screenwriter, a winner of the Prix des libraires in 1992, the Prix des Deux Magots and the Prix Maurice Genevoix in 1996. Work Novels 1987: Les Bâtards du soleil, éditions Orban 1991: La Galigaï, éditions Orban 1992: Ayez pitié du cœur des hommes, éditions Jean-Claude Lattès – Prix des libraires 1994: Soleils amers, éditions Jean-Claude Lattès 1996: Nous serons comme des dieux, Albin Michel – Prix des Deux Magots and Prix Maurice Genevoix 1998: Le Soir et le Matin suivant, éditions Albin Michel 2001: Le Peseur d'âme, éditions Albin Michel 2006: La Trahison de l'ange, éditions Robert Laffont 2010: Cet homme-là, éditions Robert Laffont 2012: Le Roi des ombres, éditions Robert Laffont – Grand prix littéraire of the (2013) 2013: Enfant roi, Plon 2014: Joujou, éditions Robert Laffont 2015: Nous, Louis, roi, éditions L'Iconoclaste Scripts 2000: Le Roi danse by Gérard Corbiau (in collaboration with Gérard and Andrée Corbiau) 2001: (TV) by (in collaboration with Natalie Carter) 2010: (TV) by Raoul Peck (in collaboration with ) 2011: Fort comme la mort (TV) by Gilles Banier External links Interview. Ève de Castro : Un regard différent sur la fin de Louis XIV "Enfant roi", d'Eve de Castro interview 20th-century French non-fiction writers 21st-century French non-fiction writers French women screenwriters French screenwriters Prix des libraires winners Prix des Deux Magots winners 1961 births Living people 20th-century French women writers 21st-century French women writers
Ivanava (; ; ; , romanized: Yàneve) is a town in Brest Region, Belarus. It serves as the administrative center of Ivanava District. As of 2023, it has a population of 16,272. History First mentioned in the 14th century, initially it was a village named Porkhovo. In 1423 it was granted by the king Władysław Jagiełło to the cathedral in Lutsk. Renamed to Janów, in 1465 it was granted with city rights. A small town in Polesia, it shared the fate of the region. On May 16, 1657 it was the seat of the martyrdom of Saint Andrzej Bobola. Annexed by Russia during the Partitions of Poland in 1795, the town did not develop much, mostly because of the proximity of much more populous town of Pinsk. At the end of the 19th century it had circa 3000 inhabitants, mostly peasants and workers in a local minor textile works. Between 1915 and 1918 occupied by Germany, in 1919 it was transferred to Poland. During the Polish-Bolshevik War it was briefly occupied by the Russians between July and October 1920. After retaken by Poland, the town was the centre of mobilization of Gen. Jarosławcew's 3rd Volga Infantry Division, part of Gen. Stanisław Bułak-Bałachowicz's forces. Between the wars, the town remained a minor and rather non-notable centre of commerce in the area. In 1926 it was linked with the world by a new railroad. This however did not lead to fast development as the industry preferred other regions of Poland. In 1939, the town was retaken by the Soviet Union and annexed to the Byelorussian Soviet Socialist Republic. On June 27, 1941 the town was occupied by Nazi Germany. During the German occupation most of the Jewish inhabitants of the area were murdered in the Holocaust. On January 22, 1943 30 locals were murdered as a reprisal for Ponury's action against the Gestapo prison in Pinsk (see 1943 Pinsk Prison Raid). In July 1944 the town was liberated by the Soviet 61st Army. A seat of a rayon between 1954 and 1962 and again from 1965, since 1991 the town is part of independent Belarus. References External links Photos on Radzima.org Pre-war photos of Janów Poleski Janów on a lithography by Napoleon Orda Janów-Kamień Koszyrski railroad as of 1926 Towns in Belarus Populated places in Brest Region Brest Litovsk Voivodeship Kobrinsky Uyezd Polesie Voivodeship Holocaust locations in Belarus Historic Jewish communities in Belarus Ivanava District
```smalltalk /* This file is part of the iText (R) project. Authors: Apryse Software. This program is offered under a commercial and under the AGPL license. For commercial licensing, contact us at path_to_url For AGPL licensing, see below. AGPL licensing: This program is free software: you can redistribute it and/or modify (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the along with this program. If not, see <path_to_url */ using iText.Bouncycastle.Math; using iText.Commons.Bouncycastle.Cert; using iText.Commons.Bouncycastle.Math; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.X509; using System; namespace iText.Bouncycastle.X509 { public class X509CrlEntryBC : IX509CrlEntry { private X509CrlEntry entry; public X509CrlEntryBC(X509CrlEntry entry) { this.entry = entry; } public CRLReason GetReason() { Asn1OctetString reasonExt = entry.GetExtensionValue(new Org.BouncyCastle.Asn1.DerObjectIdentifier("2.5.29.21")); if (reasonExt == null) return CRLReason.UNSPECIFIED; var reasonEnum = DerEnumerated.GetInstance(reasonExt.GetOctets()); return (CRLReason)reasonEnum.IntValueExact; } public DateTime GetRevocationDate() { return entry.RevocationDate; } public IBigInteger GetSerialNumber() { return new BigIntegerBC(entry.SerialNumber); } } } ```
"Days of Future Past" is a storyline in the Marvel Comics comic book The Uncanny X-Men issues #141–142, published in 1981. It deals with a dystopian future in which mutants are incarcerated in internment camps. An adult Kate Pryde transfers her mind into her younger self, the present-day Kitty Pryde, who brings the X-Men to prevent a fatal moment in history that triggers anti-mutant hysteria. The storyline was produced during the franchise's rise to popularity under the writer/artist team of Chris Claremont, John Byrne and Terry Austin. The dark future seen in the story has been revisited numerous times, and was the basis for the 2014 similarly titled feature film X-Men: Days of Future Past, wherein Wolverine is sent back in time. In 2001, fans voted the first issue of this storyline as the 25th greatest Marvel comic. The Official Handbook to the Marvel Universe: Alternate Universes 2005 gave the numerical designation for the original "Days of Future Past" timeline as Earth-811 in the Marvel Multiverse. Plot The storyline alternates between the present year of 1980 and the future year of 2013. In the future, Sentinels rule a dystopian United States, and mutants are hunted and placed in internment camps. Having conquered North America and hunted all mutants and other superhumans, the Sentinels are turning their attention to the rest of the world. On the eve of a feared nuclear holocaust, the few remaining X-Men, while making a desperate attempt to stop the Sentinels, send Kitty Pryde's mind backward through time, to possess the body of her younger-self and to prevent a pivotal event in mutant–human history and the cause of these events: the assassination of Senator Robert Kelly along with Charles Xavier and Moira MacTaggert by Mystique's newly reassembled Brotherhood of Evil Mutants. Working with the present-day X-Men, Kitty Pryde's future-self succeeds in her mission and is pulled back to her own time, while her present-day-self is returned with no memory of any interim. The world of 2013 is not shown again in this story arc; the present-day X-Men are left to ponder whether their future dystopia has been averted or simply delayed. Background and creation John Byrne devised the plot for "Days of Future Past", since he wanted to do a story featuring the Sentinels and his collaborator Chris Claremont had no interest in coming up with one. Years later, Byrne said, he realized that he had unconsciously lifted the "spine" of the plot from the 1972 Doctor Who serial Day of the Daleks. Sequels Though Byrne had intended "Days of Future Past" to be a completely self-contained story, with the future world seen in the story no longer existing even as an alternate timeline following the conclusion, a number of stories have revisited this future and even acted as outright sequels. Rachel Summers, a character seen in the future segments of "Days of Future Past", later travels through time to the present day and joins the X-Men. A supervillain, Ahab, follows her to the present in the "Days of Future Present" crossover. In this story, Ahab kidnaps the children Franklin Richards (son of Mister Fantastic and the Invisible Woman and, in the future timeline, Rachel's lover) and Nathan Summers (son of Cyclops and Madelyne Pryor) but is defeated by the X-Men, X-Factor, the New Mutants and the Fantastic Four. Rachel joins the European mutant team Excalibur, whose series twice revisited the "Days of Future Past" timeline. The first time was in a story by Alan Davis entitled "Days of Future Yet To Come", in which a time-traveling Excalibur and several Marvel UK heroes overthrow the Sentinel rulers of future America. This storyline also reveals that Excalibur's robotic "mascot" Widget had been possessed by the spirit of the future Kitty Pryde. A similar but distinct reality is seen in a vision by her teammate Captain Britain. This story, "Days of Future Tense", reveals the final fate of that timeline's Excalibur team. A prelude to "Days of Future Past" was produced in a three-part mini-series entitled "Wolverine: Days of Future Past". This three-issue mini dealt with ramifications between the catalyst for the creation of the alternative future up until the main storyline in Uncanny X-Men 141–142. The prelude explains why Logan leaves for Canada and why Magneto is in a wheelchair in the main two issue story. Another view of this reality was presented in the second issue of Hulk: Broken Worlds. A short story, "Out of Time", examines the life of Bruce Banner (the Hulk) in a Sentinel prison camp. Secret Wars (2015) A sequel based on the original storyline written by Marguerite Bennett, Years of Future Past, was released in June 2015, featuring the "Days of Future Past" timeline depicted in the 2015 "Secret Wars" storyline. The setting on Battleworld is called the Sentinel Territories. Major characters in the series include Christina Pryde and Cameron, the children of Kate Pryde and Colossus. In other media Television The "Days of Future Past" storyline was adapted in the X-Men animated series. The storyline concepts were combined with another alternative future story—that of Bishop and the idea of a traitor within the ranks of the X-Men, though Mystique is still responsible for Senator Kelly's assassination. Bishop plays the role of Kitty Pryde in the adaptation—albeit traveling completely back in time instead of just projecting his mind into his past self—while the 'traitor' is 'revealed' to be Gambit, with the X-Men's interference revealing that Mystique had killed Senator Kelly while in Gambit's appearance to try and frame the X-Men. The series Wolverine and the X-Men has a similar storyline, in which Professor X is in a coma for 20 years, and awakens to find that the mutants are imprisoned by the Sentinels. He telepathically connects with the X-Men of the past to try to prevent that future from happening. By the end of the first season, the Sentinel-dominated future was averted. However, a future based on "Age of Apocalypse" appeared in its place. The series stopped production before the second season revolving around this could be made. A Days of Future Past incarnation appeared in The Super Hero Squad Show episode "Days, Nights, and Weekends of Future Past". A Madland level based on "Days of Future Past" appears in the Ultimate Spider-Man episode "Game Over". Mutant Arcade designs the level under the basis of Sentinels being used to destroy mutants. The scenario features a shot of Wolverine being blasted by a Sentinel in an homage to the cover of Uncanny X-Men No. 142. Hulk and the Agents of S.M.A.S.H. features a five-part episode entitled Days of Future Smash, which consists of the Hulk chasing the Leader throughout numerous events of time and space. The episode's title is a reference to Days of Future Past. A future resembling that in Days of Future Past can be briefly glimpsed in the Moon Girl and Devil Dinosaur episode "Skip This Ad...olescence", as Moon Girl is accidentally sent to her future body by her time traveling app. The scene itself homages the cover of Uncanny X-Men #141. Executive producer Steve Loter later hinted on his Twitter account that the scene foreshadowed elements from the series' planned storyline. Film X-Men: Days of Future Past is a sequel to First Class. Numerous actors from the franchise returned, including Hugh Jackman, Halle Berry, Ian McKellen, Patrick Stewart, James McAvoy, Michael Fassbender, Anna Paquin, Elliot Page, Shawn Ashmore, Daniel Cudmore, Nicholas Hoult, Jennifer Lawrence, and Lucas Till. Newcomers Peter Dinklage, Omar Sy, Adan Canto, Fan Bingbing, Booboo Stewart and Evan Peters were also signed to play Bolivar Trask, Bishop, Sunspot, Blink, Warpath and Quicksilver, respectively. Although Wolverine is the one who is actually sent backward in time to his "younger" body, director Bryan Singer described Pryde as the prime facilitator and it is Pryde's phasing ability that enables time travel to happen. In this film, the catalyst for the Sentinel-dominated future was Mystique's assassination of Bolivar Trask and her subsequent capture, with analysis of her DNA allowing humanity to devise Sentinels capable of adapting to any mutant power. After Shadowcat learns how to use her abilities to 'phase' someone into their past self, Xavier and Magneto decide to have her send someone back in time to the year 1973 to prevent Mystique from killing Trask, with Wolverine being selected as he is the only one who can survive the process due to his regenerative healing factor. Upon arriving in 1973, Wolverine locates the past versions of Xavier, Hank McCoy, and Magneto and convinces them to help him prevent their extinction. Although Magneto nearly jeopardizes the plan when he tries to kill Mystique and takes control of the Sentinels as part of his own plan to save the mutant race, Xavier is able to convince Mystique to spare Trask, resulting in her being publicly shown defending President Richard Nixon from Magneto. As a result, Mystique is hailed as a hero, the Sentinel program is scrapped, and Trask is arrested for selling his designs to foreign nations. The film ends with Wolverine waking up in a revised, idyllic future in which the war with the Sentinels never happened and all of the X-Men are still alive. Video games Ultimate Marvel vs. Capcom 3 has a "Days of Future Past"-inspired stage serving as an alternative to the standard Metro City stage, with an "Apprehended"/"Slain" poster similar to the famous one, featuring characters from both Marvel and Capcom that starred in Marvel vs. Capcom 2: New Age of Heroes, but did not return for the Marvel vs. Capcom 3 games. Taking the place of the playable Wolverine is Mega Man. To coincide with the release of the film, GlitchSoft, a mobile app developer, released The Uncanny X-Men: Days of Future Past for iOS and Android devices. The game is a side-scrolling 2-D action adventure, with a storyline closer to the original comic book, than the one portrayed in the film. Initially players will be able to control Wolverine, and as they advance further in the game, they will be able to choose between Kitty Pryde, Colossus, Scarlet Witch and Cyclops, with Storm, Polaris and Magneto announced as additional characters, each one with different powers and abilities, which is upgradable as the player progress in the game, by obtaining experience points. The ending of the X-Men Origins: Wolverine video game is set in a not so distant future in which Wolverine (in an X-Men costume) breaks free from captivity by Bolivar Trask to discover Sentinels have taken over the world. Novel A novelization of the comic version of "Days of Future Past" by Alex Irvine was released in May 2014 by Marvel Comics that tied into the release of the film, X-Men: Days of Future Past. It essentially follows the plot of the original comic storyline, but with two particular changes to the events set in the future: Magneto survives the escape of the Sentinel camp and hides until his powers are restored to the point that he can annihilate the remaining Sentinels, and Kitty is conscious in the body of her future self rather than remaining comatose until she is returned to her own time. In popular culture In "Genesis", the first episode of the television series Heroes, the character of Hiro Nakamura cites Kitty's traveling through time as teaching him about the concepts of time travel. Hiro states that the comic taught him that time is a circle, even though it actually insinuated that time branched. The episode "Five Years Gone" was a further homage to the story, featuring Hiro and his friend Ando travelling into a future where New York has been destroyed and people with abilities are being hunted, forcing them to travel back into the past to prevent the original explosion. Collected editions Days of Future Past (TPB) collects X-Men #138–141, The Uncanny X-Men #142–143 and X-Men Annual No. 4 Days of Future Past (graphic novel) collects X-Men No. 141 and The Uncanny X-Men No. 142 Essential X-Men Vol. 2 collects X-Men #120–141, The Uncanny X-Men #142–144 See also Multiverse (Marvel Comics) References Fiction set in 1980 Fiction set in 2013 Comics set in the 1980s Comics set in the 2010s Comics by Chris Claremont Comics by John Byrne (comics) Marvel Comics dimensions Comics about time travel Science fiction comics Dystopian comics Marvel Comics adapted into films Fiction about assassinations Comics based on Doctor Who
Boureima "Vieux" Farka Touré (born 1981) is a Malian singer and guitarist. He is the son of Malian musician Ali Farka Touré. Biography Touré was born in Niafunké, Mali in 1981 to Ali Farka Touré. Despite his father's discouragement and his family's lineage as a tribe of soldiers, Touré secretly took up the guitar and enrolled in the Institut National des Arts in Bamako, Mali. In 2005, Eric Herman of Modiba expressed interest in producing an album for Touré; to do so, he had to acquire permission from Ali Touré, Toumani Diabaté, and other community elders. This led to his self-titled debut album, produced by Modiba and released by World Village on 12 February 2007. The album featured Toumani Diabaté as well as his late father, who died in 2006. Following the release of a remix album, UFOs Over Bamako in 2008, and multiple tours, Vieux released his second studio album in May 2009. Fondo peaked at #5 on Billboard's World Albums chart the week of 11 July 2009 and was included in the Village Voice's Top 100 list for 2009. In June 2010, Vieux was invited to perform at the Opening Celebration of the 2010 FIFA World Cup; other performers included Shakira, Alicia Keys and K’naan. That month, Vieux also released his first live album, LIVE. Vieux released his third studio album, The Secret, on 24 May 2011. The album was produced by Soulive guitarist Eric Krasno and features Dave Matthews, Derek Trucks, and John Scofield. It also features the last collaboration between Touré and his late father. The album reached the No. 1 spot on CMJ's New World chart on 10 June 2011. Vieux's fourth studio album, Mon Pays, was released by Six Degrees Records on 28 May 2013. The title, French for 'My Country,' refers to his native Mali, and serves as a reminder of its beauty and culture, even in the midst of the territorial conflict between Tuareg and Islamic populations that have threatened it since January 2012. Samba was released in spring 2017. It was recorded in front of a live studio audience in Woodstock, NY. The title "Samba" has nothing to do with the Brazilian style of music; as the second boy in his family Vieux was always called "samba," meaning "second boy" in Songhai, Additionally, the featured song “Samba Si Kairi" is named after a song his father and grandfather would sing while he played the calabash. Dominic Valvona of Monolith Cocktail praises the work, writing, "This is the devotional, earthy soul of Mali, channeled through a six-string electric guitar." On 10 June 2022, Touré released his sixth solo album, Les Racines, on World Circuit. 'Les Racines' translates to 'the roots', a nod to the album returning to the desert blues roots of Touré's father, Ali Farka Touré. The album was recorded in Touré's home studio in Bamako and features a number of Malian musicians such as Amadou Bagayoko from Amadou & Mariam, Mamadou Sidiki Diabaté, and Madou Traore. In September 2022, Vieux released a cover album of some of his father's songs called Ali on Dead Oceans, collaborating with Houston-based group Khruangbin. The Touré-Raichel Collective A chance meeting at an airport in Germany with Israeli singer-songwriter Idan Raichel led to an impromptu get together at a small studio in Tel Aviv in November 2010. Joined by Israeli bassist Yossi Fine and Malian calabash player Souleymane Kane, this recording session – acoustic, spontaneous and entirely improvised – resulted in the birth of The Touré-Raichel Collective. The group's debut album, The Tel Aviv Session, was released by Cumbancha on 27 March 2012. The Touré-Raichel Collective completed a North American tour in spring 2012 and European tours in autumn 2012 and spring 2013. In 2014, the pair released a second record, The Paris Session, that the New York Times notes "has tracks ranging from a prayer sung in Hebrew to love songs in Bambara, French and Songhai (all languages spoken in Mali)." See also African fingerstyle guitar African music Discography Vieux Farka Touré (2007) Vieux Farka Touré Remixed: UFOs Over Bamako (2008) Fondo (2009) LIVE (2010) The Secret (2011) Mon Pays (2013) Touristes (with Julia Easterlin) (2015) Samba (2017) Les Racines (2022) Ali (with Khruangbin) (2022) With the Touré-Raichel Collective The Tel Aviv Session (2012) The Paris Session (2014) References External links 1981 births Living people Malian guitarists Malian musicians People from Bamako 21st-century guitarists Six Degrees Records artists 21st-century Malian people
Aashiqui () is a 1990 Indian Hindi musical romantic drama film and first installment of Aashiqui series directed by Mahesh Bhatt, starring Rahul Roy, Anu Aggarwal and Deepak Tijori in pivotal roles. The film was known for its music, by composer duo Nadeem–Shravan (Nadeem Akhtar Saifi and Shravan Kumar Rathod) establishing their careers along with that of singer Kumar Sanu and music label T-Series. Upon release, it received positive reviews and emerged as a commercial success. The soundtrack album has been rated fourth by Planet Bollywood on their "100 Greatest Bollywood Soundtracks". It was the best selling Bollywood album at the time of its release. At the 36th Filmfare Awards, the film received 7 nominations and won 4 awards with a sweep in the music categories. The film was remade in Kannada as Roja (2002). The soundtrack album sold 20million units, making it the best-selling Bollywood soundtrack album of all time. A cover version of one of its songs, "Dheere Dheere" was later performed by Yo Yo Honey Singh and released in 2015. A sequel to the film, Aashiqui 2, with a completely new theme, directed by Mohit Suri with Aditya Roy Kapur and Shraddha Kapoor, was released on 26 April 2013. Sequels A sequel titled Aashiqui 2 was released on 26 April 2013 with Aditya Roy Kapur and Shraddha Kapoor in the lead roles, which was directed by Mohit Suri. Commercially, the sequel surpassed the collections of Aashiqui, becoming a blockbuster. After the success of the first two installments, the producers announced a third installment, as Aashiqui 3 directed by Anurag Basu. Kartik Aaryan in lead role and the actress has not been announced yet. Plot Rahul (Rahul Roy) is angry with his dad for marrying a second wife, while his mother is still alive; in rage and in fury he pays an uninvited visit to the wedding where he throws his mother's mangalsutra and all the other household items she preserved. He breaks the windows of the wedding car and is hence arrested and sent to the nearest police station. Meanwhile, Anu (Anu Aggarwal) runs away from an oppressive girls' hostel run by Arnie Campbell (Tom Alter), who immediately reports to the police station that she is missing. The police catch her and keep her at a nearby police station (which happens to be the same one where Rahul is held). While waiting for Arnie, Rahul offers Anu his jacket, which she accepts. Arnie then arrives and takes her back to the oppressive hostel, promising the police inspector that this will not happen again. After they leave, the inspector turns to Rahul and offers him some advice, then releases him to return to his broken home. Rahul can not stop thinking about the beautiful Anu. The very next day, Rahul goes to the hostel area wishing to meet her and spots his jacket hanging outside. Since she lives in a girl's hostel there is no way he can enter. Hence, he plays cricket with his friend and deliberately hits the ball into the compound. The security lets him inside to retrieve the ball. Rahul goes inside and sees Anu climbing a ladder. She is very surprised by his presence and falls off the ladder. Rahul is unable to express his feelings for her so he wrote a note on the electricity bill his mother told him to pay that very day. Anu takes the note and leaves. His mother becomes upset that Rahul did not pay the bill and asks his Master (tailor) to help get the bill back. The tailor helps Rahul retrieve the bill, along with a reply from Anu requesting him to meet her at the main city library the following Saturday. He arrives on time eagerly, where Anu tells him she has nothing to give him except a "thank you", but Rahul says no one can stop him from loving her, not even herself. Soon after he leaves, Arnie catches her and takes her to Ooty (another town) to be admitted to another hostel. Rahul employs a spy to eavesdrop and see where Anu is going. The spy learns about Anu's travel plans and informs Rahul, who goes along with his friend to search for Anu and finds the place she is staying. They find out that Arnie actually planned to get Anu married and lied to her about transferring her to a new hostel, because she would not have agreed. At the hostel, Arnie organises a farewell party for Anu and Anu invites Rahul, who promises to attend the party. After the party they plan to elope. At the party, he runs away with Anu and then Arnie catches them by using the police. Anu has to return with Arnie and go to Ooty, while Rahul returns to his home. After a few months, Rahul approaches Mr. Arnie as he can not forget his friend Anu, who he knows is unhappy. Rahul then finds out from Arnie that Anu is an orphan who has a distant relative in Ooty named Uncle Peter who is an alcoholic. Long long ago, Peter had signed the documents to have full custody over her. Rahul asks Arnie about Anu's whereabouts and other details so that he could help her settle (and be more happy) and Arnie (wanting to help Anu) reveals everything. They both find Anu in a miserable state with Uncle Peter and bribe the uncle for a sum of 20,000 rupees on the condition that he signs documents giving up his legal guardianship of Anu. After Anu is finally free from Arnie, the hostel and Uncle Peter, she wishes to become self-reliant and seeks admission in a typing institute. One day, she comes across a job advert searching for a model to run for "Jean Cardin" brand of clothes in Mumbai who requests Anu to audition. Anu agrees and wins a sum of 10,000 rupees along with a free tour of Paris and a secured residence. She thanks Rahul for all his help, but Rahul tells her that he loves her deeply and wants to marry her as soon as possible. Anu agrees, but she says she will need some time to prepare. Rahul's mother (Reema Lagoo), on hearing their story visits Anu and offers some advice, as she knows Anu is a lonely orphan, advising her not to marry him until he achieves something in life as equality of status between partners is essential for a healthy relationship. The next day, Rahul comes to the place where Anu is having a photo shoot session. He hears the man in charge telling her to change into a swimming costume, to which Rahul objects. He tells him that they were planning to get married soon and he disapproves of such revealing clothes. He is even more shocked when he learns that Anu already signed a contract promising she would not get married for two years. Rahul is heartbroken by her decision and pens Anu a letter written with his blood. As the years go by, Rahul establishes himself as a singer while Anu is also successful as a model. Rahul plans to meet Anu now, but Padamsee (Homi Wadia) reveals to Rahul that it's thanks to Anu that his debut record was released to market, which hurts Rahul deeply as he now doubts his own mettle and talent. Hence, Rahul cancels their marriage plans. Anu, grieved by Rahul's decision, decides to further her career under director Padamsee, who persuades her to accompany him to Paris. Rahul's mother enlightens him that Anu had refused to marry him earlier because of her suggestion, and that Anu was only a medium for his talent to reach the public - it was his singing that made him successful and popular. She urges him to go back to Anu, his true love. When Rahul comes to stop her from boarding the flight, Anu agrees to abandon the director and stays behind to renew their relationship. Cast Rahul Roy as Rahul Roy Anu Aggarwal as Anu Verghese Deepak Tijori as Balu Avtar Gill as Police Inspector Deshpande Tom Alter as Arnie Campbell Reema Lagoo as Rahul's mother Homi Wadia as Padamsee Mushtaq Khan as Rafoo Master Javed Khan as Uncle Peter Anang Desai as Mr. Paul Virendra Saxena as Street Singer Sunil Rege as Vikram Roy Kumar Sanu as a villain Reception Aashiqui was credited as an all-time blockbuster at the Box-Office in 1990 mainly due to its melodious music. With a low budget of 80 lakh Indian Rupees, it grossed 5.0 crores Indian Rupees at Box-Office, with the shows running to full houses for 52 weeks. Awards and nominations Soundtrack The music for Aashiqui was composed by the duo Nadeem–Shravan (Nadeem Akhtar Saifi and Shravan Kumar Rathod) and lyrics were written by Sameer, Rani Mallik and Madan Pal. The soundtrack largely falls under the filmi-ghazal genre, based on the ghazal style. The soundtrack was #4 on the list of "100 Greatest Bollywood Soundtracks of All Time", as compiled by Planet Bollywood. Sales Aashiqui became the highest-selling album in the history of Indian music industry. In an interview, Bhushan Kumar said that no music album has been able to break the music record of Aashiqui. The soundtrack album sold 2crores units. This made it the best-selling Bollywood soundtrack album of all time, as well as one of the best-selling albums of any genre in India. It had a big impact on Bollywood music, ushering in ghazal-type romantic music that dominated the early 1990s, with soundtracks such as Dil, Saajan, Phool Aur Kaante and Deewana. Initially Aashiqui was a music album planned by Gulshan Kumar on the name CHAAHAT, while Mahesh Bhatt heard the songs he suggested to make a film. Aditya Pancholi gave the voice to Rahul Roy. Reception Rakesh Bandhu of Planet Bollywood gave the album 9 stars saying, "Aashiqui was a success in its own right. It is truly a beautiful collection of compositions by the Nadeem-Shravan." The soundtrack became very popular upon release, becoming the best selling Bollywood soundtrack of the year by a wide margin. Dheere Dheere A cover version of the song "Dheere Dheere Se" was later performed by Indi-pop artist Yo Yo Honey Singh, released as "Dheere Dheere" in 2015. The song's music video features actors Hrithik Roshan and Sonam Kapoor. As of November 2024, the song has received over 700million views on YouTube. References External links 1990 films 1990s Hindi-language films Indian romantic musical films 1990 romantic drama films Films directed by Mahesh Bhatt Films scored by Nadeem–Shravan Films shot in Ooty Indian romantic drama films Indian musical drama films Films with screenplays by Robin Bhatt Films with screenplays by Akash Khurana Hindi-language romance films T-Series (company) films Hindi films remade in other languages Indian film series
Jiří Weiss (29 March 1913 – 9 April 2004) was a Czech film director, screenwriter, writer, playwright and pedagogue. Life Early life Jiří Weiss was born to a wealthy Jewish family in Prague. His father was a Czech patriot and named his son after Czech king Jiří of Poděbrady. His parents were Emil Weiss (1880–1942) and Martha Weissová (née Fuchsová; 1882–1944). Emil Weiss owned a liqueur factory in Libeň district. Since his youth, Jiří was an staunch communist, which was at the heart of disputes with his capitalist parents. As a young boy he was friends with Franz Kafka's niece Marianne Pollaková and thanks to her he was able to read the books of then-unknown writer Kafka in the 1920s. Weiss was interested in studying at film school, but his parents wished he studied law. While still a minor, he left his home and lived with his friend . Weiss started to work as a copywriter in advertising. His father, who disagreed with his life choices and could still make decisions about his underage son, had him institutionalized in a mental hospital. Weiss never spoke to his father ever again. In his early twenties, he started working as a copywriter for the Prague branch of Metro-Goldwyn-Mayer. At this time, he wrote his first book – a story for children O věrné Hadimršce. He befriended leading intellectuals of the Left Front in Prague, including Vladislav Vančura and Ivan Olbracht. In 1934, Vančura invited him to be an assistant cinematographer on his movie Marijka the Faithless, based on Olbracht's book. Filmmaking Weiss was still determined to become a film director. He borrowed a 16mm camera from and inspired by Soviet filmmakers he made his first amateur film about young people canoeing on Sázava river. Lehovec introduced Weiss to Alexandr Hackenschmied, who helped him edit the film at the Baťa film studios in Zlín. Weiss then sent the film to Venice Film Festival where it placed 5th best among 72 amateur movies in 1935. He was approached by Eastman Kodak Company and agreed to exchange the finished film for 900 metres of 35mm film stock. Once again, he borrowed a camera and made a new film with the same theme and the same actors called People in the Sun. He edited the film during nights using the equipment in MGM offices. The film was screened at Kotva cinema in Prague as part of the avant–garde program together with The Blood of a Poet or Un Chien Andalou. Weiss was praised by local critics and was awarded the 10,000 Kčs from the Film department of Ministry of Commerce. In 1936, he was hired at A-B studio in Prague and as the first assignment he made his first professional film Sun Is Shining over Lužnice. Later that year, he directed a short documentary about aviation Give us the Wings (). He then apprenticed with directors Martin Frič and Hugo Haas and continued to make short documentaries. His frequent collaborators were cameraman Václav Hanuš and composer Jiří Srnka. Weiss was in the middle of editing of the feature-length documentary for the 20 year anniversary of Czechoslovakia called Twenty Years of Freedom. After the Munich Agreement the film was canceled. In 1939, after the occupation of Czechoslovakia, he fled to England with the film material and used the footage to make a documentary The Rape of Czechoslovakia with the help of Basil Wright, Paul Rotha and Louis MacNeice. Czech diplomat Jan Masaryk acquired the funding from his English friends. Weiss volunteered for the British Army and was assigned to make war documentaries for Crown Film Unit. He also worked with the Czechoslovak Government in exile. In 1942, he wrote a book Lost Government. On March 13, 1943, Weiss and directed a MacNeice's play A Town without a Name at Royal Albert Hall as a part of the London Calling Prague event. In 1945, he flew with No. 311 Squadron RAF. He made a documentary about them called Night and Day. At the end of the war, he joined 21st Army Group as a front cameraman to film the liberation of France, Belgium and Netherlands. Weiss was present at the liberation of Buchenwald concentration camp. His footage was later used in Alain Resnais' film Night and Fog. He achieved the rank of captain in the British Army. Weiss refused the offer to join the US Army and become a combat cameraman in the Pacific War, because he wanted to go back to liberated Czechoslovakia. He returned to Prague on May 13, 1945. All of his family, including his parents, were murdered in the Holocaust. He made his first full-length feature film The Stolen Frontier in 1947. Weiss, still a devoted communist at this time, turned away from politics during the communist persecutions in the early 1950s. He made his most celebrated movies in the late 1950s and 1960s, including Wolf Trap (1957), Romeo, Juliet and Darkness (1959) and Czechoslovak-British co-production Ninety Degrees in the Shade (1965). After the Warsaw Pact invasion, Weiss left Czechoslovakia and lived in West Berlin, where he taught at a film school. Later he moved to the United States. There he taught film first at Hunter College in New York and later at UCSB. He became an American citizen in 1986. He still continued to write screenplays, but none of them were produced. During this time, he also wrote two plays – The Jewish War (1986) and Berenice (1990). In 1991, he managed to get funding and made his last film Martha and I. The film entered in competition at 47th Venice International Film Festival. In 1985, he met Alexander Payne, then a young film student, and became his life-long friend and mentor. In 1995, Weiss wrote a book of memoirs Bílý Mercedes. Personal life Weiss was married three times. He had two children with his first wife – a daughter Jiřina and a son Jiří. He died in Santa Monica in 2004 and is buried at New Jewish Cemetery in Prague. Selected filmography Feature films The Stolen Frontier (1947) Dravci (1948) The Last Shot (1950) New Warriors Will Arise (1950) My Friend the Gipsy (1953) Doggy and the Four (1954) Life Is at Stake (1956) Wolf Trap (1957) Appassionata (1959) Romeo, Juliet and Darkness (1959) The Coward (1961) Golden Fern (1963) Ninety Degrees in the Shade (1965) Murder Czech Style (1967) Martha and I (1991) Documentaries People in the Sun (1935) Sun Is Shining over Lužnice (1936) Give us the Wings (1936) Sea of Air (1937) A Song About Carpathian Ruthenia (1937) The Illusion Factory (1938) Journey from the Shadows (1938) The Rape of Czechoslovakia (1939) – Lyrical documentary about pre-WWII Czechoslovakia and Nazi invasion. Narrated by Cecil Day-Lewis. Secret Allies (1939) Eternal Prague (1940) Home Front (1941) 100 Million Women (1942) The Other RAF (1942) Fighter Pilot (1943) Before the Raid (1943) – Docudrama about Norwegian fishermen resistance members. Written by Laurie Lee. Night and Day (1945) – Documentary about No. 311 Squadron RAF We Will Remain Faithful (1945) Song about Slet (1948) – Two-part documentary about Sokol XI slet festival Awards and nominations Venice Film Festival Wolf Trap (1957) - 19th Venice International Film Festival Won: FIPRESCI Award Won: New Cinema Award Nominated: Golden Lion Golden Fern (1963) - 24th Venice International Film Festival Nominated: Golden Lion Martha and I (1991) - 47th Venice International Film Festival Nominated: Golden Lion Berlin International Film Festival Ninety Degrees in the Shade (1965) - 15th Berlin International Film Festival Won: UNICRIT Award San Sebastian International Film Festival Romeo, Juliet and Darkness (1959) Won: Golden Shell Murder Czech Style (1967) Won: Silver Shell Golden Globe Awards Ninety Degrees in the Shade (1965) - 23rd Golden Globe Awards Nominated: Best English-Language Foreign Film Bibliography References External links 100 Million Women (1942) on Imperial War Museum website Fighter Pilot (1943) on Imperial War Museum website Night and Day (1945) on Imperial War Museum website A recorded interview with Jiří weiss about his RAF films - Imperial War Museum, 1990 1913 births 2004 deaths Czechoslovak film directors Czech film directors Czech screenwriters Male screenwriters Czech male writers Czech documentary filmmakers Czech dramatists and playwrights Czech children's writers Jewish dramatists and playwrights Jewish Czech writers Czech Jews Czechoslovak Jews Czechoslovak emigrants to the United States Czechoslovak emigrants to Germany Hunter College faculty University of California, Santa Barbara faculty 20th-century screenwriters
```objective-c //===- MSFCommon.h - Common types and functions for MSF files ---*- C++ -*-===// // // See path_to_url for license information. // //===your_sha256_hash------===// #ifndef LLVM_DEBUGINFO_MSF_MSFCOMMON_H #define LLVM_DEBUGINFO_MSF_MSFCOMMON_H #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/BitVector.h" #include "llvm/Support/Endian.h" #include "llvm/Support/Error.h" #include "llvm/Support/MathExtras.h" #include <cstdint> #include <vector> namespace llvm { namespace msf { static const char Magic[] = {'M', 'i', 'c', 'r', 'o', 's', 'o', 'f', 't', ' ', 'C', '/', 'C', '+', '+', ' ', 'M', 'S', 'F', ' ', '7', '.', '0', '0', '\r', '\n', '\x1a', 'D', 'S', '\0', '\0', '\0'}; // The superblock is overlaid at the beginning of the file (offset 0). // It starts with a magic header and is followed by information which // describes the layout of the file system. struct SuperBlock { char MagicBytes[sizeof(Magic)]; // The file system is split into a variable number of fixed size elements. // These elements are referred to as blocks. The size of a block may vary // from system to system. support::ulittle32_t BlockSize; // The index of the free block map. support::ulittle32_t FreeBlockMapBlock; // This contains the number of blocks resident in the file system. In // practice, NumBlocks * BlockSize is equivalent to the size of the MSF // file. support::ulittle32_t NumBlocks; // This contains the number of bytes which make up the directory. support::ulittle32_t NumDirectoryBytes; // This field's purpose is not yet known. support::ulittle32_t Unknown1; // This contains the block # of the block map. support::ulittle32_t BlockMapAddr; }; struct MSFLayout { MSFLayout() = default; uint32_t mainFpmBlock() const { assert(SB->FreeBlockMapBlock == 1 || SB->FreeBlockMapBlock == 2); return SB->FreeBlockMapBlock; } uint32_t alternateFpmBlock() const { // If mainFpmBlock is 1, this is 2. If mainFpmBlock is 2, this is 1. return 3U - mainFpmBlock(); } const SuperBlock *SB = nullptr; BitVector FreePageMap; ArrayRef<support::ulittle32_t> DirectoryBlocks; ArrayRef<support::ulittle32_t> StreamSizes; std::vector<ArrayRef<support::ulittle32_t>> StreamMap; }; /// Describes the layout of a stream in an MSF layout. A "stream" here /// is defined as any logical unit of data which may be arranged inside the MSF /// file as a sequence of (possibly discontiguous) blocks. When we want to read /// from a particular MSF Stream, we fill out a stream layout structure and the /// reader uses it to determine which blocks in the underlying MSF file contain /// the data, so that it can be pieced together in the right order. class MSFStreamLayout { public: uint32_t Length; std::vector<support::ulittle32_t> Blocks; }; /// Determine the layout of the FPM stream, given the MSF layout. An FPM /// stream spans 1 or more blocks, each at equally spaced intervals throughout /// the file. MSFStreamLayout getFpmStreamLayout(const MSFLayout &Msf, bool IncludeUnusedFpmData = false, bool AltFpm = false); inline bool isValidBlockSize(uint32_t Size) { switch (Size) { case 512: case 1024: case 2048: case 4096: return true; } return false; } // Super Block, Fpm0, Fpm1, and Block Map inline uint32_t getMinimumBlockCount() { return 4; } // Super Block, Fpm0, and Fpm1 are reserved. The Block Map, although required // need not be at block 3. inline uint32_t getFirstUnreservedBlock() { return 3; } inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { return divideCeil(NumBytes, BlockSize); } inline uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) { return BlockNumber * BlockSize; } inline uint32_t getFpmIntervalLength(const MSFLayout &L) { return L.SB->BlockSize; } /// Given an MSF with the specified block size and number of blocks, determine /// how many pieces the specified Fpm is split into. /// \p BlockSize - the block size of the MSF /// \p NumBlocks - the total number of blocks in the MSF /// \p IncludeUnusedFpmData - When true, this will count every block that is /// both in the file and matches the form of an FPM block, even if some of /// those FPM blocks are unused (a single FPM block can describe the /// allocation status of up to 32,767 blocks, although one appears only /// every 4,096 blocks). So there are 8x as many blocks that match the /// form as there are blocks that are necessary to describe the allocation /// status of the file. When this parameter is false, these extraneous /// trailing blocks are not counted. inline uint32_t getNumFpmIntervals(uint32_t BlockSize, uint32_t NumBlocks, bool IncludeUnusedFpmData, int FpmNumber) { assert(FpmNumber == 1 || FpmNumber == 2); if (IncludeUnusedFpmData) { // This calculation determines how many times a number of the form // BlockSize * k + N appears in the range [0, NumBlocks). We only need to // do this when unused data is included, since the number of blocks dwarfs // the number of fpm blocks. return divideCeil(NumBlocks - FpmNumber, BlockSize); } // We want the minimum number of intervals required, where each interval can // represent BlockSize * 8 blocks. return divideCeil(NumBlocks, 8 * BlockSize); } inline uint32_t getNumFpmIntervals(const MSFLayout &L, bool IncludeUnusedFpmData = false, bool AltFpm = false) { return getNumFpmIntervals(L.SB->BlockSize, L.SB->NumBlocks, IncludeUnusedFpmData, AltFpm ? L.alternateFpmBlock() : L.mainFpmBlock()); } Error validateSuperBlock(const SuperBlock &SB); } // end namespace msf } // end namespace llvm #endif // LLVM_DEBUGINFO_MSF_MSFCOMMON_H ```
The following television stations broadcast on digital channel 32 in the United States: K32AB-D in Yuma, Colorado, on virtual channel 4, which rebroadcasts KCNC-TV K32AG-D in Parowan, Enoch, etc., Utah K32CA-D in Battle Mountain, Nevada K32CC-D in Montgomery Ranch, etc., Oregon K32CJ-D in Ely, Nevada K32CQ-D in Shurz, Nevada K32CW-D in Montrose, Colorado K32DC-D in Kanab, Utah, on virtual channel 4, which rebroadcasts KTVX K32DE-D in Pendleton, Oregon K32DK-D in Watertown, South Dakota K32DW-D in Chloride, Arizona K32DY-D in Medford, Oregon K32EB-D in Alexandria, Minnesota, on virtual channel 9, which rebroadcasts KMSP-TV K32EH-D in Memphis, Texas K32EM-D in Morongo Valley, California, on virtual channel 32 K32EX-D in Peetz, Colorado, on virtual channel 9, which rebroadcasts KUSA K32EY-D in Dove Creek, etc., Colorado, on virtual channel 27, which rebroadcasts K26CI-D K32FI-D in Yoncalla, Oregon K32FW-D in Pierre, South Dakota K32FY-D in Park Rapids, Minnesota, on virtual channel 42, which rebroadcasts KSAX K32GB-D in Agana, Guam K32GD-D in Guymon, Oklahoma K32GK-D in Elko, Nevada K32GW-D in Carson City, Nevada K32GX-D in St. James, Minnesota K32HA-D in Bonners, Idaho K32HF-D in Florence, Oregon K32HH-D in Kalispell, Montana K32HK-D in Morgan, etc., Utah, on virtual channel 5, which rebroadcasts KSL-TV K32HL-D in Rulison, Colorado K32HP-D in Hanna, etc., Utah K32HQ-D in Boulder, Utah K32HV-D in Vernal, etc., Utah, on virtual channel 7, which rebroadcasts KUED K32HX-D in Duchesne, Utah, on virtual channel 5, which rebroadcasts KSL-TV K32IA-D in Manila, etc., Utah K32IC-D in Altus, Oklahoma K32IF-D in North Fork, etc., Wyoming K32IG-D in Ellensburg, etc., Washington K32IJ-D in Cortez, Colorado K32IK-D in San Luis Valley, Colorado K32IS-D in Henefer, etc., Utah K32IT-D in Coalville and adjacent area, Utah K32IU-D in Wanship, Utah K32IX-D in Lihue, Hawaii K32IZ-D in Scofield, Utah K32JB-D in Fountain Green, Utah K32JI-D in Emery, Utah K32JL-D in Powers, Oregon K32JN-D in Big Piney, etc., Wyoming K32JQ-D in Manhattan, Kansas K32JT-D in Farmington, New Mexico K32JU-D in Tampico, etc., Montana K32JW-D in Fillmore, etc., Utah K32JZ-D in Kabetogama, Minnesota K32KC-D in Montpelier, Idaho K32KO-D in Garden Valley, Idaho K32KP-D in Black Butte Ranch, Oregon K32KQ-D in Orovada, Nevada K32KT-D in Wichita Falls, Texas K32KY-D in Pasco, Washington K32LO-D in Prescott, Arizona, on virtual channel 32, which rebroadcasts K19IP-D K32LQ-D in Yreka, California K32LS-D in Driggs, Idaho K32LT-D in San Luis Obispo, California K32LW-D in Cottage Grove, Oregon K32LX-D in Soda Springs, Idaho K32LY-D in La Grande, Oregon K32LZ-D in Alton, Utah K32MC-D in Baker Flats Area, Washington K32MD-D in Cheyenne Wells, Colorado K32ME-D in Camp Verde, etc., Arizona K32MF-D in Red Lake, Minnesota, on virtual channel 19, which rebroadcasts WGN-TV K32MG-D in Enid, Oklahoma K32MH-D in Washington, etc., Utah K32MI-D in Delta/Oak City, etc, Utah K32MJ-D in Litchfield, California K32MK-D in Park City, Utah, on virtual channel 9, which rebroadcasts KUEN K32ML-D in Rural Garfield County, Utah K32MN-D in Howard, Montana K32MO-D in Capitol Reef National Park, Utah K32MP-D in Caineville, Utah K32MQ-D in Fremont, Utah K32MR-D in Escalante, Utah K32MS-D in Livingston, Montana K32MT-D in Tropic, etc., Utah K32MU-D in Hanksville, Utah K32MV-D in Antimony, Utah K32MW-D in Logan, Utah K32MX-D in Randolph & Woodruff, Utah K32MY-D in Heber/Midway, Utah, on virtual channel 11, which rebroadcasts KBYU-TV K32MZ-D in Samak, Utah K32NA-D in Ridgecrest, California, on virtual channel 11, which rebroadcasts KTTV K32NB-D in Beaver etc., Utah K32NC-D in Toquerville, Utah, on virtual channel 7, which rebroadcasts KUED K32ND-D in Modena, etc., Utah K32NE-D in Garrison, etc., Utah K32NF-D in Spring Glen, Utah K32NG-D in Green River, Utah K32NH-D in Ferron, Utah K32NI-D in Clear Creek, Utah K32NK-D in Lincoln City, etc., Oregon, on virtual channel 2, which rebroadcasts KATU K32NL-D in Deming, New Mexico K32NM-D in Des Moines, Iowa K32NN-D in Joplin, Montana K32NO-D in Glenwood Springs, Colorado K32NQ-D in Salmon, Idaho K32NR-D in Winnemucca, Nevada K32NT-D in Crested Butte, Colorado, on virtual channel 8, which rebroadcasts K06HN-D K32NU-D in Haxtun, Colorado, on virtual channel 6, which rebroadcasts KRMA-TV K32NV-D in Malad City, Iowa K32NW-D in Mina/Luning, Nevada K32OA-D in Coolin, Idaho K32OB-D in Panaca, Nevada K32OC-D in Corpus Christi, Texas K32OE-D in Alamogordo, New Mexico K32OF-D in Elk City, Oklahoma K32OG-D in Pueblo, Colorado K32OI-D in Eureka, California K32OK-D in Woody Creek, Colorado K32OL-D in Redstone, Colorado K32OV-D in Lubbock, Texas K32OX-D in Lucerne Valley, California, on virtual channel 9, which rebroadcasts KCAL-TV K32PB-D in Lake Charles, Louisiana KABI-LD in Snyder, Texas KAJS-LD in Lincoln, Nebraska KAOB-LD in Beaumont, Texas KARK-TV in Little Rock, Arkansas KBLT-LD in Anchorage, Alaska KCEC in Boulder, Colorado, on virtual channel 14 KCNS in San Francisco, California, on virtual channel 38 KDAF in Dallas, Texas, on virtual channel 33 KDDC-LD in Dodge City, Kansas KDYS-LD in Spokane, Washington KEJR-LD in Phoenix, Arizona, on virtual channel 40 KEMO-TV in Fremont, California, uses KCNS' spectrum, on virtual channel 50 KENW in Portales, New Mexico KFAW-LD in Midland, Texas KFKK-LD in Stockton, California, on virtual channel 32 KFKZ-LD in Cedar Falls, Iowa KION-TV in Monterey, California KJEO-LD in Fresno, California KLEW-TV in Lewiston, Idaho KLNM-LD in Lufkin, Texas KMCC in Laughlin, Nevada KMEG in Sioux City, Iowa KMTI-LD in Manti and Ephraim, Utah, on virtual channel 8 KMYN-LD in Duluth, Minnesota KMYS in Kerrville, Texas KNET-CD in Los Angeles, California, uses KNLA-CD's spectrum, on virtual channel 25 KNLA-CD in Los Angeles, California, on virtual channel 20 KNMT in Portland, Oregon, on virtual channel 24 KOLD-TV in Tucson, Arizona KPMC-LD in Bakersfield, California KPTO-LD in Pocatello, Idaho KPXB-TV in Conroe, Texas, on virtual channel 49 KPXJ in Minden, Louisiana KPXO-TV in Kaneohe, Hawaii KQKC-LD in Topeka, Kansas KRMS-LD in Lake Ozark, Missouri KRMV-LD in Walnut, California, on virtual channel 50, which rebroadcasts KOCE-TV KRSU-TV in Claremore, Oklahoma KRUM-LD in Seattle, Washington, on virtual channel 24 KSBT-LD in Santa Barbara, California KSMO-TV in Kansas City, Missouri, and ATSC 3.0 station, on virtual channel 62 KSTV-LD in Sacramento, California, on virtual channel 32 KTFV-CD in McAllen, Texas KTNC-TV in San Francisco, California, uses KCNS' spectrum, on virtual channel 42 KUMO-LD in St Louis, Missouri, on virtual channel 51 KUPT-LD in Albuquerque, New Mexico KUTH-DT in Provo, Utah, on virtual channel 32 KVPT in Fresno, California KYPK-LD in Yakima, Washington W32CV-D in Ironwood, Michigan W32DH-D in Erie, Pennsylvania W32DJ-D in Melbourne, Florida, to move to channel 19, on virtual channel 32 W32EG-D in Williams, Minnesota W32EI-D in Port Jervis, New York, to move to channel 33, on virtual channel 32 W32EO-D in Tryon, etc., North Carolina W32EQ-D in Tuscaloosa, Alabama W32EV-D in Adamsville, Tennessee W32EW-D in Roanoke, Virginia W32FB-D in Ceiba, Puerto Rico W32FD-D in Louisa, Kentucky W32FE-D in Hartwell & Royston, Georgia W32FH-D in St. Petersburg, Florida, on virtual channel 33 W32FI-D in Brevard, North Carolina W32FJ-D in Montgomery, Alabama W32FK-D in Valdosta, Georgia W32FN-D in Macon, Georgia W32FS-D in Bangor, Maine W32FW-D in Adams, Massachusetts W32FY-D in Clarksburg, West Virginia WAAO-LD in Andalusia, Alabama WABG-TV in Greenwood, Mississippi WACX-LD in Alachua, etc., Florida WANE-TV in Fort Wayne, Indiana WANF-LD in Dyersburg, Tennessee WAXN-TV in Kannapolis, North Carolina, an ATSC 3.0 station, on virtual channel 64 WBFS-TV in Miami, Florida, on virtual channel 33 WBMA-LD in Birmingham, Alabama WBOC-TV in Salisbury, Maryland WBTS-CD in Nashua, New Hampshire, uses WGBX-TV's spectrum, on virtual channel 15 WBXH-CD in Baton Rouge, Louisiana WCAV in Charlottesville, Virginia WCCO-TV in Minneapolis, Minnesota, on virtual channel 4 WCTA-LD in Columbus, Georgia WDIV-TV in Detroit, Michigan, on virtual channel 4 WDRB in Louisville, Kentucky WDRN-LD in Fayetteville, North Carolina, on virtual channel 45 WETK in Burlington, Vermont WFPX-TV in Archer Lodge, North Carolina, uses WRPX-TV's spectrum, on virtual channel 62 WFQX-TV in Cadillac, Michigan WFSU-TV in Tallahassee, Florida WGBX-TV in Boston, Massachusetts, on virtual channel 44 WHLV-TV in Cocoa, Florida, on virtual channel 52 WHP-TV in Harrisburg, Pennsylvania WICD in Champaign, Illinois WIFS in Janesville, Wisconsin WIPM-TV in Mayaguez, Puerto Rico, on virtual channel 3 WITN-TV in Washington, North Carolina WJMN-TV in Escanaba, Michigan WJWJ-TV in Beaufort, South Carolina WKHU-CD in Kittanning, Pennsylvania, on virtual channel 60, which rebroadcasts WOSC-CD WKPT-TV in Kingsport, Tennessee WLIW in Garden City, New York, on virtual channel 21 WLOX in Biloxi, Mississippi WLPD-CD in Plano, Illinois, on virtual channel 30 WMBF-TV in Myrtle Beach, South Carolina WMBQ-CD in New York, New York WMVH-CD in Charleroi, Pennsylvania, on virtual channel 26, which rebroadcasts WOSC-CD WNDR-LD in Auburn, New York WNPX-TV in Franklin, Tennessee, on virtual channel 28 WOUB-TV in Athens, Ohio WPXV-TV in Norfolk, Virginia WQDT-LD in New Orleans, Louisiana WQEO-LD in Memphis, Tennessee WRNT-LD in Hartford, Connecticut, on virtual channel 32 WRPX-TV in Rocky Mount, North Carolina, on virtual channel 47 WRZB-LD in Washington, D.C., on virtual channel 31 WSB-TV in Atlanta, Georgia, on virtual channel 2 WSJU-LD in Ceiba, Puerto Rico, on virtual channel 42 WSRG-LD in Scranton, Pennsylvania WTHV-LD in Huntsville, Alabama WTJR in Quincy, Illinois WTKO-CD in Oneida, New York WTMJ-TV in Milwaukee, Wisconsin, on virtual channel 4 WUCB-LD in Cobleskill, New York WUTV in Buffalo, New York WWTO-TV in Naperville, Illinois, uses WLPD-CD's spectrum, on virtual channel 35 WXBU in Lancaster, Pennsylvania, uses WHP-TV's spectrum WXCW in Naples, Florida WYFX-LD in Youngstown, Ohio WZPA-LD in Philadelphia, Pennsylvania, on virtual channel 33 The following stations, which are no longer licensed, formerly broadcast on digital channel 32: K32DR-D in Granite Falls, Minnesota K32EL-D in Shoshoni, Wyoming K32HO-D in Fruitland, Utah K32JE-D in Quincy, Washington K32JG-D in Rapid City, South Dakota K32JJ-D in Rolla, Missouri K32JK-D in Boise, Idaho K32JM-D in Twin Falls, Idaho K32NP-D in Billings, Montana KCFG in Flagstaff, Arizona KCLG-LD in Neosho, Missouri KYWF-LD in Wichita Falls, Texas W32DU-D in La Grange, Georgia WBAX-LD in Albany, New York WDYH-LD in Augusta, Georgia WSBN-TV in Norton, Virginia References 32 digital
Rubio is an unincorporated community in southwest Washington County, Iowa, United States. It is located on County Highway G67 approximately three miles northwest of Richland in adjacent Keokuk, County. The Skunk River flows past the north side of the community. History Rubio was founded in 1900 when the Milwaukee Railroad was built through the area. Rubio was named after Mexican statesman Pascual Ortiz Rubio, who would later become the president of Mexico. The Rubio Savings Bank opened in Rubio in 1906; the main office moved to Brighton in 1946. In 1910 the Rubio School opened. The two-classroom school operated until 1960; enrollment at that time was 10 students. The building was sold at auction in 1962 and was torn down; the floor joists were later used in a house in Richland. The Rubio Lawn Social and Jubilee, held in conjunction with the American Bicentennial, was held on August 7 and 8, 1976. Activities included a postal award ceremony and a parade. Education The Pekin Community School District serves Rubio. References Unincorporated communities in Washington County, Iowa Populated places established in 1900 Unincorporated communities in Iowa 1900 establishments in Iowa
The , abbreviated MLIT, is a ministry of the Japanese government. It is responsible for one-third of all the laws and orders in Japan, and is the largest Japanese ministry in terms of employees, as well as the second-largest executive agency of the Japanese government after the Ministry of Defense. The ministry oversees four external agencies including the Japan Coast Guard , the Japan Meteorological Agency and the Japan Tourism Agency. Overview In order to accomplish the tasks set forth in Article 3 of the Ministry of Land, Infrastructure, Transport and Tourism Act, the following should be considered: national land planning, cities, roads, buildings, houses, rivers, ports, government maintenance, national land surveying, transportation, tourism policy, meteorological services,it is responsible for matters related to national land, transportation, and social capital development, such as disaster countermeasures, security of the surrounding sea area, and security. Initially, the English notation was Ministry of Land, Infrastructure and Transport (land land, infrastructure construction, infrastructure, transport, transportation), but when the Tourism Agency was established on January 8, 2008, it means "tourism". And added it to the Ministry of Land, Infrastructure, Transport and Tourism. Background MLIT was established as part of the administrative reforms of January 6, 2001, which merged the Ministry of Transport, the Ministry of Construction, the (北海道開発庁 Hokkaidō-kaihatsu-chō), and the (国土庁 Kokudo-chō). Before the ministry renamed itself on January 8, 2008, the ministry's English name was "Ministry of Land, Infrastructure and Transport". On October 1, 2008, the Japan Tourism Agency was newly established, the Marine Accident Inquiry Agency was involved in investigating the causes of accidents, and the Aviation and Railway Accident Investigation Committee was integrated to establish a Transport Safety Committee and the Seafarers' Labor Committee was abolished. An organizational change was implemented to transfer the work of this committee to the Central Labor Commission and the Transport Policy Council. This is the first time a new ministry has been established in the central ministry since the so-called central ministry reorganization. On July 1, 2011, the bureau was reorganized to establish a cross-provincial system and to unify related administrations.To unify water-related administrations, the River Bureau and the Land and Water Resources Bureau Reorganize the Ministry of Resources and the Sewerage Department of the Urban and Regional Development Bureau, and reorganize the Land Management Department of the Land and Water Resources Department and the Construction Industry Administration Department of the General Policy Department into the "Water Management and Land Conservation Department". The Land and Construction Industry Bureau reorganized the National Land Planning Bureau and the Urban and Regional Development Bureau into the National Land Policy Bureau and the Urban Bureau, respectively. Organization MLIT is organized into the following bureaus: External agencies Japan Coast Guard (海上保安庁) Japan Meteorological Agency (気象庁) Japan Tourism Agency (観光庁) Japan Transport Safety Board (運輸安全委員会) (former) Financial resources The budget under the Ministry of Land, Infrastructure, Transport and Tourism in the initial budget for the general account in FY2019 (FY2018) is ¥ 7.2223 trillion. By organization, the Ministry of Land, Infrastructure, Transport and Tourism (METI) accounts for about 92% of the total, amounting to ¥ 6,333,533,790,000 yen. ¥ 159,34,000, Marine Accident Tribunal: ¥ 96,9826,000, Regional Development Bureau: ¥ 244,0812,14,000, Hokkaido Development Bureau: ¥ 54,382,933,000, Local Transportation Bureau: ¥ 21,678.43 million 9,000 yen, Regional Aviation Bureau 2,184,614,000 yen, Tourism Agency 68,325,4,000 yen, Japan Meteorological Agency 60,646,25,000 yen, Transportation Safety Commission 2,142,697,000 yen, The Japan Coast Guard has a price of 21,753,537,000 yen. The revenue budget is 81,445,570,000 yen. Breakdown by subject shows that government property reconciliation income is 70,422,400,000 yen and miscellaneous income is 744,033,309,000 yen. Most of the revenue from government asset reconciliation is proceeds from collections (repayment of loans for public works (70,286,627,000 yen)) Most of miscellaneous income is from public works expenses (for public works). This is the responsibility of the local government (58,583,382,800 yen). The Ministry of Land, Infrastructure, Transport and Tourism will be responsible for the Special Account for Vehicle Safety and will cooperate with the Ministry of Finance on FILP. Also, the Diet, courts, the Board of Audit, the Cabinet, Cabinet Office, Reconstruction Agency, Ministry of Internal Affairs and Communications, Ministry of Justice, Ministry of Foreign Affairs, Ministry of Finance, Ministry of Education, Culture, Sports, Science and Technology, Ministry of Health, Labor and Welfare, Ministry of Agriculture, Forestry and Fisheries, Ministry of Economy, Trade and Industry, Ministry of Land, Infrastructure, Transport and Tourism, Ministry of Environment Under the jurisdiction of the Ministry of Defense, cooperate with the Great East Japan Earthquake Recovery Special Account. The special account for automobile safety includes an airport maintenance account as a running account. Public relations The White Papers compiled by the Ministry of Land, Infrastructure, Transport and Tourism include the "Ministry of Land and Transportation White Paper", "Land White Paper", "Tourism White Paper", "Japan Water Resources", "Capital Circle White Paper", "Current Meteorological Business" (commonly known as the Meteorological White Paper) and "Marine Security Seven types of reports "(formerly known as the White Paper on Maritime Security). Among them, "Land White Paper", "Tourism White Paper", and "Capital Circle White Paper" are included in the annual government proposal to the Congress in accordance with Article 10 of the Basic Land Law, Article 8 of the Basic Law on Promoting the Establishment of the State and Article 30-2 of the Capital City Development Act. Report or policy document. The Ministry of Land, Infrastructure, Transport and Tourism's monthly magazine "Land and Land Transportation" consists of 4 groups: "Corporate Transportation Promotion Association", "Social Corporation Construction Public Relations Association", "Consortium Land Planning Association", "Hokkaido Development Association" Co-published, then closed in March 2009 issue. The main body of editing and distribution was changed to the Ministry of Land, Infrastructure, Transport and Tourism in December 2009 in the form of a bimonthly publication. References External links Official website 2001 establishments in Japan L Japan Ministries established in 2001 Japan Japan Japan Transport organizations based in Japan